| @@ -102,6 +102,7 @@ | |||||
| "metric": "Metrics", | "metric": "Metrics", | ||||
| "deviceNum": "Devices", | "deviceNum": "Devices", | ||||
| "mixedItemMessage": "This parameter contains multiple types of data and cannot be filtered.", | "mixedItemMessage": "This parameter contains multiple types of data and cannot be filtered.", | ||||
| "notSupportSelected": "Filtering is not supported for this parameter type.", | |||||
| "displayColumn": "Displayed columns", | "displayColumn": "Displayed columns", | ||||
| "hide": "Hide Record", | "hide": "Hide Record", | ||||
| "unhide": "Unhide Record", | "unhide": "Unhide Record", | ||||
| @@ -102,6 +102,7 @@ | |||||
| "metric": "度量指标", | "metric": "度量指标", | ||||
| "deviceNum": "device数目", | "deviceNum": "device数目", | ||||
| "mixedItemMessage": "该参数含有多种类型数据,无法筛选展示", | "mixedItemMessage": "该参数含有多种类型数据,无法筛选展示", | ||||
| "notSupportSelected": "该参数类型暂不支持筛选", | |||||
| "displayColumn": "请选择展示列", | "displayColumn": "请选择展示列", | ||||
| "hide": "隐藏记录", | "hide": "隐藏记录", | ||||
| "unhide": "取消隐藏", | "unhide": "取消隐藏", | ||||
| @@ -1979,7 +1979,11 @@ export default { | |||||
| this.keysOfMixed.length && | this.keysOfMixed.length && | ||||
| this.keysOfMixed.includes(key)||this.keysOfListType.includes(key) | this.keysOfMixed.includes(key)||this.keysOfListType.includes(key) | ||||
| ) { | ) { | ||||
| this.$message.error(this.$t('modelTraceback.mixedItemMessage')); | |||||
| if (this.keysOfListType.includes(key)) { | |||||
| this.$message.error(this.$t('modelTraceback.notSupportSelected')); | |||||
| } else { | |||||
| this.$message.error(this.$t('modelTraceback.mixedItemMessage')); | |||||
| } | |||||
| this.$nextTick(() => { | this.$nextTick(() => { | ||||
| this.initChart(); | this.initChart(); | ||||
| }); | }); | ||||