Browse Source

志愿表样式修改

shilipojs 2 years ago
parent
commit
a937d5f093

+ 3 - 3
src/views/career/zhiyuan/components/zhiyuan-list.vue

@@ -16,7 +16,7 @@
     <template #t1="{row}">
       <!-- 院校 -->
       <div>
-        <p class="mb10"><span class="pointer">{{ `${row.university.name}` || '' }}</span></p>
+        <p class="mb10"><span class="pointer">{{ `${row.university.name}(${row.recruitPlan.collegeCode})` || '' }}</span></p>
         <p class="mb5 f-9b f12">{{ row.university.features.split(',').join(' ') }}</p>
         <p class="mb5 f-9b f12">{{ row.university.location }} {{ row.university.cityName }}
           排名{{ row.university.ranking }}</p>
@@ -154,7 +154,7 @@ export default {
         columns.push({
           label: item,
           slotBody: 't' + index,
-          width: index >= 2 || index == 0 ? 100 + 'px' : ''
+          width: index >= 3 || index ==  0 ?  '100px' : ''
         })
       })
       columns.push({
@@ -169,7 +169,7 @@ export default {
         return {
           label: item,
           slotBody: 't' + index,
-          width: index >= 2 || index == 0 ? 100 + 'px' : ''
+          width: index >= 3 || index == 0 ? 100 + 'px' : ''
         }
       })
     }

+ 1 - 0
src/views/elective/dispatch/student/components/set-classcount.vue

@@ -93,6 +93,7 @@ export default {
             allSelect += item.actualCount
           }
         })
+        console.log(maxQuantit-allSelect)
         return maxQuantit-allSelect
       }
     },