|
|
@@ -19,11 +19,14 @@
|
|
|
@click="handleReportSelect" cancelText="取消" :mask-close-able="false" :safe-area-inset-bottom="true" />
|
|
|
|
|
|
<common-dialog ref="reviewDialog" title="温馨提示" @confirm="confirmReview">
|
|
|
- <text>对复审结果有疑问,申请复审?</text>
|
|
|
+ <text>对审核结果有疑问,申请复审?</text>
|
|
|
</common-dialog>
|
|
|
<common-dialog ref="processDialog" title="温馨提示" @confirm="handleSuccess">
|
|
|
<text>{{ reviewMsg }}</text>
|
|
|
</common-dialog>
|
|
|
+ <common-dialog ref="errorDialog" title="温馨提示" :showCancel="false">
|
|
|
+ <text>{{ errorMsg }}</text>
|
|
|
+ </common-dialog>
|
|
|
</view>
|
|
|
</template>
|
|
|
|
|
|
@@ -70,7 +73,8 @@ export default {
|
|
|
pageSize: 10,
|
|
|
hasMore: true,
|
|
|
params: {},
|
|
|
- reviewMsg: ""
|
|
|
+ reviewMsg: "",
|
|
|
+ errorMsg: ""
|
|
|
}
|
|
|
},
|
|
|
onLoad(options) {
|
|
|
@@ -106,8 +110,11 @@ export default {
|
|
|
if (res.code == 200) {
|
|
|
this.reviewMsg = res.data || '申请复审成功'
|
|
|
this.$refs.processDialog.openPopup()
|
|
|
+ } else if (res.code == 1001 || res.code == 1002) {
|
|
|
+ this.$refs.errorDialog.openPopup()
|
|
|
+ this.errorMsg = res.msg || '您的订单已下架或出库,无法为您提供复审服务,给您带来的不便深感抱歉'
|
|
|
} else {
|
|
|
- this.reviewMsg = res.data || '申请复审失败'
|
|
|
+ this.errorMsg = res.data || '申请复审失败'
|
|
|
}
|
|
|
})
|
|
|
},
|