Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Fedex
/
imac-vue
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Elements-SY
2023-10-22 10:43:53 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
9bc291847b79e5fd27e194ede850a2f44e6685b1
9bc29184
1 parent
c41e2bed
modify
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
10 deletions
src/views/allocationConfig/flightAllocConfig/flightRouteInfo/index.vue
src/views/allocationConfig/flightAllocConfig/flightRouteInfo/index.vue
View file @
9bc2918
...
...
@@ -70,7 +70,7 @@ import {
batchUpdateOrAddFlight, // 航班航线优先级更新
queryRouteByFltNo, // 通过航班号查询航线
} from "@/api/destinationFlight";
import {
queryRoute } from "@/api/system/dictionary.js"; // 通过航班号查询航班航线
import {
findAllFltDataApi } from "@/api/findAllFltData";
import indexMixins from "../mixins";
export default {
components: {
...
...
@@ -108,12 +108,6 @@ export default {
判断有日期的找到了就走有日期的,如果日期级别的没有找到再去走一次普通级别的接口
*/
created() {
this.getAllDictData(); // 获取全部字典
this.getQueryRoute({
fltNo: this.$route.query.purposeOfFlightNo,
page: 1,
size: 20,
}); // 通过航班号查询航线
const parmas = {
querySpecifyData: this.$route.query.querySpecifyData || "", // 查询特殊数据字段 1、2
purposeOfFlightNo: this.$route.query.purposeOfFlightNo || "", // 航班号
...
...
@@ -125,6 +119,16 @@ export default {
pageName: this.$route.query.pageName || "", // flightAllocConfig、flightInformationMaintenance、flightRandConfig、dmLog
id: this.$route.query.id || "",
};
this.getAllDictData(); // 获取全部字典
this.queryFindAllFltDataApi({
fltNo: parmas.purposeOfFlightNo,
fltDateEnd: parmas.flightDate,
fltDateStart: parmas.flightDate,
limitSize: 20,
limitStart: 0,
pageNum: 1,
start: 0,
}); // 通过航班号查询航线
// 指定隐藏或显示From表单域
this.hiddenFormItem(parmas);
// queryCondition只负责接收参数和接口调用
...
...
@@ -132,9 +136,9 @@ export default {
},
mounted() {},
methods: {
//
通过航班号查询航线
getQueryRoute
(parmas) {
queryRoute
(parmas)
//
航班信息维护查询
queryFindAllFltDataApi
(parmas) {
findAllFltDataApi
(parmas)
.then((res) => {
console.log(res);
})
...
...
Please
register
or
login
to post a comment