Commit 3b8ae41a by 李伟康

提交代码

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