From a3185a03c61d07adfba36b27f2afb18b682760c2 Mon Sep 17 00:00:00 2001
From: dangsn <dangsn@chicecm.com>
Date: 星期五, 04 八月 2023 15:35:27 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 Source/UBCS-WEB/src/components/template/Stage.vue |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/Source/UBCS-WEB/src/components/template/Stage.vue b/Source/UBCS-WEB/src/components/template/Stage.vue
index d1e2795..a4bd748 100644
--- a/Source/UBCS-WEB/src/components/template/Stage.vue
+++ b/Source/UBCS-WEB/src/components/template/Stage.vue
@@ -1,5 +1,5 @@
 <template>
-    <div>
+    <div v-if="Formlist.length>0">
         <avue-crud ref="crud" :table-loading="loading" :data="data" :option="option" :page.sync="page"
             @on-load="getDataList" @size-change="handleSizePage" @current-change="handleCurrentPage"
             @row-click="handleRowClick">
@@ -35,7 +35,11 @@
             typeof: String,
             required: true,
             default: ""
-        }
+        },
+      Formlist:{
+        type:Array,
+        default:[]
+      }
     },
     watch: {
       code: {
@@ -102,6 +106,7 @@
             ],
             option: {
                 ...options,
+              height: 383,
                 column: [
                     { label: '妯℃澘缂栧彿', prop: 'modelKey' },
                     { label: '妯℃澘鍚嶇О', prop: 'modelName' },
@@ -143,6 +148,8 @@
               this.data = data.records
               this.page.total = data.total
             } else this.loading = false
+          }else {
+            this.data=[]
           }
         },
         // 鑾峰彇闃舵鍒楄〃

--
Gitblit v1.9.3