e2b52d79 by qingxiao

保单查询接口

1 parent 8a698e31
......@@ -96,5 +96,10 @@ module.exports = {
doLoginV2: "/pingan_hklife_webapi/user/loginv2",
doRegisterV2: "/pingan_hklife_webapi/user/registerv2",
// 刷新短信验证码
refreshSmgOtp: "/pingan_hklife_webapi/user/refreshSmgOtp"
refreshSmgOtp: "/pingan_hklife_webapi/user/refreshSmgOtp",
// 保单联系方式更改
policyContactApi:"/pingan_hklife_webapi/policy/updatePolicyContacts",
// 上传excel
policyContactUploadExcelApi:"/pingan_hklife_webapi/policy/upload/excel"
}
......
......@@ -218,6 +218,37 @@ export default {
} catch (e) {
console.error(e);
}
},
updatePolicyContact() {
let param={
"policyContactCode":"",
"policyId":"4655100",
"policyCode":"P000200000000009",
"mobileAreaCode":"0668",
"mobile":"13727826666",
"countryId":"156",
"provinceId":"1",
"cityId":"304",
"address":"上海迪士尼乐园",
"acceptMessage":1,
"iobsKey":"a",
"fileFormat":"xlsx",
"fileSize":123,
"fileContentType":"mp4/"
}
httpPost({
url: api.policyContactApi,
data: param,
sid: true
}).then(response => {
console.log("response:", response)
}).catch(res => {
});
},
uploadExcel(){
}
},
watch: {
......