Prechádzať zdrojové kódy

选科报名完善细节

shilipojs 3 rokov pred
rodič
commit
d8c89a5ce0

+ 3 - 4
src/views/system/user/profile/components/report-table.vue

@@ -3,7 +3,7 @@
     <div class="mb10 fx-row fx-end-base">
       <div>
         <el-button v-if="aiButtonShow" type="primary" @click="toAiAnalysis">AI分析</el-button>
-        <el-button>选科历史记录</el-button>
+<!--        <el-button>选科历史记录</el-button>-->
       </div>
     </div>
 
@@ -19,7 +19,7 @@
       <template #signUp="{row}">
         <span class="f-red" v-if="!row.allowSelect">无法报名</span>
         <div v-else>
-          <span v-if="generation.current > 1">报名</span>
+          <span v-if="generation.current > 1" @click="commit" class="btn-green">报名</span>
           <div v-else>
             <span class="f-red btn-red" v-if="row.selected" @click="toUnSelect(row)">取消报名</span>
             <span class="btn-green" v-else @click="toSelect(row)">报名</span>
@@ -66,7 +66,7 @@
       <div v-for="item in singleList" class="mb5 mt5">
         <el-button @click="commit" type="primary">{{ `${item.groupName} : 报名` }}</el-button>
       </div>
-      <div class="mb5 mt5">
+      <div class="mb5 mt10 text-right">
         <el-popover
           placement="right"
           width="300"
@@ -90,7 +90,6 @@
           <el-button slot="reference" type="danger">不同意</el-button>
         </el-popover>
       </div>
-      {{ resolveDynamicTable }}
     </div>
     <esign-dialog ref="esignDialog"></esign-dialog>
     <choose-subject-dialog ref="chooseDialog"></choose-subject-dialog>

+ 1 - 1
src/views/system/user/profile/round-select.vue

@@ -154,7 +154,7 @@ export default {
       getStudentSelected().then(res => {
         console.log('getStudentSelected', res)
         const selectStatus = res.data.selectResult
-        selectStatus.currentGeneration = 3 // 当前所处的状态
+        selectStatus.currentGeneration = 7 // 当前所处的状态
         selectStatus.preferenceCount = 3 // 志愿数
         // selectStatus.groupIds = selectStatus.groupIds || '1,2,3,4,5,6'
         selectStatus.groupIds = '1,2,3,4,5,6'