看板
Showing
2 changed files
with
17 additions
and
4 deletions
| ... | @@ -25,7 +25,9 @@ import {useRouter} from 'vue-router' | ... | @@ -25,7 +25,9 @@ import {useRouter} from 'vue-router' |
| 25 | 25 | ||
| 26 | const type = ref('是') | 26 | const type = ref('是') |
| 27 | const url = ref() | 27 | const url = ref() |
| 28 | const obj = ref({}) | 28 | const obj = ref({ |
| 29 | IFBASE: '是' | ||
| 30 | }) | ||
| 29 | const result = ref() | 31 | const result = ref() |
| 30 | const router = useRouter() | 32 | const router = useRouter() |
| 31 | // url.value = 'http://192.168.1.152:8899/login/sid=36487a35-4354-421a-b0d8-4a430f88b7fa#/' | 33 | // url.value = 'http://192.168.1.152:8899/login/sid=36487a35-4354-421a-b0d8-4a430f88b7fa#/' | ... | ... |
| ... | @@ -528,6 +528,8 @@ const setA = (arrY, arr1, arr2, arr3, markLineName, BC) => { | ... | @@ -528,6 +528,8 @@ const setA = (arrY, arr1, arr2, arr3, markLineName, BC) => { |
| 528 | type: 'bar', | 528 | type: 'bar', |
| 529 | datasetIndex: 1, | 529 | datasetIndex: 1, |
| 530 | barGap: 0, | 530 | barGap: 0, |
| 531 | barMaxWidth: 60, // 设置柱子的最大宽度为40px | ||
| 532 | |||
| 531 | label: { | 533 | label: { |
| 532 | show: false, | 534 | show: false, |
| 533 | position: 'right', | 535 | position: 'right', |
| ... | @@ -559,6 +561,8 @@ const setA = (arrY, arr1, arr2, arr3, markLineName, BC) => { | ... | @@ -559,6 +561,8 @@ const setA = (arrY, arr1, arr2, arr3, markLineName, BC) => { |
| 559 | { | 561 | { |
| 560 | name: '执行金额', | 562 | name: '执行金额', |
| 561 | type: 'bar', | 563 | type: 'bar', |
| 564 | barMaxWidth: 60, // 设置柱子的最大宽度为40px | ||
| 565 | |||
| 562 | label: { | 566 | label: { |
| 563 | show: true, | 567 | show: true, |
| 564 | position: 'right', | 568 | position: 'right', |
| ... | @@ -702,6 +706,8 @@ const setB = (arrY, arr1, arr2) => { | ... | @@ -702,6 +706,8 @@ const setB = (arrY, arr1, arr2) => { |
| 702 | label: { | 706 | label: { |
| 703 | show: false | 707 | show: false |
| 704 | }, | 708 | }, |
| 709 | barMaxWidth: 60, // 设置柱子的最大宽度为40px | ||
| 710 | |||
| 705 | itemStyle: { | 711 | itemStyle: { |
| 706 | // 设置柱状图顶部圆角(半圆形) | 712 | // 设置柱状图顶部圆角(半圆形) |
| 707 | borderRadius: [0, 10, 10, 0] // 顺时针方向:左上、右上、右下、左下 | 713 | borderRadius: [0, 10, 10, 0] // 顺时针方向:左上、右上、右下、左下 |
| ... | @@ -916,10 +922,12 @@ const setC = (arry, arr1, arr2, arr3) => { | ... | @@ -916,10 +922,12 @@ const setC = (arry, arr1, arr2, arr3) => { |
| 916 | name: '0-180天未开票', | 922 | name: '0-180天未开票', |
| 917 | type: 'bar', | 923 | type: 'bar', |
| 918 | stack: 'Ad', | 924 | stack: 'Ad', |
| 925 | barMaxWidth: 60, // 设置柱子的最大宽度为40px | ||
| 926 | |||
| 919 | emphasis: { | 927 | emphasis: { |
| 920 | focus: 'series' | 928 | focus: 'series' |
| 921 | }, | 929 | }, |
| 922 | // data: [320, 332, 301, 334, 390, 330, 320, 320, 332, 301, 334, 390], | 930 | // data: [320, 332,], |
| 923 | data: arr1, | 931 | data: arr1, |
| 924 | itemStyle: { | 932 | itemStyle: { |
| 925 | color: { | 933 | color: { |
| ... | @@ -936,11 +944,12 @@ const setC = (arry, arr1, arr2, arr3) => { | ... | @@ -936,11 +944,12 @@ const setC = (arry, arr1, arr2, arr3) => { |
| 936 | { | 944 | { |
| 937 | name: '180-360天未开票', | 945 | name: '180-360天未开票', |
| 938 | type: 'bar', | 946 | type: 'bar', |
| 947 | barMaxWidth: 60, // 设置柱子的最大宽度为40px | ||
| 939 | stack: 'Ad', | 948 | stack: 'Ad', |
| 940 | emphasis: { | 949 | emphasis: { |
| 941 | focus: 'series' | 950 | focus: 'series' |
| 942 | }, | 951 | }, |
| 943 | // data: [120, 132, 101, 134, 90, 230, 210, 101, 134, 90, 230, 210], | 952 | // data: [120, 132,], |
| 944 | data: arr2, | 953 | data: arr2, |
| 945 | itemStyle: { | 954 | itemStyle: { |
| 946 | color: { | 955 | color: { |
| ... | @@ -958,10 +967,12 @@ const setC = (arry, arr1, arr2, arr3) => { | ... | @@ -958,10 +967,12 @@ const setC = (arry, arr1, arr2, arr3) => { |
| 958 | name: '逾期360天以上', | 967 | name: '逾期360天以上', |
| 959 | type: 'bar', | 968 | type: 'bar', |
| 960 | stack: 'Ad', | 969 | stack: 'Ad', |
| 970 | barMaxWidth: 60, // 设置柱子的最大宽度为40px | ||
| 971 | |||
| 961 | emphasis: { | 972 | emphasis: { |
| 962 | focus: 'series' | 973 | focus: 'series' |
| 963 | }, | 974 | }, |
| 964 | // data: [220, 182, 191, 234, 290, 330, 310, 220, 182, 191, 234, 290,], | 975 | // data: [220, 182,], |
| 965 | data: arr3, | 976 | data: arr3, |
| 966 | itemStyle: { | 977 | itemStyle: { |
| 967 | color: { | 978 | color: { | ... | ... |
-
Please register or sign in to post a comment