diff --git a/src/layout/components/TagsView/index.vue b/src/layout/components/TagsView/index.vue
index 55f766e..704b72f 100644
--- a/src/layout/components/TagsView/index.vue
+++ b/src/layout/components/TagsView/index.vue
@@ -26,7 +26,7 @@
-
+
+
@@ -33,7 +77,64 @@ import router from "@/router";
export default {
components: { myHeader, TagsView },
data() {
- return {};
+ return {
+ routerIndex: "1-1",
+ routerList: [
+ {
+ path: "/administrative",
+ name: "行政审批",
+ icon: require("@/assets/images/tree4.svg"),
+ component: () => import("@/views/administrative/index"),
+ meta: { title: "行政审批", icon: "netWork" },
+ },
+
+ {
+ path: "/enterpriseMsg",
+ name: "企业档案",
+ icon: require("@/assets/images/tree4.svg"),
+ component: () => import("@/views/enterpriseMsg/index"),
+ meta: { title: "企业档案", icon: "netWork" },
+ },
+ {
+ path: "/productsMsg",
+ name: "产品档案",
+ icon: require("@/assets/images/tree4.svg"),
+ meta: { title: "产品档案", icon: "netWork" },
+ children: [
+ {
+ path: "/drugArchives",
+ name: "药品档案",
+ icon: require("@/assets/images/tree4.svg"),
+ component: () =>
+ import("@/views/productsMsg/components/drugArchives"),
+ meta: { title: "药品档案", icon: "netWork" },
+ },
+ {
+ path: "/cosmeticsArchives",
+ name: "化妆品档案",
+ icon: require("@/assets/images/tree4.svg"),
+ component: () =>
+ import("@/views/productsMsg/components/cosmeticsArchives"),
+ meta: { title: "化妆品档案", icon: "netWork" },
+ },
+ {
+ path: "/health",
+ name: "医疗器械档案",
+ icon: require("@/assets/images/tree4.svg"),
+ component: () => import("@/views/productsMsg/components/health"),
+ meta: { title: "医疗器械档案", icon: "netWork" },
+ },
+ ],
+ },
+ {
+ path: "/logout",
+ name: "依法注销",
+ icon: require("@/assets/images/tree4.svg"),
+ component: () => import("@/views/logout/index"),
+ meta: { title: "依法注销", icon: "netWork" },
+ },
+ ],
+ };
},
computed: {
//获取自定义路由
@@ -44,14 +145,40 @@ export default {
// )[0].children;
// return staticRouter;
// return this.$store.state.myselfPermission.routerList;
+ console.log(this.$router.options.routes[6].children);
return this.$router.options.routes[6].children;
},
+ get1(e) {
+ console.log(e);
+ },
},
created() {},
};