// 子项数据结构
export interface SubItem {
  id: string;
  name: string;
  order: number;
}

// 检查项数据结构
export interface CheckItem {
  id: string;
  name: string;
  isRequired: boolean;
  order: number;
}

// 模拟子项数据
export const mockSubItems: SubItem[] = [
  { id: '1', name: '班前', order: 1 },
  { id: '2', name: '洗车机', order: 2 },
  { id: '3', name: '便利店', order: 3 },
  { id: '4', name: '安全键', order: 4 },
  { id: '5', name: '其他', order: 5 },
];

// 模拟检查项数据
export const mockCheckItems: CheckItem[] = [
  {
    id: '28011',
    name: '[A] 查看炉内燃烧是否无明显明火，无大量可燃性烟雾，无异味，无杂质小广告',
    isRequired: true,
    order: 1,
  },
  {
    id: '28012',
    name: '查看炉内炉排与侧墙托砖板间隙是否无泄漏，无裂缝、无烧损、无杂质小广告',
    isRequired: true,
    order: 2,
  },
  {
    id: '28013',
    name: '[A] 用胶塞、雨刮器是否清洁，无破损',
    isRequired: true,
    order: 3,
  },
  {
    id: '28014',
    name: '[A] 查看活动炉排底部以及后墙是否平整，无杂物、无裂缝、无烧损、无杂质小广告',
    isRequired: true,
    order: 4,
  },
  {
    id: '28015',
    name: '[A] 查看所有的建议无破损裂缝、无损坏、无变形',
    isRequired: true,
    order: 5,
  },
  {
    id: '28016',
    name: '加热机立柱上安装的燃气泄漏报警器是否工作正常，并进行相应测试记录',
    isRequired: true,
    order: 6,
  },
];

// 模拟表单数据
export const mockFormData = {
  name: '巡检内容 (A)',
  isRequired: true,
};
