diff --git a/nezha-fronted/src/components/common/mixin/dataList.js b/nezha-fronted/src/components/common/mixin/dataList.js index 32cf2dbb3..21983305f 100644 --- a/nezha-fronted/src/components/common/mixin/dataList.js +++ b/nezha-fronted/src/components/common/mixin/dataList.js @@ -316,6 +316,7 @@ export default { orderBy: { target: this.$data, propertyName: 'orderBy', type: 'string' }, ids: { target: this.searchLabel, + isSearchInput: true, propertyName: 'ids', type: 'string', defaultJson: { @@ -330,6 +331,7 @@ export default { }, name: { target: this.searchLabel, + isSearchInput: true, propertyName: 'name', type: 'string', defaultJson: { @@ -344,6 +346,7 @@ export default { }, location: { target: this.searchLabel, + isSearchInput: true, propertyName: 'location', type: 'string', defaultJson: { @@ -357,9 +360,9 @@ export default { }, state: { target: this.searchLabel, + isSearchInput: true, propertyName: 'state', type: 'string', - isSearchInput: true, defaultJson: { disabled: false, label: 'dcState', @@ -380,6 +383,7 @@ export default { orderBy: { target: this.$data, propertyName: 'orderBy', type: 'string' }, ids: { target: this.searchLabel, + isSearchInput: true, propertyName: 'ids', type: 'string', defaultJson: { @@ -394,6 +398,7 @@ export default { }, code: { target: this.searchLabel, + isSearchInput: true, propertyName: 'code', type: 'string', defaultJson: { @@ -407,6 +412,7 @@ export default { }, value: { target: this.searchLabel, + isSearchInput: true, propertyName: 'value', type: 'string', defaultJson: { @@ -420,6 +426,7 @@ export default { }, lang: { target: this.searchLabel, + isSearchInput: true, propertyName: 'lang', type: 'string', defaultJson: { @@ -441,6 +448,7 @@ export default { orderBy: { target: this.$data, propertyName: 'orderBy', type: 'string' }, ids: { target: this.searchLabel, + isSearchInput: true, propertyName: 'ids', type: 'string', defaultJson: { @@ -455,6 +463,7 @@ export default { }, name: { target: this.searchLabel, + isSearchInput: true, propertyName: 'name', type: 'string', defaultJson: { @@ -469,9 +478,9 @@ export default { }, brandIds: { target: this.searchLabel, + isSearchInput: true, propertyName: 'brandIds', type: 'number', - isSearchInput: true, defaultJson: { disabled: false, label: 'brandIds', @@ -494,6 +503,7 @@ export default { orderBy: { target: this.$data, propertyName: 'orderBy', type: 'string' }, type: { target: this.searchLabel, + isSearchInput: true, propertyName: 'type', type: 'number', defaultJson: { @@ -508,6 +518,7 @@ export default { }, username: { target: this.searchLabel, + isSearchInput: true, propertyName: 'username', type: 'string', defaultJson: { @@ -522,9 +533,9 @@ export default { }, operation: { target: this.searchLabel, + isSearchInput: true, propertyName: 'operation', type: 'string', - isSearchInput: true, defaultJson: { disabled: false, id: 13, @@ -537,9 +548,9 @@ export default { }, state: { target: this.searchLabel, + isSearchInput: true, propertyName: 'state', type: 'string', - isSearchInput: true, defaultJson: { disabled: false, id: 16, @@ -553,6 +564,7 @@ export default { }, operaId: { target: this.searchLabel, + isSearchInput: true, propertyName: 'operaId', type: 'string', defaultJson: { @@ -567,6 +579,7 @@ export default { }, params: { target: this.searchLabel, + isSearchInput: true, propertyName: 'params', type: 'string', defaultJson: { @@ -589,6 +602,7 @@ export default { orderBy: { target: this.$data, propertyName: 'orderBy', type: 'string' }, ids: { target: this.searchLabel, + isSearchInput: true, propertyName: 'ids', type: 'string', defaultJson: { @@ -603,9 +617,9 @@ export default { }, state: { target: this.searchLabel, + isSearchInput: true, propertyName: 'state', type: 'string', - isSearchInput: true, defaultJson: { disabled: false, label: 'promState', @@ -618,9 +632,9 @@ export default { }, dc: { target: this.searchLabel, + isSearchInput: true, propertyName: 'dc', type: 'number', - isSearchInput: true, defaultJson: { name: 'Date center', type: 'dc', @@ -634,9 +648,9 @@ export default { }, type: { target: this.searchLabel, + isSearchInput: true, propertyName: 'type', type: 'number', - isSearchInput: true, defaultJson: { disabled: false, label: 'promType', @@ -657,6 +671,7 @@ export default { orderBy: { target: this.$data, propertyName: 'orderBy', type: 'string' }, name: { target: this.searchLabel, + isSearchInput: true, propertyName: 'name', type: 'string', defaultJson: { @@ -679,6 +694,7 @@ export default { orderBy: { target: this.$data, propertyName: 'orderBy', type: 'string' }, ids: { target: this.searchLabel, + isSearchInput: true, propertyName: 'ids', type: 'string', defaultJson: { @@ -692,6 +708,7 @@ export default { }, name: { target: this.searchLabel, + isSearchInput: true, propertyName: 'name', type: 'string', defaultJson: { @@ -706,6 +723,7 @@ export default { }, gname: { target: this.searchLabel, + isSearchInput: true, propertyName: 'gname', type: 'string', defaultJson: { @@ -727,6 +745,7 @@ export default { orderBy: { target: this.$data, propertyName: 'orderBy', type: 'string' }, ids: { target: this.searchLabel, + isSearchInput: true, propertyName: 'ids', type: 'string', defaultJson: { @@ -740,6 +759,7 @@ export default { }, name: { target: this.searchLabel, + isSearchInput: true, propertyName: 'name', type: 'string', defaultJson: { @@ -754,9 +774,9 @@ export default { }, type: { target: this.searchLabel, + isSearchInput: true, propertyName: 'type', type: 'string', - isSearchInput: true, defaultJson: { disabled: false, label: 'credentialType', @@ -777,6 +797,7 @@ export default { orderBy: { target: this.$data, propertyName: 'orderBy', type: 'string' }, ids: { target: this.searchLabel, + isSearchInput: true, propertyName: 'ids', type: 'string', defaultJson: { @@ -790,6 +811,7 @@ export default { }, name: { target: this.searchLabel, + isSearchInput: true, propertyName: 'name', type: 'string', defaultJson: { diff --git a/nezha-fronted/src/components/page/alert/alertMessage.vue b/nezha-fronted/src/components/page/alert/alertMessage.vue index 703688d02..dc803d072 100644 --- a/nezha-fronted/src/components/page/alert/alertMessage.vue +++ b/nezha-fronted/src/components/page/alert/alertMessage.vue @@ -397,9 +397,9 @@ export default { orderBy: { target: this.$data, propertyName: 'orderBy', type: 'string' }, ids: { target: this.searchLabel, + isSearchInput: true, propertyName: 'ids', type: 'number', - defaultJson: { disabled: false, id: 26, @@ -412,9 +412,9 @@ export default { }, endpointName: { target: this.searchLabel, + isSearchInput: true, propertyName: 'endpointName', type: 'string', - defaultJson: { disabled: false, label: 'endpointName', @@ -426,9 +426,9 @@ export default { }, summary: { target: this.searchLabel, + isSearchInput: true, propertyName: 'summary', type: 'number', - defaultJson: { disabled: false, label: 'summary', @@ -440,9 +440,9 @@ export default { }, ruleName: { target: this.searchLabel, + isSearchInput: true, propertyName: 'ruleName', type: 'string', - defaultJson: { disabled: false, label: 'ruleName', @@ -454,6 +454,7 @@ export default { }, assetName: { target: this.searchLabel, + isSearchInput: true, propertyName: 'assetName', type: 'string', defaultJson: { @@ -467,9 +468,9 @@ export default { }, labels: { target: this.searchLabel, + isSearchInput: true, propertyName: 'labels', type: 'string', - defaultJson: { disabled: false, label: 'labels', diff --git a/nezha-fronted/src/components/page/alert/alertRule.vue b/nezha-fronted/src/components/page/alert/alertRule.vue index 223588bb8..98b6bcb15 100644 --- a/nezha-fronted/src/components/page/alert/alertRule.vue +++ b/nezha-fronted/src/components/page/alert/alertRule.vue @@ -344,6 +344,7 @@ export default { orderBy: { target: this.$data, propertyName: 'orderBy', type: 'string' }, ids: { target: this.searchLabel, + isSearchInput: true, propertyName: 'ids', type: 'string', defaultJson: { @@ -358,9 +359,9 @@ export default { }, severityIds: { target: this.searchLabel, + isSearchInput: true, propertyName: 'severityIds', type: 'string', - isSearchInput: true, defaultJson: { disabled: false, id: 4, @@ -377,9 +378,9 @@ export default { }, type: { target: this.searchLabel, + isSearchInput: true, propertyName: 'type', type: 'number', - isSearchInput: true, defaultJson: { name: 'Type', id: 5, @@ -395,6 +396,7 @@ export default { }, name: { target: this.searchLabel, + isSearchInput: true, propertyName: 'name', type: 'string', defaultJson: { diff --git a/nezha-fronted/src/components/page/alert/alertSilence.vue b/nezha-fronted/src/components/page/alert/alertSilence.vue index 721aed5e2..23a4ee30c 100644 --- a/nezha-fronted/src/components/page/alert/alertSilence.vue +++ b/nezha-fronted/src/components/page/alert/alertSilence.vue @@ -255,6 +255,7 @@ export default { orderBy: { target: this.$data, propertyName: 'orderBy', type: 'string' }, ids: { target: this.searchLabel, + isSearchInput: true, propertyName: 'ids', type: 'string', defaultJson: { @@ -269,6 +270,7 @@ export default { }, matchers: { target: this.searchLabel, + isSearchInput: true, propertyName: 'matchers', type: 'string', defaultJson: { diff --git a/nezha-fronted/src/components/page/asset/asset.vue b/nezha-fronted/src/components/page/asset/asset.vue index 457a5c5fc..4dc689a4d 100644 --- a/nezha-fronted/src/components/page/asset/asset.vue +++ b/nezha-fronted/src/components/page/asset/asset.vue @@ -770,6 +770,7 @@ export default { ids: { target: this.searchLabel, propertyName: 'ids', + isSearchInput: true, type: 'string', defaultJson: { disabled: false, @@ -783,6 +784,7 @@ export default { }, name: { target: this.searchLabel, + isSearchInput: true, propertyName: 'name', type: 'string', defaultJson: { @@ -797,6 +799,7 @@ export default { }, sn: { target: this.searchLabel, + isSearchInput: true, propertyName: 'sn', type: 'number', defaultJson: { @@ -811,6 +814,7 @@ export default { }, manageIp: { target: this.searchLabel, + isSearchInput: true, propertyName: 'manageIp', type: 'number', defaultJson: { diff --git a/nezha-fronted/src/components/page/config/assetMeta.vue b/nezha-fronted/src/components/page/config/assetMeta.vue index 27f00a8cd..d7bddedd7 100644 --- a/nezha-fronted/src/components/page/config/assetMeta.vue +++ b/nezha-fronted/src/components/page/config/assetMeta.vue @@ -297,7 +297,7 @@ export default { ids: { target: this.searchLabel, propertyName: 'ids', - + isSearchInput: true, type: 'string', defaultJson: { disabled: false, @@ -311,6 +311,7 @@ export default { }, name: { target: this.searchLabel, + isSearchInput: true, propertyName: 'name', type: 'string', defaultJson: { @@ -325,6 +326,7 @@ export default { }, key: { target: this.searchLabel, + isSearchInput: true, propertyName: 'key', type: 'string', defaultJson: { diff --git a/nezha-fronted/src/components/page/config/system/systemCommon.js b/nezha-fronted/src/components/page/config/system/systemCommon.js index a660b5960..948ff775f 100644 --- a/nezha-fronted/src/components/page/config/system/systemCommon.js +++ b/nezha-fronted/src/components/page/config/system/systemCommon.js @@ -140,6 +140,7 @@ export const parentTableCommon = { orderBy: { target: this.$data, propertyName: 'orderBy', type: 'string' }, ids: { target: this.searchLabel, + isSearchInput: true, propertyName: 'ids', type: 'string', defaultJson: { @@ -153,6 +154,7 @@ export const parentTableCommon = { }, name: { target: this.searchLabel, + isSearchInput: true, propertyName: 'name', type: 'string', defaultJson: { @@ -175,6 +177,7 @@ export const parentTableCommon = { orderBy: { target: this.$data, propertyName: 'orderBy', type: 'string' }, ids: { target: this.searchLabel, + isSearchInput: true, propertyName: 'ids', type: 'string', defaultJson: { @@ -188,6 +191,7 @@ export const parentTableCommon = { }, name: { target: this.searchLabel, + isSearchInput: true, propertyName: 'name', type: 'string', defaultJson: { @@ -222,6 +226,7 @@ export const parentTableCommon = { }, ids: { target: this.searchLabel, + isSearchInput: true, propertyName: 'ids', type: 'string', defaultJson: { @@ -235,6 +240,7 @@ export const parentTableCommon = { }, name: { target: this.searchLabel, + isSearchInput: true, propertyName: 'name', type: 'string', defaultJson: { diff --git a/nezha-fronted/src/components/page/config/template/chartTemp.vue b/nezha-fronted/src/components/page/config/template/chartTemp.vue index 3e8b2995d..a2014a04e 100644 --- a/nezha-fronted/src/components/page/config/template/chartTemp.vue +++ b/nezha-fronted/src/components/page/config/template/chartTemp.vue @@ -347,6 +347,7 @@ export default { orderBy: { target: this.$data, propertyName: 'orderBy', type: 'string' }, ids: { target: this.searchLabel, + isSearchInput: true, propertyName: 'ids', type: 'string', defaultJson: { @@ -361,6 +362,7 @@ export default { }, name: { target: this.searchLabel, + isSearchInput: true, propertyName: 'name', type: 'string', defaultJson: { @@ -375,9 +377,9 @@ export default { }, type: { target: this.searchLabel, + isSearchInput: true, propertyName: 'type', type: 'string', - isSearchInput: true, defaultJson: { disabled: false, label: 'chartType', @@ -390,9 +392,9 @@ export default { }, state: { target: this.searchLabel, + isSearchInput: true, propertyName: 'state', type: 'string', - isSearchInput: true, defaultJson: { disabled: false, label: 'varType', diff --git a/nezha-fronted/src/components/page/config/terminalLog.vue b/nezha-fronted/src/components/page/config/terminalLog.vue index 1f2bbb885..bcd70fe42 100644 --- a/nezha-fronted/src/components/page/config/terminalLog.vue +++ b/nezha-fronted/src/components/page/config/terminalLog.vue @@ -223,6 +223,7 @@ export default { orderBy: { target: this.$data, propertyName: 'orderBy', type: 'string' }, host: { target: this.searchLabel, + isSearchInput: true, propertyName: 'host', type: 'string', defaultJson: { @@ -237,6 +238,7 @@ export default { }, username: { target: this.searchLabel, + isSearchInput: true, propertyName: 'username', type: 'string', defaultJson: { @@ -251,6 +253,7 @@ export default { }, loginUser: { target: this.searchLabel, + isSearchInput: true, propertyName: 'loginUser', type: 'string', defaultJson: { @@ -265,6 +268,7 @@ export default { }, remoteAddr: { target: this.searchLabel, + isSearchInput: true, propertyName: 'remoteAddr', type: 'string', defaultJson: { @@ -279,6 +283,7 @@ export default { }, uuid: { target: this.searchLabel, + isSearchInput: true, propertyName: 'uuid', type: 'string', defaultJson: { @@ -293,9 +298,9 @@ export default { }, protocol: { target: this.searchLabel, + isSearchInput: true, propertyName: 'protocol', type: 'string', - isSearchInput: true, defaultJson: { disabled: false, id: 16, @@ -309,9 +314,9 @@ export default { }, state: { target: this.searchLabel, + isSearchInput: true, propertyName: 'state', type: 'number', - isSearchInput: true, defaultJson: { disabled: false, id: 17, diff --git a/nezha-fronted/src/components/page/config/user.vue b/nezha-fronted/src/components/page/config/user.vue index cbf21dd00..614083a29 100644 --- a/nezha-fronted/src/components/page/config/user.vue +++ b/nezha-fronted/src/components/page/config/user.vue @@ -210,9 +210,9 @@ export default { orderBy: { target: this.$data, propertyName: 'orderBy', type: 'string' }, name: { target: this.searchLabel, + isSearchInput: true, propertyName: 'name', type: 'string', - defaultJson: { disabled: false, id: 'name', diff --git a/nezha-fronted/src/components/page/monitor/endpoint/endpointList.vue b/nezha-fronted/src/components/page/monitor/endpoint/endpointList.vue index ea7087ba3..0300bb2dc 100644 --- a/nezha-fronted/src/components/page/monitor/endpoint/endpointList.vue +++ b/nezha-fronted/src/components/page/monitor/endpoint/endpointList.vue @@ -793,6 +793,7 @@ export default { orderBy: { target: this.$data, propertyName: 'orderBy', type: 'string' }, ids: { target: this.searchLabel, + isSearchInput: true, propertyName: 'ids', type: 'string', defaultJson: { @@ -807,6 +808,7 @@ export default { }, name: { target: this.searchLabel, + isSearchInput: true, propertyName: 'name', type: 'string', defaultJson: { @@ -821,6 +823,7 @@ export default { }, assetName: { target: this.searchLabel, + isSearchInput: true, propertyName: 'assetName', type: 'string', defaultJson: { diff --git a/nezha-fronted/src/components/page/monitor/module/moduleList.vue b/nezha-fronted/src/components/page/monitor/module/moduleList.vue index cdb25d1fb..3180e991d 100644 --- a/nezha-fronted/src/components/page/monitor/module/moduleList.vue +++ b/nezha-fronted/src/components/page/monitor/module/moduleList.vue @@ -464,6 +464,7 @@ export default { orderBy: { target: this.$data, propertyName: 'orderBy', type: 'string' }, ids: { target: this.searchLabel, + isSearchInput: true, propertyName: 'ids', type: 'string', defaultJson: { @@ -478,6 +479,7 @@ export default { }, name: { target: this.searchLabel, + isSearchInput: true, propertyName: 'name', type: 'string', defaultJson: { @@ -492,9 +494,9 @@ export default { }, projectIds: { target: this.searchLabel, + isSearchInput: true, propertyName: 'projectIds', type: 'number', - isSearchInput: true, defaultJson: { disabled: false, id: 11, diff --git a/nezha-fronted/src/components/page/monitor/project/projectList.vue b/nezha-fronted/src/components/page/monitor/project/projectList.vue index 04761999c..47bb4ec5e 100644 --- a/nezha-fronted/src/components/page/monitor/project/projectList.vue +++ b/nezha-fronted/src/components/page/monitor/project/projectList.vue @@ -168,8 +168,8 @@ export default { orderBy: { target: this.$data, propertyName: 'orderBy', type: 'string' }, ids: { target: this.searchLabel, + isSearchInput: true, propertyName: 'ids', - type: 'string', defaultJson: { disabled: false, @@ -185,7 +185,7 @@ export default { target: this.searchLabel, propertyName: 'name', type: 'string', - + isSearchInput: true, defaultJson: { disabled: false, id: 'name',