/**
 * 合并表格数据类型
 */
export interface SpanTableData {
  id: number;
  inspectItem: string;
  inspectStandard: string;
  inspectMethod: string;
  compliance: number | null;
  actualSituation: string;
  inspectImages: string[];
  index?: number;
  [key: string]: any;
}
// 定义合并表格中的行类型
export interface MainRow extends SpanTableData {
  rowType: 'main';
}

export interface FooterRow {
  rowType: 'footer';
  footerType: 'inspectionAndSelftest' | 'reviewResult';
  [key: string]: any;
}
export type MergedRow = MainRow | FooterRow;

import type { TaskManagementItemResponse } from '@/types/disaster-precaution';
// 任务管理表单类型
export interface TaskManagementRuleForm extends Omit<TaskManagementItemResponse, 'id'> {
  id?: number;
  deptName?: string;
  [key: string]: any;
}
