根据姓名以及身份证号码获取用户信息后 根据出参添加后续代码逻辑

This commit is contained in:
liu.xiaofeng@ebiz-digits.com
2023-07-27 15:35:56 +08:00
parent cd5039074e
commit dfa1afefd1
2 changed files with 79 additions and 37 deletions

View File

@@ -88,36 +88,27 @@
}, 1000)
},
sign() {
// this.$toast.loading({
// duration: 0, // 持续展示 toast
// forbidClick: true, // 禁用背景点击
// loadingType: 'spinner',
// message: '加载中……'
// })
EWebBridge.webCallAppInJs('ca_sign', {
//身份证号码
number: '150429199106185911',
//姓名
name: '刘晓峰',
type: '1',
keyword: '签字日期',
pageNo: '1',
index: '1',
offset: '-150',
pos: '3',
signatureWidth: this.$utils.signParams().signatureWidth,
signatureHeight: this.$utils.signParams().signatureHeight
}).then(data => {
// this.$toast.clear()
if (JSON.parse(data).state == '1') {
this.base64 = decodeURI(JSON.parse(data).sign)
this.isDisabledComplite = false
}
})
this.toAirSign('0', '签字日期', '-150', '2')
},
goNext(){
}
},
toAirSign(status, keyword, offset, originStatus) {
localStorage.setItem(
'signInfo',
JSON.stringify({
originStatus: originStatus,
idNo: this.saleInsuredInfo.idNo,
name: this.saleInsuredInfo.name,
type: this.saleInsuredInfo.idType,
keyword: keyword,
status: status,
offset: offset,
originUrl: location.href
})
)
window.location.href = this.$mainUrl + '/sign/index.html'
},
},
computed: {
listenChange() {