From 03e602bbaee807c42a22df05f1f00c558ffe9fa0 Mon Sep 17 00:00:00 2001
From: 田源 <tianyuan@vci-tech.com>
Date: 星期一, 13 一月 2025 17:27:19 +0800
Subject: [PATCH] 首页跳转日志bug

---
 Source/plt-web/plt-web-ui/src/views/system/log/index.vue |   16 +++++++++-------
 1 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/Source/plt-web/plt-web-ui/src/views/system/log/index.vue b/Source/plt-web/plt-web-ui/src/views/system/log/index.vue
index 6172a24..cb1acf4 100644
--- a/Source/plt-web/plt-web-ui/src/views/system/log/index.vue
+++ b/Source/plt-web/plt-web-ui/src/views/system/log/index.vue
@@ -15,8 +15,10 @@
       @current-change="currentChange"
     >
       <template slot="menuLeft" slot-scope="scope">
-        <el-button v-if="permissionList.exportBtn" icon="el-icon-download" plain size="small" type="primary"
-                   @click="exportClickHandler">瀵煎嚭
+        <el-button v-if="permissionList.exportBtn" class="button-custom-icon" plain size="small" type="primary"
+                   @click="exportClickHandler">
+          <icon-show :name="permissionList.exportBtn.source"></icon-show>
+          瀵煎嚭
         </el-button>
       </template>
     </avue-crud>
@@ -49,17 +51,17 @@
         column: [
           {
             label: '鐢ㄦ埛鍚�',
-            prop: 'truename',
+            prop: 'username',
             search: true,
             searchSpan: 4,
             searchLabel: '鎿嶄綔鐢ㄦ埛',
             type: 'select',
             dicUrl: '/api/loginBasicController/getOperatingUsers',
             sortable: true,
-            width: 150
+            width: 200
           }, {
             label: '濮撳悕',
-            prop: 'username',
+            prop: 'truename',
             sortable: true,
             width: 150
           }, {
@@ -123,7 +125,6 @@
     },
   },
   created() {
-    console.log(this.$route.query.id)
   },
   methods: {
     // 琛ㄦ牸璇锋眰
@@ -135,6 +136,7 @@
       }).then(res => {
         this.tableData = res.data.data;
         this.page.total = res.data.total;
+        this.selectList = [];
         this.tableLoading = false;
       })
     },
@@ -196,7 +198,7 @@
           this.lastIndex = newIndex;
         },
         () => {
-          this.selectList = [];
+          this.selectList = [row];
         }
       );
     },

--
Gitblit v1.9.3