From 687d9ab1e03df5ea77a873a033815388470436e8 Mon Sep 17 00:00:00 2001 From: qq787203167 <787203167@qq.com> Date: Wed, 30 Mar 2022 16:59:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=A6=85=E9=81=93=E5=B7=B2?= =?UTF-8?q?=E7=9F=A5bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/DocumentLibrary.vue | 16 +++++++++++++ .../searchCenter/components/whole.vue | 23 +++++++++++-------- .../documentTools/searchCenter/index.vue | 10 ++++++++ 3 files changed, 39 insertions(+), 10 deletions(-) diff --git a/jero-web/src/views/documentTools/searchCenter/components/DocumentLibrary.vue b/jero-web/src/views/documentTools/searchCenter/components/DocumentLibrary.vue index 5871d6f63..00df675ac 100644 --- a/jero-web/src/views/documentTools/searchCenter/components/DocumentLibrary.vue +++ b/jero-web/src/views/documentTools/searchCenter/components/DocumentLibrary.vue @@ -529,6 +529,22 @@ this.getParagraphInfoList(2) } }, + ResetSearch() { + this.queryParam = {} + this.queryParamOne = {} + this.searchQueryOne = {} + this.checkboxText = [] + this.selectedRowKeys = [] + this.selectModel = '' + this.selectModelName = '' + this.ParamSeach() + this.pageNo = 1 + if (this.isTrue) { + this.getInfoList(1) + } else { + this.getParagraphInfoList(1) + } + }, changeQuery(val, name) { this.queryParamOne[name + '_name'] = val }, diff --git a/jero-web/src/views/documentTools/searchCenter/components/whole.vue b/jero-web/src/views/documentTools/searchCenter/components/whole.vue index f53740421..fde6d2f2d 100644 --- a/jero-web/src/views/documentTools/searchCenter/components/whole.vue +++ b/jero-web/src/views/documentTools/searchCenter/components/whole.vue @@ -5,7 +5,7 @@ {{ queryParam.selectValue }} -
  • +
  • 结果中检索 + 重置
    @@ -84,6 +86,14 @@ this.active = key this.selectValueTwo = '' }, + ResetSearch() { + this.selectValueTwo = '' + if (this.$refs.wholeRef) { + this.$refs.wholeRef.ResetSearch() + } else if (this.$refs.DocumentLibraryRef) { + this.$refs.DocumentLibraryRef.ResetSearch() + } + }, onSearch(event) { this.queryParam[this.selectModel] = event if (this.$refs.DocumentLibraryRef) {