mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-09 02:56:43 +08:00
【GFRS-3645】已阅读单选按钮在签名完成之后设置默认选中状态并增加接口请求的loading
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user