|
@@ -430,7 +430,7 @@ export default {
|
|
|
document.querySelector('.interfaceLog_head_time_start .el-input__prefix').innerHTML = '开始:'
|
|
|
document.querySelector('.interfaceLog_head_time_end .el-input__prefix i').remove()
|
|
|
document.querySelector('.interfaceLog_head_time_end .el-input__prefix').innerHTML = '结束:'
|
|
|
- const { FlightNO, FlightDate,name,grade,startDate,endDate,station } = this.$route.query
|
|
|
+ const { FlightNO, FlightDate,name,grade,startDate,endDate,station,destination } = this.$route.query
|
|
|
if (FlightNO && FlightDate) {
|
|
|
this.$router.replace(this.$route.path)
|
|
|
const parsedTime = parseTime(new Date(FlightDate), '{y}-{m}-{d}')
|
|
@@ -463,6 +463,33 @@ export default {
|
|
|
this.form['station'] = station
|
|
|
this.onCheckGj()
|
|
|
}
|
|
|
+
|
|
|
+ if(name&&startDate&&endDate&&destination){
|
|
|
+ this.timeStart = startDate;
|
|
|
+ this.timeEnd = endDate;
|
|
|
+ this.form['time'] = [startDate,endDate];
|
|
|
+ this.form['name'] = name;
|
|
|
+ this.form['destination'] = destination
|
|
|
+ this.onCheckGj()
|
|
|
+ }
|
|
|
+
|
|
|
+ if(grade&&startDate&&endDate&&destination){
|
|
|
+ this.timeStart = startDate;
|
|
|
+ this.timeEnd = endDate;
|
|
|
+ this.form['time'] = [startDate,endDate];
|
|
|
+ this.form['grade'] = grade;
|
|
|
+ this.form['destination'] = destination
|
|
|
+ this.onCheckGj()
|
|
|
+ }
|
|
|
+
|
|
|
+ if(FlightNO&&startDate&&endDate&&destination){
|
|
|
+ this.timeStart = startDate;
|
|
|
+ this.timeEnd = endDate;
|
|
|
+ this.form['time'] = [startDate,endDate];
|
|
|
+ this.form['flightNumber'] = FlightNO;
|
|
|
+ this.form['destination'] = destination
|
|
|
+ this.onCheckGj()
|
|
|
+ }
|
|
|
},
|
|
|
updated() {
|
|
|
// table数据更新
|