|
|
|
|
@ -100,5 +100,14 @@ export const DeviceLedgerApi = {
|
|
|
|
|
|
|
|
|
|
exportMold: async (params) => {
|
|
|
|
|
return await request.download({ url: `/mes/device-ledger/export-mold`, params })
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
// 查询设备关键件明细
|
|
|
|
|
getDeviceCriticalComponent: async (id: number) => {
|
|
|
|
|
return await request.get({ url: `/mes/device-critical-component/getDetails?deviceId=` + id })
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
exportDeviceComponent: async (params: any) => {
|
|
|
|
|
return await request.download({ url: `/mes/device-critical-component/export-excel`, params })
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|