|
|
@@ -119,6 +119,9 @@
|
|
|
<tags :data="tagsData" v-if="tagsData && tagsData.length > 0"></tags>
|
|
|
<nodata v-else></nodata>
|
|
|
</el-tab-pane>
|
|
|
+ <el-tab-pane label="续期标签" name="xqbq">
|
|
|
+ <contract-information :data="qxInformationData" :tagsData="tagsDataxq"></contract-information>
|
|
|
+ </el-tab-pane>
|
|
|
</el-tabs>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -159,6 +162,8 @@ export default {
|
|
|
contractInformationData:[],
|
|
|
tagsDataHY:[],
|
|
|
labelHyNum:[24,28,31,35,37,43,44,46,65,88,89,107,116,120],
|
|
|
+ qxInformationData:[],
|
|
|
+ tagsDataxq:[],
|
|
|
claimData:[],
|
|
|
contactData:[],
|
|
|
relationshipData:[],
|
|
|
@@ -189,10 +194,10 @@ export default {
|
|
|
let id = that.$route.query.id;
|
|
|
// let id = that.$route.params.id;
|
|
|
getCustomerById({id:id}).then(response => {
|
|
|
- console.log(response);
|
|
|
+ //console.log(response);
|
|
|
that.loading = false;
|
|
|
that.custInfo = response.data.custInfo;
|
|
|
- console.log(that.custInfo.ral)
|
|
|
+ //console.log(that.custInfo.ral)
|
|
|
that.relationshipData = response.data.relationship;
|
|
|
that.habitData.ctype = response.data.custInfo.ctype;
|
|
|
response.data.custInfo.hobby1 != undefined ? response.data.custInfo.hobby1 = response.data.custInfo.hobby1+'、' : response.data.custInfo.hobby1 ='';
|
|
|
@@ -203,11 +208,13 @@ export default {
|
|
|
response.data.custInfo.height != undefined ? that.healthData.height = response.data.custInfo.height : that.healthData.height ='';
|
|
|
response.data.custInfo.weight != undefined ? that.healthData.weight = response.data.custInfo.weight : that.healthData.weight ='';
|
|
|
response.data.custInfo.bmi != undefined ? that.healthData.bmi = response.data.custInfo.bmi : that.healthData.bmi = '';
|
|
|
- console.log(that.healthData)
|
|
|
+ //console.log(that.healthData)
|
|
|
that.labelAll();
|
|
|
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 = [];
|
|
|
var contactDataItem = {};
|
|
|
response.data.custInfo.nation != undefined ? contactDataItem.nation = response.data.custInfo.nation : '';
|
|
|
response.data.custInfo.sobirth != undefined ? contactDataItem.province = response.data.custInfo.sobirth:'';
|
|
|
@@ -248,7 +255,7 @@ export default {
|
|
|
labelAll(){
|
|
|
var that = this;
|
|
|
that.tagsData = [];
|
|
|
- for(var i=0;i<=120;i++){
|
|
|
+ for(var i=0;i<=138;i++){
|
|
|
var label = 'label'+i;
|
|
|
if(that.custInfo[label] && that.custInfo[label] != ""){
|
|
|
that.tagsData.push(that.custInfo[label]);
|