feat(仪表板): 编辑状态拖拽事件响应区域变更为边缘部分

This commit is contained in:
wangjiahao
2022-12-12 15:59:12 +08:00
parent 833a86ba10
commit 8988eab268
2 changed files with 62 additions and 4 deletions

View File

@@ -8,11 +8,12 @@ export function post(url, data, loading = false) {
data
})
}
export function tableField(id) {
return request({
url: '/dataset/table/getWithPermission/' + id,
method: 'post',
loading: true,
loading: false,
hideMsg: true,
timeout: 60000
})
@@ -34,6 +35,7 @@ export function chartCopy(id, panelId) {
loading: false
})
}
export function chartBatchCopy(params, panelId) {
return request({
url: '/chart/view/chartBatchCopy/' + panelId,
@@ -42,6 +44,7 @@ export function chartBatchCopy(params, panelId) {
loading: false
})
}
export function chartGroupTree(data) {
return request({
url: '/chart/group/tree',
@@ -116,6 +119,7 @@ export function resetViewCacheCallBack(viewId, panelId, callback) {
callback(rep)
})
}
export function resetViewCache(viewId, panelId) {
return request({
url: '/chart/view/resetViewCache/' + viewId + '/' + panelId,