From 0f98959722c4074fbd4c8986455b7707cac5c219 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=85=B4=E5=87=AF?= <2448379534@qq.com> Date: Thu, 20 Aug 2026 09:03:31 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E5=AD=90=E7=B3=BB=E7=BB=9F-=E7=9B=91=E6=B5=8B=E6=95=B0?= =?UTF-8?q?=E6=8D=AE-=E9=99=A4=E4=BA=86=E9=B1=BC=E7=B1=BB=E6=94=BE?= =?UTF-8?q?=E9=B1=BC=E6=95=B0=E6=8D=AE=E7=9A=84=E9=A1=B5=E9=9D=A2=EF=BC=8C?= =?UTF-8?q?=E5=88=AB=E7=9A=84=E6=B7=BB=E5=8A=A0=E4=BA=86=E5=88=A0=E6=94=B9?= =?UTF-8?q?=EF=BC=8C=E6=89=B9=E9=87=8F=E5=88=A0=EF=BC=8C=E6=9F=A5=E7=9C=8B?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/api/DataQueryMenuModule/index.ts | 48 + .../src/components/BasicTable/index.vue | 17 +- .../FishData/EditFishDataAutoModal.vue | 4 +- .../monitorData/FishData/FishDataManual.vue | 456 ---------- .../monitorData/FishData/FishDataSearch.vue | 57 +- .../src/views/monitorData/FishData/index.vue | 722 ++++++++++++++- .../FishRelease/EditFishReleaseModal.vue | 28 + .../FishRelease/FishReleaseDetailModal.vue | 420 +++++++++ .../FishRelease/FishReleaseSearch.vue | 5 + .../views/monitorData/FishRelease/index.vue | 49 + .../FlowData/EditFlowDataModal.vue | 400 +++++++++ .../monitorData/FlowData/FlowDataSearch.vue | 29 +- .../src/views/monitorData/FlowData/index.vue | 157 +++- .../FlowStation/FlowStationSearch.vue | 29 +- .../views/monitorData/FlowStation/index.vue | 83 +- .../SurfaceTemp/SurfaceTempSearch.vue | 29 +- .../views/monitorData/SurfaceTemp/index.vue | 83 +- .../VerticalTemp/VerticalTempSearch.vue | 13 + .../views/monitorData/VerticalTemp/index.vue | 61 +- .../monitorData/WaterData/WaterDataSearch.vue | 29 +- .../src/views/monitorData/WaterData/index.vue | 85 +- .../EditFishSurveyDataModal.vue | 841 ++++++++++++++++++ .../fishSurveyData/fishSurveyDataSearch.vue | 300 +++++++ .../index.vue} | 118 ++- frontend-sjgl/src/views/system/user/index.vue | 33 +- frontend-sjtb/src/views/system/user/index.vue | 34 +- .../MapModal/components/BasicInfo.vue | 101 +-- frontend/src/components/MapModal/index.vue | 11 +- frontend/src/modules/Ysdwjc/index.vue | 1 - .../chuixiangshuiwenChangeMod/index.vue | 1 - ...eixingzuchengjijieruqingkuangTwoLayers.vue | 5 +- .../qixidiheduanjianceqingkuangEJ/index.vue | 1 - .../shuiwenjiancegongzuoEJ.vue | 1 - frontend/src/modules/waterQuality/index.vue | 368 ++------ .../monitorData/FishData/FishDataAuto.vue | 404 --------- .../monitorData/FishData/FishDataManual.vue | 369 -------- .../monitorData/FishData/FishDataSearch.vue | 19 +- .../components/monitorData/FishData/index.vue | 577 +++++++++++- frontend/src/views/system/user/index.vue | 28 +- 39 files changed, 4190 insertions(+), 1826 deletions(-) delete mode 100644 frontend-sjgl/src/views/monitorData/FishData/FishDataManual.vue create mode 100644 frontend-sjgl/src/views/monitorData/FishRelease/EditFishReleaseModal.vue create mode 100644 frontend-sjgl/src/views/monitorData/FishRelease/FishReleaseDetailModal.vue create mode 100644 frontend-sjgl/src/views/monitorData/FlowData/EditFlowDataModal.vue create mode 100644 frontend-sjgl/src/views/monitorData/fishSurveyData/EditFishSurveyDataModal.vue create mode 100644 frontend-sjgl/src/views/monitorData/fishSurveyData/fishSurveyDataSearch.vue rename frontend-sjgl/src/views/monitorData/{FishData/FishDataAuto.vue => fishSurveyData/index.vue} (80%) delete mode 100644 frontend/src/views/DataQueryMenuModule/components/monitorData/FishData/FishDataAuto.vue delete mode 100644 frontend/src/views/DataQueryMenuModule/components/monitorData/FishData/FishDataManual.vue diff --git a/frontend-sjgl/src/api/DataQueryMenuModule/index.ts b/frontend-sjgl/src/api/DataQueryMenuModule/index.ts index 63501e8d..cb4498e5 100644 --- a/frontend-sjgl/src/api/DataQueryMenuModule/index.ts +++ b/frontend-sjgl/src/api/DataQueryMenuModule/index.ts @@ -114,6 +114,24 @@ export function getFlowDataMonthList(data) { data }); } + +// 生态流量运行数据 - 删除 +export function deleteFlowDataInfo(data) { + return request({ + url: '/eq/data/removeKendoByIds', + method: 'post', + data + }); +} + +// 生态流量运行数据 - 修改 +export function updateEqRsData(data) { + return request({ + url: '/eq/data/updateEqRsData', + method: 'post', + data + }); +} // 水质监测数据 - 断面 export function getWaterDataSectionList(data) { return request({ @@ -331,6 +349,36 @@ export function deleteFpssrlRInfo(data) { }); } +// 过鱼设施AI自动数据 - 分页查询 +export function getFpssrlAiRPageList(data) { + return request({ + url: '/fp/query/qgc/GetKendoListCustAI', + method: 'post', + data + }); +} + +// 过鱼设施AI自动数据 - 编辑 +export function updateFpssrlAiRInfo(data) { + return request({ + url: '/base/fpssrlAiR/update', + method: 'post', + headers: { + 'Content-Type': 'multipart/form-data' + }, + data + }); +} + +// 过鱼设施AI自动数据 - 删除 +export function deleteFpssrlAiRInfo(data) { + return request({ + url: '/base/fpssrlAiR/delete', + method: 'post', + data + }); +} + // 鱼类 放鱼 export function getFishReleaseList(data) { return request({ diff --git a/frontend-sjgl/src/components/BasicTable/index.vue b/frontend-sjgl/src/components/BasicTable/index.vue index 716cc092..88ab0ae9 100644 --- a/frontend-sjgl/src/components/BasicTable/index.vue +++ b/frontend-sjgl/src/components/BasicTable/index.vue @@ -54,7 +54,7 @@ interface Props { data?: any[]; enableRowSelection?: boolean; enableRowHighlight?: boolean; // 是否启用行点击高亮 - rowKey?: string; + rowKey?: string | ((record: any) => string | number); searchParams?: Record; defaultPageSize?: number; isPage?: boolean; @@ -663,7 +663,20 @@ const enhancedColumns = computed(() => { title: String(text) }, { - default: () => String(text) + default: () => + h( + 'span', + { + style: { + display: 'inline-block', + maxWidth: '100%', + overflow: 'hidden', + textOverflow: 'ellipsis', + whiteSpace: 'nowrap' + } + }, + String(text) + ) } ) ); diff --git a/frontend-sjgl/src/views/monitorData/FishData/EditFishDataAutoModal.vue b/frontend-sjgl/src/views/monitorData/FishData/EditFishDataAutoModal.vue index 7e1219bf..1b9bdd03 100644 --- a/frontend-sjgl/src/views/monitorData/FishData/EditFishDataAutoModal.vue +++ b/frontend-sjgl/src/views/monitorData/FishData/EditFishDataAutoModal.vue @@ -210,7 +210,7 @@ - + - + -
- - - - - - - - - -
- -
-
- - - -
- -
-
- - - - - - - - -
- - - - diff --git a/frontend-sjgl/src/views/monitorData/FishData/FishDataSearch.vue b/frontend-sjgl/src/views/monitorData/FishData/FishDataSearch.vue index f1312a13..c5de8cbd 100644 --- a/frontend-sjgl/src/views/monitorData/FishData/FishDataSearch.vue +++ b/frontend-sjgl/src/views/monitorData/FishData/FishDataSearch.vue @@ -57,8 +57,10 @@ @@ -77,8 +79,8 @@ const emit = defineEmits<{ (e: 'export-btn'): void; (e: 'reset', values: any): void; (e: 'search-finish', values: any): void; - (e: 'add'): void; (e: 'seeEdit'): void; + (e: 'batch-delete'): void; }>(); const basicSearchRef = ref(); @@ -86,13 +88,13 @@ const btnLoading = ref(false); const props = defineProps<{ exportLoading?: boolean; - mway: string; + selectedCount?: number; }>(); const initSearchData = { rvcd: 'all', rstcd: null, stcd: '0086601020VP000006', - mway: props.mway + mway: '1' }; const searchData = ref({ ...initSearchData }); @@ -140,6 +142,22 @@ const searchList: any = computed(() => [ value: item.stcd })) }, + { + type: 'Radio', + name: 'mway', + label: '数据类型', + width: 140, + options: [ + { + label: '人工', + value: '1' + }, + { + label: '自动', + value: '2' + } + ] + }, { type: 'custom', name: 'jcdt', @@ -157,15 +175,13 @@ const onSearchFinish = (values: any) => { const exportBtn = () => { emit('export-btn'); }; - -const handleAdd = () => { - emit('add'); -}; - const seeEdit = () => { emit('seeEdit'); }; -const initCrossSectionList = (params, setDefault = false) => { +const batchDelete = () => { + emit('batch-delete'); +}; +const initCrossSectionList = params => { const filters = []; if (params) { if (params.rvcd != '' && params.rvcd != 'all') { @@ -185,13 +201,6 @@ const initCrossSectionList = (params, setDefault = false) => { }); } } - // 根据人工/自动站过滤过鱼设施 - filters.push({ - field: 'mway', - operator: 'eq', - dataType: 'string', - value: props.mway - }); crossSectionListLoading.value = true; getFishReleaseMonitorSectionList({ filter: { @@ -202,15 +211,6 @@ const initCrossSectionList = (params, setDefault = false) => { }).then(res => { if (res.data?.data) { crossSectionList.value = res.data?.data; - // 首次加载时默认选中第一条过鱼设施 - if (setDefault && crossSectionList.value.length > 0) { - const firstStcd = crossSectionList.value[0].stcd; - initSearchData.stcd = firstStcd; - if (basicSearchRef.value?.formData) { - basicSearchRef.value.formData.stcd = firstStcd; - } - handleSearchFinish({ ...initSearchData, stcd: firstStcd }); - } } crossSectionListLoading.value = false; }); @@ -261,8 +261,9 @@ onMounted(() => { min: `${now.subtract(5, 'year').format('YYYY-MM-DD')} 00:00:00`, max: `${now.format('YYYY-MM-DD')} 23:59:59` }; - // 首次加载:请求设施列表后默认选中第一条并触发搜索 - initCrossSectionList(undefined, true); + initCrossSectionList(); + // 使用 handleSearchFinish 确保包含 jcdt 等完整参数 + handleSearchFinish({ ...initSearchData }); }); diff --git a/frontend-sjgl/src/views/monitorData/FishData/index.vue b/frontend-sjgl/src/views/monitorData/FishData/index.vue index 34aae4f5..4473c69a 100644 --- a/frontend-sjgl/src/views/monitorData/FishData/index.vue +++ b/frontend-sjgl/src/views/monitorData/FishData/index.vue @@ -1,22 +1,697 @@ - +} diff --git a/frontend-sjgl/src/views/monitorData/FishRelease/EditFishReleaseModal.vue b/frontend-sjgl/src/views/monitorData/FishRelease/EditFishReleaseModal.vue new file mode 100644 index 00000000..70a57045 --- /dev/null +++ b/frontend-sjgl/src/views/monitorData/FishRelease/EditFishReleaseModal.vue @@ -0,0 +1,28 @@ + + + diff --git a/frontend-sjgl/src/views/monitorData/FishRelease/FishReleaseDetailModal.vue b/frontend-sjgl/src/views/monitorData/FishRelease/FishReleaseDetailModal.vue new file mode 100644 index 00000000..e847e317 --- /dev/null +++ b/frontend-sjgl/src/views/monitorData/FishRelease/FishReleaseDetailModal.vue @@ -0,0 +1,420 @@ + + + diff --git a/frontend-sjgl/src/views/monitorData/FishRelease/FishReleaseSearch.vue b/frontend-sjgl/src/views/monitorData/FishRelease/FishReleaseSearch.vue index 53684e85..971248f4 100644 --- a/frontend-sjgl/src/views/monitorData/FishRelease/FishReleaseSearch.vue +++ b/frontend-sjgl/src/views/monitorData/FishRelease/FishReleaseSearch.vue @@ -59,6 +59,7 @@ @@ -97,6 +98,7 @@ const emit = defineEmits<{ (e: 'export-btn'): void; (e: 'reset', values: any): void; (e: 'search-finish', values: any): void; + (e: 'seeEdit'): void; }>(); const basicSearchRef = ref(); @@ -157,6 +159,9 @@ const onSearchFinish = (values: any) => { const exportBtn = () => { emit('export-btn'); }; +const seeEdit = () => { + emit('seeEdit'); +}; const onValuesChange = (changedValues: any, allValues: any) => { handleValuesChange(changedValues, allValues); diff --git a/frontend-sjgl/src/views/monitorData/FishRelease/index.vue b/frontend-sjgl/src/views/monitorData/FishRelease/index.vue index ff145756..f09d6eff 100644 --- a/frontend-sjgl/src/views/monitorData/FishRelease/index.vue +++ b/frontend-sjgl/src/views/monitorData/FishRelease/index.vue @@ -5,6 +5,7 @@ @export-btn="exportBtn" @search-finish="onSearchFinish" @reset="onReset" + @seeEdit="handleSeeEdit" :exportLoading="exportLoading" ref="searchRef" /> @@ -19,13 +20,36 @@ sort: sort }" > + + + + + + + diff --git a/frontend-sjgl/src/views/monitorData/FlowData/FlowDataSearch.vue b/frontend-sjgl/src/views/monitorData/FlowData/FlowDataSearch.vue index 01440908..56097142 100644 --- a/frontend-sjgl/src/views/monitorData/FlowData/FlowDataSearch.vue +++ b/frontend-sjgl/src/views/monitorData/FlowData/FlowDataSearch.vue @@ -63,6 +63,14 @@ @@ -78,13 +86,22 @@ const emit = defineEmits<{ (e: 'export-btn'): void; (e: 'reset', values: any): void; (e: 'search-finish', values: any): void; + (e: 'seeEdit'): void; + (e: 'batch-delete'): void; }>(); const basicSearchRef = ref(); const btnLoading = ref(false); -const props = defineProps<{ - exportLoading?: boolean; -}>(); +const props = withDefaults( + defineProps<{ + exportLoading?: boolean; + selectedCount?: number; + showBatchDelete?: boolean; + }>(), + { + showBatchDelete: true + } +); const initSearchData = { rvcd: 'all', @@ -185,6 +202,12 @@ const onSearchFinish = (values: any) => { const exportBtn = () => { emit('export-btn'); }; +const seeEdit = () => { + emit('seeEdit'); +}; +const batchDelete = () => { + emit('batch-delete'); +}; const onValuesChange = (changedValues: any, allValues: any) => { handleValuesChange(changedValues, allValues); diff --git a/frontend-sjgl/src/views/monitorData/FlowData/index.vue b/frontend-sjgl/src/views/monitorData/FlowData/index.vue index 0b30103f..be0c05cf 100644 --- a/frontend-sjgl/src/views/monitorData/FlowData/index.vue +++ b/frontend-sjgl/src/views/monitorData/FlowData/index.vue @@ -5,6 +5,10 @@ @export-btn="exportBtn" @search-finish="onSearchFinish" @reset="onReset" + @seeEdit="handleSeeEdit" + @batch-delete="handleBatchDelete" + :show-batch-delete="currentSearchParams.timeScale === 'tm'" + :selected-count="selectedRowKeys.length" :exportLoading="exportLoading" ref="searchRef" /> @@ -12,6 +16,7 @@ + + + + + + + + + + diff --git a/frontend-sjgl/src/views/monitorData/fishSurveyData/fishSurveyDataSearch.vue b/frontend-sjgl/src/views/monitorData/fishSurveyData/fishSurveyDataSearch.vue new file mode 100644 index 00000000..c09002b2 --- /dev/null +++ b/frontend-sjgl/src/views/monitorData/fishSurveyData/fishSurveyDataSearch.vue @@ -0,0 +1,300 @@ + + + + + diff --git a/frontend-sjgl/src/views/monitorData/FishData/FishDataAuto.vue b/frontend-sjgl/src/views/monitorData/fishSurveyData/index.vue similarity index 80% rename from frontend-sjgl/src/views/monitorData/FishData/FishDataAuto.vue rename to frontend-sjgl/src/views/monitorData/fishSurveyData/index.vue index 32ff0de2..3c91c891 100644 --- a/frontend-sjgl/src/views/monitorData/FishData/FishDataAuto.vue +++ b/frontend-sjgl/src/views/monitorData/fishSurveyData/index.vue @@ -1,25 +1,28 @@ diff --git a/frontend/src/views/DataQueryMenuModule/components/monitorData/FishData/FishDataManual.vue b/frontend/src/views/DataQueryMenuModule/components/monitorData/FishData/FishDataManual.vue deleted file mode 100644 index b69f5574..00000000 --- a/frontend/src/views/DataQueryMenuModule/components/monitorData/FishData/FishDataManual.vue +++ /dev/null @@ -1,369 +0,0 @@ - - - - diff --git a/frontend/src/views/DataQueryMenuModule/components/monitorData/FishData/FishDataSearch.vue b/frontend/src/views/DataQueryMenuModule/components/monitorData/FishData/FishDataSearch.vue index de348c95..b33493e8 100644 --- a/frontend/src/views/DataQueryMenuModule/components/monitorData/FishData/FishDataSearch.vue +++ b/frontend/src/views/DataQueryMenuModule/components/monitorData/FishData/FishDataSearch.vue @@ -80,13 +80,12 @@ const btnLoading = ref(false); const props = defineProps<{ exportLoading?: boolean; - mway: string; }>(); const initSearchData = { rvcd: 'all', rstcd: null, stcd: '0086601020VP000006', - mway: props.mway + mway: '1' }; const searchData = ref({ ...initSearchData }); @@ -134,6 +133,22 @@ const searchList: any = computed(() => [ value: item.stcd })) }, + { + type: 'Radio', + name: 'mway', + label: '数据类型', + width: 140, + options: [ + { + label: '人工', + value: '1' + }, + { + label: '自动', + value: '2' + } + ] + }, { type: 'custom', name: 'jcdt', diff --git a/frontend/src/views/DataQueryMenuModule/components/monitorData/FishData/index.vue b/frontend/src/views/DataQueryMenuModule/components/monitorData/FishData/index.vue index 42facee3..421d1faa 100644 --- a/frontend/src/views/DataQueryMenuModule/components/monitorData/FishData/index.vue +++ b/frontend/src/views/DataQueryMenuModule/components/monitorData/FishData/index.vue @@ -1,42 +1,551 @@ - - + diff --git a/frontend/src/views/system/user/index.vue b/frontend/src/views/system/user/index.vue index 1dc3931d..10a2c004 100644 --- a/frontend/src/views/system/user/index.vue +++ b/frontend/src/views/system/user/index.vue @@ -47,6 +47,12 @@ const dialog = ref(false); const treeRef = ref(); const fishTreeRef = ref(); const infoForm = ref(); +//所属组织树型下拉框字段映射 +const treeSelectProps = { + value: 'id', + label: 'orgname', + children: 'childList' +}; //获取企业树形信息 const treeloading = ref(true); function getTree() { @@ -99,7 +105,8 @@ function addClick() { nickname: '', email: '', phone: '', - roleinfo: [] + roleinfo: [], + orgid: '' }; getrole(); } @@ -178,7 +185,8 @@ const info = ref({ nickname: '', email: '', phone: '', - roleinfo: [] as any[] + roleinfo: [] as any[], + orgid: '' }); //修改-用户 function editdepartment(row: any) { @@ -188,6 +196,8 @@ function editdepartment(row: any) { }); info.value = JSON.parse(JSON.stringify(row)); info.value.roleinfo = selectID; + // 回显所属组织 + info.value.orgid = row.orgid; rolesdata.value = row.roles; title.value = '修改用户'; dialogVisible.value = true; @@ -207,7 +217,8 @@ function confirmClick(formEl: any) { nickname: info.value.nickname, email: info.value.email, phone: info.value.phone, - orgid: orgId.value + // 修改时根据所属组织树型下拉框传递 + orgid: info.value.orgid }; const roleids = String(info.value.roleinfo); updataUser(params, roleids).then(() => { @@ -1274,6 +1285,17 @@ function handleClearSelection() { + + + + Date: Thu, 20 Aug 2026 09:23:32 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E9=A1=B5=E9=9D=A2debugger=E5=8E=BB?= =?UTF-8?q?=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../MapModal/components/BasicInfo.vue | 2 - .../src/components/MapModal/index.vue | 1 - .../src/store/modules/shuJuTianBao.ts | 1 - .../shuiWenJianCe/index.vue | 1 - .../src/views/monitorData/Export/index.vue | 1 - .../src/views/monitorData/FlowData/index.vue | 1 - .../views/system/ConfigManagement/index.vue | 2 - .../system/TiltPhotoManagement/index.vue | 1 - .../components/RulesManagement/index.vue | 1 - frontend-sjgl/src/views/system/user/index.vue | 1 - .../src/components/BasicSearch/index.vue | 1 - frontend-sjtb/src/views/system/user/index.vue | 1 - .../MapModal/components/BasicInfo.vue | 1 - frontend/src/components/MapModal/index.vue | 3 +- .../src/components/SidePanelItem/index.vue | 1 - .../components/developStatusChart/index.vue | 484 +++++++++--------- frontend/src/modules/Ysdwjc/index.vue | 1 - .../alongFishMod/TwoLayers/Yanchengyulei.vue | 1 - .../DZChuiXiangShuiWenBianHua/index.vue | 1 - .../DZShuiDianZhanSPJK/index.vue | 4 +- .../ZXZWYYunXingShuJu/index.vue | 1 - .../ZenZhiZhanYunXingDetailModal.vue | 1 - .../ecologicalDataMod/index.vue | 1 - .../guoyuzongliang/index.vue | 4 +- .../powerStationReleasetaStistics/index.vue | 2 - ...eixingzuchengjijieruqingkuangTwoLayers.vue | 8 - .../SurveyQingKuang/DeviceTableModal.vue | 1 - .../TwoLayers/HuanbaoModTwoLayers.vue | 1 - .../shuizhijianceshuju.vue | 1 - .../modules/lushengshengtaijiance/index.vue | 1 - .../TwoLayer/STLLXFFS.vue | 1 - .../modules/shengtaidabiaoTwoMod/index.vue | 2 - .../TwoLayer/STLLXFFS.vue | 2 +- .../modules/shengtaidabiaoTwoModJJ/index.vue | 4 +- .../shuiShengShengTaiDiaoCha/index.vue | 3 +- .../TwoLayer/ShuiDianKaiFQKTwoLayer.vue | 2 +- .../shuishengshengtaijiance/SsstdcgkTk.vue | 1 - .../yunXingGaoJIng/Aisbdbyx/AISBTK.vue | 1 - .../ZengZhiZhanQingKuangTwoLayers.vue | 1 - .../zengZhiJiHuaWanChengQingKuang/index.vue | 3 - .../index.vue | 2 - frontend/src/store/modules/shuJuTianBao.ts | 1 - .../components/monitorData/Export/index.vue | 1 - .../components/DZShuiDianZhanSPJK.vue | 3 - .../ZenZhiZhanYunXingDetailModal.vue | 1 - .../powerStationReleasetaStistics.vue | 2 - .../shuiShengShengTaiDiaoCha/SSSTDCDB.vue | 1 - .../views/system/ConfigManagement/index.vue | 2 - .../system/TiltPhotoManagement/index.vue | 1 - .../ConfigManagement/ConfigManagementForm.vue | 6 +- .../RulesManagement/LayerManagementForm.vue | 1 - frontend/src/views/system/user/index.vue | 1 - 52 files changed, 259 insertions(+), 314 deletions(-) diff --git a/frontend-sjgl/src/components/MapModal/components/BasicInfo.vue b/frontend-sjgl/src/components/MapModal/components/BasicInfo.vue index b1ffe928..c0e14df1 100644 --- a/frontend-sjgl/src/components/MapModal/components/BasicInfo.vue +++ b/frontend-sjgl/src/components/MapModal/components/BasicInfo.vue @@ -359,7 +359,6 @@ const getData = async () => { try { if (props.url && modelStore.params.stcd) { let res: any = await getStcdDetail(props.url, modelStore.params.stcd); - // debugger if (res && res.code) { let data = res.data; data2.value = data; @@ -372,7 +371,6 @@ const getData = async () => { ? modelStore.params.sttp : modelStore.params.sttp) ).columns; - // debugger columns.forEach(item => { if (item.visible) { diff --git a/frontend-sjgl/src/components/MapModal/index.vue b/frontend-sjgl/src/components/MapModal/index.vue index 8773b3c1..8a450a22 100644 --- a/frontend-sjgl/src/components/MapModal/index.vue +++ b/frontend-sjgl/src/components/MapModal/index.vue @@ -529,7 +529,6 @@ const setQGCTabList = async (_tabs: any, stcd: string) => { // 2. 垂向水温 & AI 识别检查(对所有类型执行,与 React 一致) const res4 = await getStInfoByStcd({ stcd }); let newTabs = [...tabs]; - // debugger if (res4 && res4.data && res4.data.relList) { const relList = res4.data.relList; const jianCei = relList.find((item: any) => item.sttpCode === 'WTVT'); diff --git a/frontend-sjgl/src/store/modules/shuJuTianBao.ts b/frontend-sjgl/src/store/modules/shuJuTianBao.ts index b1cec9a7..d8f967eb 100644 --- a/frontend-sjgl/src/store/modules/shuJuTianBao.ts +++ b/frontend-sjgl/src/store/modules/shuJuTianBao.ts @@ -27,7 +27,6 @@ export const useShuJuTianBaoStore = defineStore('shuJuTianBao', () => { try { baseLoading.value = true; const res = await getBaseDropdown({}); - // debugger if (res.data && Array.isArray(res.data)) { const list = [...res.data]; // 直接赋值给 ref,触发响应式更新 diff --git a/frontend-sjgl/src/views/conventionalHydropower/shuiWenJianCe/index.vue b/frontend-sjgl/src/views/conventionalHydropower/shuiWenJianCe/index.vue index ff42f88d..038364e9 100644 --- a/frontend-sjgl/src/views/conventionalHydropower/shuiWenJianCe/index.vue +++ b/frontend-sjgl/src/views/conventionalHydropower/shuiWenJianCe/index.vue @@ -173,7 +173,6 @@ const tableScrollX = computed(() => ); const buildSearchParams = (values: any) => { - // debugger return { logic: 'and', filters: [ diff --git a/frontend-sjgl/src/views/monitorData/Export/index.vue b/frontend-sjgl/src/views/monitorData/Export/index.vue index d6801f4f..1af4598b 100644 --- a/frontend-sjgl/src/views/monitorData/Export/index.vue +++ b/frontend-sjgl/src/views/monitorData/Export/index.vue @@ -482,7 +482,6 @@ const getDict = async () => { let res = await getDictItemsByCode({ dictCode: 'dataField' }); dataFieldOption.value = res.data; formData.monitorElements = dataFieldOption.value.map(item => item.itemCode); - // debugger }; onMounted(() => { getDict(); diff --git a/frontend-sjgl/src/views/monitorData/FlowData/index.vue b/frontend-sjgl/src/views/monitorData/FlowData/index.vue index be0c05cf..ae13b7cf 100644 --- a/frontend-sjgl/src/views/monitorData/FlowData/index.vue +++ b/frontend-sjgl/src/views/monitorData/FlowData/index.vue @@ -441,7 +441,6 @@ const displayColumns = computed(() => { }); const onSearchFinish = async (values: any) => { - // debugger currentSearchParams.value = values; // 切换查询条件时清空选中 selectedRowKeys.value = []; diff --git a/frontend-sjgl/src/views/system/ConfigManagement/index.vue b/frontend-sjgl/src/views/system/ConfigManagement/index.vue index 72994059..c379c4e4 100644 --- a/frontend-sjgl/src/views/system/ConfigManagement/index.vue +++ b/frontend-sjgl/src/views/system/ConfigManagement/index.vue @@ -185,7 +185,6 @@ const handleEdit = async (record: any) => { const firstLevelNodes = data.filter((item: any) => !item.rstcd); const secondLevelNodes = data.filter((item: any) => item.rstcd); - // debugger const configNodes = firstLevelNodes.map((node: any, index: number) => { const children = secondLevelNodes.filter( (child: any) => child.rstcd === node.stcd @@ -216,7 +215,6 @@ const handleEdit = async (record: any) => { }); currentRecord.value.configNodes = configNodes; - // debugger } editModalVisible.value = true; }; diff --git a/frontend-sjgl/src/views/system/TiltPhotoManagement/index.vue b/frontend-sjgl/src/views/system/TiltPhotoManagement/index.vue index 98aa474e..f9f4b8f5 100644 --- a/frontend-sjgl/src/views/system/TiltPhotoManagement/index.vue +++ b/frontend-sjgl/src/views/system/TiltPhotoManagement/index.vue @@ -211,7 +211,6 @@ const editModalCancel = () => { // 表单提交 const handleEditSubmit = async (values: any) => { - // debugger try { let res = await saveTiltPhoto({ ...currentRecord.value, diff --git a/frontend-sjgl/src/views/system/alertRules/components/RulesManagement/index.vue b/frontend-sjgl/src/views/system/alertRules/components/RulesManagement/index.vue index 7d18ad1a..b85b3256 100644 --- a/frontend-sjgl/src/views/system/alertRules/components/RulesManagement/index.vue +++ b/frontend-sjgl/src/views/system/alertRules/components/RulesManagement/index.vue @@ -197,7 +197,6 @@ const editModalCancel = () => { // 表单提交 const handleEditSubmit = async (values: any) => { - // debugger try { // let res = await saveTiltPhoto({ // ...currentRecord.value, diff --git a/frontend-sjgl/src/views/system/user/index.vue b/frontend-sjgl/src/views/system/user/index.vue index 10a2c004..ad50a0a0 100644 --- a/frontend-sjgl/src/views/system/user/index.vue +++ b/frontend-sjgl/src/views/system/user/index.vue @@ -798,7 +798,6 @@ function getrole() { rolename: '' }; listGroupedByTenant(params).then(res => { - // debugger rolesdata.value = res; }); } diff --git a/frontend-sjtb/src/components/BasicSearch/index.vue b/frontend-sjtb/src/components/BasicSearch/index.vue index a28b9668..45e0780a 100644 --- a/frontend-sjtb/src/components/BasicSearch/index.vue +++ b/frontend-sjtb/src/components/BasicSearch/index.vue @@ -366,7 +366,6 @@ const lyChange = (value: any) => { formData.reachcd = value; formData.rstcd = ""; shuJuTianBaoStore.getEngOption(formData.reachcd); - // debugger // 【关键修改】手动触发 valuesChange,因为 a-form-item-rest 阻断了自动监听 triggerManualValuesChange("reachcd", formData.reachcd); }; diff --git a/frontend-sjtb/src/views/system/user/index.vue b/frontend-sjtb/src/views/system/user/index.vue index 10a2c004..ad50a0a0 100644 --- a/frontend-sjtb/src/views/system/user/index.vue +++ b/frontend-sjtb/src/views/system/user/index.vue @@ -798,7 +798,6 @@ function getrole() { rolename: '' }; listGroupedByTenant(params).then(res => { - // debugger rolesdata.value = res; }); } diff --git a/frontend/src/components/MapModal/components/BasicInfo.vue b/frontend/src/components/MapModal/components/BasicInfo.vue index 8a7bc5b7..9e2b5b5e 100644 --- a/frontend/src/components/MapModal/components/BasicInfo.vue +++ b/frontend/src/components/MapModal/components/BasicInfo.vue @@ -284,7 +284,6 @@ const getData = async () => { ? modelStore.params.sttp : modelStore.params.sttp) ).columns; - // debugger columns.forEach(item => { if (item.visible) { diff --git a/frontend/src/components/MapModal/index.vue b/frontend/src/components/MapModal/index.vue index 866ee90b..bcae9c12 100644 --- a/frontend/src/components/MapModal/index.vue +++ b/frontend/src/components/MapModal/index.vue @@ -348,7 +348,7 @@ const checkPowerStationTopicData = async (stcd: string) => { ] } }); - // debugger + hasPowerStatData.value = res?.data && res?.data?.length > 0; } catch (error) { console.error('查询电站专题配置失败:', error); @@ -518,7 +518,6 @@ const setQGCTabList = async (_tabs: any, stcd: string) => { // 2. 垂向水温 & AI 识别检查(对所有类型执行,与 React 一致) const res4 = await getStInfoByStcd({ stcd }); let newTabs = [...tabs]; - // debugger if (res4 && res4.data && res4.data.relList) { const relList = res4.data.relList; const jianCei = relList.find((item: any) => item.sttpCode === 'WTVT'); diff --git a/frontend/src/components/SidePanelItem/index.vue b/frontend/src/components/SidePanelItem/index.vue index 306bb6ae..6401f2fe 100644 --- a/frontend/src/components/SidePanelItem/index.vue +++ b/frontend/src/components/SidePanelItem/index.vue @@ -681,7 +681,6 @@ const handleTreeSelect = (selectedKeys: string | string[], info: any) => { } }; const handleTreeSelect1 = (selectedKeys: string | string[], info: any) => { - // debugger // 保存选中节点的额外属性(如 lgtd、lttd 等) if (info && typeof info === 'object') { selectedNodeExtra.value = { diff --git a/frontend/src/components/developStatusChart/index.vue b/frontend/src/components/developStatusChart/index.vue index 04767fc7..7b84beaa 100644 --- a/frontend/src/components/developStatusChart/index.vue +++ b/frontend/src/components/developStatusChart/index.vue @@ -1,25 +1,25 @@ diff --git a/frontend/src/modules/Ysdwjc/index.vue b/frontend/src/modules/Ysdwjc/index.vue index 6429dc1b..a5957ea5 100644 --- a/frontend/src/modules/Ysdwjc/index.vue +++ b/frontend/src/modules/Ysdwjc/index.vue @@ -251,7 +251,6 @@ const getStationList = async () => { ] }); const list = res?.data?.data ?? []; - // debugger if (list.length) { select.value.options = list.map((item: any) => ({ label: item.stnm, diff --git a/frontend/src/modules/alongFishMod/TwoLayers/Yanchengyulei.vue b/frontend/src/modules/alongFishMod/TwoLayers/Yanchengyulei.vue index 6b43cfe6..a5d6ba4e 100644 --- a/frontend/src/modules/alongFishMod/TwoLayers/Yanchengyulei.vue +++ b/frontend/src/modules/alongFishMod/TwoLayers/Yanchengyulei.vue @@ -486,7 +486,6 @@ const getTabNumData = async () => { const res = await getTabNum(params); // getTabNum 返回格式:res.data 直接是数组 [{ty, num}, ...] const data = res?.data?.data || []; - // debugger const list = TAB_CONFIG.map(item => ({ ...item, labelWithTooltip: renderTabLabel(item.label, item.prompt) diff --git a/frontend/src/modules/dianzhanzhuantiMod/DZChuiXiangShuiWenBianHua/index.vue b/frontend/src/modules/dianzhanzhuantiMod/DZChuiXiangShuiWenBianHua/index.vue index a32c026e..2bede8c7 100644 --- a/frontend/src/modules/dianzhanzhuantiMod/DZChuiXiangShuiWenBianHua/index.vue +++ b/frontend/src/modules/dianzhanzhuantiMod/DZChuiXiangShuiWenBianHua/index.vue @@ -369,7 +369,6 @@ const onUpdateValues = (payload: any) => { return; } // 年份选择 - // debugger if (payload?.datetime) { yearValue.value = dayjs(payload.datetime); } diff --git a/frontend/src/modules/dianzhanzhuantiMod/DZShuiDianZhanSPJK/index.vue b/frontend/src/modules/dianzhanzhuantiMod/DZShuiDianZhanSPJK/index.vue index 365c7fd0..ed4a9d2c 100644 --- a/frontend/src/modules/dianzhanzhuantiMod/DZShuiDianZhanSPJK/index.vue +++ b/frontend/src/modules/dianzhanzhuantiMod/DZShuiDianZhanSPJK/index.vue @@ -204,7 +204,7 @@ const handleSelectMedia = (item: any) => { type: 'video', src: item.flpth || item.src || '' }; - // debugger + }; // 打开更多视频弹窗 @@ -305,7 +305,6 @@ const fetchVideoData = async (stcd: string) => { }; const videoRes = await realTimeVideo(params1); const videoData = videoRes?.data?.data || videoRes?.data || []; - // debugger const videoItems: VideoItem[] = ( Array.isArray(videoData) ? videoData : [] ).map((item: any) => ({ @@ -323,7 +322,6 @@ const fetchVideoData = async (stcd: string) => { })); videoList.value = videoItems; - // debugger currentSlide.value = 0; scrollOffset.value = 0; } catch (error) { diff --git a/frontend/src/modules/dianzhanzhuantiMod/ZXZWYYunXingShuJu/index.vue b/frontend/src/modules/dianzhanzhuantiMod/ZXZWYYunXingShuJu/index.vue index 1e8fcc87..c36c55f7 100644 --- a/frontend/src/modules/dianzhanzhuantiMod/ZXZWYYunXingShuJu/index.vue +++ b/frontend/src/modules/dianzhanzhuantiMod/ZXZWYYunXingShuJu/index.vue @@ -219,7 +219,6 @@ const fetchGardenList = async () => { const res = await getBotanicalGardenList(params); const list = res?.data?.data || []; - // debugger if (list.length === 0) return; const gardenMap = new Map(); diff --git a/frontend/src/modules/dianzhanzhuantiMod/ZenZhiZhanYunXingPG/ZenZhiZhanYunXingDetailModal.vue b/frontend/src/modules/dianzhanzhuantiMod/ZenZhiZhanYunXingPG/ZenZhiZhanYunXingDetailModal.vue index 094139f3..ff561583 100644 --- a/frontend/src/modules/dianzhanzhuantiMod/ZenZhiZhanYunXingPG/ZenZhiZhanYunXingDetailModal.vue +++ b/frontend/src/modules/dianzhanzhuantiMod/ZenZhiZhanYunXingPG/ZenZhiZhanYunXingDetailModal.vue @@ -232,7 +232,6 @@ const fetchFishDic = async () => { filter: { logic: 'and', filters: [] }, select: ['id', 'name'] }); - // debugger const data = res?.data?.data || []; fishDic.value = data.map((item: any) => ({ value: item.id, diff --git a/frontend/src/modules/dianzhanzhuantiMod/ecologicalDataMod/index.vue b/frontend/src/modules/dianzhanzhuantiMod/ecologicalDataMod/index.vue index dfaa913e..732eda9a 100644 --- a/frontend/src/modules/dianzhanzhuantiMod/ecologicalDataMod/index.vue +++ b/frontend/src/modules/dianzhanzhuantiMod/ecologicalDataMod/index.vue @@ -270,7 +270,6 @@ const fetchChartData = async () => { /** SidePanelItem @update-values */ const onUpdateValues = (payload: any) => { - // debugger if (payload?.datetime) { monthValue.value = dayjs(payload.datetime); } diff --git a/frontend/src/modules/dianzhanzhuantiMod/guoyuzongliang/index.vue b/frontend/src/modules/dianzhanzhuantiMod/guoyuzongliang/index.vue index a6274e2a..ebf1e915 100644 --- a/frontend/src/modules/dianzhanzhuantiMod/guoyuzongliang/index.vue +++ b/frontend/src/modules/dianzhanzhuantiMod/guoyuzongliang/index.vue @@ -245,7 +245,7 @@ const fetchFacilityTree = async () => { const res = await getGuoYuZongLiangFacilityTree(params); const list = res?.data?.data ?? []; - // debugger + // 转换为 moreSelect 需要的 { title, value, children } 格式 const treeData = list.map((group: any) => ({ @@ -258,7 +258,7 @@ const fetchFacilityTree = async () => { })) })); facilityTree.value = treeData; - // debugger + if (list.length > 0) { // 取第一个有 stcdVo 的组的第一个子设施作为默认 const firstGroup = list.find((g: any) => g?.items?.some((v: any) => v?.stcd)); diff --git a/frontend/src/modules/dianzhanzhuantiMod/powerStationReleasetaStistics/index.vue b/frontend/src/modules/dianzhanzhuantiMod/powerStationReleasetaStistics/index.vue index c1d9292b..cae99740 100644 --- a/frontend/src/modules/dianzhanzhuantiMod/powerStationReleasetaStistics/index.vue +++ b/frontend/src/modules/dianzhanzhuantiMod/powerStationReleasetaStistics/index.vue @@ -285,9 +285,7 @@ const fetchYear = () => { }; getPowerStationReleaseYear(params) .then((res: any) => { - // debugger const list = res?.data?.data?.[0] ?? []; - // debugger if (list.length > 0) { searchDate.value = dayjs(list[0].plansd); } else { diff --git a/frontend/src/modules/diwenshuijianhuansheshileixingzuchengjijieruqingkuang/TwoLayers/diwenshuijianhuansheshileixingzuchengjijieruqingkuangTwoLayers.vue b/frontend/src/modules/diwenshuijianhuansheshileixingzuchengjijieruqingkuang/TwoLayers/diwenshuijianhuansheshileixingzuchengjijieruqingkuangTwoLayers.vue index 00f1f1a0..ea85cfac 100644 --- a/frontend/src/modules/diwenshuijianhuansheshileixingzuchengjijieruqingkuang/TwoLayers/diwenshuijianhuansheshileixingzuchengjijieruqingkuangTwoLayers.vue +++ b/frontend/src/modules/diwenshuijianhuansheshileixingzuchengjijieruqingkuang/TwoLayers/diwenshuijianhuansheshileixingzuchengjijieruqingkuangTwoLayers.vue @@ -334,14 +334,6 @@ const fetchBuildStateList = async () => { value: item.itemCode })) buildStateList.value.unshift({ label: '全部', value: '' }) - // debugger - // 临时模拟数据(实际使用时删除) - // buildStateList.value = [ - // { label: '全部', value: '' }, - // { label: '未建', value: '0' }, - // { label: '在建', value: '1' }, - // { label: '已建', value: '2' } - // ] } catch (error) { console.error('获取建设状态列表失败:', error) } finally { diff --git a/frontend/src/modules/fishSurvey/SurveyQingKuang/DeviceTableModal.vue b/frontend/src/modules/fishSurvey/SurveyQingKuang/DeviceTableModal.vue index b9fb5571..bf977f43 100644 --- a/frontend/src/modules/fishSurvey/SurveyQingKuang/DeviceTableModal.vue +++ b/frontend/src/modules/fishSurvey/SurveyQingKuang/DeviceTableModal.vue @@ -115,7 +115,6 @@ const fishTypeOptions = ref([]); const fetchFishTypeList = async () => { try { const res = await sdFprdRgetFishInfo(); - // debugger if (res && res?.data) { fishTypeOptions.value = res.data.map((item: any) => ({ label: item, diff --git a/frontend/src/modules/huanbaoMod/TwoLayers/HuanbaoModTwoLayers.vue b/frontend/src/modules/huanbaoMod/TwoLayers/HuanbaoModTwoLayers.vue index d47071bc..76e11004 100644 --- a/frontend/src/modules/huanbaoMod/TwoLayers/HuanbaoModTwoLayers.vue +++ b/frontend/src/modules/huanbaoMod/TwoLayers/HuanbaoModTwoLayers.vue @@ -346,7 +346,6 @@ const handleViewDetail = (record: any, type: any) => { modelStore.modalVisible = true; modelStore.params = record; modelStore.params.sttp = record.sttpCode; - // debugger modelStore.title = record.stnm; modelStore.params.stcd = record.stcd; } diff --git a/frontend/src/modules/liuyu/yichangyujing/shuizhijiancegaojing/shuizhijianceshuju.vue b/frontend/src/modules/liuyu/yichangyujing/shuizhijiancegaojing/shuizhijianceshuju.vue index 75027bcd..df9aa56e 100644 --- a/frontend/src/modules/liuyu/yichangyujing/shuizhijiancegaojing/shuizhijianceshuju.vue +++ b/frontend/src/modules/liuyu/yichangyujing/shuizhijiancegaojing/shuizhijianceshuju.vue @@ -195,7 +195,6 @@ const getCardData = async () => { const res = await getShuizhiGaojingList(params); const list = res?.data?.data || []; - // debugger const result = { normal: 0, abnormal: 0, diff --git a/frontend/src/modules/lushengshengtaijiance/index.vue b/frontend/src/modules/lushengshengtaijiance/index.vue index 5ceffbf9..19780717 100644 --- a/frontend/src/modules/lushengshengtaijiance/index.vue +++ b/frontend/src/modules/lushengshengtaijiance/index.vue @@ -135,7 +135,6 @@ const handlePanelChange = (data: any) => { const handleCardClick = (facility: any) => { console.log('卡片被点击,准备打开弹框'); - // debugger currentOrderIndex.value = facility.orderInx; modalVisible.value = true; }; diff --git a/frontend/src/modules/shengtaidabiaoTwoMod/TwoLayer/STLLXFFS.vue b/frontend/src/modules/shengtaidabiaoTwoMod/TwoLayer/STLLXFFS.vue index 7b3acca6..7694f324 100644 --- a/frontend/src/modules/shengtaidabiaoTwoMod/TwoLayer/STLLXFFS.vue +++ b/frontend/src/modules/shengtaidabiaoTwoMod/TwoLayer/STLLXFFS.vue @@ -443,7 +443,6 @@ const fetchPieData = async () => { // TODO: 调用实际 API - 待补充接口 const res = await vmsstbprptGetKendoList1(obj); - // debugger if (res?.data?.data) { const dataSource = res.data.data.map((el: any) => ({ id: isAllBase ? el.baseId : el.hbrvcd, diff --git a/frontend/src/modules/shengtaidabiaoTwoMod/index.vue b/frontend/src/modules/shengtaidabiaoTwoMod/index.vue index cdf54d8b..fc8f2229 100644 --- a/frontend/src/modules/shengtaidabiaoTwoMod/index.vue +++ b/frontend/src/modules/shengtaidabiaoTwoMod/index.vue @@ -368,7 +368,6 @@ const getdate = (offsetYears = 0) => { // 提取日期部分(去除时间) startDate1 = formatDate(start); endDate1 = formatDate(end); - // debugger } else { // 否则使用默认的"一个月前到现在" const now = new Date(); @@ -595,7 +594,6 @@ watch( (newVal, oldVal) => { console.log('时间范围变化:', oldVal, '->', newVal); dateArr.value = newVal - // debugger loadData(); // 处理你的逻辑 }, diff --git a/frontend/src/modules/shengtaidabiaoTwoModJJ/TwoLayer/STLLXFFS.vue b/frontend/src/modules/shengtaidabiaoTwoModJJ/TwoLayer/STLLXFFS.vue index 053e8edb..6733d45a 100644 --- a/frontend/src/modules/shengtaidabiaoTwoModJJ/TwoLayer/STLLXFFS.vue +++ b/frontend/src/modules/shengtaidabiaoTwoModJJ/TwoLayer/STLLXFFS.vue @@ -443,7 +443,7 @@ const fetchPieData = async () => { // TODO: 调用实际 API - 待补充接口 const res = await vmsstbprptGetKendoList1(obj); - // debugger + if (res?.data?.data) { const dataSource = res.data.data.map((el: any) => ({ id: isAllBase ? el.baseId : el.hbrvcd, diff --git a/frontend/src/modules/shengtaidabiaoTwoModJJ/index.vue b/frontend/src/modules/shengtaidabiaoTwoModJJ/index.vue index bb397101..24814efe 100644 --- a/frontend/src/modules/shengtaidabiaoTwoModJJ/index.vue +++ b/frontend/src/modules/shengtaidabiaoTwoModJJ/index.vue @@ -370,7 +370,7 @@ const getdate = (offsetYears = 0) => { // 提取日期部分(去除时间) startDate1 = formatDate(start); endDate1 = formatDate(end); - // debugger + } else { // 否则使用默认的"一个月前到现在" const now = new Date(); @@ -597,7 +597,7 @@ watch( (newVal, oldVal) => { console.log('时间范围变化:', oldVal, '->', newVal); dateArr.value = newVal - // debugger + loadData(); // 处理你的逻辑 }, diff --git a/frontend/src/modules/shuiShengShengTaiDiaoCha/index.vue b/frontend/src/modules/shuiShengShengTaiDiaoCha/index.vue index 5d340902..8bdba26d 100644 --- a/frontend/src/modules/shuiShengShengTaiDiaoCha/index.vue +++ b/frontend/src/modules/shuiShengShengTaiDiaoCha/index.vue @@ -183,7 +183,7 @@ const getYearData = async () => { }; const res = await getDftYear(params); - // debugger + const data = res?.data?.data?.[0] || {}; if (Object.keys(data).length > 0) { @@ -260,7 +260,6 @@ const getChartData = async () => { }; const res = await getFishListStat(params); - // debugger chartData.value = res?.data?.data || []; nextTick(() => { updateChart(); diff --git a/frontend/src/modules/shuidianhuangjingjieruMod/TwoLayer/ShuiDianKaiFQKTwoLayer.vue b/frontend/src/modules/shuidianhuangjingjieruMod/TwoLayer/ShuiDianKaiFQKTwoLayer.vue index 27e605a1..b019e568 100644 --- a/frontend/src/modules/shuidianhuangjingjieruMod/TwoLayer/ShuiDianKaiFQKTwoLayer.vue +++ b/frontend/src/modules/shuidianhuangjingjieruMod/TwoLayer/ShuiDianKaiFQKTwoLayer.vue @@ -742,7 +742,7 @@ watch( const result = await fetchTabData(params); tabList.value = result; - // debugger + if (result.length > 0) { if (props.defaultTab) { diff --git a/frontend/src/modules/shuishengshengtaijiance/SsstdcgkTk.vue b/frontend/src/modules/shuishengshengtaijiance/SsstdcgkTk.vue index 0dda5882..549573d3 100644 --- a/frontend/src/modules/shuishengshengtaijiance/SsstdcgkTk.vue +++ b/frontend/src/modules/shuishengshengtaijiance/SsstdcgkTk.vue @@ -264,7 +264,6 @@ const getDcpcOptions = async () => { ]; const res = await getWeStaticsSecond( { filter: params, group }); - // debugger if (res?.data?.data?.length) { const options = res.data.data.map((item: any) => ({ diff --git a/frontend/src/modules/yunXingGaoJIng/Aisbdbyx/AISBTK.vue b/frontend/src/modules/yunXingGaoJIng/Aisbdbyx/AISBTK.vue index 86dac576..07e56470 100644 --- a/frontend/src/modules/yunXingGaoJIng/Aisbdbyx/AISBTK.vue +++ b/frontend/src/modules/yunXingGaoJIng/Aisbdbyx/AISBTK.vue @@ -1311,7 +1311,6 @@ const fetchVideoList = async () => { item => item.flpth !== '' || item.imgPath !== '' ); videoList.value = listMap; - // debugger // 默认选中第一条 if (listMap.length > 0 && !activeFid.value) { handleSelectMedia(listMap[0]); diff --git a/frontend/src/modules/zengZhiJiHuaWanChengQingKuang/TwoLayers/ZengZhiZhanQingKuangTwoLayers.vue b/frontend/src/modules/zengZhiJiHuaWanChengQingKuang/TwoLayers/ZengZhiZhanQingKuangTwoLayers.vue index cb8f0849..e2390d37 100644 --- a/frontend/src/modules/zengZhiJiHuaWanChengQingKuang/TwoLayers/ZengZhiZhanQingKuangTwoLayers.vue +++ b/frontend/src/modules/zengZhiJiHuaWanChengQingKuang/TwoLayers/ZengZhiZhanQingKuangTwoLayers.vue @@ -497,7 +497,6 @@ const handleViewDetail = (record: any, type: any) => { modelStore.params.sttp = 'FB'; modelStore.filter.year = years.value; } else { - // debugger modelStore.modalVisible = true; modelStore.params.sttp = 'ENG'; modelStore.title = record.name; diff --git a/frontend/src/modules/zengZhiJiHuaWanChengQingKuang/index.vue b/frontend/src/modules/zengZhiJiHuaWanChengQingKuang/index.vue index 221a2c68..94570dfc 100644 --- a/frontend/src/modules/zengZhiJiHuaWanChengQingKuang/index.vue +++ b/frontend/src/modules/zengZhiJiHuaWanChengQingKuang/index.vue @@ -445,7 +445,6 @@ const getSelectData = async () => { select.value.value = select.value.options[0].value; // 获取完站点列表后,立即获取图表数据 getEcharts(); - // debugger; }; const getEcharts = async () => { loading.value = true; @@ -524,7 +523,6 @@ const getEcharts = async () => { // 判断是否有数据 noData.value = wangCheng.value.length === 0 && zhongLei.value.length === 0; console.log('图表数据:', noData.value); - // debugger; // 只有有数据时才渲染图表 if (!noData.value) { updateChart(); @@ -560,7 +558,6 @@ onUnmounted(() => { //监听子组件的数据变化 const handlePanelChange1 = async data => { console.log('当前所有控件状态:', data); - // debugger; // 当选择器或日期变化时,重新加载图表数据 if (data.datetime && data.select) { await (datetimePicker.value.value = data.datetime); diff --git a/frontend/src/modules/zengzhizhanjiansheyunxing/WholeValuedStationOverviewDetail/index.vue b/frontend/src/modules/zengzhizhanjiansheyunxing/WholeValuedStationOverviewDetail/index.vue index 4fb71fe7..af611e40 100644 --- a/frontend/src/modules/zengzhizhanjiansheyunxing/WholeValuedStationOverviewDetail/index.vue +++ b/frontend/src/modules/zengzhizhanjiansheyunxing/WholeValuedStationOverviewDetail/index.vue @@ -199,7 +199,6 @@ const customTransform = (res: any) => { // ==================== 搜索与重置 ==================== const handleSearch = () => { - // debugger; const filter = getFilter(); tableRef.value?.getList(filter); }; @@ -212,7 +211,6 @@ const handleReset = () => { // 查看详情 const handleViewDetail = (record: any) => { -// debugger; modelStore.modalVisible = true; modelStore.params = record; modelStore.title = record.stnm; diff --git a/frontend/src/store/modules/shuJuTianBao.ts b/frontend/src/store/modules/shuJuTianBao.ts index b1cec9a7..d8f967eb 100644 --- a/frontend/src/store/modules/shuJuTianBao.ts +++ b/frontend/src/store/modules/shuJuTianBao.ts @@ -27,7 +27,6 @@ export const useShuJuTianBaoStore = defineStore('shuJuTianBao', () => { try { baseLoading.value = true; const res = await getBaseDropdown({}); - // debugger if (res.data && Array.isArray(res.data)) { const list = [...res.data]; // 直接赋值给 ref,触发响应式更新 diff --git a/frontend/src/views/DataQueryMenuModule/components/monitorData/Export/index.vue b/frontend/src/views/DataQueryMenuModule/components/monitorData/Export/index.vue index f68890f2..9cf4ad31 100644 --- a/frontend/src/views/DataQueryMenuModule/components/monitorData/Export/index.vue +++ b/frontend/src/views/DataQueryMenuModule/components/monitorData/Export/index.vue @@ -482,7 +482,6 @@ const getDict = async () => { let res = await getDictItemsByCode({ dictCode: 'dataField' }); dataFieldOption.value = res.data; formData.monitorElements = dataFieldOption.value.map(item => item.itemCode); - // debugger }; onMounted(() => { getDict(); diff --git a/frontend/src/views/dianZhanZhuanTi/components/DZShuiDianZhanSPJK.vue b/frontend/src/views/dianZhanZhuanTi/components/DZShuiDianZhanSPJK.vue index 365c7fd0..2e968c0e 100644 --- a/frontend/src/views/dianZhanZhuanTi/components/DZShuiDianZhanSPJK.vue +++ b/frontend/src/views/dianZhanZhuanTi/components/DZShuiDianZhanSPJK.vue @@ -204,7 +204,6 @@ const handleSelectMedia = (item: any) => { type: 'video', src: item.flpth || item.src || '' }; - // debugger }; // 打开更多视频弹窗 @@ -305,7 +304,6 @@ const fetchVideoData = async (stcd: string) => { }; const videoRes = await realTimeVideo(params1); const videoData = videoRes?.data?.data || videoRes?.data || []; - // debugger const videoItems: VideoItem[] = ( Array.isArray(videoData) ? videoData : [] ).map((item: any) => ({ @@ -323,7 +321,6 @@ const fetchVideoData = async (stcd: string) => { })); videoList.value = videoItems; - // debugger currentSlide.value = 0; scrollOffset.value = 0; } catch (error) { diff --git a/frontend/src/views/dianZhanZhuanTi/components/ZenZhiZhanYunXingDetailModal.vue b/frontend/src/views/dianZhanZhuanTi/components/ZenZhiZhanYunXingDetailModal.vue index 094139f3..ff561583 100644 --- a/frontend/src/views/dianZhanZhuanTi/components/ZenZhiZhanYunXingDetailModal.vue +++ b/frontend/src/views/dianZhanZhuanTi/components/ZenZhiZhanYunXingDetailModal.vue @@ -232,7 +232,6 @@ const fetchFishDic = async () => { filter: { logic: 'and', filters: [] }, select: ['id', 'name'] }); - // debugger const data = res?.data?.data || []; fishDic.value = data.map((item: any) => ({ value: item.id, diff --git a/frontend/src/views/dianZhanZhuanTi/components/powerStationReleasetaStistics.vue b/frontend/src/views/dianZhanZhuanTi/components/powerStationReleasetaStistics.vue index ca80441b..32afa9c9 100644 --- a/frontend/src/views/dianZhanZhuanTi/components/powerStationReleasetaStistics.vue +++ b/frontend/src/views/dianZhanZhuanTi/components/powerStationReleasetaStistics.vue @@ -285,9 +285,7 @@ const fetchYear = () => { }; getPowerStationReleaseYear(params) .then((res: any) => { - // debugger const list = res?.data?.data?.[0] ?? []; - // debugger if (list.length > 0) { searchDate.value = dayjs(list[0].plansd); } else { diff --git a/frontend/src/views/shengTaiDiaoCha/shuiShengShengTaiDiaoCha/SSSTDCDB.vue b/frontend/src/views/shengTaiDiaoCha/shuiShengShengTaiDiaoCha/SSSTDCDB.vue index 85d16a9a..abd2603c 100644 --- a/frontend/src/views/shengTaiDiaoCha/shuiShengShengTaiDiaoCha/SSSTDCDB.vue +++ b/frontend/src/views/shengTaiDiaoCha/shuiShengShengTaiDiaoCha/SSSTDCDB.vue @@ -190,7 +190,6 @@ const fetchChartData = async () => { } }; const res: any = await getCompareBar(params); - // debugger if (res?.data?.data?.[0]?.dataSource) { chartList.value = res.data.data[0].dataSource; } else { diff --git a/frontend/src/views/system/ConfigManagement/index.vue b/frontend/src/views/system/ConfigManagement/index.vue index 72994059..c379c4e4 100644 --- a/frontend/src/views/system/ConfigManagement/index.vue +++ b/frontend/src/views/system/ConfigManagement/index.vue @@ -185,7 +185,6 @@ const handleEdit = async (record: any) => { const firstLevelNodes = data.filter((item: any) => !item.rstcd); const secondLevelNodes = data.filter((item: any) => item.rstcd); - // debugger const configNodes = firstLevelNodes.map((node: any, index: number) => { const children = secondLevelNodes.filter( (child: any) => child.rstcd === node.stcd @@ -216,7 +215,6 @@ const handleEdit = async (record: any) => { }); currentRecord.value.configNodes = configNodes; - // debugger } editModalVisible.value = true; }; diff --git a/frontend/src/views/system/TiltPhotoManagement/index.vue b/frontend/src/views/system/TiltPhotoManagement/index.vue index d16c9d08..f86b8280 100644 --- a/frontend/src/views/system/TiltPhotoManagement/index.vue +++ b/frontend/src/views/system/TiltPhotoManagement/index.vue @@ -211,7 +211,6 @@ const editModalCancel = () => { // 表单提交 const handleEditSubmit = async (values: any) => { - // debugger try { let res = await saveTiltPhoto({ ...currentRecord.value, diff --git a/frontend/src/views/system/alertRules/components/ConfigManagement/ConfigManagementForm.vue b/frontend/src/views/system/alertRules/components/ConfigManagement/ConfigManagementForm.vue index a194ffde..df68fc2a 100644 --- a/frontend/src/views/system/alertRules/components/ConfigManagement/ConfigManagementForm.vue +++ b/frontend/src/views/system/alertRules/components/ConfigManagement/ConfigManagementForm.vue @@ -367,7 +367,6 @@ const fetchFacilityOptions = async (stationCode: string) => { } else if (formData.ruleType === 'WQ_RULE') { params.filter.filters[1].value = ['WQ']; const res: any = await getMonitorDataWq(params); - // debugger const list = res?.data?.data || []; facilityOptions.value = list.map((item: any) => ({ value: item.stcd , label: item.stnm, stcd: item.stcd })); } else { @@ -514,10 +513,9 @@ const filterOption = (inputValue: string, option: any) => { }; const ennmOptions = ref([]); const handleRiverSelect = async (value: any) => { - // debugger - // + let res: any = await getDictItemsByCode({ dictCode: 'WWQTG' }); - // + if (res?.data?.length > 0) { res.data.forEach((item: any) => { item.value = item.itemCode; diff --git a/frontend/src/views/system/alertRules/components/RulesManagement/LayerManagementForm.vue b/frontend/src/views/system/alertRules/components/RulesManagement/LayerManagementForm.vue index b7a15c91..804f5c43 100644 --- a/frontend/src/views/system/alertRules/components/RulesManagement/LayerManagementForm.vue +++ b/frontend/src/views/system/alertRules/components/RulesManagement/LayerManagementForm.vue @@ -239,7 +239,6 @@ const ennmOptions = ref([]); const handleRiverSelect = async (value: any) => { // let res: any = await getDictItemsByCode({ dictCode: 'WWQTG' }); - // debugger if (res?.data?.length > 0) { res.data.forEach((item: any) => { item.value = item.itemCode; diff --git a/frontend/src/views/system/user/index.vue b/frontend/src/views/system/user/index.vue index 10a2c004..ad50a0a0 100644 --- a/frontend/src/views/system/user/index.vue +++ b/frontend/src/views/system/user/index.vue @@ -798,7 +798,6 @@ function getrole() { rolename: '' }; listGroupedByTenant(params).then(res => { - // debugger rolesdata.value = res; }); }