Newer
Older
xc-business-system / src / views / business / manager / sendReceive / sendReceive-interface.ts
// 列表请求参数
export interface IListQuery {
  customerName: string //	委托方名称
  deliverer: string //	送检人
  helpInstruction: string //	辅助字段
  interchangeType: string //	交接单类型(字典code,1:收入交接单,2:归还交接单,/传0,全部传null或不传)
  labCode: string //	实验室
  manufactureNo: string //	出厂编号
  manufacturer: string //	生产厂家
  measureCompany: string //
  model: string //	规格型号
  orderNo: string //	任务单编号
  planDeliverEndTime: string //	预计送达结束时间
  planDeliverStartTime: string //	预计送达开始时间
  sampleName: string //	设备名称
  sampleNo: string //	设备编号
  sampleStatus: string //	样品状态
  traceDateStart?: string //	检定日期开始
  traceDateEnd?: string //	检定日期结束
  conclusion?: string // 检定结论
  createUserName?: string // 检定员
  limit: number
  offset: number
}

// 列表表头
export interface IList {
  id: string // 主键
  equipmentNo: string // 统一编号
  name: string // 受检设备名称
  orderNo: string // 任务单编号
  customerName: string // 委托方
  deliverer: string // 送检人
  planDeliverTime: string // 预计送达时间
  isUrgent: string | number // 是否加急

  orderId?: string // 委托书id
  sampleId?: string // 设备id
  interchangeDesc?: string // 交接单描述
}

// 基本信息表单
export interface IBasicForm {
  equipmentNo: string // 统一编号
  equipmentName: string // 设备名称
  usageStatus: string // 使用状态
  level: string // 重要等级
  productCountry: string // 生产国家
  manufactureNo: string // 出厂编号
  manufacturer: string // 生产厂家
  productDate: string // 生产日期
  unitPrice: string | number // 单价(万元)
  purchaseDate: string // 购进日期
  model: string // 规格型号
  category: string // 设备分类
  qualityCondition: string // 质量状况
  deptId: string // 使用部门id
  deptName: string // 使用部门
  checkCycle: string | number // 检定周期(月)
  companyId: string // 所在单位id
  companyName: string // 所在单位
  remark: string // 备注
  instructionsFile: string // 说明书(minio存储文件名)(多个用,拼接)
  checkDate: string // 检定日期
  checkOrganization: string // 检定机构
  certificateValid: string // 证书有效期
  meterIdentify: string // 计量标识
  usePosition: string // 使用岗位
  directorName: string // 负责人
  directorId?: string // 负责人id
  rfid: string // RFID标签绑定
  useSign: string // 在用信息(字典code)
  groupInfos: Array<any> // 部门信息
  installLocation: string // 安装位置(多个用,拼接)
  installLocationExt: string // 安装位置(自定义编写)
  testTask: string // 参试任务
  remarkExt: string // 备注(扩展)
  helpInstruction?: string // 辅助字段
  checkDestination?: string // 检定去向
}

// 全部检测流程节点
export interface ISchedule {
  measurePersonId: string // 执行人
  measurePerson: string // 执行人名称
  measureSegmentId: string // 执行部门
  measureSegment: string // 执行部门名称
  executiveItem: string // 检定项目
  alreadyCertifications?: number // 已出具证书总数
  requireCertifications: number // 应出具证书总数
  measureStatus: string // 检测状态: 待分配,待检测,检测中,检测完, 已退回/取消
  measureStatusName: string // 检测状态: 待分配,待检测,检测中,检测完, 已退回/取消
  updateTime: string // 流程更新时间
  sendBackTime: string // 退回时间
  sendBackReason: string // 退回原因
  sendBackPersonId: string // 退回人
  sendBackPerson: string // 退回人
  distributePerson: string // 分配人
  distributeTime: string // 分配时间
  startTime: string // 检定开始时间
  overTime: string // 检定完成时间
}
// 检测流程节点
export interface IScheduleSet {
  id?: string
  measurePersonId: string // 执行人
  measurePerson: string // 执行人名称
  measureSegmentId: string // 执行部门
  measureSegment: string // 执行部门名称
  executiveItem: string // 检定项目
  alreadyCertifications?: number // 已出具证书总数
  requireCertifications: number // 应出具证书总数
  measureStatus: string // 检测状态: 待分配,待检测,检测中,检测完, 已退回/取消
  measureStatusName: string // 检测状态: 待分配,待检测,检测中,检测完, 已退回/取消
  updateTime: string // 流程更新时间
  measureSequence?: string | number // 检测顺序
}
// 退回流程节点
export interface IScheduleBack {
  measurePersonId: string // 执行人
  measurePerson: string // 执行人名称
  measureSegmentId: string // 执行部门
  measureSegment: string // 执行部门名称
  executiveItem: string // 检定项目
  alreadyCertifications?: number // 已出具证书总数
  requireCertifications?: number // 应出具证书总数
  sendBackTime: string // 退回时间
  sendBackReason: string // 退回原因
  sendBackPersonId: string // 退回人
  sendBackPerson: string // 退回人
}