Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
zhongtong-avi-web
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
中通客车项目
zhongtong-avi-web
Commits
d9e3685d
Commit
d9e3685d
authored
Oct 18, 2019
by
李志鸣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fea(监控大屏): 监控大屏 设备利用率图表 增加判空和时间大小判断
parent
f8d0c71c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
1 deletion
+14
-1
MachineUtilizationRate.vue
...views/CenterControl/components/MachineUtilizationRate.vue
+14
-1
No files found.
src/views/CenterControl/components/MachineUtilizationRate.vue
View file @
d9e3685d
...
@@ -19,7 +19,8 @@
...
@@ -19,7 +19,8 @@
</el-date-picker>
</el-date-picker>
<el-button
<el-button
type=
"primary"
type=
"primary"
size=
"small"
>
size=
"small"
@
click=
"doConfirmClick"
>
确定
确定
</el-button>
</el-button>
</div>
</div>
...
@@ -69,6 +70,18 @@
...
@@ -69,6 +70,18 @@
}
}
]
]
})
})
},
// 点击确认按钮
doConfirmClick
()
{
if
(
this
.
startTime
!==
''
&&
this
.
endTime
!==
''
)
{
if
(
this
.
startTime
>
this
.
endTime
)
{
this
.
$message
.
warning
(
'设备利用率图表开始时间不能大于结束时间!'
)
}
else
{
console
.
log
(
'开始时间小于结束时间'
)
}
}
else
{
this
.
$message
.
warning
(
'设备利用率图表开始时间和结束时间不能为空!'
)
}
}
}
},
},
mounted
()
{
mounted
()
{
...
...
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