From b9d41cffca38907452b8ff3f88ff23b8b4e42ecb Mon Sep 17 00:00:00 2001 From: SunTao <328867980@qq.com> Date: Thu, 13 Feb 2025 11:34:23 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E6=B5=B7=E4=BF=A1=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/xj/hisense/inter-change.js | 53 ++++ src/views/xj/hisense/bridge/index.vue | 34 +++ .../inter-change/components/add-inter.vue | 37 +++ src/views/xj/hisense/inter-change/index.vue | 277 ++++++++++++++++++ src/views/xj/hisense/ramp/index.vue | 34 +++ .../xj/hisense/route-information/index.vue | 34 +++ src/views/xj/hisense/station/index.vue | 34 +++ src/views/xj/hisense/task-area/index.vue | 34 +++ src/views/xj/hisense/tunnel/index.vue | 34 +++ src/views/xj/hisense/work-station/index.vue | 35 +++ .../components/img-dialog.vue | 10 +- .../confirmation-management/index.vue | 244 +++------------ 12 files changed, 663 insertions(+), 197 deletions(-) create mode 100644 src/api/xj/hisense/inter-change.js create mode 100644 src/views/xj/hisense/bridge/index.vue create mode 100644 src/views/xj/hisense/inter-change/components/add-inter.vue create mode 100644 src/views/xj/hisense/inter-change/index.vue create mode 100644 src/views/xj/hisense/ramp/index.vue create mode 100644 src/views/xj/hisense/route-information/index.vue create mode 100644 src/views/xj/hisense/station/index.vue create mode 100644 src/views/xj/hisense/task-area/index.vue create mode 100644 src/views/xj/hisense/tunnel/index.vue create mode 100644 src/views/xj/hisense/work-station/index.vue diff --git a/src/api/xj/hisense/inter-change.js b/src/api/xj/hisense/inter-change.js new file mode 100644 index 0000000..4a04808 --- /dev/null +++ b/src/api/xj/hisense/inter-change.js @@ -0,0 +1,53 @@ +/* + * @Author: SunTao 328867980@qq.com + * @Date: 2025-02-13 09:11:50 + * @LastEditors: SunTao 328867980@qq.com + * @LastEditTime: 2025-02-13 10:12:08 + * @FilePath: \znxjxt-ui\src\api\xj\hisense\inter-change.js + * @Description: 海信-互通立交 + */ +import request from "@/utils/request"; + +// 获取列表数据 +export function getList(query) { + return request({ + url: "/hxCross/page", + method: "get", + params: query, + }); +} + +// 新增数据 +export function add(data) { + return request({ + url: "/hxCross", + method: "post", + data, + }); +} + +// 更新数据 +export function updata(data) { + return request({ + url: "/hxCross", + method: "put", + data, + }); +} + +// 删除数据 +export function delData(id) { + return request({ + url: `/hxCross/${id}`, + method: "delete", + }); +} + +// 获取互通立交下拉数据 +export function getDropDown(params) { + return request({ + url: "/hxCross/dropDown", + method: "get", + params, + }); +} diff --git a/src/views/xj/hisense/bridge/index.vue b/src/views/xj/hisense/bridge/index.vue new file mode 100644 index 0000000..46b0057 --- /dev/null +++ b/src/views/xj/hisense/bridge/index.vue @@ -0,0 +1,34 @@ + + + + + + diff --git a/src/views/xj/hisense/inter-change/components/add-inter.vue b/src/views/xj/hisense/inter-change/components/add-inter.vue new file mode 100644 index 0000000..d9dd382 --- /dev/null +++ b/src/views/xj/hisense/inter-change/components/add-inter.vue @@ -0,0 +1,37 @@ + + + + + + diff --git a/src/views/xj/hisense/inter-change/index.vue b/src/views/xj/hisense/inter-change/index.vue new file mode 100644 index 0000000..1694fbc --- /dev/null +++ b/src/views/xj/hisense/inter-change/index.vue @@ -0,0 +1,277 @@ + + + + + + diff --git a/src/views/xj/hisense/ramp/index.vue b/src/views/xj/hisense/ramp/index.vue new file mode 100644 index 0000000..56653db --- /dev/null +++ b/src/views/xj/hisense/ramp/index.vue @@ -0,0 +1,34 @@ + + + + + + diff --git a/src/views/xj/hisense/route-information/index.vue b/src/views/xj/hisense/route-information/index.vue new file mode 100644 index 0000000..3c20e28 --- /dev/null +++ b/src/views/xj/hisense/route-information/index.vue @@ -0,0 +1,34 @@ + + + + + + diff --git a/src/views/xj/hisense/station/index.vue b/src/views/xj/hisense/station/index.vue new file mode 100644 index 0000000..29600f0 --- /dev/null +++ b/src/views/xj/hisense/station/index.vue @@ -0,0 +1,34 @@ + + + + + + diff --git a/src/views/xj/hisense/task-area/index.vue b/src/views/xj/hisense/task-area/index.vue new file mode 100644 index 0000000..e83642b --- /dev/null +++ b/src/views/xj/hisense/task-area/index.vue @@ -0,0 +1,34 @@ + + + + + + diff --git a/src/views/xj/hisense/tunnel/index.vue b/src/views/xj/hisense/tunnel/index.vue new file mode 100644 index 0000000..db8a2e7 --- /dev/null +++ b/src/views/xj/hisense/tunnel/index.vue @@ -0,0 +1,34 @@ + + + + + + diff --git a/src/views/xj/hisense/work-station/index.vue b/src/views/xj/hisense/work-station/index.vue new file mode 100644 index 0000000..9f41947 --- /dev/null +++ b/src/views/xj/hisense/work-station/index.vue @@ -0,0 +1,35 @@ + + + + + + + diff --git a/src/views/xj/inspection/confirmation-management/components/img-dialog.vue b/src/views/xj/inspection/confirmation-management/components/img-dialog.vue index 1f6c8a1..04a1b7e 100644 --- a/src/views/xj/inspection/confirmation-management/components/img-dialog.vue +++ b/src/views/xj/inspection/confirmation-management/components/img-dialog.vue @@ -2,7 +2,7 @@ * @Author: SunTao 328867980@qq.com * @Date: 2024-10-22 15:30:25 * @LastEditors: SunTao 328867980@qq.com - * @LastEditTime: 2025-02-11 14:17:00 + * @LastEditTime: 2025-02-13 11:23:54 * @FilePath: \znxjxt-ui\src\views\big-screen\components\img-dialog.vue * @Description: 大屏查看图片弹窗 --> @@ -130,6 +130,10 @@ export default { type: Object, default: () => { }, }, + dateTime: { + type: Array, + default: () => [], + }, segmentList: { type: Array, default: () => [], @@ -375,6 +379,8 @@ export default { const data = { ...this.imgForm, ...this.params, + startTime: this.dateTime ? this.dateTime[0] : "", + endTime: this.dateTime ? this.dateTime[1] : "", lastId: this.defectData[this.defectData.length - 1]?.snapshotId || "", }; listDefect(data) @@ -399,6 +405,8 @@ export default { this.loading = true; const data = { ...this.imgForm, + startTime: this.dateTime ? this.dateTime[0] : "", + endTime: this.dateTime ? this.dateTime[1] : "", page: this.pageTip, size: this.params.size, startId: this.defectData[0]?.snapshotId || "", diff --git a/src/views/xj/inspection/confirmation-management/index.vue b/src/views/xj/inspection/confirmation-management/index.vue index 735a271..11bc105 100644 --- a/src/views/xj/inspection/confirmation-management/index.vue +++ b/src/views/xj/inspection/confirmation-management/index.vue @@ -2,7 +2,7 @@ * @Author: SunTao 328867980@qq.com * @Date: 2024-11-01 13:17:41 * @LastEditors: SunTao 328867980@qq.com - * @LastEditTime: 2025-01-10 14:44:29 + * @LastEditTime: 2025-02-13 11:23:01 * @FilePath: \znxjxt-ui\src\views\xj\inspection\confirmation-management\index.vue * @Description: 巡检信息-病害确认 --> @@ -10,81 +10,34 @@ - + - + - + + {{ scope.row.targetLen * 1 <= 0 ? "" : `${scope.row.targetLen}米` }} - + @@ -276,35 +146,17 @@
- +
- - + +