Browse Source

添加路由

denny 3 years ago
parent
commit
83b2a38292

+ 93 - 2
VinnoManagementSystem/src/config/route.js

@@ -1,10 +1,51 @@
+
+import { $t } from '@/locales'
 // 静态路由配置
 // 书写格式与动态路由格式一致,全部经由框架统一转换
 // 比较动态路由在meta中多加入了role角色权限,为数组类型。一个菜单是否有权限显示,取决于它以及后代菜单是否有权限。
 // routes 显示在左侧菜单中的路由(显示顺序在动态路由之前)
 // 示例如下
-
 const routes = [
+    {
+		name: "userManage",
+		path: "/userManage",
+		meta: {
+			icon: "el-icon-eleme-filled",
+			title: "用户管理",
+			role: ["YHGL"]
+		},
+		children: [{
+			name: "index",
+			path: "/userManage/index",
+			component: "userManage/index",
+			meta: {
+				icon: "el-icon-menu",
+				title: "用户列表",
+				role: ["YHLB"]
+			}
+		},
+        {
+			name: "roleList",
+			path: "/userManage/roleList",
+			component: "userManage/roleList",
+			meta: {
+				icon: "el-icon-menu",
+				title: "平台角色",
+				role: ["PTJS"]
+			}
+		},
+        {
+			name: "authority",
+			path: "/userManage/authority",
+			component: "userManage/authority",
+			meta: {
+				icon: "el-icon-menu",
+				title: "权限列表",
+				role: ["QXLB"]
+			}
+		}
+        ]
+	},
 	{
 		name: "adminManage",
 		path: "/adminManage",
@@ -44,6 +85,56 @@ const routes = [
 			}
 		}
         ]
+	},
+    {
+		name: "deviceManage",
+		path: "/deviceManage",
+		meta: {
+			icon: "el-icon-eleme-filled",
+			title: "设备管理",
+			role: ["SBGL"]
+		},
+		children: [{
+			name: "deviceList",
+			path: "/deviceManage/deviceList",
+			component: "deviceManage/deviceList",
+			meta: {
+				icon: "el-icon-menu",
+				title: "设备列表",
+				role: ["SBLB"]
+			}
+		},
+        {
+			name: "deviceTypeList",
+			path: "/deviceManage/deviceTypeList",
+			component: "deviceManage/deviceTypeList",
+			meta: {
+				icon: "el-icon-menu",
+				title: "设备类型列表",
+				role: ["SBLXLB"]
+			}
+		}
+        ]
+	},
+    {
+		name: "organizationManage",
+		path: "/organizationManage",
+		meta: {
+			icon: "el-icon-eleme-filled",
+			title: "机构管理",
+			role: ["JGGL"]
+		},
+		children: [{
+			name: "organizationList",
+			path: "/organizationManage/organizationList",
+			component: "organizationManage/organizationList",
+			meta: {
+				icon: "el-icon-menu",
+				title: $t('vinno.organizationList'),//"机构列表",
+				role: ["JGLB"]
+			}
+		}
+        ]
 	}
 ]
 
