|
@@ -60,6 +60,8 @@
|
|
|
stripe
|
|
|
height="calc(100vh - 155px)"
|
|
|
style="width: 100%"
|
|
|
+ show-summary
|
|
|
+ :summary-method="summaryRow(tableData.length)"
|
|
|
>
|
|
|
<el-table-column
|
|
|
prop="FlightNO"
|
|
@@ -133,7 +135,7 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
label="激活"
|
|
|
- prop="activated"
|
|
|
+ prop="activated"
|
|
|
:filters="activatedItem"
|
|
|
:filter-method="filterHandler"
|
|
|
>
|
|
@@ -628,6 +630,20 @@ export default {
|
|
|
latestStatusItemArr = [],
|
|
|
bagLocationItemArr = [],
|
|
|
TransferFlightNOItemArr = []
|
|
|
+
|
|
|
+ this.PassengerNameUpcaseItem.length = 0
|
|
|
+ this.FlightNOItem.length = 0
|
|
|
+ this.FlightDateItem.length = 0
|
|
|
+ this.SourceAirportItem.length = 0
|
|
|
+ this.TargetAirportItem.length = 0
|
|
|
+ this.SpecialTypeItem.length = 0
|
|
|
+ this.checkInItem.length = 0
|
|
|
+ this.deletedItem.length = 0
|
|
|
+ this.activatedItem.length = 0
|
|
|
+ this.latestStatusItem.length = 0
|
|
|
+ this.bagLocationItem.length = 0
|
|
|
+ this.TransferFlightNOItem.length = 0
|
|
|
+
|
|
|
this.tableData.forEach(item => {
|
|
|
if (PassengerNameUpcaseItemArr.indexOf(item.PassengerNameUpcase) == -1 && item.PassengerNameUpcase != ''&& item.PassengerNameUpcase != null) {
|
|
|
PassengerNameUpcaseItemArr.push(item.PassengerNameUpcase)
|
|
@@ -716,6 +732,13 @@ export default {
|
|
|
})
|
|
|
}
|
|
|
})
|
|
|
+ },
|
|
|
+
|
|
|
+ // 统计行数
|
|
|
+ summaryRow(num) {
|
|
|
+ return function () {
|
|
|
+ return ['合计', `共${num}件`]
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
// //导航栏筛选开始
|