|
@@ -19,29 +19,7 @@
|
|
|
<view :class="tab == '3' ? 'color' : ''">门店信息</view>
|
|
<view :class="tab == '3' ? 'color' : ''">门店信息</view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="progress-status" v-else>
|
|
|
|
|
- <view v-if="form.status == 0">
|
|
|
|
|
- <view class="status">
|
|
|
|
|
- <image src="/static/login/status1.png" mode="aspectFit"></image>
|
|
|
|
|
- <text>待审核</text>
|
|
|
|
|
- </view>
|
|
|
|
|
- <view>{{form.updateTime }} 提交的店铺信息待审核中</view>
|
|
|
|
|
- </view>
|
|
|
|
|
- <view v-if="form.status == 1">
|
|
|
|
|
- <view class="status">
|
|
|
|
|
- <image src="/static/login/status2.png" mode="aspectFit"></image>
|
|
|
|
|
- <text style="color: #53CC48;">审核通过</text>
|
|
|
|
|
- </view>
|
|
|
|
|
- <view>{{form.updateTime }} 提交的店铺信息审核通过</view>
|
|
|
|
|
- </view>
|
|
|
|
|
- <view v-if="form.status == 2">
|
|
|
|
|
- <view class="status">
|
|
|
|
|
- <image src="/static/login/status3.png" mode="aspectFit"></image>
|
|
|
|
|
- <text>审核驳回</text>
|
|
|
|
|
- </view>
|
|
|
|
|
- <view>驳回原因:{{form.remark }} </view>
|
|
|
|
|
- </view>
|
|
|
|
|
- </view>
|
|
|
|
|
|
|
+ <status v-else :status="form.status" :updateTime="form.updateTime" :remark="form.remark"></status>
|
|
|
<view v-if="tab == 1" class="tab-top">
|
|
<view v-if="tab == 1" class="tab-top">
|
|
|
<form>
|
|
<form>
|
|
|
<!-- <view class="borderRadiu">
|
|
<!-- <view class="borderRadiu">
|
|
@@ -303,10 +281,11 @@ import { watch } from 'vue'
|
|
|
import configService from '../../common/service/config.service'
|
|
import configService from '../../common/service/config.service'
|
|
|
import regionPicker from "../../components/w-picker/region-picker.vue"
|
|
import regionPicker from "../../components/w-picker/region-picker.vue"
|
|
|
// import aMap from "./map.vue"
|
|
// import aMap from "./map.vue"
|
|
|
|
|
+import status from "../store/components/status.vue"
|
|
|
|
|
|
|
|
export default {
|
|
export default {
|
|
|
components: {
|
|
components: {
|
|
|
- regionPicker,
|
|
|
|
|
|
|
+ regionPicker,status
|
|
|
// aMap
|
|
// aMap
|
|
|
},
|
|
},
|
|
|
data() {
|
|
data() {
|
|
@@ -387,7 +366,9 @@ export default {
|
|
|
: []
|
|
: []
|
|
|
this.businessLicenseImg = configService.apiUrl + '/' + obj.businessLicense
|
|
this.businessLicenseImg = configService.apiUrl + '/' + obj.businessLicense
|
|
|
this.identityOneImg = configService.apiUrl + '/' + obj.identityOne
|
|
this.identityOneImg = configService.apiUrl + '/' + obj.identityOne
|
|
|
- this.headPhotoImg=obj.headPhoto? obj.headPhoto.split(',').filter(id => id !== ''):[]
|
|
|
|
|
|
|
+ this.headPhotoImg=obj.headPhoto? obj.headPhoto.split(',').filter(id => id !== ''):[]
|
|
|
|
|
+ obj.headPhoto=obj.headPhoto? obj.headPhoto.split(',').filter(id => id !== ''):[]
|
|
|
|
|
+ this.identityTwoImg=configService.apiUrl + '/' + obj.identityTwo
|
|
|
this.form = obj
|
|
this.form = obj
|
|
|
|
|
|
|
|
}
|
|
}
|
|
@@ -607,7 +588,14 @@ export default {
|
|
|
})
|
|
})
|
|
|
}
|
|
}
|
|
|
else {
|
|
else {
|
|
|
- this.$http.post('/merchant/localMerchantInfo/edit', { ...this.form, source: 2,headPhoto: this.form.headPhoto.join(',') }).then(res => {
|
|
|
|
|
|
|
+ let data= {
|
|
|
|
|
+ ...this.form,
|
|
|
|
|
+ source: 2,
|
|
|
|
|
+ headPhoto: this.form.headPhoto.join(',') ,
|
|
|
|
|
+ longitude: this.markers.length>0?this.markers[0].longitude:'',
|
|
|
|
|
+ latitude: this.markers.length>0?this.markers[0].latitude :''
|
|
|
|
|
+ }
|
|
|
|
|
+ this.$http.post('/merchant/localMerchantInfo/edit',data).then(res => {
|
|
|
if (res.data.success) {
|
|
if (res.data.success) {
|
|
|
this.$tip.success(res.data.result || '成功')
|
|
this.$tip.success(res.data.result || '成功')
|
|
|
uni.navigateBack({
|
|
uni.navigateBack({
|