总结统计:提交情况tab

init
zhusiyu 3 years ago
parent 7c62082881
commit be983d6f5f

@ -92,6 +92,7 @@
import {Spin} from 'ant-design-vue';
import interConfig from './interConfig';
import moment from 'moment';
export default {
data() {
return {

@ -4,14 +4,14 @@
<div class="part-content" :class="{'largeSummary':largeSummary}">
<div class="submit-list-content">
<div class="tab-change-style">
<div v-for="tab,index in tabArr" :key="tab.id" class="tab-box-style"
<div v-for="(tab,index) in tabArr" :key="tab.id" class="tab-box-style"
@click="tabChange(tab.id,index)">
<span :class="'tab-text' + (tab.id === tabKey?' tab-selected':'')">{{tab.value}}</span>
</div>
</div>
<div class="summary-record-list-content-div" v-if="type === 1">
<div class="change-box">
<a-icon class="icon-style" type="left" @click="removeTab(-1)"/>
<a-icon class="icon-style" type="left" @click="removeTab(1)"/>
</div>
<a-spin class="brandCreat" :spinning="spinning1">
<vue-scroll class="summary-record-list-div" :ops="listScroll"
@ -29,7 +29,7 @@
</vue-scroll>
</a-spin>
<div class="change-box">
<a-icon class="icon-style" type="right" @click="removeTab(1)"/>
<a-icon class="icon-style" type="right" @click="removeTab(-1)"/>
</div>
</div>
<div class="summary-record-list-content-div" v-if="type === 2">
@ -77,6 +77,7 @@
import interConfig from './interConfig';
import {Icon, Tabs, Table, Spin} from 'ant-design-vue';
import * as echarts from 'echarts';
export default {
props: {
type: Number,
@ -88,13 +89,6 @@
selectType: 5,// 5 4 3 2 1
paneKey: 5,
title: "",
tabArr: [
{id: 2, value: "学期"},
{id: 1, value: "学年"},
{id: 5, value: "日报"},
{id: 4, value: "周报"},
{id: 3, value: "月报"},
],
columnsYear: [
{
title: '成员姓名',
@ -377,10 +371,6 @@
],
dataSourceDept: [],
dataSourceOrg: [],
tableKey: 5,
orgTableKey: 5,
tabKey: 5,
centerIndex: 1,//
listScroll: this.StaticParams.scrollOption,
beginDate: "",
endDate: "",
@ -391,6 +381,17 @@
spinning1: true,
spinning2: true,
spinning3: true,
tableKey: 5,
orgTableKey: 5,
centerIndex: 2,//
tabArr: [
{id: 1, value: "学年"},
{id: 2, value: "学期"},
{id: 5, value: "日报"},
{id: 3, value: "月报"},
{id: 4, value: "周报"},
],
tabKey: 5,
}
},
watch: {

Loading…
Cancel
Save