|
@@ -177,75 +177,135 @@
|
|
|
:show-summary="true"
|
|
|
>
|
|
|
<el-table-column
|
|
|
- prop="a1"
|
|
|
+ prop="fd"
|
|
|
label="日期"
|
|
|
>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="中转行李流向">
|
|
|
- <el-table-column label="D-D">
|
|
|
+ <el-table-column label="D-D" v-if="DD">
|
|
|
<el-table-column
|
|
|
- prop="a2"
|
|
|
- label="转出"
|
|
|
+ prop="need_trans_flight_dd"
|
|
|
+ label="进港中转航班数"
|
|
|
>
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
- prop="a3"
|
|
|
- label="未转出"
|
|
|
+ prop="finish_trans_flight_dd"
|
|
|
+ label="中转出航班数"
|
|
|
>
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
- prop="a4"
|
|
|
+ prop="need_trans_bag_dd"
|
|
|
+ label="须中转行李数"
|
|
|
+ >
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ prop="finish_trans_bag_dd"
|
|
|
+ label="完成中转行李数"
|
|
|
+ >
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ prop="not_trans_bag_dd"
|
|
|
+ label="未中转行李数"
|
|
|
+ >
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ prop="Transferout_dd"
|
|
|
label="转出成功率"
|
|
|
>
|
|
|
</el-table-column>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="D-I">
|
|
|
+ <el-table-column label="D-I" v-if="DI">
|
|
|
<el-table-column
|
|
|
- prop="a5"
|
|
|
- label="转出"
|
|
|
+ prop="need_trans_flight_di"
|
|
|
+ label="进港中转航班数"
|
|
|
>
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
- prop="a6"
|
|
|
- label="未转出"
|
|
|
+ prop="finish_trans_flight_di"
|
|
|
+ label="中转出航班数"
|
|
|
>
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
- prop="a7"
|
|
|
+ prop="need_trans_bag_di"
|
|
|
+ label="须中转行李数"
|
|
|
+ >
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ prop="finish_trans_bag_di"
|
|
|
+ label="完成中转行李数"
|
|
|
+ >
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ prop="not_trans_bag_di"
|
|
|
+ label="未中转行李数"
|
|
|
+ >
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ prop="Transferout_di"
|
|
|
label="转出成功率"
|
|
|
>
|
|
|
</el-table-column>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="I-I">
|
|
|
+ <el-table-column label="I-I" v-if="II">
|
|
|
<el-table-column
|
|
|
- prop="a8"
|
|
|
- label="转出"
|
|
|
+ prop="need_trans_flight_ii"
|
|
|
+ label="进港中转航班数"
|
|
|
>
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
- prop="a9"
|
|
|
- label="未转出"
|
|
|
+ prop="finish_trans_flight_ii"
|
|
|
+ label="中转出航班数"
|
|
|
>
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
- prop="a10"
|
|
|
+ prop="need_trans_bag_ii"
|
|
|
+ label="须中转行李数"
|
|
|
+ >
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ prop="finish_trans_bag_ii"
|
|
|
+ label="完成中转行李数"
|
|
|
+ >
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ prop="not_trans_bag_ii"
|
|
|
+ label="未中转行李数"
|
|
|
+ >
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ prop="Transferout_ii"
|
|
|
label="转出成功率"
|
|
|
>
|
|
|
</el-table-column>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="I-D">
|
|
|
+ <el-table-column label="I-D" v-if="ID">
|
|
|
<el-table-column
|
|
|
- prop="a11"
|
|
|
- label="转出"
|
|
|
+ prop="need_trans_flight_id"
|
|
|
+ label="进港中转航班数"
|
|
|
>
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
- prop="a12"
|
|
|
- label="未转出"
|
|
|
+ prop="finish_trans_flight_id"
|
|
|
+ label="中转出航班数"
|
|
|
>
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
- prop="a13"
|
|
|
+ prop="need_trans_bag_id"
|
|
|
+ label="须中转行李数"
|
|
|
+ >
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ prop="finish_trans_bag_id"
|
|
|
+ label="完成中转行李数"
|
|
|
+ >
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ prop="not_trans_bag_id"
|
|
|
+ label="未中转行李数"
|
|
|
+ >
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ prop="Transferout_id"
|
|
|
label="转出成功率"
|
|
|
>
|
|
|
</el-table-column>
|
|
@@ -253,21 +313,26 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
prop="a14"
|
|
|
- label="进港中转航班数"
|
|
|
+ label="中转出航班数总数"
|
|
|
>
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
prop="a15"
|
|
|
- label="中转总件数"
|
|
|
+ label="中转出航班数总数"
|
|
|
>
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
prop="a16"
|
|
|
- label="未转出总件数"
|
|
|
+ label="须中转行李数总数"
|
|
|
>
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
prop="a17"
|
|
|
+ label="完成中转行李数总数"
|
|
|
+ >
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ prop="a18"
|
|
|
label="转出成功率"
|
|
|
>
|
|
|
</el-table-column>
|
|
@@ -968,6 +1033,10 @@ export default {
|
|
|
type: Array,
|
|
|
default: () => [],
|
|
|
},
|
|
|
+ textShow: {
|
|
|
+ type: Array,
|
|
|
+ default: () => [],
|
|
|
+ }
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
@@ -987,6 +1056,10 @@ export default {
|
|
|
// cp: "96.56%",
|
|
|
// },
|
|
|
],
|
|
|
+ DD: true,
|
|
|
+ DI: true,
|
|
|
+ II: true,
|
|
|
+ ID: true,
|
|
|
}
|
|
|
},
|
|
|
components: {
|
|
@@ -1006,6 +1079,32 @@ export default {
|
|
|
this.downFile()
|
|
|
},
|
|
|
},
|
|
|
+ textShow: {
|
|
|
+ handler(val) {
|
|
|
+ if (val.length === 0) {
|
|
|
+ this.DD = true
|
|
|
+ this.DI = true
|
|
|
+ this.II = true
|
|
|
+ this.ID = true
|
|
|
+ } else {
|
|
|
+ this.DD = false
|
|
|
+ this.DI = false
|
|
|
+ this.II = false
|
|
|
+ this.ID = false
|
|
|
+ val.forEach(element => {
|
|
|
+ if (element === 'D-D') {
|
|
|
+ this.DD = true
|
|
|
+ } else if (element === 'D-I') {
|
|
|
+ this.DI = true
|
|
|
+ } else if (element === 'I-I') {
|
|
|
+ this.II = true
|
|
|
+ } else if (element === 'I-D') {
|
|
|
+ this.ID = true
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
+ },
|
|
|
+ },
|
|
|
},
|
|
|
computed: {
|
|
|
dataTableContentStyle() {
|
|
@@ -1028,7 +1127,7 @@ export default {
|
|
|
try {
|
|
|
this.loading = true
|
|
|
const { code, returnData } = await TempQuery({
|
|
|
- id: this.dataId,
|
|
|
+ id: Number(this.dataId),
|
|
|
dataContent: this.dataContent,
|
|
|
})
|
|
|
if (code == 0) {
|
|
@@ -1094,6 +1193,20 @@ export default {
|
|
|
this.tableCols = returnData.columnSet
|
|
|
this.serviceId = returnData.submitID
|
|
|
this.loading = false
|
|
|
+ if(this.upid == 4){
|
|
|
+ this.tableData.forEach(element => {
|
|
|
+ element.Transferout_dd = (element.finish_trans_bag_dd * 100 / element.need_trans_bag_dd).toFixed(2) + '%'
|
|
|
+ element.Transferout_di = (element.finish_trans_bag_di * 100 / element.need_trans_bag_di).toFixed(2) + '%'
|
|
|
+ element.Transferout_ii = (element.finish_trans_bag_ii * 100 / element.need_trans_bag_ii).toFixed(2) + '%'
|
|
|
+ element.Transferout_id = (element.finish_trans_bag_id * 100 / element.need_trans_bag_id).toFixed(2) + '%'
|
|
|
+ element.a14 = element.need_trans_flight_dd + element.need_trans_flight_di + element.need_trans_flight_ii + element.need_trans_flight_id
|
|
|
+ element.a15 = element.finish_trans_flight_dd + element.finish_trans_flight_di + element.finish_trans_flight_ii + element.finish_trans_flight_id
|
|
|
+ element.a16 = element.need_trans_bag_dd + element.need_trans_bag_di + element.need_trans_bag_ii + element.need_trans_bag_id
|
|
|
+ element.a17 = element.finish_trans_bag_dd + element.finish_trans_bag_di + element.finish_trans_bag_ii + element.finish_trans_bag_id
|
|
|
+ element.a18 = (element.a17 * 100 / element.a16).toFixed(2) + '%'
|
|
|
+ });
|
|
|
+ }
|
|
|
+ console.log()
|
|
|
// setTimeout(() => {
|
|
|
// this.initTableData();
|
|
|
// this.loading = false;
|