Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CRM
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
华国豪
CRM
Commits
68cb7a01
Commit
68cb7a01
authored
Mar 25, 2020
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加特殊节假日统计
parent
93165a34
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
409 additions
and
0 deletions
+409
-0
chunjie.png
src/assets/img/tongji/chunjie.png
+0
-0
duanwu.png
src/assets/img/tongji/duanwu.png
+0
-0
guoqing.png
src/assets/img/tongji/guoqing.png
+0
-0
jieri.png
src/assets/img/tongji/jieri.png
+0
-0
laodong.png
src/assets/img/tongji/laodong.png
+0
-0
qingmin.png
src/assets/img/tongji/qingmin.png
+0
-0
yuandan.png
src/assets/img/tongji/yuandan.png
+0
-0
zhongqiu.png
src/assets/img/tongji/zhongqiu.png
+0
-0
festivalOrderList.vue
src/components/statistics/festivalOrderList.vue
+318
-0
festivalChart.vue
src/components/statistics/model/festivalChart.vue
+83
-0
router.js
src/router.js
+8
-0
No files found.
src/assets/img/tongji/chunjie.png
0 → 100644
View file @
68cb7a01
946 Bytes
src/assets/img/tongji/duanwu.png
0 → 100644
View file @
68cb7a01
892 Bytes
src/assets/img/tongji/guoqing.png
0 → 100644
View file @
68cb7a01
544 Bytes
src/assets/img/tongji/jieri.png
0 → 100644
View file @
68cb7a01
5.89 KB
src/assets/img/tongji/laodong.png
0 → 100644
View file @
68cb7a01
835 Bytes
src/assets/img/tongji/qingmin.png
0 → 100644
View file @
68cb7a01
864 Bytes
src/assets/img/tongji/yuandan.png
0 → 100644
View file @
68cb7a01
740 Bytes
src/assets/img/tongji/zhongqiu.png
0 → 100644
View file @
68cb7a01
733 Bytes
src/components/statistics/festivalOrderList.vue
0 → 100644
View file @
68cb7a01
This diff is collapsed.
Click to expand it.
src/components/statistics/model/festivalChart.vue
0 → 100644
View file @
68cb7a01
<
style
>
.sexChart
{
height
:
100%
;
}
</
style
>
<
template
>
<div
class=
"sexChart"
ref=
"sexChart"
>
</div>
</
template
>
<
script
>
export
default
{
props
:
[
"dataList"
,
"totalCount"
],
data
()
{
return
{
nameList
:[],
data
:[],
};
},
watch
:{
},
mounted
()
{
if
(
this
.
dataList
&&
this
.
dataList
.
length
>
0
){
this
.
data
=
[];
this
.
dataList
.
forEach
(
x
=>
{
this
.
nameList
.
push
(
x
.
FestivalName
);
let
obj
=
{
value
:
0
,
name
:
''
}
// obj.value=((x.OrderCount / this.totalCount * 10000) / 100.00).toFixed(1);
obj
.
value
=
x
.
OrderCount
;
obj
.
name
=
x
.
FestivalName
this
.
data
.
push
(
obj
);
});
}
this
.
init
()
let
myChart
=
this
.
$echarts
.
init
(
this
.
$refs
.
sexChart
);
window
.
addEventListener
(
"resize"
,
()
=>
{
myChart
.
resize
();
});
},
methods
:
{
init
(){
let
myChart
=
this
.
$echarts
.
init
(
this
.
$refs
.
sexChart
);
let
option
=
{
title
:
{
text
:
''
,
subtext
:
''
,
left
:
'center'
},
tooltip
:
{
trigger
:
'item'
,
formatter
:
'{a} <br/>{b} : {c} ({d}%)'
},
legend
:
{
orient
:
'vertical'
,
left
:
'left'
,
data
:
[]
},
series
:
[
{
name
:
'访问来源'
,
type
:
'pie'
,
radius
:
'55%'
,
center
:
[
'50%'
,
'60%'
],
data
:
this
.
data
,
emphasis
:
{
itemStyle
:
{
shadowBlur
:
10
,
shadowOffsetX
:
0
,
shadowColor
:
'rgba(0, 0, 0, 0.5)'
}
}
}
]
};
myChart
.
setOption
(
option
);
}
}
}
</
script
>
\ No newline at end of file
src/router.js
View file @
68cb7a01
...
...
@@ -155,6 +155,14 @@ export default new Router({
title
:
"出游类型统计"
}
},
{
path
:
"/festivalOrderList"
,
name
:
"festivalOrderList"
,
component
:
()
=>
import
(
'./components/statistics/festivalOrderList.vue'
),
meta
:
{
title
:
"特殊节假日统计"
}
},
{
path
:
"/marriage"
,
name
:
"marriage"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment