审批流程图高亮修改

This commit is contained in:
xusd 2024-09-13 18:21:20 +08:00
parent 9ca9049c96
commit 3131c5c0ef
2 changed files with 4 additions and 5 deletions

View File

@ -130,7 +130,6 @@ export default {
}
//
canvas.addMarker(n.id, this.getResultCss(task.status));
// 线
if (task.status !== 2) {
return;
@ -203,10 +202,10 @@ export default {
}
});
} else if (n.$type === 'bpmn:EndEvent') { //
if (!this.processInstance || this.processInstance.result === 1) {
if (!this.processInstance || this.processInstance.status === 1) {
return;
}
canvas.addMarker(n.id, this.getResultCss(this.processInstance.result));
canvas.addMarker(n.id, this.getResultCss(this.processInstance.status));
} else if (n.$type === 'bpmn:ServiceTask'){ //
if(activity.startTime>0 && activity.endTime===0){//
canvas.addMarker(n.id, this.getResultCss(1));

View File

@ -181,12 +181,12 @@ export default {
const res = await MaintenanceOrderApi.getRemoteMaintenanceOrderRecord(id);
this.formData = res.data;
this.cascaderValue = this.changeDetSelect(this.formData.equipId,this.equipCascader);
this.title = "修改维修工单";
this.dialogTitle = "修改维修工单";
} finally {
this.formLoading = false;
}
}
this.title = "新增维修工单";
this.dialogTitle = "新增维修工单";
},
/** 提交按钮 */
async submitForm() {