Commit f04d434a authored by “yiyousong”'s avatar “yiyousong”

perf: 屏蔽修改密码和系统设置板块

parent 335725a4
...@@ -580,216 +580,216 @@ const routes = [ ...@@ -580,216 +580,216 @@ const routes = [
}, },
], ],
}, },
{ // {
path: "thePlatformIsSet", // path: "thePlatformIsSet",
name: "thePlatformIsSet", // name: "thePlatformIsSet",
redirect: "/home/thePlatformIsSet/setPlatformes", // redirect: "/home/thePlatformIsSet/setPlatformes",
component: () => // component: () =>
import( // import(
/* webpackChunkName: "thePlatformIsSet" */ "@/components/viewport/viewport.vue" // /* webpackChunkName: "thePlatformIsSet" */ "@/components/viewport/viewport.vue"
), // ),
meta: { title: "平台设置" }, // meta: { title: "平台设置" },
children: [ // children: [
{ // {
path: "setPlatformes", // path: "setPlatformes",
name: "setPlatformes", // name: "setPlatformes",
component: () => // component: () =>
import( // import(
/* webpackChunkName: "setPlatformes" */ "@/views/thePlatformIsSet/setPlatformes.vue" // /* webpackChunkName: "setPlatformes" */ "@/views/thePlatformIsSet/setPlatformes.vue"
), // ),
meta: { title: "平台设置" }, // meta: { title: "平台设置" },
}, // },
{ // {
path: "APIServe", // path: "APIServe",
name: "APIServe", // name: "APIServe",
component: () => // component: () =>
import( // import(
/* webpackChunkName: "APIServe" */ "@/views/thePlatformIsSet/components/APIServe/APIServe.vue" // /* webpackChunkName: "APIServe" */ "@/views/thePlatformIsSet/components/APIServe/APIServe.vue"
), // ),
meta: { title: "API服务" }, // meta: { title: "API服务" },
}, // },
{ // {
path: "productManage", // path: "productManage",
name: "productManage", // name: "productManage",
component: () => // component: () =>
import( // import(
/* webpackChunkName: "productManage" */ "@/views/thePlatformIsSet/components/productManage/productManage.vue" // /* webpackChunkName: "productManage" */ "@/views/thePlatformIsSet/components/productManage/productManage.vue"
), // ),
meta: { title: "产品管理" }, // meta: { title: "产品管理" },
}, // },
{ // {
path: "applService", // path: "applService",
name: "applService", // name: "applService",
component: () => // component: () =>
import( // import(
/* webpackChunkName: "applService" */ "@/views/thePlatformIsSet/components/applService.vue" // /* webpackChunkName: "applService" */ "@/views/thePlatformIsSet/components/applService.vue"
), // ),
meta: { title: "应用服务" }, // meta: { title: "应用服务" },
}, // },
{ // {
path: "portDocument", // path: "portDocument",
name: "portDocument", // name: "portDocument",
component: () => // component: () =>
import( // import(
/* webpackChunkName: "portDocument" */ "@/views/thePlatformIsSet/components/APIServe/components/portDocument.vue" // /* webpackChunkName: "portDocument" */ "@/views/thePlatformIsSet/components/APIServe/components/portDocument.vue"
), // ),
meta: { title: "接口信息" }, // meta: { title: "接口信息" },
}, // },
{ // {
path: "dictionary", // path: "dictionary",
name: "dictionary", // name: "dictionary",
component: () => // component: () =>
import( // import(
/* webpackChunkName: "portDocument" */ "@/views/thePlatformIsSet/components/dictionary/dictionary.vue" // /* webpackChunkName: "portDocument" */ "@/views/thePlatformIsSet/components/dictionary/dictionary.vue"
), // ),
meta: { title: "字典管理" }, // meta: { title: "字典管理" },
}, // },
{ // {
path: "permissionsModel", // path: "permissionsModel",
name: "permissionsModel", // name: "permissionsModel",
redirect: "/home/thePlatformIsSet/permissionsModel/userManagement", // redirect: "/home/thePlatformIsSet/permissionsModel/userManagement",
component: () => // component: () =>
import( // import(
/* webpackChunkName: "permissionsModel" */ "@/views/thePlatformIsSet/components/permissionsModel/permissionsModel.vue" // /* webpackChunkName: "permissionsModel" */ "@/views/thePlatformIsSet/components/permissionsModel/permissionsModel.vue"
), // ),
meta: { title: "权限模型" }, // meta: { title: "权限模型" },
children: [ // children: [
{ // {
path: "userManagement", // path: "userManagement",
name: "userManagement", // name: "userManagement",
component: () => // component: () =>
import( // import(
/* webpackChunkName: "userManagement" */ "@/views/thePlatformIsSet/components/permissionsModel/userManagement.vue" // /* webpackChunkName: "userManagement" */ "@/views/thePlatformIsSet/components/permissionsModel/userManagement.vue"
), // ),
meta: { title: "用户管理" }, // meta: { title: "用户管理" },
}, // },
{ // {
path: "authorityMis", // path: "authorityMis",
name: "authorityMis", // name: "authorityMis",
component: () => // component: () =>
import( // import(
/* webpackChunkName: "authorityMis" */ "@/views/thePlatformIsSet/components/permissionsModel/authorityMis.vue" // /* webpackChunkName: "authorityMis" */ "@/views/thePlatformIsSet/components/permissionsModel/authorityMis.vue"
), // ),
meta: { title: "角色权限管理" }, // meta: { title: "角色权限管理" },
}, // },
], // ],
}, // },
{ // {
path: "setMenuPerms", // path: "setMenuPerms",
name: "setMenuPerms", // name: "setMenuPerms",
component: () => // component: () =>
import( // import(
/* webpackChunkName: "setMenuPerms" */ "@/views/thePlatformIsSet/components/permissionsModel/setMenuPerms.vue" // /* webpackChunkName: "setMenuPerms" */ "@/views/thePlatformIsSet/components/permissionsModel/setMenuPerms.vue"
), // ),
meta: { title: "菜单权限设置" }, // meta: { title: "菜单权限设置" },
}, // },
{ // {
path: "menuManagement", // path: "menuManagement",
name: "menuManagement", // name: "menuManagement",
redirect: "/home/thePlatformIsSet/menuManagement/menuMgmt", // redirect: "/home/thePlatformIsSet/menuManagement/menuMgmt",
component: () => // component: () =>
import( // import(
/* webpackChunkName: "menuManagement" */ "@/views/thePlatformIsSet/components/menuManagement/menuManagement.vue" // /* webpackChunkName: "menuManagement" */ "@/views/thePlatformIsSet/components/menuManagement/menuManagement.vue"
), // ),
meta: { title: "菜单管理" }, // meta: { title: "菜单管理" },
children: [ // children: [
{ // {
path: "menuMgmt", // path: "menuMgmt",
name: "menuMgmt", // name: "menuMgmt",
component: () => // component: () =>
import( // import(
/* webpackChunkName: "menuMgmt" */ "@/views/thePlatformIsSet/components/menuManagement/menuMgmt.vue" // /* webpackChunkName: "menuMgmt" */ "@/views/thePlatformIsSet/components/menuManagement/menuMgmt.vue"
), // ),
meta: { title: "菜单管理" }, // meta: { title: "菜单管理" },
}, // },
], // ],
}, // },
{ // {
path: "logService", // path: "logService",
name: "logService", // name: "logService",
redirect: "/home/thePlatformIsSet/logService/Service", // redirect: "/home/thePlatformIsSet/logService/Service",
component: () => // component: () =>
import( // import(
/* webpackChunkName: "logService" */ "@/views/thePlatformIsSet/components/logService/logService.vue" // /* webpackChunkName: "logService" */ "@/views/thePlatformIsSet/components/logService/logService.vue"
), // ),
meta: { title: "日志服务" }, // meta: { title: "日志服务" },
children: [ // children: [
{ // {
path: "Service", // path: "Service",
name: "Service", // name: "Service",
component: () => // component: () =>
import( // import(
/* webpackChunkName: "Service" */ "@/views/thePlatformIsSet/components/logService/Service.vue" // /* webpackChunkName: "Service" */ "@/views/thePlatformIsSet/components/logService/Service.vue"
), // ),
meta: { title: "日志服务" }, // meta: { title: "日志服务" },
}, // },
], // ],
}, // },
{ // {
path: "InterfaceManage", // path: "InterfaceManage",
name: "InterfaceManage", // name: "InterfaceManage",
redirect: "/home/thePlatformIsSet/InterfaceManage/manage", // redirect: "/home/thePlatformIsSet/InterfaceManage/manage",
component: () => // component: () =>
import( // import(
/* webpackChunkName: "InterfaceManage" */ "@/views/thePlatformIsSet/components/productManage/components/InterfaceManage/module.vue" // /* webpackChunkName: "InterfaceManage" */ "@/views/thePlatformIsSet/components/productManage/components/InterfaceManage/module.vue"
), // ),
meta: { title: "接口管理" }, // meta: { title: "接口管理" },
children: [ // children: [
{ // {
path: "manage", // path: "manage",
name: "manage", // name: "manage",
component: () => // component: () =>
import( // import(
/* webpackChunkName: "manage " */ "@/views/thePlatformIsSet/components/productManage/components/InterfaceManage/alerting.vue" // /* webpackChunkName: "manage " */ "@/views/thePlatformIsSet/components/productManage/components/InterfaceManage/alerting.vue"
), // ),
meta: { title: "接口管理" }, // meta: { title: "接口管理" },
}, // },
], // ],
}, // },
{ // {
path: "appManage", // path: "appManage",
name: "appManage", // name: "appManage",
redirect: "/home/thePlatformIsSet/appManage/application", // redirect: "/home/thePlatformIsSet/appManage/application",
component: () => // component: () =>
import( // import(
/* webpackChunkName: "appManage" */ "@/views/thePlatformIsSet/components/productManage/components/appManage/module.vue" // /* webpackChunkName: "appManage" */ "@/views/thePlatformIsSet/components/productManage/components/appManage/module.vue"
), // ),
meta: { title: "应用管理" }, // meta: { title: "应用管理" },
children: [ // children: [
{ // {
path: "application", // path: "application",
name: "application", // name: "application",
component: () => // component: () =>
import( // import(
/* webpackChunkName: "application " */ "@/views/thePlatformIsSet/components/productManage/components/appManage/application.vue" // /* webpackChunkName: "application " */ "@/views/thePlatformIsSet/components/productManage/components/appManage/application.vue"
), // ),
meta: { title: "应用管理" }, // meta: { title: "应用管理" },
}, // },
], // ],
}, // },
{ // {
path: "docData", // path: "docData",
name: "docData", // name: "docData",
redirect: "/home/thePlatformIsSet/docData/fileData", // redirect: "/home/thePlatformIsSet/docData/fileData",
component: () => // component: () =>
import( // import(
/* webpackChunkName: "docData" */ "@/views/thePlatformIsSet/components/productManage/components/docData/module.vue" // /* webpackChunkName: "docData" */ "@/views/thePlatformIsSet/components/productManage/components/docData/module.vue"
), // ),
meta: { title: "文档资料" }, // meta: { title: "文档资料" },
children: [ // children: [
{ // {
path: "fileData", // path: "fileData",
name: "fileData", // name: "fileData",
component: () => // component: () =>
import( // import(
/* webpackChunkName: "fileData " */ "@/views/thePlatformIsSet/components/productManage/components/docData/fileData.vue" // /* webpackChunkName: "fileData " */ "@/views/thePlatformIsSet/components/productManage/components/docData/fileData.vue"
), // ),
meta: { title: "文档资料" }, // meta: { title: "文档资料" },
}, // },
], // ],
}, // },
], // ],
}, // },
], ],
}, },
{ {
......
...@@ -20,9 +20,9 @@ export default { ...@@ -20,9 +20,9 @@ export default {
}; };
}, },
created() { created() {
this.$route.path.indexOf("/home/thePlatformIsSet") == 0 // this.$route.path.indexOf("/home/thePlatformIsSet") == 0
? (this.url = "/home/thePlatformIsSet") // ? (this.url = "/home/thePlatformIsSet")
: ""; // : "";
}, },
methods: {}, methods: {},
......
...@@ -61,9 +61,9 @@ ...@@ -61,9 +61,9 @@
<a-icon type="down" /> <a-icon type="down" />
</a> </a>
<a-menu slot="overlay"> <a-menu slot="overlay">
<a-menu-item> <!-- <a-menu-item>
<a href="javascript:;" @click="fnChangePassword">修改密码</a> <a href="javascript:;" @click="fnChangePassword">修改密码</a>
</a-menu-item> </a-menu-item> -->
<a-menu-item> <a-menu-item>
<a href="javascript:;" @click="Logout">退出登录</a> <a href="javascript:;" @click="Logout">退出登录</a>
</a-menu-item> </a-menu-item>
...@@ -131,7 +131,7 @@ export default { ...@@ -131,7 +131,7 @@ export default {
"/home/dataManagement/dataAdmin", "/home/dataManagement/dataAdmin",
"/home/siteArrange", "/home/siteArrange",
"/home/dataActuary", "/home/dataActuary",
"/home/thePlatformIsSet/setPlatformes", // "/home/thePlatformIsSet/setPlatformes",
]; ];
return arr.includes(this.$route.path); return arr.includes(this.$route.path);
}, },
......
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