Browse Source

修改审批人员中的bug

dev
long 2 years ago
parent
commit
a0f8596dd9
  1. 12
      src/views/activiti/ProcessModelList.vue

12
src/views/activiti/ProcessModelList.vue

@ -507,7 +507,7 @@
},
submitUsers(val){
this.spry.userIds=val;
console.log(val,"-=-=-=-=-=-=-=-=>")
var _this = this;
if (!this.spry.userIds){
_this.$message.error("必须选择审批人!");
@ -516,11 +516,17 @@
// _this.confirmLoading = true;
this.spry.nodeId = this.editNode.id;
this.spry.procDefId = this.editNode.procDefId;
this.spry.userIds=val;
if (!this.spry.roleIds){
this.spry.roleIds=""
this.spry.departmentIds=""
this.spry.departmentManageIds=""
this.spry.formVariables=""
}
this.postFormAction(_this.url.editNodeUser,this.spry).then(res => {
if (res.success) {
/*保存成功后回显数据*/
_this.getNodeData(_this.updateRow);
_this.getNodeData(_this.updateRow);
}else {
_this.$message.error(res.message);
}

Loading…
Cancel
Save