Эх сурвалжийг харах

节点正常表单添加定制表单类型

lph 1 жил өмнө
parent
commit
04e4b9fcbb

+ 2 - 0
ruoyi-ui/src/views/relateTable/components/RelateTableCard.vue

@@ -372,6 +372,7 @@ export default {
               tableName: this.tableName,
             },
             addListMap: [values],
+            commMap: {},
           };
           if (Object.keys(this.defaultValue).length) {
             let updateData = {
@@ -400,6 +401,7 @@ export default {
             }
           } else {
             // data;
+            console.log(this.myContion);
             let res = await addTableData(data);
             if (res.code == 200) {
               this.$modal.msgSuccess("添加成功");

+ 10 - 0
ruoyi-ui/src/views/system/bpmnPro/components/Panel/components/ElementExecuteForm.vue

@@ -88,6 +88,16 @@ export default {
         value: "composeForm",
         children: [],
       });
+      list.push({
+        label: "定制表单",
+        value: "designForm",
+        children: [
+          {
+            label: "定制表单",
+            value: "1",
+          },
+        ],
+      });
       try {
         let res = await listForm({ isEnablePaging: false });
         let dialogList = await listGroup({

+ 1 - 1
ruoyi-ui/src/views/system/bpmnPro/components/bo-utils/getNodeMsg.js

@@ -68,7 +68,7 @@ export function getNodeMsg(xmlObj) {
     bpmNodeHandleUserList = [...bpmNodeHandleUserList, ...bpmNodeHandleUser]
     attributeArray.forEach(attr => {
       let tempAttr = prefix + ':' + attr
-      nodeObj[attr] = node.attributes[tempAttr]?.nodeValue || 'true'
+      nodeObj[attr] = node.attributes[tempAttr]?.nodeValue
     });
     nodeObj.nodeKey = node.id;
     nodeObj.nodeName = node.getAttribute('name');