diff --git a/src/views/dike/runManage/patrolMaintenance/acceptanceRecords/details.vue b/src/views/dike/runManage/patrolMaintenance/acceptanceRecords/details.vue
new file mode 100644
index 0000000..4a1ad3e
--- /dev/null
+++ b/src/views/dike/runManage/patrolMaintenance/acceptanceRecords/details.vue
@@ -0,0 +1,272 @@
+
+
+
+
+
+
缺陷信息
+
+
养护记录
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 123
+
+
+
+
+
+
+
验收意见
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/dike/runManage/patrolMaintenance/statisticsAnalysis/index.vue b/src/views/dike/runManage/patrolMaintenance/statisticsAnalysis/index.vue
index 278bf4e..7f4ab48 100644
--- a/src/views/dike/runManage/patrolMaintenance/statisticsAnalysis/index.vue
+++ b/src/views/dike/runManage/patrolMaintenance/statisticsAnalysis/index.vue
@@ -269,6 +269,15 @@ export default {
// 巡查记录分析
this.requestFunc({ group: "C_1" }).then((res) => {
if (res.data) {
+ // 渲染图表和统计总数
+ if (res.data?.yaxis?.length) {
+ let newArr = res.data.yaxis.flatMap((v) => v.series);
+ this.xcRecordsSum = newArr
+ .map((v) => Number(v.sum ?? null))
+ .reduce((acc, cur) => {
+ return acc + cur;
+ }, 0);
+ }
this.$nextTick(() => {
// 柱形图
if (this.patrolRecordRefBarInstance) {
@@ -285,6 +294,7 @@ export default {
itemStyle: {
color: "#36B29E",
},
+ stack: "one",
barWidth: 20,
},
})
@@ -308,6 +318,12 @@ export default {
// 巡查缺陷分析
this.requestFunc({ group: "C_2" }).then((res) => {
if (res.data) {
+ if (res.data?.yaxis?.length) {
+ let newArr = res.data.yaxis.flatMap((v) => v.series);
+ this.projectSum = Number(
+ newArr.find((v) => v.code === "DF_PROJECT_ADCD_SUM")?.sum ?? null
+ );
+ }
this.$nextTick(() => {
// 柱形图
if (this.patrolFlawRefBarInstance) {