mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-23 06:26:44 +08:00
fix(ebiz/sale): 修改投保资料按钮显示条件并优化初始化逻辑
This commit is contained in:
@@ -88,7 +88,7 @@
|
||||
</div>
|
||||
|
||||
<div class="text-right mt15 ">
|
||||
<van-button round @click="goInsuredInform(order)" size="small" v-if="buttonShow == '14'"
|
||||
<van-button round @click="goInsuredInform(order)" size="small" v-if="branchType == '14'"
|
||||
:disabled="order.emailStatus == 'disable'" class="mr5" type="danger" v-no-more-click="1000">
|
||||
获取投保资料
|
||||
</van-button>
|
||||
@@ -293,20 +293,14 @@ export default {
|
||||
emailForm: { email: '' },
|
||||
inputShow: true,
|
||||
contentShow: false,
|
||||
buttonShow: '',
|
||||
emailContent: '系统将会将投保资料发送至您录入邮箱,解压密码为投保人身份证号的后六位,请您稍后进行查看',
|
||||
}
|
||||
},
|
||||
async created() {
|
||||
created() {
|
||||
if(this.$CacheUtils.getLocItem('branchType')) {
|
||||
this.branchType = this.$CacheUtils.getLocItem('branchType')
|
||||
if (this.branchType === '14') {
|
||||
this.buttonShow = this.branchType
|
||||
}
|
||||
}else{
|
||||
this.getAgentInfo()
|
||||
|
||||
await this.getAgentInfo()
|
||||
this.getAgentInfo()
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
|
||||
Reference in New Issue
Block a user