Newer
Older
smart-metering-front / src / views / business / lab / reportOnCredentials / report_interface.ts
export interface IFromListInfoType {
  templateName: string // 证书报告模板名称
  signName: string // 电子签章名称
  approvalSignName: string // 认可标准专用章
  originalRecordName: string // 原始记录名称
  calibrationPlace: string // 校验地点
  temperature: string // 温度
  humidity: string // 相对湿度
  sampleNo: string // 样品编号
  sampleName: string // 样品名称
  leaveNo: string // 出厂编号
  customerId: string // 委托方代码
  customerName: string // 委托方名称
  customerPhone: string // 委托方电话
  customerLocation: string // 委托方地址
  censorshipUser: string // 送检人
  phone: string // 送检人联系方式
  expectedDeliveryTime: string // 预计送达时间
  expectedCompletionTime: string // 预计检完时间
  verificationItems: string // 检定项目
  model: string // 型号
  taskId: string
  manufacturer: string // 生产厂家
  applyEquipmentList: IApplyEquipmentList[]
  fixedAssetsList: IFixedAssetsList[]
  fileList: IFileList[]
}

export interface IApplyEquipmentList {
  equipmentName: string // 设备名称
  equipmentNo: string // 设备编号
  modelNo: string // 型号
  mesureResult: string
  validDate: string // 到期时间
  id: string // 主键
  equipmentId: string // 设备id
  standardApplyId: string
}

export interface IFixedAssetsList {
  equipmentName: string // 设备名称
  equipmentNo: string // 设备编号
  modelNo: string // 型号
  mesureResult: string
  validDate: string // 到期时间
  id: string // 主键
  equipmentId: string // 设备id
  standardApplyId: string
}

export interface IFileList {
  fileName: string
  choose: boolean
}

// 字典
export interface dictType {
  id: string
  name: string
  value: string | number
  label?: string // 基本信息添加的信息名称
}

// 右上角菜单
export interface MenuType {
  name: string
  value: any
}

// 操作下的按钮组
export interface IButton {
  name: string
  type: '' | 'default' | 'text' | 'primary' | 'success' | 'warning' | 'info' | 'danger'
  permission?: string
  proxy?: string
  show?: Function // 是否显示
}

// 证书报告列表查询条件
export interface IListQuery {
  approvalStatus: string // 审批状态
  certificateReportCode: string // 证书号
  customerName: string // 委托方名称
  measureCategory: string // 检校类别
  orderCode: string // 委托书编号
  sampleName: string // 样品名称
  sampleNo: string // 样品编号
  formId: string
  offset: number
  limit: number
}

// 证书报告列表
export interface IList {
  id: string // 主键
  certificateReportCode: string // 证书号
  certificateReportName: string // 证书名称
  sampleNo: string // 样品编号
  sampleName: string // 样品名称
  sampleModel: string // 型号
  manufacturingNo: string // 出厂编号
  orderCode: string // 委托书编号
  measureCategory: string // 检校类别
  measurePersonId: string // 检定人员
  approvalStatus: string // 审批状态
  approvalStatusName: string // 审批状态名称
  createTime: string // 创建时间
  taskId: string // 任务id
  processId: string // 流程实例id
}

// 所用设备表头
export interface columnsType {
  text: string // 文本
  value: string // 列值
  align: string // 是否居中、左、右
  required: Boolean // 控制表格表头红色星号
  choose: Boolean
  time: Boolean
  width?: string // 列宽
}