From a9c6ba12e6f96fe316927324f2a038b61bc3a2bc Mon Sep 17 00:00:00 2001 From: RuoYi <yzz_ivy@163.com> Date: 星期五, 25 十二月 2020 09:35:20 +0800 Subject: [PATCH] 代码生成日期控件区分范围 --- ruoyi-ui/src/views/monitor/operlog/index.vue | 15 ++++----------- 1 files changed, 4 insertions(+), 11 deletions(-) diff --git a/ruoyi-ui/src/views/monitor/operlog/index.vue b/ruoyi-ui/src/views/monitor/operlog/index.vue index d8b2ff4..3a44cfc 100644 --- a/ruoyi-ui/src/views/monitor/operlog/index.vue +++ b/ruoyi-ui/src/views/monitor/operlog/index.vue @@ -100,14 +100,7 @@ v-hasPermi="['system:config:export']" >导出</el-button> </el-col> - <div class="top-right-btn"> - <el-tooltip class="item" effect="dark" content="刷新" placement="top"> - <el-button size="mini" circle icon="el-icon-refresh" @click="handleQuery" /> - </el-tooltip> - <el-tooltip class="item" effect="dark" :content="showSearch ? '隐藏搜索' : '显示搜索'" placement="top"> - <el-button size="mini" circle icon="el-icon-search" @click="showSearch=!showSearch" /> - </el-tooltip> - </div> + <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> </el-row> <el-table v-loading="loading" :data="list" @selection-change="handleSelectionChange"> @@ -291,7 +284,7 @@ }).then(() => { this.getList(); this.msgSuccess("删除成功"); - }).catch(function() {}); + }) }, /** 清空按钮操作 */ handleClean() { @@ -304,7 +297,7 @@ }).then(() => { this.getList(); this.msgSuccess("清空成功"); - }).catch(function() {}); + }) }, /** 导出按钮操作 */ handleExport() { @@ -317,7 +310,7 @@ return exportOperlog(queryParams); }).then(response => { this.download(response.msg); - }).catch(function() {}); + }) } } }; -- Gitblit v1.9.2