|
|
|
@ -187,9 +187,10 @@ export default {
|
|
|
|
|
initfxfqs() {
|
|
|
|
|
let myChart = echarts.init(document.getElementById("fxfqs"));
|
|
|
|
|
// const colors = ['#40E2CA', '#E2B171', '#EE6666'];
|
|
|
|
|
let yczData = this.fangyiList.transportation.map((item) => {
|
|
|
|
|
console.log(this.fangyiList.transportationNew, 'this.fangyiList.transportationNew');
|
|
|
|
|
let yczData = this.fangyiList.transportationNew.map((item) => {
|
|
|
|
|
return {
|
|
|
|
|
value: item.numValue, itemStyle: {
|
|
|
|
|
value: item.sumNumValue, itemStyle: {
|
|
|
|
|
color: {
|
|
|
|
|
type: 'linear',
|
|
|
|
|
x: 0,
|
|
|
|
@ -206,8 +207,8 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
let dateData = this.fangyiList.transportation.map((item) => {
|
|
|
|
|
return item.safeRuleName
|
|
|
|
|
let dateData = this.fangyiList.transportationNew.map((item) => {
|
|
|
|
|
return item.levelIndexTwo
|
|
|
|
|
})
|
|
|
|
|
let option = {
|
|
|
|
|
xAxis: [
|
|
|
|
|