mirror of
https://github.com/dataease/dataease.git
synced 2026-05-20 02:58:10 +08:00
feat:仪表板支持仪表板之间跳转,外部链接跳转
This commit is contained in:
38
frontend/src/api/panel/linkJump.js
Normal file
38
frontend/src/api/panel/linkJump.js
Normal file
@@ -0,0 +1,38 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function getTableFieldWithViewId(viewId) {
|
||||
return request({
|
||||
url: '/linkJump/getTableFieldWithViewId/' + viewId,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
export function queryWithViewId(panelId, viewId) {
|
||||
return request({
|
||||
url: '/linkJump/queryWithViewId/' + panelId + '/' + viewId,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
export function updateJumpSet(requestInfo) {
|
||||
return request({
|
||||
url: '/linkJump/updateJumpSet',
|
||||
method: 'post',
|
||||
data: requestInfo,
|
||||
loading: true
|
||||
})
|
||||
}
|
||||
export function queryTargetPanelJumpInfo(requestInfo) {
|
||||
return request({
|
||||
url: '/linkJump/queryTargetPanelJumpInfo',
|
||||
method: 'post',
|
||||
data: requestInfo,
|
||||
loading: true
|
||||
})
|
||||
}
|
||||
|
||||
export function queryPanelJumpInfo(panelId) {
|
||||
return request({
|
||||
url: '/linkJump/queryPanelJumpInfo/' + panelId,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
8
frontend/src/api/panel/panelView.js
Normal file
8
frontend/src/api/panel/panelView.js
Normal file
@@ -0,0 +1,8 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function detailList(panelId) {
|
||||
return request({
|
||||
url: '/panel/view/detailList/' + panelId,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user