Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
E
energyai_vue
Project
Project
Details
Activity
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
葛齐林
energyai_vue
Commits
5cbb8703
Commit
5cbb8703
authored
Oct 25, 2021
by
dxw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tj
parent
f65cf8e7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
1 deletion
+20
-1
page.vue
src/pages/eq/hall/page.vue
+20
-1
No files found.
src/pages/eq/hall/page.vue
View file @
5cbb8703
...
...
@@ -174,7 +174,7 @@
>
<el-button
type=
"text"
@
click=
"
statusHandle
"
@
click=
"
gzHandle(scope.scope)
"
v-if=
"activeTab == 'b45827c068254695864ee3c1d42573cb' && scope.scope.status == 4"
>
故障复位
</el-button
>
...
...
@@ -669,6 +669,25 @@ export default {
}
})
},
gzHandle
(
row
){
this
.
$http
({
url
:
this
.
$http
.
adornUrl
(
'/equipment/onOrOff'
),
method
:
'post'
,
data
:
{
id
:
row
.
id
,
status
:
1
,
actionName
:
row
.
name
+
"故障复位"
,
actionType
:
12
}
}).
then
((
data
)
=>
{
if
(
data
&&
data
.
code
===
0
)
{
this
.
$message
.
success
(
data
.
msg
)
this
.
getDataList
(
this
.
pageIndex
,
this
.
pageSize
)
}
else
{
this
.
$message
.
error
(
data
.
msg
)
}
})
},
// 人工节能
handleSwitch
(
state
)
{
this
.
isSaving
=
state
...
...
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