Commit 4c05ae13 authored by 英思-陈欢's avatar 英思-陈欢

删除调试代码

parent 10bf2f31
......@@ -7,11 +7,11 @@
globalData: {
user: {
psnCertType: '01',
certno: '211224199502036621', // 身份证号
psnNo: '52000002000000000400011816', // 人员编号
locAdmdvs: '520300', // 身份证号
insuAdmdvs: '520281', // 身份证号
insuTypeCode: '390' // 险种
certno: '', // 身份证号 211224199502036621
psnNo: '', // 人员编号 52000002000000000400011816
locAdmdvs: '', // 520300
insuAdmdvs: '', // 520281
insuTypeCode: '' // 险种 390
},
certTypeOptions: [], // 身份证件类型枚举
applyChannelOptions: [], // 申请渠道类型
......@@ -70,24 +70,17 @@
type: 'sgy',
encryptDataMap: info.data,
}).then((res: any) => {
console.log(res)
xma.showModal({
title: '请求成功2',
content: JSON.stringify(res),//result.data.msg,
showCancel: false,
confirmText: '关闭'
})
getApp().globalData!.user.certno = res.uIdCardNo;
Api.foo.insuranceType({
psnCertType: getApp().globalData!.user.psnCertType,
certno: getApp().globalData!.user.certno,
}).then((res: any) => {
xma.showModal({
title: '请求成功3',
content: JSON.stringify(res),//result.data.msg,
showCancel: false,
confirmText: '关闭'
})
// xma.showModal({
// title: '请求成功',
// content: JSON.stringify(res),//result.data.msg,
// showCancel: false,
// confirmText: '关闭'
// })
getApp().globalData!.user.psnNo = res.psnNo;
getApp().globalData!.user.insuTypeCode = res.insutypeCode;
getApp().globalData!.user.insuAdmdvs = res.insuAdmdvs;
......
......@@ -54,7 +54,7 @@ class Request {
} else {
xma.showModal({
title: '请求出错',
content: JSON.stringify(result),//result.data.msg,
content: result.data ? result.data.msg : result.msg ? result.msg : JSON.stringify(result),
showCancel: false,
confirmText: '关闭'
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment