/**
 * 合并表格数据类型
 */
export interface SpanTableData {
  checkItem: string;
  checkStandard: string;
  checkMethod: string;
  compliance: number | null;
  actualSituation: 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 { TaskExecutionTableData } from '@/types/task-execution/tableData';
import type { UserInfo } from '@/types/push-object';
// 任务管理表单类型
export interface TaskManagementRuleForm
  extends Omit<TaskExecutionTableData, 'id' | 'selfCheckUnit' | 'activeStatus' | 'taskStage' | 'isOverdue'> {
  taskTemplate: number | null;
  selfCheckUnit: string[];
  checkRequirement: string;
  checkUser: UserInfo[];
  isPush: boolean | null;
  createUser: string;
  [key: string]: any;
}
