From cb4da7bb7dbe9a076c7386beb59c363258fe1527 Mon Sep 17 00:00:00 2001 From: Mehdi104797 <92753457+Mehdi104797@users.noreply.github.com> Date: Sat, 1 Mar 2025 13:16:46 +0330 Subject: [PATCH] =?UTF-8?q?=D8=AA=D8=BA=DB=8C=DB=8C=D8=B1=D8=A7=D8=AA=20?= =?UTF-8?q?=D8=AC=D8=B3=D8=AA=20=D8=AC=D9=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apis/searchApi.js | 22 +++--- components/search/view/ChartContent.vue | 89 +++++++++------------- components/search/view/ChartFilterList.vue | 2 +- pages/search/charts.vue | 28 ++++++- 4 files changed, 72 insertions(+), 69 deletions(-) diff --git a/apis/searchApi.js b/apis/searchApi.js index f6b4f16..5e1bd45 100644 --- a/apis/searchApi.js +++ b/apis/searchApi.js @@ -45,10 +45,8 @@ export default { list: "schema", }, search: { - autoComplate: - "{{appname}}/complation/{{index_key}}/{{filter}}", - logAutoComplate: - "searchlog/complation/{{filter}}", + autoComplate: "{{appname}}/complation/{{index_key}}/{{filter}}", + logAutoComplate: "searchlog/complation/{{filter}}", default: "{{appname}}/data/{{index_key}}/{{sortKey}}/{{offset}}/{{limit}}/{{filter}}", queryNormal: @@ -62,12 +60,16 @@ export default { items: "navigate/report/items/search/{{index_key}}/{{offset}}/{{limit}}/{{filter}}", chartTreeMap: "list/project/treemap/{{chart_key}}/{{filter}}", - treeItems:"navigate/report/items/search/{{index_key}}/{{offset}}/{{limit}}/{{filter}}", + treeItems: + "navigate/report/items/search/{{index_key}}/{{offset}}/{{limit}}/{{filter}}", tree: "list/subject/list", - graph:"repo/majles/{{to_key}}/relation" + graph: "repo/majles/{{to_key}}/relation", + }, + synonym: { + getSynonyms: "synonym/get/words", + synonymSearch: "search/qasection/synonym/@listkey/@offset/@limit/@q", + }, + entity: { + blist: "{{index_key}}/{{type}}/list", }, - synonym:{ - getSynonyms:"synonym/get/words", - synonymSearch:"search/qasection/synonym/@listkey/@offset/@limit/@q", - } }; diff --git a/components/search/view/ChartContent.vue b/components/search/view/ChartContent.vue index 5803ca6..828d3b0 100644 --- a/components/search/view/ChartContent.vue +++ b/components/search/view/ChartContent.vue @@ -1,7 +1,7 @@ diff --git a/components/search/view/ChartFilterList.vue b/components/search/view/ChartFilterList.vue index 518f01e..cf6a901 100644 --- a/components/search/view/ChartFilterList.vue +++ b/components/search/view/ChartFilterList.vue @@ -82,7 +82,7 @@