diff --git a/src/api/data/supervisionNotify.ts b/src/api/data/supervisionNotify.ts index 7372e83..81885e0 100644 --- a/src/api/data/supervisionNotify.ts +++ b/src/api/data/supervisionNotify.ts @@ -14,4 +14,12 @@ export function getChangedRank(times, groupType) { return request.get({ url: `/datav/supervisonNotify/rank?beginTime=${times[0]}&endTime=${times[1]}&groupType=${groupType}` }); +} +/** + * 获取问题趋势数据 + */ +export function getSupervisionTrend(year) { + return request.get({ + url: `/datav/supervisonNotify/getSupervisionTrend?year=${year}` + }); } \ No newline at end of file diff --git a/src/api/datav.ts b/src/api/datav.ts index 9f6f910..c9de5ec 100644 --- a/src/api/datav.ts +++ b/src/api/datav.ts @@ -38,3 +38,5 @@ export function getRecentlyMailTrend12337(query) { + + diff --git a/src/components/datav/chart-bar.vue b/src/components/datav/chart-bar.vue index 0a9786b..b2d56f2 100644 --- a/src/components/datav/chart-bar.vue +++ b/src/components/datav/chart-bar.vue @@ -23,7 +23,7 @@ }" > - {{ item.value }} + {{ item.value + props.unit }} item.value)); diff --git a/src/views/datav/AuditSuper.vue b/src/views/datav/AuditSuper.vue index a2691ba..4f22044 100644 --- a/src/views/datav/AuditSuper.vue +++ b/src/views/datav/AuditSuper.vue @@ -33,29 +33,29 @@
diff --git a/src/views/datav/Gobal.vue b/src/views/datav/Gobal.vue index 9ef7161..5432fb9 100644 --- a/src/views/datav/Gobal.vue +++ b/src/views/datav/Gobal.vue @@ -216,13 +216,10 @@ const option = ref({ // shadowOffsetY: 0, // 设置垂直阴影位移量为6像素 }, visualMap: { - type: "piecewise", bottom: 10, pieces: [ - {gte: 0, lte: 10, label: "问题数低于500"}, - {gte: 10, lte: 20, label: "问题数介于500-1000"}, - {gte: 30, label: "问题数高于1000"}, + { min: 0, max: 500, label: "问题数低于500" }, { min: 501, max: 1000, label: "问题数介于500-1000" }, { min: 1001, label: "问题数高于1000" }, ], right: 10, realtime: false, diff --git a/src/views/datav/MailVisits.vue b/src/views/datav/MailVisits.vue index ad56969..2ec425d 100644 --- a/src/views/datav/MailVisits.vue +++ b/src/views/datav/MailVisits.vue @@ -183,13 +183,7 @@ autoresize /> - - - + --> + + + + + +*/ \ No newline at end of file diff --git a/src/views/datav/RightsComfort.vue b/src/views/datav/RightsComfort.vue index 15a1220..a9f0860 100644 --- a/src/views/datav/RightsComfort.vue +++ b/src/views/datav/RightsComfort.vue @@ -1,146 +1,137 @@ + \ No newline at end of file