From 0f519667314c451c4267ba5d6c074ab91e5f2706 Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期五, 30 六月 2023 17:59:14 +0800
Subject: [PATCH] 编码规则-业务数据表头

---
 Source/UBCS-WEB/src/components/Crud/VciMasterCrud.vue |   23 ++++++++++++++++++++---
 1 files changed, 20 insertions(+), 3 deletions(-)

diff --git a/Source/UBCS-WEB/src/components/Crud/VciMasterCrud.vue b/Source/UBCS-WEB/src/components/Crud/VciMasterCrud.vue
index 0992b9c..4b9b4ab 100644
--- a/Source/UBCS-WEB/src/components/Crud/VciMasterCrud.vue
+++ b/Source/UBCS-WEB/src/components/Crud/VciMasterCrud.vue
@@ -60,6 +60,9 @@
             :prop="item.prop"
             :sortable="item.sortable"
             :formatter="formatBoolean"
+            :width="item.label.length >=4 ?'150':item.label.length==3 ?'120':'90'"
+            :show-overflow-tooltip="true"
+            align="center"
           >
             <!-- 缂栬緫鍜屽睍绀洪�昏緫 -->
             <!--              <template slot-scope="{ row }">-->
@@ -249,6 +252,11 @@
     this.doLayout();
   },
   watch: {
+     tableHeadDataFateher:{
+      handler(newval,oldval){
+        this.options=newval.tableDefineVO.seniorQueryColumns
+      }
+    },
     codeClassifyOid: {
       handler(newval, oldval) {
         this.codeClassifyOid = newval;
@@ -281,9 +289,9 @@
     // 杞崲鏁版嵁true鍜宖alse
     formatBoolean(row, column) {
       if (column.property === "xiaoshouwl"
-        ||column.property === "shifoupihaoguanli" 
-        ||column.property === "caigouwl" 
-        ||column.property === "kucunwl" 
+        ||column.property === "shifoupihaoguanli"
+        ||column.property === "caigouwl"
+        ||column.property === "kucunwl"
         ||column.property === "passing") {
         return row[column.property] =='true'? "鏄�" : "鍚�";
       }
@@ -433,6 +441,7 @@
         this.rowOid = "";
       }
       this.selectRow = row;
+      this.parameter.ids = [];
       row.forEach((item) => {
         this.parameter.ids.push(item.oid);
       });
@@ -461,6 +470,8 @@
         ...val,
       }).then((res) => {
         console.log(res);
+        this.tableData=res.data.data;
+        this.page.total=res.data.total
       });
     },
     //鐩镐技椤规煡璇�
@@ -506,4 +517,10 @@
     background-color: #f5f7fa !important;
   }
 }
+
+/deep/ .el-button {
+  margin: 0 10px 10px 0;
+}
+
+
 </style>

--
Gitblit v1.9.3