diff --git a/src/api/newPageline/riverCapacity.js b/src/api/newPageline/riverCapacity.js index 5b106f9..ab63073 100644 --- a/src/api/newPageline/riverCapacity.js +++ b/src/api/newPageline/riverCapacity.js @@ -84,3 +84,20 @@ params: query, }); } + +// 查询一张图降雨日历 +export function rainRainDaylist(query) { + return request({ + url: '/business/rainTimeAnalysis/rainDaylist', + method: 'get', + params: query, + }); +} + +export function rainRainlist(query) { + return request({ + url: '/business/rainTimeAnalysis/list', + method: 'get', + params: query, + }); +} diff --git a/src/api/newPageline/riverCapacity.js b/src/api/newPageline/riverCapacity.js index 5b106f9..ab63073 100644 --- a/src/api/newPageline/riverCapacity.js +++ b/src/api/newPageline/riverCapacity.js @@ -84,3 +84,20 @@ params: query, }); } + +// 查询一张图降雨日历 +export function rainRainDaylist(query) { + return request({ + url: '/business/rainTimeAnalysis/rainDaylist', + method: 'get', + params: query, + }); +} + +export function rainRainlist(query) { + return request({ + url: '/business/rainTimeAnalysis/list', + method: 'get', + params: query, + }); +} diff --git a/src/api/publicService/index.js b/src/api/publicService/index.js index 7591b3d..8ee9c9c 100644 --- a/src/api/publicService/index.js +++ b/src/api/publicService/index.js @@ -347,6 +347,7 @@ method: 'delete', }); } + // 新闻资讯 详情 export function manageNewsDetail(id) { return request({ @@ -623,3 +624,12 @@ data: data, }); } + +// 一张图 降雨报告 +export function rainfallSessionInfoList(query) { + return request({ + url: '/business/preventFlood/rainfallSessionInfo/list', + method: 'get', + params: query, + }); +} diff --git a/src/api/newPageline/riverCapacity.js b/src/api/newPageline/riverCapacity.js index 5b106f9..ab63073 100644 --- a/src/api/newPageline/riverCapacity.js +++ b/src/api/newPageline/riverCapacity.js @@ -84,3 +84,20 @@ params: query, }); } + +// 查询一张图降雨日历 +export function rainRainDaylist(query) { + return request({ + url: '/business/rainTimeAnalysis/rainDaylist', + method: 'get', + params: query, + }); +} + +export function rainRainlist(query) { + return request({ + url: '/business/rainTimeAnalysis/list', + method: 'get', + params: query, + }); +} diff --git a/src/api/publicService/index.js b/src/api/publicService/index.js index 7591b3d..8ee9c9c 100644 --- a/src/api/publicService/index.js +++ b/src/api/publicService/index.js @@ -347,6 +347,7 @@ method: 'delete', }); } + // 新闻资讯 详情 export function manageNewsDetail(id) { return request({ @@ -623,3 +624,12 @@ data: data, }); } + +// 一张图 降雨报告 +export function rainfallSessionInfoList(query) { + return request({ + url: '/business/preventFlood/rainfallSessionInfo/list', + method: 'get', + params: query, + }); +} diff --git a/src/layout/components/HeaderSys/index.vue b/src/layout/components/HeaderSys/index.vue index 45fa42a..fe15a21 100644 --- a/src/layout/components/HeaderSys/index.vue +++ b/src/layout/components/HeaderSys/index.vue @@ -51,8 +51,8 @@ - - + + diff --git a/src/views/sponeScreen/Echarts/echartBar3D.vue b/src/views/sponeScreen/Echarts/echartBar3D.vue index 038626c..ab81c9a 100644 --- a/src/views/sponeScreen/Echarts/echartBar3D.vue +++ b/src/views/sponeScreen/Echarts/echartBar3D.vue @@ -2,6 +2,7 @@
diff --git a/src/views/sponeScreen/waterFlood/rainReport.vue b/src/views/sponeScreen/waterFlood/rainReport.vue index bfbe0fa..a24b199 100644 --- a/src/views/sponeScreen/waterFlood/rainReport.vue +++ b/src/views/sponeScreen/waterFlood/rainReport.vue @@ -18,10 +18,12 @@
-

{{ item.start }}

-

{{ item.end }}

-

{{ item.yq }}

-

{{ item.num }}mm

+

{{ item.startTime }}

+

{{ item.endTime }}

+

+ +

+

{{ item.accumulate }}mm

查看报告

@@ -39,32 +41,38 @@ diff --git a/src/api/newPageline/riverCapacity.js b/src/api/newPageline/riverCapacity.js index 5b106f9..ab63073 100644 --- a/src/api/newPageline/riverCapacity.js +++ b/src/api/newPageline/riverCapacity.js @@ -84,3 +84,20 @@ params: query, }); } + +// 查询一张图降雨日历 +export function rainRainDaylist(query) { + return request({ + url: '/business/rainTimeAnalysis/rainDaylist', + method: 'get', + params: query, + }); +} + +export function rainRainlist(query) { + return request({ + url: '/business/rainTimeAnalysis/list', + method: 'get', + params: query, + }); +} diff --git a/src/api/publicService/index.js b/src/api/publicService/index.js index 7591b3d..8ee9c9c 100644 --- a/src/api/publicService/index.js +++ b/src/api/publicService/index.js @@ -347,6 +347,7 @@ method: 'delete', }); } + // 新闻资讯 详情 export function manageNewsDetail(id) { return request({ @@ -623,3 +624,12 @@ data: data, }); } + +// 一张图 降雨报告 +export function rainfallSessionInfoList(query) { + return request({ + url: '/business/preventFlood/rainfallSessionInfo/list', + method: 'get', + params: query, + }); +} diff --git a/src/layout/components/HeaderSys/index.vue b/src/layout/components/HeaderSys/index.vue index 45fa42a..fe15a21 100644 --- a/src/layout/components/HeaderSys/index.vue +++ b/src/layout/components/HeaderSys/index.vue @@ -51,8 +51,8 @@
- - + + diff --git a/src/views/sponeScreen/waterFlood/rainReport.vue b/src/views/sponeScreen/waterFlood/rainReport.vue index bfbe0fa..a24b199 100644 --- a/src/views/sponeScreen/waterFlood/rainReport.vue +++ b/src/views/sponeScreen/waterFlood/rainReport.vue @@ -18,10 +18,12 @@
-

{{ item.start }}

-

{{ item.end }}

-

{{ item.yq }}

-

{{ item.num }}mm

+

{{ item.startTime }}

+

{{ item.endTime }}

+

+ +

+

{{ item.accumulate }}mm

查看报告

@@ -39,32 +41,38 @@ diff --git a/src/views/system/user/profile/newsDiaLOG.vue b/src/views/system/user/profile/newsDiaLOG.vue index a0bd2d5..9b56fd0 100644 --- a/src/views/system/user/profile/newsDiaLOG.vue +++ b/src/views/system/user/profile/newsDiaLOG.vue @@ -17,7 +17,8 @@ import { projectNoticeUserEdit } from '@/api/publicService/index'; const tableLoading = ref(false); const tableList = ref({}); - +const emits = defineEmits(); +defineExpose({ closed }); const { proxy } = getCurrentInstance(); const props = defineProps({ //数据 @@ -26,6 +27,7 @@ default: {}, }, }); + watch( () => props.tableData, value => { @@ -41,6 +43,10 @@ }; projectNoticeUserEdit(params).then(response => { proxy.$modal.msgSuccess('消息已读成功!'); + closed(); }); } +function closed() { + emits('handleClose'); +}