Merge remote-tracking branch 'origin/master'

# Conflicts:
#	frontend/src/api/device/device/index.ts
This commit is contained in:
caozehui
2025-01-13 18:21:24 +08:00
15 changed files with 205 additions and 81 deletions

View File

@@ -37,6 +37,11 @@ export const importPqDev=(params: Device.ReqPqDevParams)=>{
return http.upload(`/pqDev/import`, params)
}
//根据设备类型决定电源、icd、模板、通道数、额定电压、额定电流
export const getPqDev = () => {
return http.post(`/devType/list`)
}
//被检设备归档
export const documentedPqDev=(ids:string[])=>{

View File

@@ -25,7 +25,7 @@ export namespace Device {
devChns: number; //设备通道数
devVolt: number; //额定电压V
devCurr: number; //额定电流A
manufacturer: string;//生产厂家
manufacturer?: string | null;//生产厂家
createDate: string; //生产日期
createId: string; //出厂编号
hardwareVersion: string; //固件版本
@@ -56,7 +56,8 @@ export namespace Device {
createTime?: string| null; //创建时间
updateBy?: string| null; //更新用户
updateTime?: string| null; //更新时间
icd: string;
power: string;
}
/**