【GFRS-3645】已阅读单选按钮在签名完成之后设置默认选中状态并增加接口请求的loading

This commit is contained in:
liu.xiaofeng@ebiz-digits.com
2023-08-10 18:11:11 +08:00
parent f44a8efe50
commit f3502485fb

View File

@@ -55,12 +55,19 @@
},
mounted() {
document.body.style.backgroundColor = '#fff'
this.$toast.loading({
duration: 0, // 持续展示 toast
forbidClick: true, // 禁用背景点击
loadingType: 'spinner',
message: '加载中……'
})
let dataParams = {
idType:'0',
idNo:this.$store.getters.getYBidNo,
name:this.$store.getters.getYBname
}
generateAgreementYB(dataParams).then(res=>{
this.$toast.clear()
if(res.result == 0){
this.pdfUrl = config.assetsUpUrl + res.content.rgssUrl
let signInfo = JSON.parse(localStorage.getItem('signInfo'))
@@ -69,6 +76,7 @@
if (signInfo && signInfo.status == '0') {
if(wxSigned){
this.$set(this.signInfo, 'status', '2')
this.radio = '1'
if(twoimgBase64Data){
this.base64 = twoimgBase64Data
}