From dc27b49e51f41ee3973eeff741c43cab64a0a93a Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期五, 01 十一月 2024 09:42:41 +0800
Subject: [PATCH] 属性池切换类型bug处理

---
 Source/plt-web/plt-web-ui/src/views/modelingMenu/modeling/attributePool/index.vue |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/Source/plt-web/plt-web-ui/src/views/modelingMenu/modeling/attributePool/index.vue b/Source/plt-web/plt-web-ui/src/views/modelingMenu/modeling/attributePool/index.vue
index 1019e11..aab3217 100644
--- a/Source/plt-web/plt-web-ui/src/views/modelingMenu/modeling/attributePool/index.vue
+++ b/Source/plt-web/plt-web-ui/src/views/modelingMenu/modeling/attributePool/index.vue
@@ -37,7 +37,7 @@
         </avue-crud>
       </basic-container>
     </el-main>
-    <!-- 鍙充晶淇℃伅   -->
+    <!-- 鍙充晶淇℃伅 -->
     <el-aside width="30%">
       <basic-container>
         <div style="height: 85vh; overflow-y: auto">
@@ -215,7 +215,7 @@
         </div>
       </basic-container>
     </el-aside>
-    <!-- 鏂板瀵硅瘽妗�    -->
+    <!-- 鏂板瀵硅瘽妗� -->
     <el-dialog
       v-dialogDrag
       v-loading="addLoading"
@@ -321,7 +321,7 @@
                     </div>
                   </el-form-item>
                 </el-col>
-                <el-col :span="24" v-if="form.rangeValue.length>0">
+                <el-col :span="24" v-if="form.rangeValue && form.rangeValue.length>0">
                   <el-form-item :label="form.enumSwitch ? '褰撳墠鏋氫妇鍊硷細' : '褰撳墠鍊煎煙锛�'" prop="rangeValue">
                     <el-tag  :key="item" v-for="item in rangeValueList" plain :closable="!form.enumSwitch" type="success" @close="handleRangeValueDel(item)" style="margin: 0 10px 5px 0">{{ item }}</el-tag>
                     <el-input v-model="form.rangeValue" :readonly="form.enumSwitch" type="textarea" :rows="2" style="width: 0;height:0;overflow: hidden"></el-input>
@@ -378,7 +378,7 @@
                   </div>
                 </el-form-item>
               </el-col>
-              <el-col :span="24" v-if="form.rangeValue.length>0">
+              <el-col :span="24" v-if="form.rangeValue && form.rangeValue.length>0">
                 <el-form-item :label="form.enumSwitch ? '褰撳墠鏋氫妇鍊硷細' : '褰撳墠鍊煎煙锛�'" prop="rangeValue">
                   <el-tag  :key="item" v-for="item in rangeValueList" plain :closable="!form.enumSwitch" type="success" @close="handleRangeValueDel(item)" style="margin: 0 10px 5px 0">{{ item }}</el-tag>
                   <el-input v-model="form.rangeValue" :readonly="form.enumSwitch" type="textarea" :rows="2" style="width: 0;height:0;overflow: hidden"></el-input>
@@ -433,7 +433,7 @@
                   </div>
                 </el-form-item>
               </el-col>
-              <el-col :span="24" v-if="form.rangeValue.length>0">
+              <el-col :span="24" v-if="form.rangeValue && form.rangeValue.length>0">
                 <el-form-item :label="form.enumSwitch ? '褰撳墠鏋氫妇鍊硷細' : '褰撳墠鍊煎煙锛�'" prop="rangeValue">
                   <el-tag  :key="item" v-for="item in rangeValueList" plain closable type="success" @close="handleRangeValueDel(item)" style="margin: 0 10px 5px 0">{{ item }}</el-tag>
                   <el-input v-model="form.rangeValue" type="textarea" :rows="2" style="width: 0;height:0;overflow: hidden"></el-input>
@@ -459,7 +459,7 @@
           </div>
         </el-form>
 
-        <!-- 涓氬姟绫诲瀷瀵硅瘽妗�      -->
+        <!-- 涓氬姟绫诲瀷瀵硅瘽妗� -->
         <el-dialog
           v-dialogDrag
           :visible.sync="businessVisible"
@@ -485,7 +485,7 @@
         </span>
         </el-dialog>
 
-        <!-- 閾炬帴绫诲瀷瀵硅瘽妗�      -->
+        <!-- 閾炬帴绫诲瀷瀵硅瘽妗� -->
         <el-dialog
           v-dialogDrag
           :visible.sync="linkTypeVisible"
@@ -519,7 +519,7 @@
     <!--瀵煎叆    -->
     <upload-file ref="upload" :fileType="upFileType" :fileUrl="fileUrl" :tipList="tipList" title="瀵煎叆"
                  @updata="getTableList"></upload-file>
-    <!-- 鏌ョ湅浣跨敤鑼冨洿    -->
+    <!-- 鏌ョ湅浣跨敤鑼冨洿 -->
     <el-dialog
       v-dialogDrag
       v-loading="checkViewLoading"
@@ -708,7 +708,7 @@
         referValue: "",
         btmTypeId: "",
         linkTypeName: "",
-        rangeValue: "" //褰撳墠鍊煎煙\褰撳墠鏋氫妇鍊�
+        rangeValue: [] //褰撳墠鍊煎煙\褰撳墠鏋氫妇鍊�
 
       },
       typeSelectList: ['VTString', 'VTInteger', 'VTLong', 'VTDouble', 'VTBoolean', 'VTDate', 'VTTime', 'VTDateTime', 'VTNote', 'VTFilePath', 'VTClob'],
@@ -1387,7 +1387,7 @@
 
 .addDialogBottom > .el-divider--vertical {
   width: 1px;
-  height: 78%;
+  height: 70%;
   position: absolute;
   top: 50%;
   left: 50%;

--
Gitblit v1.9.3