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
eb6ccd4c
authored
2020-05-14 20:27:33 +0800
by
qingxiao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1
1 parent
035a0a77
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
3 deletions
src/api/api.js
src/pages/custom-service/components/policy-change-contact.js
src/pages/custom-service/components/policy-change-contact.vue
src/api/api.js
View file @
eb6ccd4
...
...
@@ -101,5 +101,7 @@ module.exports = {
// 保单联系方式更改
policyContactApi
:
"/pingan_hklife_webapi/policy/updatePolicyContacts"
,
// 上传excel
policyContactUploadExcelApi
:
"/pingan_hklife_webapi/policy/upload/excel"
policyContactUploadExcelApi
:
"/pingan_hklife_webapi/policy/upload/excel"
,
//保单联系方式查询
policyContactDetailApi
:
"/pingan_hklife_webapi/policy/policyContacts/detail"
}
...
...
src/pages/custom-service/components/policy-change-contact.js
View file @
eb6ccd4
...
...
@@ -222,14 +222,15 @@ export default {
updatePolicyContact
()
{
let
param
=
{
"policyContactCode"
:
""
,
"policies"
:[{
"policyId"
:
"4655100"
,
"policyCode"
:
"P000200000000009"
,
"policyCode"
:
"P000200000000009"
}]
,
"mobileAreaCode"
:
"0668"
,
"mobile"
:
"13727826666"
,
"countryId"
:
"156"
,
"provinceId"
:
"1"
,
"cityId"
:
"304"
,
"address"
:
"上海迪士尼乐园"
,
"address"
:
"上海迪士尼乐园
123213123
"
,
"acceptMessage"
:
1
,
"iobsKey"
:
"a"
,
"fileFormat"
:
"xlsx"
,
...
...
@@ -249,6 +250,18 @@ export default {
},
uploadExcel
(){
},
queryPolicyContact
(){
let
param
=
{
policyId
:
'4655100'
,
policyCode
:
'P000200000000009'
}
httpPost
({
url
:
api
.
policyContactDetailApi
,
data
:
param
,
sid
:
true
}).
then
(
response
=>
{
console
.
log
(
"response:"
,
response
)
}).
catch
(
res
=>
{
});
}
},
watch
:
{
...
...
src/pages/custom-service/components/policy-change-contact.vue
View file @
eb6ccd4
...
...
@@ -114,6 +114,7 @@
</div>
</div>
<div
style=
"width: 20px;height: 20px;background-color: #3a8ee6"
@
click=
"updatePolicyContact"
></div>
</
template
>
</div>
</template>
...
...
Please
register
or
sign in
to post a comment