已修改角色、新增用户、检测源列表、被检设备列表、检测脚本列表
This commit is contained in:
13
frontend/src/api/device/device.ts
Normal file
13
frontend/src/api/device/device.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
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)
|
||||
}
|
||||
Reference in New Issue
Block a user