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
shanyunduo.cheng
2021-12-07 16:56:50 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
1d6807866c55108fe2d8a1d1c59746126736502f
1d680786
1 parent
a62a4d9b
router名更改
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
src/router/index.js
src/views/allocationConfig/flightAllocConfig/index.vue
src/router/index.js
View file @
1d68078
...
...
@@ -89,14 +89,14 @@ export const constantRoutes = [
{
path
:
'/flightAllocConfig/:handle/:id'
,
component
:
(
resolve
)
=>
require
([
'@/views/allocationConfig/flightAllocConfig/info'
],
resolve
),
name
:
'Info'
,
meta
:
{
title
:
'航班配舱'
,
icon
:
'user'
}
name
:
'
flightAllocConfig
Info'
,
meta
:
{
title
:
'航班配舱'
,
icon
:
'user'
,
breadcrumb
:
true
}
},
{
path
:
'/flightAllocConfig/:handle'
,
component
:
(
resolve
)
=>
require
([
'@/views/allocationConfig/flightAllocConfig/info'
],
resolve
),
name
:
'Add'
,
meta
:
{
title
:
'添加航班配舱'
,
icon
:
'user'
}
name
:
'
flightAllocConfig
Add'
,
meta
:
{
title
:
'添加航班配舱'
,
icon
:
'user'
,
breadcrumb
:
false
}
}
]
}
...
...
src/views/allocationConfig/flightAllocConfig/index.vue
View file @
1d68078
...
...
@@ -34,7 +34,7 @@
type="primary"
icon="el-icon-plus"
size="mini"
@click="$router.push({ name: 'Add', params: { handle: 'add' } })"
@click="$router.push({ name: '
flightAllocConfig
Add', params: { handle: 'add' } })"
>添加</el-button
>
<el-table :data="flyList" v-loading="loading" size="small">
...
...
@@ -171,7 +171,7 @@ export default {
//跳转到查看,修改页面
handleClick(flightiId, handle) {
this.$router.push({
name: "Info",
name: "
flightAllocConfig
Info",
params: { handle: handle, id: flightiId },
});
},
...
...
Please
register
or
login
to post a comment