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
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
index.vue
src/views/system/device/index.vue
+9
-4
No files found.
src/views/system/device/index.vue
View file @
0a8d109f
...
@@ -411,7 +411,8 @@ export default {
...
@@ -411,7 +411,8 @@ export default {
devPosition
:
null
,
devPosition
:
null
,
gatewayId
:
null
,
gatewayId
:
null
,
voltage
:
null
,
voltage
:
null
,
signalValue
:
null
signalValue
:
null
,
roomId
:
null
};
};
this
.
resetForm
(
"form"
);
this
.
resetForm
(
"form"
);
},
},
...
@@ -445,9 +446,13 @@ export default {
...
@@ -445,9 +446,13 @@ export default {
this
.
reset
();
this
.
reset
();
const
id
=
row
.
id
||
this
.
ids
const
id
=
row
.
id
||
this
.
ids
getDevice
(
id
).
then
(
response
=>
{
getDevice
(
id
).
then
(
response
=>
{
this
.
form
=
response
.
data
;
if
(
response
.
data
.
roomId
)
{
this
.
open
=
true
;
this
.
$modal
.
alert
(
'设备已绑定门店房间不能修改,请先到房间管理删除设备绑定!'
);
this
.
title
=
"修改设备信息"
;
}
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