diff --git a/src/components/advancedSearch/TextMode.vue b/src/components/advancedSearch/TextMode.vue index 59bfdc76..b95aa984 100644 --- a/src/components/advancedSearch/TextMode.vue +++ b/src/components/advancedSearch/TextMode.vue @@ -180,7 +180,7 @@ export default { if (keyInfo.isKey) { // 检查是否包含枚举字段,包含的话进行替换 const enumKey = parser.conversionEnum(keyInfo.key) - const errorList = parser.validateStr(newKey) + const errorList = parser.validateStr(enumKey) if (_.isEmpty(errorList)) { // 补全模糊搜索 toRaw(this.codeMirror).setValue(parser.handleEntityTypeByStr(str)) diff --git a/src/components/advancedSearch/showhint/TextSearch/codeMirror.scss b/src/components/advancedSearch/showhint/TextSearch/codeMirror.scss deleted file mode 100644 index 22f401e0..00000000 --- a/src/components/advancedSearch/showhint/TextSearch/codeMirror.scss +++ /dev/null @@ -1,73 +0,0 @@ -.CodeMirror-hint-active { - background-color: #eaf1f5; - color: #5a90b0; -} - -.el-dropdown-menu__item.CodeMirror-hint { - line-height: 20px; - /*font-family: NotoSansSC-Regular;*/ -} - -.hint-clear { - color: #31739C !important; -} - -.hint-title { - margin: 10px 10px 10px 4px; - line-height: 20px; - font-weight: bold; - /* 禁止选中 样式 */ - background: #fff !important; - color: #000 !important; -} - -.cm-s-eclipse span.cm-string-2 { - color: #D85512; -} - -.CodeMirror-lines { - /*height: 20px;*/ - padding: 3px 0; -} - -.in-coder-panel { - margin-left: 2px; -} - -.in-coder-panel pre { - height: auto !important; -} - -.in-coder-panel .CodeMirror { - /*height: inherit;*/ -} - -.in-coder-panel input { - font-size: 12px !important; - display: block; - border-color: transparent !important; - padding: 0 0 0 8px !important; -} - -.CodeMirror-hints { - font-family: NotoSansSC-Regular !important; - max-width: 800px; -} - -.CodeMirror-line { - font-family: Arial !important; -} - -.CodeMirror-hint { - margin: 0; - padding: 0 4px !important; - line-height: 20px !important; - border-radius: 2px; - white-space: pre; - color: black; - cursor: pointer; -} - -.cm-variable-2{ - font-weight: bold; -} diff --git a/src/views/entityExplorer/EntityTop.vue b/src/views/entityExplorer/EntityTop.vue deleted file mode 100644 index e06a70ee..00000000 --- a/src/views/entityExplorer/EntityTop.vue +++ /dev/null @@ -1,105 +0,0 @@ - - - - - - {{itemData.value}}{{$t('overall.operator')}} {{itemData.label}} - - - - - - - - - - - - {{valueHandle(scope.row.name, topColumn) || 'unknown'}} - - - - - - - - {{(this.totalCount === 0 ? 0 : parseFloat(scope.row.count / this.totalCount) * 100).toFixed(2)}}% - - - - - - - - - - - -