|
|
@@ -20,9 +20,12 @@
|
|
|
v-if="userInfo.role_name === 'administrator'"
|
|
|
:disabled="$isEmpty(this.merchantNo)">产品费率
|
|
|
</el-button>
|
|
|
- <el-button size="small" plain icon="el-icon-chat-dot-round" :disabled="$isEmpty(this.merchantNo)">公众号配置
|
|
|
+ <el-button size="small" plain icon="el-icon-chat-dot-round"
|
|
|
+ @click.stop="handleWechatConfig('公众号配置')" :disabled="$isEmpty(this.merchantNo)">公众号配置
|
|
|
+ </el-button>
|
|
|
+ <el-button size="small" plain icon="el-icon-s-check"
|
|
|
+ @click.stop="openDialog('易宝商户授权')" :disabled="$isEmpty(this.merchantNo)">易宝商户授权
|
|
|
</el-button>
|
|
|
- <el-button size="small" plain icon="el-icon-s-check" :disabled="$isEmpty(this.merchantNo)">易宝商户授权</el-button>
|
|
|
</el-col>
|
|
|
<el-col :span="12">
|
|
|
<avue-form :option="merchant.accountInfo.option" v-model="merchant.accountInfo.mallData">
|
|
|
@@ -79,14 +82,16 @@
|
|
|
<script>
|
|
|
import {mapGetters} from "vuex";
|
|
|
import {getDetail, getMerchantInfo} from "@/api/ldt_shop/shop";
|
|
|
-import shopBills from "./shop-bills.vue"
|
|
|
-import shopJoinrecord from "./shop-joinrecord.vue"
|
|
|
-import shopWithdrawrec from "./shop-withdrawrec.vue"
|
|
|
-import shopProductFee from "./shop-product-fee"
|
|
|
-import shopMember from "./shop-member";
|
|
|
+import shopBills from "./comps/shop-bills.vue"
|
|
|
+import shopJoinrecord from "./comps/shop-joinrecord.vue"
|
|
|
+import shopWithdrawrec from "./comps/shop-withdrawrec.vue"
|
|
|
+import shopProductFee from "./comps/shop-product-fee.vue"
|
|
|
+import shopMember from "./comps/shop-member.vue";
|
|
|
+import ShopWechatConfig from "./comps/shop-wechat-config.vue";
|
|
|
|
|
|
export default {
|
|
|
components: {
|
|
|
+ ShopWechatConfig,
|
|
|
shopMember, shopBills, shopJoinrecord, shopWithdrawrec, shopProductFee
|
|
|
},
|
|
|
data() {
|
|
|
@@ -399,6 +404,9 @@ export default {
|
|
|
}
|
|
|
this.canReset = true
|
|
|
},
|
|
|
+ handleWechatConfig() {
|
|
|
+ this.$router.push(`/work/process/shopInfo/handleWechatConfig/handle/${this.merchantNo}`);
|
|
|
+ },
|
|
|
getAccountInfo() {
|
|
|
getMerchantInfo(this.businessId).then(res => {
|
|
|
this.merchant.accountInfo.yeePayData = res.data.data.yeePayInfo;
|
|
|
@@ -411,6 +419,9 @@ export default {
|
|
|
this.shopFrom = res.data.data;
|
|
|
});
|
|
|
},
|
|
|
+ refreshChange() {
|
|
|
+ this.onLoad(this.page, this.query);
|
|
|
+ },
|
|
|
changeAccountType(res) {
|
|
|
switch (res) {
|
|
|
case 'SETTLE_ACCOUNT':
|