mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-10 11:36:45 +08:00
根据姓名以及身份证号码获取用户信息后 根据出参添加后续代码逻辑
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user