From 7e9203562933ffa67b36a5280fa9ccc32e9f4839 Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期四, 07 九月 2023 15:34:35 +0800
Subject: [PATCH] 前端代码打包

---
 Source/UBCS-WEB/src/components/FormTemplate/index.vue |   34 ++++++++++++++++++++++++----------
 1 files changed, 24 insertions(+), 10 deletions(-)

diff --git a/Source/UBCS-WEB/src/components/FormTemplate/index.vue b/Source/UBCS-WEB/src/components/FormTemplate/index.vue
index d2585c3..9d00f58 100644
--- a/Source/UBCS-WEB/src/components/FormTemplate/index.vue
+++ b/Source/UBCS-WEB/src/components/FormTemplate/index.vue
@@ -134,12 +134,12 @@
       showCodeApply: false,
       showResembleQuery: false,
       selfColumnType: {
-        codefixedsec: "combox",
-        codeclassifysec: "refer",
-        codevariablesec: "text",
+        codefixedsec: "combox",//鍥哄畾鐮佹
+        codeclassifysec: "refer",//鍒嗙被鐮佹
+        codevariablesec: "text",//鍙彉鐮佹
+        coderefersec: "refer",//寮曠敤鐮佹
         codeattrsec: "text",
         codelevelsec: "text",
-        coderefersec: "refer",
         codedatesec: "date"
       },
       selfColumnConfig: {
@@ -244,7 +244,7 @@
             } else {
               this.showResembleQuery = false;
             }
-            console.log(this.hasResemble, "this.hasResemblethis.hasResemble");
+            // console.log(this.hasResemble, "this.hasResemblethis.hasResemble");
             this.$nextTick(() => {
               this.$refs.FormTemplate.templateRender(
                 res.data.formDefineVO.items
@@ -265,13 +265,21 @@
         if (res.data && res.data.code === 200) {
           this.codeRuleOid = res.data.data.oid;
           const typeList = [
-            "codefixedsec",
-            "codeclassifysec",
-            "codevariablesec",
-            "coderefersec",
+            //灞炴�х爜娈� 鍙
             "codeattrsec",
+            //鍙彉鐮佹
+            "codevariablesec",
+            //鍥哄畾鐮佹
+            "codefixedsec",
+            //鍒嗙被鐮佹
+            "codeclassifysec",
+            //鏃ユ湡鐮佹 鍙
+            "codedatesec",
+            //寮曠敤鐮佹
+            "coderefersec",
+            //灞傜骇鐮佹 鍙
             "codelevelsec",
-            "codedatesec"
+            //娴佹按鐮佹 闅愯棌
           ];
           this.secVOList = (res.data.data.secVOList || []).filter((item) =>
             typeList.includes(item.secType)
@@ -286,6 +294,8 @@
             this.showCodeApply = false;
           }
         }
+        // console.log(' this.secVOList',this.secVOList)
+        // console.log(' res.data.data.secVOList',res.data.data.secVOList)
       });
     },
     getFormData(form) {
@@ -301,6 +311,8 @@
         if (item.parentClassifySecOid === field) {
           this.$refs.CodeApply.form[item.oid] = undefined;
           this.$refs.CodeApply.form[item.name] = undefined;
+          item.readOnly=false;
+          item.referConfig.extraParams.parentClassifyValueOid=data.value;
         }
         return item;
       });
@@ -414,6 +426,7 @@
     getReferConfig(item) {
       let params = {};
       if (item.secType == "codeclassifysec") {
+        //鍒嗙被鐮佹
         params = {
           isMuti: false,
           type: "grid",
@@ -458,6 +471,7 @@
           },
         };
       } else if (item.secType == "coderefersec") {
+        //寮曠敤鐮佹
         params = JSON.parse(item.referValueInfo);
       }
       return params;

--
Gitblit v1.9.3