Преглед изворни кода

feat: 运行数据图表联调

lixiangrui пре 3 недеља
родитељ
комит
19f28d857e

+ 2 - 2
src/api/portraitManagement/portraitManagement.js

@@ -57,9 +57,9 @@ export function countStationHourlyThroughput(data) {
57
 export function countSeizureInfoItem(data) {
57
 export function countSeizureInfoItem(data) {
58
     return request({ url: '/ledger/seizureStats/countSeizureInfoItem', method: 'post', data })
58
     return request({ url: '/ledger/seizureStats/countSeizureInfoItem', method: 'post', data })
59
 }
59
 }
60
-// 4.查获物品分布
60
+// 4.查获物品分布 
61
 export function countSeizeSubjectCategoryQuantity(data) {
61
 export function countSeizeSubjectCategoryQuantity(data) {
62
-    return request({ url: '/ledger/seizureStats/countSeizeSubjectCategoryQuantity', method: 'post', data })
62
+    return request({ url: '/ledger/seizureStats/countSeizeSubjectItemQuantity', method: 'post', data })
63
 }
63
 }
64
 // 5.近30天查获数量(总表)
64
 // 5.近30天查获数量(总表)
65
 export function countSeizureTotalQuantity(data) {
65
 export function countSeizureTotalQuantity(data) {

+ 3 - 4
src/views/portraitManagement/components/ChannelCheckChart.vue

@@ -20,7 +20,7 @@ const setChartsOptionsBar = computed(() => {
20
     grid: {
20
     grid: {
21
       top: 40,
21
       top: 40,
22
       bottom: 40,
22
       bottom: 40,
23
-      left: 60,
23
+      left: 30,
24
       right: 60
24
       right: 60
25
     },
25
     },
26
     xAxis: {
26
     xAxis: {
@@ -32,9 +32,8 @@ const setChartsOptionsBar = computed(() => {
32
     yAxis: [
32
     yAxis: [
33
       {
33
       {
34
         type: 'value',
34
         type: 'value',
35
-        name: '过检率(%)',
36
-        position: 'left',
37
-        max: 100,
35
+        name: '过检率(人/小时)',
36
+        position: 'right',
38
         axisLabel: { color: '#fff', fontSize: 14 },
37
         axisLabel: { color: '#fff', fontSize: 14 },
39
         axisLine: {  lineStyle: { color: '#fff' } },
38
         axisLine: {  lineStyle: { color: '#fff' } },
40
         splitLine: { lineStyle: { color: '#344067' } }
39
         splitLine: { lineStyle: { color: '#344067' } }