迁移设备损耗品管理功能
This commit is contained in:
@@ -27,3 +27,16 @@ export function deleteItem (data) {
|
||||
export function createExportTask (data) {
|
||||
return request({ url: BASE + 'data_export_task', method: 'post', data: params('device_management_device_consumables_device_consumables_items_data_export_task', data) })
|
||||
}
|
||||
|
||||
export function getImportTemplate (data) {
|
||||
return request({
|
||||
url: BASE + 'get_import_template',
|
||||
method: 'post',
|
||||
responseType: 'blob',
|
||||
data: params('device_management_device_consumables_device_consumables_items_get_import_template', data)
|
||||
})
|
||||
}
|
||||
|
||||
export function importData (data) {
|
||||
return request({ url: BASE + 'data_import', method: 'post', data: params('device_management_device_consumables_device_consumables_items_data_import', data) })
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user