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

删除调试代码

parent 10bf2f31
...@@ -7,11 +7,11 @@ ...@@ -7,11 +7,11 @@
globalData: { globalData: {
user: { user: {
psnCertType: '01', psnCertType: '01',
certno: '211224199502036621', // 身份证号 certno: '', // 身份证号 211224199502036621
psnNo: '52000002000000000400011816', // 人员编号 psnNo: '', // 人员编号 52000002000000000400011816
locAdmdvs: '520300', // 身份证号 locAdmdvs: '', // 520300
insuAdmdvs: '520281', // 身份证号 insuAdmdvs: '', // 520281
insuTypeCode: '390' // 险种 insuTypeCode: '' // 险种 390
}, },
certTypeOptions: [], // 身份证件类型枚举 certTypeOptions: [], // 身份证件类型枚举
applyChannelOptions: [], // 申请渠道类型 applyChannelOptions: [], // 申请渠道类型
...@@ -70,24 +70,17 @@ ...@@ -70,24 +70,17 @@
type: 'sgy', type: 'sgy',
encryptDataMap: info.data, encryptDataMap: info.data,
}).then((res: any) => { }).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; getApp().globalData!.user.certno = res.uIdCardNo;
Api.foo.insuranceType({ Api.foo.insuranceType({
psnCertType: getApp().globalData!.user.psnCertType, psnCertType: getApp().globalData!.user.psnCertType,
certno: getApp().globalData!.user.certno, certno: getApp().globalData!.user.certno,
}).then((res: any) => { }).then((res: any) => {
xma.showModal({ // xma.showModal({
title: '请求成功3', // title: '请求成功',
content: JSON.stringify(res),//result.data.msg, // content: JSON.stringify(res),//result.data.msg,
showCancel: false, // showCancel: false,
confirmText: '关闭' // confirmText: '关闭'
}) // })
getApp().globalData!.user.psnNo = res.psnNo; getApp().globalData!.user.psnNo = res.psnNo;
getApp().globalData!.user.insuTypeCode = res.insutypeCode; getApp().globalData!.user.insuTypeCode = res.insutypeCode;
getApp().globalData!.user.insuAdmdvs = res.insuAdmdvs; getApp().globalData!.user.insuAdmdvs = res.insuAdmdvs;
......
...@@ -54,7 +54,7 @@ class Request { ...@@ -54,7 +54,7 @@ class Request {
} else { } else {
xma.showModal({ xma.showModal({
title: '请求出错', title: '请求出错',
content: JSON.stringify(result),//result.data.msg, content: result.data ? result.data.msg : result.msg ? result.msg : JSON.stringify(result),
showCancel: false, showCancel: false,
confirmText: '关闭' 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