Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
h5
/
glsk-data-view-pd
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 de2f5fc7
authored
Jul 27, 2023
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
添加
1 parent
5560970c
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
48 additions
and
16 deletions
src/mixins/boutiqueMixin.js
src/mixins/index.js
src/views/boutique/BoutiqueLeft.vue
src/views/boutique/rightCompoments/BarTrends.vue
src/views/boutique/rightCompoments/BusinessTrends.vue
src/views/boutique/rightCompoments/MerchantsRanking.vue
src/views/boutique/rightCompoments/StaffRanking.vue
src/views/boutique/rightCompoments/StoreMap.vue
src/mixins/boutiqueMixin.js
0 → 100644
View file @
de2f5fc
/*
* @Description:
* @Author: huyue
* @Date: 2023-07-07 11:23:06
* @LastEditors: huyue
* @LastEditTime: 2023-07-27 10:33:06
*/
export
default
{
watch
:
{
watchBoutiqueYear
:
{
immediate
:
true
,
handler
(
newval
)
{
this
&&
this
.
init
&&
this
.
init
(
newval
)
}
}
},
computed
:
{
watchBoutiqueYear
()
{
return
this
.
$store
.
state
.
app
.
boutique
.
year
}
},
method
:
{
openMessage
(
msg
)
{
this
.
$message
({
message
:
msg
,
type
:
'warning'
})
}
}
}
src/mixins/index.js
View file @
de2f5fc
...
...
@@ -3,9 +3,11 @@
* @Author: huyue
* @Date: 2023-07-04 11:44:11
* @LastEditors: huyue
* @LastEditTime: 2023-07-
07 11:22:53
* @LastEditTime: 2023-07-
27 10:33:52
*/
import
changeMixin
from
'./changeMixin'
import
boutiqueMixin
from
'./boutiqueMixin'
export
{
changeMixin
changeMixin
,
boutiqueMixin
}
src/views/boutique/BoutiqueLeft.vue
View file @
de2f5fc
...
...
@@ -17,13 +17,13 @@
<
script
>
import
BoutiqueDate
from
'../boutique/BoutiqueDate.vue'
import
{
chang
eMixin
}
from
'@/mixins'
import
{
boutiqu
eMixin
}
from
'@/mixins'
export
default
{
name
:
'BoutiqueLeft'
,
components
:
{
BoutiqueDate
},
mixins
:
[
chang
eMixin
],
mixins
:
[
boutiqu
eMixin
],
computed
:
{
tabName
()
{
let
sname
...
...
src/views/boutique/rightCompoments/BarTrends.vue
View file @
de2f5fc
...
...
@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2023-07-19 17:18:33
* @LastEditors: huyue
* @LastEditTime: 2023-07-2
6 18:02:36
* @LastEditTime: 2023-07-2
7 10:40:12
-->
<
template
>
<div>
...
...
@@ -14,13 +14,13 @@
<
script
>
import
BarChart
from
'../BarChart.vue'
import
{
chang
eMixin
}
from
'@/mixins'
import
{
boutiqu
eMixin
}
from
'@/mixins'
export
default
{
name
:
'BarTrends'
,
components
:
{
BarChart
},
mixins
:
[
chang
eMixin
],
mixins
:
[
boutiqu
eMixin
],
data
()
{
return
{
tooltipFormatterObj
:
[
...
...
src/views/boutique/rightCompoments/BusinessTrends.vue
View file @
de2f5fc
...
...
@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2023-07-19 17:18:33
* @LastEditors: huyue
* @LastEditTime: 2023-07-2
6 14:32:32
* @LastEditTime: 2023-07-2
7 10:40:19
-->
<
template
>
<div
class=
"trends-box"
>
...
...
@@ -33,13 +33,13 @@
<
script
>
import
BarLineChart
from
'../BarLineChart.vue'
import
{
chang
eMixin
}
from
'@/mixins'
import
{
boutiqu
eMixin
}
from
'@/mixins'
export
default
{
name
:
'BusinessTrends'
,
components
:
{
BarLineChart
},
mixins
:
[
chang
eMixin
],
mixins
:
[
boutiqu
eMixin
],
data
()
{
return
{
tooltipFormatterObj
:
[
...
...
src/views/boutique/rightCompoments/MerchantsRanking.vue
View file @
de2f5fc
...
...
@@ -34,10 +34,10 @@
</
template
>
<
script
>
import
{
chang
eMixin
}
from
'@/mixins'
import
{
boutiqu
eMixin
}
from
'@/mixins'
export
default
{
name
:
'MerchantsRanking'
,
mixins
:
[
chang
eMixin
],
mixins
:
[
boutiqu
eMixin
],
data
()
{
return
{
// 门店产值排名数据
...
...
src/views/boutique/rightCompoments/StaffRanking.vue
View file @
de2f5fc
...
...
@@ -25,10 +25,10 @@
</
template
>
<
script
>
import
{
chang
eMixin
}
from
'@/mixins'
import
{
boutiqu
eMixin
}
from
'@/mixins'
export
default
{
name
:
'StaffRanking'
,
mixins
:
[
chang
eMixin
],
mixins
:
[
boutiqu
eMixin
],
data
()
{
return
{
// 员工产值排名数据
...
...
src/views/boutique/rightCompoments/StoreMap.vue
View file @
de2f5fc
...
...
@@ -19,13 +19,13 @@
</
template
>
<
script
>
import
Map
from
'../Map.vue'
import
{
chang
eMixin
}
from
'@/mixins'
import
{
boutiqu
eMixin
}
from
'@/mixins'
export
default
{
name
:
'StoreMap'
,
components
:
{
Map
},
mixins
:
[
chang
eMixin
],
mixins
:
[
boutiqu
eMixin
],
data
()
{
return
{
storeDistrictList
:
[
...
...
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