forked from github/dataease
commit
e7f7ab174b
@ -28,6 +28,7 @@
|
||||
"axios": "^1.3.3",
|
||||
"crypto-js": "^4.1.1",
|
||||
"dayjs": "^1.11.9",
|
||||
"echarts": "^5.5.1",
|
||||
"element-plus-secondary": "^0.6.1",
|
||||
"element-resize-detector": "^1.2.4",
|
||||
"exceljs": "^4.4.0",
|
||||
|
19
core/core-frontend/src/api/relation/index.ts
Normal file
19
core/core-frontend/src/api/relation/index.ts
Normal file
@ -0,0 +1,19 @@
|
||||
import request from '@/config/axios'
|
||||
|
||||
export function getDatasourceRelationship(id) {
|
||||
return request.post({
|
||||
url: `/relation/datasource/${id}`
|
||||
})
|
||||
}
|
||||
|
||||
export function getDatasetRelationship(id) {
|
||||
return request.post({
|
||||
url: `/relation/dataset/${id}`
|
||||
})
|
||||
}
|
||||
|
||||
export function getPanelRelationship(id) {
|
||||
return request.post({
|
||||
url: `/relation/dv/${id}`
|
||||
})
|
||||
}
|
Loading…
Reference in New Issue
Block a user