更新了审批

This commit is contained in:
weipengfei 2023-09-19 16:42:57 +08:00
parent 02aadd9daf
commit 9f8402f14e
3 changed files with 11 additions and 7 deletions

View File

@ -24,15 +24,15 @@
</view> </view>
<view class="b_item"> <view class="b_item">
<view>商户分类:</view> <view>商户分类:</view>
<view>{{datas.category_name}}</view> <view>{{extend.category_name}}</view>
</view> </view>
<view class="b_item"> <view class="b_item">
<view>店铺类型:</view> <view>店铺类型:</view>
<view>{{datas.type_name}}</view> <view>{{extend.type_name}}</view>
</view> </view>
<view class="b_item"> <view class="b_item">
<view>店铺名称:</view> <view>店铺名称:</view>
<view>{{datas.mer_name}}</view> <view>{{extend.mer_name}}</view>
</view> </view>
<view class="b_item"> <view class="b_item">
<view>联系方式:</view> <view>联系方式:</view>
@ -70,6 +70,7 @@
try{ try{
this.extend = this.$props.datas?.extend; this.extend = this.$props.datas?.extend;
this.extend.qualification?this.extend.qualification=JSON.parse(this.extend.qualification):this.extend.qualification=[]; this.extend.qualification?this.extend.qualification=JSON.parse(this.extend.qualification):this.extend.qualification=[];
this.extend.qualification = this.extend.qualification.slice(0,3);
}catch(e){ }catch(e){
//TODO handle the exception //TODO handle the exception
} }

View File

@ -76,6 +76,7 @@
name: item.title name: item.title
}) })
}) })
this.check_status = this.typeTabLists[0].id;
this.$nextTick(()=>{ this.$nextTick(()=>{
this.initList(); this.initList();
}) })

View File

@ -22,15 +22,15 @@
</view> </view>
<view class="b_item"> <view class="b_item">
<view>商户分类:</view> <view>商户分类:</view>
<view>{{formData.category_name}}</view> <view>{{extend.category_name}}</view>
</view> </view>
<view class="b_item"> <view class="b_item">
<view>店铺类型:</view> <view>店铺类型:</view>
<view>{{formData.type_name}}</view> <view>{{extend.type_name}}</view>
</view> </view>
<view class="b_item"> <view class="b_item">
<view>店铺名称:</view> <view>店铺名称:</view>
<view>{{formData.mer_name}}</view> <view>{{extend.mer_name}}</view>
</view> </view>
<view class="b_item"> <view class="b_item">
<view>申请时间:</view> <view>申请时间:</view>
@ -78,7 +78,7 @@
</view> </view>
</view> </view>
</view> </view>
<block v-if="formData.check_status!=2&&formData.check_status!=3&&true"> <block v-if="formData.check_status!=2&&formData.check_status!=3&&formData.check_status">
<button class="btn" @click="tipShow = true">通过</button> <button class="btn" @click="tipShow = true">通过</button>
<button class="btn" @click="modalShow = true" style="background-color: #fff;color: #0122c7;">拒绝</button> <button class="btn" @click="modalShow = true" style="background-color: #fff;color: #0122c7;">拒绝</button>
</block> </block>
@ -169,6 +169,7 @@
this.tipShow = false; this.tipShow = false;
this.$nextTick(() => { this.$nextTick(() => {
Toast('已通过'); Toast('已通过');
this.initData();
}) })
}, },
async noPass() { async noPass() {
@ -181,6 +182,7 @@
this.modalShow = false; this.modalShow = false;
this.$nextTick(() => { this.$nextTick(() => {
Toast('已拒绝'); Toast('已拒绝');
this.initData();
}) })
}, },
priview(url) { priview(url) {