From 05fd5fd781149b75671fe38d1ffc743a77a9646a Mon Sep 17 00:00:00 2001 From: zhangyu Date: Thu, 16 May 2024 09:58:42 +0800 Subject: [PATCH] =?UTF-8?q?NEZ-3437=20fix:=20Agents=20state=E5=8F=82?= =?UTF-8?q?=E6=95=B0=E4=BB=8E=E9=A1=B5=E9=9D=A2=E8=AE=BF=E9=97=AE=20?= =?UTF-8?q?=E6=9C=AA=E4=BF=9D=E7=95=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/common/mixin/dataList.js | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) 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,