From 5085d718e08c81881300406d7d1922acb78d3398 Mon Sep 17 00:00:00 2001 From: dhy1725534722 <1725534722@qq.com> Date: Tue, 12 Sep 2023 17:19:05 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=A1=E5=88=92=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/newyjLayout.vue | 12 +- src/permission.js | 3 +- src/router/index.js | 14 +- src/views/components/dialog/index.vue | 327 ++++++++----- src/views/newLogin.vue | 53 ++- src/views/yingji/focusEnter.vue | 439 ++++++++++++++++- src/views/yingji/planManage.vue | 651 ++++++++++++-------------- 7 files changed, 968 insertions(+), 531 deletions(-) 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 @@