From 9e7ffe485a5c62f15cb1a61eb5f6c30e3c936e03 Mon Sep 17 00:00:00 2001
From: SunTao <328867980@qq.com>
Date: Tue, 21 Jan 2025 13:02:19 +0800
Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E4=BF=AE=E6=94=B9=E5=AE=9A?=
=?UTF-8?q?=E6=97=B6=E5=99=A8=E6=97=B6=E9=97=B4=EF=BC=8C=E4=BF=AE=E6=94=B9?=
=?UTF-8?q?=E8=B7=AF=E6=AE=B5=E6=9F=A5=E8=AF=A2=E6=9D=A1=E4=BB=B6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/layout/components/Navbar.vue | 5 +-
src/views/big-screen/index.vue | 9 +-
.../inspection-vehicles.vue | 4 +-
.../components/edit-dialog.vue | 352 +++++++++++++++++-
.../xj/document/maintenance-notice/index.vue | 8 +-
.../daily-monitoring/index.vue | 6 +-
.../confirmation-management/index.vue | 8 +-
.../components/merge-dialog.vue | 10 +-
.../xj/inspection/road-management/index.vue | 10 +-
9 files changed, 373 insertions(+), 39 deletions(-)
diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue
index 50af69e..7381618 100644
--- a/src/layout/components/Navbar.vue
+++ b/src/layout/components/Navbar.vue
@@ -207,9 +207,12 @@ export default {
if (code === 200) {
this.messageList = rows;
this.noticeNum = total;
+ if(total > 99){
+ clearInterval(this.messageTimer);
+ }
}
});
- }, 5000);
+ }, 120000);
getNoticeList({ read: 1 }).then(({ code, rows, total }) => {
if (code === 200) {
this.messageList = rows;
diff --git a/src/views/big-screen/index.vue b/src/views/big-screen/index.vue
index 66998e9..72f9225 100644
--- a/src/views/big-screen/index.vue
+++ b/src/views/big-screen/index.vue
@@ -2,7 +2,7 @@
* @Author: SunTao 328867980@qq.com
* @Date: 2024-10-17 11:34:00
* @LastEditors: SunTao 328867980@qq.com
- * @LastEditTime: 2025-01-10 15:24:02
+ * @LastEditTime: 2025-01-21 11:32:51
* @FilePath: \znxjxt-ui\src\views\big-screen\index.vue
* @Description: 大屏首页
-->
@@ -719,9 +719,12 @@ export default {
if (code === 200) {
this.messageList = rows;
this.noticeNum = total;
+ if(total > 99){
+ clearInterval(this.messageTimer);
+ }
}
});
- }, 5000);
+ }, 120000);
getNoticeList({ read: 1 }).then(({ code, rows, total }) => {
if (code === 200) {
this.messageList = rows;
@@ -1142,7 +1145,7 @@ export default {
};
}
mapLineList(data).then(({ code, data }) => {
- if (code === 200 && data) {
+ if (code === 200 && data.lines.length > 0) {
this.mapLegendList = data.basLinetypeSetting;
this.lineString = data.lines;
this.drawLine();
diff --git a/src/views/big-screen/overview-components/inspection-vehicles.vue b/src/views/big-screen/overview-components/inspection-vehicles.vue
index 211ea89..b1e35cd 100644
--- a/src/views/big-screen/overview-components/inspection-vehicles.vue
+++ b/src/views/big-screen/overview-components/inspection-vehicles.vue
@@ -2,7 +2,7 @@
* @Author: SunTao 328867980@qq.com
* @Date: 2024-11-08 09:40:18
* @LastEditors: SunTao 328867980@qq.com
- * @LastEditTime: 2024-12-27 16:01:37
+ * @LastEditTime: 2025-01-21 11:27:56
* @FilePath: \znxjxt-ui\src\views\big-screen\overview-components\inspection-vehicles.vue
* @Description: 总览大屏-巡检车辆
-->
@@ -238,7 +238,7 @@ export default {
}
}
);
- }, 5000);
+ }, 120000);
getCarList({ no: this.tableInput, companyId: this.companyId }).then(
({ code, data }) => {
if (code === 200) {
diff --git a/src/views/xj/document/maintenance-notice/components/edit-dialog.vue b/src/views/xj/document/maintenance-notice/components/edit-dialog.vue
index 1d045e1..c83edc6 100644
--- a/src/views/xj/document/maintenance-notice/components/edit-dialog.vue
+++ b/src/views/xj/document/maintenance-notice/components/edit-dialog.vue
@@ -2,7 +2,7 @@
* @Author: SunTao 328867980@qq.com
* @Date: 2024-11-20 11:58:33
* @LastEditors: SunTao 328867980@qq.com
- * @LastEditTime: 2025-01-15 16:18:16
+ * @LastEditTime: 2025-01-21 11:14:24
* @FilePath: \znxjxt-ui\src\views\xj\document\maintenance-notice\components\edit-dialog.vue
* @Description: 养护通知单编辑弹窗
-->
@@ -16,7 +16,139 @@
label-width="7rem"
>
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -19,9 +19,9 @@
>
-
+
@@ -269,7 +269,7 @@ export default {
// 表单绑定
mergeForm: {
// 道路名称绑定
- segmentName: "",
+ segmentId: "",
// 病害类型绑定
classType: "",
defectType: "",
@@ -356,7 +356,7 @@ export default {
this.searchForm = {};
this.mergeForm = {
// 道路名称绑定
- segmentName: "",
+ segmentId: "",
// 病害类型绑定
defectType: "",
classType: "",
diff --git a/src/views/xj/inspection/road-management/index.vue b/src/views/xj/inspection/road-management/index.vue
index 1ba3f6f..b6a2e87 100644
--- a/src/views/xj/inspection/road-management/index.vue
+++ b/src/views/xj/inspection/road-management/index.vue
@@ -2,7 +2,7 @@
* @Author: SunTao 328867980@qq.com
* @Date: 2024-10-11 15:14:16
* @LastEditors: SunTao 328867980@qq.com
- * @LastEditTime: 2025-01-15 16:52:53
+ * @LastEditTime: 2025-01-21 10:48:28
* @FilePath: \znxjxt-ui\src\views\xj\inspection\road-management\index.vue
* @Description: 巡检信息-路产管理
-->
@@ -17,9 +17,9 @@
:inline="true"
label-width="100px"
>
-
+