Commit 2ec1f0e5 by liupeng

修改了面包屑导航,阵地线索信息和被布控物品信息的位置

parent 77ebc479
...@@ -134,8 +134,12 @@ export default { ...@@ -134,8 +134,12 @@ export default {
debugger; debugger;
console.log(123); console.log(123);
this.topMenus = this.topMenu; this.topMenus = this.topMenu;
this.breadcrumbList = this.Breadcrumbs this.breadcrumbList = [
...this.Breadcrumbs
]
console.log('topMenus',this.topMenus)
console.log('breadcrumbList',this.breadcrumbList)
console.log('Breadcrumbs',this.Breadcrumbs)
}, },
watch: { watch: {
isCollapseP(val) { isCollapseP(val) {
......
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
<div v-if="$route.meta.isAdd" class="topMenu"> <div v-if="$route.meta.isAdd" class="topMenu">
<el-breadcrumb separator="/" style="line-height: 48px"> <el-breadcrumb separator="/" style="line-height: 48px">
<el-breadcrumb-item <el-breadcrumb-item
v-for="(item, index) in breadcrumbList" v-for="(item, index) in topMenus"
:key="index" :key="index"
><span @click="goDetail(item)" style="cursor: pointer" :class="item.isActive ? 'activeClass' : ''">{{ ><span @click="goDetail(item)" style="cursor: pointer" :class="item.isActive ? 'activeClass' : ''">{{
item.name item.name
...@@ -144,9 +144,11 @@ export default { ...@@ -144,9 +144,11 @@ export default {
this.navList = JSON.parse(sessionStorage.getItem("navList")); this.navList = JSON.parse(sessionStorage.getItem("navList"));
this.activeIndex = sessionStorage.getItem("routerPath") || this.$route.name; this.activeIndex = sessionStorage.getItem("routerPath") || this.$route.name;
this.activeName = this.$route.name; this.activeName = this.$route.name;
console.log(this.topMenu) console.log('menu,topMenu',this.topMenu)
this.topMenus = this.topMenu; this.topMenus = this.topMenu;
this.breadcrumbList = this.Breadcrumbs // this.breadcrumbList = this.Breadcrumbs
// console.log('menu,breadcrumbList',this.breadcrumbList)
// console.log('menu,Breadcrumbs',this.Breadcrumbs)
}, },
watch: { watch: {
isCollapseP(val) { isCollapseP(val) {
......
...@@ -14,7 +14,7 @@ const menuLayouts = [ ...@@ -14,7 +14,7 @@ const menuLayouts = [
meta: { meta: {
title: '被布控物品信息管理' title: '被布控物品信息管理'
}, },
component: () => import("@/views/bbkwpxx/queryBbkwpxx.vue") component: () => import("@/views/zdxx/bbkwpxx/queryBbkwpxx.vue")
}, },
{ {
path: "/adjustBbkwpxx", path: "/adjustBbkwpxx",
...@@ -22,7 +22,7 @@ const menuLayouts = [ ...@@ -22,7 +22,7 @@ const menuLayouts = [
meta: { meta: {
title: '管理被布控物品信息' title: '管理被布控物品信息'
}, },
component: () => import("@/views/bbkwpxx/adjustBbkwpxx.vue") component: () => import("@/views/zdxx/bbkwpxx/adjustBbkwpxx.vue")
}, },
{ {
path: "/bbkwpxxDetail", path: "/bbkwpxxDetail",
...@@ -30,7 +30,7 @@ const menuLayouts = [ ...@@ -30,7 +30,7 @@ const menuLayouts = [
meta: { meta: {
title: '被布控物品信息详情' title: '被布控物品信息详情'
}, },
component: () => import("@/views/bbkwpxx/bbkwpxxDetail.vue") component: () => import("@/views/zdxx/bbkwpxx/bbkwpxxDetail.vue")
}, },
]; ];
......
...@@ -14,7 +14,7 @@ const menuLayouts = [ ...@@ -14,7 +14,7 @@ const menuLayouts = [
meta: { meta: {
title: '阵地线索信息管理' title: '阵地线索信息管理'
}, },
component: () => import("@/views/zdxsxx/queryZdxsxx.vue") component: () => import("@/views/zdxx/zdxsxx/queryZdxsxx.vue")
}, },
{ {
path: "/adjustZdxsxx", path: "/adjustZdxsxx",
...@@ -22,7 +22,7 @@ const menuLayouts = [ ...@@ -22,7 +22,7 @@ const menuLayouts = [
meta: { meta: {
title: '管理阵地线索信息' title: '管理阵地线索信息'
}, },
component: () => import("@/views/zdxsxx/adjustZdxsxx.vue") component: () => import("@/views/zdxx/zdxsxx/adjustZdxsxx.vue")
}, },
{ {
path: "/zdxsxxDetail", path: "/zdxsxxDetail",
...@@ -30,7 +30,7 @@ const menuLayouts = [ ...@@ -30,7 +30,7 @@ const menuLayouts = [
meta: { meta: {
title: '阵地线索信息详情' title: '阵地线索信息详情'
}, },
component: () => import("@/views/zdxsxx/zdxsxxDetail.vue") component: () => import("@/views/zdxx/zdxsxx/zdxsxxDetail.vue")
}, },
]; ];
......
...@@ -95,12 +95,12 @@ export default { ...@@ -95,12 +95,12 @@ export default {
], ],
Breadcrumb: [ Breadcrumb: [
{ {
name: "号码索管理", name: "号码线索管理",
to: "/hmxsGl", to: "/hmxsGl",
isActive: false, isActive: false,
}, },
{ {
name: "号码索管理", name: "号码线索管理",
to: "/hmxsGl", to: "/hmxsGl",
isActive: false, isActive: false,
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment