diff --git a/src/layout/newyjLayout.vue b/src/layout/newyjLayout.vue index f25d4de..392fef9 100644 --- a/src/layout/newyjLayout.vue +++ b/src/layout/newyjLayout.vue @@ -79,12 +79,12 @@ export default { icon1: require("../assets/images/zhifa.png"), icon2: require("../assets/images/zhifa-change.png"), }, - // { - // path: "/enterprise", - // name: "企业名录", - // icon1: require("../assets/images/qiye.png"), - // icon2: require("../assets/images/qiye-change.png"), - // }, + { + path: "/enterprise", + name: "企业名录", + icon1: require("../assets/images/qiye.png"), + icon2: require("../assets/images/qiye-change.png"), + }, { path: "/focusEnter", name: "省重点企业", diff --git a/src/permission.js b/src/permission.js index bed22d8..7d0b351 100644 --- a/src/permission.js +++ b/src/permission.js @@ -13,7 +13,8 @@ const whiteList = [ '/focusEnter', '/enforcing', "/planManage", - "/home" + "/home", + '/enterprise' ]; diff --git a/src/router/index.js b/src/router/index.js index c21d18c..b6f5a35 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -96,17 +96,17 @@ export const constantRoutes = [ name: "enforcing", meta:{index:2} }, - // { - // path: "/enterprise", - // component: () => import("@/views/yingji/enterprise.vue"), - // name: "enterprise", - // meta:{index:3} - // }, + { + path: "/enterprise", + component: () => import("@/views/yingji/enterprise.vue"), + name: "enterprise", + meta:{index:3} + }, { path: "/focusEnter", component: () => import("@/views/yingji/focusEnter.vue"), name: "focusEnter", - meta:{index:3} + meta:{index:4} }, ], diff --git a/src/views/components/dialog/index.vue b/src/views/components/dialog/index.vue index 338196d..df9f076 100644 --- a/src/views/components/dialog/index.vue +++ b/src/views/components/dialog/index.vue @@ -29,7 +29,7 @@