|
|
@@ -242,14 +242,15 @@ export default {
|
|
|
that.labelHy();
|
|
|
response.data.insuranceclaimthread?that.claimData = response.data.insuranceclaimthread:that.claimData = [];
|
|
|
response.data.insurancearrangement?that.contractInformationData = response.data.insurancearrangement:that.contractInformationData = [];
|
|
|
- response.data.custInfo.nation?that.contactData[0].nation = response.data.custInfo.nation:'';
|
|
|
- response.data.custInfo.sobirth?that.contactData[0].province = response.data.custInfo.sobirth:'';
|
|
|
- response.data.custInfo.raid?that.contactData[0].raid = response.data.custInfo.raid:'';
|
|
|
- response.data.custInfo.qq?that.contactData[0].qq = response.data.custInfo.qq:'';
|
|
|
- response.data.custInfo.email?that.contactData[0].email = response.data.custInfo.email:'';
|
|
|
- response.data.custInfo.wechat?that.contactData[0].wechat = response.data.custInfo.wechat:'';
|
|
|
- response.data.custInfo.pmphone?that.contactData[0].pmphone = response.data.custInfo.pmphone:'';
|
|
|
-
|
|
|
+ var contactDataItem = {};
|
|
|
+ response.data.custInfo.nation ? contactDataItem.nation = response.data.custInfo.nation : '';
|
|
|
+ response.data.custInfo.sobirth ? contactDataItem.province = response.data.custInfo.sobirth:'';
|
|
|
+ response.data.custInfo.raid ? contactDataItem.raid = response.data.custInfo.raid :'';
|
|
|
+ response.data.custInfo.qq ? contactDataItem.qq = response.data.custInfo.qq:'';
|
|
|
+ response.data.custInfo.email ? contactDataItem.email = response.data.custInfo.email:'';
|
|
|
+ response.data.custInfo.wechat ? contactDataItem.wechat = response.data.custInfo.wechat:'';
|
|
|
+ response.data.custInfo.pmphone ? contactDataItem.pmphone = response.data.custInfo.pmphone:'';
|
|
|
+ JSON.stringify(contactDataItem) == "{}" ? that.contactData = []: that.contactData.push(contactDataItem);
|
|
|
}
|
|
|
);
|
|
|
},
|