shanyunduo.cheng

router名更改

...@@ -89,14 +89,14 @@ export const constantRoutes = [ ...@@ -89,14 +89,14 @@ export const constantRoutes = [
89 { 89 {
90 path: '/flightAllocConfig/:handle/:id', 90 path: '/flightAllocConfig/:handle/:id',
91 component: (resolve) => require(['@/views/allocationConfig/flightAllocConfig/info'], resolve), 91 component: (resolve) => require(['@/views/allocationConfig/flightAllocConfig/info'], resolve),
92 - name: 'Info', 92 + name: 'flightAllocConfigInfo',
93 - meta: { title: '航班配舱', icon: 'user' } 93 + meta: { title: '航班配舱', icon: 'user', breadcrumb: true }
94 }, 94 },
95 { 95 {
96 path: '/flightAllocConfig/:handle', 96 path: '/flightAllocConfig/:handle',
97 component: (resolve) => require(['@/views/allocationConfig/flightAllocConfig/info'], resolve), 97 component: (resolve) => require(['@/views/allocationConfig/flightAllocConfig/info'], resolve),
98 - name: 'Add', 98 + name: 'flightAllocConfigAdd',
99 - meta: { title: '添加航班配舱', icon: 'user' } 99 + meta: { title: '添加航班配舱', icon: 'user', breadcrumb: false }
100 } 100 }
101 ] 101 ]
102 } 102 }
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
34 type="primary" 34 type="primary"
35 icon="el-icon-plus" 35 icon="el-icon-plus"
36 size="mini" 36 size="mini"
37 - @click="$router.push({ name: 'Add', params: { handle: 'add' } })" 37 + @click="$router.push({ name: 'flightAllocConfigAdd', params: { handle: 'add' } })"
38 >添加</el-button 38 >添加</el-button
39 > 39 >
40 <el-table :data="flyList" v-loading="loading" size="small"> 40 <el-table :data="flyList" v-loading="loading" size="small">
...@@ -171,7 +171,7 @@ export default { ...@@ -171,7 +171,7 @@ export default {
171 //跳转到查看,修改页面 171 //跳转到查看,修改页面
172 handleClick(flightiId, handle) { 172 handleClick(flightiId, handle) {
173 this.$router.push({ 173 this.$router.push({
174 - name: "Info", 174 + name: "flightAllocConfigInfo",
175 params: { handle: handle, id: flightiId }, 175 params: { handle: handle, id: flightiId },
176 }); 176 });
177 }, 177 },
......