Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
micro-customization-system
/
micro-trialrun
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 155d8249
authored
Apr 16, 2022
by
张杰
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
v1.6.0版本需求
1 parent
434e8ff5
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
46 additions
and
7 deletions
src/styles/common.scss
src/views/reportManage/electricity.vue
src/styles/common.scss
View file @
155d824
...
...
@@ -191,3 +191,28 @@
.mr5
{
margin-right
:
5px
;
}
.page_title
{
position
:
relative
;
.title_tip_icon
{
position
:
absolute
;
right
:
10px
;
top
:
50%
;
transform
:
translateY
(
-50%
);
font-size
:
16px
;
color
:
#999
;
}
}
.popover_box
{
.h3
{
font-size
:
14px
;
color
:
#666
;
}
p
{
font-size
:
12px
;
color
:
#999
;
}
}
\ No newline at end of file
src/views/reportManage/electricity.vue
View file @
155d824
<
template
>
<div
class=
"system-container"
>
<div
class=
"container"
>
<h1>
电量统计
</h1>
<h1
class=
"page_title"
>
<span>
电量统计
</span>
<el-popover
placement=
"right-start"
trigger=
"hover"
>
<div
class=
"popover_box"
>
<h3
class=
"h3"
>
首次上点时间
</h3>
<p>
指无线设备激活时间;
</p>
<h3
class=
"h3"
>
最近上点时间
</h3>
<p>
指无线设备最近一次的上点时间;
</p>
<h3
class=
"h3"
>
当前电量(%)
</h3>
<p>
显示设备当前电量百分比;
</p>
<p>
仅统计无线设备的用户
</p>
</div>
<span
class=
"title_tip_icon"
slot=
"reference"
><i
class=
"el-icon-question"
></i></span>
</el-popover>
</h1>
<div
class=
"m-b-md title_tips"
>
用于统计无线设备的剩余电量
</div>
<!-- 搜索区域 开始 -->
...
...
@@ -165,16 +179,16 @@ export default {
// 获取查询参数
getParams
()
{
let
oParams
=
deepClone
(
this
.
searchForm
);
if
(
oParams
.
minBattery
&&
!
oParams
.
maxBattery
)
{
if
(
oParams
.
minBattery
&&
!
oParams
.
maxBattery
)
{
showToast
({
message
:
'请输入最大电量'
})
message
:
"请输入最大电量"
,
})
;
return
false
;
}
if
(
!
oParams
.
minBattery
&&
oParams
.
maxBattery
)
{
if
(
!
oParams
.
minBattery
&&
oParams
.
maxBattery
)
{
showToast
({
message
:
'请输入最小电量'
})
message
:
"请输入最小电量"
,
})
;
return
false
;
}
...
...
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