export const interviewMethodOptions = [
  { label: '面谈', value: 'FACE', elTagType: 'primary' },
  { label: '电话', value: 'PHONE', elTagType: 'success' },
  { label: '视频', value: 'VIDEO', elTagType: 'warning' },
  { label: '微信', value: 'WECHAT', elTagType: 'success' }
];

export const interviewResultOptions = [
  { label: '达成共识', value: 'AGREED', elTagType: 'success' },
  { label: '部分共识', value: 'PARTIAL', elTagType: 'warning' },
  { label: '需进一步沟通', value: 'FOLLOW_UP', elTagType: 'danger' },
  { label: '家长未参加', value: 'NO_SHOW', elTagType: 'info' }
];

export const followStatusOptions = [
  { label: '待跟进', value: '0', elTagType: 'warning' },
  { label: '已跟进', value: '1', elTagType: 'success' },
  { label: '无需跟进', value: '2', elTagType: 'info' }
];

export interface InterviewVO extends BaseEntity {
  id: number | string;
  studentId: number | string;
  studentName: string;
  parentId: number | string;
  parentName: string;
  interviewTime: string;
  method: string;
  location: string;
  interviewerId: number | string;
  interviewerName: string;
  topic: string;
  content: string;
  studentStatus: string;
  result: string;
  conclusion: string;
  nextAction: string;
  nextFollowTime: string;
  followStatus: string;
  attachments: string;
  remark: string;
}

export interface InterviewQuery extends PageQuery {
  studentId: number | string;
  method: string;
  result: string;
  followStatus: string;
}

export interface InterviewForm {
  id?: number | string;
  studentId: number | string;
  parentId?: number | string;
  interviewTime: string;
  method: string;
  location?: string;
  topic?: string;
  content?: string;
  studentStatus?: string;
  result?: string;
  conclusion?: string;
  nextAction?: string;
  nextFollowTime?: string;
  followStatus?: string;
  attachments?: string;
  remark?: string;
}
