|
@@ -71,28 +71,28 @@
|
|
|
<el-col :span="6">
|
|
|
<div class="bxDetail">
|
|
|
<div class="numTitle">享受保障</div>
|
|
|
- <div class="num">{{custInfo.insureday}}<span class="unit">天</span></div>
|
|
|
+ <div class="num">{{custInfo.guaranteeDay}}<span class="unit">天</span></div>
|
|
|
</div>
|
|
|
</el-col>
|
|
|
- <el-col :span="6">
|
|
|
- <div class="bxDetail">
|
|
|
- <div class="numTitle">大病保障</div>
|
|
|
- <!--未接数据-->
|
|
|
- <div class="num">{{custInfo.null}}<span class="unit">万</span></div>
|
|
|
- </div>
|
|
|
- </el-col>
|
|
|
- <el-col :span="6">
|
|
|
+ <el-col :span="6" v-for="(value, key, index) in majorCategorie">
|
|
|
<div class="bxDetail">
|
|
|
- <div class="numTitle">意外险</div>
|
|
|
+ <div class="numTitle">{{key}}</div>
|
|
|
<!--未接数据-->
|
|
|
- <div class="num">{{custInfo.null}}<span class="unit">万</span></div>
|
|
|
+ <div class="num">{{value/10000}}<span class="unit">万</span></div>
|
|
|
</div>
|
|
|
</el-col>
|
|
|
+<!-- <el-col :span="6">-->
|
|
|
+<!-- <div class="bxDetail">-->
|
|
|
+<!-- <div class="numTitle">意外险</div>-->
|
|
|
+<!-- <!–未接数据–>-->
|
|
|
+<!-- <div class="num">{{custInfo.null}}<span class="unit">万</span></div>-->
|
|
|
+<!-- </div>-->
|
|
|
+<!-- </el-col>-->
|
|
|
<el-col :span="6">
|
|
|
<div class="bxDetail">
|
|
|
<div class="numTitle">标准保费</div>
|
|
|
<!--未接数据-->
|
|
|
- <div class="num">{{custInfo.null}}<span class="unit">元</span></div>
|
|
|
+ <div class="num">{{custInfo.prem}}<span class="unit">元</span></div>
|
|
|
</div>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
@@ -109,9 +109,9 @@
|
|
|
<el-col :span="12">
|
|
|
<div class="bxDetail bxDetailHt">
|
|
|
<div class="numTitleB">理赔信息</div>
|
|
|
- <div class="bxInfo">是否理赔:{{lpInfo.islp}}</div>
|
|
|
- <div class="bxInfo">理赔类别:{{custInfo.null}}</div>
|
|
|
- <div class="bxInfo">理赔金额:{{lpInfo.ccamt}}元</div>
|
|
|
+ <div class="bxInfo">是否理赔:{{insuranceclaimthread.isClaim}}</div>
|
|
|
+ <div class="bxInfo">理赔类别:{{insuranceclaimthread.claimType}}</div>
|
|
|
+ <div class="bxInfo">理赔金额:{{insuranceclaimthread.claimAmount}}元</div>
|
|
|
</div>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
@@ -141,7 +141,7 @@
|
|
|
</el-row>
|
|
|
<div class="dayDiv">
|
|
|
<div class="dayTitle">投保时长</div>
|
|
|
- <div class="dayNum">{{custInfo.insureday}}<span class="unit">天</span></div>
|
|
|
+ <div class="dayNum">{{custInfo.insureDay}}<span class="unit">天</span></div>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
@@ -199,11 +199,12 @@ export default {
|
|
|
pieChartHalfData:[],
|
|
|
width:'100%',
|
|
|
height:'80%',
|
|
|
- insuranceclaimthread:[],
|
|
|
- lpInfo:{
|
|
|
- islp:'否',
|
|
|
- ccamt:0,
|
|
|
+ insuranceclaimthread:{
|
|
|
+ claimType: "", //理赔类型
|
|
|
+ claimAmount: '', //理赔金额
|
|
|
+ isClaim: "" //是否理赔
|
|
|
},
|
|
|
+ majorCategorie:{},
|
|
|
}
|
|
|
},
|
|
|
created() {
|
|
@@ -240,14 +241,9 @@ export default {
|
|
|
}
|
|
|
that.custInfo.bdTotalNum = that.custInfo.noivpolicy + that.custInfo.novpolicy;
|
|
|
// 理赔信息
|
|
|
- that.insuranceclaimthread = response.data.insuranceclaimthread;
|
|
|
- if(response.data.insuranceclaimthread && response.data.insuranceclaimthread.length>0){
|
|
|
- that.lpInfo.islp = "是";
|
|
|
- response.data.insuranceclaimthread[0].ccamt ? that.lpInfo.ccamt = response.data.insuranceclaimthread[0].ccamt : that.lpInfo.ccamt = 0;
|
|
|
- }else{
|
|
|
- that.lpInfo.islp = "否";
|
|
|
- that.lpInfo.ccamt = 0;
|
|
|
- }
|
|
|
+ response.data.insuranceclaimthread != undefined ?that.insuranceclaimthread = response.data.insuranceclaimthread:{};
|
|
|
+ response.data.majorCategorie != undefined ?that.majorCategorie = response.data.majorCategorie:{};
|
|
|
+
|
|
|
// 投保时间节点及保费
|
|
|
that.lineBarChartData.xAxisData = response.data.lineBarChartData.xaxisData;
|
|
|
that.lineBarChartData.lineData.data = response.data.lineBarChartData.actaulData.data;
|