From 80784433b8506f58463fc1f4a438c053b61b299e Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期四, 02 九月 2021 15:59:42 +0800 Subject: [PATCH] remove 移除分页合理化参数 使用 MP 全局配置分页溢出 --- ruoyi-ui/src/views/monitor/job/index.vue | 16 ++-------------- 1 files changed, 2 insertions(+), 14 deletions(-) diff --git a/ruoyi-ui/src/views/monitor/job/index.vue b/ruoyi-ui/src/views/monitor/job/index.vue index c421097..6256804 100644 --- a/ruoyi-ui/src/views/monitor/job/index.vue +++ b/ruoyi-ui/src/views/monitor/job/index.vue @@ -284,7 +284,7 @@ </template> <script> -import { listJob, getJob, delJob, addJob, updateJob, exportJob, runJob, changeJobStatus } from "@/api/monitor/job"; +import { listJob, getJob, delJob, addJob, updateJob, runJob, changeJobStatus } from "@/api/monitor/job"; export default { name: "Job", @@ -320,7 +320,6 @@ queryParams: { pageNum: 1, pageSize: 10, - reasonable: true, jobName: undefined, jobGroup: undefined, status: undefined @@ -506,18 +505,7 @@ }, /** 瀵煎嚭鎸夐挳鎿嶄綔 */ handleExport() { - const queryParams = this.queryParams; - this.$confirm("鏄惁纭瀵煎嚭鎵�鏈夊畾鏃朵换鍔℃暟鎹」?", "璀﹀憡", { - confirmButtonText: "纭畾", - cancelButtonText: "鍙栨秷", - type: "warning" - }).then(() => { - this.exportLoading = true; - return exportJob(queryParams); - }).then(response => { - this.download(response.msg); - this.exportLoading = false; - }).catch(() => {}); + this.downLoadExcel('/monitor/job/export', this.queryParams); } } }; -- Gitblit v1.9.3