mirror of
https://github.com/dataease/dataease.git
synced 2026-05-19 10:18:11 +08:00
refactor: 解决冲突
This commit is contained in:
@@ -28,11 +28,11 @@ export function getChartTree(data) {
|
||||
})
|
||||
}
|
||||
|
||||
export function chartCopy(id) {
|
||||
export function chartCopy(id, panelId) {
|
||||
return request({
|
||||
url: '/chart/view/chartCopy/' + id,
|
||||
url: '/chart/view/chartCopy/' + id + '/' + panelId,
|
||||
method: 'post',
|
||||
loading: true
|
||||
loading: false
|
||||
})
|
||||
}
|
||||
export function chartGroupTree(data) {
|
||||
@@ -69,3 +69,10 @@ export function ajaxGetDataOnly(id, data) {
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function pluginTypes() {
|
||||
return request({
|
||||
url: '/plugin/view/types',
|
||||
method: 'post'
|
||||
})
|
||||
}
|
||||
|
||||
@@ -154,3 +154,11 @@ export function initPanelData(panelId, callback) {
|
||||
callback(response)
|
||||
})
|
||||
}
|
||||
|
||||
export function queryPanelViewTree() {
|
||||
return request({
|
||||
url: '/panel/group/queryPanelViewTree',
|
||||
method: 'post'
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user