From 8af5ea6f459b4e7856bcef5b5330dd845fc9fbaa Mon Sep 17 00:00:00 2001 From: yanran200730 Date: Fri, 9 Jun 2023 14:50:08 +0800 Subject: [PATCH] bug --- .../apps/AppSystemAccountOms/AppSystemAccountOms.vue | 1 + project/oms/apps/AppWechatConfig/components/List.vue | 12 +++++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/project/oms/apps/AppSystemAccountOms/AppSystemAccountOms.vue b/project/oms/apps/AppSystemAccountOms/AppSystemAccountOms.vue index e8fce718..df8be697 100644 --- a/project/oms/apps/AppSystemAccountOms/AppSystemAccountOms.vue +++ b/project/oms/apps/AppSystemAccountOms/AppSystemAccountOms.vue @@ -187,6 +187,7 @@ export default { ...this.form }).then(res => { if (res.code == 0) { + this.getTableData() this.$message.success('提交成功!') this.isShow = false diff --git a/project/oms/apps/AppWechatConfig/components/List.vue b/project/oms/apps/AppWechatConfig/components/List.vue index 892dc591..16989c2b 100644 --- a/project/oms/apps/AppWechatConfig/components/List.vue +++ b/project/oms/apps/AppWechatConfig/components/List.vue @@ -28,11 +28,12 @@ :current.sync="search.current" :size.sync="search.size" @getList="getList"> - + @@ -138,6 +139,15 @@ }) }, + sync (id) { + this.instance.post(`/api/wxmppublisheradposgeneral/sync?appid=${id}`).then(res => { + if (res.code == 0) { + this.getList() + this.$message.success('数据同步成功') + } + }) + }, + toEdit (e) { this.id = e.id this.form.notes = e.notes