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 bd94c0a7
authored
Jul 01, 2022
by
张晓玮
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'zxw-v1.8.0' into 'v1.8.0'
bug 修改 See merge request
!44
2 parents
314eae1c
86bd4179
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
src/views/alarmCenter/alarm.vue
src/views/alarmCenter/alarmDetail.vue
src/views/alarmCenter/alarm.vue
View file @
bd94c0a
...
@@ -120,7 +120,7 @@ export default {
...
@@ -120,7 +120,7 @@ export default {
methods
:
{
methods
:
{
// 重置
// 重置
rest
()
{
rest
()
{
this
.
searchForm
=
{
dealStatus
:
""
,
alarmLevel
:
""
,
date
:
new
Date
(
)
}
this
.
searchForm
=
{
dealStatus
:
""
,
alarmLevel
:
""
,
date
:
moment
().
subtract
(
1
,
"days"
)
}
this
.
$refs
.
glsxTable
.
restParams
()
this
.
$refs
.
glsxTable
.
restParams
()
this
.
tableParams
=
this
.
getParams
();
this
.
tableParams
=
this
.
getParams
();
},
},
...
...
src/views/alarmCenter/alarmDetail.vue
View file @
bd94c0a
...
@@ -87,7 +87,7 @@
...
@@ -87,7 +87,7 @@
<div
class=
"cell"
>
<div
class=
"cell"
>
<div
class=
"name"
>
是否产生断电报警:
</div>
<div
class=
"name"
>
是否产生断电报警:
</div>
<div
class=
"txt"
>
<div
class=
"txt"
>
<span>
{{
detailInfo
.
isPowerOff
===
1
?
'是'
:
detailInfo
.
isPowerOff
==
0
?
'否'
:
'--'
}}
</span>
<span>
{{
detailInfo
.
isPowerOff
===
1
&&
detailInfo
.
alarmStatus
===
0
?
'是'
:
detailInfo
.
isPowerOff
!==
1
||
detailInfo
.
alarmStatus
!
==
0
?
'否'
:
'--'
}}
</span>
<el-button
type=
"primary"
size=
"mini"
@
click=
"goTamper"
v-if=
"Object.keys(detailInfo).length"
:disabled=
"detailInfo.isPowerOff !== 1 || detailInfo.alarmStatus !== 0"
class=
"btn"
>
详情
</el-button>
<el-button
type=
"primary"
size=
"mini"
@
click=
"goTamper"
v-if=
"Object.keys(detailInfo).length"
:disabled=
"detailInfo.isPowerOff !== 1 || detailInfo.alarmStatus !== 0"
class=
"btn"
>
详情
</el-button>
</div>
</div>
</div>
</div>
...
...
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