Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
L
laravelzh
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
冯超鹏
laravelzh
Commits
90f8e536
Commit
90f8e536
authored
Dec 16, 2020
by
Administrator
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新电磁阀控制
parent
47859650
Pipeline
#206
failed with stages
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
fire.vue
resources/js/views/monitor/fire.vue
+2
-2
No files found.
resources/js/views/monitor/fire.vue
View file @
90f8e536
...
@@ -276,11 +276,11 @@ export default {
...
@@ -276,11 +276,11 @@ export default {
return
shutoff
[
id
];
return
shutoff
[
id
];
}
,
}
,
unshutoff_status
(
state
)
{
unshutoff_status
(
state
)
{
return
state
===
1
?
'关闭'
:
'开启'
;
return
state
===
0
?
'关闭'
:
'开启'
;
}
,
}
,
// 修改切断装置状态
// 修改切断装置状态
changeShutoffStatus
(
id
,
shutoff_status
,
tid
)
{
changeShutoffStatus
(
id
,
shutoff_status
,
tid
)
{
updedata
({
deid
:
id
,
shutoff_status
:
shutoff_status
!==
1
?
1
:
2
,
tid
:
tid
}
)
updedata
({
deid
:
id
,
device_control
:
shutoff_status
!==
1
?
1
:
0
,
tid
:
tid
}
)
.
then
(
response
=>
{
.
then
(
response
=>
{
// this.devicelist();
// this.devicelist();
}
)
}
)
...
...
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