@@ -63,7 +154,7 @@ export default {
                     const tmp = { ...route }
                     if (this.hasPermission(roles, tmp)) {
                         if (tmp.children) {
-                        tmp.children = this.getRouteList(tmp.children, roles)
+                            tmp.children = this.getRouteList(tmp.children, roles)
                         }
                         menu.push(tmp)
                     }

+ 1 - 0
VinnoManagementSystem/src/layout/components/setting.vue

@@ -66,6 +66,7 @@
 			lang(val){
 				this.$i18n.locale = val
 				this.$TOOL.data.set("APP_LANG", val);
+				this.$emit('fatherMethod');
 			},
 			colorPrimary(val){
 				document.documentElement.style.setProperty('--el-color-primary', val);

+ 14 - 2
VinnoManagementSystem/src/layout/index.vue

@@ -185,7 +185,7 @@
 	<div class="layout-setting" @click="openSetting"><el-icon><el-icon-brush-filled /></el-icon></div>
 
 	<el-drawer title="布局实时演示" v-model="settingDialog" :size="400" append-to-body destroy-on-close>
-		<setting></setting>
+		<setting @fatherMethod="reloadMenu"></setting>
 	</el-drawer>
 </template>
 
@@ -197,6 +197,7 @@
 	import userbar from './components/userbar.vue';
 	import setting from './components/setting.vue';
 	import iframeView from './components/iframeView.vue';
+    import { $t } from '@/locales'
 
 	export default {
 		name: 'index',
@@ -215,7 +216,8 @@
 				menu: [],
 				nextMenu: [],
 				pmenu: {},
-				active: ''
+				active: '',
+				lang: this.$TOOL.data.get('APP_LANG') || this.$CONFIG.LANG,
 			}
 		},
 		computed:{
@@ -248,9 +250,17 @@
 					document.body.setAttribute('data-layout', val)
 				},
 				immediate: true,
+			},
+			lang(val){
+				alert(val);
 			}
 		},
 		methods: {
+			reloadMenu(){
+				var menu = this.$router.sc_getMenu();
+				this.menu = this.filterUrl(menu);
+				this.nextMenu = this.filterUrl(this.pmenu.children);
+			},
 			openSetting(){
 				this.settingDialog = true;
 			},
@@ -267,6 +277,7 @@
 			},
 			//点击显示
 			showMenu(route) {
+				route.meta.title = $t('vinno.' + route.name)
 				this.pmenu = route;
 				this.nextMenu = this.filterUrl(route.children);
 				if((!route.children || route.children.length == 0) && route.component){
@@ -278,6 +289,7 @@
 				var newMap = []
 				map && map.forEach(item => {
 					item.meta = item.meta?item.meta:{};
+					item.meta.title = $t('vinno.' + item.name)
 					//处理隐藏
 					if(item.meta.hidden){
 						return false

+ 3 - 0
VinnoManagementSystem/src/locales/index.js

@@ -25,4 +25,7 @@ const i18n = createI18n({
 	messages,
 })
 
+export function $t(args) {
+	return i18n.global.tc(args)
+}
 export default i18n;

+ 199 - 199
VinnoManagementSystem/src/locales/lang/en.js

@@ -25,203 +25,203 @@ export default {
 		language: 'language',
 		language_msg: 'Translation in progress,Temporarily translated the text of this view',
 	}
-	// ,vinno: {
-	// 	"dashboard": "Dashboard",
-	// 	"page401": "401",
-	// 	"page404": "404",
-	// 	"userManage": "UserManage",
-	// 	"devideManage": "DevideManage",
-	// 	"role": "RoleManage",
-	// 	"userList": "UserList",
-	// 	"deviceList": "DeviceList",
-	// 	"deviceTypeList": "DeviceTypeList",
-	// 	"authority": "AuthorityList",
-	// 	"adminManage":"Admin Manage",
-	// 	"adminRole":"Admin Role",
-	// 	"adminAuthority":"Admin Authority",
-	// 	"organization-router": "Organization",
-	// 	"organizationList": "Organization List",
-	// 	"title": "Login Form",
-	// 	"logIn": "Login",
-	// 	"username": "Account",
-	// 	"password": "Password",
-	// 	"hi": "welcome back, please log in",
-	// 	"placeholder": "Select",
-	// 	"placeholder2": "Please enter keywords",
-	// 	"placeholderUserFullName": "Please enter User FullName",
-	// 	"userState": "UserState",
-	// 	"userName": "UserName",
-	// 	"authenticationState": "Authentication State",
-	// 	"platformRole": "Platform role",
-	// 	"phone": "Phone Number",
-	// 	"account": "Account",
-	// 	"email": "E-mail",
-	// 	"regtime": "Regtime",
-	// 	"query": "Query",
-	// 	"operate": "Operate",
-	// 	"edit": "Edit",
-	// 	"create": "Create",
-	// 	"login": "Login",
-	// 	"queryTypeOptions.0": "Account",
-	// 	"queryTypeOptions.1": "UserID",
-	// 	"queryTypeOptions.2": "NickName",
-	// 	"queryTypeOptions.3": "Phone",
-	// 	"queryTypeOptions.4": "E-mail",
-	// 	"queryTypeOptions.5": "UserName",
-	// 	"queryStateOptions.Nonactivated": "Nonactivated",
-	// 	"queryStateOptions.Activated": "Activated",
-	// 	"logout": "Logout",
-	// 	"createFeature": "Create",
-	// 	"modifyFeature": "Modify",
-	// 	"del": "Delete",
-	// 	"featureName": "Name",
-	// 	"father": "Father",
-	// 	"cancel": "Cancel",
-	// 	"confirm": "Confirm",
-	// 	"featureRequre": "Please enter",
-	// 	"orgRequre": "Please enter",
-	// 	"userRoleName": "UserRoleName",
-	// 	"desc": "description",
-	// 	"adminRoleName":"AdminRoleName",
-	// 	"RoleNum":"RoleUserNum",
-	// 	"isClientShow": "IsClientShow",
-	// 	"audit": "Audit",
-	// 	"createRole": "Create Role",
-	// 	"modifyRole": "Modify Role",
-	// 	"certificationAudit": "Certification audit",
-	// 	"isShow": "IsShow",
-	// 	"notShow": "notShow",
-	// 	"roleRequre": "Please enter",
-	// 	"noMoreThan50Words": "No More Than 50 Words",
-	// 	"success": "Success",
-	// 	"fail": "Fail",
-	// 	"resetPassword": "Reset Password",
-	// 	"sureToDelThisRole": "Are you sure to delete this role?",
-	// 	"delCancel": "Delete Cancel",
-	// 	"roleDel1": "The role is already associated ",
-	// 	"roleDel2": " Users, please remove users before deleting roles",
-	// 	"adminRoleDel2": " administrators, please remove administrators before deleting roles",
-	// 	"password1": "Password",
-	// 	"password2": "Confirm Password",
-	// 	"uncertified": "Uncertified",
-	// 	"waitcertified": "Wait Certified",
-	// 	"rejected": "Rejected",
-	// 	"certified": "Certified",
-	// 	"passwordAgain": "Password Again",
-	// 	"passwprdDiff": "Password Different!",
-	// 	"rank": "Title",
-	// 	"organization": "Organization",
-	// 	"hospital": "Hospital",
-	// 	"department": "Department",
-	// 	"applyRoleName": "Apply Role",
-	// 	"authoritys": "Authority",
-	// 	"roleIcon": "Role Icon",
-	// 	"colorSetting": "Color Setting",
-	// 	"to": "To",
-	// 	"qualificationDocuments": "Qualification",
-	// 	"id": "Identity Cards",
-	// 	"doctorLicense": "Doctor's license",
-	// 	"checkAll": "CheckAll",
-	// 	"pictureOnly": "Only picture format can be uploaded!",
-	// 	"noMore4MB": "Picture size can not exceed 4MB!",
-	// 	"warning": "Warning",
-	// 	"showValid": "When selecting client show, color and icon are required",
-	// 	"isPass": "Approved or not",
-	// 	"yes": "Yes",
-	// 	"no": "No",
-	// 	"rejectReason": "Reject Reason",
-	// 	"inputRejectReason": "Input RejectReason",
-	// 	"rejectReasonRequired": "RejectReason Required",
-	// 	"checkIsPass": "Please choice Approved or not",
-	// 	"devideQueryTypeOptions.0": "Device ID",
-	// 	"devideQueryTypeOptions.1": "Device Type",
-	// 	"devideQueryTypeOptions.2": "Device Name",
-	// 	"devideQueryTypeOptions.3": "Device Model",
-	// 	"devideQueryTypeOptions.4": "Device ShortCode",
-	// 	"devideUserQueryOptions.0": "Account",
-	// 	"devideUserQueryOptions.1": "UserID",
-	// 	"devideUserQueryOptions.2": "NickName",
-	// 	"devideUserQueryOptions.3": "Phone",
-	// 	"devideUserQueryOptions.4": "E-mail",
-	// 	"devideUserQueryOptions.5": "UserName",
-	// 	"devideUserQueryOptions.6": "Hospital",
-	// 	"devideUserQueryOptions.7": "Department",
-	// 	"organizationStateOptions.WaitAudit": "WaitAudit",
-	// 	"organizationStateOptions.Audited": "Audited",
-	// 	"organizationStateOptions.Rejected": "Rejected",
-	// 	"organizationQueryTypeOptions.0": "Organization Name",
-	// 	"organizationQueryTypeOptions.1": "Admin Name",
-	// 	"sureToDelThisOrganization": "Are You Sure To Del This Organization",
-	// 	"sureToDelThisOrganization2": "There has users or devices in the current organization. Are you sure to delete this Organization",
-	// 	"approveOrgMsg": "Are You Sure To Approve This Organization?",
-	// 	"approve": "Approve",
-	// 	"disapprove": "Disapprove",
-	// 	"auditState": "Audit State",
-	// 	"organizationName": "Organization Name",
-	// 	"organizationLogo": "Organization Logo",
-	// 	"countryRegion": "Country Region",
-	// 	"province": "Province",
-	// 	"city": "City",
-	// 	"organizationDirector": "OrganizationDirector",
-	// 	"createTime": "CreateTime",
-	// 	"fatherOrganization": "Father Organization",
-	// 	"hospital2": "Hospital",
-	// 	"deviceRegId": "DeviceRegId",
-	// 	"deviceName": "DeviceName",
-	// 	"deviceCode": "DeviceCode",
-	// 	"shareUserNum": "ShareUserNum",
-	// 	"shareDevice": "Share Device",
-	// 	"cancelShareDevice": "Cancel Share Device",
-	// 	"removeUser": "Remove User",
-	// 	"sureToShareDevice": "Are You Sure To Share Device",
-	// 	"sureToCancelShareDevice": "Are You Sure To Cancel Share Device",
-	// 	"setDirector": "Set Director",
-	// 	"organizationNameRequre": "organizationName Required",
-	// 	"deviceTypeName": "DeviceTypeName",
-	// 	"deviceModelName": "DeviceModelName",
-	// 	"directorName": "DirectorName",
-	// 	"deviceType": "deviceType",
-	// 	"deviceModel": "deviceModel",
-	// 	"typeName": "typeName",
-	// 	"typeCode": "typeCode",
-	// 	"typeNameRequre": "Please enter",
-	// 	"typeCodeRequre": "Please enter",
-	// 	"deviceTypeNotNull": "deviceType Can Not Null",
-	// 	"addDeviceModel": "addDeviceModel",
-	// 	"deviceModel1": "The deviceModel is already associated  ",
-	// 	"deviceModel2": " devices, please remove relevance before deleting deviceModel",
-	// 	"placeholder3": "Please select a user",
-	// 	"bindUser": "bindUser",
-	// 	"createDeviceType":"Create DeviceType",
-	// 	"modifyDeviceType":"Modify DeviceType",
-	// 	"featureUniqueCode":"Feature UniqueCode",
-	// 	"uniqueCodeRequre": "Please enter",
-	// 	"assignAdmin": "Assign Admin",
-	// 	"roleName": "Role Name",
-	// 	"findAdminPlaceholder":"Please input name",
-	// 	"adminQueryTypeOptions.0": "Account Name",
-	// 	"adminQueryTypeOptions.1": "Admin Name",
-	// 	"adminName": "Admin Name",
-	// 	"adminList":"Admin List",
-	// 	"sureToDelThisAdmin": "Are you sure to delete this Admin?",
-	// 	"adminNameRequre": "Please input Account Name",
-	// 	"adminRoleQuery":"AdminRole",
-	// 	"shareRole":"Share Role",
-	// 	"shareRoleTitle":"Please Choose Share Role",
-	// 	"placeholder4": "Please select a Admin",
-	// 	"placeholder5": "Please Choose a Admin Role",
-	// 	"placeholder6": "Please Choose Share Organization",
-	// 	"adminUser": "AdminUser",
-	// 	"placeholderAdminName": "Please input Admin Name",
-	// 	"newPassword1": "Please new Password",
-	// 	"newPassword2": "Please sure new Password",
-	// 	"modifyPassword": "modify Password",
-	// 	"requiredNewPassword": "required Password",
-	// 	"organizationPatientTypeEnum.Person": "Person",
-	// 	"organizationPatientTypeEnum.Animals": "Animals",
-	// 	"organizationPatientType": "Patient Type",
-	// 	"selectOrganizationPatientType": "Please Select Patient Type",
-	// 	"patientSetting": "Patient Setting",
-	// 	"examSetting": "Exam Setting"
-	// }
+	,vinno: {
+		"dashboard": "Dashboard",
+		"page401": "401",
+		"page404": "404",
+		"userManage": "UserManage",
+		"devideManage": "DevideManage",
+		"role": "RoleManage",
+		"userList": "UserList",
+		"deviceList": "DeviceList",
+		"deviceTypeList": "DeviceTypeList",
+		"authority": "AuthorityList",
+		"adminManage":"Admin Manage",
+		"adminRole":"Admin Role",
+		"adminAuthority":"Admin Authority",
+		"organization-router": "Organization",
+		"organizationList": "Organization List",
+		"title": "Login Form",
+		"logIn": "Login",
+		"username": "Account",
+		"password": "Password",
+		"hi": "welcome back, please log in",
+		"placeholder": "Select",
+		"placeholder2": "Please enter keywords",
+		"placeholderUserFullName": "Please enter User FullName",
+		"userState": "UserState",
+		"userName": "UserName",
+		"authenticationState": "Authentication State",
+		"platformRole": "Platform role",
+		"phone": "Phone Number",
+		"account": "Account",
+		"email": "E-mail",
+		"regtime": "Regtime",
+		"query": "Query",
+		"operate": "Operate",
+		"edit": "Edit",
+		"create": "Create",
+		"login": "Login",
+		"queryTypeOptions.0": "Account",
+		"queryTypeOptions.1": "UserID",
+		"queryTypeOptions.2": "NickName",
+		"queryTypeOptions.3": "Phone",
+		"queryTypeOptions.4": "E-mail",
+		"queryTypeOptions.5": "UserName",
+		"queryStateOptions.Nonactivated": "Nonactivated",
+		"queryStateOptions.Activated": "Activated",
+		"logout": "Logout",
+		"createFeature": "Create",
+		"modifyFeature": "Modify",
+		"del": "Delete",
+		"featureName": "Name",
+		"father": "Father",
+		"cancel": "Cancel",
+		"confirm": "Confirm",
+		"featureRequre": "Please enter",
+		"orgRequre": "Please enter",
+		"userRoleName": "UserRoleName",
+		"desc": "description",
+		"adminRoleName":"AdminRoleName",
+		"RoleNum":"RoleUserNum",
+		"isClientShow": "IsClientShow",
+		"audit": "Audit",
+		"createRole": "Create Role",
+		"modifyRole": "Modify Role",
+		"certificationAudit": "Certification audit",
+		"isShow": "IsShow",
+		"notShow": "notShow",
+		"roleRequre": "Please enter",
+		"noMoreThan50Words": "No More Than 50 Words",
+		"success": "Success",
+		"fail": "Fail",
+		"resetPassword": "Reset Password",
+		"sureToDelThisRole": "Are you sure to delete this role?",
+		"delCancel": "Delete Cancel",
+		"roleDel1": "The role is already associated ",
+		"roleDel2": " Users, please remove users before deleting roles",
+		"adminRoleDel2": " administrators, please remove administrators before deleting roles",
+		"password1": "Password",
+		"password2": "Confirm Password",
+		"uncertified": "Uncertified",
+		"waitcertified": "Wait Certified",
+		"rejected": "Rejected",
+		"certified": "Certified",
+		"passwordAgain": "Password Again",
+		"passwprdDiff": "Password Different!",
+		"rank": "Title",
+		"organization": "Organization",
+		"hospital": "Hospital",
+		"department": "Department",
+		"applyRoleName": "Apply Role",
+		"authoritys": "Authority",
+		"roleIcon": "Role Icon",
+		"colorSetting": "Color Setting",
+		"to": "To",
+		"qualificationDocuments": "Qualification",
+		"id": "Identity Cards",
+		"doctorLicense": "Doctor's license",
+		"checkAll": "CheckAll",
+		"pictureOnly": "Only picture format can be uploaded!",
+		"noMore4MB": "Picture size can not exceed 4MB!",
+		"warning": "Warning",
+		"showValid": "When selecting client show, color and icon are required",
+		"isPass": "Approved or not",
+		"yes": "Yes",
+		"no": "No",
+		"rejectReason": "Reject Reason",
+		"inputRejectReason": "Input RejectReason",
+		"rejectReasonRequired": "RejectReason Required",
+		"checkIsPass": "Please choice Approved or not",
+		"devideQueryTypeOptions.0": "Device ID",
+		"devideQueryTypeOptions.1": "Device Type",
+		"devideQueryTypeOptions.2": "Device Name",
+		"devideQueryTypeOptions.3": "Device Model",
+		"devideQueryTypeOptions.4": "Device ShortCode",
+		"devideUserQueryOptions.0": "Account",
+		"devideUserQueryOptions.1": "UserID",
+		"devideUserQueryOptions.2": "NickName",
+		"devideUserQueryOptions.3": "Phone",
+		"devideUserQueryOptions.4": "E-mail",
+		"devideUserQueryOptions.5": "UserName",
+		"devideUserQueryOptions.6": "Hospital",
+		"devideUserQueryOptions.7": "Department",
+		"organizationStateOptions.WaitAudit": "WaitAudit",
+		"organizationStateOptions.Audited": "Audited",
+		"organizationStateOptions.Rejected": "Rejected",
+		"organizationQueryTypeOptions.0": "Organization Name",
+		"organizationQueryTypeOptions.1": "Admin Name",
+		"sureToDelThisOrganization": "Are You Sure To Del This Organization",
+		"sureToDelThisOrganization2": "There has users or devices in the current organization. Are you sure to delete this Organization",
+		"approveOrgMsg": "Are You Sure To Approve This Organization?",
+		"approve": "Approve",
+		"disapprove": "Disapprove",
+		"auditState": "Audit State",
+		"organizationName": "Organization Name",
+		"organizationLogo": "Organization Logo",
+		"countryRegion": "Country Region",
+		"province": "Province",
+		"city": "City",
+		"organizationDirector": "OrganizationDirector",
+		"createTime": "CreateTime",
+		"fatherOrganization": "Father Organization",
+		"hospital2": "Hospital",
+		"deviceRegId": "DeviceRegId",
+		"deviceName": "DeviceName",
+		"deviceCode": "DeviceCode",
+		"shareUserNum": "ShareUserNum",
+		"shareDevice": "Share Device",
+		"cancelShareDevice": "Cancel Share Device",
+		"removeUser": "Remove User",
+		"sureToShareDevice": "Are You Sure To Share Device",
+		"sureToCancelShareDevice": "Are You Sure To Cancel Share Device",
+		"setDirector": "Set Director",
+		"organizationNameRequre": "organizationName Required",
+		"deviceTypeName": "DeviceTypeName",
+		"deviceModelName": "DeviceModelName",
+		"directorName": "DirectorName",
+		"deviceType": "deviceType",
+		"deviceModel": "deviceModel",
+		"typeName": "typeName",
+		"typeCode": "typeCode",
+		"typeNameRequre": "Please enter",
+		"typeCodeRequre": "Please enter",
+		"deviceTypeNotNull": "deviceType Can Not Null",
+		"addDeviceModel": "addDeviceModel",
+		"deviceModel1": "The deviceModel is already associated  ",
+		"deviceModel2": " devices, please remove relevance before deleting deviceModel",
+		"placeholder3": "Please select a user",
+		"bindUser": "bindUser",
+		"createDeviceType":"Create DeviceType",
+		"modifyDeviceType":"Modify DeviceType",
+		"featureUniqueCode":"Feature UniqueCode",
+		"uniqueCodeRequre": "Please enter",
+		"assignAdmin": "Assign Admin",
+		"roleName": "Role Name",
+		"findAdminPlaceholder":"Please input name",
+		"adminQueryTypeOptions.0": "Account Name",
+		"adminQueryTypeOptions.1": "Admin Name",
+		"adminName": "Admin Name",
+		"adminList":"Admin List",
+		"sureToDelThisAdmin": "Are you sure to delete this Admin?",
+		"adminNameRequre": "Please input Account Name",
+		"adminRoleQuery":"AdminRole",
+		"shareRole":"Share Role",
+		"shareRoleTitle":"Please Choose Share Role",
+		"placeholder4": "Please select a Admin",
+		"placeholder5": "Please Choose a Admin Role",
+		"placeholder6": "Please Choose Share Organization",
+		"adminUser": "AdminUser",
+		"placeholderAdminName": "Please input Admin Name",
+		"newPassword1": "Please new Password",
+		"newPassword2": "Please sure new Password",
+		"modifyPassword": "modify Password",
+		"requiredNewPassword": "required Password",
+		"organizationPatientTypeEnum.Person": "Person",
+		"organizationPatientTypeEnum.Animals": "Animals",
+		"organizationPatientType": "Patient Type",
+		"selectOrganizationPatientType": "Please Select Patient Type",
+		"patientSetting": "Patient Setting",
+		"examSetting": "Exam Setting"
+	}
 }

+ 0 - 2
VinnoManagementSystem/src/router/index.js

@@ -31,7 +31,6 @@ document.title = config.APP_NAME
 var isGetRouter = false;
 
 router.beforeEach(async (to, from, next) => {
-
 	NProgress.start()
 	//动态标题
 	document.title = to.meta.title ? `${to.meta.title} - ${config.APP_NAME}` : `${config.APP_NAME}`
@@ -64,7 +63,6 @@ router.beforeEach(async (to, from, next) => {
 		let apiMenu = tool.data.get("MENU") || []
 		let userInfo = tool.data.get("USER_INFO")
 		let userMenu = treeFilter(userRoutes, node => {
-			console.log("userRoutes",userRoutes);
 			return node.meta.role ? node.meta.role.filter(item=>userInfo.RoleCodes.indexOf(item)>-1).length > 0 : true
 		})
 		let menu = [...userMenu, ...apiMenu]

+ 0 - 0
VinnoManagementSystem/src/views/deviceManage/deviceList.vue


+ 0 - 0
VinnoManagementSystem/src/views/deviceManage/deviceTypeList.vue


+ 0 - 0
VinnoManagementSystem/src/views/organizationManage/organizationList.vue


+ 0 - 0
VinnoManagementSystem/src/views/userManage/authority.vue


+ 0 - 0
VinnoManagementSystem/src/views/userManage/index.vue


+ 0 - 0
VinnoManagementSystem/src/views/userManage/roleList.vue