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 76eafe64
authored
Apr 16, 2022
by
张杰
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
v1.6.0版本需求
1 parent
4ffd8278
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
src/views/alarmCenter/fence.vue
src/views/alarmCenter/shutdown.vue
src/views/reportManage/electricity.vue
src/views/alarmCenter/fence.vue
View file @
76eafe6
...
...
@@ -10,7 +10,7 @@
<div
class=
"search_box"
>
<el-form
:inline=
"true"
size=
"small"
>
<el-form-item
label=
"关键字"
>
<el-input
v-model=
"searchForm.keywords"
class=
"long_input"
placeholder=
"设备号 | 姓名 | 车架号 | 业务工单"
maxlength=
"20"
></el-input>
<el-input
v-model
.
trim
=
"searchForm.keywords"
class=
"long_input"
placeholder=
"设备号 | 姓名 | 车架号 | 业务工单"
maxlength=
"20"
></el-input>
</el-form-item>
<el-form-item
label=
"车辆归属:"
>
<el-popover
v-model=
"filterVisible"
placement=
"bottom-start"
width=
"400"
trigger=
"click"
>
...
...
src/views/alarmCenter/shutdown.vue
View file @
76eafe6
...
...
@@ -19,7 +19,7 @@
</el-date-picker>
</el-form-item>
<el-form-item
label=
"关键字"
>
<el-input
v-model=
"searchForm.keywords"
class=
"long_input"
placeholder=
"设备号 | 姓名 | 车架号 | 业务工单"
maxlength=
"20"
></el-input>
<el-input
v-model
.
trim
=
"searchForm.keywords"
class=
"long_input"
placeholder=
"设备号 | 姓名 | 车架号 | 业务工单"
maxlength=
"20"
></el-input>
</el-form-item>
<el-form-item
label=
"车辆归属:"
>
<el-popover
v-model=
"filterVisible"
placement=
"bottom-start"
width=
"400"
trigger=
"click"
>
...
...
src/views/reportManage/electricity.vue
View file @
76eafe6
...
...
@@ -179,13 +179,13 @@ export default {
// 获取查询参数
getParams
()
{
let
oParams
=
deepClone
(
this
.
searchForm
);
if
(
oParams
.
minBattery
&&
!
oParams
.
maxBattery
)
{
if
(
(
oParams
.
minBattery
||
oParams
.
minBattery
==
0
)
&&
!
oParams
.
maxBattery
&&
oParams
.
maxBattery
!==
0
)
{
showToast
({
message
:
"请输入最大电量"
,
});
return
false
;
}
if
(
!
oParams
.
minBattery
&&
oParams
.
m
axBattery
)
{
if
(
!
oParams
.
minBattery
&&
oParams
.
m
inBattery
!==
0
&&
(
oParams
.
maxBattery
||
oParams
.
maxBattery
==
0
)
)
{
showToast
({
message
:
"请输入最小电量"
,
});
...
...
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