|
@@ -78,7 +78,7 @@
|
|
|
<el-dialog title="处理操作" width="100%" :visible.sync="handleStatus" :before-close="handleCloses" :modal="false"
|
|
|
v-if="handleStatus" :destroy-on-close="true">
|
|
|
<Workflow :list="fromList" v-if="isWorkflowStatus == true" @updateForm="updateForm"
|
|
|
- :requestForm="requestForm" :request_formTitle="request_form.title"/>
|
|
|
+ :requestForm="requestForm" :adminResourceId="adminResourceId" :request_formTitle="request_form.title"/>
|
|
|
|
|
|
<WorkflowEntrance :list="fromList" v-else :lastManList="lastManList" @beforeClose="updateForm"
|
|
|
:requestForm="requestForm" :request_formTitle="request_form.title"/>
|
|
@@ -476,6 +476,7 @@ export default {
|
|
|
],
|
|
|
},
|
|
|
savestatusBtn: false,
|
|
|
+ adminResourceId: "", //转派多人id
|
|
|
|
|
|
|
|
|
}
|
|
@@ -530,6 +531,9 @@ export default {
|
|
|
|
|
|
let res = await this.common.httpPost(obj, success);
|
|
|
function success(data) {
|
|
|
+ if (data.lastMan == true) {
|
|
|
+ _this.adminResourceId = data.adminResourceId;
|
|
|
+ }
|
|
|
_this.isWorkflowStatus = data.lastMan == false ? false : true;
|
|
|
_this.lastManList = data;
|
|
|
// console.log(_this.isWorkflowStatus);
|
|
@@ -834,10 +838,18 @@ export default {
|
|
|
console.log(res.data.body.nextShapes[0].multi);
|
|
|
if (res.data.body.nextShapes[0].multi) {
|
|
|
if (res.data.body.nextShapes[0].multi.multi === "true") {
|
|
|
+ console.log('这是mulit节点');
|
|
|
this.getLastName();
|
|
|
+ } else {
|
|
|
+ this.adminResourceId = ''
|
|
|
+ console.log('这不是mulit节点');
|
|
|
+ this.destroy = true;
|
|
|
+ this.handleStatus = true;
|
|
|
+ this.getMetirialType();
|
|
|
}
|
|
|
}
|
|
|
if (this.fromList.taskId || this.fromList.processId) {
|
|
|
+ this.adminResourceId = ''
|
|
|
this.destroy = true;
|
|
|
this.handleStatus = true;
|
|
|
this.getMetirialType();
|