mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-24 16:02:52 +08:00
[FIX] 提交开门红数据报表
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
<div class="all">
|
||||
<table class="move-table" cellspacing="0" cellpadding="0" border="0">
|
||||
<tr>
|
||||
<th>{{this.title || filterTitle}}</th>
|
||||
<th>{{this.title | filterTitle}}</th>
|
||||
<th>当日预收件数</th>
|
||||
<th>当日预收规模保费(万元)</th>
|
||||
<th>当日承保件数</th>
|
||||
@@ -52,7 +52,7 @@
|
||||
<div class="l">
|
||||
<table border="0" cellspacing="0" cellpadding="0" class="fixed-l">
|
||||
<tr>
|
||||
<th>{{this.title || filterTitle}}</th>
|
||||
<th>{{this.title | filterTitle}}</th>
|
||||
</tr>
|
||||
<tr v-for="(item,index) in reportList" :key="index">
|
||||
<td>{{item.sellTypeName}}</td>
|
||||
@@ -80,36 +80,42 @@ export default {
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
reportList: []
|
||||
reportList: [],
|
||||
title: ''
|
||||
}
|
||||
},
|
||||
created(){
|
||||
created() {
|
||||
this.reportList = JSON.parse(localStorage.reportList)
|
||||
console.log(this.reportList[0].salechnlName)
|
||||
// console.log(this.reportList)
|
||||
// console.log(this.reportList[0].salechnlName)
|
||||
this.title = this.reportList[0].salechnlName
|
||||
},
|
||||
beforeRouteLeave(to, from, next) {
|
||||
document.body.style.backgroundColor = ''
|
||||
next()
|
||||
},
|
||||
mounted() {
|
||||
document.body.style.backgroundColor = '#fff'
|
||||
},
|
||||
filters: {
|
||||
filterTitle: function(title) {
|
||||
filterTitle: function(value) {
|
||||
let text
|
||||
switch (title) {
|
||||
switch (value) {
|
||||
case '个险':
|
||||
text = '险种'
|
||||
break
|
||||
// case '3':
|
||||
// text = '已提交核心'
|
||||
// break
|
||||
// case '40':
|
||||
// text = '已申请'
|
||||
// break
|
||||
// case '50':
|
||||
// text = '已立案'
|
||||
// break
|
||||
// case '60':
|
||||
// text = '已结案'
|
||||
// break
|
||||
// case 'Y':
|
||||
// text = '已支付'
|
||||
// break
|
||||
case '中介':
|
||||
text = '合作渠道'
|
||||
break
|
||||
case '网销':
|
||||
text = '数据来源'
|
||||
break
|
||||
case '健康险':
|
||||
text = '子渠道名称'
|
||||
break
|
||||
case '银保':
|
||||
text = '销售银行名称'
|
||||
break
|
||||
}
|
||||
return text
|
||||
}
|
||||
@@ -142,13 +148,14 @@ export default {
|
||||
|
||||
.all {
|
||||
overflow-x: scroll;
|
||||
height: 100%;
|
||||
}
|
||||
.report-list-container {
|
||||
position: relative;
|
||||
}
|
||||
.all .move-table,
|
||||
.fixed-l {
|
||||
background-color: #f0f8fa;
|
||||
background-color: #ffffff;
|
||||
width: 100px;
|
||||
}
|
||||
.fixed-l th:nth-child(1),
|
||||
@@ -186,11 +193,4 @@ export default {
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.r {
|
||||
position: absolute;
|
||||
z-index: 5;
|
||||
top: 0;
|
||||
right: 0;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -68,20 +68,8 @@ export default {
|
||||
},
|
||||
mounted() {
|
||||
this.getReportList()
|
||||
//从成功页点击返回时候需要添加拦截
|
||||
EWebBridge.webCallAppInJs('webview_left_button', {
|
||||
intercept: '1' //是否拦截原生返回事件 1是 其他否
|
||||
})
|
||||
window.appCallBack = this.appCallBack
|
||||
},
|
||||
methods: {
|
||||
appCallBack(data) {
|
||||
if (data.trigger == 'left_button_click') {
|
||||
this.$jump({
|
||||
flag: 'service'
|
||||
})
|
||||
}
|
||||
},
|
||||
//初始化列表
|
||||
getReportList() {
|
||||
let data = {
|
||||
@@ -114,7 +102,7 @@ export default {
|
||||
this.$jump({
|
||||
flag: 'navigation',
|
||||
extra: {
|
||||
title: this.title,
|
||||
title: this.title + '渠道',
|
||||
hiddenRight: '1'
|
||||
}
|
||||
})
|
||||
@@ -165,21 +153,4 @@ export default {
|
||||
}
|
||||
}
|
||||
}
|
||||
// .CollectNumber {
|
||||
// background-color: #ffcc00;
|
||||
// width: 80%;
|
||||
// height: 80px;
|
||||
// }
|
||||
// .InsuranceNumber {
|
||||
// background-color: #ff9900;
|
||||
// }
|
||||
// .AdvancePremiums {
|
||||
// background-color: #33ccff;
|
||||
// }
|
||||
// .ContractPremiums {
|
||||
// background-color: #3399ff;
|
||||
// }
|
||||
// .CurrentPremiums {
|
||||
// background-color: #33ff00;
|
||||
// }
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user