|
@@ -162,7 +162,13 @@
|
|
|
/>
|
|
|
<DialogTemplate
|
|
|
v-else-if="formType == 'composeForm'"
|
|
|
- :taskInfo="taskInfo"
|
|
|
+ ref="dialogRef"
|
|
|
+ :groupKey="groupKey"
|
|
|
+ :rowobj="row"
|
|
|
+ :subCount="subCount"
|
|
|
+ :tableCount="tableCount"
|
|
|
+ :subTableName="subTableName"
|
|
|
+ @addList="() => {}"
|
|
|
></DialogTemplate>
|
|
|
<component
|
|
|
v-else-if="formType == 'designForm'"
|
|
@@ -260,6 +266,10 @@ export default {
|
|
|
jsonData: {},
|
|
|
// 拖拽数据
|
|
|
taskInfo: {},
|
|
|
+ groupKey: "",
|
|
|
+ subCount: {},
|
|
|
+ tableCount: {},
|
|
|
+ subTableName: "",
|
|
|
};
|
|
|
},
|
|
|
computed: {},
|
|
@@ -328,6 +338,10 @@ export default {
|
|
|
} else if (row.benTaskNodeFormType == "composeForm") {
|
|
|
//工艺组合表单
|
|
|
this.formType = "composeForm";
|
|
|
+ this.groupKey = row.benTaskNodeFormKey;
|
|
|
+ this.$nextTick(() => {
|
|
|
+ this.$refs.dialogRef.getLists(this.groupKey);
|
|
|
+ });
|
|
|
}
|
|
|
} else if (preFix) {
|
|
|
//定制表单
|
|
@@ -348,6 +362,7 @@ export default {
|
|
|
bepTaskProcessXmlContent
|
|
|
);
|
|
|
let formData = await this.getFormData();
|
|
|
+ formData.taskPlanKey = this.row.bepTaskPlanKey;
|
|
|
let payLoad = {
|
|
|
taskProcessKey: this.row.bepTaskKey, //当前任务流程编码
|
|
|
taskNodeKey: nodeId, //当前执行节点唯一编码
|