From edf269391cc909449867ee3ec48699e9f73b60a7 Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期二, 19 九月 2023 16:24:13 +0800
Subject: [PATCH] 整合代码

---
 Source/UBCS-WEB/src/views/integration/systemInfo.vue |   29 +++++++++++------------------
 1 files changed, 11 insertions(+), 18 deletions(-)

diff --git a/Source/UBCS-WEB/src/views/integration/systemInfo.vue b/Source/UBCS-WEB/src/views/integration/systemInfo.vue
index 392d645..2efc562 100644
--- a/Source/UBCS-WEB/src/views/integration/systemInfo.vue
+++ b/Source/UBCS-WEB/src/views/integration/systemInfo.vue
@@ -19,7 +19,13 @@
                   :size="size" clearable style="width:300px;margin-left: 10px;"
                   @clear="handleClear" @keyup.enter.native="handleEnter"></el-input>
       </template>
+      <template #menu="{row,index,size}">
+        <el-button type="text" icon="el-icon-menu" size="small" @click="classifyHandler">鍒嗙被鎺堟潈</el-button>
+
+      </template>
     </avue-crud>
+    <el-dialog :visible.sync="dialogVisible" append-to-body title="鍒嗙被鎺堟潈">
+    </el-dialog>
   </basic-container>
 </template>
 <script>
@@ -29,6 +35,7 @@
   data() {
     return {
       loading: false,
+      dialogVisible:false,
       page: {
         currentPage: 1,
         pageSize: 10,
@@ -93,24 +100,10 @@
     }
   },
   methods: {
-    // 鑾峰彇鍒楄〃
-    // async getDataList() {
-    //     this.loading = true
-    //     console.log(this.search)
-    //     const { pageSize, currentPage } = this.page
-    //     let param = { size: pageSize, current: currentPage }
-    //     this.search = Object.keys(this.search)
-    //         .filter((key) => this.search[key] !== null && this.search[key] !== undefined && this.search[key] !== "")
-    //         .reduce((acc, key) => ({ ...acc, [key]: this.search[key] }), {});
-    //     const response = await getSysInfoList(pageSize,currentPage,{...param})
-    //     if (response.status === 200) {
-    //         console.log(response)
-    //         this.loading = false
-    //         const data = response.data.data
-    //         this.data = data.records
-    //         this.page.total = data.total
-    //     } else this.loading = false
-    // },
+    //鍒嗙被鎺堟潈
+    classifyHandler(){
+      this.dialogVisible=true;
+    },
     async getDataList() {
       this.loading = true;
       console.log(this.search);

--
Gitblit v1.9.3