Commit 9ff73696 by 王志慧

commit

1 parent 5c6c0dab
...@@ -106,7 +106,7 @@ export default { ...@@ -106,7 +106,7 @@ export default {
reportTimeEnd: e.split('~')[1] reportTimeEnd: e.split('~')[1]
}) })
} }
this.INIT_DATA()
if (tabIndex == 0) { if (tabIndex == 0) {
//客户 //客户
if (accountLevel == 4) { if (accountLevel == 4) {
...@@ -116,7 +116,7 @@ export default { ...@@ -116,7 +116,7 @@ export default {
startDate: time, startDate: time,
success: res => { success: res => {
this.hideLoading() this.hideLoading()
this.INIT_DATA() // this.INIT_DATA()
} }
}) })
} else { } else {
...@@ -126,7 +126,7 @@ export default { ...@@ -126,7 +126,7 @@ export default {
startDate: time, startDate: time,
success: res => { success: res => {
this.hideLoading() this.hideLoading()
this.INIT_DATA() // this.INIT_DATA()
} }
}) })
} }
...@@ -137,14 +137,13 @@ export default { ...@@ -137,14 +137,13 @@ export default {
reportTimeStart: time, reportTimeStart: time,
success: res => { success: res => {
this.hideLoading() this.hideLoading()
this.INIT_DATA() // this.INIT_DATA()
} }
}) })
} }
this.SET_TABTYPE_INDEX({ index: 0 }) this.SET_TABTYPE_INDEX({ index: 0 })
this.showDateSelect = false this.showDateSelect = false
}, }
} }
} }
</script> </script>
...@@ -161,7 +160,6 @@ export default { ...@@ -161,7 +160,6 @@ export default {
z-index: 9; z-index: 9;
margin-top: 15px; margin-top: 15px;
padding: 0 10px; padding: 0 10px;
line-height:40px;
.report-name { .report-name {
width: 50%; width: 50%;
height: 15px; height: 15px;
......
...@@ -36,7 +36,7 @@ router.beforeEach((to, from, next) => { ...@@ -36,7 +36,7 @@ router.beforeEach((to, from, next) => {
console.log(JSON.parse(window.localStorage.getItem('reportType')).reportType) console.log(JSON.parse(window.localStorage.getItem('reportType')).reportType)
/* 路由发生变化修改页面title */ /* 路由发生变化修改页面title */
if (to.meta.title) { if (to.meta.title) {
store.dispatch('setPageMeta', to.meta) store.dispatch('setPageMeta', to.meta)
} else { } else {
store.dispatch('setPageMeta', { title: '嘀加·Win Consumer' }) store.dispatch('setPageMeta', { title: '嘀加·Win Consumer' })
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!