样式调整
This commit is contained in:
@@ -5,8 +5,27 @@ import http from '@/api'
|
||||
/**
|
||||
* @name 检测源管理模块
|
||||
*/
|
||||
// 获取检测脚本列表
|
||||
// 获取检测源列表
|
||||
export const getTestSourceList = (params: TestSource.ReqTestSourceParams) => {
|
||||
return http.post<ResPage<TestSource.TestSourceBO>>(`/testSource/list`, params)
|
||||
// return http.post<ResPage<Role.ResRoleList>>(`${rePrefix}/testSource/list`, params)
|
||||
return http.post(`/pqSource/list`, params)
|
||||
}
|
||||
|
||||
//根据id查询检测源
|
||||
export const getTestSourceById = (params: TestSource.ResTestSource) => {
|
||||
return http.get(`/pqSource/getById?id=${params.id}`)
|
||||
}
|
||||
|
||||
//添加检测源
|
||||
export const addTestSource = (params: TestSource.ResTestSource) => {
|
||||
return http.post(`/pqSource/add`, params)
|
||||
}
|
||||
|
||||
//编辑检测源
|
||||
export const updateTestSource = (params: TestSource.ResTestSource) => {
|
||||
return http.post(`/pqSource/update`, params)
|
||||
}
|
||||
|
||||
//删除检测源
|
||||
export const deleteTestSource = (params: string[]) => {
|
||||
return http.post(`/pqSource/delete`, params)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user