NEZ-2681 fix:panel更改为dashboard

This commit is contained in:
zyh
2023-03-15 15:39:06 +08:00
parent 0ad70b7463
commit 90692487f0
68 changed files with 371 additions and 1383 deletions

View File

@@ -406,7 +406,7 @@ export const theme = [
export const sameLabels = ['instance', 'module', 'project', 'asset', 'endpoint', 'datacenter', 'datacenter_id', 'endpoint_id', 'module_id', 'nz_agent_id', 'project_id']
// 公共组件的跳转来源
export const fromRoute = {
panel: 'panel',
dashboard: 'dashboard',
explore: 'explore',
alertMessage: 'alertMessage',
alertRule: 'alertRule',

View File

@@ -600,7 +600,7 @@ export const chartResizeTool = {
if (data.height != originalData.height || data.span != originalData.span) {
originalData.height = data.height
originalData.span = data.span
vm.$put('/visual/panel/chart/modify', originalData)
vm.$put('/visual/dashboard/chart/modify', originalData)
}
// 关闭背景阴影
shadow.classList.remove('resize-shadow-active')