From ff3d23e5d47afd763ec96c747430e2a779f24e21 Mon Sep 17 00:00:00 2001 From: wangyan <3594713855@qq.com> Date: Mon, 26 Aug 2024 17:52:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/douyin/after_sale/index.vue | 14 ++++++-- .../douyin/quick_intercept_service/index.vue | 32 +++++++++++++------ 2 files changed, 33 insertions(+), 13 deletions(-) diff --git a/src/views/douyin/after_sale/index.vue b/src/views/douyin/after_sale/index.vue index 70670f4..269f3f4 100644 --- a/src/views/douyin/after_sale/index.vue +++ b/src/views/douyin/after_sale/index.vue @@ -39,7 +39,7 @@ append-to-body > 确 定 取 消 @@ -478,13 +478,21 @@ export default { this.upload2.open = false; this.upload2.isUploading = false; this.$refs.upload2.clearFiles(); - this.$alert(response.msg, "导入结果", { dangerouslyUseHTMLString: true }); + this.$notify({ + title: "导入成功", + type: "success", + duration: 2500 + }); + this.init(); }, // 提交上传文件 submitFileForm() { this.$refs.upload.submit(); }, + submitFileForm2() { + this.$refs.upload2.submit(); + }, toQuery0() { this.page = 0; this.url = "/api/douyinAfterSales/specQuery"; diff --git a/src/views/douyin/quick_intercept_service/index.vue b/src/views/douyin/quick_intercept_service/index.vue index 4bf9daf..dc24342 100644 --- a/src/views/douyin/quick_intercept_service/index.vue +++ b/src/views/douyin/quick_intercept_service/index.vue @@ -76,7 +76,7 @@ - + + + - - + + + + + + @@ -319,12 +336,7 @@ export default { this.url = "api/quickInterceptService"; const sort = "id,desc"; this.params = { page: this.page, size: this.size, sort: sort }; - const query = this.query; - const type = query.type; - const value = query.value; - if (type && value) { - this.params[type] = value; - } + Object.assign(this.params, this.query); return true; }, subDelete(id) {