eb6ccd4c by qingxiao

1

1 parent 035a0a77
......@@ -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"
}
......
......@@ -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: {
......
......@@ -114,6 +114,7 @@
</div>
</div>
<div style="width: 20px;height: 20px;background-color: #3a8ee6" @click="updatePolicyContact"></div>
</template>
</div>
</template>
......