Commit 9ff73696 by 王志慧

commit

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