Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
Z
zhmes-agecal
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
耿迪迪
zhmes-agecal
Commits
091e31f7
Commit
091e31f7
authored
Sep 01, 2026
by
wanghao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1 老化过程中 获取卡号,获取IOT状态调整中
parent
0a1e841f
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
0 deletions
+6
-0
AllCommandHandler.java
...c/main/java/com/zehong/system/task/AllCommandHandler.java
+3
-0
index.vue
...-agecal-web/src/views/palletDeviceUploadFailure/index.vue
+1
-0
index.vue
...-agecal-web/src/views/palletDeviceUploadHistory/index.vue
+1
-0
RealTimeData.vue
...s-agecal-web/src/views/screen/components/RealTimeData.vue
+1
-0
No files found.
zhmes-agecal-system/src/main/java/com/zehong/system/task/AllCommandHandler.java
View file @
091e31f7
...
@@ -273,7 +273,10 @@ public class AllCommandHandler {
...
@@ -273,7 +273,10 @@ public class AllCommandHandler {
continue
;
continue
;
}
}
String
nbCode
=
palletDeviceBinding
.
getNbCode
();
String
nbCode
=
palletDeviceBinding
.
getNbCode
();
// 如果 nbCode 为空,则设状态为 2,加入待更新列表
if
(
StringUtils
.
isBlank
(
nbCode
))
{
if
(
StringUtils
.
isBlank
(
nbCode
))
{
palletDeviceBinding
.
setIotStatus
(
2
);
needUpdateList
.
add
(
palletDeviceBinding
);
continue
;
continue
;
}
}
...
...
zhmes-agecal-web/src/views/palletDeviceUploadFailure/index.vue
View file @
091e31f7
...
@@ -166,6 +166,7 @@
...
@@ -166,6 +166,7 @@
<
el
-
table
-
column
label
=
"IOT状态"
align
=
"center"
width
=
"120"
>
<
el
-
table
-
column
label
=
"IOT状态"
align
=
"center"
width
=
"120"
>
<
template
slot
-
scope
=
"scope"
>
<
template
slot
-
scope
=
"scope"
>
<
el
-
tag
type
=
"success"
v
-
if
=
"scope.row.iotStatus === 1"
>
正常
<
/el-tag
>
<
el
-
tag
type
=
"success"
v
-
if
=
"scope.row.iotStatus === 1"
>
正常
<
/el-tag
>
<
el
-
tag
type
=
"info"
v
-
if
=
"scope.row.iotStatus === 2"
>
NB
码为空
<
/el-tag
>
<
el
-
tag
type
=
"info"
v
-
if
=
"scope.row.iotStatus === 0"
>
异常
<
/el-tag
>
<
el
-
tag
type
=
"info"
v
-
if
=
"scope.row.iotStatus === 0"
>
异常
<
/el-tag
>
<
el
-
tag
type
=
"danger"
v
-
if
=
"scope.row.iotStatus === -9999"
>
通讯异常
<
/el-tag
>
<
el
-
tag
type
=
"danger"
v
-
if
=
"scope.row.iotStatus === -9999"
>
通讯异常
<
/el-tag
>
<
/template
>
<
/template
>
...
...
zhmes-agecal-web/src/views/palletDeviceUploadHistory/index.vue
View file @
091e31f7
...
@@ -156,6 +156,7 @@
...
@@ -156,6 +156,7 @@
<
el
-
table
-
column
label
=
"IOT状态"
align
=
"center"
width
=
"120"
>
<
el
-
table
-
column
label
=
"IOT状态"
align
=
"center"
width
=
"120"
>
<
template
slot
-
scope
=
"scope"
>
<
template
slot
-
scope
=
"scope"
>
<
el
-
tag
type
=
"success"
v
-
if
=
"scope.row.iotStatus === 1"
>
正常
<
/el-tag
>
<
el
-
tag
type
=
"success"
v
-
if
=
"scope.row.iotStatus === 1"
>
正常
<
/el-tag
>
<
el
-
tag
type
=
"info"
v
-
if
=
"scope.row.iotStatus === 2"
>
NB
码为空
<
/el-tag
>
<
el
-
tag
type
=
"info"
v
-
if
=
"scope.row.iotStatus === 0"
>
异常
<
/el-tag
>
<
el
-
tag
type
=
"info"
v
-
if
=
"scope.row.iotStatus === 0"
>
异常
<
/el-tag
>
<
el
-
tag
type
=
"danger"
v
-
if
=
"scope.row.iotStatus === -9999"
>
通讯异常
<
/el-tag
>
<
el
-
tag
type
=
"danger"
v
-
if
=
"scope.row.iotStatus === -9999"
>
通讯异常
<
/el-tag
>
<
/template
>
<
/template
>
...
...
zhmes-agecal-web/src/views/screen/components/RealTimeData.vue
View file @
091e31f7
...
@@ -201,6 +201,7 @@
...
@@ -201,6 +201,7 @@
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.iotStatus === 1"
class=
"write-success"
>
正常
</span>
<span
v-if=
"scope.row.iotStatus === 1"
class=
"write-success"
>
正常
</span>
<span
v-else-if=
"scope.row.iotStatus === 0"
class=
"write-failed"
>
异常
</span>
<span
v-else-if=
"scope.row.iotStatus === 0"
class=
"write-failed"
>
异常
</span>
<span
v-else-if=
"scope.row.iotStatus === 2"
class=
"write-failed"
>
NB码为空
</span>
<span
v-else-if=
"scope.row.iotStatus === -9999"
class=
"write-failed"
>
通讯异常
</span>
<span
v-else-if=
"scope.row.iotStatus === -9999"
class=
"write-failed"
>
通讯异常
</span>
<span
v-else
class=
"write-unknown"
>
-
</span>
<span
v-else
class=
"write-unknown"
>
-
</span>
</
template
>
</
template
>
...
...
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