From 86e4f56f909eb761874da7ad3db5be8b49d5856a Mon Sep 17 00:00:00 2001 From: qq787203167 <787203167@qq.com> Date: Fri, 11 Mar 2022 10:07:10 +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 --- .../src/components/currencySearch/index.vue | 27 ++++++++++---- jero-web/src/components/search/index.vue | 9 ++--- .../components/DocumentLibrary.vue | 35 +++++++++++-------- 3 files changed, 46 insertions(+), 25 deletions(-) diff --git a/jero-web/src/components/currencySearch/index.vue b/jero-web/src/components/currencySearch/index.vue index ae8d8d132..3703e26e6 100644 --- a/jero-web/src/components/currencySearch/index.vue +++ b/jero-web/src/components/currencySearch/index.vue @@ -3,7 +3,21 @@ - + {{$t('query')}} {{$t('reset')}} @@ -89,11 +104,11 @@ }, methods: { searchQuery() { - this.$emit('searchQuery', this.queryParam) + this.$emit('searchQuery', JSON.parse(JSON.stringify(this.queryParam))) }, searchReset() { this.queryParam = {} - this.$emit('searchReset', this.queryParam) + this.$emit('searchReset', JSON.parse(JSON.stringify(this.queryParam))) }, getSeach() { let params = { diff --git a/jero-web/src/components/search/index.vue b/jero-web/src/components/search/index.vue index 153fbf701..7b6facf89 100644 --- a/jero-web/src/components/search/index.vue +++ b/jero-web/src/components/search/index.vue @@ -16,7 +16,7 @@ :placeholder="$t('PleaseSelect')+item.db_field_txt" /> -
{{item.db_field_txt}} @@ -24,7 +24,7 @@
-
+
{{item.db_field_txt}}
@@ -81,14 +81,15 @@ :placeholder="$t('PleaseSelect')+item.db_field_txt" />
-
+
{{item.db_field_txt}}
-
+
{{item.db_field_txt}}
diff --git a/jero-web/src/views/documentTools/searchCenter/components/DocumentLibrary.vue b/jero-web/src/views/documentTools/searchCenter/components/DocumentLibrary.vue index 8a1aba421..f17be695a 100644 --- a/jero-web/src/views/documentTools/searchCenter/components/DocumentLibrary.vue +++ b/jero-web/src/views/documentTools/searchCenter/components/DocumentLibrary.vue @@ -3,15 +3,18 @@
-
- {{item.value}} - - - {{opt.value}} - - +
+
+ {{item.value}} + + + {{opt.value}} + + +
+
发布日期 @@ -39,7 +42,6 @@ v-if="isTrue" ref="table" size="middle" - bordered :scroll="{x: true}" rowKey="id" :data-source="tableData" @@ -53,7 +55,7 @@ {{!record.subscribeFlag || record.subscribeFlag == 0 ? $t('subscribe') :$t('CancelSubscribe')}} - {{$t('Push')}} + {{$t('Push')}} @@ -106,9 +108,10 @@ import eventBUs from '../../../../common/event' import { getAction, postAction } from '@/api/manage' import libraryPush from '@/components/libraryPush/index' + export default { name: 'DocumentLibrary', - components:{ + components: { libraryPush }, data() { @@ -220,9 +223,11 @@ ] } ], - tableData: [], - url:{ - pullMessage: 'document/bussDocumentLibraryEO/pullMessage',//推送 + tableData: [ + {} + ], + url: { + pullMessage: 'document/bussDocumentLibraryEO/pullMessage'//推送 }, columns: [ { @@ -415,7 +420,7 @@ }, //推送 handleCompare(val) { - let item = JSON.parse(JSON.stringify(val)) + let item = JSON.parse(JSON.stringify(val)) this.$nextTick(() => { this.$refs.libraryPushRef.visible = true this.$refs.libraryPushRef.tableKey = item.id.split(',')