审批流程图高亮修改
This commit is contained in:
parent
9ca9049c96
commit
3131c5c0ef
@ -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));
|
||||
|
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user