refactor: 解决冲突

This commit is contained in:
taojinlong
2022-02-18 18:03:21 +08:00
163 changed files with 7160 additions and 1653 deletions

View File

@@ -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'
})
}

View File

@@ -154,3 +154,11 @@ export function initPanelData(panelId, callback) {
callback(response)
})
}
export function queryPanelViewTree() {
return request({
url: '/panel/group/queryPanelViewTree',
method: 'post'
})
}