Newer
Older
xc-business-system / src / views / business / taskMeasure / certificate / certificate-interface.ts
// 请求参数
export interface IListQuery {
  approvalStatus: string //	审批状态类型code,导出接口不用传
  certificateName: string //		证书名称
  certificateNo: string //		证书编号
  formId: string //		表单id(流程定义对应的表单id,等价于业务id),导出接口不用传
  groupCode: string //		部门(字典code)
  labCode: string //		实验室(字典code)
  manufactureNo: string //		出厂编号
  manufacturer: string //		生产厂家
  measureCategory: string //		检校类别(字典code)
  model: string //		规格型号
  sampleName: string //		受检设备名称
  sampleNo: string //		被检设备统一编号
  staffName: string //		检定员名字
  traceDateEnd: string //		测试、校准或检定日期结束
  traceDateStart: string //		测试、校准或检定日期开始

  measureValidDateStart: string // 检定有效期开始
  measureValidDateEnd: string // 检定有效期结束
  conclusion: string // 检定结论
  customerName: string // 委托方
  deptName: string // 使用部门
  measureDataNo: string // 检定数据编号
  offset: number
  limit: number
}

// 表格
export interface IList {
  id: string // 主键
  certificateNo: string // 证书报告编号
  certificateName: string // 证书报告名称
  sampleNo: string // 被检设备统一编号
  sampleName: string // 被检设备名称
  model: string // 规格型号
  measureCategory: string // 检校类别
  measureCategoryName: string // 检校类别名称
  staffName: string // 检定员
  traceDate: string // 测试、校准或检定日期
  approvalStatusName: string // 审批状态名称
  approvalStatus: string // 审批状态
  processId: string
  taskId: string
  manufactureNo?: string // 出厂编号
  dataId?: string // 检定数据id
  measureDataNo?: string // 检定数据编号
  measureValidDate?: string // 检定有效期

  labCodeName?: string // 实验室名称
}

// 表单
export interface IForm {
  constCertificateExcelData: any
  constRecordExcelData: any
  certificateReportCode?: string // 证书报告编号
  sampleName: string // 被检设备名称
  model: string // 规格型号
  manufacturingNo: string // 出厂编号
  certificateFile: string // 证书报告
  originalRecordFile: string // 原始记录
}