From 9d8be8e7580ef577def96c852288a5a95eab4ea3 Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期二, 11 七月 2023 19:22:53 +0800
Subject: [PATCH] 代码整合,前端代码打包

---
 Source/UBCS-WEB/src/components/Tree/attrCrud.vue |   19 +++++++++++--------
 1 files changed, 11 insertions(+), 8 deletions(-)

diff --git a/Source/UBCS-WEB/src/components/Tree/attrCrud.vue b/Source/UBCS-WEB/src/components/Tree/attrCrud.vue
index c111117..92ee657 100644
--- a/Source/UBCS-WEB/src/components/Tree/attrCrud.vue
+++ b/Source/UBCS-WEB/src/components/Tree/attrCrud.vue
@@ -1,6 +1,6 @@
 <template>
   <div>
-    <div style="display: flex;flex-wrap: wrap;" v-if="this.crudArrayFlag">
+    <div style="display: flex;flex-wrap: wrap;" v-if="this.crudArrayFlag" class="app">
       <el-button-group>
       <!--鏂板-->
       <el-button v-if="attrEditVisible == false && attrFlagChiledren==false" size="small" type="primary" icon="el-icon-plus" @click="busineHandle">娣诲姞 {{ msg }}</el-button>
@@ -242,7 +242,7 @@
     </div>
     <el-table :data="ProData"
               style="width: 100%"
-              height="280"
+              :height='attrEditVisible == false && attrFlagChiledren==false?400 :750'
               @cell-click="handleCellClicks"
               @select="selectHandle"
               @selection-change="selectionChange"
@@ -936,11 +936,13 @@
         column: [
           {
             label: "灞炴�ц嫳鏂囧悕绉�",
-            prop: "id"
+            prop: "id",
+            width:110
           },
           {
             label: "灞炴�т腑鏂囧悕绉�",
-            prop: "name"
+            prop: "name",
+            width:110
           },
           {
             label: "闀垮害",
@@ -1484,6 +1486,7 @@
     //涓氬姟绫诲瀷閫夋嫨
     businessSelect(selection, row) {
       this.busineSelectList = selection
+      console.log(selection)
     },
     // 浠庝笟鍔$被鍨嬩腑閫夋嫨鏁版嵁寮圭獥
     busineHandle() {
@@ -1587,8 +1590,6 @@
       }else if(column.property == 'verifyRule'){
         this.RulesForm.expressionTextt=this.CurrentCell.verifyRule;
         this.rulesVisible=true;
-        console.log(this.CurrentCell.verifyRule)
-        console.log(this.RulesForm.expressionText)
       }
     },
     saveRows() {
@@ -1815,7 +1816,9 @@
 </script>
 
 <style scoped lang="scss" >
-/deep/ .el-button {
-  margin: 0 10px 10px 0;
+.app {
+   /deep/ .el-button {
+     margin: 0 10px 10px 0;
+     }
 }
 </style>

--
Gitblit v1.9.3