|
|
@@ -13,7 +13,7 @@ export interface PersonalProtectiveEquipment {
|
|
|
ppeCategory?: string; // 物品分类
|
|
|
ppeName?: string; // 物品名称
|
|
|
serviceMonths?: string; // 使用期限(月)
|
|
|
- status?: boolean; // 用品状态:true-启用,false-禁用
|
|
|
+ status?: number | string; // 用品状态:1-启用,0-禁用
|
|
|
remark?: string; // 备注
|
|
|
isDeleted?: string | number; // 0-未删除,大于0(时间戳)-已删除
|
|
|
createdAt?: string; // 创建时间
|
|
|
@@ -23,7 +23,7 @@ export interface PersonalProtectiveEquipment {
|
|
|
/** 分页查询请求体 - 查询条件 */
|
|
|
export interface QueryPersonalProtectiveEquipmentCommonPageReq {
|
|
|
name?: string; // 标题
|
|
|
- status?: boolean; // 状态:true-启用,false-禁用
|
|
|
+ status?: number | string; // 状态:1-启用,0-禁用
|
|
|
applyDeptCode?: string; // 申请人部门CODE/申请部门编码
|
|
|
applyDeptName?: string; // 申请人部门名称
|
|
|
}
|
|
|
@@ -60,9 +60,8 @@ export function updatePersonalProtectiveEquipment(data: PersonalProtectiveEquipm
|
|
|
/** 查询劳防用品详情(id 必传,RequestParam) */
|
|
|
export function queryPersonalProtectiveEquipmentDetail(id: number) {
|
|
|
return http.request<PersonalProtectiveEquipment>({
|
|
|
- url: '/personalProtectiveEquipment/queryPersonalProtectiveEquipmentDetail',
|
|
|
+ url: `/personalProtectiveEquipment/queryPersonalProtectiveEquipmentDetail?id=${id}`,
|
|
|
method: 'post',
|
|
|
- params: { id },
|
|
|
});
|
|
|
}
|
|
|
|