diff --git a/src/views/ebiz/report/reportDetail.vue b/src/views/ebiz/report/reportDetail.vue
index 65ad8d24a..42e409cc3 100644
--- a/src/views/ebiz/report/reportDetail.vue
+++ b/src/views/ebiz/report/reportDetail.vue
@@ -31,7 +31,7 @@
- | {{this.title || filterTitle}} |
+ {{this.title | filterTitle}} |
当日预收件数 |
当日预收规模保费(万元) |
当日承保件数 |
@@ -52,7 +52,7 @@
- | {{this.title || filterTitle}} |
+ {{this.title | filterTitle}} |
| {{item.sellTypeName}} |
@@ -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;
-}
diff --git a/src/views/ebiz/report/reportList.vue b/src/views/ebiz/report/reportList.vue
index cbe8c458e..03c29677e 100644
--- a/src/views/ebiz/report/reportList.vue
+++ b/src/views/ebiz/report/reportList.vue
@@ -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;
-// }