diff --git a/ruoyi-ui/src/common/menuData.js b/ruoyi-ui/src/common/menuData.js
index b25c801b..b6fd53d7 100644
--- a/ruoyi-ui/src/common/menuData.js
+++ b/ruoyi-ui/src/common/menuData.js
@@ -231,7 +231,7 @@ export default [
component: "maintenanceOperations/smart/door/index.vue",
},
{
- title: "烟感报警监测",
+ title: "烟感监测",
name: "smoke",
path: "/maintain/smart/smoke",
component: "maintenanceOperations/smart/smoke/index.vue",
diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/smart/smoke/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/smart/smoke/index.vue
index 148e2dda..0397e06e 100644
--- a/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/smart/smoke/index.vue
+++ b/ruoyi-ui/src/views/JiHeExpressway/pages/maintenanceOperations/smart/smoke/index.vue
@@ -32,7 +32,7 @@
/>
-
+
@@ -126,8 +126,8 @@ export default {
}).then((result) => {
if (result.code != 200) return Message.error(result?.msg);
result.rows.forEach(e=>{
- e.directionName = e.direction === 1 ? '菏泽方向' :
- (e.direction === 3 ? '济南方向' : '双向');
+ e.directionName = e.direction == 1 ? '菏泽方向' :
+ (e.direction == 3 ? '济南方向' : '双向');
})
this.tableData = result.rows;
this.total = result.total;
@@ -145,6 +145,10 @@ export default {
method: "get",
}).then((result) => {
if (result.code != 200) return Message.error(result?.msg);
+ result.rows.forEach(e=>{
+ e.directionName = e.direction == 1 ? '菏泽方向' :
+ (e.direction == 3 ? '济南方向' : '双向');
+ })
this.tableData = result.rows;
this.total = result.total;
});