From c5d46591fef9dd3d1cad6f161436a5a6c96483b0 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期二, 07 九月 2021 13:18:36 +0800 Subject: [PATCH] update 更新 jackson 配置 支持 LocalDateTime 全局格式化 --- ruoyi-ui/src/views/system/post/index.vue | 16 ++-------------- 1 files changed, 2 insertions(+), 14 deletions(-) diff --git a/ruoyi-ui/src/views/system/post/index.vue b/ruoyi-ui/src/views/system/post/index.vue index 2784756..735d616 100644 --- a/ruoyi-ui/src/views/system/post/index.vue +++ b/ruoyi-ui/src/views/system/post/index.vue @@ -160,7 +160,7 @@ </template> <script> -import { listPost, getPost, delPost, addPost, updatePost, exportPost } from "@/api/system/post"; +import { listPost, getPost, delPost, addPost, updatePost } from "@/api/system/post"; export default { name: "Post", @@ -192,7 +192,6 @@ queryParams: { pageNum: 1, pageSize: 10, - reasonable: true, postCode: undefined, postName: undefined, status: undefined @@ -314,18 +313,7 @@ }, /** 瀵煎嚭鎸夐挳鎿嶄綔 */ handleExport() { - const queryParams = this.queryParams; - this.$confirm('鏄惁纭瀵煎嚭鎵�鏈夊矖浣嶆暟鎹」?', "璀﹀憡", { - confirmButtonText: "纭畾", - cancelButtonText: "鍙栨秷", - type: "warning" - }).then(() => { - this.exportLoading = true; - return exportPost(queryParams); - }).then(response => { - this.download(response.msg); - this.exportLoading = false; - }).catch(() => {}); + this.downLoadExcel('/system/post/export', this.queryParams); } } }; -- Gitblit v1.9.3