mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-10 03:26:45 +08:00
【学平险业务字段需求】 弹窗确认逻辑修改
This commit is contained in:
@@ -207,10 +207,43 @@ export default {
|
||||
if(that.className.trim()==''){
|
||||
that.className="0";
|
||||
};
|
||||
that.getShareImg();
|
||||
that.schoolName="";
|
||||
that.className="";
|
||||
location.reload();
|
||||
return new Promise((resolve, reject) => {
|
||||
this.$toast.loading({
|
||||
duration: 0, // 持续展示 toast
|
||||
forbidClick: true, // 禁用背景点击
|
||||
loadingType: 'spinner',
|
||||
message: '加载中……'
|
||||
})
|
||||
let params = {
|
||||
posterInfoDTO: {
|
||||
posterName: this.posterInfo.posterName
|
||||
},
|
||||
agentMobile: this.userMobile,
|
||||
agentName: this.userName,
|
||||
companyName: this.manageComName || '国富人寿保险股份有限公司',
|
||||
schoolName:this.schoolName,
|
||||
className:this.className
|
||||
|
||||
}
|
||||
shareUrlWithQR(params).then(res => {
|
||||
this.$toast.clear()
|
||||
if (res.result == 0) {
|
||||
this.imgUrl = config.imgDomain + `/returnImageStream?a=b.jpg&imgPath=${res.content.path}`
|
||||
this.imgPath = res.content.path
|
||||
this.isShow = true
|
||||
|
||||
this.schoolName="";
|
||||
this.className="";
|
||||
resolve()
|
||||
location.reload();
|
||||
} else {
|
||||
reject()
|
||||
}
|
||||
})
|
||||
|
||||
});
|
||||
|
||||
|
||||
},
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user