|
@@ -2506,10 +2506,27 @@ export default {
|
|
|
time_equal_flight == "/" ? 0 : time_equal_flight
|
|
|
);
|
|
|
});
|
|
|
- sums[2] = ((allhavenotNum / allflightNum) * 100).toFixed(2) + "%";
|
|
|
- sums[4] = ((allhaveNum / allflightNum) * 100).toFixed(2) + "%";
|
|
|
- sums[6] = ((allinversionNum / allflightNum) * 100).toFixed(2) + "%";
|
|
|
- sums[8] = ((allequalNum / allflightNum) * 100).toFixed(2) + "%";
|
|
|
+ if (this.searchParams.typeName === "国内出港") {
|
|
|
+ sums[2] = ((allhavenotNum / allflightNum) * 100).toFixed(2) + "%";
|
|
|
+ sums[4] = ((allhaveNum / allflightNum) * 100).toFixed(2) + "%";
|
|
|
+ sums[8] = ((allinversionNum / allflightNum) * 100).toFixed(2) + "%";
|
|
|
+ sums[10] = ((allequalNum / allflightNum) * 100).toFixed(2) + "%";
|
|
|
+ } else if (this.searchParams.typeName === "国际出港") {
|
|
|
+ sums[2] = ((allhavenotNum / allflightNum) * 100).toFixed(2) + "%";
|
|
|
+ sums[4] = ((allhaveNum / allflightNum) * 100).toFixed(2) + "%";
|
|
|
+ sums[7] = ((allinversionNum / allflightNum) * 100).toFixed(2) + "%";
|
|
|
+ sums[9] = ((allequalNum / allflightNum) * 100).toFixed(2) + "%";
|
|
|
+ } else if (this.searchParams.typeName === "国内进港") {
|
|
|
+ sums[2] = ((allhavenotNum / allflightNum) * 100).toFixed(2) + "%";
|
|
|
+ sums[4] = ((allhaveNum / allflightNum) * 100).toFixed(2) + "%";
|
|
|
+ sums[9] = ((allinversionNum / allflightNum) * 100).toFixed(2) + "%";
|
|
|
+ sums[11] = ((allequalNum / allflightNum) * 100).toFixed(2) + "%";
|
|
|
+ } else if (this.searchParams.typeName === "国际进港") {
|
|
|
+ sums[2] = ((allhavenotNum / allflightNum) * 100).toFixed(2) + "%";
|
|
|
+ sums[4] = ((allhaveNum / allflightNum) * 100).toFixed(2) + "%";
|
|
|
+ sums[8] = ((allinversionNum / allflightNum) * 100).toFixed(2) + "%";
|
|
|
+ sums[10] = ((allequalNum / allflightNum) * 100).toFixed(2) + "%";
|
|
|
+ }
|
|
|
} else if (this.action === 17) {
|
|
|
let [
|
|
|
allflightNum,
|
|
@@ -2538,10 +2555,27 @@ export default {
|
|
|
time_equal_stock == "/" ? 0 : time_equal_stock
|
|
|
);
|
|
|
});
|
|
|
- sums[2] = ((allhavenotNum / allflightNum) * 100).toFixed(2) + "%";
|
|
|
- sums[4] = ((allhaveNum / allflightNum) * 100).toFixed(2) + "%";
|
|
|
- sums[6] = ((allinversionNum / allflightNum) * 100).toFixed(2) + "%";
|
|
|
- sums[8] = ((allequalNum / allflightNum) * 100).toFixed(2) + "%";
|
|
|
+ if (this.searchParams.typeName === "国内出港") {
|
|
|
+ sums[2] = ((allhavenotNum / allflightNum) * 100).toFixed(2) + "%";
|
|
|
+ sums[4] = ((allhaveNum / allflightNum) * 100).toFixed(2) + "%";
|
|
|
+ sums[8] = ((allinversionNum / allflightNum) * 100).toFixed(2) + "%";
|
|
|
+ sums[10] = ((allequalNum / allflightNum) * 100).toFixed(2) + "%";
|
|
|
+ } else if (this.searchParams.typeName === "国际出港") {
|
|
|
+ sums[2] = ((allhavenotNum / allflightNum) * 100).toFixed(2) + "%";
|
|
|
+ sums[4] = ((allhaveNum / allflightNum) * 100).toFixed(2) + "%";
|
|
|
+ sums[7] = ((allinversionNum / allflightNum) * 100).toFixed(2) + "%";
|
|
|
+ sums[9] = ((allequalNum / allflightNum) * 100).toFixed(2) + "%";
|
|
|
+ } else if (this.searchParams.typeName === "国内进港") {
|
|
|
+ sums[2] = ((allhavenotNum / allflightNum) * 100).toFixed(2) + "%";
|
|
|
+ sums[4] = ((allhaveNum / allflightNum) * 100).toFixed(2) + "%";
|
|
|
+ sums[8] = ((allinversionNum / allflightNum) * 100).toFixed(2) + "%";
|
|
|
+ sums[10] = ((allequalNum / allflightNum) * 100).toFixed(2) + "%";
|
|
|
+ } else if (this.searchParams.typeName === "国际进港") {
|
|
|
+ sums[2] = ((allhavenotNum / allflightNum) * 100).toFixed(2) + "%";
|
|
|
+ sums[4] = ((allhaveNum / allflightNum) * 100).toFixed(2) + "%";
|
|
|
+ sums[7] = ((allinversionNum / allflightNum) * 100).toFixed(2) + "%";
|
|
|
+ sums[9] = ((allequalNum / allflightNum) * 100).toFixed(2) + "%";
|
|
|
+ }
|
|
|
} else if (this.action === 18) {
|
|
|
let [
|
|
|
allflightNum1,
|
|
@@ -2593,10 +2627,31 @@ export default {
|
|
|
time_equal_stock == "/" ? 0 : time_equal_stock
|
|
|
);
|
|
|
});
|
|
|
- sums[5] = ((allhavenotNum1 / allflightNum1) * 100).toFixed(2) + "%";
|
|
|
- sums[7] = ((allhaveNum1 / allflightNum1) * 100).toFixed(2) + "%";
|
|
|
- sums[9] = ((allinversionNum1 / allflightNum1) * 100).toFixed(2) + "%";
|
|
|
- sums[11] = ((allequalNum1 / allflightNum1) * 100).toFixed(2) + "%";
|
|
|
+ if (this.searchParams.typeName === "国内出港") {
|
|
|
+ sums[5] = ((allhavenotNum1 / allflightNum1) * 100).toFixed(2) + "%";
|
|
|
+ sums[7] = ((allhaveNum1 / allflightNum1) * 100).toFixed(2) + "%";
|
|
|
+ sums[11] =
|
|
|
+ ((allinversionNum1 / allflightNum1) * 100).toFixed(2) + "%";
|
|
|
+ sums[13] = ((allequalNum1 / allflightNum1) * 100).toFixed(2) + "%";
|
|
|
+ } else if (this.searchParams.typeName === "国际出港") {
|
|
|
+ sums[5] = ((allhavenotNum1 / allflightNum1) * 100).toFixed(2) + "%";
|
|
|
+ sums[7] = ((allhaveNum1 / allflightNum1) * 100).toFixed(2) + "%";
|
|
|
+ sums[10] =
|
|
|
+ ((allinversionNum1 / allflightNum1) * 100).toFixed(2) + "%";
|
|
|
+ sums[12] = ((allequalNum1 / allflightNum1) * 100).toFixed(2) + "%";
|
|
|
+ } else if (this.searchParams.typeName === "国内进港") {
|
|
|
+ sums[5] = ((allhavenotNum1 / allflightNum1) * 100).toFixed(2) + "%";
|
|
|
+ sums[7] = ((allhaveNum1 / allflightNum1) * 100).toFixed(2) + "%";
|
|
|
+ sums[12] =
|
|
|
+ ((allinversionNum1 / allflightNum1) * 100).toFixed(2) + "%";
|
|
|
+ sums[14] = ((allequalNum1 / allflightNum1) * 100).toFixed(2) + "%";
|
|
|
+ } else if (this.searchParams.typeName === "国际进港") {
|
|
|
+ sums[5] = ((allhavenotNum1 / allflightNum1) * 100).toFixed(2) + "%";
|
|
|
+ sums[7] = ((allhaveNum1 / allflightNum1) * 100).toFixed(2) + "%";
|
|
|
+ sums[11] =
|
|
|
+ ((allinversionNum1 / allflightNum1) * 100).toFixed(2) + "%";
|
|
|
+ sums[13] = ((allequalNum1 / allflightNum1) * 100).toFixed(2) + "%";
|
|
|
+ }
|
|
|
} else if (this.action === 20) {
|
|
|
let [
|
|
|
allflightNum1,
|
|
@@ -2648,10 +2703,31 @@ export default {
|
|
|
time_equal_stock == "/" ? 0 : time_equal_stock
|
|
|
);
|
|
|
});
|
|
|
- sums[5] = ((allhavenotNum2 / allflightNum2) * 100).toFixed(2) + "%";
|
|
|
- sums[7] = ((allhaveNum2 / allflightNum2) * 100).toFixed(2) + "%";
|
|
|
- sums[9] = ((allinversionNum2 / allflightNum2) * 100).toFixed(2) + "%";
|
|
|
- sums[11] = ((allequalNum2 / allflightNum2) * 100).toFixed(2) + "%";
|
|
|
+ if (this.searchParams.typeName === "国内出港") {
|
|
|
+ sums[5] = ((allhavenotNum2 / allflightNum2) * 100).toFixed(2) + "%";
|
|
|
+ sums[7] = ((allhaveNum2 / allflightNum2) * 100).toFixed(2) + "%";
|
|
|
+ sums[11] =
|
|
|
+ ((allinversionNum2 / allflightNum2) * 100).toFixed(2) + "%";
|
|
|
+ sums[13] = ((allequalNum2 / allflightNum2) * 100).toFixed(2) + "%";
|
|
|
+ } else if (this.searchParams.typeName === "国际出港") {
|
|
|
+ sums[5] = ((allhavenotNum2 / allflightNum2) * 100).toFixed(2) + "%";
|
|
|
+ sums[7] = ((allhaveNum2 / allflightNum2) * 100).toFixed(2) + "%";
|
|
|
+ sums[10] =
|
|
|
+ ((allinversionNum2 / allflightNum2) * 100).toFixed(2) + "%";
|
|
|
+ sums[12] = ((allequalNum2 / allflightNum2) * 100).toFixed(2) + "%";
|
|
|
+ } else if (this.searchParams.typeName === "国内进港") {
|
|
|
+ sums[5] = ((allhavenotNum2 / allflightNum2) * 100).toFixed(2) + "%";
|
|
|
+ sums[7] = ((allhaveNum2 / allflightNum2) * 100).toFixed(2) + "%";
|
|
|
+ sums[11] =
|
|
|
+ ((allinversionNum2 / allflightNum2) * 100).toFixed(2) + "%";
|
|
|
+ sums[13] = ((allequalNum2 / allflightNum2) * 100).toFixed(2) + "%";
|
|
|
+ } else if (this.searchParams.typeName === "国际进港") {
|
|
|
+ sums[5] = ((allhavenotNum2 / allflightNum2) * 100).toFixed(2) + "%";
|
|
|
+ sums[7] = ((allhaveNum2 / allflightNum2) * 100).toFixed(2) + "%";
|
|
|
+ sums[10] =
|
|
|
+ ((allinversionNum2 / allflightNum2) * 100).toFixed(2) + "%";
|
|
|
+ sums[12] = ((allequalNum2 / allflightNum2) * 100).toFixed(2) + "%";
|
|
|
+ }
|
|
|
}
|
|
|
});
|
|
|
return sums;
|