import type { Function } from "./interface"

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

