|
@@ -160,10 +160,10 @@
|
|
|
:defaultValue="defaultValue"
|
|
|
:value="jsonData"
|
|
|
/>
|
|
|
- <NodeInfoDialog
|
|
|
+ <DialogTemplate
|
|
|
v-else-if="formType == 'composeForm'"
|
|
|
:taskInfo="taskInfo"
|
|
|
- ></NodeInfoDialog>
|
|
|
+ ></DialogTemplate>
|
|
|
<component
|
|
|
v-else-if="formType == 'designForm'"
|
|
|
:is="myForm"
|
|
@@ -189,11 +189,11 @@ import { triggerExceptionNode } from "@/api/bpmprocess/process";
|
|
|
import getNodeSequence from "@/utils/bpmn/getNodeSequence";
|
|
|
import GY1 from "./dialogCompments/GY1.vue";
|
|
|
import { getForm } from "@/api/dragform/form";
|
|
|
-import NodeInfoDialog from "@/views/dialogTemplate/components/NodeInfoDialog.vue";
|
|
|
+import DialogTemplate from "@/views/dialogTemplate/components/index.vue";
|
|
|
export default {
|
|
|
name: "processMange",
|
|
|
props: [],
|
|
|
- components: { GY1, NodeInfoDialog },
|
|
|
+ components: { GY1, DialogTemplate },
|
|
|
dicts: ["bpm_type"],
|
|
|
data() {
|
|
|
return {
|
|
@@ -255,9 +255,11 @@ export default {
|
|
|
formType: "", //表单类型 dragForm:拖拽表单 composeForm:工艺组合表单 designForm:定制表单
|
|
|
// k-form-build 数据
|
|
|
dynamicData: {},
|
|
|
+ tableName: "",
|
|
|
defaultValue: {},
|
|
|
jsonData: {},
|
|
|
- taskInfo: {}, //
|
|
|
+ // 拖拽数据
|
|
|
+ taskInfo: {},
|
|
|
};
|
|
|
},
|
|
|
computed: {},
|
|
@@ -352,6 +354,7 @@ export default {
|
|
|
nextNodeKey: nextNodeId, //下一节点编码
|
|
|
implementationName: this.row.benmTaskAutomaticScriptTriggerType, //当前节点绑定的脚本名
|
|
|
taskProcessXmlContent: this.row.bepTaskProcessXmlContent, //当前流程xml
|
|
|
+ tableName: this.tableName,
|
|
|
formDataMap: JSON.stringify(formData), //自定义表单组件收集的表单数据
|
|
|
};
|
|
|
let fileXML = new File(
|
|
@@ -378,6 +381,7 @@ export default {
|
|
|
console.log(res);
|
|
|
if (res.code == 200) {
|
|
|
this.jsonData = JSON.parse(res.data.dfVueTemplate);
|
|
|
+ this.tableName = res.data.dfTableName;
|
|
|
if (res.data.dfFormSql) {
|
|
|
this.dynamicData = JSON.parse(res.data.dfFormSql);
|
|
|
console.log(this.dynamicData);
|