From 8199d1738e8b75ccad7f3465dfd88aac2bb1a160 Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期五, 04 八月 2023 14:56:11 +0800
Subject: [PATCH] 主题库切换树模板流程和阶段显示bug

---
 Source/UBCS-WEB/src/components/Theme/ThemeAttrCrud.vue |   16 ++++++++++++++--
 1 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/Source/UBCS-WEB/src/components/Theme/ThemeAttrCrud.vue b/Source/UBCS-WEB/src/components/Theme/ThemeAttrCrud.vue
index 66a96d4..39bad89 100644
--- a/Source/UBCS-WEB/src/components/Theme/ThemeAttrCrud.vue
+++ b/Source/UBCS-WEB/src/components/Theme/ThemeAttrCrud.vue
@@ -1,6 +1,6 @@
 <template>
   <div>
-    <div style="display: flex;flex-wrap: wrap;" v-if="this.crudArrayFlag" class="app">
+    <div style="display: flex;flex-wrap: wrap; display: inline-block" v-if="this.crudArrayFlag" class="app" >
       <el-button-group>
       <!--鏂板-->
       <el-button v-if="attrEditVisible == false && attrFlagChiledren==false && editOpenFlag &&  (!checkStatus || crudLCStatus=='Editing' )" size="small" type="primary" icon="el-icon-plus" plain @click="busineHandle">娣诲姞 {{ msg }}</el-button>
@@ -386,6 +386,11 @@
         if(newval){
           this.editOpenFlag=false
         }
+      }
+    },
+    crudArrayFlag:{
+      handler(newval,olaval){
+        console.log('crudArrayFlag',newval)
       }
     },
     crudArray:{
@@ -1701,22 +1706,29 @@
         if(item.componentRule){
           //缁勫悎瑙勫垯
           num++
+          console.log('componentRule',num)
         }
         if(item.enumString || item.enumId){
           //鏋氫妇
           num++
+          console.log('enumString',num)
         }
         if(item.referConfig || item.referBtmId){
           //鍙傜収
           num++
+          console.log('referConfig',num)
         }
         if(item.codeDateFormat){
           //鏃堕棿鏍煎紡
           num++
+          console.log('codeDateFormat',num)
         }
-        if(item.classifyInvokeLevel){
+        //濡傛灉绌哄悗鍙拌繑鍥瀗one
+        if(item.classifyInvokeLevel && item.classifyInvokeLevel != 'none'){
           //鍒嗙被娉ㄥ叆
           num++
+          console.log('classifyInvokeLevel',num)
+          console.log(item.classifyInvokeLevel)
         }
         if(num>1 && ischeck){
           this.$message({

--
Gitblit v1.9.3