Newer
Older
smart-metering-front / src / views / device / deviceMaintenance / checkList_interface.ts
// 设备检修保养审批列表list
export interface IlistApproval {
  checkDate: string // 检修时间
  checkName: string // 检修名称
  checkNo: string // 检修编号
  checkPerson: string // 检修人
  checkResult: string // 检修单位
  checkResultName: string // 检修单位名称
  createTime: null | string // 创建时间
  createUser: string // 创建人
  createUserName: string // 创建人名称
  fileList: IfileListType[] // 文件列表
  equipmentList?: [] // 设备列表
  id: string // 主键
  isDel: null | string // 删除id
  taskId?: string // 任务id
  processId?: string // 审批id
  managerPoinLocation: string // 管理点位置
  remark: string // 备注
  updateTime: null | string // 更新时间
  approvalStatusName?: string // 审批状态名称
  decisionItem?: string | number
}
// 标准配套设备表头类型
export interface columnsType {
  text: string
  value: string
  align: string
  required: boolean
  width?: string
}
// 下拉框类型
export interface IOptions {
  id: string
  name: string
}
// 设备检修保养验收单审批列表查询type
export interface IlistApprovalTypes {
  approvalStatus: string // 审批状态
  formId: string // 表单id
  applyName: string // 审批名称
  applyNo: string // 审批编号
  applyType: string // 审批类型
  businessKeys: [] // 业务主键列表(工作流查询用,不用前端传)
  checkApplyNo?: string // 检修申请编号
  checkEndDate?: string // 检修结束时间
  checkStartDate?: string // 检修开始时间
  checkApplyName?: string
  createUser: string //  创建人
  applyPerson?: string
  processResult?: string
  applyUnit?: string
  endTime?: string
  startTime?: string
  ids: string[] // 主键集合
  overhaulPerson: string // 检修保养人
  offset: number // 当前页
  limit: number // 一页多少条
}

// 附件列表类型
export interface IfileListType {
  applyId: string // 申请id
  createTime: string // 创建时间
  createUser: string // 创建人
  fileName: string // 文件名
  id: string // 主键
  isDel: string // 删除id
  minioFileName: string // minio存储文件名
  remark: string // 备注
  updateTime: string // 更新时间
}

// 设备保养验收单新增类型
export interface IlistApprovalAddTypes {
  acceptanceCheckId: string // 检修申请id
  applyDesc: string // 申请说明
  applyName: string // 申请名称
  applyNo: string // 申请编号
  applyPerson: string // 申请人
  applyPersonName: string // 申请人姓名
  applyType: string // 申请类型-字典code
  applyTypeName: string // 申请类型名称
  applyUnit: string // 申请单位
  applyUnitName: string // 申请单位名称
  approvalStatus: string // 审批状态-字典code
  approvalStatusName: string // 审批状态名称
  createTime: string // 创建时间
  createUser: string // 创建人
  equipmentInfoList: [] // 设备详细列表
  equipmentList: [] // 	设备列表
  fileList: IfileListType[] // 附件列表
  checkList?: [] // 后端返回设备文件
  id: string // 主键
  isDel: string // 删除标记
  overhaulPerson: string // 检修保养人(设备检修保养验收申请)
  processId: string // 流程实例ID
  processResult: string // 处理结果(设备领用、借用处理结果)
  remark: string // 备注
  taskId: string // 任务id(同意、驳回等操作使用)
  checkDate: string | Date // 检修时间
  time: string // 检修日期
  updateTime: string // 更新时间
  version: string // 版本号
  rejectRemark?: string // 历次驳回日志
}

// 设备列表对象类型
export interface returnRowType {
  id?: string
  equipmentId?: string
}

export interface IlistPageAddTypes {
  acceptanceCheckId: string // 检修申请id
  applyDesc: string // 申请说明
  applyName: string // 申请名称
  applyNo: string // 申请编号
  applyPerson: string // 申请人
  applyPersonName: string // 申请人姓名
  applyType: string // 申请类型
  applyTypeName: string // 申请类型名称
  applyUnit: string // 申请单位
  applyUnitName: string // 申请单位名称
  approvalStatus: string // 审批状态
  approvalStatusName: string // 审批状态名称
  createTime: string // 创建时间
  createUser: string // 创建人
  equipmentInfoList: returnRowType[] // 设备详情列表
  equipmentList: returnRowType[] // 设备列表
  id: string // 主键
  isDel: string // 删除id
  overhaulPerson: string
  processId: string // 审批id
  processResult: string
  remark: string // 备注
  taskId: string // 任务id
  time: string
  updateTime: string // 更新时间
  version: string // 版本号
  rejectRemark?: string // 历次驳回记录
}
// 设备管理查询条件类型
export interface IManageChecklistQuery {
  checkStartDate: string // 检查表开始时间
  ids: string[] // 导出id集合
  checkEndDate: string // 检查表结束时间
  checkName: string // 检查表名称
  checkNo: string // 检查表编号
  offset: number // 当前页
  limit: number // 当前页多少条
}
// 设备管理list类型
export interface IManageChecklist {
  id: string
}
export interface IButton {
  name: string // 按钮名称
  type: '' | 'default' | 'text' | 'primary' | 'success' | 'warning' | 'info' | 'danger'
  proxy?: string // 权限
  show?: Function // 是否显示
}
export interface menuType {
  name: string
  value: string
}
// 字典
export interface dictType {
  id: string
  name: string
  value: string | number
  label?: string // 基本信息添加的信息名称
}

// 设备检修列表表头类型
export interface IColumnsType {
  text: string
  value: string
  align: string
  width?: string
  required: boolean
}