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 @@