Newer
Older
smart-metering-front / src / views / business / fieldTest / approve / approve-interface.ts
// 列表查询
export interface IListQuery {
  approvalStatus: string // 审批状态类型code
  customerName: string // 委托方名称
  directorName: string // 负责人
  formId: string // 表单id
  siteExecutiveNo: string // 现场检测编号
  limit: number
  offset: number
}

// 表格数据
export interface IList {
  id: string // 主键
  siteExecutiveNo: string // 现场检测编号
  customerName: string // 委托方名称
  director: string // 联系人
  phone: string // 电话
  fullAddress: string // 委托方地址
  executiveItem: string // 现场测试、校准或检定项目
  directorName: string // 负责人
  applyTime: string // 申请时间
  approvalStatusName: string // 审批状态
  processId: string // 流程实例id
  taskId: string // 任务id-审批时使用
  decisionItem: number | string // 同意、驳回、拒绝按钮权限
}

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

export interface IForm {
  siteExecutiveNo: string // 现场检测编号
  siteExecutiveName: string // 现场检测名字
  applyPerson: string // 申请人
  applyPersonName: string // 申请人名称
  applyTime: string // 申请时间
  directorId: string // 负责人id
  directorName: string // 负责人
  taskSource: string // 任务来源-字典code
  taskSourceName: string // 任务来源-字典value
  orderCode: string // 委托单编号
  orderId: string // 委托单id
  customerId: string // 委托方id
  customerNo: string // 委托方代码
  phone: string // 委托方电话
  deliverer: string // 送检人
  delivererTel: string // 送样人联系方式
  customerName: string // 委托方名称
  customerAddress: string // 委托方地址
  preCost: string // 预计计量费用
  preStartTime: string // 预计开始时间
  preEndTime: string // 预计结束时间
  executiveAddress: string // 检测地址
  executiveEnvironment: string // 现场环境条件
  executiveItem: string // 现场测试、校准或检定项目
  hazardSourceAndPreventionMethod: string // 主要危害源及预防措施
  meterStaffList: any // 现场测试、校准或检定人员
  equipmentInfoList: any // 携带仪器设备
  remark: string // 备注
  processId: string // 流程实例id

  rejectRemark?: string // 历次原因
}