diff --git a/ruoyi-ui/src/api/statistics/avgTable.js b/ruoyi-ui/src/api/statistics/avgTable.js new file mode 100644 index 0000000..bf5bda3 --- /dev/null +++ b/ruoyi-ui/src/api/statistics/avgTable.js @@ -0,0 +1,9 @@ +import request from '@/utils/request' + +export function getDeviceAvgByMonth(params) { + return request({ + url: '/statistics/getDeviceAvgByMonth', + params: params, + method: 'get', + }) +} diff --git a/ruoyi-ui/src/api/statistics/reportCenter.js b/ruoyi-ui/src/api/statistics/reportCenter.js new file mode 100644 index 0000000..ae93f32 --- /dev/null +++ b/ruoyi-ui/src/api/statistics/reportCenter.js @@ -0,0 +1,10 @@ +import request from '@/utils/request' + +export function reportCenterApi(params) { + console.log(params); + return request({ + url: '/statistics/reportCenter', + params: params, + method: 'get', + }) +} diff --git a/ruoyi-ui/src/views/dataStatistics/avgTable/index.vue b/ruoyi-ui/src/views/dataStatistics/avgTable/index.vue new file mode 100644 index 0000000..daea76a --- /dev/null +++ b/ruoyi-ui/src/views/dataStatistics/avgTable/index.vue @@ -0,0 +1,162 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ruoyi-ui/src/views/dataStatistics/reportCenter/index.vue b/ruoyi-ui/src/views/dataStatistics/reportCenter/index.vue new file mode 100644 index 0000000..37f3c12 --- /dev/null +++ b/ruoyi-ui/src/views/dataStatistics/reportCenter/index.vue @@ -0,0 +1,195 @@ + + + + + + + + + + + + + + {{ this.month.replace("-", "年") + "月" }} + + + + + {{ getTableFirstColumnName(scope.row) }} + + + + + + + + + + + + + + + + + + +