From 3c4b01ab839d9bfc87cd40828a49d5cc5ae4b153 Mon Sep 17 00:00:00 2001 From: DokiYoloo <857815116@qq.com> Date: 星期一, 21 十二月 2020 19:43:57 +0800 Subject: [PATCH] 权限工具类增加admin判断 --- ruoyi-ui/src/views/monitor/job/log.vue | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ruoyi-ui/src/views/monitor/job/log.vue b/ruoyi-ui/src/views/monitor/job/log.vue index ab15965..4be2398 100644 --- a/ruoyi-ui/src/views/monitor/job/log.vue +++ b/ruoyi-ui/src/views/monitor/job/log.vue @@ -90,7 +90,7 @@ v-hasPermi="['monitor:job:export']" >导出</el-button> </el-col> - <table-tools-ext :showSearch.sync="showSearch" @queryTable="getList"></table-tools-ext> + <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> </el-row> <el-table v-loading="loading" :data="jobLogList" @selection-change="handleSelectionChange"> @@ -263,7 +263,7 @@ }).then(() => { this.getList(); this.msgSuccess("删除成功"); - }).catch(function() {}); + }) }, /** 清空按钮操作 */ handleClean() { @@ -276,7 +276,7 @@ }).then(() => { this.getList(); this.msgSuccess("清空成功"); - }).catch(function() {}); + }) }, /** 导出按钮操作 */ handleExport() { @@ -289,7 +289,7 @@ return exportJobLog(queryParams); }).then(response => { this.download(response.msg); - }).catch(function() {}); + }) } } }; -- Gitblit v1.9.2