|
@@ -83,7 +83,7 @@
|
|
|
<el-form-item>
|
|
|
<el-button class="btn-shadow" size="mini" type="primary" @click="onSubmit(0)">搜索</el-button>
|
|
|
</el-form-item>
|
|
|
- <el-form-item v-is="['td_showTransit']">
|
|
|
+ <el-form-item>
|
|
|
<el-button class="btn-shadow" size="mini" type="primary" @click="changeView">切换视角</el-button>
|
|
|
</el-form-item>
|
|
|
<!-- <el-form-item v-is="['td_timeIcon']">
|
|
@@ -521,29 +521,29 @@ export default {
|
|
|
if (!this.formData.currentAirport || !this.startDate || !this.endDate) {
|
|
|
return
|
|
|
}
|
|
|
- const arrs1 = [this.formData.inboundCarrier.length === 0 ? '' : this.formData.inboundCarrier[0]]
|
|
|
- const arrs2 = [this.formData.outgoingAirline.length === 0 ? '' : this.formData.outgoingAirline[0]]
|
|
|
- const arr = [
|
|
|
- this.formData.currentAirport,
|
|
|
- this.startDate,
|
|
|
- this.endDate,
|
|
|
- ...arrs1,
|
|
|
- ...arrs1,
|
|
|
- ...arrs1,
|
|
|
- ...arrs2,
|
|
|
- ...arrs2,
|
|
|
- ...arrs2
|
|
|
- // this.formData.inboundCarrier,
|
|
|
- // this.formData.outgoingAirline,
|
|
|
- // JSON.stringify(this.formData.inboundCarrier),
|
|
|
- // JSON.stringify(this.formData.outgoingAirline),
|
|
|
- ]
|
|
|
+ // const arrs1 = [this.formData.inboundCarrier.length === 0 ? '' : this.formData.inboundCarrier[0]]
|
|
|
+ // const arrs2 = [this.formData.outgoingAirline.length === 0 ? '' : this.formData.outgoingAirline[0]]
|
|
|
+ // const arr = [
|
|
|
+ // this.formData.currentAirport,
|
|
|
+ // this.startDate,
|
|
|
+ // this.endDate,
|
|
|
+ // ...arrs1,
|
|
|
+ // ...arrs1,
|
|
|
+ // ...arrs1,
|
|
|
+ // ...arrs2,
|
|
|
+ // ...arrs2,
|
|
|
+ // ...arrs2
|
|
|
+ // // this.formData.inboundCarrier,
|
|
|
+ // // this.formData.outgoingAirline,
|
|
|
+ // // JSON.stringify(this.formData.inboundCarrier),
|
|
|
+ // // JSON.stringify(this.formData.outgoingAirline),
|
|
|
+ // ]
|
|
|
try {
|
|
|
- const res = await TempQuery({
|
|
|
- id: SERVICE_ID.departureTableLtId,
|
|
|
- dataContent: [...arr]
|
|
|
- })
|
|
|
- // const res = await this.getQueryList(SERVICE_ID.departureTableLtId, { departureAirport: this.formData.currentAirport, flightDateStart: this.startDate, flightDateEnd: this.endDate, inFlightNO: null, flightNO: null }, 1, 9999)
|
|
|
+ // const res = await TempQuery({
|
|
|
+ // id: SERVICE_ID.departureTableLtId,
|
|
|
+ // dataContent: [...arr]
|
|
|
+ // })
|
|
|
+ const res = await this.getQueryList(SERVICE_ID.departureTableLtId, { departureAirport: this.formData.currentAirport, startTime: this.startDate, endTime: this.endDate, inFlightNO: null, flightNO: null }, 1, 9999)
|
|
|
if (Number(res.code) === 0) {
|
|
|
this.initTableData(res.returnData.listValues)
|
|
|
} else {
|