From e23ed1c70831f3bd12d17a0f911a1158d9c1b872 Mon Sep 17 00:00:00 2001 From: SunTao <328867980@qq.com> Date: Mon, 10 Mar 2025 10:37:41 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E4=BF=AE=E6=94=B9=E5=85=BB?= =?UTF-8?q?=E6=8A=A4=E9=80=9A=E7=9F=A5=E5=8D=95=E9=9D=9E=E7=A9=BA=E5=A4=84?= =?UTF-8?q?=E7=90=86=EF=BC=8C=E9=80=89=E6=8B=A9=E7=97=85=E5=AE=B3=E5=BC=B9?= =?UTF-8?q?=E7=AA=97=E5=B8=A6=E5=85=A5=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/xj/document.js | 9 +++++++ .../components/disease-dialog.vue | 26 +++++++++++++++++-- .../components/edit-dialog.vue | 16 +++++++++--- .../xj/document/maintenance-notice/index.vue | 6 ++--- 4 files changed, 48 insertions(+), 9 deletions(-) diff --git a/src/api/xj/document.js b/src/api/xj/document.js index 17d52e6..a7b072d 100644 --- a/src/api/xj/document.js +++ b/src/api/xj/document.js @@ -213,3 +213,12 @@ export function getCrossDropDown(params) { params, }); } + +// 根据所在路段返回道路名称id +export function getSegmentId(params) { + return request({ + url: "/hxsection/getSectionBySectionCode", + method: "get", + params, + }); +} diff --git a/src/views/xj/document/maintenance-notice/components/disease-dialog.vue b/src/views/xj/document/maintenance-notice/components/disease-dialog.vue index cd4eccc..9ab61cc 100644 --- a/src/views/xj/document/maintenance-notice/components/disease-dialog.vue +++ b/src/views/xj/document/maintenance-notice/components/disease-dialog.vue @@ -2,7 +2,7 @@ * @Author: SunTao 328867980@qq.com * @Date: 2025-02-10 13:46:51 * @LastEditors: SunTao 328867980@qq.com - * @LastEditTime: 2025-02-27 10:14:30 + * @LastEditTime: 2025-03-10 09:24:42 * @FilePath: \znxjxt-ui\src\views\xj\document\maintenance-notice\components\disease-dialog.vue * @Description: 生成通知单-新增弹窗-选择病害 --> @@ -145,7 +145,7 @@