【学平险业务字段需求】海报都重新生成

This commit is contained in:
dwq
2021-08-09 15:41:58 +08:00
parent 507f776599
commit 99fd767ed4

View File

@@ -145,8 +145,8 @@ export default {
agentMobile: this.userMobile, agentMobile: this.userMobile,
agentName: this.userName, agentName: this.userName,
companyName: this.manageComName || '国富人寿保险股份有限公司', companyName: this.manageComName || '国富人寿保险股份有限公司',
schoolName:this.schoolName, schoolName:localStorage.getItem('schoolName'),
className:this.className className:localStorage.getItem('className')
} }
if (this.posterType == 'product') { if (this.posterType == 'product') {
@@ -176,6 +176,8 @@ export default {
} }
}) })
} }
window.localStorage.removeItem('schoolName')
window.localStorage.removeItem('className')
}) })
}, },
// 获取base64 // 获取base64
@@ -239,9 +241,10 @@ export default {
this.imgUrl = config.imgDomain + `/returnImageStream?a=b.jpg&imgPath=${res.content.path}` this.imgUrl = config.imgDomain + `/returnImageStream?a=b.jpg&imgPath=${res.content.path}`
this.imgPath = res.content.path this.imgPath = res.content.path
this.isShow = true this.isShow = true
window.localStorage.setItem('schoolName', this.schoolName)
this.schoolName=""; window.localStorage.setItem('className', this.className)
this.className=""; this.schoolName="";
this.className="";
resolve() resolve()
location.reload(); location.reload();
} else { } else {