mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-12 00:56:43 +08:00
【GFRS-3645】签字页面初始化时获取本地缓存信息
This commit is contained in:
@@ -49,6 +49,12 @@
|
|||||||
},
|
},
|
||||||
created(){
|
created(){
|
||||||
this.timeOut()
|
this.timeOut()
|
||||||
|
let signInfo = JSON.parse(localStorage.getItem('signInfo'))
|
||||||
|
if (signInfo && signInfo.status == '0') {
|
||||||
|
this.isDisabledComplite = false
|
||||||
|
}else{
|
||||||
|
this.isDisabledComplite = true
|
||||||
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
let thispolicyUrl = "Ra4LpmZv2h6FrwZPS48QIETiI2AcWWLx6RavVjoAkoMO3QJwd%2BpYNd%2BhiCehCCFibahgDp%2FtP6UD%0A6vy8eKAAs4hhrh0dSyUouHrBpcu%2FGM6VGLphInLPv0HGtHpZ3OhD"
|
let thispolicyUrl = "Ra4LpmZv2h6FrwZPS48QIETiI2AcWWLx6RavVjoAkoMO3QJwd%2BpYNd%2BhiCehCCFibahgDp%2FtP6UD%0A6vy8eKAAs4hhrh0dSyUouHrBpcu%2FGM6VGLphInLPv0HGtHpZ3OhD"
|
||||||
@@ -111,48 +117,8 @@
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
listenChange() {
|
|
||||||
const { isOver, radio, appntSign } = this
|
|
||||||
return { isOver, radio, appntSign }
|
|
||||||
}
|
|
||||||
},
|
|
||||||
watch: {
|
|
||||||
listenChange(val) {
|
|
||||||
let that = this
|
|
||||||
if (!that.isWeixin) {
|
|
||||||
if (that.signVal == '0' || that.signVal == '2') {
|
|
||||||
if (val.isOver == true && val.radio != '' && val.signStatus !== '3') {
|
|
||||||
that.isDisable = false
|
|
||||||
} else {
|
|
||||||
that.isDisable = true
|
|
||||||
}
|
|
||||||
|
|
||||||
if (that.radio == '1' && val.signStatus == '3') {
|
|
||||||
that.isDisabledComplite = false
|
|
||||||
} else {
|
|
||||||
that.isDisabledComplite = true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (val.signStatus == '3') {
|
|
||||||
that.isDisable = true
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
if (that.signVal == '0' || that.signVal == '2') {
|
|
||||||
if (val.isOver == true && val.radio != '') {
|
|
||||||
that.isDisable = false
|
|
||||||
} else {
|
|
||||||
that.isDisable = true
|
|
||||||
}
|
|
||||||
if (that.radio == '1' && val.signStatus == '3') {
|
|
||||||
that.isDisabledComplite = false
|
|
||||||
} else {
|
|
||||||
that.isDisabledComplite = true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
|
|
||||||
beforeRouteLeave(to, from, next) {
|
beforeRouteLeave(to, from, next) {
|
||||||
document.body.style.backgroundColor = ''
|
document.body.style.backgroundColor = ''
|
||||||
next()
|
next()
|
||||||
|
|||||||
Reference in New Issue
Block a user