Files
pqs-9100_client/frontend/src/api/function/functionExample.ts

266 lines
7.1 KiB
TypeScript
Raw Normal View History

2024-11-01 15:27:36 +08:00
import type { Function } from "./interface"
2024-10-17 15:09:27 +08:00
2024-11-01 15:27:36 +08:00
export const functionList : Function.ResFunction[] = [
2024-10-17 15:09:27 +08:00
{
'id': '1',
2024-10-30 15:19:47 +08:00
'pid':'0',
'pids':'',
2024-10-17 15:09:27 +08:00
'name': '检测计划',
2024-10-30 19:07:41 +08:00
'code':'route',
2024-10-17 15:09:27 +08:00
'path':'/plan/planList/index',
2024-10-30 15:19:47 +08:00
'icon':'',
2024-10-28 08:39:09 +08:00
'sort':100,
2024-10-30 15:19:47 +08:00
'type':0,
'remark': '检测计划描述',
'state':1,
2024-10-17 15:09:27 +08:00
},
{
2024-10-30 15:19:47 +08:00
id: '2',
pid:'0',
pids:'',
name: '台账管理',
2024-10-30 19:07:41 +08:00
code:'route',
2024-10-30 15:19:47 +08:00
path:'/machine',
icon:'',
sort:100,
type:0,
remark: '台账管理描述',
state:1,
children:[{
id: '21',
pid:'11',
pids:'',
name: '检测脚本',
2024-10-30 19:07:41 +08:00
code:'route',
2024-10-30 15:19:47 +08:00
path:'/machine/testScript/index',
icon:'',
sort:100,
2024-10-30 19:07:41 +08:00
type:1,
2024-10-30 15:19:47 +08:00
remark: '检测脚本描述',
state:1,
},
{
id: '22',
pid:'22',
pids:'',
name: '被检设备',
2024-10-30 19:07:41 +08:00
code:'route',
2024-10-30 15:19:47 +08:00
path:'/plan/planList/index',
icon:'',
sort:100,
2024-10-30 19:07:41 +08:00
type:1,
2024-10-30 15:19:47 +08:00
remark: '被检设备描述',
state:1,
},
{
id: '23',
pid:'23',
pids:'',
name: '误差体系',
2024-10-30 19:07:41 +08:00
code:'route',
2024-10-30 15:19:47 +08:00
path:'/plan/planList/index',
icon:'',
sort:100,
2024-10-30 19:07:41 +08:00
type:1,
2024-10-30 15:19:47 +08:00
remark: '误差体系描述',
state:1,
},
{
id: '24',
pid:'24',
pids:'',
name: '检测源',
2024-10-30 19:07:41 +08:00
code:'route',
2024-10-30 15:19:47 +08:00
path:'/plan/planList/index',
icon:'',
sort:100,
2024-10-30 19:07:41 +08:00
type:1,
2024-10-30 15:19:47 +08:00
remark: '检测源描述',
state:1,
}]
},
{
id: '3',
pid:'0',
pids:'',
name: '权限管理',
2024-10-30 19:07:41 +08:00
code:'route',
2024-10-30 15:19:47 +08:00
path:'/plan/planList/index',
icon:'',
sort:100,
type:0,
remark: '权限管理描述',
state:1,
2024-10-17 15:09:27 +08:00
children:[{
2024-10-30 15:19:47 +08:00
id: '31',
pid:'1',
pids:'',
name: '用户管理',
2024-10-30 19:07:41 +08:00
code:'route',
2024-10-30 15:19:47 +08:00
path:'/plan/planList/index',
icon:'',
sort:100,
type:0,
remark: '用户管理描述',
state:1,
},
{
id: '32',
pid:'2',
pids:'',
name: '角色管理',
2024-10-30 19:07:41 +08:00
code:'route',
2024-10-30 15:19:47 +08:00
path:'/plan/planList/index',
icon:'',
sort:100,
type:0,
remark: '角色管理描述',
state:1,
},
{
id: '33',
pid:'3',
pids:'',
name: '菜单管理',
2024-10-30 19:07:41 +08:00
code:'route',
2024-10-30 15:19:47 +08:00
path:'/plan/planList/index',
icon:'',
sort:100,
type:0,
remark: '菜单管理描述',
state:1,
}]
2024-10-17 15:09:27 +08:00
},
{
2024-10-30 15:19:47 +08:00
id: '4',
pid:'0',
pids:'',
name: '系统配置',
2024-10-30 19:07:41 +08:00
code:'route',
2024-10-30 15:19:47 +08:00
path:'/plan/planList/index',
icon:'',
sort:100,
type:0,
remark: '系统配置描述',
state:1,
2024-10-17 15:09:27 +08:00
children:[{
2024-10-30 15:19:47 +08:00
id: '41',
pid:'1',
pids:'',
name: '通用配置',
2024-10-30 19:07:41 +08:00
code:'route',
2024-10-30 15:19:47 +08:00
path:'/plan/planList/index',
icon:'',
sort:100,
type:0,
remark: '通用配置描述',
state:1,
},
{
id: '42',
pid:'2',
pids:'',
name: '数据字典',
2024-10-30 19:07:41 +08:00
code:'route',
2024-10-30 15:19:47 +08:00
path:'/plan/planList/index',
icon:'',
sort:100,
type:0,
remark: '数据字典描述',
state:1,
},
{
id: '43',
pid:'3',
pids:'',
name: '报告模版',
2024-10-30 19:07:41 +08:00
code:'route',
2024-10-30 15:19:47 +08:00
path:'/plan/planList/index',
icon:'',
sort:100,
type:0,
remark: '报告模版描述',
state:1,
},
{
id: '44',
pid:'4',
pids:'',
name: '版本注册',
2024-10-30 19:07:41 +08:00
code:'route',
2024-10-30 15:19:47 +08:00
path:'/plan/planList/index',
icon:'',
sort:100,
type:0,
remark: '版本注册描述',
state:1,
},]
2024-10-17 15:09:27 +08:00
},
{
2024-10-30 15:19:47 +08:00
id: '5',
pid:'0',
pids:'',
name: '日志管理',
2024-10-30 19:07:41 +08:00
code:'route',
2024-10-30 15:19:47 +08:00
path:'/plan/planList/index',
icon:'',
sort:100,
type:0,
remark: '日志管理描述',
state:1,
2024-10-17 15:09:27 +08:00
},
{
2024-10-30 15:19:47 +08:00
id: '6',
pid:'0',
pids:'',
name: '统计分析',
2024-10-30 19:07:41 +08:00
code:'route',
2024-10-30 15:19:47 +08:00
path:'/plan/planList/index',
icon:'',
sort:100,
type:0,
remark: '统计分析描述',
state:1,
2024-10-17 15:09:27 +08:00
},
{
2024-10-30 15:19:47 +08:00
id: '7',
pid:'0',
pids:'',
name: '示例',
2024-10-30 19:07:41 +08:00
code:'route',
2024-10-30 15:19:47 +08:00
path:'/plan/planList/index',
icon:'',
sort:100,
type:0,
remark: '示例描述',
state:0,
2024-10-17 15:09:27 +08:00
children:[{
2024-10-30 15:19:47 +08:00
id: '71',
pid:'1',
pids:'',
name: '普通表格',
2024-10-30 19:07:41 +08:00
code:'route',
2024-10-30 15:19:47 +08:00
path:'/plan/planList/index',
icon:'',
sort:100,
type:0,
remark: '普通表格描述',
state:0,
},
{
id: '71',
pid:'1',
pids:'',
name: '表格树',
2024-10-30 19:07:41 +08:00
code:'route',
2024-10-30 15:19:47 +08:00
path:'/plan/planList/index',
icon:'',
sort:100,
type:0,
remark: '表格树描述',
state:0,
}]
},
2024-11-01 15:27:36 +08:00
]
2024-10-17 15:09:27 +08:00