Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gxpt_web
Overview
Overview
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
pseer
gxpt_web
Commits
0a8d109f
Commit
0a8d109f
authored
Mar 06, 2024
by
YG8999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
设备房间绑定后,不允许修改,删除绑定后可以修改
parent
3e845db2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletions
+6
-1
index.vue
src/views/system/device/index.vue
+6
-1
No files found.
src/views/system/device/index.vue
View file @
0a8d109f
...
...
@@ -411,7 +411,8 @@ export default {
devPosition
:
null
,
gatewayId
:
null
,
voltage
:
null
,
signalValue
:
null
signalValue
:
null
,
roomId
:
null
};
this
.
resetForm
(
"form"
);
},
...
...
@@ -445,9 +446,13 @@ export default {
this
.
reset
();
const
id
=
row
.
id
||
this
.
ids
getDevice
(
id
).
then
(
response
=>
{
if
(
response
.
data
.
roomId
)
{
this
.
$modal
.
alert
(
'设备已绑定门店房间不能修改,请先到房间管理删除设备绑定!'
);
}
else
{
this
.
form
=
response
.
data
;
this
.
open
=
true
;
this
.
title
=
"修改设备信息"
;
}
});
},
/** 提交按钮 */
...
...
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