|
@@ -1,6 +1,6 @@
|
1
|
1
|
<template>
|
2
|
2
|
<div class="Page">
|
3
|
|
- <MainPageContainer @ShopInfoChange="ShopInfoChange" :ShowMainHeader="true" :MainHeaderTitle="`店铺认证`" :ShowMainHeaderBack="true" :ShowMainHeaderMore="true" :MainHeaderMoreIcon="`iconbaocun`" :MainHeaderMoreText="`保存`" :MainHeaderMoreClick="SaveForm">
|
|
3
|
+ <MainPageContainer @ShopInfoChange="ShopInfoChange" :ShowMainHeader="true" :MainHeaderTitle="`店铺认证`" :ShowMainHeaderBack="true" :ShowMainHeaderMore="true">
|
4
|
4
|
<div class="Container">
|
5
|
5
|
<div class="Content">
|
6
|
6
|
|
|
@@ -113,6 +113,9 @@
|
113
|
113
|
<i class="iconfont iconjiantouright"></i>
|
114
|
114
|
</router-link> -->
|
115
|
115
|
</div>
|
|
116
|
+ <div class="Btn">
|
|
117
|
+ <a @click="SaveForm" :class="{'active': !DataLock}">{{DataLock ? '正在提交...' : '保存'}}</a>
|
|
118
|
+ </div>
|
116
|
119
|
|
117
|
120
|
</div>
|
118
|
121
|
<div class="MapContainer" v-show="ShowAreaSelect">
|
|
@@ -258,8 +261,12 @@ export default {
|
258
|
261
|
}
|
259
|
262
|
this.ShopValid({ data: { ...Data } }).then((res) => {
|
260
|
263
|
this.Toast('认证提交成功')
|
261
|
|
- this.GetCurrentShopInfo()
|
262
|
|
- this.DataLock = false
|
|
264
|
+ this.GetCurrentShopInfo().then(() => {
|
|
265
|
+ this.DataLock = false
|
|
266
|
+ this.$router.go(-1)
|
|
267
|
+ }).catch(() => {
|
|
268
|
+ this.DataLock = false
|
|
269
|
+ })
|
263
|
270
|
}).catch((res) => {
|
264
|
271
|
this.Toast(res.data.message)
|
265
|
272
|
this.DataLock = false
|