소스 검색

获取审批人员

chenc 3 년 전
부모
커밋
b68d9a4d71
2개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 1
      src/views/activiti/operation/todoManageOperation.vue
  2. 2 2
      src/views/activiti/todoManage.vue

+ 1 - 1
src/views/activiti/operation/todoManageOperation.vue

@@ -199,7 +199,7 @@ export default {
       this.form.type = 0
       this.modalTaskVisible = true
       this.userLoading = true
-      getAction(this.url.getNextNode, { procDefId: v.procDefId, currActId: v.key }).then(res => {
+      getAction(this.url.getNextNode, { procDefId: v.procDefId, currActId: v.key ,procInstId:v.procInstId}).then(res => {
         this.userLoading = false
         if (res.success) {
           if (res.result.type == 3 || res.result.type == 4) {

+ 2 - 2
src/views/activiti/todoManage.vue

@@ -423,7 +423,7 @@ export default {
       this.form.type = 0;
       this.modalTaskVisible = true;
       this.userLoading = true;
-      this.getAction(this.url.getNextNode,{procDefId:v.procDefId, currActId:v.key}).then(res => {
+      this.getAction(this.url.getNextNode,{procDefId:v.procDefId, currActId:v.key,procInstId:v.procInstId}).then(res => {
         this.userLoading = false;
         if (res.success) {
           if (res.result.type == 3 || res.result.type == 4) {
@@ -455,7 +455,7 @@ export default {
         return;
       }
       this.userLoading = true;
-      this.getAction(this.url.getNode+v).then(res => {
+      this.getAction(this.url.getNode+v+"&"+this.form.procInstId).then(res => {
         this.userLoading = false;
         if (res.success) {
           if (res.result.users && res.result.users.length > 0) {