diff --git a/pages/application/hotwork_cfd/hotwork-accept/hotwork-accept-list.vue b/pages/application/hotwork_cfd/hotwork-accept/hotwork-accept-list.vue index eae4200..b6ec447 100644 --- a/pages/application/hotwork_cfd/hotwork-accept/hotwork-accept-list.vue +++ b/pages/application/hotwork_cfd/hotwork-accept/hotwork-accept-list.vue @@ -372,6 +372,11 @@ this.confessUserNames = STATUS.confessUserNames }, getShowStatus(step) { + if (this.showStatus == -1.5 && step.id == 0) { + step.msg = '项目主管部门打回' + step.STATE = '待提交' + step.REPULSE = step.REPULSE + } if (this.showStatus == -2 && step.id == 0) { step.msg = '作业负责人审核打回' step.STATE = '待提交' @@ -429,6 +434,9 @@ return 'success' } if (this.showStatus == step.id) { + if(step.name == '项目主管部门意见'){ + step.STATE = '待审核' + } if(step.name == '作业负责人意见'){ step.STATE = '待审核' } @@ -449,6 +457,9 @@ } return 'active' } else if (this.showStatus > step.id) { + if(step.name == '项目主管部门意见'){ + step.STATE = '已审核' + } if(step.name == '动火作业提交'){ step.STATE = '已提交' } diff --git a/pages/application/hotwork_cfd/hotwork-acceptconfess/hotwork-acceptconfess-list.vue b/pages/application/hotwork_cfd/hotwork-acceptconfess/hotwork-acceptconfess-list.vue index 285ee65..e08d4ef 100644 --- a/pages/application/hotwork_cfd/hotwork-acceptconfess/hotwork-acceptconfess-list.vue +++ b/pages/application/hotwork_cfd/hotwork-acceptconfess/hotwork-acceptconfess-list.vue @@ -383,6 +383,11 @@ this.confessUserNames = STATUS.confessUserNames }, getShowStatus(step) { + if (this.showStatus == -1.5 && step.id == 0) { + step.msg = '项目主管部门打回' + step.STATE = '待提交' + step.REPULSE = step.REPULSE + } if (this.showStatus == -2 && step.id == 0) { step.msg = '作业负责人审核打回' step.STATE = '待提交' @@ -440,6 +445,9 @@ return 'success' } if (this.showStatus == step.id) { + if(step.name == '项目主管部门意见'){ + step.STATE = '待审核' + } if(step.name == '作业负责人意见'){ step.STATE = '待审核' } @@ -460,6 +468,9 @@ } return 'active' } else if (this.showStatus > step.id) { + if(step.name == '项目主管部门意见'){ + step.STATE = '已审核' + } if(step.name == '动火作业提交'){ step.STATE = '已提交' } diff --git a/pages/application/hotwork_cfd/hotwork-apply/hotwork-apply-list.vue b/pages/application/hotwork_cfd/hotwork-apply/hotwork-apply-list.vue index 12fd77d..7be1b0a 100644 --- a/pages/application/hotwork_cfd/hotwork-apply/hotwork-apply-list.vue +++ b/pages/application/hotwork_cfd/hotwork-apply/hotwork-apply-list.vue @@ -390,6 +390,11 @@ }, getShowStatus(step) { + if (this.showStatus == -1.5 && step.id == 0) { + step.msg = '项目主管部门打回' + step.STATE = '待提交' + step.REPULSE = step.REPULSE + } if (this.showStatus == -2 && step.id == 0) { step.msg = '作业负责人审核打回' step.STATE = '待提交' @@ -453,6 +458,9 @@ return 'success' } if (this.showStatus == step.id) { + if(step.name == '项目主管部门意见'){ + step.STATE = '待审核' + } if(step.name == '作业负责人意见'){ step.STATE = '待审核' } @@ -473,6 +481,9 @@ } return 'active' } else if (this.showStatus > step.id) { + if(step.name == '项目主管部门意见'){ + step.STATE = '已审核' + } if(step.name == '动火作业提交'){ step.STATE = '已提交' } diff --git a/pages/application/hotwork_cfd/hotwork-approve/hotwork-approve-list.vue b/pages/application/hotwork_cfd/hotwork-approve/hotwork-approve-list.vue index a329063..9829d8b 100644 --- a/pages/application/hotwork_cfd/hotwork-approve/hotwork-approve-list.vue +++ b/pages/application/hotwork_cfd/hotwork-approve/hotwork-approve-list.vue @@ -378,6 +378,11 @@ this.confessUserNames = STATUS.confessUserNames }, getShowStatus(step) { + if (this.showStatus == -1.5 && step.id == 0) { + step.msg = '项目主管部门打回' + step.STATE = '待提交' + step.REPULSE = step.REPULSE + } if (this.showStatus == -2 && step.id == 0) { step.msg = '作业负责人审核打回' step.STATE = '待提交' @@ -435,6 +440,9 @@ return 'success' } if (this.showStatus == step.id) { + if(step.name == '项目主管部门意见'){ + step.STATE = '待审核' + } if(step.name == '作业负责人意见'){ step.STATE = '待审核' } @@ -455,6 +463,9 @@ } return 'active' } else if (this.showStatus > step.id) { + if(step.name == '项目主管部门意见'){ + step.STATE = '已审核' + } if(step.name == '动火作业提交'){ step.STATE = '已提交' } diff --git a/pages/application/hotwork_cfd/hotwork-audit/hotwork-audit-list.vue b/pages/application/hotwork_cfd/hotwork-audit/hotwork-audit-list.vue index 6bdf0e4..7b484ed 100644 --- a/pages/application/hotwork_cfd/hotwork-audit/hotwork-audit-list.vue +++ b/pages/application/hotwork_cfd/hotwork-audit/hotwork-audit-list.vue @@ -378,6 +378,11 @@ this.confessUserNames = STATUS.confessUserNames }, getShowStatus(step) { + if (this.showStatus == -1.5 && step.id == 0) { + step.msg = '项目主管部门打回' + step.STATE = '待提交' + step.REPULSE = step.REPULSE + } if (this.showStatus == -2 && step.id == 0) { step.msg = '作业负责人审核打回' step.STATE = '待提交' @@ -435,6 +440,9 @@ return 'success' } if (this.showStatus == step.id) { + if(step.name == '项目主管部门意见'){ + step.STATE = '待审核' + } if(step.name == '作业负责人意见'){ step.STATE = '待审核' } @@ -455,6 +463,9 @@ } return 'active' } else if (this.showStatus > step.id) { + if(step.name == '项目主管部门意见'){ + step.STATE = '已审核' + } if(step.name == '动火作业提交'){ step.STATE = '已提交' } diff --git a/pages/application/hotwork_cfd/hotwork-confess/hotwork-confess-list.vue b/pages/application/hotwork_cfd/hotwork-confess/hotwork-confess-list.vue index e005cdf..c6aae74 100644 --- a/pages/application/hotwork_cfd/hotwork-confess/hotwork-confess-list.vue +++ b/pages/application/hotwork_cfd/hotwork-confess/hotwork-confess-list.vue @@ -383,6 +383,11 @@ this.confessUserNames = STATUS.confessUserNames }, getShowStatus(step) { + if (this.showStatus == -1.5 && step.id == 0) { + step.msg = '项目主管部门打回' + step.STATE = '待提交' + step.REPULSE = step.REPULSE + } if (this.showStatus == -2 && step.id == 0) { step.msg = '作业负责人审核打回' step.STATE = '待提交' @@ -440,6 +445,9 @@ return 'success' } if (this.showStatus == step.id) { + if(step.name == '项目主管部门意见'){ + step.STATE = '待审核' + } if(step.name == '作业负责人意见'){ step.STATE = '待审核' } @@ -460,6 +468,9 @@ } return 'active' } else if (this.showStatus > step.id) { + if(step.name == '项目主管部门意见'){ + step.STATE = '已审核' + } if(step.name == '动火作业提交'){ step.STATE = '已提交' } diff --git a/pages/application/hotwork_cfd/hotwork-confirm/hotwork-confirm-list.vue b/pages/application/hotwork_cfd/hotwork-confirm/hotwork-confirm-list.vue index ca62052..9e7bed4 100644 --- a/pages/application/hotwork_cfd/hotwork-confirm/hotwork-confirm-list.vue +++ b/pages/application/hotwork_cfd/hotwork-confirm/hotwork-confirm-list.vue @@ -395,6 +395,11 @@ this.confessUserNames = STATUS.confessUserNames }, getShowStatus(step) { + if (this.showStatus == -1.5 && step.id == 0) { + step.msg = '项目主管部门打回' + step.STATE = '待提交' + step.REPULSE = step.REPULSE + } if (this.showStatus == -2 && step.id == 0) { step.msg = '作业负责人审核打回' step.STATE = '待提交' @@ -452,6 +457,9 @@ return 'success' } if (this.showStatus == step.id) { + if(step.name == '项目主管部门意见'){ + step.STATE = '待审核' + } if(step.name == '作业负责人意见'){ step.STATE = '待审核' } @@ -472,6 +480,9 @@ } return 'active' } else if (this.showStatus > step.id) { + if(step.name == '项目主管部门意见'){ + step.STATE = '已审核' + } if(step.name == '动火作业提交'){ step.STATE = '已提交' } diff --git a/pages/application/hotwork_cfd/hotwork-gas/hotwork-gas-list.vue b/pages/application/hotwork_cfd/hotwork-gas/hotwork-gas-list.vue index eaca383..1250a76 100644 --- a/pages/application/hotwork_cfd/hotwork-gas/hotwork-gas-list.vue +++ b/pages/application/hotwork_cfd/hotwork-gas/hotwork-gas-list.vue @@ -366,6 +366,11 @@ this.confessUserNames = STATUS.confessUserNames }, getShowStatus(step) { + if (this.showStatus == -1.5 && step.id == 0) { + step.msg = '项目主管部门打回' + step.STATE = '待提交' + step.REPULSE = step.REPULSE + } if (this.showStatus == -2 && step.id == 0) { step.msg = '作业负责人审核打回' } diff --git a/pages/application/hotwork_cfd/hotwork-guardian/hotwork-guardian-list.vue b/pages/application/hotwork_cfd/hotwork-guardian/hotwork-guardian-list.vue index 7266474..54db0e7 100644 --- a/pages/application/hotwork_cfd/hotwork-guardian/hotwork-guardian-list.vue +++ b/pages/application/hotwork_cfd/hotwork-guardian/hotwork-guardian-list.vue @@ -383,6 +383,11 @@ this.confessUserNames = STATUS.confessUserNames }, getShowStatus(step) { + if (this.showStatus == -1.5 && step.id == 0) { + step.msg = '项目主管部门打回' + step.STATE = '待提交' + step.REPULSE = step.REPULSE + } if (this.showStatus == -2 && step.id == 0) { step.msg = '作业负责人审核打回' step.STATE = '待提交' @@ -440,6 +445,9 @@ return 'success' } if (this.showStatus == step.id) { + if(step.name == '项目主管部门意见'){ + step.STATE = '待审核' + } if(step.name == '作业负责人意见'){ step.STATE = '待审核' } @@ -460,6 +468,9 @@ } return 'active' } else if (this.showStatus > step.id) { + if(step.name == '项目主管部门意见'){ + step.STATE = '已审核' + } if(step.name == '动火作业提交'){ step.STATE = '已提交' } diff --git a/pages/application/hotwork_cfd/hotwork-leader/hotwork-leader-list.vue b/pages/application/hotwork_cfd/hotwork-leader/hotwork-leader-list.vue index cb2dc76..8caf925 100644 --- a/pages/application/hotwork_cfd/hotwork-leader/hotwork-leader-list.vue +++ b/pages/application/hotwork_cfd/hotwork-leader/hotwork-leader-list.vue @@ -378,6 +378,11 @@ this.confessUserNames = STATUS.confessUserNames }, getShowStatus(step) { + if (this.showStatus == -1.5 && step.id == 0) { + step.msg = '项目主管部门打回' + step.STATE = '待提交' + step.REPULSE = step.REPULSE + } if (this.showStatus == -2 && step.id == 0) { step.msg = '作业负责人审核打回' step.STATE = '待提交' @@ -435,6 +440,9 @@ return 'success' } if (this.showStatus == step.id) { + if(step.name == '项目主管部门意见'){ + step.STATE = '待审核' + } if(step.name == '作业负责人意见'){ step.STATE = '待审核' } @@ -455,6 +463,9 @@ } return 'active' } else if (this.showStatus > step.id) { + if(step.name == '项目主管部门意见'){ + step.STATE = '已审核' + } if(step.name == '动火作业提交'){ step.STATE = '已提交' } diff --git a/pages/application/hotwork_cfd/hotwork-monitor/hotwork-monitor-list.vue b/pages/application/hotwork_cfd/hotwork-monitor/hotwork-monitor-list.vue index e39f459..806884f 100644 --- a/pages/application/hotwork_cfd/hotwork-monitor/hotwork-monitor-list.vue +++ b/pages/application/hotwork_cfd/hotwork-monitor/hotwork-monitor-list.vue @@ -395,6 +395,11 @@ this.confessUserNames = STATUS.confessUserNames }, getShowStatus(step) { + if (this.showStatus == -1.5 && step.id == 0) { + step.msg = '项目主管部门打回' + step.STATE = '待提交' + step.REPULSE = step.REPULSE + } if (this.showStatus == -2 && step.id == 0) { step.msg = '作业负责人审核打回' step.STATE = '待提交' @@ -452,6 +457,9 @@ return 'success' } if (this.showStatus == step.id) { + if(step.name == '项目主管部门意见'){ + step.STATE = '待审核' + } if(step.name == '作业负责人意见'){ step.STATE = '待审核' } @@ -472,6 +480,9 @@ } return 'active' } else if (this.showStatus > step.id) { + if(step.name == '项目主管部门意见'){ + step.STATE = '已审核' + } if(step.name == '动火作业提交'){ step.STATE = '已提交' } diff --git a/pages/application/hotwork_cfd/hotwork-safety/hotwork-safety-list.vue b/pages/application/hotwork_cfd/hotwork-safety/hotwork-safety-list.vue index a277290..911ae32 100644 --- a/pages/application/hotwork_cfd/hotwork-safety/hotwork-safety-list.vue +++ b/pages/application/hotwork_cfd/hotwork-safety/hotwork-safety-list.vue @@ -372,6 +372,11 @@ this.confessUserNames = STATUS.confessUserNames }, getShowStatus(step) { + if (this.showStatus == -1.5 && step.id == 0) { + step.msg = '项目主管部门打回' + step.STATE = '待提交' + step.REPULSE = step.REPULSE + } if (this.showStatus == -2 && step.id == 0) { step.msg = '作业负责人审核打回' step.STATE = '待提交' @@ -429,6 +434,9 @@ return 'success' } if (this.showStatus == step.id) { + if(step.name == '项目主管部门意见'){ + step.STATE = '待审核' + } if(step.name == '作业负责人意见'){ step.STATE = '待审核' } @@ -449,6 +457,9 @@ } return 'active' } else if (this.showStatus > step.id) { + if(step.name == '项目主管部门意见'){ + step.STATE = '已审核' + } if(step.name == '动火作业提交'){ step.STATE = '已提交' } diff --git a/pages/application/hotwork_cfd/hotwork-xiang-mu/hotwork-xiang-list.vue b/pages/application/hotwork_cfd/hotwork-xiang-mu/hotwork-xiang-list.vue index 260c48d..e5ce9ec 100644 --- a/pages/application/hotwork_cfd/hotwork-xiang-mu/hotwork-xiang-list.vue +++ b/pages/application/hotwork_cfd/hotwork-xiang-mu/hotwork-xiang-list.vue @@ -377,7 +377,12 @@ this.confessUserNames = STATUS.confessUserNames }, getShowStatus(step) { - if (this.showStatus == -2 && step.id == 0) { + if (this.showStatus == -1.5 && step.id == 0) { + step.msg = '项目主管部门打回' + step.STATE = '待提交' + step.REPULSE = step.REPULSE + } + if (this.showStatus == -2 && step.id == 0) { step.msg = '作业负责人审核打回' step.STATE = '待提交' step.REPULSE = step.REPULSE @@ -434,6 +439,9 @@ return 'success' } if (this.showStatus == step.id) { + if(step.name == '项目主管部门意见'){ + step.STATE = '待审核' + } if(step.name == '作业负责人意见'){ step.STATE = '待审核' } @@ -454,6 +462,9 @@ } return 'active' } else if (this.showStatus > step.id) { + if(step.name == '项目主管部门意见'){ + step.STATE = '已审核' + } if(step.name == '动火作业提交'){ step.STATE = '已提交' }