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 21:50:34 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
c41cb46a4eb29df76dcfea030fbc32d9fb4d7eec
c41cb46a
1 parent
a4e4a939
modify
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
27 deletions
src/views/allocationConfig/flightAllocConfig/mixins/index.js
src/views/allocationConfig/flightAllocConfig/mixins/index.js
View file @
c41cb46
...
...
@@ -435,9 +435,6 @@ export default {
);
});
this
.
routesInfo
=
mergeDateRouteInfo
;
// 航班航线配置信息列表
if
(
this
.
$route
.
query
.
flightKindName
==
"Purple Tail"
)
{
this
.
showFlightKind
(
dateDataLists
);
}
this
.
pageLoading
=
false
;
}
else
{
// 当前航线有缺省的航线配置
...
...
@@ -572,7 +569,6 @@ export default {
this
.
pageLoading
=
false
;
}
else
{
this
.
routeList
=
dateRouteList
;
// 航线优先级
this
.
queryForm
=
this
.
$route
.
query
;
// 获取跳转过来的参数
this
.
routesInfo
=
dateList
;
this
.
pageLoading
=
false
;
}
...
...
@@ -594,29 +590,6 @@ export default {
});
return
routesInfo
;
},
// 处理跳转显示航线种类
showFlightKind
(
dateDataLists
)
{
let
flightRouteListStr
=
this
.
$route
.
query
.
flightRouteListStr
.
split
(
";"
);
// 跳转传过来的航线
// 查找跳转传过来的对应的航线把包含的航线并且按照dateDataLists航线排序
let
inRoutes
=
dateDataLists
.
filter
((
item
)
=>
flightRouteListStr
.
includes
(
item
.
route
))
.
sort
(
(
a
,
b
)
=>
flightRouteListStr
.
indexOf
(
a
.
route
)
-
flightRouteListStr
.
indexOf
(
b
.
route
)
);
// 处理航线优先级展示ET86
let
routes
=
[];
inRoutes
.
map
((
item
,
i
,
arr
)
=>
{
if
(
arr
[
i
].
etesRule
==
"Y"
)
{
routes
.
push
(
`
${
arr
[
i
].
route
}
(ET86)`
);
}
else
{
routes
.
push
(
arr
[
i
].
route
);
}
});
// 把处理ET86航线优先级展示
this
.
queryForm
.
flightRouteListStr
=
routes
.
join
(
";"
);
},
// 整合飞行航线配置信息
mergeFlightRouteConfigObj
(
routeList
,
dataList
)
{
if
(
dataList
.
length
)
{
...
...
Please
register
or
login
to post a comment