128 lines
2.7 KiB
TypeScript
128 lines
2.7 KiB
TypeScript
|
export interface EquipmentPageQuery {
|
||
|
equipmentName?: string
|
||
|
equipmentType?: string
|
||
|
equipmentStatus?: string
|
||
|
equipmentSn?: string
|
||
|
assetCode?: string
|
||
|
brand?: string
|
||
|
locationStatus?: string
|
||
|
healthStatus?: string
|
||
|
responsiblePerson?: string
|
||
|
useStatus?: string
|
||
|
projectId?: string
|
||
|
userId?: string
|
||
|
page?: number
|
||
|
pageSize?: number
|
||
|
orderBy?: string
|
||
|
orderDirection?: string
|
||
|
}
|
||
|
|
||
|
export interface EquipmentReq {
|
||
|
equipmentName: string
|
||
|
equipmentModel: string
|
||
|
equipmentType: string
|
||
|
equipmentStatus: string
|
||
|
useStatus: string
|
||
|
equipmentSn: string
|
||
|
assetCode?: string
|
||
|
brand?: string
|
||
|
specification?: string
|
||
|
locationStatus?: string
|
||
|
physicalLocation?: string
|
||
|
responsiblePerson?: string
|
||
|
healthStatus?: string
|
||
|
purchaseTime?: string
|
||
|
inStockTime?: string
|
||
|
activationTime?: string
|
||
|
expectedScrapTime?: string
|
||
|
actualScrapTime?: string
|
||
|
statusChangeTime?: string
|
||
|
purchaseOrder?: string
|
||
|
supplierName?: string
|
||
|
purchasePrice?: number
|
||
|
currentNetValue?: number
|
||
|
depreciationMethod?: string
|
||
|
depreciationYears?: number
|
||
|
salvageValue?: number
|
||
|
warrantyExpireDate?: string
|
||
|
lastMaintenanceDate?: string
|
||
|
nextMaintenanceDate?: string
|
||
|
maintenancePerson?: string
|
||
|
inventoryBarcode?: string
|
||
|
assetRemark?: string
|
||
|
}
|
||
|
|
||
|
export interface EquipmentResp {
|
||
|
equipmentId: string
|
||
|
assetCode?: string
|
||
|
equipmentName: string
|
||
|
equipmentType: string
|
||
|
equipmentTypeLabel?: string
|
||
|
equipmentModel: string
|
||
|
equipmentSn: string
|
||
|
brand?: string
|
||
|
specification?: string
|
||
|
equipmentStatus: string
|
||
|
equipmentStatusLabel?: string
|
||
|
useStatus: string
|
||
|
locationStatus?: string
|
||
|
locationStatusLabel?: string
|
||
|
physicalLocation?: string
|
||
|
responsiblePerson?: string
|
||
|
healthStatus?: string
|
||
|
healthStatusLabel?: string
|
||
|
purchaseTime?: string
|
||
|
inStockTime?: string
|
||
|
activationTime?: string
|
||
|
expectedScrapTime?: string
|
||
|
actualScrapTime?: string
|
||
|
statusChangeTime?: string
|
||
|
purchaseOrder?: string
|
||
|
supplierName?: string
|
||
|
purchasePrice?: number
|
||
|
currentNetValue?: number
|
||
|
depreciationMethod?: string
|
||
|
depreciationYears?: number
|
||
|
salvageValue?: number
|
||
|
warrantyExpireDate?: string
|
||
|
lastMaintenanceDate?: string
|
||
|
nextMaintenanceDate?: string
|
||
|
maintenancePerson?: string
|
||
|
inventoryBarcode?: string
|
||
|
assetRemark?: string
|
||
|
projectId?: string
|
||
|
projectName?: string
|
||
|
userId?: string
|
||
|
name?: string
|
||
|
createTime?: string
|
||
|
updateTime?: string
|
||
|
}
|
||
|
|
||
|
export interface EquipmentTypeOption {
|
||
|
label: string
|
||
|
value: string
|
||
|
}
|
||
|
|
||
|
export interface EquipmentStatusOption {
|
||
|
label: string
|
||
|
value: string
|
||
|
color: string
|
||
|
}
|
||
|
|
||
|
export interface LocationStatusOption {
|
||
|
label: string
|
||
|
value: string
|
||
|
color: string
|
||
|
}
|
||
|
|
||
|
export interface HealthStatusOption {
|
||
|
label: string
|
||
|
value: string
|
||
|
color: string
|
||
|
}
|
||
|
|
||
|
export interface DepreciationMethodOption {
|
||
|
label: string
|
||
|
value: string
|
||
|
}
|