浏览代码

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');