From 77e7d095a71f1c8d58865014aaa72d9ce73674ca Mon Sep 17 00:00:00 2001 From: 15386982806 Date: Fri, 5 Jan 2024 15:10:48 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=90=E8=B4=B9=E6=A8=A1=E6=9D=BF=20?= =?UTF-8?q?=E5=93=81=E7=89=8C=20=E8=AE=A1=E9=87=8F=E5=8D=95=E4=BD=8D=20?= =?UTF-8?q?=E6=94=AF=E6=8C=81=E5=88=B7=E6=96=B0=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manager/src/views/goods-unit/index.vue | 10 ++++++++++ manager/src/views/goods/goods-manage/brand.vue | 10 ++++++++++ seller/src/views/goods/goods-manage/category.vue | 7 ++++++- seller/src/views/shop/ship/shipTemplate.vue | 1 + 4 files changed, 27 insertions(+), 1 deletion(-) diff --git a/manager/src/views/goods-unit/index.vue b/manager/src/views/goods-unit/index.vue index b55c1245..908ee077 100644 --- a/manager/src/views/goods-unit/index.vue +++ b/manager/src/views/goods-unit/index.vue @@ -3,6 +3,7 @@ + { + this.getDataList(); + this.loading = false; + this.$Message.success("刷新成功"); + }, 500); + }, // 全部删除 delAll() { if (this.selectCount <= 0) { diff --git a/manager/src/views/goods/goods-manage/brand.vue b/manager/src/views/goods/goods-manage/brand.vue index 26e792af..3f17a3db 100644 --- a/manager/src/views/goods/goods-manage/brand.vue +++ b/manager/src/views/goods/goods-manage/brand.vue @@ -10,6 +10,7 @@ +
@@ -314,6 +315,15 @@ export default { delete this.form.id; this.modalVisible = true; }, + // 刷新 + refresh() { + this.loading = true; + setTimeout(() => { + this.getDataList(); + this.loading = false; + this.$Message.success("刷新成功"); + }, 500); + }, // 编辑 edit(v) { this.modalType = 1; diff --git a/seller/src/views/goods/goods-manage/category.vue b/seller/src/views/goods/goods-manage/category.vue index 9aaf7db0..62c3699b 100644 --- a/seller/src/views/goods/goods-manage/category.vue +++ b/seller/src/views/goods/goods-manage/category.vue @@ -140,8 +140,10 @@ export default { this.loading = true; let that = this; setTimeout(function () { + that.init(); + that.$Message.success("刷新成功"); that.loading = false; - }, 1000); + }, 500); }, //添加子分类 addChildren(v) { @@ -261,4 +263,7 @@ export default { min-height: 100vh; height: auto; } +.operation { + margin-bottom: 10px; +} diff --git a/seller/src/views/shop/ship/shipTemplate.vue b/seller/src/views/shop/ship/shipTemplate.vue index 4ea41ea7..ff6f556d 100644 --- a/seller/src/views/shop/ship/shipTemplate.vue +++ b/seller/src/views/shop/ship/shipTemplate.vue @@ -294,6 +294,7 @@ export default { this.operation = "INFO"; this.currentTab = "INFO"; this.getData(); + this.$Message.success("刷新成功"); }, //运费模板数据 getData() {