From bc630b555653be1cb6eff37ab2da18cd31e8ef81 Mon Sep 17 00:00:00 2001
From: ZZJ <zzjdsg2300@163.com>
Date: 星期一, 13 十二月 2021 10:44:12 +0800
Subject: [PATCH] 配置页
---
src/pages/syslog/views/systemLog.vue | 23 ++++++++++++++++++++++-
1 files changed, 22 insertions(+), 1 deletions(-)
diff --git a/src/pages/syslog/views/systemLog.vue b/src/pages/syslog/views/systemLog.vue
index 3c1abcd..5a52519 100644
--- a/src/pages/syslog/views/systemLog.vue
+++ b/src/pages/syslog/views/systemLog.vue
@@ -23,14 +23,25 @@
v-model="fuzzySearch"
size="small"
class="input-with-select"
+ @keyup.enter.native="getOperationLog(1)"
>
<span
- class="icon iconfont"
+ class="icon iconfont icon_clear"
+ @click="clearSearch"
+ slot="append"
+ v-if="fuzzySearch"
+ >
+ 
+ </span>
+ <span
+ class="icon iconfont icon_search"
@click="getOperationLog(1)"
slot="append"
+ v-else
>

</span>
+
<!-- <el-button
slot="append"
icon="el-icon-search"
@@ -272,6 +283,10 @@
this.timeStart = this.getTimeStr(preDay);
this.timeEnd = this.getTimeStr(date);
},
+ clearSearch() {
+ this.fuzzySearch = "";
+ this.getOperationLog(1);
+ },
},
};
</script>
@@ -424,6 +439,12 @@
}
tr {
+ td:first-child {
+ border-radius: 4px 0 0 4px;
+ }
+ td:last-child {
+ border-radius: 0 4px 4px 0;
+ }
&.current-row td {
background-color: #4e94ff !important;
color: #fff;
--
Gitblit v1.8.0