From 52aba4211fe3788b437911f6110c6923b3d7c4ff Mon Sep 17 00:00:00 2001
From: LeoAnn <1297441823@qq.com>
Date: Fri, 11 Jul 2025 17:39:49 +0800
Subject: [PATCH] feat: ...
---
src/api/actualSurvey/measuredFlowResults.js | 37 ++
src/components/SelectStaion/index.vue | 3 +
.../actualSurvey/actualMeasurement/index.vue | 367 ++++++++++++++++++
.../measuredFlowResults/index.vue | 367 ++++++++++++++++++
src/views/basic/station/index.vue | 23 +-
src/views/day/dayEvaporationWater/index.vue | 25 +-
src/views/day/dayFlow/index.vue | 25 +-
src/views/day/dayRain/index.vue | 38 +-
.../day/daySedimentConcentration/index.vue | 25 +-
src/views/day/dayWaterLever/index.vue | 25 +-
src/views/day/dayWaterTemperature/index.vue | 24 +-
src/views/day/dayZscs/index.vue | 11 +-
src/views/excerpt/floodExcerpt/index.vue | 25 +-
.../excerpt/followingTheTideExcerpt/index.vue | 24 +-
src/views/excerpt/rainExcerpt/index.vue | 25 +-
src/views/excerpt/rsverFloodExcerpt/index.vue | 24 +-
src/views/excerpt/szFloodExcerpt/index.vue | 24 +-
.../historyExport/ycResStatInfo/index.vue | 282 ++++++++++++++
src/views/historyExport/ycSoft/index.vue | 10 +-
src/views/month/evaporationWater/index.vue | 25 +-
src/views/month/monthFlow/index.vue | 24 +-
src/views/month/monthRain/index.vue | 25 +-
src/views/month/monthTideLever/index.vue | 11 +-
.../month/monthWaterTemperature/index.vue | 25 +-
.../month/sedimentConcentration/index.vue | 25 +-
.../month/sedimentTransportRate/index.vue | 25 +-
src/views/month/waterLever/index.vue | 24 +-
src/views/year/maxDayRain/index.vue | 25 +-
src/views/year/maxFloodScale/index.vue | 24 +-
src/views/year/maxHourRain/index.vue | 25 +-
src/views/year/maxMinuteRain/index.vue | 25 +-
.../year/sedimentConcentration/index.vue | 24 +-
.../year/sedimentTransportRate/index.vue | 25 +-
src/views/year/yearEvaporationWater/index.vue | 25 +-
src/views/year/yearFlow/index.vue | 25 +-
src/views/year/yearRain/index.vue | 25 +-
src/views/year/yearTideLever/index.vue | 11 +-
src/views/year/yearWaterLever/index.vue | 32 +-
src/views/year/yearWaterTemperature/index.vue | 24 +-
39 files changed, 1611 insertions(+), 247 deletions(-)
create mode 100644 src/api/actualSurvey/measuredFlowResults.js
create mode 100644 src/views/actualSurvey/actualMeasurement/index.vue
create mode 100644 src/views/actualSurvey/measuredFlowResults/index.vue
create mode 100644 src/views/historyExport/ycResStatInfo/index.vue
diff --git a/src/api/actualSurvey/measuredFlowResults.js b/src/api/actualSurvey/measuredFlowResults.js
new file mode 100644
index 0000000..ce906c9
--- /dev/null
+++ b/src/api/actualSurvey/measuredFlowResults.js
@@ -0,0 +1,37 @@
+import request from '@/utils/request'
+
+
+export default {
+ getRainTableList(searchModel) {
+ return request({
+ url: "/actualSurvey/getFlowResult",
+ method: 'get',
+ params: {
+ pageNum: searchModel.pageNum,
+ pageSize: searchModel.pageSize,
+ stcdIds: searchModel.stcdIds,
+ startTime: searchModel.startTime,
+ endTime: searchModel.endTime,
+ stcd:searchModel.stcd,
+ stnm:searchModel.stnm
+ }
+ })
+ },
+ // exportRainDataList(){
+ // return request({
+ // url: "/export/exportMonthRainList",
+ // method: 'get',
+ // responseType: 'blob'
+ // })
+ // },
+ // importDateToSoft(from){
+ // return request({
+ // url: "/month/import/importMonthRainList",
+ // method: 'post',
+ // params: {
+ // startTime: from.startTime,
+ // endTime: from.endTime,
+ // }
+ // })
+ // }
+}
diff --git a/src/components/SelectStaion/index.vue b/src/components/SelectStaion/index.vue
index 09cdecc..793b8b3 100644
--- a/src/components/SelectStaion/index.vue
+++ b/src/components/SelectStaion/index.vue
@@ -38,6 +38,7 @@ export default {
componentKey: 0,
options: [],
stcds: '',
+ count:'',
selectedValues: [], // 绑定选中值
}
},
@@ -93,6 +94,8 @@ export default {
});
};
this.options = processTree([res.data]); // 注意保持数组结构
+ this.count = res.count; // 保存count值
+ this.$emit('count-update', res.count); // 新增:触发事件传递count值
},
handleChange(selectedValues, selectedNodes) {
diff --git a/src/views/actualSurvey/actualMeasurement/index.vue b/src/views/actualSurvey/actualMeasurement/index.vue
new file mode 100644
index 0000000..98b897c
--- /dev/null
+++ b/src/views/actualSurvey/actualMeasurement/index.vue
@@ -0,0 +1,367 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{this.stationNum}}
+
+
+ 查询
+
+
+ 导出
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.$index + 1 }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/actualSurvey/measuredFlowResults/index.vue b/src/views/actualSurvey/measuredFlowResults/index.vue
new file mode 100644
index 0000000..98b897c
--- /dev/null
+++ b/src/views/actualSurvey/measuredFlowResults/index.vue
@@ -0,0 +1,367 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{this.stationNum}}
+
+
+ 查询
+
+
+ 导出
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.$index + 1 }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/basic/station/index.vue b/src/views/basic/station/index.vue
index c050f9f..f99a0fb 100644
--- a/src/views/basic/station/index.vue
+++ b/src/views/basic/station/index.vue
@@ -21,9 +21,14 @@
ref="selectStaionRef"
:startTime="this.formatDateToYear(this.searchModel.startTime)"
:endTime="this.formatDateToYear(this.searchModel.endTime)"
- :type="this.type">
+ :type="this.type"
+ @count-update="handleCountUpdate"
+ >
+
+ {{this.stationNum}}
+
查询
@@ -316,6 +321,7 @@ export default {
props: {multiple: true},
options: [],
tableData: [],
+ stationNum:'',
uploadData: {
type:"stsc"
},
@@ -355,6 +361,9 @@ export default {
}
},
methods: {
+ handleCountUpdate(count) {
+ this.stationNum = count; // 更新父组件的stationNum
+ },
beforeUpload(file) {
// 1. 校验文件类型
const isZip = file.name.endsWith('.zip');
@@ -408,7 +417,7 @@ export default {
pageSize: this.searchModel.pageSize,
startTime: startYear,
endTime: endYear,
- stcds: this.searchModel.stcds,
+ stcds: this.searchModel.stcd,
}
const res = await stationApi.getStationList(param)
this.tableData = res.data;
@@ -485,6 +494,16 @@ export default {
this.searchModel.stcd = this.$refs.selectStaionRef.stcds;
}
});
+ // this.$nextTick(() => {
+ // if (this.$refs.selectStaionRef) {
+ // // 主动触发子组件的查询逻辑
+ // this.$refs.selectStaionRef.getStaionList(
+ // this.formatDateToYear(this.searchModel.startTime),
+ // this.formatDateToYear(this.searchModel.endTime),
+ // this.type
+ // );
+ // }
+ // });
}
,
}
diff --git a/src/views/day/dayEvaporationWater/index.vue b/src/views/day/dayEvaporationWater/index.vue
index 953b990..03d5069 100644
--- a/src/views/day/dayEvaporationWater/index.vue
+++ b/src/views/day/dayEvaporationWater/index.vue
@@ -21,22 +21,27 @@
ref="selectStaionRef"
:startTime="this.formatDate(this.searchModel.startTime)"
:endTime="this.formatDate(this.searchModel.endTime)"
- :type="this.type">
+ :type="this.type"
+ @count-update="handleCountUpdate"
+ >
+
+ {{this.stationNum}}
+
查询
导出
-
- 导入南方片
-
-
+
+
+
+
+
+
+
@@ -175,6 +180,7 @@ export default {
},
isComponentReady: false,
type:"DayDwe",
+ stationNum:''
}
},
created(){
@@ -191,6 +197,9 @@ export default {
});
},
methods: {
+ handleCountUpdate(count) {
+ this.stationNum = count; // 更新父组件的stationNum
+ },
formatDate(date) {
if (date == null){
return '';
diff --git a/src/views/day/dayFlow/index.vue b/src/views/day/dayFlow/index.vue
index 4a9388d..77c5044 100644
--- a/src/views/day/dayFlow/index.vue
+++ b/src/views/day/dayFlow/index.vue
@@ -21,22 +21,27 @@
ref="selectStaionRef"
:startTime="this.formatDate(this.searchModel.startTime)"
:endTime="this.formatDate(this.searchModel.endTime)"
- :type="this.type">
+ :type="this.type"
+ @count-update="handleCountUpdate"
+ >
+
+ {{this.stationNum}}
+
查询
导出
-
- 导入南方片
-
-
+
+
+
+
+
+
+
@@ -172,6 +177,7 @@ export default {
},
isComponentReady: false,
type:"DayQ",
+ stationNum:''
}
},
created() {
@@ -188,6 +194,9 @@ export default {
});
},
methods: {
+ handleCountUpdate(count) {
+ this.stationNum = count; // 更新父组件的stationNum
+ },
formatDate(date) {
if (date == null){
return '';
diff --git a/src/views/day/dayRain/index.vue b/src/views/day/dayRain/index.vue
index 604eb03..1bc7793 100644
--- a/src/views/day/dayRain/index.vue
+++ b/src/views/day/dayRain/index.vue
@@ -21,29 +21,33 @@
ref="selectStaionRef"
:startTime="this.formatDate(this.searchModel.startTime)"
:endTime="this.formatDate(this.searchModel.endTime)"
- :type="this.type">
+ :type="this.type"
+ @count-update="handleCountUpdate">
+
+ {{this.stationNum}}
+
查询
导出
-
- 导出南方片格式文件
-
-
-
- 导入南方片格式文件
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -167,6 +171,7 @@ export default {
components: {SelectStaion},
data() {
return {
+ stationNum:'',
tableData: [],
uploadData: {},
total: 0,
@@ -219,6 +224,9 @@ export default {
});
},
methods: {
+ handleCountUpdate(count) {
+ this.stationNum = count; // 更新父组件的stationNum
+ },
beforeUpload(file) {
// 1. 校验文件类型
const isZip = file.name.endsWith('.zip');
diff --git a/src/views/day/daySedimentConcentration/index.vue b/src/views/day/daySedimentConcentration/index.vue
index 9b237c0..ec7a82d 100644
--- a/src/views/day/daySedimentConcentration/index.vue
+++ b/src/views/day/daySedimentConcentration/index.vue
@@ -21,22 +21,27 @@
ref="selectStaionRef"
:startTime="this.formatDate(this.searchModel.startTime)"
:endTime="this.formatDate(this.searchModel.endTime)"
- :type="this.type">
+ :type="this.type"
+ @count-update="handleCountUpdate"
+ >
+
+ {{this.stationNum}}
+
查询
导出
-
- 导入南方片
-
-
+
+
+
+
+
+
+
@@ -171,6 +176,7 @@ export default {
},
isComponentReady: false,
type:"DayDcs",
+ stationNum:""
}
},
created() {
@@ -187,6 +193,9 @@ export default {
});
},
methods: {
+ handleCountUpdate(count) {
+ this.stationNum = count; // 更新父组件的stationNum
+ },
formatDate(date) {
if (date == null){
return '';
diff --git a/src/views/day/dayWaterLever/index.vue b/src/views/day/dayWaterLever/index.vue
index 23d35c0..a32567c 100644
--- a/src/views/day/dayWaterLever/index.vue
+++ b/src/views/day/dayWaterLever/index.vue
@@ -21,22 +21,27 @@
ref="selectStaionRef"
:startTime="this.formatDate(this.searchModel.startTime)"
:endTime="this.formatDate(this.searchModel.endTime)"
- :type="this.type">
+ :type="this.type"
+ @count-update="handleCountUpdate"
+ >
+
+ {{this.stationNum}}
+
查询
导出
-
- 导入南方片
-
-
+
+
+
+
+
+
+
@@ -169,6 +174,7 @@ export default {
},
isComponentReady: false,
type:"DayDz",
+ stationNum:""
}
},
created() {
@@ -185,6 +191,9 @@ export default {
});
},
methods: {
+ handleCountUpdate(count) {
+ this.stationNum = count; // 更新父组件的stationNum
+ },
formatDate(date) {
if (date == null){
return '';
diff --git a/src/views/day/dayWaterTemperature/index.vue b/src/views/day/dayWaterTemperature/index.vue
index cddb8d7..1739db1 100644
--- a/src/views/day/dayWaterTemperature/index.vue
+++ b/src/views/day/dayWaterTemperature/index.vue
@@ -21,22 +21,26 @@
ref="selectStaionRef"
:startTime="this.formatDate(this.searchModel.startTime)"
:endTime="this.formatDate(this.searchModel.endTime)"
- :type="this.type">
+ :type="this.type"
+ @count-update="handleCountUpdate">
+
+ {{this.stationNum}}
+
查询
导出
-
- 导入南方片
-
-
+
+
+
+
+
+
+
@@ -170,6 +174,7 @@ export default {
},
isComponentReady: false,
type:"DayDwt",
+ stationNum:''
}
},
created() {
@@ -186,6 +191,9 @@ export default {
});
},
methods: {
+ handleCountUpdate(count) {
+ this.stationNum = count; // 更新父组件的stationNum
+ },
formatDate(date) {
if (date == null){
return '';
diff --git a/src/views/day/dayZscs/index.vue b/src/views/day/dayZscs/index.vue
index 631c94b..b332638 100644
--- a/src/views/day/dayZscs/index.vue
+++ b/src/views/day/dayZscs/index.vue
@@ -21,9 +21,14 @@
ref="selectStaionRef"
:startTime="this.formatDate(this.searchModel.startTime)"
:endTime="this.formatDate(this.searchModel.endTime)"
- :type="this.type">
+ :type="this.type"
+ @count-update="handleCountUpdate"
+ >
+
+ {{this.stationNum}}
+
查询
@@ -172,6 +177,7 @@ export default {
},
isComponentReady: false,
type:"DayZscs",
+ stationNum:''
}
},
created() {
@@ -188,6 +194,9 @@ export default {
});
},
methods: {
+ handleCountUpdate(count) {
+ this.stationNum = count; // 更新父组件的stationNum
+ },
formatDate(date) {
if (date == null) {
return '';
diff --git a/src/views/excerpt/floodExcerpt/index.vue b/src/views/excerpt/floodExcerpt/index.vue
index cfa5a6f..3fcde70 100644
--- a/src/views/excerpt/floodExcerpt/index.vue
+++ b/src/views/excerpt/floodExcerpt/index.vue
@@ -21,22 +21,27 @@
ref="selectStaionRef"
:startTime="this.formatDate(this.searchModel.startTime)"
:endTime="this.formatDate(this.searchModel.endTime)"
- :type="this.type">
+ :type="this.type"
+ @count-update="handleCountUpdate"
+ >
+
+ {{this.stationNum}}
+
查询
导出
-
- 导入南方片
-
-
+
+
+
+
+
+
+
@@ -182,6 +187,7 @@ export default {
},
isComponentReady: false,
type:"DpFdheex",
+ stationNum:''
}
},
created() {
@@ -198,6 +204,9 @@ export default {
});
},
methods: {
+ handleCountUpdate(count) {
+ this.stationNum = count; // 更新父组件的stationNum
+ },
formatDate(date) {
if (date == null){
return '';
diff --git a/src/views/excerpt/followingTheTideExcerpt/index.vue b/src/views/excerpt/followingTheTideExcerpt/index.vue
index c43c650..06a28b2 100644
--- a/src/views/excerpt/followingTheTideExcerpt/index.vue
+++ b/src/views/excerpt/followingTheTideExcerpt/index.vue
@@ -21,22 +21,26 @@
ref="selectStaionRef"
:startTime="this.formatDate(this.searchModel.startTime)"
:endTime="this.formatDate(this.searchModel.endTime)"
- :type="this.type">
+ :type="this.type"
+ @count-update="handleCountUpdate">
+
+ {{this.stationNum}}
+
查询
导出
-
- 导入南方片
-
-
+
+
+
+
+
+
+
@@ -195,6 +199,7 @@ export default {
},
isComponentReady: false,
type:"DpHltdz",
+ stationNum:''
}
},
created() {
@@ -211,6 +216,9 @@ export default {
});
},
methods: {
+ handleCountUpdate(count) {
+ this.stationNum = count; // 更新父组件的stationNum
+ },
formatDate(date) {
if (date == null){
return '';
diff --git a/src/views/excerpt/rainExcerpt/index.vue b/src/views/excerpt/rainExcerpt/index.vue
index 22053c5..0b33e24 100644
--- a/src/views/excerpt/rainExcerpt/index.vue
+++ b/src/views/excerpt/rainExcerpt/index.vue
@@ -21,22 +21,27 @@
ref="selectStaionRef"
:startTime="this.formatDate(this.searchModel.startTime)"
:endTime="this.formatDate(this.searchModel.endTime)"
- :type="this.type">
+ :type="this.type"
+ @count-update="handleCountUpdate"
+ >
+
+ {{this.stationNum}}
+
查询
导出
-
- 导入南方片
-
-
+
+
+
+
+
+
+
@@ -175,6 +180,7 @@ export default {
},
isComponentReady: false,
type:"DayPrex",
+ stationNum:''
}
},
created() {
@@ -191,6 +197,9 @@ export default {
});
},
methods: {
+ handleCountUpdate(count) {
+ this.stationNum = count; // 更新父组件的stationNum
+ },
formatDate(date) {
if (date == null){
return '';
diff --git a/src/views/excerpt/rsverFloodExcerpt/index.vue b/src/views/excerpt/rsverFloodExcerpt/index.vue
index 3adc632..5850873 100644
--- a/src/views/excerpt/rsverFloodExcerpt/index.vue
+++ b/src/views/excerpt/rsverFloodExcerpt/index.vue
@@ -21,9 +21,13 @@
ref="selectStaionRef"
:startTime="this.formatDate(this.searchModel.startTime)"
:endTime="this.formatDate(this.searchModel.endTime)"
- :type="this.type">
+ :type="this.type"
+ @count-update="handleCountUpdate">
+
+ {{this.stationNum}}
+
查询
@@ -31,13 +35,13 @@
导出
-
- 导入南方片
-
-
+
+
+
+
+
+
+
@@ -196,6 +200,7 @@ export default {
},
isComponentReady: false,
type:"DpRvfhex",
+ stationNum:''
}
},
created() {
@@ -212,6 +217,9 @@ export default {
});
},
methods: {
+ handleCountUpdate(count) {
+ this.stationNum = count; // 更新父组件的stationNum
+ },
formatDate(date) {
if (date == null){
return '';
diff --git a/src/views/excerpt/szFloodExcerpt/index.vue b/src/views/excerpt/szFloodExcerpt/index.vue
index 81cc73c..fe3ab82 100644
--- a/src/views/excerpt/szFloodExcerpt/index.vue
+++ b/src/views/excerpt/szFloodExcerpt/index.vue
@@ -21,22 +21,26 @@
ref="selectStaionRef"
:startTime="this.formatDate(this.searchModel.startTime)"
:endTime="this.formatDate(this.searchModel.endTime)"
- :type="this.type">
+ :type="this.type"
+ @count-update="handleCountUpdate">
+
+ {{this.stationNum}}
+
查询
导出
-
- 导入南方片
-
-
+
+
+
+
+
+
+
@@ -194,6 +198,7 @@ export default {
},
isComponentReady: false,
type:"DpWsfhex",
+ stationNum:''
}
},
created() {
@@ -210,6 +215,9 @@ export default {
});
},
methods: {
+ handleCountUpdate(count) {
+ this.stationNum = count; // 更新父组件的stationNum
+ },
formatDate(date) {
if (date == null){
return '';
diff --git a/src/views/historyExport/ycResStatInfo/index.vue b/src/views/historyExport/ycResStatInfo/index.vue
new file mode 100644
index 0000000..da6b901
--- /dev/null
+++ b/src/views/historyExport/ycResStatInfo/index.vue
@@ -0,0 +1,282 @@
+
+
+
+
+
+
diff --git a/src/views/historyExport/ycSoft/index.vue b/src/views/historyExport/ycSoft/index.vue
index 6606c9c..05b952d 100644
--- a/src/views/historyExport/ycSoft/index.vue
+++ b/src/views/historyExport/ycSoft/index.vue
@@ -77,7 +77,7 @@
-
可选测站
+
可选测站数量:{{ count }}
@@ -247,11 +247,11 @@ export default {
label: '雨量站'
},
{
- value: 'H',
+ value: 'Q',
label: '水文站'
},
{
- value: 'Q',
+ value: 'H',
label: '水位站'
}
],
@@ -282,7 +282,8 @@ export default {
rules: {},
dateYear: [],
deptOptions: undefined,
- isHandlingCheckChange: false
+ isHandlingCheckChange: false,
+ count:''
};
},
created() {
@@ -510,6 +511,7 @@ export default {
};
});
};
+ this.count=res.count
this.options = processTree([res.data]); // 注意保持数组结构
},
diff --git a/src/views/month/evaporationWater/index.vue b/src/views/month/evaporationWater/index.vue
index adeed4a..f26c2c4 100644
--- a/src/views/month/evaporationWater/index.vue
+++ b/src/views/month/evaporationWater/index.vue
@@ -21,20 +21,25 @@
ref="selectStaionRef"
:startTime="this.formatDateToYearMonth(this.searchModel.startTime)"
:endTime="this.formatDateToYearMonth(this.searchModel.endTime)"
- :type="this.type">
+ :type="this.type"
+ @count-update="handleCountUpdate"
+ >
+
+ {{this.stationNum}}
+
查询
导出
-
- 导入南方片
-
-
+
+
+
+
+
+
+
@@ -196,6 +201,7 @@ export default {
components: {SelectStaion},
data() {
return {
+ stationNum:'',
tableData: [],
uploadData: {},
uploadUrl: '/year/importHourMaxRainData',
@@ -247,6 +253,9 @@ export default {
});
},
methods: {
+ handleCountUpdate(count) {
+ this.stationNum = count; // 更新父组件的stationNum
+ },
formatDateToYearMonth(date) {
if (date == null){
return '';
diff --git a/src/views/month/monthFlow/index.vue b/src/views/month/monthFlow/index.vue
index 5566f02..f7fadff 100644
--- a/src/views/month/monthFlow/index.vue
+++ b/src/views/month/monthFlow/index.vue
@@ -21,22 +21,26 @@
ref="selectStaionRef"
:startTime="this.formatDateToYearMonth(this.searchModel.startTime)"
:endTime="this.formatDateToYearMonth(this.searchModel.endTime)"
- :type="this.type">
+ :type="this.type"
+ @count-update="handleCountUpdate">
+
+ {{this.stationNum}}
+
查询
导出
-
- 导入南方片
-
-
+
+
+
+
+
+
+
@@ -233,6 +237,7 @@ export default {
},
isComponentReady: false,
type:"MthQ",
+ stationNum:''
}
},
created() {
@@ -249,6 +254,9 @@ export default {
});
},
methods: {
+ handleCountUpdate(count) {
+ this.stationNum = count; // 更新父组件的stationNum
+ },
formatDateToYearMonth(date) {
if (date == null){
return '';
diff --git a/src/views/month/monthRain/index.vue b/src/views/month/monthRain/index.vue
index 894196f..ac70a54 100644
--- a/src/views/month/monthRain/index.vue
+++ b/src/views/month/monthRain/index.vue
@@ -21,22 +21,27 @@
ref="selectStaionRef"
:startTime="this.formatDateToYearMonth(this.searchModel.startTime)"
:endTime="this.formatDateToYearMonth(this.searchModel.endTime)"
- :type="this.type">
+ :type="this.type"
+ @count-update="handleCountUpdate"
+ >
+
+ {{this.stationNum}}
+
查询
导出
-
- 导入南方片
-
-
+
+
+
+
+
+
+
@@ -174,6 +179,7 @@ export default {
components: {SelectStaion},
data() {
return {
+ stationNum:'',
tableData: [],
uploadData: {},
uploadUrl: '/year/importHourMaxRainData',
@@ -225,6 +231,9 @@ export default {
});
},
methods: {
+ handleCountUpdate(count) {
+ this.stationNum = count; // 更新父组件的stationNum
+ },
formatDateToYearMonth(date) {
if (date == null){
return '';
diff --git a/src/views/month/monthTideLever/index.vue b/src/views/month/monthTideLever/index.vue
index 460b149..cfed2f3 100644
--- a/src/views/month/monthTideLever/index.vue
+++ b/src/views/month/monthTideLever/index.vue
@@ -21,9 +21,14 @@
ref="selectStaionRef"
:startTime="this.formatDateToYearMonth(this.searchModel.startTime)"
:endTime="this.formatDateToYearMonth(this.searchModel.endTime)"
- :type="this.type">
+ :type="this.type"
+ @count-update="handleCountUpdate"
+ >
+
+ {{this.stationNum}}
+
查询
@@ -446,6 +451,7 @@ export default {
},
isComponentReady: false,
type:"MthMttdz",
+ stationNum:''
}
},
mounted() {
@@ -459,6 +465,9 @@ export default {
});
},
methods: {
+ handleCountUpdate(count) {
+ this.stationNum = count; // 更新父组件的stationNum
+ },
formatDateToYearMonth(date) {
if (date == null){
return '';
diff --git a/src/views/month/monthWaterTemperature/index.vue b/src/views/month/monthWaterTemperature/index.vue
index b69a4d4..c0eeb2f 100644
--- a/src/views/month/monthWaterTemperature/index.vue
+++ b/src/views/month/monthWaterTemperature/index.vue
@@ -21,22 +21,27 @@
ref="selectStaionRef"
:startTime="this.formatDateToYearMonth(this.searchModel.startTime)"
:endTime="this.formatDateToYearMonth(this.searchModel.endTime)"
- :type="this.type">
+ :type="this.type"
+ @count-update="handleCountUpdate"
+ >
+
+ {{this.stationNum}}
+
查询
导出
-
- 导入南方片
-
-
+
+
+
+
+
+
+
@@ -223,6 +228,7 @@ export default {
softOpen:false,
title:'',
+ stationNum:'',
form:{
startTime:'',
endTime:''
@@ -254,6 +260,9 @@ export default {
});
},
methods: {
+ handleCountUpdate(count) {
+ this.stationNum = count; // 更新父组件的stationNum
+ },
formatDateToYearMonth(date) {
if (date == null){
return '';
diff --git a/src/views/month/sedimentConcentration/index.vue b/src/views/month/sedimentConcentration/index.vue
index adab6d4..7ccde29 100644
--- a/src/views/month/sedimentConcentration/index.vue
+++ b/src/views/month/sedimentConcentration/index.vue
@@ -21,22 +21,27 @@
ref="selectStaionRef"
:startTime="this.formatDateToYearMonth(this.searchModel.startTime)"
:endTime="this.formatDateToYearMonth(this.searchModel.endTime)"
- :type="this.type">
+ :type="this.type"
+ @count-update="handleCountUpdate"
+ >
+
+ {{this.stationNum}}
+
查询
导出
-
- 导入南方片
-
-
+
+
+
+
+
+
+
@@ -219,6 +224,7 @@ export default {
},
softOpen:false,
+ stationNum:"",
title:'',
form:{
startTime:'',
@@ -251,6 +257,9 @@ export default {
});
},
methods: {
+ handleCountUpdate(count) {
+ this.stationNum = count; // 更新父组件的stationNum
+ },
formatDateToYearMonth(date) {
if (date == null){
return '';
diff --git a/src/views/month/sedimentTransportRate/index.vue b/src/views/month/sedimentTransportRate/index.vue
index bf7e5a6..6db57d8 100644
--- a/src/views/month/sedimentTransportRate/index.vue
+++ b/src/views/month/sedimentTransportRate/index.vue
@@ -21,22 +21,27 @@
ref="selectStaionRef"
:startTime="this.formatDateToYearMonth(this.searchModel.startTime)"
:endTime="this.formatDateToYearMonth(this.searchModel.endTime)"
- :type="this.type">
+ :type="this.type"
+ @count-update="handleCountUpdate"
+ >
+
+ {{this.stationNum}}
+
查询
导出
-
- 导入南方片
-
-
+
+
+
+
+
+
+
@@ -227,6 +232,7 @@ export default {
},
isComponentReady: false,
type:"MthMtqs",
+ stationNum:''
}
},
created() {
@@ -243,6 +249,9 @@ export default {
});
},
methods: {
+ handleCountUpdate(count) {
+ this.stationNum = count; // 更新父组件的stationNum
+ },
formatDateToYearMonth(date) {
if (date == null){
return '';
diff --git a/src/views/month/waterLever/index.vue b/src/views/month/waterLever/index.vue
index a8a2972..545826c 100644
--- a/src/views/month/waterLever/index.vue
+++ b/src/views/month/waterLever/index.vue
@@ -21,22 +21,26 @@
ref="selectStaionRef"
:startTime="this.formatDateToYearMonth(this.searchModel.startTime)"
:endTime="this.formatDateToYearMonth(this.searchModel.endTime)"
- :type="this.type">
+ :type="this.type"
+ @count-update="handleCountUpdate">
+
+ {{this.stationNum}}
+
查询
导出
-
- 导入南方片
-
-
+
+
+
+
+
+
+
@@ -230,6 +234,7 @@ export default {
},
isComponentReady: false,
type:"MthMtz",
+ stationNum:""
}
},
created() {
@@ -246,6 +251,9 @@ export default {
});
},
methods: {
+ handleCountUpdate(count) {
+ this.stationNum = count; // 更新父组件的stationNum
+ },
formatDateToYearMonth(date) {
if (date == null){
return '';
diff --git a/src/views/year/maxDayRain/index.vue b/src/views/year/maxDayRain/index.vue
index 0a54e2d..a31b996 100644
--- a/src/views/year/maxDayRain/index.vue
+++ b/src/views/year/maxDayRain/index.vue
@@ -21,22 +21,27 @@
ref="selectStaionRef"
:startTime="this.formatDateToYear(this.searchModel.startTime)"
:endTime="this.formatDateToYear(this.searchModel.endTime)"
- :type="this.type">
+ :type="this.type"
+ @count-update="handleCountUpdate"
+ >
+
+ {{this.stationNum}}
+
查询
导出
-
- 导入南方片
-
-
+
+
+
+
+
+
+
@@ -181,6 +186,7 @@ export default {
components: {SelectStaion},
data() {
return {
+ stationNum:'',
tableData: [],
uploadData: {},
uploadUrl: '/year/importHourMaxRainData',
@@ -231,6 +237,9 @@ export default {
});
},
methods: {
+ handleCountUpdate(count) {
+ this.stationNum = count; // 更新父组件的stationNum
+ },
formatDateToYear(date) {
if (!date) return null; // 允许空值传递
const d = new Date(date);
diff --git a/src/views/year/maxFloodScale/index.vue b/src/views/year/maxFloodScale/index.vue
index 54349b6..76b8648 100644
--- a/src/views/year/maxFloodScale/index.vue
+++ b/src/views/year/maxFloodScale/index.vue
@@ -21,22 +21,26 @@
ref="selectStaionRef"
:startTime="this.formatDateToYear(this.searchModel.startTime)"
:endTime="this.formatDateToYear(this.searchModel.endTime)"
- :type="this.type">
+ :type="this.type"
+ @count-update="handleCountUpdate">
+
+ {{this.stationNum}}
+
查询
导出
-
- 导入南方片
-
-
+
+
+
+
+
+
+
@@ -181,6 +185,7 @@ export default {
components: {SelectStaion},
data() {
return {
+ stationNum:"",
tableData: [],
uploadData: {},
uploadUrl: '/year/importHourMaxRainData',
@@ -230,6 +235,9 @@ export default {
});
},
methods: {
+ handleCountUpdate(count) {
+ this.stationNum = count; // 更新父组件的stationNum
+ },
formatDateToYear(date) {
if (!date) return ''; // 允许空值传递
const d = new Date(date);
diff --git a/src/views/year/maxHourRain/index.vue b/src/views/year/maxHourRain/index.vue
index 8396aad..de2eea5 100644
--- a/src/views/year/maxHourRain/index.vue
+++ b/src/views/year/maxHourRain/index.vue
@@ -21,22 +21,27 @@
ref="selectStaionRef"
:startTime="this.formatDateToYear(this.searchModel.startTime)"
:endTime="this.formatDateToYear(this.searchModel.endTime)"
- :type="this.type">
+ :type="this.type"
+ @count-update="handleCountUpdate"
+ >
+
+ {{this.stationNum}}
+
查询
导出
-
- 导入南方片
-
-
+
+
+
+
+
+
+
@@ -184,6 +189,7 @@ export default {
components: {SelectStaion},
data() {
return {
+ stationNum:'',
tableData: [],
uploadData: {},
uploadUrl: '/year/importHourMaxRainData',
@@ -232,6 +238,9 @@ export default {
});
},
methods: {
+ handleCountUpdate(count) {
+ this.stationNum = count; // 更新父组件的stationNum
+ },
formatDateToYear(date) {
if (!date) return ''; // 允许空值传递
const d = new Date(date);
diff --git a/src/views/year/maxMinuteRain/index.vue b/src/views/year/maxMinuteRain/index.vue
index 7e8448b..aec62fd 100644
--- a/src/views/year/maxMinuteRain/index.vue
+++ b/src/views/year/maxMinuteRain/index.vue
@@ -21,22 +21,27 @@
ref="selectStaionRef"
:startTime="this.formatDateToYear(this.searchModel.startTime)"
:endTime="this.formatDateToYear(this.searchModel.endTime)"
- :type="this.type">
+ :type="this.type"
+ @count-update="handleCountUpdate"
+ >
+
+ {{this.stationNum}}
+
查询
导出
-
- 导入南方片
-
-
+
+
+
+
+
+
+
@@ -183,6 +188,7 @@ export default {
components: {SelectStaion},
data() {
return {
+ stationNum:'',
tableData: [],
uploadData: {},
uploadUrl: '/year/importHourMaxRainData',
@@ -231,6 +237,9 @@ export default {
});
},
methods: {
+ handleCountUpdate(count) {
+ this.stationNum = count; // 更新父组件的stationNum
+ },
formatDateToYear(date) {
if (!date) return ''; // 允许空值传递
const d = new Date(date);
diff --git a/src/views/year/sedimentConcentration/index.vue b/src/views/year/sedimentConcentration/index.vue
index 9c95df1..c6fb7be 100644
--- a/src/views/year/sedimentConcentration/index.vue
+++ b/src/views/year/sedimentConcentration/index.vue
@@ -21,22 +21,26 @@
ref="selectStaionRef"
:startTime="this.formatDateToYear(this.searchModel.startTime)"
:endTime="this.formatDateToYear(this.searchModel.endTime)"
- :type="this.type">
+ :type="this.type"
+ @count-update="handleCountUpdate">
+
+ {{this.stationNum}}
+
查询
导出
-
- 导入南方片
-
-
+
+
+
+
+
+
+
@@ -213,6 +217,7 @@ export default {
components: {SelectStaion},
data() {
return {
+ stationNum:'',
tableData: [],
uploadData: {},
uploadUrl: '/year/importHourMaxRainData',
@@ -262,6 +267,9 @@ export default {
});
},
methods: {
+ handleCountUpdate(count) {
+ this.stationNum = count; // 更新父组件的stationNum
+ },
formatDateToYear(date) {
if (!date) return ''; // 允许空值传递
const d = new Date(date);
diff --git a/src/views/year/sedimentTransportRate/index.vue b/src/views/year/sedimentTransportRate/index.vue
index 55dcb8c..444e3d6 100644
--- a/src/views/year/sedimentTransportRate/index.vue
+++ b/src/views/year/sedimentTransportRate/index.vue
@@ -22,9 +22,14 @@
ref="selectStaionRef"
:startTime="this.formatDateToYear(this.searchModel.startTime)"
:endTime="this.formatDateToYear(this.searchModel.endTime)"
- :type="this.type">
+ :type="this.type"
+ @count-update="handleCountUpdate"
+ >
+
+ {{this.stationNum}}
+
查询
@@ -32,13 +37,13 @@
导出
-
- 导入南方片
-
-
+
+
+
+
+
+
+
@@ -230,6 +235,7 @@ export default {
components: {SelectStaion},
data() {
return {
+ stationNum:'',
tableData: [],
uploadData: {},
uploadUrl: '/year/importHourMaxRainData',
@@ -279,6 +285,9 @@ export default {
});
},
methods: {
+ handleCountUpdate(count) {
+ this.stationNum = count; // 更新父组件的stationNum
+ },
formatDateToYear(date) {
if (!date) return ''; // 允许空值传递
const d = new Date(date);
diff --git a/src/views/year/yearEvaporationWater/index.vue b/src/views/year/yearEvaporationWater/index.vue
index eb4c0d6..1bc8369 100644
--- a/src/views/year/yearEvaporationWater/index.vue
+++ b/src/views/year/yearEvaporationWater/index.vue
@@ -21,22 +21,27 @@
ref="selectStaionRef"
:startTime="this.formatDateToYear(this.searchModel.startTime)"
:endTime="this.formatDateToYear(this.searchModel.endTime)"
- :type="this.type">
+ :type="this.type"
+ @count-update="handleCountUpdate"
+ >
+
+ {{this.stationNum}}
+
查询
导出
-
- 导入南方片
-
-
+
+
+
+
+
+
+
@@ -248,6 +253,7 @@ export default {
components: {SelectStaion},
data() {
return {
+ stationNum:'',
tableData: [],
uploadData: {},
uploadUrl: '/year/importHourMaxRainData',
@@ -299,6 +305,9 @@ export default {
});
},
methods: {
+ handleCountUpdate(count) {
+ this.stationNum = count; // 更新父组件的stationNum
+ },
formatDateToYear(date) {
if (!date) return ''; // 允许空值传递
const d = new Date(date);
diff --git a/src/views/year/yearFlow/index.vue b/src/views/year/yearFlow/index.vue
index 0847d47..1028fab 100644
--- a/src/views/year/yearFlow/index.vue
+++ b/src/views/year/yearFlow/index.vue
@@ -21,22 +21,27 @@
ref="selectStaionRef"
:startTime="this.formatDateToYear(this.searchModel.startTime)"
:endTime="this.formatDateToYear(this.searchModel.endTime)"
- :type="this.type">
+ :type="this.type"
+ @count-update="handleCountUpdate"
+ >
+
+ {{this.stationNum}}
+
查询
导出
-
- 导入南方片
-
-
+
+
+
+
+
+
+
@@ -240,6 +245,7 @@ export default {
components: {SelectStaion},
data() {
return {
+ stationNum:'',
tableData: [],
uploadData: {},
uploadUrl: '/year/importHourMaxRainData',
@@ -288,6 +294,9 @@ export default {
});
},
methods: {
+ handleCountUpdate(count) {
+ this.stationNum = count; // 更新父组件的stationNum
+ },
formatDateToYear(date) {
if (!date) return ''; // 允许空值传递
const d = new Date(date);
diff --git a/src/views/year/yearRain/index.vue b/src/views/year/yearRain/index.vue
index fb5ee66..8e970c2 100644
--- a/src/views/year/yearRain/index.vue
+++ b/src/views/year/yearRain/index.vue
@@ -21,22 +21,27 @@
ref="selectStaionRef"
:startTime="this.formatDateToYear(this.searchModel.startTime)"
:endTime="this.formatDateToYear(this.searchModel.endTime)"
- :type="this.type">
+ :type="this.type"
+ @count-update="handleCountUpdate"
+ >
+
+ {{this.stationNum}}
+
查询
导出
-
- 导入南方片
-
-
+
+
+
+
+
+
+
@@ -197,6 +202,7 @@ export default {
},
data() {
return {
+ stationNum:'',
tableData: [],
isComponentReady: false,
uploadData: {},
@@ -247,6 +253,9 @@ export default {
});
},
methods: {
+ handleCountUpdate(count) {
+ this.stationNum = count; // 更新父组件的stationNum
+ },
importSoft(){
this.reset();
this.softOpen = true;
diff --git a/src/views/year/yearTideLever/index.vue b/src/views/year/yearTideLever/index.vue
index 9842dd1..84c0246 100644
--- a/src/views/year/yearTideLever/index.vue
+++ b/src/views/year/yearTideLever/index.vue
@@ -21,9 +21,14 @@
ref="selectStaionRef"
:startTime="this.formatDateToYear(this.searchModel.startTime)"
:endTime="this.formatDateToYear(this.searchModel.endTime)"
- :type="this.type">
+ :type="this.type"
+ @count-update="handleCountUpdate"
+ >
+
+ {{this.stationNum}}
+
查询
@@ -151,6 +156,7 @@ export default {
components: {SelectStaion},
data() {
return {
+ stationNum:'',
tableData: [],
uploadData: {},
uploadUrl: '/year/importHourMaxRainData',
@@ -183,6 +189,9 @@ export default {
});
},
methods: {
+ handleCountUpdate(count) {
+ this.stationNum = count; // 更新父组件的stationNum
+ },
formatDateToYear(date) {
if (!date) return ''; // 允许空值传递
const d = new Date(date);
diff --git a/src/views/year/yearWaterLever/index.vue b/src/views/year/yearWaterLever/index.vue
index 96df87c..5453d98 100644
--- a/src/views/year/yearWaterLever/index.vue
+++ b/src/views/year/yearWaterLever/index.vue
@@ -15,19 +15,33 @@
placeholder="选择日期">
+
+
+
+
+
+ {{this.stationNum}}
+
查询
导出
-
- 导入南方片
-
-
+
+
+
+
+
+
+
@@ -197,6 +211,7 @@ export default {
components: {SelectStaion},
data() {
return {
+ stationNum:'',
tableData: [],
uploadData: {},
uploadUrl: '/year/importHourMaxRainData',
@@ -246,6 +261,9 @@ export default {
});
},
methods: {
+ handleCountUpdate(count) {
+ this.stationNum = count; // 更新父组件的stationNum
+ },
formatDateToYear(date) {
if (!date) return ''; // 允许空值传递
const d = new Date(date);
diff --git a/src/views/year/yearWaterTemperature/index.vue b/src/views/year/yearWaterTemperature/index.vue
index adfe9ea..22383df 100644
--- a/src/views/year/yearWaterTemperature/index.vue
+++ b/src/views/year/yearWaterTemperature/index.vue
@@ -21,22 +21,26 @@
ref="selectStaionRef"
:startTime="this.formatDateToYear(this.searchModel.startTime)"
:endTime="this.formatDateToYear(this.searchModel.endTime)"
- :type="this.type">
+ :type="this.type"
+ @count-update="handleCountUpdate">
+
+ {{this.stationNum}}
+
查询
导出
-
- 导入南方片
-
-
+
+
+
+
+
+
+
@@ -235,6 +239,7 @@ export default {
},
isComponentReady: false,
type:"YearYrwt",
+ stationNum:''
}
},
created() {
@@ -251,6 +256,9 @@ export default {
});
},
methods: {
+ handleCountUpdate(count) {
+ this.stationNum = count; // 更新父组件的stationNum
+ },
formatDateToYear(date) {
if (!date) return ''; // 允许空值传递
const d = new Date(date);