8f34f29d by simon

Merge branch 'master' of 120.27.44.69:dev/pingan-life-index-pro

# Conflicts:
#	src/pages/custom-service/components/policy-change-contact.js
2 parents 91521fa0 1af854e0
...@@ -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 }
......
...@@ -243,6 +243,7 @@ export default { ...@@ -243,6 +243,7 @@ export default {
243 } 243 }
244 }, 244 },
245 updatePolicyContact() { 245 updatePolicyContact() {
246 <<<<<<< HEAD
246 let param = { 247 let param = {
247 policyContactCode: "", 248 policyContactCode: "",
248 policyId: "4655100", 249 policyId: "4655100",
...@@ -259,6 +260,25 @@ export default { ...@@ -259,6 +260,25 @@ export default {
259 fileSize: 123, 260 fileSize: 123,
260 fileContentType: "mp4/" 261 fileContentType: "mp4/"
261 }; 262 };
263 =======
264 let param={
265 "policyContactCode":"",
266 "policies":[{
267 "policyId":"4655100",
268 "policyCode":"P000200000000009"}],
269 "mobileAreaCode":"0668",
270 "mobile":"13727826666",
271 "countryId":"156",
272 "provinceId":"1",
273 "cityId":"304",
274 "address":"上海迪士尼乐园123213123",
275 "acceptMessage":1,
276 "iobsKey":"a",
277 "fileFormat":"xlsx",
278 "fileSize":123,
279 "fileContentType":"mp4/"
280 }
281 >>>>>>> 1af854e069546774dda5b13dbb28fa154cacd45d
262 httpPost({ 282 httpPost({
263 url: api.policyContactApi, 283 url: api.policyContactApi,
264 data: param, 284 data: param,
...@@ -269,7 +289,25 @@ export default { ...@@ -269,7 +289,25 @@ export default {
269 }) 289 })
270 .catch(res => {}); 290 .catch(res => {});
271 }, 291 },
292 <<<<<<< HEAD
272 uploadExcel() {} 293 uploadExcel() {}
294 =======
295 uploadExcel(){
296
297 },
298 queryPolicyContact(){
299 let param ={policyId:'4655100',policyCode:'P000200000000009'}
300 httpPost({
301 url: api.policyContactDetailApi,
302 data: param,
303 sid: true
304 }).then(response => {
305 console.log("response:", response)
306 }).catch(res => {
307
308 });
309 }
310 >>>>>>> 1af854e069546774dda5b13dbb28fa154cacd45d
273 }, 311 },
274 watch: { 312 watch: {
275 "data.mobileAreaCode": function() { 313 "data.mobileAreaCode": function() {
......
...@@ -123,6 +123,7 @@ ...@@ -123,6 +123,7 @@
123 </div> 123 </div>
124 124
125 </div> 125 </div>
126 <div style="width: 20px;height: 20px;background-color: #3a8ee6" @click="updatePolicyContact"></div>
126 </template> 127 </template>
127 </div> 128 </div>
128 </template> 129 </template>
......