
/**
 * 模拟字典静态数据，有后端接口后，需要删除 todo...
 */
/**
 * 模拟字典静态数据，有后端接口后，需要删除 todo...
 */
import type { Dict } from '@/api/interface'

const dictData: Dict[] = [
  {
    id: "1",
    code: 'sex',
    label: '性别',
    children: [
      {
        id: "1",
        label: '男',
        code: 1,
      },
      {
        id: "2",
        label: '女',
        code: 2,
      },
      {
        id: "3",
        label: '未知',
        code: 3,
      },
    ],
  },
  {
    id: "2",
    code: 'status',
    label: '状态',
    children: [
      {
        id: "123456789",
        label: '启用',
        code: 1,
      },
      {
        id: "987654321",
        label: '禁用',
        code: 0,
      },
    ],
  },
  {
    id: "3",
    code: 'resourceType',
    label: '资源类型',
    children: [
      {
        id: "0",
        label: '菜单',
        code: 0,
      },
      {
        id: "1",
        label: '按钮',
        code: 1,
      },
      {
        id: "2",
        label: '公共资源',
        code: 2,
      },
      {
        id: "3",
        label: '服务间调用资源',
        code: 3,
      },
    ],
  },
  {
    id: "4",
    code: 'roleType',
    label: '角色类型',
    children: [
      {
        id: "0",
        label: '超级管理员',
        code: 0,
      },
      {
        id: "1",
        label: '管理员',
        code: 1,
      },
      {
        id: "2",
        label: '普通角色',
        code: 2,
      },
    ],
  },
  {
    id: "5",
    code: 'planTestState',
    label: '检测状态',
    children: [
      {
        id: "0",
        label: '未检',
        code: '未检',
      },
      {
        id: "1",
        label: '检测中',
        code: '检测中',
      },
      {
        id: "2",
        label: '检测完成',
        code: '检测完成',
      },
    ],
  },
  {
    id: "6",
    code: 'errorLevel',
    label: '适用设备等级',
    children: [
      {
        id: "0",
        label: 'A级',
        code: "A级",
      },
      {
        id: "1",
        label: 'S级',
        code: 'S级',
      },
    ],
  },
  {
    id: "7",
    code: 'planReportState',
    label: '报告生成状态',
    children: [
      {
        id: "0",
        label: '未生成',
        code: "未生成",
      },
      {
        id: "1",
        label: '部分生成',
        code: '部分生成',
      },
      {
        id: "2",
        label: '全部生成',
        code: '全部生成',
      },
    ],
  },
  {
    id: "8",
    code: 'planResult',
    label: '检测结果',
    children: [
      {
        id: "0",
        label: '符合',
        code: "符合",
      },
      {
        id: "1",
        label: '不符合',
        code: '不符合',
      },
    ],
  },
  
  {
    id: "9",
    code: 'testScriptValueType',
    label: '检测脚本值类型',
    children: [
      {
        id: "0",
        label: '相对值',
        code: 0,
      },
      {
        id: "1",
        label: '绝对值',
        code: 1,
      },
    ],
  },
  {
    id: "10",
    code: 'testScriptType',
    label: '检测脚本模板类型',
    children: [
      {
        id: "0",
        label: '脚本',
        code: 0,
      },
      {
        id: "1",
        label: '模板',
        code: 1,
      },
    ],
  },
  {
    id: "11",
    code: 'testSourceDevType',
    label: '检测源设备类型',
    children: [
      {
        id: "0",
        label: 'FLUKE6100A电能功率标准源',
        code: 0,
      },
      {
        id: "1",
        label: 'ANGLI-FP2高性能数字信号源',
        code: 1,
      },
      {
        id: "2",
        label: 'DKLN-1电能质量测试分析仪智能检定装置',
        code: 2,
      },
      {
        id: "3",
        label: 'PQC600A高精度电能功率标准源',
        code: 3,
      },
      {
        id: "4",
        label: 'PQV-520电能质量检测装置',
        code: 4,
      },
    ],
  },
  {
    id: "12",
    code: 'testSourceType',
    label: '检测源类型',
    children: [
      {
        id: "0",
        label: '标准源',
        code: 0,
      },
      {
        id: "1",
        label: '高精度设备',
        code: 1,
      },
    ],
  },
]


export default dictData