Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
gh
/
data-view
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 3b8ae41a
authored
Jun 29, 2022
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
提交代码
1 parent
2a9b6e7d
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
3 deletions
src/components/ViewControl.vue
src/components/ViewTabs.vue
src/store/modules/app.js
src/utils/qs.js
src/components/ViewControl.vue
View file @
3b8ae41
...
...
@@ -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
;
...
...
src/components/ViewTabs.vue
View file @
3b8ae41
...
...
@@ -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
:
{
}
...
...
src/store/modules/app.js
View file @
3b8ae41
...
...
@@ -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
)
{
...
...
src/utils/qs.js
0 → 100644
View file @
3b8ae41
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment