|
|
@@ -275,7 +275,8 @@ module.exports = app => {
|
|
|
|
|
|
setFlowLabel(inspection) {
|
|
|
const status = inspection.status === undefined ? inspection.mstatus : inspection.status;
|
|
|
- inspection.flowLabel = inspection.flow_version === 1 && [2, 6, 12].includes(status) ? auditConst.stageString[inspection.flow_stage] + '中' : auditConst.statusString[status];
|
|
|
+ const stageLabel = inspection.flow_stage === auditConst.stage.report ? '审批中' : auditConst.stageString[inspection.flow_stage] + '中';
|
|
|
+ inspection.flowLabel = inspection.flow_version === 1 && [2, 6, 12].includes(status) ? stageLabel : auditConst.statusString[status];
|
|
|
inspection.actionLabel = status === 1 || status === 5 ? '上报' : status === 12 ? '整改' : inspection.flow_version === 1 && inspection.flow_stage === 3 ? '批复' : '审批';
|
|
|
}
|
|
|
|