NEZ-3445 feat: agent增加host查询参数

This commit is contained in:
zyh
2024-04-19 14:55:45 +08:00
parent d41bc433fb
commit 67cbcd4f14
2 changed files with 50 additions and 29 deletions

View File

@@ -878,6 +878,20 @@ export default {
val: ''
},
jsonKey: 'val'
},
host: {
target: this.searchLabel,
isSearchInput: true,
propertyName: 'host',
type: 'string',
defaultJson: {
disabled: false,
label: 'host',
name: 'IP',
type: 'input',
val: ''
},
jsonKey: 'val'
}
}
} else if (path === 'roles') {

View File

@@ -151,7 +151,8 @@ export default {
dcData: [],
searchMsg: { // 给搜索框子组件传递的信息
zheze_none: true,
searchLabelList: [{
searchLabelList: [
{
name: 'ID',
type: 'input',
label: 'ids',
@@ -179,7 +180,13 @@ export default {
label: 'promState',
readonly: true,
disabled: false
}]
}, {
name: 'IP',
type: 'input',
label: 'host',
disabled: false
}
]
},
promServerType: null,
showAgentDownload: false,