Newer
Older
smart-metering-front / src / views / business / schedule / certPrint / cert-interface.ts
// 证书打印查询
export interface ICertPrintSearch {
  certificateClass: string // 证书类型
  certificateNo: string // 证书编号
  createUserId: number // 创建人id
  printStatus: number | null | string
  orderNo: string // 委托单编号
  customerName: string // 委托方名称
  sampleNo: string // 样品编号
  sampleName: string // 样品名称
  // certificationReportCode: string // 证书编号
  // certificateReportType: string // 证书类型
  printNum: number | '' // 打印次数 -未打印和全部用
  approvalStatus: string | null // 审批状态-审批查询用
  orderId: string // 委托单id
  formId: string // 审批用formId
  reason: string // 操作原因
  sampleId: string // 样品id
  status: string // 状态变更(无需检测状态7,收入状态2,归还6,回退状态2.5.1,终止5)
  ids?: [] | null
  offset: number
  limit: number
}

// 证书打印列表
export interface ICerPrintList {
  certificationId: string // 证书id
  certificationReportCode: string // 证书编号
  certificationReportName: string // 证书名称
  certificateReportType: string // 证书类型
  certificateReportTypeName: string // 证书类型
  sampleNo: string // 样品编号
  sampleName: string // 样品名称
  sampleModel: string // 型号
  manufacturingNo: string // 出厂编号
  orderId: string // 委托单id
  orderNo: string // 委托单编号
  customerNo: string // 客户编号
  customerName: string // 客户名称
  measureCatogory: string // 检校类别
  measureCatogoryName: string // 检校类别
  crateUserName: string // 检定人员
  printNum: string | number // 打印状态-打印次数
  printStatus: string // 可打印状态 0不可打印1可打印
  printStatusName: string // 可打印状态 0不可打印1可打印
  createTime: string // 生成时间
  approvalStatus?: string // 审批状态
  approvalStatusName?: string // 审批状态
  printFileName?: string // 文件名称
  taskId?: string // 任务id
  id: string // 主键
  reason?: string // 操作原因
  sampleId?: string // 样品id
  status?: string // 状态变更(无需检测状态7,收入状态2,归还6,回退状态2.5.1,终止5)
  processId?: string // 流程实例id
  decisionItem?: string | number // 控制同意、驳回、拒绝按钮
}

// 证书详情副本
export interface ICertDetail {
  approvalStatus: string //
  certificateReportCategory: string // 证书类别,多个逗号分割(字典code),检测报告等
  certificateReportCode: string // 证书报告编号
  certificateReportFile: string //
  certificateReportName: string // 证书报告名称
  certificateReportType: string // 证书类型,样品内部校验证书等
  createTime: string //
  createUser: string | number //
  customerAddress: string //
  customerEmail: string //
  customerName: string //
  customerNo: string //
  customerPhone: string //
  deliverer: string //
  delivererId: string //
  delivererTel: string //
  id: string | number // 证书打印id
  isDel: boolean //
  measureContent: string // 检验项目
  measureDeptId: string | number //
  measurePersonId: string | number //
  measureType: string // 校检类别
  orderId: string | number //
  originalRecordId: string | number // 原始记录id
  originalRecordName: string // 原始记录名称
  planDeliverTime: string //
  printNum: string | number //
  printStatus: string //
  processId: string // 流程实例id
  remark: string //
  requireOverTime: string //
  sampleId: string | number // 样品id
  sampleName: string // 样品名称
  sampleNo: string // 样品编号
  signId: string // 电子签章id
  templateId: string | number // 证书报告模板id
}

// 证书详情
export interface ICertification {
  originalRecordCode: string // 原始记录编号
  measureCategory: string // '检校类别'
  certificationId: string // 证书id
  certificationReportCode: string // 证书编号
  certificationReportName: string // 证书名称
  certificateReportType: string // 证书类型
  certificateReportTypeName: string // 证书类型
  sampleId: string // 样品id
  sampleNo: string // 样品编号
  sampleName: string // 样品名称
  sampleModel: string // 型号
  manufacturingNo: string // 出厂编号
  orderId: string // 委托单id
  orderNo: string // 委托单编号
  customerNo: string // 客户编号
  customerName: string // 客户名称
  measureCatogory: string // 检校类别
  measureCatogoryName: string // 检校类别
  createUser: string // 检定人员
  createUserName: string // 检定人员
  printNum: string | number // 打印状态-打印次数
  printStatus: string // 可打印状态 0不可打印1可打印
  createTime: string // 生成时间
  calibrationMajor: string // 检校专业
  issuanceDate: string // 出具日期
  signId: string // 电子签章
  signName: string // 电子签章
  approvalSignId: string // 认可标志专用章
  approvalSignName: string // 认可标志专用章
  certificateReportFile: string // 证书报告附件
  originalRecordId: string // 原始记录id
  originalRecordName: string // 原始记录名称
  roomNumber: string // 检校地点
  temperature: string // 温度
  humidity: string // 相对湿度
  manufacturer: string // 生产厂家
  customerPhone: string // 委托方电话
  customerAddress: string // 委托方地址
  deliverer: string // 送检人
  delivererTel: string // 联系方式
  planDeliverTime: string // 预计送达时间
  requireOverTime: string // 预计检完时间
  measureContent: string // 检定项目
  remark: string // 备注
  measureType?: string // 校验类别专业
  certificateReportCode?: string // 证书编号
  certificateReportName?: string // 证书名称
}

// 证书导出
export interface ICertExport {
  orderId: string
  reason?: string // 操作原因
  sampleId?: string // 样品id
  status?: string // 状态变更(无需检测状态7,收入状态2,归还6,回退状态2.5.1,终止5)
}

// 证书打印
export interface ICerPrint {
  approvalStatus: string | undefined
  certificateClass: string
  certificateNo: string
  createUserId: string | number
  customerName: string
  formId: string
  ids?: [] | null
  orderNo: string
  printStatus: string | number
  sampleName: string
  sampleNo: string
}

// 证书同意/拒绝
export interface ICertApprove {
  comments: string
  id?: string
  taskId: string
}

// 证书发起
export interface ICertInitiate {
  formId: string
  id: string
}