八大中心-细节调整

init
zhusiyu 3 years ago
parent ec95f63474
commit cc3aade1fd

@ -37,7 +37,9 @@
</div>
</a-list-item>
</a-list>
<div v-if="showData && dataList.length === 0" class="no-data-content-style"><a-empty description="暂无数据"/></div>
<div v-if="showData && dataList.length === 0" class="no-data-content-style">
<a-empty description="暂无数据"/>
</div>
</vue-scroll>
</a-spin>
</CommonBox>
@ -48,16 +50,17 @@
* */
import CommonBox from '../../secondPages/commonBox.vue';
import {Icon, Spin, List, Empty} from 'ant-design-vue'
export default{
data(){
export default {
data() {
return {
showData:false,
showData: false,
spinning: false,
listScroll: this.StaticParams.scrollOption,
dataList: [],
}
},
mounted(){
mounted() {
this.getDataexReport();
},
methods: {
@ -280,10 +283,11 @@
}
}
}
.no-data-content-style{
.no-data-content-style {
width: 100%;
height: 100%;
display: flex;
margin-top: 100px;
}
}
}

@ -112,11 +112,11 @@
"query_format": "json",
"query_group": []
}
this.spinning = true;
this.DataexReportInterface.callInterface([{
params: param,
method: "post",
}], (result) => {
this.spinning = false
if (result[0].data.success) {
this.smallClassNum = this.middleClassNum = this.totalClassNum = this.totalSmallStudentNum = this.totalMiddleStudentNum = 0
let res = JSON.parse(result[0].data.result)
@ -155,7 +155,6 @@
break
}
this.totalClassNum = this.smallClassNum + this.middleClassNum
this.spinning = false
//console.log('tab', res)
}
}

@ -131,7 +131,8 @@
v-for='(item,index) in honorDataSourse' :key='index'>
<a-row>
<a-col :span="8">
<img src="../images/headSrc1.png" alt="">
<img-preview :imgObj="JSON.parse(item.attachment_json)"/>
<!--<img src="../images/headSrc1.png" alt="">-->
</a-col>
<a-col :span="16">
<p style="margin-bottom: 0 !important; ">{{item.student_name}}</p>
@ -139,7 +140,7 @@
{{item.class_name}}</p>
</a-col>
</a-row>
<a-row style="color: #3CD5FF;margin:10px 0 15px 0;">
<a-row style="color: #3CD5FF;margin:10px 0 10px 0;">
<a-col>{{item.reward_name}}</a-col>
</a-row>
<a-row>
@ -207,8 +208,9 @@
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'
import 'swiper/css/swiper.css'
import * as echarts from 'echarts'
import ImgPreview from '../../../common/imgPreview.vue';
export default {
data() {
@ -246,7 +248,7 @@
loop: true, //
autoplay: true, //3
speed: 800,//
slidesPerView: 4,
slidesPerView: 4,//
},
dotposition: 'right',
@ -258,7 +260,7 @@
headText: '',
tableData: [],
columns: [
{title: '年级', dataIndex: 'stage_name', key: 'stage_name', align: "center",},
{title: '年级', dataIndex: 'ENTRANCE_YEAR', key: 'ENTRANCE_YEAR', align: "center",},
{title: '人数', dataIndex: 'total', key: 'total', align: "center",},
{title: '男生', dataIndex: 'nan_total', key: 'nan_total', align: "center",},
{title: '女生', dataIndex: 'nv_total', key: 'nv_total', align: "center",},
@ -269,7 +271,7 @@
headText: '',
tableData: [],
columns: [
{title: '年级', dataIndex: 'stage_name', key: 'stage_name', align: "center",},
{title: '年级', dataIndex: 'ENTRANCE_YEAR', key: 'ENTRANCE_YEAR', align: "center",},
{title: '人数', dataIndex: 'total', key: 'total', align: "center",},
{title: '男生', dataIndex: 'nan_total', key: 'nan_total', align: "center",},
{title: '女生', dataIndex: 'nv_total', key: 'nv_total', align: "center",},
@ -279,7 +281,7 @@
headText: '',
tableData: [],
columns: [
{title: '年级', dataIndex: 'stage_name', key: 'stage_name', align: "center",},
{title: '年级', dataIndex: 'ENTRANCE_YEAR', key: 'ENTRANCE_YEAR', align: "center",},
{title: '人数', dataIndex: 'total', key: 'total', align: "center",},
{title: '男生', dataIndex: 'nan_total', key: 'nan_total', align: "center",},
{title: '女生', dataIndex: 'nv_total', key: 'nv_total', align: "center",},
@ -293,7 +295,6 @@
honorDataSourseEmpty: false,
studentNoticeDataEmpty: false,
collapseDataEmpty: false,
}
},
computed: {},
@ -492,9 +493,13 @@
params: param,
method: "post",
}], (result) => {
this.honorDataSourse = []
this.spinning = false;
if (result[0].data.result.length != 0) {
this.honorDataSourse = JSON.parse(result[0].data.result)
if (this.honorDataSourse.length <= 4) {
this.swiperOption.autoplay = false
}
} else {
this.honorDataSourseEmpty = true
}
@ -651,7 +656,7 @@
// this.modalContent = accept.punish_context
// this.modalContentName = accept.punish_students
},
closeInfo () {
closeInfo() {
this.infoId = "";
this.visible = false;
}
@ -671,6 +676,7 @@
swiper,
swiperSlide,
CommonInfo,
ImgPreview,
}
}
</script>

@ -160,7 +160,7 @@
import CommonBox from '../../secondPages/commonBox.vue';
import {Icon, Tabs, row, col, Empty, Spin} from 'ant-design-vue';
import {swiper, swiperSlide} from "vue-awesome-swiper";
import "swiper/dist/css/swiper.css";
// import "swiper/dist/css/swiper.css";
import moment from 'moment';
import ImgPreview from '../../../common/imgPreview.vue';
import CommonInfo from '../../../common/commonInfo.vue';
@ -560,7 +560,7 @@
}
.tab-content-style {
width: 100%;
height: calc(100% - 20px);
height: 100%;
.ant-tabs {
height: 100%;
.ant-tabs-content {

Loading…
Cancel
Save