Bladeren bron

保存志愿增加score

shilipojs 2 jaren geleden
bovenliggende
commit
cdffce5e8c

+ 1 - 1
src/views/career/zhiyuan/components/recommend.vue

@@ -282,7 +282,7 @@ export default {
             wishes:wishes,
           },
           mode:`${this.formSubject.firstSubject},${this.formSubject.lastSubject}`,
-          score:this.batch.score1
+          score:this.formSubject.score
         },
         id: 0,
         name: ''

+ 13 - 5
src/views/career/zhiyuan/components/zhiyuan-list.vue

@@ -178,10 +178,12 @@ export default {
   computed: {
     columns() {
       if(!this.cols.length) return []
-      const columns = [{
-        type: 'expand',
-        slotBody: 'expand'
-      }]
+      const columns = [
+      //   {
+      //   type: 'expand',
+      //   slotBody: 'expand'
+      // }
+      ]
       this.cols.map((item, index) => {
         columns.push({
           label: item,
@@ -189,6 +191,11 @@ export default {
           width: index >= 2 || index == 0 ? 100+'px' : ''
         })
       })
+      columns.push({
+        type: 'expand',
+        slotBody: 'expand',
+        label:'查看'
+      })
       return columns
     },
     majorCol() {
@@ -217,8 +224,9 @@ export default {
 }
 ::v-deep .el-table__expanded-cell {
   padding-top: 0;
-  padding-right: 0;
+  //padding-right: 50;
   padding-bottom: 0;
+  padding-left: 0;
 }
 ::v-deep .el-table__expand-icon{
   font-size: 18px;