eb6ccd4c by qingxiao

1

1 parent 035a0a77
...@@ -101,5 +101,7 @@ module.exports = { ...@@ -101,5 +101,7 @@ module.exports = {
101 // 保单联系方式更改 101 // 保单联系方式更改
102 policyContactApi:"/pingan_hklife_webapi/policy/updatePolicyContacts", 102 policyContactApi:"/pingan_hklife_webapi/policy/updatePolicyContacts",
103 // 上传excel 103 // 上传excel
104 policyContactUploadExcelApi:"/pingan_hklife_webapi/policy/upload/excel" 104 policyContactUploadExcelApi:"/pingan_hklife_webapi/policy/upload/excel",
105 //保单联系方式查询
106 policyContactDetailApi:"/pingan_hklife_webapi/policy/policyContacts/detail"
105 } 107 }
......
...@@ -222,14 +222,15 @@ export default { ...@@ -222,14 +222,15 @@ export default {
222 updatePolicyContact() { 222 updatePolicyContact() {
223 let param={ 223 let param={
224 "policyContactCode":"", 224 "policyContactCode":"",
225 "policyId":"4655100", 225 "policies":[{
226 "policyCode":"P000200000000009", 226 "policyId":"4655100",
227 "policyCode":"P000200000000009"}],
227 "mobileAreaCode":"0668", 228 "mobileAreaCode":"0668",
228 "mobile":"13727826666", 229 "mobile":"13727826666",
229 "countryId":"156", 230 "countryId":"156",
230 "provinceId":"1", 231 "provinceId":"1",
231 "cityId":"304", 232 "cityId":"304",
232 "address":"上海迪士尼乐园", 233 "address":"上海迪士尼乐园123213123",
233 "acceptMessage":1, 234 "acceptMessage":1,
234 "iobsKey":"a", 235 "iobsKey":"a",
235 "fileFormat":"xlsx", 236 "fileFormat":"xlsx",
...@@ -249,6 +250,18 @@ export default { ...@@ -249,6 +250,18 @@ export default {
249 }, 250 },
250 uploadExcel(){ 251 uploadExcel(){
251 252
253 },
254 queryPolicyContact(){
255 let param ={policyId:'4655100',policyCode:'P000200000000009'}
256 httpPost({
257 url: api.policyContactDetailApi,
258 data: param,
259 sid: true
260 }).then(response => {
261 console.log("response:", response)
262 }).catch(res => {
263
264 });
252 } 265 }
253 }, 266 },
254 watch: { 267 watch: {
......
...@@ -114,6 +114,7 @@ ...@@ -114,6 +114,7 @@
114 </div> 114 </div>
115 115
116 </div> 116 </div>
117 <div style="width: 20px;height: 20px;background-color: #3a8ee6" @click="updatePolicyContact"></div>
117 </template> 118 </template>
118 </div> 119 </div>
119 </template> 120 </template>
......