diff --git a/src/api/gasOverview.js b/src/api/gasOverview.js index a8996f5..b7da600 100644 --- a/src/api/gasOverview.js +++ b/src/api/gasOverview.js @@ -53,8 +53,24 @@ params }) } -// 查询二级分区各区用水量对比 -export function waterCompare(params) { +// 查询二级分区燃气告警 +export function gasAlarmBySecondArea(params) { + return request({ + url: 'dataStatistic/gasAlarmBySecondArea', + method: 'get', + params + }) +} +// 各设备腐蚀速率统计 +export function corrRateByDevice(params) { + return request({ + url: 'statics/corrRateByDevice', + method: 'get', + params + }) +} +// 查询二级分区用气对比 +export function gasCompareData(params) { return request({ url: 'gasStatistic/gasCompare', method: 'get', diff --git a/src/api/gasOverview.js b/src/api/gasOverview.js index a8996f5..b7da600 100644 --- a/src/api/gasOverview.js +++ b/src/api/gasOverview.js @@ -53,8 +53,24 @@ params }) } -// 查询二级分区各区用水量对比 -export function waterCompare(params) { +// 查询二级分区燃气告警 +export function gasAlarmBySecondArea(params) { + return request({ + url: 'dataStatistic/gasAlarmBySecondArea', + method: 'get', + params + }) +} +// 各设备腐蚀速率统计 +export function corrRateByDevice(params) { + return request({ + url: 'statics/corrRateByDevice', + method: 'get', + params + }) +} +// 查询二级分区用气对比 +export function gasCompareData(params) { return request({ url: 'gasStatistic/gasCompare', method: 'get', diff --git a/src/views/gasDashboard/components/alarmGasCountByDept.vue b/src/views/gasDashboard/components/alarmGasCountByDept.vue index 60ab5ad..b8bfc23 100644 --- a/src/views/gasDashboard/components/alarmGasCountByDept.vue +++ b/src/views/gasDashboard/components/alarmGasCountByDept.vue @@ -8,7 +8,7 @@ + diff --git a/src/api/gasOverview.js b/src/api/gasOverview.js index a8996f5..b7da600 100644 --- a/src/api/gasOverview.js +++ b/src/api/gasOverview.js @@ -53,8 +53,24 @@ params }) } -// 查询二级分区各区用水量对比 -export function waterCompare(params) { +// 查询二级分区燃气告警 +export function gasAlarmBySecondArea(params) { + return request({ + url: 'dataStatistic/gasAlarmBySecondArea', + method: 'get', + params + }) +} +// 各设备腐蚀速率统计 +export function corrRateByDevice(params) { + return request({ + url: 'statics/corrRateByDevice', + method: 'get', + params + }) +} +// 查询二级分区用气对比 +export function gasCompareData(params) { return request({ url: 'gasStatistic/gasCompare', method: 'get', diff --git a/src/views/gasDashboard/components/alarmGasCountByDept.vue b/src/views/gasDashboard/components/alarmGasCountByDept.vue index 60ab5ad..b8bfc23 100644 --- a/src/views/gasDashboard/components/alarmGasCountByDept.vue +++ b/src/views/gasDashboard/components/alarmGasCountByDept.vue @@ -8,7 +8,7 @@ + diff --git a/src/views/gasDashboard/components/gasCountByAreaBar.vue b/src/views/gasDashboard/components/gasCountByAreaBar.vue new file mode 100644 index 0000000..456a6c6 --- /dev/null +++ b/src/views/gasDashboard/components/gasCountByAreaBar.vue @@ -0,0 +1,198 @@ + + + + diff --git a/src/api/gasOverview.js b/src/api/gasOverview.js index a8996f5..b7da600 100644 --- a/src/api/gasOverview.js +++ b/src/api/gasOverview.js @@ -53,8 +53,24 @@ params }) } -// 查询二级分区各区用水量对比 -export function waterCompare(params) { +// 查询二级分区燃气告警 +export function gasAlarmBySecondArea(params) { + return request({ + url: 'dataStatistic/gasAlarmBySecondArea', + method: 'get', + params + }) +} +// 各设备腐蚀速率统计 +export function corrRateByDevice(params) { + return request({ + url: 'statics/corrRateByDevice', + method: 'get', + params + }) +} +// 查询二级分区用气对比 +export function gasCompareData(params) { return request({ url: 'gasStatistic/gasCompare', method: 'get', diff --git a/src/views/gasDashboard/components/alarmGasCountByDept.vue b/src/views/gasDashboard/components/alarmGasCountByDept.vue index 60ab5ad..b8bfc23 100644 --- a/src/views/gasDashboard/components/alarmGasCountByDept.vue +++ b/src/views/gasDashboard/components/alarmGasCountByDept.vue @@ -8,7 +8,7 @@ + diff --git a/src/views/gasDashboard/components/gasCountByAreaBar.vue b/src/views/gasDashboard/components/gasCountByAreaBar.vue new file mode 100644 index 0000000..456a6c6 --- /dev/null +++ b/src/views/gasDashboard/components/gasCountByAreaBar.vue @@ -0,0 +1,198 @@ + + + + diff --git a/src/views/gasDashboard/components/gasCountByDay.vue b/src/views/gasDashboard/components/gasCountByDay.vue new file mode 100644 index 0000000..79a4efb --- /dev/null +++ b/src/views/gasDashboard/components/gasCountByDay.vue @@ -0,0 +1,146 @@ + + + + diff --git a/src/api/gasOverview.js b/src/api/gasOverview.js index a8996f5..b7da600 100644 --- a/src/api/gasOverview.js +++ b/src/api/gasOverview.js @@ -53,8 +53,24 @@ params }) } -// 查询二级分区各区用水量对比 -export function waterCompare(params) { +// 查询二级分区燃气告警 +export function gasAlarmBySecondArea(params) { + return request({ + url: 'dataStatistic/gasAlarmBySecondArea', + method: 'get', + params + }) +} +// 各设备腐蚀速率统计 +export function corrRateByDevice(params) { + return request({ + url: 'statics/corrRateByDevice', + method: 'get', + params + }) +} +// 查询二级分区用气对比 +export function gasCompareData(params) { return request({ url: 'gasStatistic/gasCompare', method: 'get', diff --git a/src/views/gasDashboard/components/alarmGasCountByDept.vue b/src/views/gasDashboard/components/alarmGasCountByDept.vue index 60ab5ad..b8bfc23 100644 --- a/src/views/gasDashboard/components/alarmGasCountByDept.vue +++ b/src/views/gasDashboard/components/alarmGasCountByDept.vue @@ -8,7 +8,7 @@ + diff --git a/src/views/gasDashboard/components/gasCountByAreaBar.vue b/src/views/gasDashboard/components/gasCountByAreaBar.vue new file mode 100644 index 0000000..456a6c6 --- /dev/null +++ b/src/views/gasDashboard/components/gasCountByAreaBar.vue @@ -0,0 +1,198 @@ + + + + diff --git a/src/views/gasDashboard/components/gasCountByDay.vue b/src/views/gasDashboard/components/gasCountByDay.vue new file mode 100644 index 0000000..79a4efb --- /dev/null +++ b/src/views/gasDashboard/components/gasCountByDay.vue @@ -0,0 +1,146 @@ + + + + diff --git a/src/views/gasDashboard/components/gasCountByDept.vue b/src/views/gasDashboard/components/gasCountByDept.vue new file mode 100644 index 0000000..31c8508 --- /dev/null +++ b/src/views/gasDashboard/components/gasCountByDept.vue @@ -0,0 +1,126 @@ + + + + + diff --git a/src/api/gasOverview.js b/src/api/gasOverview.js index a8996f5..b7da600 100644 --- a/src/api/gasOverview.js +++ b/src/api/gasOverview.js @@ -53,8 +53,24 @@ params }) } -// 查询二级分区各区用水量对比 -export function waterCompare(params) { +// 查询二级分区燃气告警 +export function gasAlarmBySecondArea(params) { + return request({ + url: 'dataStatistic/gasAlarmBySecondArea', + method: 'get', + params + }) +} +// 各设备腐蚀速率统计 +export function corrRateByDevice(params) { + return request({ + url: 'statics/corrRateByDevice', + method: 'get', + params + }) +} +// 查询二级分区用气对比 +export function gasCompareData(params) { return request({ url: 'gasStatistic/gasCompare', method: 'get', diff --git a/src/views/gasDashboard/components/alarmGasCountByDept.vue b/src/views/gasDashboard/components/alarmGasCountByDept.vue index 60ab5ad..b8bfc23 100644 --- a/src/views/gasDashboard/components/alarmGasCountByDept.vue +++ b/src/views/gasDashboard/components/alarmGasCountByDept.vue @@ -8,7 +8,7 @@ + diff --git a/src/views/gasDashboard/components/gasCountByAreaBar.vue b/src/views/gasDashboard/components/gasCountByAreaBar.vue new file mode 100644 index 0000000..456a6c6 --- /dev/null +++ b/src/views/gasDashboard/components/gasCountByAreaBar.vue @@ -0,0 +1,198 @@ + + + + diff --git a/src/views/gasDashboard/components/gasCountByDay.vue b/src/views/gasDashboard/components/gasCountByDay.vue new file mode 100644 index 0000000..79a4efb --- /dev/null +++ b/src/views/gasDashboard/components/gasCountByDay.vue @@ -0,0 +1,146 @@ + + + + diff --git a/src/views/gasDashboard/components/gasCountByDept.vue b/src/views/gasDashboard/components/gasCountByDept.vue new file mode 100644 index 0000000..31c8508 --- /dev/null +++ b/src/views/gasDashboard/components/gasCountByDept.vue @@ -0,0 +1,126 @@ + + + + + diff --git a/src/views/gasDashboard/components/gasNote.vue b/src/views/gasDashboard/components/gasNote.vue new file mode 100644 index 0000000..5ade90f --- /dev/null +++ b/src/views/gasDashboard/components/gasNote.vue @@ -0,0 +1,149 @@ + + + + + + diff --git a/src/api/gasOverview.js b/src/api/gasOverview.js index a8996f5..b7da600 100644 --- a/src/api/gasOverview.js +++ b/src/api/gasOverview.js @@ -53,8 +53,24 @@ params }) } -// 查询二级分区各区用水量对比 -export function waterCompare(params) { +// 查询二级分区燃气告警 +export function gasAlarmBySecondArea(params) { + return request({ + url: 'dataStatistic/gasAlarmBySecondArea', + method: 'get', + params + }) +} +// 各设备腐蚀速率统计 +export function corrRateByDevice(params) { + return request({ + url: 'statics/corrRateByDevice', + method: 'get', + params + }) +} +// 查询二级分区用气对比 +export function gasCompareData(params) { return request({ url: 'gasStatistic/gasCompare', method: 'get', diff --git a/src/views/gasDashboard/components/alarmGasCountByDept.vue b/src/views/gasDashboard/components/alarmGasCountByDept.vue index 60ab5ad..b8bfc23 100644 --- a/src/views/gasDashboard/components/alarmGasCountByDept.vue +++ b/src/views/gasDashboard/components/alarmGasCountByDept.vue @@ -8,7 +8,7 @@ + diff --git a/src/views/gasDashboard/components/gasCountByAreaBar.vue b/src/views/gasDashboard/components/gasCountByAreaBar.vue new file mode 100644 index 0000000..456a6c6 --- /dev/null +++ b/src/views/gasDashboard/components/gasCountByAreaBar.vue @@ -0,0 +1,198 @@ + + + + diff --git a/src/views/gasDashboard/components/gasCountByDay.vue b/src/views/gasDashboard/components/gasCountByDay.vue new file mode 100644 index 0000000..79a4efb --- /dev/null +++ b/src/views/gasDashboard/components/gasCountByDay.vue @@ -0,0 +1,146 @@ + + + + diff --git a/src/views/gasDashboard/components/gasCountByDept.vue b/src/views/gasDashboard/components/gasCountByDept.vue new file mode 100644 index 0000000..31c8508 --- /dev/null +++ b/src/views/gasDashboard/components/gasCountByDept.vue @@ -0,0 +1,126 @@ + + + + + diff --git a/src/views/gasDashboard/components/gasNote.vue b/src/views/gasDashboard/components/gasNote.vue new file mode 100644 index 0000000..5ade90f --- /dev/null +++ b/src/views/gasDashboard/components/gasNote.vue @@ -0,0 +1,149 @@ + + + + + + diff --git a/src/views/gasDashboard/components/watchAlarmBar.vue b/src/views/gasDashboard/components/watchAlarmBar.vue index 8857807..4279440 100644 --- a/src/views/gasDashboard/components/watchAlarmBar.vue +++ b/src/views/gasDashboard/components/watchAlarmBar.vue @@ -2,33 +2,7 @@ @@ -42,10 +16,10 @@ components: { FunctionArea }, data() { return { - title:{ + title: { text: '气体流量计告警统计' }, - chartSettings:{ + chartSettings: { itemStyle: { barCategoryGap: 0 }, @@ -83,7 +57,7 @@ series: { label: { show: true, position: 'top', formatter: '{c}' }, barWidth: 20 - }, + } // tooltip: { trigger: 'item', formatter: '{b}
报警次数:{c}次' } }, areaId: '', diff --git a/src/api/gasOverview.js b/src/api/gasOverview.js index a8996f5..b7da600 100644 --- a/src/api/gasOverview.js +++ b/src/api/gasOverview.js @@ -53,8 +53,24 @@ params }) } -// 查询二级分区各区用水量对比 -export function waterCompare(params) { +// 查询二级分区燃气告警 +export function gasAlarmBySecondArea(params) { + return request({ + url: 'dataStatistic/gasAlarmBySecondArea', + method: 'get', + params + }) +} +// 各设备腐蚀速率统计 +export function corrRateByDevice(params) { + return request({ + url: 'statics/corrRateByDevice', + method: 'get', + params + }) +} +// 查询二级分区用气对比 +export function gasCompareData(params) { return request({ url: 'gasStatistic/gasCompare', method: 'get', diff --git a/src/views/gasDashboard/components/alarmGasCountByDept.vue b/src/views/gasDashboard/components/alarmGasCountByDept.vue index 60ab5ad..b8bfc23 100644 --- a/src/views/gasDashboard/components/alarmGasCountByDept.vue +++ b/src/views/gasDashboard/components/alarmGasCountByDept.vue @@ -8,7 +8,7 @@ + diff --git a/src/views/gasDashboard/components/gasCountByAreaBar.vue b/src/views/gasDashboard/components/gasCountByAreaBar.vue new file mode 100644 index 0000000..456a6c6 --- /dev/null +++ b/src/views/gasDashboard/components/gasCountByAreaBar.vue @@ -0,0 +1,198 @@ + + + + diff --git a/src/views/gasDashboard/components/gasCountByDay.vue b/src/views/gasDashboard/components/gasCountByDay.vue new file mode 100644 index 0000000..79a4efb --- /dev/null +++ b/src/views/gasDashboard/components/gasCountByDay.vue @@ -0,0 +1,146 @@ + + + + diff --git a/src/views/gasDashboard/components/gasCountByDept.vue b/src/views/gasDashboard/components/gasCountByDept.vue new file mode 100644 index 0000000..31c8508 --- /dev/null +++ b/src/views/gasDashboard/components/gasCountByDept.vue @@ -0,0 +1,126 @@ + + + + + diff --git a/src/views/gasDashboard/components/gasNote.vue b/src/views/gasDashboard/components/gasNote.vue new file mode 100644 index 0000000..5ade90f --- /dev/null +++ b/src/views/gasDashboard/components/gasNote.vue @@ -0,0 +1,149 @@ + + + + + + diff --git a/src/views/gasDashboard/components/watchAlarmBar.vue b/src/views/gasDashboard/components/watchAlarmBar.vue index 8857807..4279440 100644 --- a/src/views/gasDashboard/components/watchAlarmBar.vue +++ b/src/views/gasDashboard/components/watchAlarmBar.vue @@ -2,33 +2,7 @@ @@ -42,10 +16,10 @@ components: { FunctionArea }, data() { return { - title:{ + title: { text: '气体流量计告警统计' }, - chartSettings:{ + chartSettings: { itemStyle: { barCategoryGap: 0 }, @@ -83,7 +57,7 @@ series: { label: { show: true, position: 'top', formatter: '{c}' }, barWidth: 20 - }, + } // tooltip: { trigger: 'item', formatter: '{b}
报警次数:{c}次' } }, areaId: '', diff --git a/src/views/gasDashboard/components/watchGasAlarmBar.vue b/src/views/gasDashboard/components/watchGasAlarmBar.vue index 54783cc..0113341 100644 --- a/src/views/gasDashboard/components/watchGasAlarmBar.vue +++ b/src/views/gasDashboard/components/watchGasAlarmBar.vue @@ -1,14 +1,20 @@ + diff --git a/src/views/gasDashboard/components/gasCountByAreaBar.vue b/src/views/gasDashboard/components/gasCountByAreaBar.vue new file mode 100644 index 0000000..456a6c6 --- /dev/null +++ b/src/views/gasDashboard/components/gasCountByAreaBar.vue @@ -0,0 +1,198 @@ + + + + diff --git a/src/views/gasDashboard/components/gasCountByDay.vue b/src/views/gasDashboard/components/gasCountByDay.vue new file mode 100644 index 0000000..79a4efb --- /dev/null +++ b/src/views/gasDashboard/components/gasCountByDay.vue @@ -0,0 +1,146 @@ + + + + diff --git a/src/views/gasDashboard/components/gasCountByDept.vue b/src/views/gasDashboard/components/gasCountByDept.vue new file mode 100644 index 0000000..31c8508 --- /dev/null +++ b/src/views/gasDashboard/components/gasCountByDept.vue @@ -0,0 +1,126 @@ + + + + + diff --git a/src/views/gasDashboard/components/gasNote.vue b/src/views/gasDashboard/components/gasNote.vue new file mode 100644 index 0000000..5ade90f --- /dev/null +++ b/src/views/gasDashboard/components/gasNote.vue @@ -0,0 +1,149 @@ + + + + + + diff --git a/src/views/gasDashboard/components/watchAlarmBar.vue b/src/views/gasDashboard/components/watchAlarmBar.vue index 8857807..4279440 100644 --- a/src/views/gasDashboard/components/watchAlarmBar.vue +++ b/src/views/gasDashboard/components/watchAlarmBar.vue @@ -2,33 +2,7 @@ @@ -42,10 +16,10 @@ components: { FunctionArea }, data() { return { - title:{ + title: { text: '气体流量计告警统计' }, - chartSettings:{ + chartSettings: { itemStyle: { barCategoryGap: 0 }, @@ -83,7 +57,7 @@ series: { label: { show: true, position: 'top', formatter: '{c}' }, barWidth: 20 - }, + } // tooltip: { trigger: 'item', formatter: '{b}
报警次数:{c}次' } }, areaId: '', diff --git a/src/views/gasDashboard/components/watchGasAlarmBar.vue b/src/views/gasDashboard/components/watchGasAlarmBar.vue index 54783cc..0113341 100644 --- a/src/views/gasDashboard/components/watchGasAlarmBar.vue +++ b/src/views/gasDashboard/components/watchGasAlarmBar.vue @@ -1,14 +1,20 @@ - diff --git a/src/api/gasOverview.js b/src/api/gasOverview.js index a8996f5..b7da600 100644 --- a/src/api/gasOverview.js +++ b/src/api/gasOverview.js @@ -53,8 +53,24 @@ params }) } -// 查询二级分区各区用水量对比 -export function waterCompare(params) { +// 查询二级分区燃气告警 +export function gasAlarmBySecondArea(params) { + return request({ + url: 'dataStatistic/gasAlarmBySecondArea', + method: 'get', + params + }) +} +// 各设备腐蚀速率统计 +export function corrRateByDevice(params) { + return request({ + url: 'statics/corrRateByDevice', + method: 'get', + params + }) +} +// 查询二级分区用气对比 +export function gasCompareData(params) { return request({ url: 'gasStatistic/gasCompare', method: 'get', diff --git a/src/views/gasDashboard/components/alarmGasCountByDept.vue b/src/views/gasDashboard/components/alarmGasCountByDept.vue index 60ab5ad..b8bfc23 100644 --- a/src/views/gasDashboard/components/alarmGasCountByDept.vue +++ b/src/views/gasDashboard/components/alarmGasCountByDept.vue @@ -8,7 +8,7 @@ + diff --git a/src/views/gasDashboard/components/gasCountByAreaBar.vue b/src/views/gasDashboard/components/gasCountByAreaBar.vue new file mode 100644 index 0000000..456a6c6 --- /dev/null +++ b/src/views/gasDashboard/components/gasCountByAreaBar.vue @@ -0,0 +1,198 @@ + + + + diff --git a/src/views/gasDashboard/components/gasCountByDay.vue b/src/views/gasDashboard/components/gasCountByDay.vue new file mode 100644 index 0000000..79a4efb --- /dev/null +++ b/src/views/gasDashboard/components/gasCountByDay.vue @@ -0,0 +1,146 @@ + + + + diff --git a/src/views/gasDashboard/components/gasCountByDept.vue b/src/views/gasDashboard/components/gasCountByDept.vue new file mode 100644 index 0000000..31c8508 --- /dev/null +++ b/src/views/gasDashboard/components/gasCountByDept.vue @@ -0,0 +1,126 @@ + + + + + diff --git a/src/views/gasDashboard/components/gasNote.vue b/src/views/gasDashboard/components/gasNote.vue new file mode 100644 index 0000000..5ade90f --- /dev/null +++ b/src/views/gasDashboard/components/gasNote.vue @@ -0,0 +1,149 @@ + + + + + + diff --git a/src/views/gasDashboard/components/watchAlarmBar.vue b/src/views/gasDashboard/components/watchAlarmBar.vue index 8857807..4279440 100644 --- a/src/views/gasDashboard/components/watchAlarmBar.vue +++ b/src/views/gasDashboard/components/watchAlarmBar.vue @@ -2,33 +2,7 @@ @@ -42,10 +16,10 @@ components: { FunctionArea }, data() { return { - title:{ + title: { text: '气体流量计告警统计' }, - chartSettings:{ + chartSettings: { itemStyle: { barCategoryGap: 0 }, @@ -83,7 +57,7 @@ series: { label: { show: true, position: 'top', formatter: '{c}' }, barWidth: 20 - }, + } // tooltip: { trigger: 'item', formatter: '{b}
报警次数:{c}次' } }, areaId: '', diff --git a/src/views/gasDashboard/components/watchGasAlarmBar.vue b/src/views/gasDashboard/components/watchGasAlarmBar.vue index 54783cc..0113341 100644 --- a/src/views/gasDashboard/components/watchGasAlarmBar.vue +++ b/src/views/gasDashboard/components/watchGasAlarmBar.vue @@ -1,14 +1,20 @@ - diff --git a/src/views/gasDashboard/components/waterCountByAreaBar.vue b/src/views/gasDashboard/components/waterCountByAreaBar.vue deleted file mode 100644 index d02d54c..0000000 --- a/src/views/gasDashboard/components/waterCountByAreaBar.vue +++ /dev/null @@ -1,198 +0,0 @@ - - - - diff --git a/src/api/gasOverview.js b/src/api/gasOverview.js index a8996f5..b7da600 100644 --- a/src/api/gasOverview.js +++ b/src/api/gasOverview.js @@ -53,8 +53,24 @@ params }) } -// 查询二级分区各区用水量对比 -export function waterCompare(params) { +// 查询二级分区燃气告警 +export function gasAlarmBySecondArea(params) { + return request({ + url: 'dataStatistic/gasAlarmBySecondArea', + method: 'get', + params + }) +} +// 各设备腐蚀速率统计 +export function corrRateByDevice(params) { + return request({ + url: 'statics/corrRateByDevice', + method: 'get', + params + }) +} +// 查询二级分区用气对比 +export function gasCompareData(params) { return request({ url: 'gasStatistic/gasCompare', method: 'get', diff --git a/src/views/gasDashboard/components/alarmGasCountByDept.vue b/src/views/gasDashboard/components/alarmGasCountByDept.vue index 60ab5ad..b8bfc23 100644 --- a/src/views/gasDashboard/components/alarmGasCountByDept.vue +++ b/src/views/gasDashboard/components/alarmGasCountByDept.vue @@ -8,7 +8,7 @@ + diff --git a/src/views/gasDashboard/components/gasCountByAreaBar.vue b/src/views/gasDashboard/components/gasCountByAreaBar.vue new file mode 100644 index 0000000..456a6c6 --- /dev/null +++ b/src/views/gasDashboard/components/gasCountByAreaBar.vue @@ -0,0 +1,198 @@ + + + + diff --git a/src/views/gasDashboard/components/gasCountByDay.vue b/src/views/gasDashboard/components/gasCountByDay.vue new file mode 100644 index 0000000..79a4efb --- /dev/null +++ b/src/views/gasDashboard/components/gasCountByDay.vue @@ -0,0 +1,146 @@ + + + + diff --git a/src/views/gasDashboard/components/gasCountByDept.vue b/src/views/gasDashboard/components/gasCountByDept.vue new file mode 100644 index 0000000..31c8508 --- /dev/null +++ b/src/views/gasDashboard/components/gasCountByDept.vue @@ -0,0 +1,126 @@ + + + + + diff --git a/src/views/gasDashboard/components/gasNote.vue b/src/views/gasDashboard/components/gasNote.vue new file mode 100644 index 0000000..5ade90f --- /dev/null +++ b/src/views/gasDashboard/components/gasNote.vue @@ -0,0 +1,149 @@ + + + + + + diff --git a/src/views/gasDashboard/components/watchAlarmBar.vue b/src/views/gasDashboard/components/watchAlarmBar.vue index 8857807..4279440 100644 --- a/src/views/gasDashboard/components/watchAlarmBar.vue +++ b/src/views/gasDashboard/components/watchAlarmBar.vue @@ -2,33 +2,7 @@ @@ -42,10 +16,10 @@ components: { FunctionArea }, data() { return { - title:{ + title: { text: '气体流量计告警统计' }, - chartSettings:{ + chartSettings: { itemStyle: { barCategoryGap: 0 }, @@ -83,7 +57,7 @@ series: { label: { show: true, position: 'top', formatter: '{c}' }, barWidth: 20 - }, + } // tooltip: { trigger: 'item', formatter: '{b}
报警次数:{c}次' } }, areaId: '', diff --git a/src/views/gasDashboard/components/watchGasAlarmBar.vue b/src/views/gasDashboard/components/watchGasAlarmBar.vue index 54783cc..0113341 100644 --- a/src/views/gasDashboard/components/watchGasAlarmBar.vue +++ b/src/views/gasDashboard/components/watchGasAlarmBar.vue @@ -1,14 +1,20 @@ - diff --git a/src/views/gasDashboard/components/waterCountByAreaBar.vue b/src/views/gasDashboard/components/waterCountByAreaBar.vue deleted file mode 100644 index d02d54c..0000000 --- a/src/views/gasDashboard/components/waterCountByAreaBar.vue +++ /dev/null @@ -1,198 +0,0 @@ - - - - diff --git a/src/views/gasDashboard/components/waterCountByDay.vue b/src/views/gasDashboard/components/waterCountByDay.vue deleted file mode 100644 index 53297a2..0000000 --- a/src/views/gasDashboard/components/waterCountByDay.vue +++ /dev/null @@ -1,157 +0,0 @@ - - - - - diff --git a/src/api/gasOverview.js b/src/api/gasOverview.js index a8996f5..b7da600 100644 --- a/src/api/gasOverview.js +++ b/src/api/gasOverview.js @@ -53,8 +53,24 @@ params }) } -// 查询二级分区各区用水量对比 -export function waterCompare(params) { +// 查询二级分区燃气告警 +export function gasAlarmBySecondArea(params) { + return request({ + url: 'dataStatistic/gasAlarmBySecondArea', + method: 'get', + params + }) +} +// 各设备腐蚀速率统计 +export function corrRateByDevice(params) { + return request({ + url: 'statics/corrRateByDevice', + method: 'get', + params + }) +} +// 查询二级分区用气对比 +export function gasCompareData(params) { return request({ url: 'gasStatistic/gasCompare', method: 'get', diff --git a/src/views/gasDashboard/components/alarmGasCountByDept.vue b/src/views/gasDashboard/components/alarmGasCountByDept.vue index 60ab5ad..b8bfc23 100644 --- a/src/views/gasDashboard/components/alarmGasCountByDept.vue +++ b/src/views/gasDashboard/components/alarmGasCountByDept.vue @@ -8,7 +8,7 @@ + diff --git a/src/views/gasDashboard/components/gasCountByAreaBar.vue b/src/views/gasDashboard/components/gasCountByAreaBar.vue new file mode 100644 index 0000000..456a6c6 --- /dev/null +++ b/src/views/gasDashboard/components/gasCountByAreaBar.vue @@ -0,0 +1,198 @@ + + + + diff --git a/src/views/gasDashboard/components/gasCountByDay.vue b/src/views/gasDashboard/components/gasCountByDay.vue new file mode 100644 index 0000000..79a4efb --- /dev/null +++ b/src/views/gasDashboard/components/gasCountByDay.vue @@ -0,0 +1,146 @@ + + + + diff --git a/src/views/gasDashboard/components/gasCountByDept.vue b/src/views/gasDashboard/components/gasCountByDept.vue new file mode 100644 index 0000000..31c8508 --- /dev/null +++ b/src/views/gasDashboard/components/gasCountByDept.vue @@ -0,0 +1,126 @@ + + + + + diff --git a/src/views/gasDashboard/components/gasNote.vue b/src/views/gasDashboard/components/gasNote.vue new file mode 100644 index 0000000..5ade90f --- /dev/null +++ b/src/views/gasDashboard/components/gasNote.vue @@ -0,0 +1,149 @@ + + + + + + diff --git a/src/views/gasDashboard/components/watchAlarmBar.vue b/src/views/gasDashboard/components/watchAlarmBar.vue index 8857807..4279440 100644 --- a/src/views/gasDashboard/components/watchAlarmBar.vue +++ b/src/views/gasDashboard/components/watchAlarmBar.vue @@ -2,33 +2,7 @@ @@ -42,10 +16,10 @@ components: { FunctionArea }, data() { return { - title:{ + title: { text: '气体流量计告警统计' }, - chartSettings:{ + chartSettings: { itemStyle: { barCategoryGap: 0 }, @@ -83,7 +57,7 @@ series: { label: { show: true, position: 'top', formatter: '{c}' }, barWidth: 20 - }, + } // tooltip: { trigger: 'item', formatter: '{b}
报警次数:{c}次' } }, areaId: '', diff --git a/src/views/gasDashboard/components/watchGasAlarmBar.vue b/src/views/gasDashboard/components/watchGasAlarmBar.vue index 54783cc..0113341 100644 --- a/src/views/gasDashboard/components/watchGasAlarmBar.vue +++ b/src/views/gasDashboard/components/watchGasAlarmBar.vue @@ -1,14 +1,20 @@ - diff --git a/src/views/gasDashboard/components/waterCountByAreaBar.vue b/src/views/gasDashboard/components/waterCountByAreaBar.vue deleted file mode 100644 index d02d54c..0000000 --- a/src/views/gasDashboard/components/waterCountByAreaBar.vue +++ /dev/null @@ -1,198 +0,0 @@ - - - - diff --git a/src/views/gasDashboard/components/waterCountByDay.vue b/src/views/gasDashboard/components/waterCountByDay.vue deleted file mode 100644 index 53297a2..0000000 --- a/src/views/gasDashboard/components/waterCountByDay.vue +++ /dev/null @@ -1,157 +0,0 @@ - - - - - diff --git a/src/views/gasDashboard/components/waterCountByDept.vue b/src/views/gasDashboard/components/waterCountByDept.vue deleted file mode 100644 index b09409a..0000000 --- a/src/views/gasDashboard/components/waterCountByDept.vue +++ /dev/null @@ -1,126 +0,0 @@ - - - - - diff --git a/src/api/gasOverview.js b/src/api/gasOverview.js index a8996f5..b7da600 100644 --- a/src/api/gasOverview.js +++ b/src/api/gasOverview.js @@ -53,8 +53,24 @@ params }) } -// 查询二级分区各区用水量对比 -export function waterCompare(params) { +// 查询二级分区燃气告警 +export function gasAlarmBySecondArea(params) { + return request({ + url: 'dataStatistic/gasAlarmBySecondArea', + method: 'get', + params + }) +} +// 各设备腐蚀速率统计 +export function corrRateByDevice(params) { + return request({ + url: 'statics/corrRateByDevice', + method: 'get', + params + }) +} +// 查询二级分区用气对比 +export function gasCompareData(params) { return request({ url: 'gasStatistic/gasCompare', method: 'get', diff --git a/src/views/gasDashboard/components/alarmGasCountByDept.vue b/src/views/gasDashboard/components/alarmGasCountByDept.vue index 60ab5ad..b8bfc23 100644 --- a/src/views/gasDashboard/components/alarmGasCountByDept.vue +++ b/src/views/gasDashboard/components/alarmGasCountByDept.vue @@ -8,7 +8,7 @@ + diff --git a/src/views/gasDashboard/components/gasCountByAreaBar.vue b/src/views/gasDashboard/components/gasCountByAreaBar.vue new file mode 100644 index 0000000..456a6c6 --- /dev/null +++ b/src/views/gasDashboard/components/gasCountByAreaBar.vue @@ -0,0 +1,198 @@ + + + + diff --git a/src/views/gasDashboard/components/gasCountByDay.vue b/src/views/gasDashboard/components/gasCountByDay.vue new file mode 100644 index 0000000..79a4efb --- /dev/null +++ b/src/views/gasDashboard/components/gasCountByDay.vue @@ -0,0 +1,146 @@ + + + + diff --git a/src/views/gasDashboard/components/gasCountByDept.vue b/src/views/gasDashboard/components/gasCountByDept.vue new file mode 100644 index 0000000..31c8508 --- /dev/null +++ b/src/views/gasDashboard/components/gasCountByDept.vue @@ -0,0 +1,126 @@ + + + + + diff --git a/src/views/gasDashboard/components/gasNote.vue b/src/views/gasDashboard/components/gasNote.vue new file mode 100644 index 0000000..5ade90f --- /dev/null +++ b/src/views/gasDashboard/components/gasNote.vue @@ -0,0 +1,149 @@ + + + + + + diff --git a/src/views/gasDashboard/components/watchAlarmBar.vue b/src/views/gasDashboard/components/watchAlarmBar.vue index 8857807..4279440 100644 --- a/src/views/gasDashboard/components/watchAlarmBar.vue +++ b/src/views/gasDashboard/components/watchAlarmBar.vue @@ -2,33 +2,7 @@ @@ -42,10 +16,10 @@ components: { FunctionArea }, data() { return { - title:{ + title: { text: '气体流量计告警统计' }, - chartSettings:{ + chartSettings: { itemStyle: { barCategoryGap: 0 }, @@ -83,7 +57,7 @@ series: { label: { show: true, position: 'top', formatter: '{c}' }, barWidth: 20 - }, + } // tooltip: { trigger: 'item', formatter: '{b}
报警次数:{c}次' } }, areaId: '', diff --git a/src/views/gasDashboard/components/watchGasAlarmBar.vue b/src/views/gasDashboard/components/watchGasAlarmBar.vue index 54783cc..0113341 100644 --- a/src/views/gasDashboard/components/watchGasAlarmBar.vue +++ b/src/views/gasDashboard/components/watchGasAlarmBar.vue @@ -1,14 +1,20 @@ - diff --git a/src/views/gasDashboard/components/waterCountByAreaBar.vue b/src/views/gasDashboard/components/waterCountByAreaBar.vue deleted file mode 100644 index d02d54c..0000000 --- a/src/views/gasDashboard/components/waterCountByAreaBar.vue +++ /dev/null @@ -1,198 +0,0 @@ - - - - diff --git a/src/views/gasDashboard/components/waterCountByDay.vue b/src/views/gasDashboard/components/waterCountByDay.vue deleted file mode 100644 index 53297a2..0000000 --- a/src/views/gasDashboard/components/waterCountByDay.vue +++ /dev/null @@ -1,157 +0,0 @@ - - - - - diff --git a/src/views/gasDashboard/components/waterCountByDept.vue b/src/views/gasDashboard/components/waterCountByDept.vue deleted file mode 100644 index b09409a..0000000 --- a/src/views/gasDashboard/components/waterCountByDept.vue +++ /dev/null @@ -1,126 +0,0 @@ - - - - - diff --git a/src/views/gasDashboard/components/waterNote.vue b/src/views/gasDashboard/components/waterNote.vue deleted file mode 100644 index 42e5e36..0000000 --- a/src/views/gasDashboard/components/waterNote.vue +++ /dev/null @@ -1,149 +0,0 @@ - - - - - - diff --git a/src/api/gasOverview.js b/src/api/gasOverview.js index a8996f5..b7da600 100644 --- a/src/api/gasOverview.js +++ b/src/api/gasOverview.js @@ -53,8 +53,24 @@ params }) } -// 查询二级分区各区用水量对比 -export function waterCompare(params) { +// 查询二级分区燃气告警 +export function gasAlarmBySecondArea(params) { + return request({ + url: 'dataStatistic/gasAlarmBySecondArea', + method: 'get', + params + }) +} +// 各设备腐蚀速率统计 +export function corrRateByDevice(params) { + return request({ + url: 'statics/corrRateByDevice', + method: 'get', + params + }) +} +// 查询二级分区用气对比 +export function gasCompareData(params) { return request({ url: 'gasStatistic/gasCompare', method: 'get', diff --git a/src/views/gasDashboard/components/alarmGasCountByDept.vue b/src/views/gasDashboard/components/alarmGasCountByDept.vue index 60ab5ad..b8bfc23 100644 --- a/src/views/gasDashboard/components/alarmGasCountByDept.vue +++ b/src/views/gasDashboard/components/alarmGasCountByDept.vue @@ -8,7 +8,7 @@ + diff --git a/src/views/gasDashboard/components/gasCountByAreaBar.vue b/src/views/gasDashboard/components/gasCountByAreaBar.vue new file mode 100644 index 0000000..456a6c6 --- /dev/null +++ b/src/views/gasDashboard/components/gasCountByAreaBar.vue @@ -0,0 +1,198 @@ + + + + diff --git a/src/views/gasDashboard/components/gasCountByDay.vue b/src/views/gasDashboard/components/gasCountByDay.vue new file mode 100644 index 0000000..79a4efb --- /dev/null +++ b/src/views/gasDashboard/components/gasCountByDay.vue @@ -0,0 +1,146 @@ + + + + diff --git a/src/views/gasDashboard/components/gasCountByDept.vue b/src/views/gasDashboard/components/gasCountByDept.vue new file mode 100644 index 0000000..31c8508 --- /dev/null +++ b/src/views/gasDashboard/components/gasCountByDept.vue @@ -0,0 +1,126 @@ + + + + + diff --git a/src/views/gasDashboard/components/gasNote.vue b/src/views/gasDashboard/components/gasNote.vue new file mode 100644 index 0000000..5ade90f --- /dev/null +++ b/src/views/gasDashboard/components/gasNote.vue @@ -0,0 +1,149 @@ + + + + + + diff --git a/src/views/gasDashboard/components/watchAlarmBar.vue b/src/views/gasDashboard/components/watchAlarmBar.vue index 8857807..4279440 100644 --- a/src/views/gasDashboard/components/watchAlarmBar.vue +++ b/src/views/gasDashboard/components/watchAlarmBar.vue @@ -2,33 +2,7 @@ @@ -42,10 +16,10 @@ components: { FunctionArea }, data() { return { - title:{ + title: { text: '气体流量计告警统计' }, - chartSettings:{ + chartSettings: { itemStyle: { barCategoryGap: 0 }, @@ -83,7 +57,7 @@ series: { label: { show: true, position: 'top', formatter: '{c}' }, barWidth: 20 - }, + } // tooltip: { trigger: 'item', formatter: '{b}
报警次数:{c}次' } }, areaId: '', diff --git a/src/views/gasDashboard/components/watchGasAlarmBar.vue b/src/views/gasDashboard/components/watchGasAlarmBar.vue index 54783cc..0113341 100644 --- a/src/views/gasDashboard/components/watchGasAlarmBar.vue +++ b/src/views/gasDashboard/components/watchGasAlarmBar.vue @@ -1,14 +1,20 @@ - diff --git a/src/views/gasDashboard/components/waterCountByAreaBar.vue b/src/views/gasDashboard/components/waterCountByAreaBar.vue deleted file mode 100644 index d02d54c..0000000 --- a/src/views/gasDashboard/components/waterCountByAreaBar.vue +++ /dev/null @@ -1,198 +0,0 @@ - - - - diff --git a/src/views/gasDashboard/components/waterCountByDay.vue b/src/views/gasDashboard/components/waterCountByDay.vue deleted file mode 100644 index 53297a2..0000000 --- a/src/views/gasDashboard/components/waterCountByDay.vue +++ /dev/null @@ -1,157 +0,0 @@ - - - - - diff --git a/src/views/gasDashboard/components/waterCountByDept.vue b/src/views/gasDashboard/components/waterCountByDept.vue deleted file mode 100644 index b09409a..0000000 --- a/src/views/gasDashboard/components/waterCountByDept.vue +++ /dev/null @@ -1,126 +0,0 @@ - - - - - diff --git a/src/views/gasDashboard/components/waterNote.vue b/src/views/gasDashboard/components/waterNote.vue deleted file mode 100644 index 42e5e36..0000000 --- a/src/views/gasDashboard/components/waterNote.vue +++ /dev/null @@ -1,149 +0,0 @@ - - - - - - diff --git a/src/views/gasDashboard/index.vue b/src/views/gasDashboard/index.vue index a9f13eb..6eb2d56 100644 --- a/src/views/gasDashboard/index.vue +++ b/src/views/gasDashboard/index.vue @@ -5,12 +5,12 @@ - + - + @@ -18,19 +18,19 @@ - + - + - + @@ -79,13 +79,13 @@ import { mapGetters } from 'vuex' import PanelGroup from './components/PanelGroup' import DeviceCount from './components/DeviceCount' -import WaterCountByDept from './components/waterCountByDept' -import WaterCountByDay from './components/waterCountByDay' -import WaterCountByAreaBar from './components/waterCountByAreaBar' +import gasCountByDept from './components/gasCountByDept' +import gasCountByDay from './components/gasCountByDay' +import gasCountByAreaBar from './components/gasCountByAreaBar' import WatchAlarmBar from './components/watchAlarmBar' -import WaterNote from './components/waterNote' +import gasNote from './components/gasNote' import AlarmCountByDept from './components/AlarmCountByDept' -import WaterCompare from './components/waterCompare' +import gasCompare from './components/gasCompare' import watchGasAlarmBar from './components/watchGasAlarmBar' import alarmGasCountByDept from './components/alarmGasCountByDept' import corrodeCountByDay from './components/corrodeCountByDay' @@ -93,12 +93,12 @@ export default { name: 'Dashboard', components: { - WaterCountByAreaBar, - WaterCountByDept, - WaterCountByDay, - WaterNote, + gasCountByAreaBar, + gasCountByDept, + gasCountByDay, + gasNote, PanelGroup, - WaterCompare, + gasCompare, DeviceCount, WatchAlarmBar, AlarmCountByDept,