|
|
|
|
@ -225,6 +225,7 @@ export default {
|
|
|
|
|
delete res1['json']
|
|
|
|
|
if (!res1.status) {
|
|
|
|
|
this.$message.warning(res1.msg)
|
|
|
|
|
this.loading = false;
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
if (res1.data.currentNode?.nextNodes?.length === 1) {
|
|
|
|
|
@ -241,8 +242,9 @@ export default {
|
|
|
|
|
'next_node_id[0]': res1.data.currentNode.nextNodes[0].id,
|
|
|
|
|
[res1.data.currentNode.nextNodes[0].is_jointly_sign ? 'user_id[]' : 'user_id']: Object.values(res2)[0][0].id
|
|
|
|
|
}, true,"","POST",`${process.env.VUE_APP_OUT_URL}/flow/assign/${row.id}`);
|
|
|
|
|
if (!res1.status) {
|
|
|
|
|
this.$message.warning(res1.msg)
|
|
|
|
|
if (!res3.status) {
|
|
|
|
|
this.$message.warning(res3.msg)
|
|
|
|
|
this.loading = false;
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
this.$message.success("办理成功!")
|
|
|
|
|
|