Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
warden
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
姚广胤
warden
Commits
1c72a2e2
Commit
1c72a2e2
authored
Mar 23, 2018
by
姚广胤
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新页面
parent
65deda02
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
20 deletions
+4
-20
DirTree.vue
web/src/containers/private/components/trend/DirTree.vue
+4
-20
No files found.
web/src/containers/private/components/trend/DirTree.vue
View file @
1c72a2e2
...
...
@@ -9,14 +9,6 @@
:value=
"item.value"
>
</el-option>
</el-select>
<el-select
v-model=
"value2"
placeholder=
"请选择"
>
<el-option
v-for=
"item in options2"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-select>
<div
ref=
"myEchart"
style=
"width: 1200px;height:400px;"
></div>
</div>
</
template
>
...
...
@@ -31,23 +23,15 @@ export default {
options
:
[
{
value
:
'1'
,
label
:
'
大转盘
'
label
:
'
圆形大转盘1
'
},
{
value
:
'2'
,
label
:
'
刮刮卡
'
label
:
'
砸彩蛋2
'
},
{
value
:
'3'
,
label
:
'砸彩蛋'
},
{
value
:
'4'
,
label
:
'卡包'
},
{
value
:
'5'
,
label
:
'套牛'
label
:
'卡包3'
}
],
options2
:
[
...
...
@@ -90,7 +74,7 @@ export default {
const
days
=
data
.
map
(
item
=>
item
[
'day'
]);
const
seriesData
=
data
.
map
(
item
=>
item
[
'result'
][
'
all
'
]);
const
seriesData
=
data
.
map
(
item
=>
item
[
'result'
][
'
whiteTime
'
]);
this
.
initChart
(
days
,
seriesData
);
})
...
...
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