Fix:5955 【商城小程序】特产供应商/文玩供应商/特色店铺,入驻申请被驳回后页面不显示驳回原因 。

This commit is contained in:
linxi
2026-09-04 14:38:55 +08:00
parent 88147f3783
commit 61cecbe8e5
2 changed files with 30 additions and 34 deletions
+15 -17
View File
@@ -6,7 +6,7 @@
labelWidth="216rpx" labelWidth="216rpx"
> >
<view <view
v-if="stateTitle && isDraft !== 1" v-if="stateTitle"
class="box-state" class="box-state"
> >
<u-alert <u-alert
@@ -744,22 +744,20 @@ export default {
this.show = true this.show = true
} }
} }
if (data.isDraft !== 1) { switch (data.reviewStatus) {
switch (data.reviewStatus) { case 0:
case 0: this.stateTitle = '审核中'
this.stateTitle = '审核中' this.stateType = 'primary'
this.stateType = 'primary' this.reviewing = true
this.reviewing = true break
break case 1:
case 1: this.reviewing = false
this.reviewing = false break
break case 2:
case 2: this.stateTitle = '审核驳回:' + data.reviewMsg
this.stateTitle = '审核驳回:' + data.reviewMsg this.stateType = 'error'
this.stateType = 'error' this.reviewing = false
this.reviewing = false break
break
}
} }
if (data.hotelInfo) { if (data.hotelInfo) {
// 店铺图片 // 店铺图片
+15 -17
View File
@@ -7,7 +7,7 @@
labelWidth="216rpx" labelWidth="216rpx"
> >
<view <view
v-if="stateTitle && isDraft !== 1" v-if="stateTitle"
class="box-state" class="box-state"
> >
<u-alert <u-alert
@@ -921,22 +921,20 @@ export default {
if(data.isDraft === null || data.isDraft === 1) { if(data.isDraft === null || data.isDraft === 1) {
this.show = true this.show = true
} }
if (data.isDraft !== 1) { switch (data.reviewStatus) {
switch (data.reviewStatus) { case 0:
case 0: this.stateTitle = '审核中'
this.stateTitle = '审核中' this.stateType = 'primary'
this.stateType = 'primary' this.reviewing = true
this.reviewing = true break
break case 1:
case 1: this.reviewing = false
this.reviewing = false break
break case 2:
case 2: this.stateTitle = '审核驳回:' + data.reviewMsg
this.stateTitle = '审核驳回:' + data.reviewMsg this.stateType = 'error'
this.stateType = 'error' this.reviewing = false
this.reviewing = false break
break
}
} }
if (data.hotelInfo) { if (data.hotelInfo) {
// 店铺图片 // 店铺图片