联调算法库
修改冀北台账问题
This commit is contained in:
40
src/api/supervision-boot/database/index.ts
Normal file
40
src/api/supervision-boot/database/index.ts
Normal file
@@ -0,0 +1,40 @@
|
||||
import createAxios from '@/utils/request'
|
||||
/**
|
||||
* 查询所有算法库树结构
|
||||
*/
|
||||
export const queryAllAlgorithmLibrary = () => {
|
||||
return createAxios({
|
||||
url: '/supervision-boot/libalgorithm/queryAllAlgorithmLibrary',
|
||||
method: 'GET'
|
||||
})
|
||||
}
|
||||
/**
|
||||
* 算法库新增
|
||||
*/
|
||||
export const addAlgorithm = (data: any) => {
|
||||
return createAxios({
|
||||
url: '/supervision-boot/libalgorithm/add',
|
||||
method: 'POST',
|
||||
data
|
||||
})
|
||||
}
|
||||
/**
|
||||
* 算法库删除
|
||||
*/
|
||||
export const deleteyById = (data: any) => {
|
||||
return createAxios({
|
||||
url: '/supervision-boot/libalgorithm/deleteyById',
|
||||
method: 'GET',
|
||||
params:data
|
||||
})
|
||||
}
|
||||
/**
|
||||
* 算法库修改
|
||||
*/
|
||||
export const updateAlgorithmLibrary = (data: any) => {
|
||||
return createAxios({
|
||||
url: '/supervision-boot/libalgorithm/updateAlgorithmLibrary',
|
||||
method: 'POST',
|
||||
data
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user