From 816479e0927bc7d16637ce63394917c0f0e02a82 Mon Sep 17 00:00:00 2001 From: RuoYi Date: Thu, 15 Jul 2021 17:36:14 +0800 Subject: [PATCH 01/15] =?UTF-8?q?=E5=AE=9A=E6=97=B6=E4=BB=BB=E5=8A=A1?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=9B=B4=E5=A4=9A=E6=93=8D=E4=BD=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/views/monitor/job/index.vue | 50 +++++++++++++++++++----- ruoyi-ui/src/views/monitor/job/log.vue | 26 +++++++++++- 2 files changed, 65 insertions(+), 11 deletions(-) diff --git a/ruoyi-ui/src/views/monitor/job/index.vue b/ruoyi-ui/src/views/monitor/job/index.vue index 424286af..81e64c60 100644 --- a/ruoyi-ui/src/views/monitor/job/index.vue +++ b/ruoyi-ui/src/views/monitor/job/index.vue @@ -114,17 +114,30 @@ 执行一次 + icon="el-icon-edit" + @click="handleUpdate(scope.row)" + v-hasPermi="['monitor:job:edit']" + >修改 详细 + icon="el-icon-delete" + @click="handleDelete(scope.row)" + v-hasPermi="['monitor:job:remove']" + >删除 + + + 更多 + + + 执行一次 + 任务详细 + 调度日志 + + @@ -382,6 +395,22 @@ export default { this.single = selection.length != 1; this.multiple = !selection.length; }, + // 更多操作触发 + handleCommand(command, row) { + switch (command) { + case "handleRun": + this.handleRun(row); + break; + case "handleView": + this.handleView(row); + break; + case "handleJobLog": + this.handleJobLog(row); + break; + default: + break; + } + }, // 任务状态修改 handleStatusChange(row) { let text = row.status === "0" ? "启用" : "停用"; @@ -417,8 +446,9 @@ export default { }); }, /** 任务日志列表查询 */ - handleJobLog() { - this.$router.push("/job/log"); + handleJobLog(row) { + const jobId = row.jobId || 0; + this.$router.push({ path: '/job/log', query: { jobId: jobId } }) }, /** 新增按钮操作 */ handleAdd() { diff --git a/ruoyi-ui/src/views/monitor/job/log.vue b/ruoyi-ui/src/views/monitor/job/log.vue index 7c582eb6..53d75219 100644 --- a/ruoyi-ui/src/views/monitor/job/log.vue +++ b/ruoyi-ui/src/views/monitor/job/log.vue @@ -93,6 +93,15 @@ v-hasPermi="['monitor:job:export']" >导出 + + 关闭 + @@ -167,6 +176,7 @@ From e288710251b65ad2f587ba5c2f7b2880691a0c98 Mon Sep 17 00:00:00 2001 From: RuoYi Date: Mon, 26 Jul 2021 10:06:08 +0800 Subject: [PATCH 09/15] =?UTF-8?q?=E5=AF=BC=E5=85=A5=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/views/system/user/index.vue | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/ruoyi-ui/src/views/system/user/index.vue b/ruoyi-ui/src/views/system/user/index.vue index cb7cff9a..46b3b4bd 100644 --- a/ruoyi-ui/src/views/system/user/index.vue +++ b/ruoyi-ui/src/views/system/user/index.vue @@ -327,15 +327,14 @@ drag > -
- 将文件拖到此处,或 - 点击上传 +
将文件拖到此处,或点击上传
+
+
+ 是否更新已经存在的用户数据 +
+ 仅允许导入xls、xlsx格式文件。 + 下载模板
-
- 是否更新已经存在的用户数据 - 下载模板 -
-
提示:仅允许导入“xls”或“xlsx”格式文件!