【功能新增】IoT:设备管理界面增加导出设备功能
This commit is contained in:
1 parent
14fe6c559f
commit
8f1c660d1f
2 files changed
+41
-10
No files matched your search
@@ -87,6 +87,11 @@ export const DeviceApi = {
|
||||
return await request.delete({ url: `/iot/device/delete?id=` + id })
|
||||
},
|
||||
|
||||
// 导出设备
|
||||
exportDeviceExcel: async (params: any) => {
|
||||
return await request.download({ url: `/iot/device/export-excel`, params })
|
||||
},
|
||||
|
||||
// 获取设备数量
|
||||
getDeviceCount: async (productId: number) => {
|
||||
return await request.get({ url: `/iot/device/count?productId=` + productId })
|
||||
|
||||
Reference in new issue
Block a user