Commit 3b8ae41a by 李伟康

提交代码

1 parent 2a9b6e7d
......@@ -94,7 +94,7 @@ export default {
emit () {
let { reportIndex, tabIndex, brands } = this
let params = {
reportType: reportIndex
reportType: reportIndex == 0 ? 1 : 0 //月表0,日表1
}
if (tabIndex == 1) brands.map(e => {
if (e.active) params.brand = e
......@@ -177,6 +177,9 @@ export default {
&:hover {
display: block;
}
&:hover .brand{
background-color: #096;
}
.options-item {
height: 2.9vh;
font-size: 12px;
......
......@@ -16,12 +16,18 @@
import { changeMixin } from '@/mixins'
export default {
name: 'ViewTabs',
mixins: [changeMixin],
mixins: [changeMixin],
data () {
return {
}
},
mounted () {
window.$HTTP.post('brandmonthly/monthly/overallbase', {
queryTime: '2022-06-23',
queryItem: 'total'
}).then(res => {
console.log(res)
})
},
methods: {
}
......
......@@ -7,7 +7,9 @@
* @LastEditTime: 2021-07-06 12:02:21
*/
const state = {
reportParams: {}
reportParams: {
reportType: 0 //月表0,日表1
}
}
const mutations = {
SET_PAGE_META (state, meta) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!