diff --git a/nezha-fronted/src/components/common/rightBox/administration/modelBox.vue b/nezha-fronted/src/components/common/rightBox/administration/modelBox.vue index c42806846..f95df463b 100644 --- a/nezha-fronted/src/components/common/rightBox/administration/modelBox.vue +++ b/nezha-fronted/src/components/common/rightBox/administration/modelBox.vue @@ -25,7 +25,8 @@ :data="'visual/panel/chart'" :tb-columns="ChartSearchShowFields" :params="{ - varType: 1, panelId: 0 + varType: 1, panelId: 0, + returnChildren:0,groupId:0, }" :multiple="true" :language="language" diff --git a/nezha-fronted/src/components/common/rightBox/chartTempBox.vue b/nezha-fronted/src/components/common/rightBox/chartTempBox.vue index 73451d71c..2bc80f8ff 100644 --- a/nezha-fronted/src/components/common/rightBox/chartTempBox.vue +++ b/nezha-fronted/src/components/common/rightBox/chartTempBox.vue @@ -274,7 +274,7 @@ export default { // dc, brand, model, type }, getChartTempData () { - this.$get('visual/panel/chart', { pageSize: -1, panelId: 0, returnChildren: 0, varType: this.editChartTemp.varType }).then(response => { + this.$get('visual/panel/chart', { pageSize: -1, panelId: 0, returnChildren: 0, varType: this.editChartTemp.varType, groupId: 0 }).then(response => { if (response.code === 200) { this.chartTempArr = response.data.list } diff --git a/nezha-fronted/src/components/common/rightBox/moduleBox.vue b/nezha-fronted/src/components/common/rightBox/moduleBox.vue index a14e521e4..6e56aee86 100644 --- a/nezha-fronted/src/components/common/rightBox/moduleBox.vue +++ b/nezha-fronted/src/components/common/rightBox/moduleBox.vue @@ -90,7 +90,8 @@ :data="'visual/panel/chart'" :tb-columns="ChartSearchShowFields" :params="{ - varType: 2, panelId: 0 + varType: 2, panelId: 0, + returnChildren:0,groupId:0, }" :multiple="true" :language="language" @@ -671,7 +672,7 @@ export default { }, mounted () { this.getWalkData() - this.ChartTemplateList() + // this.ChartTemplateList() }, created () { this.getProjectList() diff --git a/nezha-fronted/src/components/page/monitor/module/moduleList.vue b/nezha-fronted/src/components/page/monitor/module/moduleList.vue index fff828dbe..1dd11895a 100644 --- a/nezha-fronted/src/components/page/monitor/module/moduleList.vue +++ b/nezha-fronted/src/components/page/monitor/module/moduleList.vue @@ -90,7 +90,7 @@ export default { endpointNameTmpl: '{{module.name}}-{{asset.name}}', type: 'http', port: 9100, - chartIds: [], + chartIds: '', configs: { walk: [], snmpCredentialsId: '',