Newer
Older
xc-business-system / src / views / business / taskMeasure / myTask / myTask-interface.ts
dutingting on 16 Aug 2023 1 KB 修复报错
// 请求参数
export interface IListQuery {
  equipmentNo: string // 统一编号
  equipmentName: string // 受检设备名称
  customerName: string // 委托方
  orderCode: string // 任务单编号
  startTime: string // 要求检完时间-开始
  endTime: string // 要求检完时间-结束
  measureStatus: string // 检测状态
  offset: number
  limit: number
}

// 表格
export interface IList {
  id: string // 主键
  equipmentNo: string // 统一编号
  equipmentName: string // 受检设备名称
  orderCode: string // 任务单编号
  customerName: string // 委托方
  requireOverTime: string // 要求检完时间
  isUrgent: string // 是否加急
  isUrgentName?: string // 是否加急名称
  currentSegment: string // 当前环节
  currentCertifications: number // 当前证书数
  alreadyCertifications: number // 已出具证书总数
  requireCertifications: number // 应出具证书总数
  distributeState: string // 分发性质-初次分发、退回分发
  handOutProperty: string // 分发性质-初次分发、退回分发
}

// 退回
export interface ISendBack {
  id: string // 实验室检测id
  measurePersonId: string // 检定人员id
  measureSegmentId: string //	检定环节,实验室id
  operateReason: string // 退回原因
  orderId: string // 委托书id
  sampleId: string //	样品id
}

// 实验室任务/我的任务列表
export interface IlabMeasureList extends IList {
  id: string // 实验室检测id
  measurePersonId: string // 检测人id
  measureSegmentId: string // 检测部门id
  currentSegmentId: string // 检测部门id (新)
}