diff --git a/nezha-fronted/src/assets/css/components/page/dashboard/explore/exploreHistory.scss b/nezha-fronted/src/assets/css/components/page/dashboard/explore/exploreHistory.scss index 54fdceebc..33953b43c 100644 --- a/nezha-fronted/src/assets/css/components/page/dashboard/explore/exploreHistory.scss +++ b/nezha-fronted/src/assets/css/components/page/dashboard/explore/exploreHistory.scss @@ -53,6 +53,7 @@ .query-prompt-content-title{ max-width: 100%; display: inline-block; + line-height: 22px; } .query-prompt-content-icon{ margin-left: 10px; diff --git a/nezha-fronted/src/components/common/mixin/dataList.js b/nezha-fronted/src/components/common/mixin/dataList.js index 7fe0ed77d..6d795d626 100644 --- a/nezha-fronted/src/components/common/mixin/dataList.js +++ b/nezha-fronted/src/components/common/mixin/dataList.js @@ -838,10 +838,10 @@ export default { }, jsonKey: 'val' }, - state: { + statuses: { target: this.searchLabel, isSearchInput: true, - propertyName: 'state', + propertyName: 'statuses', type: 'string', defaultJson: { disabled: false, @@ -849,9 +849,11 @@ export default { name: 'State', readonly: true, type: 'select', - val: '' + val: '', + valnum: '', + listStr: 'promState' }, - jsonKey: 'val' + jsonKey: 'valnum' }, dcIds: { target: this.searchLabel, @@ -880,9 +882,11 @@ export default { name: 'Type', readonly: true, type: 'select', - val: '' + val: '', + valnum: '', + listStr: 'promType' }, - jsonKey: 'val' + jsonKey: 'valnum' }, host: { target: this.searchLabel,