|
@@ -12,13 +12,13 @@ |
|
@@ -12,13 +12,13 @@ |
12
|
<el-table :data="flightData" stripe style="font-size: 14px" border>
|
12
|
<el-table :data="flightData" stripe style="font-size: 14px" border>
|
13
|
<el-table-column label="航班号" width="180px" align="center">
|
13
|
<el-table-column label="航班号" width="180px" align="center">
|
14
|
<template slot-scope="scope">
|
14
|
<template slot-scope="scope">
|
15
|
- <span>{{ scope.row.carrier }}{{ scope.row.flightNo }}</span>
|
15
|
+ <span>{{ scope.row.carrier }}{{ scope.row.flightno }}</span>
|
16
|
</template>
|
16
|
</template>
|
17
|
</el-table-column>
|
17
|
</el-table-column>
|
18
|
<el-table-column label="航班日期" width="190px" align="center">
|
18
|
<el-table-column label="航班日期" width="190px" align="center">
|
19
|
<template slot-scope="scope">
|
19
|
<template slot-scope="scope">
|
20
|
<i class="el-icon-time"></i>
|
20
|
<i class="el-icon-time"></i>
|
21
|
- <span>{{ scope.row.flightDate }}</span>
|
21
|
+ <span>{{ scope.row.flightdate }}</span>
|
22
|
</template>
|
22
|
</template>
|
23
|
</el-table-column>
|
23
|
</el-table-column>
|
24
|
<el-table-column label="始发站" width="160px" align="center">
|
24
|
<el-table-column label="始发站" width="160px" align="center">
|
|
@@ -75,8 +75,8 @@ |
|
@@ -75,8 +75,8 @@ |
75
|
},
|
75
|
},
|
76
|
getList() {
|
76
|
getList() {
|
77
|
getFlightListForParam(this.listQuery).then(res => {
|
77
|
getFlightListForParam(this.listQuery).then(res => {
|
78
|
- this.flightData = res.data.dataList
|
|
|
79
|
- this.total = res.data.count
|
78
|
+ this.flightData = res.data.data.list
|
|
|
79
|
+ this.total = res.data.data.total
|
80
|
})
|
80
|
})
|
81
|
},
|
81
|
},
|
82
|
handleSearch() {
|
82
|
handleSearch() {
|
|
@@ -84,26 +84,26 @@ |
|
@@ -84,26 +84,26 @@ |
84
|
},
|
84
|
},
|
85
|
handleLoading(row) {
|
85
|
handleLoading(row) {
|
86
|
row.messageType = 'MT4201'
|
86
|
row.messageType = 'MT4201'
|
87
|
- row.flightdate = row.flightDate
|
|
|
88
|
- row.flightno = row.flightNo
|
87
|
+ row.flightdate = row.flightdate
|
|
|
88
|
+ row.flightno = row.flightno
|
89
|
this.$router.push({name: '出港航班信息', params: {scopeRow: row}})
|
89
|
this.$router.push({name: '出港航班信息', params: {scopeRow: row}})
|
90
|
},
|
90
|
},
|
91
|
handleTidy(row) {
|
91
|
handleTidy(row) {
|
92
|
row.messageType = 'MT5202'
|
92
|
row.messageType = 'MT5202'
|
93
|
- row.flightdate = row.flightDate
|
|
|
94
|
- row.flightno = row.flightNo
|
93
|
+ row.flightdate = row.flightdate
|
|
|
94
|
+ row.flightno = row.flightno
|
95
|
this.$router.push({name: '出港航班信息', params: {scopeRow: row}})
|
95
|
this.$router.push({name: '出港航班信息', params: {scopeRow: row}})
|
96
|
},
|
96
|
},
|
97
|
handleArrive(row) {
|
97
|
handleArrive(row) {
|
98
|
row.messageType = 'MT3201'
|
98
|
row.messageType = 'MT3201'
|
99
|
- row.flightdate = row.flightDate
|
|
|
100
|
- row.flightno = row.flightNo
|
99
|
+ row.flightdate = row.flightdate
|
|
|
100
|
+ row.flightno = row.flightno
|
101
|
this.$router.push({name: '出港航班信息', params: {scopeRow: row}})
|
101
|
this.$router.push({name: '出港航班信息', params: {scopeRow: row}})
|
102
|
},
|
102
|
},
|
103
|
handlePre(row) {
|
103
|
handlePre(row) {
|
104
|
row.messageType = 'MT2201'
|
104
|
row.messageType = 'MT2201'
|
105
|
- row.flightdate = row.flightDate
|
|
|
106
|
- row.flightno = row.flightNo
|
105
|
+ row.flightdate = row.flightdate
|
|
|
106
|
+ row.flightno = row.flightno
|
107
|
this.$router.push({name: '出港航班信息', params: {scopeRow: row}})
|
107
|
this.$router.push({name: '出港航班信息', params: {scopeRow: row}})
|
108
|
}
|
108
|
}
|
109
|
},
|
109
|
},
|