소스 검색

fix(contractReview): 合同评审在提交审核时添加业务相关变量

liujt 7 달 전
부모
커밋
bfbd46dab8
1개의 변경된 파일6개의 추가작업 그리고 1개의 파일을 삭제
  1. 6 1
      src/views/contractManage/contractReview/components/addDialog.vue

+ 6 - 1
src/views/contractManage/contractReview/components/addDialog.vue

@@ -721,7 +721,12 @@ this.postOptions.push(...response.data);
         console.log('formformformform', this.form);
         await processInstanceCreateAPI({
           ...this.form,
-          variables: { ...this.form.valueJson }
+          variables: { 
+            ...this.form.valueJson, 
+            businessCode: this.form.code,
+            businessName: this.form.name,
+            businessType: this.form.categoryName 
+          }
         });
         this.$message('提交审核成功');
         this.$emit('reload');