import { FourTableType } from '@/pages/B_enterTibet/B1collect/type'

export interface ID3StaffItem extends FourTableType {
  memberIds: string
  sonTypeName: SON_TYPE_NAME
}

export type D3StaffSearchType = {
  name: string
  key: keyof ID3StaffParams
  type: '输入框' | '下拉框' | '级联' | '日期选择'
  data?: any[]
}

export interface ID3StaffParams {
  pageSize: number
  pageNum: number
  num: string
  inDate?: string[]
  date?: string[]
  userType: string
  status: string
  userName: string
  deptName: string
  sonTypeName?: SON_TYPE_NAME
  storageInId?: string
}

export type D3StaffOversiderType = {
  name: string
  phone: string
  papers: string
  remark: string
}

/**
 * 人员类型
 */
export enum SON_TYPE_NAME {
  // 外部人员
  OUT = '1',
  // 内部人员
  IN = '2'
}
