|
|
@@ -119,7 +119,7 @@
|
|
|
<tags :data="tagsData" v-if="tagsData && tagsData.length > 0"></tags>
|
|
|
<nodata v-else></nodata>
|
|
|
</el-tab-pane>
|
|
|
- <el-tab-pane label="续期标签" name="xqbq">
|
|
|
+ <el-tab-pane label="续期标签" name="xqbq" v-if="isShowXQ">
|
|
|
<contract-information :data="qxInformationData" :tagsData="tagsDataxq"></contract-information>
|
|
|
</el-tab-pane>
|
|
|
</el-tabs>
|
|
|
@@ -155,7 +155,8 @@ export default {
|
|
|
data() {
|
|
|
return {
|
|
|
loading: true,
|
|
|
- custInfo:{},
|
|
|
+ custInfo:{},
|
|
|
+ isShowXQ:false,
|
|
|
tabActive:'hyxx',
|
|
|
habitData:{},
|
|
|
healthData:{},
|
|
|
@@ -213,8 +214,12 @@ export default {
|
|
|
that.labelHy();
|
|
|
response.data.insuranceclaimthread != undefined?that.claimData = response.data.insuranceclaimthread:that.claimData = [];
|
|
|
response.data.insurancearrangement != undefined?that.contractInformationData = response.data.insurancearrangement:that.contractInformationData = [];
|
|
|
- response.data.renewalNode.policyInfos != undefined?that.qxInformationData = response.data.renewalNode.policyInfos:that.qxInformationData = [];
|
|
|
- response.data.renewalNode.labelDescs != undefined?that.tagsDataxq = response.data.renewalNode.labelDescs:that.tagsDataxq = [];
|
|
|
+ if(response.data.renewalNode != undefined){
|
|
|
+ response.data.renewalNode.policyInfos != undefined?that.qxInformationData = response.data.renewalNode.policyInfos:that.qxInformationData = [];
|
|
|
+ response.data.renewalNode.labelDescs != undefined?that.tagsDataxq = response.data.renewalNode.labelDescs:that.tagsDataxq = [];
|
|
|
+ that.isShowXQ = true;
|
|
|
+ }
|
|
|
+
|
|
|
var contactDataItem = {};
|
|
|
response.data.custInfo.nation != undefined ? contactDataItem.nation = response.data.custInfo.nation : '';
|
|
|
response.data.custInfo.sobirth != undefined ? contactDataItem.province = response.data.custInfo.sobirth:'';
|