From a4a7426f1286c8d8afe512f155fb650e3e8b940c Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期一, 02 十二月 2024 17:57:43 +0800
Subject: [PATCH] 整合代码&&表单定义扩展属性添加提示文字&&显示类型修改默认值和绑定值

---
 Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/uiDefine/index.vue |   47 ++++++-----------------------------------------
 1 files changed, 6 insertions(+), 41 deletions(-)

diff --git a/Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/uiDefine/index.vue b/Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/uiDefine/index.vue
index 0bf39a8..2938f67 100644
--- a/Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/uiDefine/index.vue
+++ b/Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/uiDefine/index.vue
@@ -1,11 +1,11 @@
 <template>
   <el-container>
     <el-aside>
-      <basic-container>
+      <basic-container >
         <div ref="TreeBox" style="height: calc(100vh - 154px);!important;">
           <!-- 宸︿晶鏍�         -->
           <div style="height:  calc(100vh - 190px);">
-            <avue-tree :data="treeData" :option="treeOption" @node-click="nodeClick">
+            <avue-tree v-loading="loading" :data="treeData" :option="treeOption" @node-click="nodeClick">
               <span slot-scope="{ node, data }" class="el-tree-node__label">
                <span style="font-size: 15px">
                   <i class="el-icon-s-promotion"></i>
@@ -170,6 +170,7 @@
   components: {plShow, uiAuthor},
   data() {
     return {
+      loading:false,
       dialog: {
         showDialog: false,
         title: "涓婁笅鏂囪鎯�",
@@ -363,7 +364,7 @@
   methods: {
     //鏍戣〃鏌ヨ
     getTreeList() {
-      const loading = this.$loading({});
+      this.loading = true;
       getBizTree().then(res => {
         this.treeData = [res.data.obj];
         const dicData = res.data.obj.children.map(item => {
@@ -377,9 +378,9 @@
           disabled: true,
           children: dicData
         }];
-        loading.close();
+        this.loading = false;
       }).catch(error => {
-        loading.close();
+        this.loading = false;
       })
     },
     // 鏍戠偣鍑�
@@ -689,41 +690,5 @@
   .el-scrollbar__wrap {
     overflow: auto !important;
   }
-
-  .headerCon {
-    .el-button {
-      width: 82px;
-    }
-  }
 }
-
-.headerCon {
-  display: flex;
-  flex-wrap: wrap;
-  margin-bottom: 5px;
-
-  .el-button + .el-button {
-    margin-left: 5px;
-  }
-
-  .el-button {
-    margin-top: 5px;
-  }
-}
-
-.headerCon > .el-button:nth-child(4) {
-  margin-left: 0;
-}
-
-.headerCon > .el-button:nth-child(7) {
-  margin-left: 0;
-}
-
-
-.smallBtn {
-  width: 82px;
-  text-align: center;
-  padding-left: 4.5px;
-}
-
 </style>

--
Gitblit v1.9.3