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
jinhui.wang
2023-09-12 15:58:29 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
aea23f0e8be2f08570620c2ab966b8e601221d19
aea23f0e
1 parent
2af4261e
展示修正
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
src/views/allocationConfig/flightAllocConfig/info.vue
src/views/allocationConfig/flightAllocConfig/info.vue
View file @
aea23f0
...
...
@@ -1021,13 +1021,13 @@ export default {
const { code, data } = result;
if (code == 200) {
let newRoute = JSON.parse(JSON.stringify(this.routeList.concat(data.routeList)))
const result =newRoute.filter((item, index, self) => {
const result =
newRoute.filter((item, index, self) => {
return self.findIndex(t => JSON.stringify(t) === JSON.stringify(item)) === index;
});
this.routeList = Array.from(new Set(result));
let routesStatus = 1
if (data.routeList.length) {
this.routeList.forEach(route => {
let routesStatus = 1
data.list.forEach(item => {
if (route.route === item.flightRoute) {
routesStatus = 2
...
...
@@ -1046,6 +1046,7 @@ export default {
routePriority: route.routePriority,
})
}
})
}
}
...
...
Please
register
or
login
to post a comment