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-24 10:40:55 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
2ddf4601ac01b3504f877ed8e9171304fb4cf30d
2ddf4601
1 parent
9631d9f3
modify
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
2 deletions
src/views/allocationConfig/flightAllocConfig/mixins/index.js
src/views/allocationConfig/flightAllocConfig/mixins/index.js
View file @
2ddf460
...
...
@@ -221,6 +221,10 @@ export default {
this
.
msgError
(
msg
);
return
;
}
if
(
data
.
routeList
.
length
==
0
)
{
this
.
msgError
(
"暂无航线"
);
return
;
}
let
noDateRouteLists
=
data
.
routeList
;
// 只负责展示航线优先级
// 航班航线基本信息(过滤ET86航线的)
let
noDateRouteList
=
data
.
routeList
.
filter
(
...
...
@@ -229,8 +233,7 @@ export default {
// 航班信息维护从非日期级别拿数据时要删掉id 和 historyId
if
(
this
.
$route
.
query
.
flightKindName
==
"Purple Tail"
||
this
.
$route
.
query
.
flightKindName
==
"White Tail"
||
this
.
$route
.
query
.
querySpecifyData
==
"1"
this
.
$route
.
query
.
flightKindName
==
"White Tail"
)
{
data
.
list
.
map
((
item
)
=>
{
item
.
status
=
"1"
;
...
...
@@ -271,6 +274,10 @@ export default {
});
});
},
dealFlightKind
(){
},
// 【接口调用和数据去重整合】日期级别
dateLevelRoute
(
parmas
)
{
return
new
Promise
((
resolve
,
reject
)
=>
{
...
...
@@ -282,6 +289,10 @@ export default {
this
.
msgError
(
msg
);
return
;
}
if
(
data
.
routeList
.
length
==
0
)
{
this
.
msgError
(
"暂无航线"
);
return
;
}
let
dateDataLists
=
data
.
routeList
;
// 只负责展示航线优先级
this
.
routeSpecifyDateSeq
=
data
.
routeList
;
// 日期级别航班顺位
// 航班航线基本信息(过滤ET86航线的)
...
...
@@ -334,6 +345,10 @@ export default {
this
.
msgError
(
msg
);
return
;
}
if
(
data
.
list
.
length
==
0
)
{
this
.
msgError
(
"暂无航线维度设置"
);
return
;
}
const
routeList
=
[
data
.
list
];
// 航班航线维度规则详情
const
dataList
=
removeDuplicates
(
routeList
,
{
...
...
Please
register
or
login
to post a comment