Commit 0d4818e7 authored by Mac's avatar Mac

一键订阅

parent 9c9acb56
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
</style> </style>
<template> <template>
<div class="weixinappmsg"> <div class="weixinappmsg">
<!--<el-button class="weixinTopBtn" type="primary" size="small">一键添加订阅信息</el-button>--> <el-button class="weixinTopBtn" type="primary" size="small" @click="getMiniAdd">一键添加订阅信息</el-button>
<div class="wexin_Header"> <div class="wexin_Header">
<el-tabs v-model="activeName" @tab-click="handleClick"> <el-tabs v-model="activeName" @tab-click="handleClick">
<el-tab-pane label="商城订阅信息" name="1"></el-tab-pane> <el-tab-pane label="商城订阅信息" name="1"></el-tab-pane>
...@@ -200,6 +200,16 @@ ...@@ -200,6 +200,16 @@
} }
}) })
}, },
getMiniAdd(){
this.apipost("/api/Tenant/GetMiniAddTemplent", {}, res => {
if (res.data.resultCode == 1) {
this.Success(res.data.message)
this.GetWeiXinAppConfig()
} else {
this.Info(res.data.message);
}
})
},
//切换 //切换
handleClick(tab){ handleClick(tab){
this.checkIndex = tab.name; this.checkIndex = tab.name;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment