From 30f52f99464eeca6670663c90219edb8f668522e Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: 星期六, 29 六月 2024 16:21:36 +0800
Subject: [PATCH] fix repeat getList

---
 src/views/monitor/job/log.vue |   17 +++++++++--------
 1 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/src/views/monitor/job/log.vue b/src/views/monitor/job/log.vue
index 6ab1c58..b6b3aca 100644
--- a/src/views/monitor/job/log.vue
+++ b/src/views/monitor/job/log.vue
@@ -119,12 +119,7 @@
          </el-table-column>
          <el-table-column label="鎿嶄綔" align="center" class-name="small-padding fixed-width">
             <template #default="scope">
-               <el-button
-                  type="text"
-                  icon="View"
-                  @click="handleView(scope.row)"
-                  v-hasPermi="['monitor:job:query']"
-               >璇︾粏</el-button>
+               <el-button link type="primary" icon="View" @click="handleView(scope.row)" v-hasPermi="['monitor:job:query']">璇︾粏</el-button>
             </template>
          </el-table-column>
       </el-table>
@@ -214,32 +209,38 @@
     loading.value = false;
   });
 }
+
 // 杩斿洖鎸夐挳
 function handleClose() {
   const obj = { path: "/monitor/job" };
   proxy.$tab.closeOpenPage(obj);
 }
+
 /** 鎼滅储鎸夐挳鎿嶄綔 */
 function handleQuery() {
   queryParams.value.pageNum = 1;
   getList();
 }
+
 /** 閲嶇疆鎸夐挳鎿嶄綔 */
 function resetQuery() {
   dateRange.value = [];
   proxy.resetForm("queryRef");
   handleQuery();
 }
+
 // 澶氶�夋閫変腑鏁版嵁
 function handleSelectionChange(selection) {
   ids.value = selection.map(item => item.jobLogId);
   multiple.value = !selection.length;
 }
+
 /** 璇︾粏鎸夐挳鎿嶄綔 */
 function handleView(row) {
   open.value = true;
   form.value = row;
 }
+
 /** 鍒犻櫎鎸夐挳鎿嶄綔 */
 function handleDelete(row) {
   proxy.$modal.confirm('鏄惁纭鍒犻櫎璋冨害鏃ュ織缂栧彿涓�"' + ids.value + '"鐨勬暟鎹」?').then(function () {
@@ -249,6 +250,7 @@
     proxy.$modal.msgSuccess("鍒犻櫎鎴愬姛");
   }).catch(() => {});
 }
+
 /** 娓呯┖鎸夐挳鎿嶄綔 */
 function handleClean() {
   proxy.$modal.confirm("鏄惁纭娓呯┖鎵�鏈夎皟搴︽棩蹇楁暟鎹」?").then(function () {
@@ -258,6 +260,7 @@
     proxy.$modal.msgSuccess("娓呯┖鎴愬姛");
   }).catch(() => {});
 }
+
 /** 瀵煎嚭鎸夐挳鎿嶄綔 */
 function handleExport() {
   proxy.download("monitor/jobLog/export", {
@@ -277,6 +280,4 @@
     getList();
   }
 })();
-
-getList();
 </script>

--
Gitblit v1.9.3