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