Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
E
energyai_vue
Project
Project
Details
Activity
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
葛齐林
energyai_vue
Commits
e284acd5
Commit
e284acd5
authored
Apr 22, 2021
by
xiexingan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
日期
parent
58290845
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
8 deletions
+20
-8
index.vue
src/pages/analysis/outdoor/index.vue
+20
-8
No files found.
src/pages/analysis/outdoor/index.vue
View file @
e284acd5
...
...
@@ -8,14 +8,24 @@ card-warp(title="室外气象分析", height="45px", showBackground)
el-form-item(label="设备名称:")
el-input(type="primary", size="mini", v-model="name", readOnly)
el-form-item(label="时间范围:")
el-button(
size="mini",
type="primary",
@click="handleDate(item.id)",
v-for="(item, index) in typeList",
:key="index",
:class="[item.id == currentActive ? 'isActive' : '']"
)
{{
item
.
name
}}
//- el-button(
//- size="mini",
//- type="primary",
//- @click="handleDate(item.id)",
//- v-for="(item, index) in typeList",
//- :key="index",
//- :class="[item.id == currentActive ? 'isActive' : '']"
//- )
{{
item
.
name
}}
el-date-picker(
v-model="startTime"
type="date"
placeholder="开始日期")
span  至 
el-date-picker(
v-model="endTime"
type="date"
placeholder="结束日期")
.echartsWarp(width="100%", flex)
div(v-for='item in chartList' :key='item.id')
chart(:id="item.id", :data="item.data", :title="item.title", :color="item.color")
...
...
@@ -31,6 +41,8 @@ export default {
},
data
()
{
return
{
startTime
:
''
,
endTime
:
''
,
chartList
:
[
{
id
:
'11'
,
title
:
'温度(℃)'
,
color
:
'#21ACFC'
,
data
:
[]
},
{
id
:
'22'
,
title
:
'湿度(%RH)'
,
color
:
'#36CBCB'
,
data
:
[]
},
...
...
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