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-18 15:44:47 +0800
Browse Files
Options
Browse Files
Download
Plain Diff
Commit
0aa1f396b14e50a6433875c86965c769b568d098
0aa1f396
2 parents
e7b68c73
cd6dd778
Merge branch 'et86-black' into uat
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
src/views/allocationConfig/flightAllocConfig/mixins/index.js
src/views/allocationConfig/flightAllocConfig/mixins/index.js
View file @
0aa1f39
...
...
@@ -520,6 +520,7 @@ export default {
dateRouteList
.
findIndex
((
item
)
=>
item
.
route
==
b
.
route
)
);
});
// this.defaultRouteData(noDateRouteInfo) // 默认航线配置信息数据;
this
.
routesInfo
=
noDateRouteInfo
;
this
.
pageLoading
=
false
;
}
...
...
@@ -591,6 +592,7 @@ export default {
noEtesRoutes
.
findIndex
((
item
)
=>
item
.
route
===
b
.
route
)
);
});
// this.defaultRouteData(result) // 默认航线配置信息数据;
this
.
routesInfo
=
result
;
this
.
pageLoading
=
false
;
}
else
{
...
...
@@ -600,6 +602,22 @@ export default {
}
}
},
// 默认航线配置信息数据
defaultRouteData
(
result
)
{
// 如果当前航班号的航线下没有数据,新增规则给默认数据
routeRuleForm
.
purposeOfFlightNo
=
this
.
$route
.
query
.
purposeOfFlightNo
;
this
.
setattrVal
(
routeRuleForm
);
const
routesInfo
=
result
.
map
((
item
)
=>
{
if
(
!
item
.
config
)
{
item
=
{
...
item
,
...
routeRuleForm
,
};
}
return
item
;
});
return
routesInfo
;
},
// 处理跳转显示航线种类
showFlightKind
(
dateDataLists
)
{
let
flightRouteListStr
=
this
.
$route
.
query
.
flightRouteListStr
.
split
(
";"
);
// 跳转传过来的航线
...
...
Please
register
or
login
to post a comment