保单查询接口
Showing
2 changed files
with
37 additions
and
1 deletions
| ... | @@ -96,5 +96,10 @@ module.exports = { | ... | @@ -96,5 +96,10 @@ module.exports = { |
| 96 | doLoginV2: "/pingan_hklife_webapi/user/loginv2", | 96 | doLoginV2: "/pingan_hklife_webapi/user/loginv2", |
| 97 | doRegisterV2: "/pingan_hklife_webapi/user/registerv2", | 97 | doRegisterV2: "/pingan_hklife_webapi/user/registerv2", |
| 98 | // 刷新短信验证码 | 98 | // 刷新短信验证码 |
| 99 | refreshSmgOtp: "/pingan_hklife_webapi/user/refreshSmgOtp" | 99 | refreshSmgOtp: "/pingan_hklife_webapi/user/refreshSmgOtp", |
| 100 | |||
| 101 | // 保单联系方式更改 | ||
| 102 | policyContactApi:"/pingan_hklife_webapi/policy/updatePolicyContacts", | ||
| 103 | // 上传excel | ||
| 104 | policyContactUploadExcelApi:"/pingan_hklife_webapi/policy/upload/excel" | ||
| 100 | } | 105 | } | ... | ... |
| ... | @@ -218,6 +218,37 @@ export default { | ... | @@ -218,6 +218,37 @@ export default { |
| 218 | } catch (e) { | 218 | } catch (e) { |
| 219 | console.error(e); | 219 | console.error(e); |
| 220 | } | 220 | } |
| 221 | }, | ||
| 222 | updatePolicyContact() { | ||
| 223 | let param={ | ||
| 224 | "policyContactCode":"", | ||
| 225 | "policyId":"4655100", | ||
| 226 | "policyCode":"P000200000000009", | ||
| 227 | "mobileAreaCode":"0668", | ||
| 228 | "mobile":"13727826666", | ||
| 229 | "countryId":"156", | ||
| 230 | "provinceId":"1", | ||
| 231 | "cityId":"304", | ||
| 232 | "address":"上海迪士尼乐园", | ||
| 233 | "acceptMessage":1, | ||
| 234 | "iobsKey":"a", | ||
| 235 | "fileFormat":"xlsx", | ||
| 236 | "fileSize":123, | ||
| 237 | "fileContentType":"mp4/" | ||
| 238 | } | ||
| 239 | httpPost({ | ||
| 240 | url: api.policyContactApi, | ||
| 241 | data: param, | ||
| 242 | sid: true | ||
| 243 | }).then(response => { | ||
| 244 | console.log("response:", response) | ||
| 245 | }).catch(res => { | ||
| 246 | |||
| 247 | }); | ||
| 248 | |||
| 249 | }, | ||
| 250 | uploadExcel(){ | ||
| 251 | |||
| 221 | } | 252 | } |
| 222 | }, | 253 | }, |
| 223 | watch: { | 254 | watch: { | ... | ... |
-
Please register or sign in to post a comment