mirror of
https://github.com/dataease/dataease.git
synced 2026-05-20 02:58:10 +08:00
feat: 仪表板支持接收外部参数
This commit is contained in:
19
frontend/src/api/panel/outerParams.js
Normal file
19
frontend/src/api/panel/outerParams.js
Normal file
@@ -0,0 +1,19 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function queryWithPanelId(panelId) {
|
||||
return request({
|
||||
url: '/outerParams/queryWithPanelId/' + panelId,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
|
||||
export function updateOuterParamsSet(requestInfo) {
|
||||
return request({
|
||||
url: '/outerParams/updateOuterParamsSet',
|
||||
method: 'post',
|
||||
data: requestInfo,
|
||||
loading: true
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user