14 lines
466 B
TypeScript
14 lines
466 B
TypeScript
|
|
import { ResPage } from '@/api/interface'
|
||
|
|
import { Device } from './interface'
|
||
|
|
import { ADMIN as rePrefix } from '@/api/config/serviceName'
|
||
|
|
import http from '@/api'
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @name 被检设备管理模块
|
||
|
|
*/
|
||
|
|
// 获取检测脚本列表
|
||
|
|
export const getDeviceList = (params: Device.ReqDeviceParams) => {
|
||
|
|
return http.post<ResPage<Device.ResDeviceList>>(`/RoleList_Post`, params)
|
||
|
|
// return http.post<ResPage<Role.ResRoleList>>(`${rePrefix}/device/list`, params)
|
||
|
|
}
|