|
@@ -1045,6 +1045,12 @@ export default {
|
|
this.$t('statisticsofovertimework'),this.$t('timecostearlywarningtable'),this.$t('personneltimeallocationtable'),
|
|
this.$t('statisticsofovertimework'),this.$t('timecostearlywarningtable'),this.$t('personneltimeallocationtable'),
|
|
this.$t('statisticsofstafffillingintimerate'),this.$t('dailyreporttobereviewedstatistics'),this.$t('statisticsofpersonnelhours'),this.$t('taskgrouptimesheet'),this.$t('projectcostbaselinetable'),
|
|
this.$t('statisticsofstafffillingintimerate'),this.$t('dailyreporttobereviewedstatistics'),this.$t('statisticsofpersonnelhours'),this.$t('taskgrouptimesheet'),this.$t('projectcostbaselinetable'),
|
|
this.$t('ren-yuan-yue-du-gong-shi-biao'), this.$t('bumenchanyuqingkuang')],
|
|
this.$t('ren-yuan-yue-du-gong-shi-biao'), this.$t('bumenchanyuqingkuang')],
|
|
|
|
+
|
|
|
|
+ shuzArr: [this.$t('projectreport'),this.$t('projectTaskReport'),this.$t('projectcoststatement'),
|
|
|
|
+ this.$t('projectbalancesheet'),this.$t('customerprojectprofitstatement'),this.$t('projectphasetimesheet'),
|
|
|
|
+ this.$t('statisticsofovertimework'),this.$t('timecostearlywarningtable'),this.$t('personneltimeallocationtable'),
|
|
|
|
+ this.$t('employeereporttimelinessrate'),this.$t('dailyreporttobereviewedstatistics'),this.$t('statisticsofpersonnelhours'),this.$t('taskgrouptimesheet'),this.$t('projectcostbaselinetable'),
|
|
|
|
+ this.$t('ren-yuan-yue-du-gong-shi-biao'), this.$t('bumenchanyuqingkuang')],
|
|
ins: 10000,
|
|
ins: 10000,
|
|
user: JSON.parse(sessionStorage.user),
|
|
user: JSON.parse(sessionStorage.user),
|
|
overTimeList: [], // 项目加班情况统计列表
|
|
overTimeList: [], // 项目加班情况统计列表
|
|
@@ -1120,7 +1126,7 @@ export default {
|
|
mounted() {
|
|
mounted() {
|
|
this.getProjectListOvertime()
|
|
this.getProjectListOvertime()
|
|
this.getProjectList();
|
|
this.getProjectList();
|
|
- this.getUserList()
|
|
|
|
|
|
+ // this.getUserList()
|
|
this.getDepartmentList()
|
|
this.getDepartmentList()
|
|
this.getcustomerList()
|
|
this.getcustomerList()
|
|
this.getcusProjectList()
|
|
this.getcusProjectList()
|
|
@@ -1224,7 +1230,7 @@ export default {
|
|
|
|
|
|
getUserList() {
|
|
getUserList() {
|
|
this.http.post('/user/getUserListByRole', {
|
|
this.http.post('/user/getUserListByRole', {
|
|
-
|
|
|
|
|
|
+ tableName: this.shuzArr[this.ins]
|
|
},
|
|
},
|
|
res => {
|
|
res => {
|
|
if (res.code == "ok") {
|
|
if (res.code == "ok") {
|
|
@@ -1422,6 +1428,7 @@ export default {
|
|
} else if(this.ins == 15) {
|
|
} else if(this.ins == 15) {
|
|
this.getDepartmentsInvolved()
|
|
this.getDepartmentsInvolved()
|
|
}
|
|
}
|
|
|
|
+ this.getUserList()
|
|
},
|
|
},
|
|
exportExcel() {
|
|
exportExcel() {
|
|
var url = "/project";
|
|
var url = "/project";
|