Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
dev
/
pingan-life-index-pro
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
e2b52d79
authored
2020-05-13 19:06:33 +0800
by
qingxiao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
保单查询接口
1 parent
8a698e31
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
37 additions
and
1 deletions
src/api/api.js
src/pages/custom-service/components/policy-change-contact.js
src/api/api.js
View file @
e2b52d7
...
...
@@ -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"
}
...
...
src/pages/custom-service/components/policy-change-contact.js
View file @
e2b52d7
...
...
@@ -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
:
{
...
...
Please
register
or
sign in
to post a comment