|
|
|
@ -434,20 +434,17 @@
|
|
|
|
|
console.log(value); |
|
|
|
|
}, |
|
|
|
|
apply(v) { |
|
|
|
|
|
|
|
|
|
if (!v.procDefId || v.procDefId == "null") { |
|
|
|
|
this.$message.error("流程定义为空"); |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
this.form.id = v.id; |
|
|
|
|
this.form.procDefId = v.procDefId; |
|
|
|
|
this.form.title = v.title; |
|
|
|
|
|
|
|
|
|
// 加载审批人 |
|
|
|
|
this.getAction(this.url.getFirstNode,{procDefId:v.procDefId,tableId:v.tableId,tableName:v.tableName}).then(res => { |
|
|
|
|
if (res.success) { |
|
|
|
|
console.log(res.result,"898989898989898>") |
|
|
|
|
console.log(v,"898989898989898>") |
|
|
|
|
if (res.result.type == 3 || res.result.type == 4) { |
|
|
|
|
this.isGateway = true; |
|
|
|
|
this.modalVisible = true; |
|
|
|
|