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 86bd4179
authored
Jul 01, 2022
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
bug 修改
1 parent
a45ce5d9
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 @
86bd417
...
...
@@ -120,7 +120,7 @@ export default {
methods
:
{
// 重置
rest
()
{
this
.
searchForm
=
{
dealStatus
:
""
,
alarmLevel
:
""
,
date
:
new
Date
(
)
}
this
.
searchForm
=
{
dealStatus
:
""
,
alarmLevel
:
""
,
date
:
moment
().
subtract
(
1
,
"days"
)
}
this
.
$refs
.
glsxTable
.
restParams
()
this
.
tableParams
=
this
.
getParams
();
},
...
...
src/views/alarmCenter/alarmDetail.vue
View file @
86bd417
...
...
@@ -87,7 +87,7 @@
<div
class=
"cell"
>
<div
class=
"name"
>
是否产生断电报警:
</div>
<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>
</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