|
@@ -63,17 +63,17 @@
|
|
|
<div class="dashboard-content-top-center">
|
|
|
<div v-loading="loading4" element-loading-text="数据加载中..." element-loading-svg-view-box="-10, -10, 50, 50" element-loading-background="rgba(0,0,0, 0.3)" class="dashboard-content-top-center-top">
|
|
|
<div class="dashboard-content-top-center-top-list">
|
|
|
- <div class="dashboard-content-top-center-top-list-txt">重量</div>
|
|
|
- <div class="dashboard-content-top-center-top-list-num">{{ weightNums }}</div>
|
|
|
- </div>
|
|
|
- <div class="dashboard-content-top-center-top-list">
|
|
|
- <div class="dashboard-content-top-center-top-list-txt">航班数</div>
|
|
|
+ <div class="dashboard-content-top-center-top-list-txt">今日计划航班数</div>
|
|
|
<div class="dashboard-content-top-center-top-list-num">{{ flightNums }}</div>
|
|
|
</div>
|
|
|
<div class="dashboard-content-top-center-top-list">
|
|
|
- <div class="dashboard-content-top-center-top-list-txt">运单数</div>
|
|
|
+ <div class="dashboard-content-top-center-top-list-txt">已完成航班数</div>
|
|
|
<div class="dashboard-content-top-center-top-list-num">{{ stockNums }}</div>
|
|
|
</div>
|
|
|
+ <div class="dashboard-content-top-center-top-list">
|
|
|
+ <div class="dashboard-content-top-center-top-list-txt">已装载总量KG</div>
|
|
|
+ <div class="dashboard-content-top-center-top-list-num">{{ weightNums }}</div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<div v-loading="loading5" element-loading-text="数据加载中..." element-loading-svg-view-box="-10, -10, 50, 50" element-loading-background="rgba(0,0,0, 0.3)" class="dashboard-content-top-center-bottom">
|
|
|
<div class="dashboard-content-top-center-bottom-title">航班动态跟踪</div>
|
|
@@ -303,7 +303,7 @@ const hourlyPeakFunc = async () => {
|
|
|
{ flightDate1: dateNow.value.time, flightDate2: form.value.endDate },
|
|
|
])) as any;
|
|
|
if (listValues && isValue(listValues)) {
|
|
|
- hourlyPeakObj.value = pubFunc(listValues, optionLeft);
|
|
|
+ hourlyPeakObj.value = pubFunc(listValues, optionLeft, true);
|
|
|
}
|
|
|
loading1.value = false;
|
|
|
};
|
|
@@ -318,7 +318,7 @@ const waybillTrendFunc = async () => {
|
|
|
listValues.forEach((item) => {
|
|
|
item.jobTime = parseDate(item["jobTime"]);
|
|
|
});
|
|
|
- waybillTrendObj.value = pubFunc(listValues, optionLeft);
|
|
|
+ waybillTrendObj.value = pubFunc(listValues, optionLeft, true);
|
|
|
}
|
|
|
loading2.value = false;
|
|
|
};
|
|
@@ -349,10 +349,10 @@ const numbersFunc = async () => {
|
|
|
},
|
|
|
])) as any;
|
|
|
if (listValues && isValue(listValues)) {
|
|
|
- const { flightNum, stockNum, weight } = listValues[0];
|
|
|
- flightNums.value = flightNum;
|
|
|
- stockNums.value = stockNum;
|
|
|
- weightNums.value = weight;
|
|
|
+ const { flightNum, finishFlightNum, weight } = listValues[0];
|
|
|
+ flightNums.value = flightNum ?? 0;
|
|
|
+ stockNums.value = finishFlightNum ?? 0;
|
|
|
+ weightNums.value = weight ?? 0;
|
|
|
}
|
|
|
loading4.value = false;
|
|
|
};
|
|
@@ -425,7 +425,7 @@ const airlineFunc = async () => {
|
|
|
item.jobTime = NODE_CODE[item["nodeCode"]] ?? item["nodeCode"];
|
|
|
item.weight = item["flightNum"];
|
|
|
});
|
|
|
- airlineObj.value = pubFunc(listValues, newObj, true);
|
|
|
+ airlineObj.value = pubFunc(listValues, newObj);
|
|
|
}
|
|
|
loading7.value = false;
|
|
|
};
|
|
@@ -445,7 +445,7 @@ const pickingFuncs = async () => {
|
|
|
item.jobTime = parseDate(item["flightDate"]);
|
|
|
item.weight = item["flightNum"];
|
|
|
});
|
|
|
- pickingObj.value = pubFunc(listValues, newObj, true);
|
|
|
+ pickingObj.value = pubFunc(listValues, newObj);
|
|
|
}
|
|
|
loading8.value = false;
|
|
|
};
|