Newer
Older
smart-metering-front / src / views / device / standingBook / standingBook-interface.ts
// 设备台账相关类型定义
// 固定资产查询参数
export interface fixedAssetsParams {
  abc?: string | null | undefined // ABC		false
  assetNo?: string	// 资产编号		false
  assetType?: string	// 资产类型		false
  equipmentCategory?: string	// 设备类别		false
  equipmentName: string // 设备名称		false
  equipmentNo?: string // 设备编号		false
  equipmentSpecifications?: string //	设备规格		false
  id?: string //
  isCalibrationTestEquipment?: string //	是否是技术指标需要校准检定的设备		false
  isFixedAssets?: string //	是否加入固定资产台账		true
  isMeasureAccount?: string //	是否是测量工装台账		false
  isStandardSupportEquipment?: string //	是否标准配套设备		false
  managerState?: string //	管理状态		false
  manufacturingNo?: string //	出厂编号		false
  mesureType?: string //	检定方式		false
  modelNo?: string //	型号		false
  useDept?: string //	使用部门		fals
  validStartDate?: string //	有效日期		false
  validEndDate?: string //	有效日期		false
  limit?: number
  offset?: number
}
// 下拉框数据类型
export interface selectType {
  name: string
  id: string
  value: string
}
// 部门类型
export interface deptType {
  checked: boolean
  code: string
  id: string
  name: string
  open: boolean
  pCodes: string
  pid: string
  value: string
}

// 文件
export interface file {
  id?: string
  assetId: string
  fileName: string
  minioFileName: string
  remark?: string
}
// 固定资产
export interface fixedAssetsType {
  abc?: string // abc
  assetNo: string // 资产编号
  assetSource: string // 	资产来源
  assetType: string // 资产类型
  attribute: string // 属性
  capitalSource: string // 资本来源
  cardEstablishmentDate: string //  立卡年月
  depreciationMethod: string //	折旧方法
  depreciationPeriod: string //	折旧年限
  enableDate: string //	启用日期
  equipmentCategory: string // 设备类别
  equipmentName: string // 设备名称
  equipmentNo: string // 设备编号
  equipmentSpecifications: string // 设备规格
  equipmentType: string // 设备类型
  fileList: file[] // 文件集合
  id: string // 主键
  installIncidentalExpenses: string // 安装及杂费
  installPlace: string // 	安装地点
  intactState: string // 	完好状态
  isCalibrationTestEquipment: string // 是否是技术指标需要校准检定的设备
  isFixedAssets: string // 是否加入固定资产台账
  isMeasureAccount: string // 是否是测量工装台账
  isStandardSupportEquipment: string // 	是否标准配套设备
  labelBind?: string // 标签绑定
  majorCategory: string // 专业分类
  managerLevel: string // 管理级别
  managerState: string // 	管理状态
  manufacturer: string // 生产厂家
  manufacturerCountry: string // 厂家国别
  manufacturingDate: string // 	出厂年月
  manufacturingNo: string // 	出厂编号
  mesureCycle: number // 	检定周期
  mesureDate?: string // 	检定日期
  mesureDept?: string // 	检定部门
  mesureRange?: string // 	测量范围
  mesureResult: string // 	检定结果
  mesureType: string // 检定方式
  modelNo: string // 	型号
  originValue: string // 原值
  overallDimension: string // 外形尺寸
  presentOriginValue: string // 	目前原值
  purpose: string // 用途
  remark: string // 	备注
  singlePrice: string // 单价
  supportStandardEquipmentName: string // 所属标准装置名称
  supportStandardEquipmentNo: string // 所属标准装置编号
  technicalLevel: string // 技术水平
  uncertainty: string // 不确定度
  useDept: string // 使用部门
  usePerson: string // 使用人
  validDate: string // 有效日期
  version: string // 版本号
  weight: string // 重量(吨)

}

// 固定资产-查询用
export interface fixedAssetsTypeReadable extends fixedAssetsType {
  abcName?: string
  assetTypeName?: string // 资产类型
  capitalSourceName?: string // 资本来源
  depreciationMethodName?: string //	折旧方法
  equipmentCategoryName?: string // 设备类别
  equipmentTypeName?: string // 设备类型
  majorCategoryName?: string // 专业分类
  managerLevelName?: string // 管理级别
  managerStateName?: string // 	管理状态
  mesureResultName?: string // 检定结果
  mesureTypeName?: string // 检定方式
  useDeptName?: string // 使用部门
  usePersonName?: string // 使用人
  createTime?: string // 创建时间
  createUser: string // 创建人
  updateTime?: string // 更新时间
}

// 周检记录
export interface checkedRecord {
  text: string
}

// 状态变更记录
export interface stateChangedRecord {
  deviceStatusName: string
  startTime: string
  endTime: string
  createUserName: string
}

// 使用记录
export interface usedRecord {
  text: string
}

// 检定证书
export interface certificate {
  text: string
}

export interface menuType {
  name: string
  comp: any
}