From de2d0184a9a9b613af7c4a3d343962f3f7f9013c Mon Sep 17 00:00:00 2001 From: fanjia <3278303149@qq.com> Date: Thu, 7 May 2026 09:32:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=A4=A7=E5=B1=8F=E7=9A=84?= =?UTF-8?q?=E5=9C=B0=E5=9B=BE=EF=BC=8C=E4=BD=BF=E7=94=A8=E5=A4=A9=E5=9C=B0?= =?UTF-8?q?=E5=9B=BE=E3=80=82=E8=BF=9B=E5=85=A5=E9=A1=B5=E9=9D=A2=E5=8A=A0?= =?UTF-8?q?=E8=BD=BD=E6=B6=89=E7=81=BE=E9=9A=90=E6=82=A3=E7=82=B9=E6=95=B0?= =?UTF-8?q?=E6=8D=AE,=E4=BF=AE=E6=94=B9=E6=89=80=E6=9C=89=E5=A4=A7?= =?UTF-8?q?=E5=B1=8F=E9=A1=B9=E7=9B=AE=E6=96=87=E5=AD=97=E6=94=B9=E4=B8=BA?= =?UTF-8?q?=E9=A9=BB=E5=9C=B0=EF=BC=8C=E5=A4=A7=E5=B1=8F=E9=A9=BB=E5=9C=B0?= =?UTF-8?q?=E5=9B=BE=E6=A0=87=E5=8A=A0=E8=BD=BD=E4=BC=98=E5=8C=96=EF=BC=8C?= =?UTF-8?q?=E5=8E=BB=E9=99=A4=E6=9C=AC=E8=BD=AE=E5=AD=97=E6=AE=B5=EF=BC=8C?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E7=BD=91=E7=BB=9C=E7=94=B5=E8=AF=9D=E5=BC=B9?= =?UTF-8?q?=E7=AA=97=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Dialog/aiWarningResultDialog.vue | 4 +- .../Dialog/clearanceSituationDialog.vue | 9 +- .../RiskWarning/Dialog/confirmDialog.vue | 86 +- .../Dialog/hazardPointSituationDialog.vue | 23 +- .../RiskWarning/Dialog/impactPointDialog.vue | 49 +- .../Dialog/patrolMileageDialog.vue | 190 +- .../Dialog/responseStatusDialog.vue | 268 ++- .../Dialog/softPhoneConfigDialog.vue | 370 ++++ .../RiskWarning/Dialog/warningInfoDialog.vue | 192 +- .../Dialog/warningSituationDialog.vue | 287 ++- .../screen/src/views/RiskWarning/bottom.vue | 181 +- .../RiskWarning/component/ChongqingMap.vue | 1908 ++++++++++------- .../component/WeatherWarningTable.vue | 230 +- .../src/views/RiskWarning/component/index.js | 143 +- .../src/views/RiskWarning/component/table.vue | 113 - .../screen/src/views/RiskWarning/index.vue | 35 +- .../screen/src/views/RiskWarning/left.vue | 15 +- .../screen/src/views/RiskWarning/right.vue | 13 +- packages/screen/src/views/RiskWarning/top.vue | 15 +- .../src/views/WarningManagement/law/index.js | 2 +- 20 files changed, 2245 insertions(+), 1888 deletions(-) create mode 100644 packages/screen/src/views/RiskWarning/Dialog/softPhoneConfigDialog.vue delete mode 100644 packages/screen/src/views/RiskWarning/component/table.vue diff --git a/packages/screen/src/views/RiskWarning/Dialog/aiWarningResultDialog.vue b/packages/screen/src/views/RiskWarning/Dialog/aiWarningResultDialog.vue index 0455e7a..d2afd01 100644 --- a/packages/screen/src/views/RiskWarning/Dialog/aiWarningResultDialog.vue +++ b/packages/screen/src/views/RiskWarning/Dialog/aiWarningResultDialog.vue @@ -399,7 +399,7 @@ const currentWarningInfo = computed(() => { // 影响范围标签页 const impactTabs = ref([ { key: 'point', label: '影响点' }, - { key: 'project', label: '影响项目' }, + { key: 'project', label: '影响驻地' }, ]); const activeImpactTab = ref('project'); @@ -413,7 +413,7 @@ const aiiTypeArr = ref([ { number: '21', label: '风险路段' }, { number: '21', label: '桥梁' }, { number: '21', label: '隧道' }, - { number: '21', label: '项目' }, + { number: '21', label: '驻地' }, ]); // 影响项目 const impactProjectDataTable = ref([ diff --git a/packages/screen/src/views/RiskWarning/Dialog/clearanceSituationDialog.vue b/packages/screen/src/views/RiskWarning/Dialog/clearanceSituationDialog.vue index a1cbf86..0f7b8f1 100644 --- a/packages/screen/src/views/RiskWarning/Dialog/clearanceSituationDialog.vue +++ b/packages/screen/src/views/RiskWarning/Dialog/clearanceSituationDialog.vue @@ -116,7 +116,14 @@ watch( (newVal) => { console.log('newVal', newVal) if (newVal.label) { - filterForm.value.roadConditionType = newVal.label.substring(0, newVal.label.length - 1) || '' + // 根据 label 映射对应的管控措施类型 + const labelMap = { + 封闭管控数: '全幅封闭', + 告警阻拦处数: '告警阻拦', + '限速(限车型)数': '限速', + 半幅通行数: '半幅封闭', + } + filterForm.value.roadConditionType = labelMap[newVal.label] || newVal.label.substring(0, newVal.label.length - 1) || '' currentPage.value = 1 fetchData() } else { diff --git a/packages/screen/src/views/RiskWarning/Dialog/confirmDialog.vue b/packages/screen/src/views/RiskWarning/Dialog/confirmDialog.vue index 92793bf..650b096 100644 --- a/packages/screen/src/views/RiskWarning/Dialog/confirmDialog.vue +++ b/packages/screen/src/views/RiskWarning/Dialog/confirmDialog.vue @@ -1,39 +1,51 @@ diff --git a/packages/screen/src/views/RiskWarning/Dialog/warningInfoDialog.vue b/packages/screen/src/views/RiskWarning/Dialog/warningInfoDialog.vue index fc5b5dc..f2debe5 100644 --- a/packages/screen/src/views/RiskWarning/Dialog/warningInfoDialog.vue +++ b/packages/screen/src/views/RiskWarning/Dialog/warningInfoDialog.vue @@ -26,12 +26,7 @@ @change="handleWarningLevelChange" clearable > - +
@@ -43,12 +38,7 @@ @change="handleWarningLevelChange" clearable > - +
@@ -60,12 +50,7 @@ @change="handleWarningLevelChange" clearable > - +
@@ -77,12 +62,7 @@ @change="handleWarningLevelChange" clearable > - +
@@ -107,17 +87,12 @@ diff --git a/packages/screen/src/views/RiskWarning/index.vue b/packages/screen/src/views/RiskWarning/index.vue index e060a74..01b558b 100644 --- a/packages/screen/src/views/RiskWarning/index.vue +++ b/packages/screen/src/views/RiskWarning/index.vue @@ -103,6 +103,7 @@ v-model:visible="dialogVisible.warningInfo" @close="closeDialog('warningInfo')" @responseStatus="openDialog('responseStatus')" + @getResponseStatusrowFn="getResponseStatusfn" /> @@ -129,6 +130,7 @@ - + @@ -373,7 +376,7 @@ const roadItem = ref({}) const showRoadStats = ref(false) const roadItemClick = (item) => { console.log('点击路段:', item) - roadItem.value = {...item} + roadItem.value = { ...item } showRoadStats.value = true } @@ -387,8 +390,9 @@ const handleHideRoadStats = () => { const handleHazardItemClick = (item) => { console.log('点击隐患点:', item) // 调用地图组件的方法获取风险点数据 + let items = { ...item } if (chongqingMapRef.value) { - chongqingMapRef.value.handleHazardItemClick(item) + chongqingMapRef.value.handleHazardItemClick(items, false) } } const showHazardPopup = ref(false) @@ -459,17 +463,17 @@ const impactPointDetailItem = ref({}) // 处理影响点点击 const handleImpactPointClick = (item) => { console.log('影响点点击:', item) - impactPointDetailItem.value = item + impactPointDetailItem.value = { ...item } } const handleImpactItem = ref({}) const handleImpactClickItem = (item) => { console.log('影响点点击详情:', item) - handleImpactItem.value = item + handleImpactItem.value = { ...item } } const tongnanInfoItemData = ref({}) const tongnanInfoItemDatafn = (item) => { console.log('点击详情:', item) - tongnanInfoItemData.value = item + tongnanInfoItemData.value = { ...item } } // 关闭弹窗 const closeDialog = (dialogName) => { @@ -482,7 +486,7 @@ const closeDialog = (dialogName) => { const handleOpenHazardPointSituation = (item) => { console.log('打开涉灾隐患点情况弹窗:', item) hazardPointDialogTitle.value = '涉灾隐患点情况' - hazardPointData.value = item + hazardPointData.value = { ...item } dialogVisible.value.hazardPointSituation = true } @@ -502,28 +506,33 @@ const handleOpenRoadSectionSituation = (item) => { const warningitem = ref({}) const handleWarningClick = (item) => { console.log('气象预警点击:', item) - warningitem.value = item + warningitem.value = { ...item } } const clearanceSituationDialogItemData = ref({}) const handleItemData = (item) => { console.log('点击详情:', item) - clearanceSituationDialogItemData.value = item + clearanceSituationDialogItemData.value = { ...item } } const dispatchDateRange = ref([]) const handleDispatchDateRange = (range) => { - dispatchDateRange.value = range + dispatchDateRange.value = [...range] } const rightDateRange = ref([]) const updateDateRange = (range) => { console.log('更新日期范围:', range) - rightDateRange.value = range + rightDateRange.value = [...range] } const filterForm = ref({}) const updateFilterForm = (item) => { console.log('更新筛选表单:', item) - filterForm.value = item + filterForm.value = { ...item } +} +const responseStatusRow = ref({}) +const getResponseStatusfn = (row) => { + console.log('已叫应详情:', row) + responseStatusRow.value = row } // 确认对话框配置 @@ -571,7 +580,7 @@ const handleDistrictClick = (item) => { } else if (item.data.roadType == 'rural') { openDialog('responseSituation') } else if (item.data.type == 'project' && item.data.roadType == '-') { - // 项目 + // 驻地 openDialog('tongnanResponsible') } } diff --git a/packages/screen/src/views/RiskWarning/left.vue b/packages/screen/src/views/RiskWarning/left.vue index 7ef9c8b..2367720 100644 --- a/packages/screen/src/views/RiskWarning/left.vue +++ b/packages/screen/src/views/RiskWarning/left.vue @@ -70,7 +70,7 @@ - +
@@ -79,7 +79,7 @@