|
@@ -0,0 +1,132 @@
|
|
|
|
+<template>
|
|
|
|
+ <el-table
|
|
|
|
+ :data="tableList"
|
|
|
|
+ @expand-change="expand"
|
|
|
|
+ >
|
|
|
|
+ <el-table-column
|
|
|
|
+ type="expand"
|
|
|
|
+ >
|
|
|
|
+ <template scope="scope">
|
|
|
|
+ <el-table
|
|
|
|
+ :data="scope.row.majors"
|
|
|
|
+ :show-header="false"
|
|
|
|
+ >
|
|
|
|
+ <el-table-column>
|
|
|
|
+ <template scope="major">
|
|
|
|
+ <div>
|
|
|
|
+ <p class="mb10"><span class="pointer">{{major.row.marjorName}}</span></p>
|
|
|
|
+ <p class="f-9b f12">代码 {{major.row.marjorBelongs}}</p>
|
|
|
|
+ </div>
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
|
|
+ <el-table-column>
|
|
|
|
+ <template scope="major">
|
|
|
|
+ <div>
|
|
|
|
+ <p><span class="f18">{{ major.row.planCount || '-'}}</span>人</p>
|
|
|
|
+ <p class="f-9b f12">{{`${major.row.xuezhi} ¥${major.row.xuefei}`}}</p>
|
|
|
|
+ </div>
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
|
|
+ </el-table>
|
|
|
|
+
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
|
|
+<!-- <el-table-column-->
|
|
|
|
+<!-- prop="date"-->
|
|
|
|
+<!-- label="录取概率"-->
|
|
|
|
+<!-- width="150"-->
|
|
|
|
+<!-- >-->
|
|
|
|
+<!-- <template scope="scope">-->
|
|
|
|
+<!-- <div>-->
|
|
|
|
+<!-- <p class="mb10"><span class="f18">{{ scope.row.enrollRatio }}</span>%</p>-->
|
|
|
|
+<!-- <p class="mb10 f-9b f12">{{scope.row.enrollRatioText}}</p>-->
|
|
|
|
+<!-- <p><el-tag type="success">冲</el-tag></p>-->
|
|
|
|
+<!-- </div>-->
|
|
|
|
+<!-- </template>-->
|
|
|
|
+<!-- </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="填报"
|
|
|
|
+ >
|
|
|
|
+ <template scope="scope">
|
|
|
|
+ <span type="primary" > {{`专业${scope.row.recruitPlan.majorCount}`}}</span>
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
|
|
+ </el-table>
|
|
|
|
+</template>
|
|
|
|
+<script>
|
|
|
|
+ export default {
|
|
|
|
+ props:{
|
|
|
|
+ tableList:{
|
|
|
|
+ type:Array,
|
|
|
|
+ default:[]
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ data() {
|
|
|
|
+ return {
|
|
|
|
+ propDefines:{
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ computed:{
|
|
|
|
+ },
|
|
|
|
+ methods:{
|
|
|
|
+ expand(item,expandedRows) {
|
|
|
|
+ this.$emit('expand',item)
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+</script>
|
|
|
|
+<style scoped lang="scss">
|
|
|
|
+.f-9b{
|
|
|
|
+ color: #9b9b9b;
|
|
|
|
+}
|
|
|
|
+</style>
|