diff --git a/src/api/system/statistics.js b/src/api/system/statistics.js
index 6440f03..1ef2e62 100644
--- a/src/api/system/statistics.js
+++ b/src/api/system/statistics.js
@@ -13,3 +13,12 @@
})
}
+// 统计一年每个月每座桥的养护/巡检次数
+export function countByMonth(params) {
+ return request({
+ url: 'bridge/maintain/countByMonth',
+ method: 'get',
+ params
+ })
+}
+
diff --git a/src/api/system/statistics.js b/src/api/system/statistics.js
index 6440f03..1ef2e62 100644
--- a/src/api/system/statistics.js
+++ b/src/api/system/statistics.js
@@ -13,3 +13,12 @@
})
}
+// 统计一年每个月每座桥的养护/巡检次数
+export function countByMonth(params) {
+ return request({
+ url: 'bridge/maintain/countByMonth',
+ method: 'get',
+ params
+ })
+}
+
diff --git a/src/views/overview/overview.vue b/src/views/overview/overview.vue
index 01aff3f..9ad6a5a 100644
--- a/src/views/overview/overview.vue
+++ b/src/views/overview/overview.vue
@@ -63,7 +63,8 @@
'
';
if (data.photo !== '') {
- popupStr += ''
+ const base = this.baseConfig.baseUrl + 'static/'
+ popupStr += ''
}
popupStr +=
diff --git a/src/api/system/statistics.js b/src/api/system/statistics.js
index 6440f03..1ef2e62 100644
--- a/src/api/system/statistics.js
+++ b/src/api/system/statistics.js
@@ -13,3 +13,12 @@
})
}
+// 统计一年每个月每座桥的养护/巡检次数
+export function countByMonth(params) {
+ return request({
+ url: 'bridge/maintain/countByMonth',
+ method: 'get',
+ params
+ })
+}
+
diff --git a/src/views/overview/overview.vue b/src/views/overview/overview.vue
index 01aff3f..9ad6a5a 100644
--- a/src/views/overview/overview.vue
+++ b/src/views/overview/overview.vue
@@ -63,7 +63,8 @@
'';
if (data.photo !== '') {
- popupStr += ''
+ const base = this.baseConfig.baseUrl + 'static/'
+ popupStr += ''
}
popupStr +=
diff --git a/src/views/statistics/maintainStatistics.vue b/src/views/statistics/maintainStatistics.vue
index a86e235..af882a8 100644
--- a/src/views/statistics/maintainStatistics.vue
+++ b/src/views/statistics/maintainStatistics.vue
@@ -14,16 +14,15 @@
- 各类型养护数量统计及占比
+ 年度养护数量统计
-
-
+
+
-
-
-
+
+
{{ scope.row[column.value] }}
@@ -37,84 +36,158 @@