|
@@ -11,7 +11,7 @@
|
|
:data="scope.row.majors"
|
|
:data="scope.row.majors"
|
|
:show-header="false"
|
|
:show-header="false"
|
|
>
|
|
>
|
|
- <el-table-column>
|
|
|
|
|
|
+ <el-table-column label="院校" width="200">
|
|
<template scope="major">
|
|
<template scope="major">
|
|
<div>
|
|
<div>
|
|
<p class="mb10"><span class="pointer">{{major.row.marjorName}}</span></p>
|
|
<p class="mb10"><span class="pointer">{{major.row.marjorName}}</span></p>
|
|
@@ -19,7 +19,7 @@
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column>
|
|
|
|
|
|
+ <el-table-column label="招生计划" width="200" align="center">
|
|
<template scope="major">
|
|
<template scope="major">
|
|
<div>
|
|
<div>
|
|
<p><span class="f18">{{ major.row.planCount || '-'}}</span>人</p>
|
|
<p><span class="f18">{{ major.row.planCount || '-'}}</span>人</p>
|
|
@@ -27,6 +27,30 @@
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
|
+ <el-table-column label="历年" width="100" >
|
|
|
|
+ <template scope="major">
|
|
|
|
+ <div class="f14">
|
|
|
|
+ <p>录取人数</p>
|
|
|
|
+ <p>线差</p>
|
|
|
|
+ <p>最低分</p>
|
|
|
|
+ <p>最低位次</p>
|
|
|
|
+ </div>
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
|
|
+ <el-table-column
|
|
|
|
+ width="150"
|
|
|
|
+ :label="`${item.year}年 ${item.type}`"
|
|
|
|
+ v-for="item in tableList.length ? tableList[0].histories : []"
|
|
|
|
+ >
|
|
|
|
+ <template scope="major">
|
|
|
|
+ <div class="f14">
|
|
|
|
+ <p>{{ major.row.histories.find(his => his.year == item.year).numReal || '-'}}</p>
|
|
|
|
+ <p>{{ major.row.histories.find(his => his.year == item.year).lineDiff || '-'}}</p>
|
|
|
|
+ <p>{{ major.row.histories.find(his => his.year == item.year).score || '-'}}</p>
|
|
|
|
+ <p>{{ major.row.histories.find(his => his.year == item.year).seat|| '-' }}</p>
|
|
|
|
+ </div>
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
</el-table>
|
|
</el-table>
|
|
|
|
|
|
</template>
|
|
</template>
|
|
@@ -44,54 +68,58 @@
|
|
<!-- </div>-->
|
|
<!-- </div>-->
|
|
<!-- </template>-->
|
|
<!-- </template>-->
|
|
<!-- </el-table-column>-->
|
|
<!-- </el-table-column>-->
|
|
-<!-- <el-table-column-->
|
|
|
|
-<!-- label="院校"-->
|
|
|
|
-<!-- >-->
|
|
|
|
-<!-- <template scope="scope">-->
|
|
|
|
-<!-- <div>-->
|
|
|
|
-<!-- <p class="mb10"><span class="pointer">{{scope.row.university.name}}</span></p>-->
|
|
|
|
-<!-- <p class="mb5 f-9b f12">{{scope.row.university.features.split(',').join(' ')}}</p>-->
|
|
|
|
-<!-- <p class="mb5 f-9b f12">{{scope.row.university.location}} {{scope.row.university.cityName}} 排名{{scope.row.university.ranking}}</p>-->
|
|
|
|
-<!-- <p class="f-9b f12">代码 {{scope.row.university.code}}</p>-->
|
|
|
|
-<!-- </div>-->
|
|
|
|
-<!-- </template>-->
|
|
|
|
-<!-- </el-table-column>-->
|
|
|
|
-<!-- <el-table-column-->
|
|
|
|
-<!-- label="招生计划"-->
|
|
|
|
-<!-- align="center"-->
|
|
|
|
-<!-- >-->
|
|
|
|
-<!-- <template scope="scope">-->
|
|
|
|
-<!-- <div>-->
|
|
|
|
-<!-- <p><span class="f18">{{ scope.row.recruitPlan.planCount}}</span>人</p>-->
|
|
|
|
-<!-- <p class="f-9b f12">{{scope.row.recruitPlan.course}}</p>-->
|
|
|
|
-<!-- </div>-->
|
|
|
|
-<!-- </template>-->
|
|
|
|
-<!-- </el-table-column>-->
|
|
|
|
-<!-- <el-table-column-->
|
|
|
|
-<!-- label="历年"-->
|
|
|
|
-<!-- >-->
|
|
|
|
-<!-- <template scope="scope">-->
|
|
|
|
-<!-- <div class="f14">-->
|
|
|
|
-<!-- <p>录取人数</p>-->
|
|
|
|
-<!-- <p>线差</p>-->
|
|
|
|
-<!-- <p>最低分</p>-->
|
|
|
|
-<!-- <p>最低位次</p>-->
|
|
|
|
-<!-- </div>-->
|
|
|
|
-<!-- </template>-->
|
|
|
|
-<!-- </el-table-column>-->
|
|
|
|
-<!-- <el-table-column-->
|
|
|
|
-<!-- :label="`${item.year}年 ${item.type}`"-->
|
|
|
|
-<!-- v-for="item in tableList.length ? tableList[0].histories : []"-->
|
|
|
|
-<!-- >-->
|
|
|
|
-<!-- <template scope="scope">-->
|
|
|
|
-<!-- <div class="f14">-->
|
|
|
|
-<!-- <p>{{ scope.row.histories.find(his => his.year == item.year).numReal || '-'}}</p>-->
|
|
|
|
-<!-- <p>{{ scope.row.histories.find(his => his.year == item.year).lineDiff || '-'}}</p>-->
|
|
|
|
-<!-- <p>{{ scope.row.histories.find(his => his.year == item.year).score || '-'}}</p>-->
|
|
|
|
-<!-- <p>{{ scope.row.histories.find(his => his.year == item.year).seat|| '-' }}</p>-->
|
|
|
|
-<!-- </div>-->
|
|
|
|
-<!-- </template>-->
|
|
|
|
-<!-- </el-table-column>-->
|
|
|
|
|
|
+ <el-table-column
|
|
|
|
+ label="院校"
|
|
|
|
+ width="200"
|
|
|
|
+ >
|
|
|
|
+ <template scope="scope">
|
|
|
|
+ <div>
|
|
|
|
+ <p class="mb10"><span class="pointer">{{scope.row.university.name || ''}}</span></p>
|
|
|
|
+ <p class="mb5 f-9b f12">{{scope.row.university.features.split(',').join(' ')}}</p>
|
|
|
|
+ <p class="mb5 f-9b f12">{{scope.row.university.location}} {{scope.row.university.cityName}} 排名{{scope.row.university.ranking}}</p>
|
|
|
|
+ <p class="f-9b f12">代码 {{scope.row.university.code}}</p>
|
|
|
|
+ </div>
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
|
|
+ <el-table-column
|
|
|
|
+ label="招生计划"
|
|
|
|
+ width="200"
|
|
|
|
+ align="center"
|
|
|
|
+ >
|
|
|
|
+ <template scope="scope">
|
|
|
|
+ <div>
|
|
|
|
+ <p><span class="f18">{{ scope.row.recruitPlan.planCount}}</span>人</p>
|
|
|
|
+ <p class="f-9b f12">{{scope.row.recruitPlan.course}}</p>
|
|
|
|
+ </div>
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
|
|
+ <el-table-column
|
|
|
|
+ label="历年"
|
|
|
|
+ width="100"
|
|
|
|
+ >
|
|
|
|
+ <template scope="scope">
|
|
|
|
+ <div class="f14">
|
|
|
|
+ <p>录取人数</p>
|
|
|
|
+ <p>线差</p>
|
|
|
|
+ <p>最低分</p>
|
|
|
|
+ <p>最低位次</p>
|
|
|
|
+ </div>
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
|
|
+ <el-table-column
|
|
|
|
+ :label="`${item.year}年 ${item.type}`"
|
|
|
|
+ v-for="item in tableList.length ? tableList[0].histories : []"
|
|
|
|
+ width="150"
|
|
|
|
+ >
|
|
|
|
+ <template scope="scope">
|
|
|
|
+ <div class="f14">
|
|
|
|
+ <p>{{ scope.row.histories.find(his => his.year == item.year).numReal || '-'}}</p>
|
|
|
|
+ <p>{{ scope.row.histories.find(his => his.year == item.year).lineDiff || '-'}}</p>
|
|
|
|
+ <p>{{ scope.row.histories.find(his => his.year == item.year).score || '-'}}</p>
|
|
|
|
+ <p>{{ scope.row.histories.find(his => his.year == item.year).seat|| '-' }}</p>
|
|
|
|
+ </div>
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
label="填报"
|
|
label="填报"
|
|
>
|
|
>
|
|
@@ -119,7 +147,7 @@
|
|
computed:{
|
|
computed:{
|
|
},
|
|
},
|
|
methods:{
|
|
methods:{
|
|
- expand(item,expandedRows) {
|
|
|
|
|
|
+ expand(item) {
|
|
this.$emit('expand',item)
|
|
this.$emit('expand',item)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -129,4 +157,8 @@
|
|
.f-9b{
|
|
.f-9b{
|
|
color: #9b9b9b;
|
|
color: #9b9b9b;
|
|
}
|
|
}
|
|
|
|
+::v-deep .el-table__expanded-cell{
|
|
|
|
+ padding-top: 0;
|
|
|
|
+ padding-bottom: 0;
|
|
|
|
+}
|
|
</style>
|
|
</style>
|