From 9e9435a15d12e364d0a910434de0568e11bb273c Mon Sep 17 00:00:00 2001
From: yuxc <653031404@qq.com>
Date: 星期四, 03 八月 2023 17:08:05 +0800
Subject: [PATCH] 1、处理lastr","firstr","lastv","firstv"字段在数据创建时为整形问题。 2、处理属性分组设置了一个属性,且配置表单中不显示。那么页面的表单应该不显示此分组。

---
 Source/UBCS-WEB/src/mixins/codeApply.js |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/Source/UBCS-WEB/src/mixins/codeApply.js b/Source/UBCS-WEB/src/mixins/codeApply.js
index b424b44..ffe002e 100644
--- a/Source/UBCS-WEB/src/mixins/codeApply.js
+++ b/Source/UBCS-WEB/src/mixins/codeApply.js
@@ -41,10 +41,15 @@
       codeApplyForm: {},
     }
   },
+  created() {
+    if (this.type === 'batchImportApply') {
+      this.getCodeRule()
+    }
+  },
   methods: {
     // 鑾峰彇鐮佸�肩敵璇锋暟鎹�
     getCodeRule() {
-      getCodeRule({ codeClassifyOid: this.localCodeClassifyOid }).then((res) => {
+      getCodeRule({ codeClassifyOid: this.localCodeClassifyOid || this.codeClassifyOid }).then((res) => {
         if (res.data && res.data.code === 200) {
           const typeList = [
             "codefixedsec",
@@ -64,6 +69,8 @@
               }
               this.$refs.CodeApply.templateRender(this.localSecVOList);
             });
+          } else {
+            this.showCodeApply = false
           }
 
         }

--
Gitblit v1.9.3