mirror of
https://gitee.com/xiongmao1988/rax-medical.git
synced 2025-08-23 20:44:58 +08:00
fix: 2024年9月29日, 16点39分
This commit is contained in:
parent
5700f7d532
commit
0c96b0ca56
|
@ -139,7 +139,392 @@ function init() {
|
|||
|
||||
function handleMenu() {
|
||||
useUserStore().getMenuPathList().then((res: any) => {
|
||||
menus.value = res.menus;
|
||||
// 之前
|
||||
// menus.value = res.menus;
|
||||
menus.value = [
|
||||
{
|
||||
"id": "1788398263951298561",
|
||||
"parentId": "-1",
|
||||
"weight": 1,
|
||||
"name": "权限管理",
|
||||
"path": "/permissions-manage",
|
||||
"parentName": null,
|
||||
"visible": "1",
|
||||
"meta": {
|
||||
"isLink": "",
|
||||
"isIframe": null,
|
||||
"isKeepAlive": false,
|
||||
"icon": "icon-users",
|
||||
"enName": null,
|
||||
"isAffix": false,
|
||||
"title": "权限管理",
|
||||
"isHide": false
|
||||
},
|
||||
"sortOrder": 1,
|
||||
"menuType": "0",
|
||||
"permission": null,
|
||||
"children": [
|
||||
{
|
||||
"id": "1788398728277528578",
|
||||
"parentId": "1788398263951298561",
|
||||
"weight": 1,
|
||||
"name": "角色管理",
|
||||
"path": "/permissions-manage/role-manage",
|
||||
"parentName": null,
|
||||
"visible": "1",
|
||||
"meta": {
|
||||
"isLink": "",
|
||||
"isIframe": null,
|
||||
"isKeepAlive": false,
|
||||
"icon": null,
|
||||
"enName": null,
|
||||
"isAffix": false,
|
||||
"title": "角色管理",
|
||||
"isHide": false
|
||||
},
|
||||
"sortOrder": 1,
|
||||
"menuType": "0",
|
||||
"permission": null
|
||||
},
|
||||
{
|
||||
"id": "1788398980808183809",
|
||||
"parentId": "1788398263951298561",
|
||||
"weight": 1,
|
||||
"name": "菜单管理",
|
||||
"path": "/permissions-manage/menu-manage",
|
||||
"parentName": null,
|
||||
"visible": "1",
|
||||
"meta": {
|
||||
"isLink": "",
|
||||
"isIframe": null,
|
||||
"isKeepAlive": false,
|
||||
"icon": null,
|
||||
"enName": null,
|
||||
"isAffix": false,
|
||||
"title": "菜单管理",
|
||||
"isHide": false
|
||||
},
|
||||
"sortOrder": 1,
|
||||
"menuType": "0",
|
||||
"permission": null
|
||||
},
|
||||
{
|
||||
"id": "1788398520311353346",
|
||||
"parentId": "1788398263951298561",
|
||||
"weight": 1,
|
||||
"name": "医生管理",
|
||||
"path": "/permissions-manage/doctor-manage",
|
||||
"parentName": null,
|
||||
"visible": "1",
|
||||
"meta": {
|
||||
"isLink": "",
|
||||
"isIframe": null,
|
||||
"isKeepAlive": false,
|
||||
"icon": null,
|
||||
"enName": null,
|
||||
"isAffix": false,
|
||||
"title": "医生管理",
|
||||
"isHide": false
|
||||
},
|
||||
"sortOrder": 1,
|
||||
"menuType": "0",
|
||||
"permission": null
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "1788402165467713538",
|
||||
"parentId": "-1",
|
||||
"weight": 3,
|
||||
"name": "远程管理",
|
||||
"path": "/remote-manage",
|
||||
"parentName": null,
|
||||
"visible": "1",
|
||||
"meta": {
|
||||
"isLink": "",
|
||||
"isIframe": null,
|
||||
"isKeepAlive": false,
|
||||
"icon": "icon-anquanbaozhang",
|
||||
"enName": null,
|
||||
"isAffix": false,
|
||||
"title": "远程管理",
|
||||
"isHide": false
|
||||
},
|
||||
"sortOrder": 3,
|
||||
"menuType": "0",
|
||||
"permission": null,
|
||||
"children": [
|
||||
{
|
||||
"id": "1788402936850550785",
|
||||
"parentId": "1788402165467713538",
|
||||
"weight": 1,
|
||||
"name": "远程管理",
|
||||
"path": "/remote-manage/remote-manage",
|
||||
"parentName": null,
|
||||
"visible": "1",
|
||||
"meta": {
|
||||
"isLink": "",
|
||||
"isIframe": null,
|
||||
"isKeepAlive": false,
|
||||
"icon": null,
|
||||
"enName": null,
|
||||
"isAffix": false,
|
||||
"title": "远程管理",
|
||||
"isHide": false
|
||||
},
|
||||
"sortOrder": 1,
|
||||
"menuType": "0",
|
||||
"permission": null
|
||||
},
|
||||
{
|
||||
"id": "1788403057281601537",
|
||||
"parentId": "1788402165467713538",
|
||||
"weight": 1,
|
||||
"name": "预览缩略图",
|
||||
"path": "/remote-manage/remote-thumbnail",
|
||||
"parentName": null,
|
||||
"visible": "1",
|
||||
"meta": {
|
||||
"isLink": "",
|
||||
"isIframe": null,
|
||||
"isKeepAlive": false,
|
||||
"icon": null,
|
||||
"enName": null,
|
||||
"isAffix": false,
|
||||
"title": "预览缩略图",
|
||||
"isHide": false
|
||||
},
|
||||
"sortOrder": 1,
|
||||
"menuType": "0",
|
||||
"permission": null
|
||||
},
|
||||
{
|
||||
"id": "1788403260881506306",
|
||||
"parentId": "1788402165467713538",
|
||||
"weight": 1,
|
||||
"name": "远程控制",
|
||||
"path": "/remote-manage/remote-control",
|
||||
"parentName": null,
|
||||
"visible": "1",
|
||||
"meta": {
|
||||
"isLink": "",
|
||||
"isIframe": null,
|
||||
"isKeepAlive": false,
|
||||
"icon": null,
|
||||
"enName": null,
|
||||
"isAffix": false,
|
||||
"title": "远程控制",
|
||||
"isHide": false
|
||||
},
|
||||
"sortOrder": 1,
|
||||
"menuType": "0",
|
||||
"permission": null
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "1788403685072441346",
|
||||
"parentId": "-1",
|
||||
"weight": 4,
|
||||
"name": "后台管理",
|
||||
"path": "/system-manage",
|
||||
"parentName": null,
|
||||
"visible": "1",
|
||||
"meta": {
|
||||
"isLink": "",
|
||||
"isIframe": null,
|
||||
"isKeepAlive": false,
|
||||
"icon": "icon-houtaiguanli",
|
||||
"enName": null,
|
||||
"isAffix": false,
|
||||
"title": "后台管理",
|
||||
"isHide": false
|
||||
},
|
||||
"sortOrder": 4,
|
||||
"menuType": "0",
|
||||
"permission": null,
|
||||
"children": [
|
||||
{
|
||||
"id": "1788404886811840514",
|
||||
"parentId": "1788403685072441346",
|
||||
"weight": 0,
|
||||
"name": "用户列表",
|
||||
"path": "/system-manage/user-list",
|
||||
"parentName": null,
|
||||
"visible": "1",
|
||||
"meta": {
|
||||
"isLink": "",
|
||||
"isIframe": null,
|
||||
"isKeepAlive": false,
|
||||
"icon": null,
|
||||
"enName": null,
|
||||
"isAffix": false,
|
||||
"title": "用户列表",
|
||||
"isHide": false
|
||||
},
|
||||
"sortOrder": 0,
|
||||
"menuType": "0",
|
||||
"permission": null
|
||||
},
|
||||
{
|
||||
"id": "1788403978384314370",
|
||||
"parentId": "1788403685072441346",
|
||||
"weight": 1,
|
||||
"name": "后台首页",
|
||||
"path": "/system-manage/system-home",
|
||||
"parentName": null,
|
||||
"visible": "1",
|
||||
"meta": {
|
||||
"isLink": "",
|
||||
"isIframe": null,
|
||||
"isKeepAlive": false,
|
||||
"icon": null,
|
||||
"enName": null,
|
||||
"isAffix": false,
|
||||
"title": "后台首页",
|
||||
"isHide": false
|
||||
},
|
||||
"sortOrder": 1,
|
||||
"menuType": "0",
|
||||
"permission": null
|
||||
},
|
||||
{
|
||||
"id": "1788404689717301250",
|
||||
"parentId": "1788403685072441346",
|
||||
"weight": 1,
|
||||
"name": "合作医院地图",
|
||||
"path": "/system-manage/hospitals-map",
|
||||
"parentName": null,
|
||||
"visible": "1",
|
||||
"meta": {
|
||||
"isLink": "",
|
||||
"isIframe": null,
|
||||
"isKeepAlive": false,
|
||||
"icon": null,
|
||||
"enName": null,
|
||||
"isAffix": false,
|
||||
"title": "合作医院地图",
|
||||
"isHide": false
|
||||
},
|
||||
"sortOrder": 1,
|
||||
"menuType": "0",
|
||||
"permission": null
|
||||
},
|
||||
{
|
||||
"id": "1788404150036205569",
|
||||
"parentId": "1788403685072441346",
|
||||
"weight": 1,
|
||||
"name": "合作医院",
|
||||
"path": "/system-manage/hospitals",
|
||||
"parentName": null,
|
||||
"visible": "1",
|
||||
"meta": {
|
||||
"isLink": "",
|
||||
"isIframe": null,
|
||||
"isKeepAlive": false,
|
||||
"icon": null,
|
||||
"enName": null,
|
||||
"isAffix": false,
|
||||
"title": "合作医院",
|
||||
"isHide": false
|
||||
},
|
||||
"sortOrder": 1,
|
||||
"menuType": "0",
|
||||
"permission": null
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "1788405101434376194",
|
||||
"parentId": "-1",
|
||||
"weight": 5,
|
||||
"name": "系统管理",
|
||||
"path": "/logs-manage",
|
||||
"parentName": null,
|
||||
"visible": "1",
|
||||
"meta": {
|
||||
"isLink": "",
|
||||
"isIframe": null,
|
||||
"isKeepAlive": false,
|
||||
"icon": "icon-31shezhi",
|
||||
"enName": null,
|
||||
"isAffix": false,
|
||||
"title": "系统管理",
|
||||
"isHide": false
|
||||
},
|
||||
"sortOrder": 5,
|
||||
"menuType": "0",
|
||||
"permission": null,
|
||||
"children": [
|
||||
{
|
||||
"id": "1788405261312856065",
|
||||
"parentId": "1788405101434376194",
|
||||
"weight": 0,
|
||||
"name": "消息管理",
|
||||
"path": "/logs-manage/message-manage",
|
||||
"parentName": null,
|
||||
"visible": "1",
|
||||
"meta": {
|
||||
"isLink": "",
|
||||
"isIframe": null,
|
||||
"isKeepAlive": false,
|
||||
"icon": null,
|
||||
"enName": null,
|
||||
"isAffix": false,
|
||||
"title": "消息管理",
|
||||
"isHide": false
|
||||
},
|
||||
"sortOrder": 0,
|
||||
"menuType": "0",
|
||||
"permission": null
|
||||
},
|
||||
{
|
||||
"id": "1788405372919091201",
|
||||
"parentId": "1788405101434376194",
|
||||
"weight": 1,
|
||||
"name": "日志管理",
|
||||
"path": "/logs-manage/logs-manage",
|
||||
"parentName": null,
|
||||
"visible": "1",
|
||||
"meta": {
|
||||
"isLink": "",
|
||||
"isIframe": null,
|
||||
"isKeepAlive": false,
|
||||
"icon": null,
|
||||
"enName": null,
|
||||
"isAffix": false,
|
||||
"title": "日志管理",
|
||||
"isHide": false
|
||||
},
|
||||
"sortOrder": 1,
|
||||
"menuType": "0",
|
||||
"permission": null
|
||||
},
|
||||
{
|
||||
"id": "1788405506948075522",
|
||||
"parentId": "1788405101434376194",
|
||||
"weight": 2,
|
||||
"name": "词典管理",
|
||||
"path": "/logs-manage/dict-manage",
|
||||
"parentName": null,
|
||||
"visible": "1",
|
||||
"meta": {
|
||||
"isLink": "",
|
||||
"isIframe": null,
|
||||
"isKeepAlive": false,
|
||||
"icon": null,
|
||||
"enName": null,
|
||||
"isAffix": false,
|
||||
"title": "词典管理",
|
||||
"isHide": false
|
||||
},
|
||||
"sortOrder": 2,
|
||||
"menuType": "0",
|
||||
"permission": null
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
@ -24,14 +24,14 @@ export default defineConfig({
|
|||
proxy: {
|
||||
'/api': {
|
||||
target: 'http://127.0.0.1:6679', // 目标服务器地址
|
||||
// target: 'http://110.41.142.124:6379', // 目标服务器地址
|
||||
// target: 'http://110.41.142.124:6679', // 目标服务器地址
|
||||
ws: true, // 是否启用 WebSocket
|
||||
changeOrigin: true, // 是否修改请求头中的 Origin 字段
|
||||
rewrite: (path) => path.replace(/^\/api/, ''),
|
||||
},
|
||||
'/socket.io': {
|
||||
target: 'ws://127.0.0.1:6679',
|
||||
// target: 'ws://110.41.142.124:6379',
|
||||
// target: 'ws://110.41.142.124:6679',
|
||||
ws: true,
|
||||
changeOrigin: true,
|
||||
rewrite: (path) => path.replace(/^\/socket.io/, ''),
|
||||
|
|
Loading…
Reference in New Issue
Block a user