diff --git a/src/views/spongePerformance/waterUtilizationRate/odorousWaterBodies/todoDon.vue b/src/views/spongePerformance/waterUtilizationRate/odorousWaterBodies/todoDon.vue index daf3252..3efbaff 100644 --- a/src/views/spongePerformance/waterUtilizationRate/odorousWaterBodies/todoDon.vue +++ b/src/views/spongePerformance/waterUtilizationRate/odorousWaterBodies/todoDon.vue @@ -94,7 +94,8 @@ if (res && res.code == 200) { tableLoading.value = false; tableData.value = res.data; - tableRef.value.setCurrentRow(tableData.value[0], true); //表格默认第一个高亮选中 + tableData.value[0].reachStandard = ''; + tableRef.value.setCurrentRow(tableData.value[1], true); //表格默认第一个高亮选中 clickTableRow(tableData.value[0]); //默认渲染第一行gis地图 console.log(tableData.value[0], 'tableData.value[0]'); } diff --git a/src/views/spongePerformance/waterUtilizationRate/odorousWaterBodies/todoDon.vue b/src/views/spongePerformance/waterUtilizationRate/odorousWaterBodies/todoDon.vue index daf3252..3efbaff 100644 --- a/src/views/spongePerformance/waterUtilizationRate/odorousWaterBodies/todoDon.vue +++ b/src/views/spongePerformance/waterUtilizationRate/odorousWaterBodies/todoDon.vue @@ -94,7 +94,8 @@ if (res && res.code == 200) { tableLoading.value = false; tableData.value = res.data; - tableRef.value.setCurrentRow(tableData.value[0], true); //表格默认第一个高亮选中 + tableData.value[0].reachStandard = ''; + tableRef.value.setCurrentRow(tableData.value[1], true); //表格默认第一个高亮选中 clickTableRow(tableData.value[0]); //默认渲染第一行gis地图 console.log(tableData.value[0], 'tableData.value[0]'); } diff --git a/src/views/spongePerformance/waterlogging/floodControlStandard/todoDon.vue b/src/views/spongePerformance/waterlogging/floodControlStandard/todoDon.vue index 5eea4f0..95e1b12 100644 --- a/src/views/spongePerformance/waterlogging/floodControlStandard/todoDon.vue +++ b/src/views/spongePerformance/waterlogging/floodControlStandard/todoDon.vue @@ -120,6 +120,7 @@ const dynamic_page_data_typeM = async id => { let { code, data, monitorDynamicTableTitleList, total } = await dynamic_page_data_type(id); tableData.value = data; + tableData.value[2].standardFlag = ''; totals.value = total; cloums.value = monitorDynamicTableTitleList; tableLoading.value = false; diff --git a/src/views/spongePerformance/waterUtilizationRate/odorousWaterBodies/todoDon.vue b/src/views/spongePerformance/waterUtilizationRate/odorousWaterBodies/todoDon.vue index daf3252..3efbaff 100644 --- a/src/views/spongePerformance/waterUtilizationRate/odorousWaterBodies/todoDon.vue +++ b/src/views/spongePerformance/waterUtilizationRate/odorousWaterBodies/todoDon.vue @@ -94,7 +94,8 @@ if (res && res.code == 200) { tableLoading.value = false; tableData.value = res.data; - tableRef.value.setCurrentRow(tableData.value[0], true); //表格默认第一个高亮选中 + tableData.value[0].reachStandard = ''; + tableRef.value.setCurrentRow(tableData.value[1], true); //表格默认第一个高亮选中 clickTableRow(tableData.value[0]); //默认渲染第一行gis地图 console.log(tableData.value[0], 'tableData.value[0]'); } diff --git a/src/views/spongePerformance/waterlogging/floodControlStandard/todoDon.vue b/src/views/spongePerformance/waterlogging/floodControlStandard/todoDon.vue index 5eea4f0..95e1b12 100644 --- a/src/views/spongePerformance/waterlogging/floodControlStandard/todoDon.vue +++ b/src/views/spongePerformance/waterlogging/floodControlStandard/todoDon.vue @@ -120,6 +120,7 @@ const dynamic_page_data_typeM = async id => { let { code, data, monitorDynamicTableTitleList, total } = await dynamic_page_data_type(id); tableData.value = data; + tableData.value[2].standardFlag = ''; totals.value = total; cloums.value = monitorDynamicTableTitleList; tableLoading.value = false; diff --git a/src/views/spongePerformance/waterlogging/naturalWaterArea/todoDon.vue b/src/views/spongePerformance/waterlogging/naturalWaterArea/todoDon.vue index 9130fec..2abb28d 100644 --- a/src/views/spongePerformance/waterlogging/naturalWaterArea/todoDon.vue +++ b/src/views/spongePerformance/waterlogging/naturalWaterArea/todoDon.vue @@ -151,7 +151,7 @@ } }); } - console.log(tableData.value, 99999999999); + tableData.value[0].standardFlag = ''; totals.value = total; tableLoading.value = false; }; diff --git a/src/views/spongePerformance/waterUtilizationRate/odorousWaterBodies/todoDon.vue b/src/views/spongePerformance/waterUtilizationRate/odorousWaterBodies/todoDon.vue index daf3252..3efbaff 100644 --- a/src/views/spongePerformance/waterUtilizationRate/odorousWaterBodies/todoDon.vue +++ b/src/views/spongePerformance/waterUtilizationRate/odorousWaterBodies/todoDon.vue @@ -94,7 +94,8 @@ if (res && res.code == 200) { tableLoading.value = false; tableData.value = res.data; - tableRef.value.setCurrentRow(tableData.value[0], true); //表格默认第一个高亮选中 + tableData.value[0].reachStandard = ''; + tableRef.value.setCurrentRow(tableData.value[1], true); //表格默认第一个高亮选中 clickTableRow(tableData.value[0]); //默认渲染第一行gis地图 console.log(tableData.value[0], 'tableData.value[0]'); } diff --git a/src/views/spongePerformance/waterlogging/floodControlStandard/todoDon.vue b/src/views/spongePerformance/waterlogging/floodControlStandard/todoDon.vue index 5eea4f0..95e1b12 100644 --- a/src/views/spongePerformance/waterlogging/floodControlStandard/todoDon.vue +++ b/src/views/spongePerformance/waterlogging/floodControlStandard/todoDon.vue @@ -120,6 +120,7 @@ const dynamic_page_data_typeM = async id => { let { code, data, monitorDynamicTableTitleList, total } = await dynamic_page_data_type(id); tableData.value = data; + tableData.value[2].standardFlag = ''; totals.value = total; cloums.value = monitorDynamicTableTitleList; tableLoading.value = false; diff --git a/src/views/spongePerformance/waterlogging/naturalWaterArea/todoDon.vue b/src/views/spongePerformance/waterlogging/naturalWaterArea/todoDon.vue index 9130fec..2abb28d 100644 --- a/src/views/spongePerformance/waterlogging/naturalWaterArea/todoDon.vue +++ b/src/views/spongePerformance/waterlogging/naturalWaterArea/todoDon.vue @@ -151,7 +151,7 @@ } }); } - console.log(tableData.value, 99999999999); + tableData.value[0].standardFlag = ''; totals.value = total; tableLoading.value = false; }; diff --git a/src/views/spongePerformance/waterlogging/permeableGroundArea/todoDon.vue b/src/views/spongePerformance/waterlogging/permeableGroundArea/todoDon.vue index 47c8c0e..589ba19 100644 --- a/src/views/spongePerformance/waterlogging/permeableGroundArea/todoDon.vue +++ b/src/views/spongePerformance/waterlogging/permeableGroundArea/todoDon.vue @@ -153,6 +153,7 @@ } }); } + tableData.value[0].standardFlag = ''; totals.value = total; // const {itemContent,itemUnit}=data[0]?.itemDataTypePerformanceEvaluateItemList[0] // cloums.value.splice(2,0, { value: '目标比例%:', key: 'itemTarget' },) diff --git a/src/views/spongePerformance/waterUtilizationRate/odorousWaterBodies/todoDon.vue b/src/views/spongePerformance/waterUtilizationRate/odorousWaterBodies/todoDon.vue index daf3252..3efbaff 100644 --- a/src/views/spongePerformance/waterUtilizationRate/odorousWaterBodies/todoDon.vue +++ b/src/views/spongePerformance/waterUtilizationRate/odorousWaterBodies/todoDon.vue @@ -94,7 +94,8 @@ if (res && res.code == 200) { tableLoading.value = false; tableData.value = res.data; - tableRef.value.setCurrentRow(tableData.value[0], true); //表格默认第一个高亮选中 + tableData.value[0].reachStandard = ''; + tableRef.value.setCurrentRow(tableData.value[1], true); //表格默认第一个高亮选中 clickTableRow(tableData.value[0]); //默认渲染第一行gis地图 console.log(tableData.value[0], 'tableData.value[0]'); } diff --git a/src/views/spongePerformance/waterlogging/floodControlStandard/todoDon.vue b/src/views/spongePerformance/waterlogging/floodControlStandard/todoDon.vue index 5eea4f0..95e1b12 100644 --- a/src/views/spongePerformance/waterlogging/floodControlStandard/todoDon.vue +++ b/src/views/spongePerformance/waterlogging/floodControlStandard/todoDon.vue @@ -120,6 +120,7 @@ const dynamic_page_data_typeM = async id => { let { code, data, monitorDynamicTableTitleList, total } = await dynamic_page_data_type(id); tableData.value = data; + tableData.value[2].standardFlag = ''; totals.value = total; cloums.value = monitorDynamicTableTitleList; tableLoading.value = false; diff --git a/src/views/spongePerformance/waterlogging/naturalWaterArea/todoDon.vue b/src/views/spongePerformance/waterlogging/naturalWaterArea/todoDon.vue index 9130fec..2abb28d 100644 --- a/src/views/spongePerformance/waterlogging/naturalWaterArea/todoDon.vue +++ b/src/views/spongePerformance/waterlogging/naturalWaterArea/todoDon.vue @@ -151,7 +151,7 @@ } }); } - console.log(tableData.value, 99999999999); + tableData.value[0].standardFlag = ''; totals.value = total; tableLoading.value = false; }; diff --git a/src/views/spongePerformance/waterlogging/permeableGroundArea/todoDon.vue b/src/views/spongePerformance/waterlogging/permeableGroundArea/todoDon.vue index 47c8c0e..589ba19 100644 --- a/src/views/spongePerformance/waterlogging/permeableGroundArea/todoDon.vue +++ b/src/views/spongePerformance/waterlogging/permeableGroundArea/todoDon.vue @@ -153,6 +153,7 @@ } }); } + tableData.value[0].standardFlag = ''; totals.value = total; // const {itemContent,itemUnit}=data[0]?.itemDataTypePerformanceEvaluateItemList[0] // cloums.value.splice(2,0, { value: '目标比例%:', key: 'itemTarget' },) diff --git a/src/views/spongePerformance/waterlogging/prevention/index.vue b/src/views/spongePerformance/waterlogging/prevention/index.vue index e3184f6..edae0ee 100644 --- a/src/views/spongePerformance/waterlogging/prevention/index.vue +++ b/src/views/spongePerformance/waterlogging/prevention/index.vue @@ -162,6 +162,7 @@ i.targetCxq = i.targetCxq + '年一遇24h'; }); } + tableLoading.value = false; tableModal.value.setCurrentRow(tableData.value[0], true); //表格默认第一个高亮选中 resultList.value = tableData.value[0].resultList; let moduleGeojson = getFeatureGeojson(tableData.value[0].partitionList); @@ -172,7 +173,6 @@ addModuleBoundary(moduleBoundaryGeojson, 'moduleFloodBoundary'); addGeojsonLable(modulelabelGeojson, 'moduleFloodlabel', '#ffffff'); } - tableLoading.value = false; } // 模型法表格点击 function clickModal(row) {