|
@@ -248,12 +248,12 @@ const optionLeft = {
|
|
|
tooltip: {
|
|
|
trigger: "axis",
|
|
|
},
|
|
|
- // legend: {
|
|
|
- // data: ['运输总数', '托运旅客数'],
|
|
|
- // show: true,
|
|
|
- // top: 0,
|
|
|
- // icon: 'roundRect'
|
|
|
- // },
|
|
|
+ legend: {
|
|
|
+ show: true,
|
|
|
+ top: 0,
|
|
|
+ left:'30%',
|
|
|
+ icon: 'roundRect'
|
|
|
+ },
|
|
|
grid: {
|
|
|
left: "0%",
|
|
|
right: "5%",
|
|
@@ -265,7 +265,7 @@ const optionLeft = {
|
|
|
xAxis: {
|
|
|
type: "category",
|
|
|
boundaryGap: true,
|
|
|
- data: ["2021.12", "2022.01", "2022.02", "2022.03", "2022.04", "2022.05"],
|
|
|
+ data: ["0:00", "2:00", "4:00", "6:00", "8:00", "10:00", "12:00", "14:00", "16:00", "18:00", "20:00", "22:00"],
|
|
|
axisLine: {
|
|
|
show: true,
|
|
|
lineStyle: {
|
|
@@ -294,6 +294,7 @@ const optionLeft = {
|
|
|
color: "rgba(196,194,225, 0.54)",
|
|
|
},
|
|
|
},
|
|
|
+ name:"单"
|
|
|
},
|
|
|
{
|
|
|
type: "value",
|
|
@@ -306,16 +307,17 @@ const optionLeft = {
|
|
|
color: "rgba(196,194,225, 0.54)",
|
|
|
},
|
|
|
},
|
|
|
+ name:"吨"
|
|
|
},
|
|
|
],
|
|
|
series: [
|
|
|
{
|
|
|
- name: "运单/件",
|
|
|
+ name: "运单/单",
|
|
|
type: "line",
|
|
|
symbol: "none",
|
|
|
key: "bagsnum",
|
|
|
yAxisIndex: 0,
|
|
|
- data: [120, 132, 101, 134, 90, 230, 210],
|
|
|
+ data: [120, 132, 101, 134, 90, 230, 210,132, 101, 134, 90, 230],
|
|
|
areaStyle: {
|
|
|
color: {
|
|
|
type: "linear",
|
|
@@ -343,7 +345,7 @@ const optionLeft = {
|
|
|
symbol: "none",
|
|
|
yAxisIndex: 1,
|
|
|
key: "passengers",
|
|
|
- data: [220, 182, 191, 234, 290, 330, 310],
|
|
|
+ data: [220, 182, 191, 234, 290, 330, 310, 132, 101, 134, 90, 230],
|
|
|
areaStyle: {
|
|
|
color: {
|
|
|
type: "linear",
|
|
@@ -372,6 +374,12 @@ const airlineAbnormalBaggage = ref({
|
|
|
component: "commonChartsBar",
|
|
|
option: {
|
|
|
baseOption: {
|
|
|
+ tooltip: {
|
|
|
+ trigger: "axis",
|
|
|
+ valueFormatter:function(value){
|
|
|
+ return value +"单"
|
|
|
+ }
|
|
|
+ },
|
|
|
legend: {
|
|
|
data: ["报警", "预警"],
|
|
|
right: "20",
|
|
@@ -434,8 +442,11 @@ const airCompaneBaggage = ref({
|
|
|
component: "commonChartsBar",
|
|
|
option: {
|
|
|
baseOption: {
|
|
|
+ tooltip: {
|
|
|
+ trigger: "axis",
|
|
|
+ },
|
|
|
legend: {
|
|
|
- data: ["2020年", "2021年"],
|
|
|
+ data: ["运单/单", "重量/吨"],
|
|
|
right: "20",
|
|
|
textStyle: {
|
|
|
color: "#8897BC",
|
|
@@ -477,12 +488,13 @@ const airCompaneBaggage = ref({
|
|
|
},
|
|
|
series: [
|
|
|
{
|
|
|
- name: "2020年",
|
|
|
+ name: "运单/单",
|
|
|
type: "bar",
|
|
|
data: [12, 10, 15, 11, 16, 4, 6],
|
|
|
+
|
|
|
},
|
|
|
{
|
|
|
- name: "2021年",
|
|
|
+ name: "重量/吨",
|
|
|
type: "bar",
|
|
|
data: [11, 15, 17, 8, 1, 4, 6],
|
|
|
},
|
|
@@ -503,6 +515,12 @@ const airStutas = ref({
|
|
|
// }
|
|
|
// // top:"-10"
|
|
|
// },
|
|
|
+ tooltip: {
|
|
|
+ trigger: "axis",
|
|
|
+ valueFormatter:function(value){
|
|
|
+ return value +"单"
|
|
|
+ }
|
|
|
+ },
|
|
|
color: ["#51DEE9", "#4C88E1"],
|
|
|
grid: {
|
|
|
bottom: "10%",
|
|
@@ -550,6 +568,12 @@ const airStutas = ref({
|
|
|
const nodeEfficiency = ref({
|
|
|
component: "commonChartsLine",
|
|
|
option: {
|
|
|
+ tooltip: {
|
|
|
+ trigger: "axis",
|
|
|
+ valueFormatter:function(value){
|
|
|
+ return value +"秒"
|
|
|
+ }
|
|
|
+ },
|
|
|
legend: {
|
|
|
top: "1%",
|
|
|
right: "5%",
|
|
@@ -572,6 +596,19 @@ const nodeEfficiency = ref({
|
|
|
"卸机", "机下交接", "货站交接", "提取"
|
|
|
],
|
|
|
},
|
|
|
+ yAxis: {
|
|
|
+ type: "value",
|
|
|
+ axisLabel: {
|
|
|
+ color: "#8897BC",
|
|
|
+ },
|
|
|
+ splitLine: {
|
|
|
+ lineStyle: {
|
|
|
+ type: "dashed",
|
|
|
+ color: "rgba(196,194,225, 0.54)",
|
|
|
+ },
|
|
|
+ },
|
|
|
+ name:"单位:秒"
|
|
|
+ },
|
|
|
series: [
|
|
|
{
|
|
|
name: "平均时间",
|
|
@@ -595,7 +632,7 @@ const nodeEfficiency = ref({
|
|
|
opacity: 0,
|
|
|
},
|
|
|
data: [
|
|
|
- 4558, 770, 11745, 2699, 11205, 6497, 1544, 1555, 4181, 447, 60, 9804,
|
|
|
+ 4558, 770, 11745, 2699, 11205, 6497, 1544, 1555, 4181, 447, 60, 9804,
|
|
|
],
|
|
|
},
|
|
|
{
|
|
@@ -607,8 +644,7 @@ const nodeEfficiency = ref({
|
|
|
opacity: 0,
|
|
|
},
|
|
|
data: [
|
|
|
- 14240, 3190, 1699, 14446, 11349, 11182, 14829, 11740, 2418, 4824,
|
|
|
- 9707, 8126,
|
|
|
+ 14240, 3190, 1699, 14446, 11349, 11182, 14829, 11740, 2418, 4824, 9707, 8126,
|
|
|
],
|
|
|
},
|
|
|
],
|
|
@@ -624,6 +660,12 @@ const hours = Array.from({ length: 24 }, (v, i) => i + 1);
|
|
|
const hourPeak = ref({
|
|
|
component: "commonChartsScatter",
|
|
|
option: {
|
|
|
+ tooltip: {
|
|
|
+ trigger: "axis",
|
|
|
+ valueFormatter:function(value){
|
|
|
+ return value +"单"
|
|
|
+ }
|
|
|
+ },
|
|
|
title: node.map((month, index) => ({
|
|
|
top: ((index + 0.5) * 100) / 4 - 3 + "%",
|
|
|
text: month,
|