fix:修改查询chart模板 参数不正确的问题
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -90,7 +90,7 @@ export default {
|
||||
endpointNameTmpl: '{{module.name}}-{{asset.name}}',
|
||||
type: 'http',
|
||||
port: 9100,
|
||||
chartIds: [],
|
||||
chartIds: '',
|
||||
configs: {
|
||||
walk: [],
|
||||
snmpCredentialsId: '',
|
||||
|
||||
Reference in New Issue
Block a user