diff --git a/.eslintrc.cjs b/.eslintrc.cjs deleted file mode 100644 index 212a83f..0000000 --- a/.eslintrc.cjs +++ /dev/null @@ -1,22 +0,0 @@ -module.exports = { - env: { - browser: true, - es2021: true, - node: true - }, - extends: [ - 'eslint:recommended', - 'plugin:vue/vue3-recommended' - ], - parserOptions: { - ecmaVersion: 'latest', - sourceType: 'module' - }, - plugins: ['vue'], - rules: { - 'vue/multi-word-component-names': 'off', - 'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off', - 'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off', - 'vue/no-v-html': 'off' - } -} diff --git a/packages/screen/src/views/RiskWarning/Dialog/aiWarningResultDialog.vue b/packages/screen/src/views/RiskWarning/Dialog/aiWarningResultDialog.vue index 000f837..9160436 100644 --- a/packages/screen/src/views/RiskWarning/Dialog/aiWarningResultDialog.vue +++ b/packages/screen/src/views/RiskWarning/Dialog/aiWarningResultDialog.vue @@ -141,6 +141,18 @@ > {{ currentWarningInfo.whistle }} +
+ {{ currentWarningInfo.contractor }} +
+
+ {{ currentWarningInfo.person }} +
@@ -268,7 +280,7 @@ const emit = defineEmits(['update:visible', 'close']); const warningData = ref({ publishOrg: '', warningContent: - '潼南区气象台2025年11月13日0时40分发布“暴雨蓝色预警tt信号”,预计23日0:40-6:40,龙形、宝龙、上和、大佛、桂林、玉溪、米心、花岩、双江、古溪、群力、柏梓、崇龛、梓潼、太安等15个乡镇(街道)强降水趋于减弱,未来6小时累计雨量将达50~100毫米,最大小时雨强将达20~40毫米,局地伴有雷电、阵性大风,请各地注意防范。', + '黔江区气象台2026年4月16日01时00分发布“暴雨红色预警信号”,过去1小时,双槐雨量已达90毫米,预计6日1:00-7:00,濯水镇街强降水仍将持续,未来6小时累计雨量将达90~160毫米,最大小时雨强将达80~100毫米,局地伴有雷电、阵性大风,地质灾害、中小河流洪水、山洪、城乡积涝等灾害风险高,请注意防范。', effectiveTime: '', expireTime: '', }); @@ -297,17 +309,19 @@ const hierarchyLevels = ref([ // 右侧选项卡数据 const hierarchyTabs = ref([ - { key: 'city-leader', label: '公路中心领导', parentKey: 'city' }, + { key: 'city-leader', label: '中心领导', parentKey: 'city' }, { key: 'city-dept', label: '处室负责人', parentKey: 'city' }, { key: 'city-emergency', label: '中心应急办', parentKey: 'city' }, ]); const districtTabsMap = ref([ { key: 'district-leader', label: '公路交通部门领导', parentKey: 'district' }, - { key: 'district-person', label: '公路交通部门包保人', parentKey: 'district' }, + { key: 'district-person', label: '养护站长/路长办', parentKey: 'district' }, ]); const frontlineTabsMap = ref([ { key: 'frontline-guard', label: '护路员', parentKey: 'frontline' }, - { key: 'frontline-whistle', label: '项目吹哨人', parentKey: 'frontline' }, + { key: 'frontline-whistle', label: '建设单位包保责任人', parentKey: 'frontline' }, + { key: 'frontline-contractor', label: '施工单位包保责任人', parentKey: 'frontline' }, + { key: 'frontline-person', label: '吹哨人', parentKey: 'frontline' }, ]); const activeHierarchyTab = ref('city-leader'); @@ -584,7 +598,7 @@ watch( display: flex; align-items: center; justify-content: center; - margin-top: 50px; + // margin-top: -40px; gap: 8px; .ai-icon-img { width: 80px; @@ -606,7 +620,7 @@ watch( gap: 20px; align-items: center; margin-left: 20px; - margin-top: 50px; + // margin-top: -40px; margin-right: 10px; .hierarchy-left { diff --git a/packages/screen/src/views/RiskWarning/Dialog/centerInfoCard.vue b/packages/screen/src/views/RiskWarning/Dialog/centerInfoCard.vue index c907600..2528abc 100644 --- a/packages/screen/src/views/RiskWarning/Dialog/centerInfoCard.vue +++ b/packages/screen/src/views/RiskWarning/Dialog/centerInfoCard.vue @@ -1,9 +1,6 @@ diff --git a/packages/screen/src/views/RiskWarning/Dialog/clearanceSituationDialog.vue b/packages/screen/src/views/RiskWarning/Dialog/clearanceSituationDialog.vue index 102d03c..67896ed 100644 --- a/packages/screen/src/views/RiskWarning/Dialog/clearanceSituationDialog.vue +++ b/packages/screen/src/views/RiskWarning/Dialog/clearanceSituationDialog.vue @@ -23,6 +23,7 @@ placeholder="请选择" class="filter-select" clearable + @change="handleFilterChange" > diff --git a/packages/screen/src/views/RiskWarning/Dialog/responseSituationDiaLog.vue b/packages/screen/src/views/RiskWarning/Dialog/responseSituationDiaLog.vue index 016758b..8222464 100644 --- a/packages/screen/src/views/RiskWarning/Dialog/responseSituationDiaLog.vue +++ b/packages/screen/src/views/RiskWarning/Dialog/responseSituationDiaLog.vue @@ -75,7 +75,7 @@ @@ -287,11 +287,7 @@ watch( display: flex; align-items: center; gap: 8px; - background: linear-gradient( - 135deg, - rgba(30, 80, 140, 0.6) 0%, - rgba(20, 60, 110, 0.8) 100% - ); + background: linear-gradient(135deg, rgba(30, 80, 140, 0.6) 0%, rgba(20, 60, 110, 0.8) 100%); border: 1px solid rgba(64, 169, 255, 0.2); border-radius: 4px; padding: 10px 12px; diff --git a/packages/screen/src/views/RiskWarning/Dialog/responseStatusDialog.vue b/packages/screen/src/views/RiskWarning/Dialog/responseStatusDialog.vue index 1285554..3657f7b 100644 --- a/packages/screen/src/views/RiskWarning/Dialog/responseStatusDialog.vue +++ b/packages/screen/src/views/RiskWarning/Dialog/responseStatusDialog.vue @@ -168,7 +168,12 @@ @@ -580,7 +560,7 @@ watch( position: relative; &::after { - content: ""; + content: ''; position: absolute; top: 12px; left: 50%; diff --git a/packages/screen/src/views/RiskWarning/Dialog/tongnanCenterCardDialog.vue b/packages/screen/src/views/RiskWarning/Dialog/tongnanCenterCardDialog.vue index 4ad6907..b86f9c0 100644 --- a/packages/screen/src/views/RiskWarning/Dialog/tongnanCenterCardDialog.vue +++ b/packages/screen/src/views/RiskWarning/Dialog/tongnanCenterCardDialog.vue @@ -35,8 +35,8 @@ @@ -98,7 +98,7 @@ const handleDetail = () => { .center-card-dialog { position: relative; - background-image: url("../../../assets/MaMap_img/区县弹窗背景@2x.png"); + background-image: url('../../../assets/MaMap_img/区县弹窗背景@2x.png'); background-size: 100% 100%; background-repeat: no-repeat; min-width: vw(200); diff --git a/packages/screen/src/views/RiskWarning/Dialog/tunnelInfoDialog.vue b/packages/screen/src/views/RiskWarning/Dialog/tunnelInfoDialog.vue index 5e57899..f198d1f 100644 --- a/packages/screen/src/views/RiskWarning/Dialog/tunnelInfoDialog.vue +++ b/packages/screen/src/views/RiskWarning/Dialog/tunnelInfoDialog.vue @@ -36,8 +36,8 @@ @@ -183,7 +183,7 @@ const handleClose = () => { grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 16px 20px; - + .dialog-img { width: 75px; height: 75px; diff --git a/packages/screen/src/views/RiskWarning/bottom.vue b/packages/screen/src/views/RiskWarning/bottom.vue index 080b133..e3f8f5e 100644 --- a/packages/screen/src/views/RiskWarning/bottom.vue +++ b/packages/screen/src/views/RiskWarning/bottom.vue @@ -231,9 +231,11 @@ const handleClick = (item, index) => { } activeIndex.value = index; - emit('changeActiveIndex', { - ...item, - }); + if (item.label !== '路段') { + emit('changeActiveIndex', { + ...item, + }); + } }; // 点击隐患点项 diff --git a/packages/screen/src/views/RiskWarning/component/ChongqingMap.vue b/packages/screen/src/views/RiskWarning/component/ChongqingMap.vue index b3f4bf4..e8c55a3 100644 --- a/packages/screen/src/views/RiskWarning/component/ChongqingMap.vue +++ b/packages/screen/src/views/RiskWarning/component/ChongqingMap.vue @@ -1,4 +1,5 @@