修改部门数顺序

This commit is contained in:
a0049873 2022-10-13 17:24:20 +08:00
parent cfe88605cc
commit 2a05650b26
1 changed files with 7 additions and 0 deletions

View File

@ -342,6 +342,7 @@
} }
}) })
console.log('============》', dataList) console.log('============》', dataList)
dataList = dataList.reverse()
echarts.init(document.getElementById('right')).dispose() echarts.init(document.getElementById('right')).dispose()
let chartDom = document.getElementById('right') let chartDom = document.getElementById('right')
let myChart = echarts.init(chartDom) let myChart = echarts.init(chartDom)
@ -459,6 +460,7 @@
{ {
name: '', name: '',
type: 'bar', type: 'bar',
barWidth: 35,
barGap: '-100%', barGap: '-100%',
itemStyle: { itemStyle: {
normal: { normal: {
@ -471,6 +473,7 @@
{ {
name: '', name: '',
type: 'bar', type: 'bar',
barWidth: 35,
barGap: '-100%', barGap: '-100%',
itemStyle: { itemStyle: {
normal: { normal: {
@ -483,6 +486,7 @@
{ {
name: '', name: '',
type: 'bar', type: 'bar',
barWidth: 35,
barGap: '-100%', barGap: '-100%',
itemStyle: { itemStyle: {
normal: { normal: {
@ -495,6 +499,7 @@
{ {
name: '', name: '',
type: 'bar', type: 'bar',
barWidth: 35,
barGap: '-100%', barGap: '-100%',
itemStyle: { itemStyle: {
normal: { normal: {
@ -507,6 +512,7 @@
{ {
name: '', name: '',
type: 'bar', type: 'bar',
barWidth: 35,
barGap: '-100%', barGap: '-100%',
itemStyle: { itemStyle: {
normal: { normal: {
@ -519,6 +525,7 @@
{ {
name: '', name: '',
type: 'bar', type: 'bar',
barWidth: 35,
barGap: '-100%', barGap: '-100%',
itemStyle: { itemStyle: {
normal: { normal: {