|
|
|
@ -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,24 +77,18 @@
|
|
|
|
|
import interConfig from './interConfig';
|
|
|
|
|
import {Icon, Tabs, Table, Spin} from 'ant-design-vue';
|
|
|
|
|
import * as echarts from 'echarts';
|
|
|
|
|
export default{
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
props: {
|
|
|
|
|
type: Number,
|
|
|
|
|
searchTime: String,
|
|
|
|
|
largeSummary: Boolean,
|
|
|
|
|
},
|
|
|
|
|
data(){
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
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,11 +381,22 @@
|
|
|
|
|
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: {
|
|
|
|
|
type: {
|
|
|
|
|
handler (val) {
|
|
|
|
|
handler(val) {
|
|
|
|
|
if (val === 1) {
|
|
|
|
|
//我的总结
|
|
|
|
|
this.title = "提交情况";
|
|
|
|
@ -413,7 +414,7 @@
|
|
|
|
|
immediate: true
|
|
|
|
|
},
|
|
|
|
|
searchTime: {
|
|
|
|
|
handler(time){
|
|
|
|
|
handler(time) {
|
|
|
|
|
if (time !== "") {
|
|
|
|
|
this.searchTime = time;
|
|
|
|
|
if (this.type === 1) {
|
|
|
|
@ -428,7 +429,7 @@
|
|
|
|
|
immediate: true
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
mounted(){
|
|
|
|
|
mounted() {
|
|
|
|
|
if (this.type !== 1) {
|
|
|
|
|
this.changeType();
|
|
|
|
|
}
|
|
|
|
|