feat(ui): add bool and reference type

This commit is contained in:
songlh
2024-08-20 15:31:11 +08:00
parent 23c3ac44bf
commit 09b10eec45
42 changed files with 2318 additions and 1085 deletions

18
cmdb-ui/src/api/cmdb.js Normal file
View File

@@ -0,0 +1,18 @@
import { axios } from '@/utils/request'
export function searchCI(params, isShowMessage = true) {
return axios({
url: `/v0.1/ci/s`,
method: 'GET',
params: params,
isShowMessage
})
}
export function getCIType(CITypeName, parameter) {
return axios({
url: `/v0.1/ci_types/${CITypeName}`,
method: 'GET',
params: parameter
})
}