|
|
|
@ -476,12 +476,12 @@
|
|
|
|
|
},
|
|
|
|
|
selected_data: {
|
|
|
|
|
handler(select_data) {
|
|
|
|
|
if (select_data.length == 0) {
|
|
|
|
|
this.deptId = this.BaseConfig.person_info_my.dep_id;
|
|
|
|
|
} else {
|
|
|
|
|
if (select_data[select_data.length - 1].id) {
|
|
|
|
|
this.deptId = select_data[select_data.length - 1].id
|
|
|
|
|
this.workSummaryDeptPersonOverview()
|
|
|
|
|
this.workSummaryDeptCycleStatistics()
|
|
|
|
|
} else {
|
|
|
|
|
this.deptId = this.BaseConfig.person_info_my.dep_id;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
immediate: true
|
|
|
|
@ -583,7 +583,7 @@
|
|
|
|
|
//更改结束日期
|
|
|
|
|
endDate(end_date) {
|
|
|
|
|
this.end_date = end_date;
|
|
|
|
|
this.searchTime = this.begin_date + "|" + this.end_date;
|
|
|
|
|
// this.searchTime = this.begin_date + "|" + this.end_date;
|
|
|
|
|
this.workSummaryDeptPersonOverview()
|
|
|
|
|
this.workSummaryOrgDeptOverview()
|
|
|
|
|
this.workSummaryDeptCycleStatistics()
|
|
|
|
@ -592,7 +592,7 @@
|
|
|
|
|
// 更改开始日期
|
|
|
|
|
startDate(begin_date) {
|
|
|
|
|
this.begin_date = begin_date
|
|
|
|
|
this.searchTime = this.begin_date + "|" + this.end_date;
|
|
|
|
|
// this.searchTime = this.begin_date + "|" + this.end_date;
|
|
|
|
|
this.workSummaryDeptPersonOverview()
|
|
|
|
|
this.workSummaryOrgDeptOverview()
|
|
|
|
|
this.workSummaryDeptCycleStatistics()
|
|
|
|
@ -611,8 +611,8 @@
|
|
|
|
|
let year = resData.data.year;
|
|
|
|
|
let month = resData.data.month;
|
|
|
|
|
let day = resData.data.day;
|
|
|
|
|
this.begin_date = moment(year + "-" + month + "-01");
|
|
|
|
|
this.end_date = moment(year + "-" + month + "-" + day);
|
|
|
|
|
this.begin_date = moment(year + "-" + month + "-01")._i;
|
|
|
|
|
this.end_date = moment(year + "-" + month + "-" + day)._i;
|
|
|
|
|
this.searchTime = this.begin_date + "|" + this.end_date;
|
|
|
|
|
this.workSummaryDeptPersonOverview()
|
|
|
|
|
this.workSummaryOrgDeptOverview()
|
|
|
|
|