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-09-28 00:45:02 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
45979ec1e5dbb068e249e108e2bbc7971a33c9ed
45979ec1
1 parent
6b345724
modify
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
37 deletions
src/views/allocationConfig/flightAllocConfig/components/routeInfo.vue
src/views/allocationConfig/flightAllocConfig/routeInfo.vue
src/views/allocationConfig/flightAllocConfig/components/routeInfo.vue
View file @
45979ec
...
...
@@ -498,7 +498,7 @@ export default {
*/
if (item.status == "3" || (item.status == "1" && item.ruleDate)) {
return true;
} else if (item.status == "1" && this.$route.query.querySpecifyData) {
} else if (item.status == "1" && this.$route.query.querySpecifyData
== "2"
) {
// 航班配舱设置非日期级别情况下
return true;
} else if (item.status == "2") {
...
...
src/views/allocationConfig/flightAllocConfig/routeInfo.vue
View file @
45979ec
...
...
@@ -107,18 +107,18 @@ export default {
let queryCondition = {
// 航班配舱设置
flightAllocConfig: {
querySpecifyData: this.$route.query.querySpecifyData,
querySpecifyData:
_
this.$route.query.querySpecifyData,
noDateParmas: {
flightDate: "",
flightRoute: "",
purposeOfFlightNo: this.$route.query.purposeOfFlightNo,
purposeOfFlightNo:
_
this.$route.query.purposeOfFlightNo,
status: "",
},
dateParmas: {
flightDate: this.$route.query.flightDate,
flightDate:
_
this.$route.query.flightDate,
flightRoute: "",
flightRouteListStr: "",
purposeOfFlightNo: this.$route.query.purposeOfFlightNo,
purposeOfFlightNo:
_
this.$route.query.purposeOfFlightNo,
status: "",
},
queryParmas: function () {
...
...
@@ -142,6 +142,7 @@ export default {
return item1; // 没有的返回当前的
}
});
// 处理属性
result.map((item) => {
if (item.config) {
...
...
@@ -154,7 +155,6 @@ export default {
}
});
_this.routesInfo = result;
console.log("非日期级别:", result);
});
}
// 日期级别
...
...
@@ -204,7 +204,6 @@ export default {
}
});
_this.routesInfo = dateList;
console.log(dateList);
});
}
});
...
...
@@ -213,48 +212,47 @@ export default {
},
// 航班信息维护
flightInformationMaintenance: {
queryParmas: () => {
// White Tail
if (this.$route.query.flightKindName == "White Tail") {
let noDateParmas = {
purposeOfFlightNo: this.$route.query.purposeOfFlightNo,
flightRouteListStr: this.$route.query.flightRouteListStr,
noDateParmas: {
purposeOfFlightNo: _this.$route.query.purposeOfFlightNo,
flightRouteListStr: _this.$route.query.flightRouteListStr,
status: "",
};
this.noDateLevelRoute(noDateParmas);
},
dateParmas: {
purposeOfFlightNo: _this.$route.query.purposeOfFlightNo,
flightDate: _this.$route.query.flightDate,
flightRouteListStr: _this.$route.query.flightRouteListStr,
status: "",
},
queryParmas: function () {
// White Tail
if (_this.$route.query.flightKindName == "White Tail") {
_this.noDateLevelRoute(this.noDateParmas);
}
// Purple Tail
if (this.$route.query.flightKindName == "Purple Tail") {
let dateParmas = {
purposeOfFlightNo: this.$route.query.purposeOfFlightNo,
flightDate: this.$route.query.flightDate,
flightRouteListStr: this.$route.query.flightRouteListStr,
status: "",
};
this.dateLevelRoute(dateParmas);
if (_this.$route.query.flightKindName == "Purple Tail") {
_this.dateLevelRoute(this.dateParmas);
}
},
},
// 航班顺位设置
flightRandConfig: {
queryParmas: () => {
// 普通级别
if (this.$route.query.pageName == "flightRandConfig") {
let noDateParmas = {
flightDate: this.$route.query.flightDate,
noDateParmas: {
flightRoute: "",
purposeOfFlightNo: this.$route.query.purposeOfFlightNo,
flightRouteListStr: "",
purposeOfFlightNo: _this.$route.query.purposeOfFlightNo,
status: "",
};
// 日期级别
let dateParmas = {
},
dateParmas: {
flightDate: _this.$route.query.flightDate,
flightRoute: "",
flightRouteListStr: "",
purposeOfFlightNo: this.$route.query.purposeOfFlightNo,
purposeOfFlightNo: _this.$route.query.purposeOfFlightNo,
status: "",
};
this.noDateLevelRoute(noDateParmas);
this.dateLevelRoute(dateParmas);
},
queryParmas: function () {
// 普通级别
if (_this.$route.query.pageName == "flightRandConfig") {
_this.noDateLevelRoute(this.noDateParmas);
_this.dateLevelRoute(this.dateParmas);
}
},
},
...
...
Please
register
or
login
to post a comment