mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-10 18:36:43 +08:00
【GFRS-3645】已阅读单选按钮在签名完成之后设置默认选中状态并增加接口请求的loading
This commit is contained in:
@@ -55,12 +55,19 @@
|
|||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
document.body.style.backgroundColor = '#fff'
|
document.body.style.backgroundColor = '#fff'
|
||||||
|
this.$toast.loading({
|
||||||
|
duration: 0, // 持续展示 toast
|
||||||
|
forbidClick: true, // 禁用背景点击
|
||||||
|
loadingType: 'spinner',
|
||||||
|
message: '加载中……'
|
||||||
|
})
|
||||||
let dataParams = {
|
let dataParams = {
|
||||||
idType:'0',
|
idType:'0',
|
||||||
idNo:this.$store.getters.getYBidNo,
|
idNo:this.$store.getters.getYBidNo,
|
||||||
name:this.$store.getters.getYBname
|
name:this.$store.getters.getYBname
|
||||||
}
|
}
|
||||||
generateAgreementYB(dataParams).then(res=>{
|
generateAgreementYB(dataParams).then(res=>{
|
||||||
|
this.$toast.clear()
|
||||||
if(res.result == 0){
|
if(res.result == 0){
|
||||||
this.pdfUrl = config.assetsUpUrl + res.content.rgssUrl
|
this.pdfUrl = config.assetsUpUrl + res.content.rgssUrl
|
||||||
let signInfo = JSON.parse(localStorage.getItem('signInfo'))
|
let signInfo = JSON.parse(localStorage.getItem('signInfo'))
|
||||||
@@ -69,6 +76,7 @@
|
|||||||
if (signInfo && signInfo.status == '0') {
|
if (signInfo && signInfo.status == '0') {
|
||||||
if(wxSigned){
|
if(wxSigned){
|
||||||
this.$set(this.signInfo, 'status', '2')
|
this.$set(this.signInfo, 'status', '2')
|
||||||
|
this.radio = '1'
|
||||||
if(twoimgBase64Data){
|
if(twoimgBase64Data){
|
||||||
this.base64 = twoimgBase64Data
|
this.base64 = twoimgBase64Data
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user