Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
device-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
device-platform
Commits
58c65bd8
Commit
58c65bd8
authored
Mar 10, 2022
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改pom文件
parent
7aac0bdd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
device-manager-ui/admin/src/views/device/list.vue
device-manager-ui/admin/src/views/device/list.vue
+3
-2
No files found.
device-manager-ui/admin/src/views/device/list.vue
View file @
58c65bd8
...
@@ -31,9 +31,10 @@ export default {
...
@@ -31,9 +31,10 @@ export default {
let
msg
=
""
;
let
msg
=
""
;
let
content
=
JSON
.
parse
(
obj
.
body
.
content
);
let
content
=
JSON
.
parse
(
obj
.
body
.
content
);
if
(
content
.
deviceOnlineStatus
==
1
)
{
if
(
content
.
deviceOnlineStatus
==
1
)
{
msg
=
_this
.
tableData
.
dict
[
content
.
deviceType
]
+
"
设备:
"
+
content
.
deviceCode
+
"
上线!
"
;
console
.
log
(
_this
.
tableData
.
dict
)
msg
=
_this
.
tableData
.
dict
.
deviceType
[
content
.
deviceType
]
+
"
设备:
"
+
content
.
deviceCode
+
"
上线!
"
;
}
else
{
}
else
{
msg
=
_this
.
tableData
.
dict
[
content
.
deviceType
]
+
"
设备:
"
+
content
.
deviceCode
+
"
离线!
"
;
msg
=
_this
.
tableData
.
dict
.
deviceType
[
content
.
deviceType
]
+
"
设备:
"
+
content
.
deviceCode
+
"
离线!
"
;
}
}
_this
.
$notify
({
_this
.
$notify
({
...
...
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