|
@@ -52,6 +52,7 @@
|
|
|
<el-menu-item index="1-30" v-if="permissions.taskPlanCost" @click="ssl(29)"><p>{{ $t('taskPlanCostReport') }}</p></el-menu-item>
|
|
|
<el-menu-item index="1-31" v-if="permissions.reportFTEPlanAll || permissions.reportFTEPlanPart" @click="ssl(30)"><p>FTE计划报表</p></el-menu-item>
|
|
|
<el-menu-item index="1-32" v-if="permissions.reportMonthlyFinancialWorkSchedule" @click="ssl(31)"><p>月度财务工时表</p></el-menu-item>
|
|
|
+ <el-menu-item index="1-33" v-if="permissions.reportAllWorkPlansAwaitingReviewAndStatistics" @click="ssl(32)"><p>日报待审核统计</p></el-menu-item>
|
|
|
</el-submenu>
|
|
|
</el-menu>
|
|
|
</el-col>
|
|
@@ -1617,6 +1618,14 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="totalTime" align="center" label="工时合计(h)" width="120px"></el-table-column>
|
|
|
</el-table>
|
|
|
+
|
|
|
+ <!-- 日报待审核统计 -->
|
|
|
+ <el-table v-if="ins == 32" key="32" border :data="planPendingReviewList" highlight-current-row v-loading="planPendingReviewLoading" :height="+tableHeight - 1" style="width: 100%;">
|
|
|
+ <el-table-column align="name" prop="planHours" label="审核人" ></el-table-column>
|
|
|
+ <el-table-column align="department_name" prop="planHours" label="所属部门" ></el-table-column>
|
|
|
+ <el-table-column align="total" prop="planHours" label="待审核条数" ></el-table-column>
|
|
|
+ </el-table>
|
|
|
+
|
|
|
<!--工具条-->
|
|
|
<el-col :span="24" class="toolbar" v-if="ins != 6 && ins != 20 && ins != 21 && tabPosition==0 && tabsType == 'all' && ins != 31">
|
|
|
<el-pagination
|
|
@@ -2018,10 +2027,10 @@ export default {
|
|
|
return {
|
|
|
themeColor: getThemeColor(),
|
|
|
screeningCondition: { // 筛选条件的判断
|
|
|
- project: [4, 8, 9, 10, 11, 14, 15, 17, 19, 20, 21, 22, 28, 30, 31], // 项目筛选条件 (不等于)
|
|
|
+ project: [4, 8, 9, 10, 11, 14, 15, 17, 19, 20, 21, 22, 28, 30, 31, 32], // 项目筛选条件 (不等于)
|
|
|
months: [14, 15], // 月份筛选条件 (等于)
|
|
|
- monthRange: [19, 30], // 月份区间筛选条件 (等于)
|
|
|
- staff: [6, 8, 9, 19, 11, 14, 18, 23, 25, 26,28, 30], // 人员筛选条件 (等于)
|
|
|
+ monthRange: [19, 30, 32], // 月份区间筛选条件 (等于)
|
|
|
+ staff: [6, 8, 9, 19, 11, 14, 18, 23, 25, 26,28, 30, 32], // 人员筛选条件 (等于)
|
|
|
departments: [14, 15, 23,21,26,28,19, 30], // 部门筛选条件 (等于)
|
|
|
timePeriod: [5, 6, 8, 9, 10, 11, 12, 16, 17, 18, 20, 21, 22, 24, 25, 26,28], // 时间段筛选条件 (等于)
|
|
|
},
|
|
@@ -2082,14 +2091,14 @@ export default {
|
|
|
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('ren-yuan-yue-du-gong-shi-biao'), this.$t('bumenchanyuqingkuang'), this.$t('ge-fen-zu-yu-jie-duan-gong-shi-biao'), this.$t('ziXiangMuGongShiChengBenBiao'), this.$t('renWuZhongQiBiao'), this.$t('fteBaoBiao'), this.$t('youXiaoGongShiShuaiBiao'), this.$t('xiangMuFenLeiGongShiZhanBiBiao'), this.$t('fenLeiGongShiMingXiBiao'),
|
|
|
- this.$t('yuanGongXiangMuJinDuBiao'), this.$t('fenZuHaoYongJinDuBiao'), this.$t('xiangMuHaoYongJinDuBiao'), this.$t('yuanGongRenWuJinDuBiao'), this.$t('xiangMuYuGuGongShiBiao'),this.$t('yuanGongRenWuWanChengQingKuangBiao'), this.$t('taskPlanCostReport'), 'FTE计划报表', '月度财务工时表'],
|
|
|
+ this.$t('yuanGongXiangMuJinDuBiao'), this.$t('fenZuHaoYongJinDuBiao'), this.$t('xiangMuHaoYongJinDuBiao'), this.$t('yuanGongRenWuJinDuBiao'), this.$t('xiangMuYuGuGongShiBiao'),this.$t('yuanGongRenWuWanChengQingKuangBiao'), this.$t('taskPlanCostReport'), 'FTE计划报表', '月度财务工时表', '日报待审核统计'],
|
|
|
|
|
|
shuzArr: [this.$t('projectreport'),this.$t('projectTaskReport'),this.$t('projectcoststatement'),
|
|
|
this.$t('projectbalancesheet'),this.$t('customerprojectincomestatement'),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'), this.$t('ge-fen-zu-yu-jie-duan-gong-shi-biao'), this.$t('ziXiangMuGongShiChengBenBiao'), this.$t('renWuZhongQiBiao'), this.$t('fteBaoBiao'),this.$t('youXiaoGongShiShuaiBiao'), this.$t('xiangMuFenLeiGongShiZhanBiBiao'), this.$t('fenLeiGongShiMingXiBiao'),
|
|
|
- this.$t('yuanGongXiangMuJinDuBiao'), this.$t('fenZuHaoYongJinDuBiao'), this.$t('xiangMuHaoYongJinDuBiao'), this.$t('yuanGongRenWuJinDuBiao'), this.$t('xiangMuYuGuGongShiBiao'),this.$t('yuanGongRenWuWanChengQingKuangBiao'), this.$t('taskPlanCostReport'), 'FTE计划报表', '月度财务工时表'],
|
|
|
+ this.$t('yuanGongXiangMuJinDuBiao'), this.$t('fenZuHaoYongJinDuBiao'), this.$t('xiangMuHaoYongJinDuBiao'), this.$t('yuanGongRenWuJinDuBiao'), this.$t('xiangMuYuGuGongShiBiao'),this.$t('yuanGongRenWuWanChengQingKuangBiao'), this.$t('taskPlanCostReport'), 'FTE计划报表', '月度财务工时表', '日报待审核统计'],
|
|
|
|
|
|
ins: 10000,
|
|
|
user: JSON.parse(sessionStorage.user),
|
|
@@ -2273,6 +2282,9 @@ export default {
|
|
|
adjustWorkingHoursVisable: false,
|
|
|
immediateVisable: false,
|
|
|
immediateDateValue: '',
|
|
|
+
|
|
|
+ planPendingReviewList: [],
|
|
|
+ planPendingReviewLoading: false
|
|
|
};
|
|
|
},
|
|
|
computed: {},
|
|
@@ -2444,6 +2456,7 @@ export default {
|
|
|
if(this.permissions.taskPlanCost) {this.ssl(29);this.takCompletedStatus = '1-30';return} else
|
|
|
if(this.permissions.reportFTEPlanAll || this.permissions.reportFTEPlanPart) {this.ssl(30);this.takCompletedStatus = '1-31';return} else
|
|
|
if(this.permissions.reportMonthlyFinancialWorkSchedule) {this.ssl(31);this.takCompletedStatus = '1-32';return} else
|
|
|
+ if(this.permissions.reportAllWorkPlansAwaitingReviewAndStatistics) {this.ssl(32);this.takCompletedStatus = '1-33';return} else
|
|
|
{this.allWrong = false}
|
|
|
},
|
|
|
rowspan(spanArr,position,spanName,dataItem = [],fields=false){
|
|
@@ -2851,6 +2864,9 @@ export default {
|
|
|
if (this.ins == 31) {
|
|
|
this.getObtainMonthlyFinancialStatements();
|
|
|
}
|
|
|
+ if (this.ins == 32) {
|
|
|
+ this.getPlanPendingReview();
|
|
|
+ }
|
|
|
},
|
|
|
exportExcel() {
|
|
|
var url = "/project";
|
|
@@ -3096,6 +3112,12 @@ export default {
|
|
|
sl.taskType = this.taskTypeId
|
|
|
}
|
|
|
sl.projectId = this.proJuctId
|
|
|
+ } else if (this.ins == 32) {
|
|
|
+ fName = '日报待审核统计' + '.xlsx';
|
|
|
+ url = "/report/exportTaskPlanNeedCheckStatistics";
|
|
|
+ sl.userId = this.userId
|
|
|
+ sl.startDate = this.rangeDatas[0]
|
|
|
+ sl.endDate = this.rangeDatas[1]
|
|
|
}
|
|
|
this.exportReportLoading = true
|
|
|
this.http.post(url, sl,
|
|
@@ -5100,6 +5122,22 @@ export default {
|
|
|
})
|
|
|
})
|
|
|
},
|
|
|
+ getPlanPendingReview() {
|
|
|
+ this.planPendingReviewLoading = true
|
|
|
+ this.postData(`/report/getTaskPlanNeedCheckStatistics`, {
|
|
|
+ userId: this.userId,
|
|
|
+ startDate: this.rangeDatas[0],
|
|
|
+ endDate: this.rangeDatas[1],
|
|
|
+ pageIndex: this.page,
|
|
|
+ pageSize: this.size,
|
|
|
+ }).then(res => {
|
|
|
+ const { total, result } = res.data
|
|
|
+ this.planPendingReviewList = result || []
|
|
|
+ this.total = total
|
|
|
+ }).finally(() => {
|
|
|
+ this.planPendingReviewLoading = false
|
|
|
+ })
|
|
|
+ },
|
|
|
// 单独封装请求
|
|
|
async postData(urls, param) {
|
|
|
return new Promise((resolve, reject) => {
|