|
|
|
@ -57,12 +57,12 @@
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col style="width: calc(33% - 10px) !important;" v-if="tabIndex==1">
|
|
|
|
|
<bgBox :largeBgTitle="deptSummary">
|
|
|
|
|
<LargeSummaryTable :dataSource="dataSourceDept" :columns="columnsDept"/>
|
|
|
|
|
<LargeSummaryTable :dataSource="dataSourceDept" :columns="columnsDept"/>
|
|
|
|
|
</bgBox>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col style="width: calc(33% - 10px) !important;" v-if="tabIndex==2">
|
|
|
|
|
<bgBox :largeBgTitle="memberSummary">
|
|
|
|
|
<LargeSummaryTable :dataSource="dataSourceOrg" :columns="columnsDept"/>
|
|
|
|
|
<LargeSummaryTable :dataSource="dataSourceOrg" :columns="columnsOrg"/>
|
|
|
|
|
</bgBox>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col style="width: calc(33% - 10px) !important;" v-if="tabIndex==1||tabIndex==2">
|
|
|
|
@ -103,7 +103,147 @@
|
|
|
|
|
value1: 'jack',
|
|
|
|
|
tabIndexNum: false,
|
|
|
|
|
selectTabIndex: 1,
|
|
|
|
|
columnsYear: [
|
|
|
|
|
columnsYearOrg: [
|
|
|
|
|
{
|
|
|
|
|
title: '姓名',
|
|
|
|
|
dataIndex: 'dept_name',
|
|
|
|
|
key: 'dept_name',
|
|
|
|
|
align: 'center',
|
|
|
|
|
}, {
|
|
|
|
|
title: '应交',
|
|
|
|
|
dataIndex: 'should_year_summary',
|
|
|
|
|
key: 'should_year_summary',
|
|
|
|
|
align: 'center',
|
|
|
|
|
}, {
|
|
|
|
|
title: '已交',
|
|
|
|
|
dataIndex: 'total_year_summary',
|
|
|
|
|
key: 'total_year_summary',
|
|
|
|
|
align: 'center',
|
|
|
|
|
}, {
|
|
|
|
|
title: '延期',
|
|
|
|
|
dataIndex: 'delay_year_summary',
|
|
|
|
|
key: 'delay_year_summary',
|
|
|
|
|
align: 'center',
|
|
|
|
|
}, {
|
|
|
|
|
title: '空缺',
|
|
|
|
|
dataIndex: 'empty_year_summary',
|
|
|
|
|
key: 'empty_year_summary',
|
|
|
|
|
align: 'center',
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
columnsTermOrg: [
|
|
|
|
|
{
|
|
|
|
|
title: '姓名',
|
|
|
|
|
dataIndex: 'dept_name',
|
|
|
|
|
key: 'dept_name',
|
|
|
|
|
align: 'center',
|
|
|
|
|
}, {
|
|
|
|
|
title: '应交',
|
|
|
|
|
dataIndex: 'should_term_summary',
|
|
|
|
|
key: 'should_term_summary',
|
|
|
|
|
align: 'center',
|
|
|
|
|
}, {
|
|
|
|
|
title: '已交',
|
|
|
|
|
dataIndex: 'total_term_summary',
|
|
|
|
|
key: 'total_term_summary',
|
|
|
|
|
align: 'center',
|
|
|
|
|
}, {
|
|
|
|
|
title: '延期',
|
|
|
|
|
dataIndex: 'delay_term_summary',
|
|
|
|
|
key: 'delay_term_summary',
|
|
|
|
|
align: 'center',
|
|
|
|
|
}, {
|
|
|
|
|
title: '空缺',
|
|
|
|
|
dataIndex: 'empty_term_summary',
|
|
|
|
|
key: 'empty_term_summary',
|
|
|
|
|
align: 'center',
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
columnsMonthOrg: [
|
|
|
|
|
{
|
|
|
|
|
title: '姓名',
|
|
|
|
|
dataIndex: 'dept_name',
|
|
|
|
|
key: 'dept_name',
|
|
|
|
|
align: 'center',
|
|
|
|
|
}, {
|
|
|
|
|
title: '应交',
|
|
|
|
|
dataIndex: 'should_month_summary',
|
|
|
|
|
key: 'should_month_summary',
|
|
|
|
|
align: 'center',
|
|
|
|
|
}, {
|
|
|
|
|
title: '已交',
|
|
|
|
|
dataIndex: 'total_month_summary',
|
|
|
|
|
key: 'total_month_summary',
|
|
|
|
|
align: 'center',
|
|
|
|
|
}, {
|
|
|
|
|
title: '延期',
|
|
|
|
|
dataIndex: 'delay_month_summary',
|
|
|
|
|
key: 'delay_month_summary',
|
|
|
|
|
align: 'center',
|
|
|
|
|
}, {
|
|
|
|
|
title: '空缺',
|
|
|
|
|
dataIndex: 'empty_month_summary',
|
|
|
|
|
key: 'empty_month_summary',
|
|
|
|
|
align: 'center',
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
columnsWeekOrg: [
|
|
|
|
|
{
|
|
|
|
|
title: '姓名',
|
|
|
|
|
dataIndex: 'dept_name',
|
|
|
|
|
key: 'dept_name',
|
|
|
|
|
align: 'center',
|
|
|
|
|
}, {
|
|
|
|
|
title: '应交',
|
|
|
|
|
dataIndex: 'should_week_summary',
|
|
|
|
|
key: 'should_week_summary',
|
|
|
|
|
align: 'center',
|
|
|
|
|
}, {
|
|
|
|
|
title: '已交',
|
|
|
|
|
dataIndex: 'total_week_summary',
|
|
|
|
|
key: 'total_week_summary',
|
|
|
|
|
align: 'center',
|
|
|
|
|
}, {
|
|
|
|
|
title: '延期',
|
|
|
|
|
dataIndex: 'delay_week_summary',
|
|
|
|
|
key: 'delay_week_summary',
|
|
|
|
|
align: 'center',
|
|
|
|
|
}, {
|
|
|
|
|
title: '空缺',
|
|
|
|
|
dataIndex: 'empty_week_summary',
|
|
|
|
|
key: 'empty_week_summary',
|
|
|
|
|
align: 'center',
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
columnsDayOrg: [
|
|
|
|
|
{
|
|
|
|
|
title: '姓名',
|
|
|
|
|
dataIndex: 'dept_name',
|
|
|
|
|
key: 'dept_name',
|
|
|
|
|
align: 'center',
|
|
|
|
|
}, {
|
|
|
|
|
title: '应交',
|
|
|
|
|
dataIndex: 'should_day_summary',
|
|
|
|
|
key: 'should_day_summary',
|
|
|
|
|
align: 'center',
|
|
|
|
|
}, {
|
|
|
|
|
title: '已交',
|
|
|
|
|
dataIndex: 'total_day_summary',
|
|
|
|
|
key: 'total_day_summary',
|
|
|
|
|
align: 'center',
|
|
|
|
|
}, {
|
|
|
|
|
title: '延期',
|
|
|
|
|
dataIndex: 'delay_day_summary',
|
|
|
|
|
key: 'delay_day_summary',
|
|
|
|
|
align: 'center',
|
|
|
|
|
}, {
|
|
|
|
|
title: '空缺',
|
|
|
|
|
dataIndex: 'empty_day_summary',
|
|
|
|
|
key: 'empty_day_summary',
|
|
|
|
|
align: 'center',
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
columnsYearDept: [
|
|
|
|
|
{
|
|
|
|
|
title: '姓名',
|
|
|
|
|
dataIndex: 'person_name',
|
|
|
|
@ -131,7 +271,7 @@
|
|
|
|
|
align: 'center',
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
columnsTerm: [
|
|
|
|
|
columnsTermDept: [
|
|
|
|
|
{
|
|
|
|
|
title: '姓名',
|
|
|
|
|
dataIndex: 'person_name',
|
|
|
|
@ -159,7 +299,7 @@
|
|
|
|
|
align: 'center',
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
columnsMonth: [
|
|
|
|
|
columnsMonthDept: [
|
|
|
|
|
{
|
|
|
|
|
title: '姓名',
|
|
|
|
|
dataIndex: 'person_name',
|
|
|
|
@ -187,7 +327,7 @@
|
|
|
|
|
align: 'center',
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
columnsWeek: [
|
|
|
|
|
columnsWeekDept: [
|
|
|
|
|
{
|
|
|
|
|
title: '姓名',
|
|
|
|
|
dataIndex: 'person_name',
|
|
|
|
@ -215,7 +355,7 @@
|
|
|
|
|
align: 'center',
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
columnsDay: [
|
|
|
|
|
columnsDayDept: [
|
|
|
|
|
{
|
|
|
|
|
title: '姓名',
|
|
|
|
|
dataIndex: 'person_name',
|
|
|
|
@ -263,7 +403,8 @@
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
created() {
|
|
|
|
|
this.columnsDept = this.columnsDay
|
|
|
|
|
this.columnsOrg = this.columnsDayOrg
|
|
|
|
|
this.columnsDept = this.columnsDayDept
|
|
|
|
|
//部门权限
|
|
|
|
|
this.depAdmin = OfficeMenuConfig.menuIsExist(["daliyOffice", "newPlanConclusion", "plan_summary_statistics", "dept"]);
|
|
|
|
|
if (this.depAdmin) {
|
|
|
|
@ -283,27 +424,32 @@
|
|
|
|
|
case 1:
|
|
|
|
|
this.selectedItemDay = true
|
|
|
|
|
this.selectedItemWeek = this.selectedItemMon = this.selectedItemTerm = this.selectedItemYear = false
|
|
|
|
|
this.columnsDept = this.columnsDay
|
|
|
|
|
this.columnsOrg = this.columnsDayOrg
|
|
|
|
|
this.columnsDept = this.columnsDayDept
|
|
|
|
|
break;
|
|
|
|
|
case 2:
|
|
|
|
|
this.selectedItemWeek = true
|
|
|
|
|
this.selectedItemDay = this.selectedItemMon = this.selectedItemTerm = this.selectedItemYear = false
|
|
|
|
|
this.columnsDept = this.columnsWeek
|
|
|
|
|
this.columnsOrg = this.columnsWeekOrg
|
|
|
|
|
this.columnsDept = this.columnsWeekDept
|
|
|
|
|
break;
|
|
|
|
|
case 3:
|
|
|
|
|
this.selectedItemMon = true
|
|
|
|
|
this.selectedItemDay = this.selectedItemWeek = this.selectedItemTerm = this.selectedItemYear = false
|
|
|
|
|
this.columnsDept = this.columnsMonth
|
|
|
|
|
this.columnsOrg = this.columnsMonthOrg
|
|
|
|
|
this.columnsDept = this.columnsMonthDept
|
|
|
|
|
break;
|
|
|
|
|
case 4:
|
|
|
|
|
this.selectedItemTerm = true
|
|
|
|
|
this.selectedItemDay = this.selectedItemWeek = this.selectedItemMon = this.selectedItemYear = false
|
|
|
|
|
this.columnsDept = this.columnsTerm
|
|
|
|
|
this.columnsOrg = this.columnsTermOrg
|
|
|
|
|
this.columnsDept = this.columnsTermDept
|
|
|
|
|
break;
|
|
|
|
|
case 5:
|
|
|
|
|
this.selectedItemYear = true
|
|
|
|
|
this.selectedItemDay = this.selectedItemWeek = this.selectedItemMon = this.selectedItemTerm = false
|
|
|
|
|
this.columnsDept = this.columnsYear
|
|
|
|
|
this.columnsOrg = this.columnsYearOrg
|
|
|
|
|
this.columnsDept = this.columnsYearDept
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
this.getWorkSummaryDeptPersonOverview()
|
|
|
|
@ -397,7 +543,7 @@
|
|
|
|
|
if (result[0].data.code === 2000) {
|
|
|
|
|
let resData = result[0].data;
|
|
|
|
|
this.dataSourceOrg = resData.data.dept_list;
|
|
|
|
|
// console.log('机构成员总结统计', this.dataSourceOrg)
|
|
|
|
|
// console.log('机构成员总结统计', result[0].data)
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|