|
|
|
@ -82,12 +82,12 @@
|
|
|
|
|
</div>
|
|
|
|
|
<!--学生管理中的左侧表格-->
|
|
|
|
|
<div class="bot-collapse">
|
|
|
|
|
<a-empty description="暂无数据" v-if="collapseDataEmpty" class="timeLine-empty"/>
|
|
|
|
|
<a-empty description="暂无数据" v-if="collapseDataEmpty" class="table-timeLine-empty"/>
|
|
|
|
|
<a-collapse :activeKey="currentKey" accordion @change="collapseChange"
|
|
|
|
|
v-if="collapseData.length !=0">
|
|
|
|
|
v-if="!collapseDataEmpty">
|
|
|
|
|
<a-collapse-panel v-for="(item,i) in collapseData" :key="i" :show-arrow="false"
|
|
|
|
|
:header="item.headText">
|
|
|
|
|
<a-empty description="暂无数据" v-if="item.tableData.length ===0"/>
|
|
|
|
|
<!--<a-empty description="暂无数据" v-if="item.tableData.length ===0"/>-->
|
|
|
|
|
<a-table v-if="item.tableData.length !==0" :columns="item.columns"
|
|
|
|
|
:dataSource="item.tableData" :customRow="getCustomRow"
|
|
|
|
|
:pagination="false"></a-table>
|
|
|
|
@ -204,7 +204,7 @@
|
|
|
|
|
<script>
|
|
|
|
|
import CommonBox from '../../secondPages/commonBox.vue';
|
|
|
|
|
// import CommonModal from './commomModal.vue'
|
|
|
|
|
import CommonInfo from '../../../common/centerCommonInfo.vue'
|
|
|
|
|
import CommonInfo from '../../../common/commonInfo.vue'
|
|
|
|
|
import {Carousel, Table, Row, Col, Collapse, Spin, Empty} from 'ant-design-vue';
|
|
|
|
|
import {swiper, swiperSlide} from 'vue-awesome-swiper'
|
|
|
|
|
import 'swiper/dist/css/swiper.css'
|
|
|
|
@ -287,6 +287,7 @@
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
studentManageData4: [],
|
|
|
|
|
//学生通报是否自动切换
|
|
|
|
|
isAutoPaly: true,
|
|
|
|
|
honorDataSourseEmpty: false,
|
|
|
|
@ -465,18 +466,10 @@
|
|
|
|
|
this.collapseData[2].tableData.push(item)
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
} else {
|
|
|
|
|
}
|
|
|
|
|
if (this.collapseData[0].tableData.length === 0 || this.collapseData[0].headText.length === 0) {
|
|
|
|
|
this.collapseDataEmpty = true
|
|
|
|
|
}
|
|
|
|
|
// res.forEach(item => {
|
|
|
|
|
// if (item.stage_name == '小学') {
|
|
|
|
|
// this.collapseData[0].tableData.push(item)
|
|
|
|
|
// } else if (item.stage_name == '初中') {
|
|
|
|
|
// this.collapseData[1].tableData.push(item)
|
|
|
|
|
// } else if (item.stage_name == '高中') {
|
|
|
|
|
// this.collapseData[2].tableData.push(item)
|
|
|
|
|
// }
|
|
|
|
|
// })
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
//学生荣誉
|
|
|
|
@ -884,7 +877,9 @@
|
|
|
|
|
margin-top: 20px;
|
|
|
|
|
width: 500px;
|
|
|
|
|
height: 350px;
|
|
|
|
|
|
|
|
|
|
.table-timeLine-empty {
|
|
|
|
|
margin-top: 120px;
|
|
|
|
|
}
|
|
|
|
|
/deep/ .ant-collapse .ant-collapse-item:nth-child(1) .ant-table-thead > tr > th {
|
|
|
|
|
padding: 2px;
|
|
|
|
|
}
|
|
|
|
|