From 30f6a2f5f625da0e59407c41ab2f3b5ce633d2ae Mon Sep 17 00:00:00 2001 From: zyn Date: Fri, 17 Nov 2023 09:16:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=93=E7=B3=BB=E6=90=9C=E7=B4=A2-=E5=A4=84?= =?UTF-8?q?=E7=90=86=E6=97=A5=E6=9C=9F=E7=BD=AE=E7=A9=BA=E7=9A=84=E6=83=85?= =?UTF-8?q?=E5=86=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../systemSearch/components/DialogTable.vue | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/pages/regulatoryRepository/systemSearch/components/DialogTable.vue b/src/pages/regulatoryRepository/systemSearch/components/DialogTable.vue index 54c904809..a254483ff 100644 --- a/src/pages/regulatoryRepository/systemSearch/components/DialogTable.vue +++ b/src/pages/regulatoryRepository/systemSearch/components/DialogTable.vue @@ -103,7 +103,7 @@ tooltip-effect="dark" style="width: 100%;overflow-y: auto;overflow-x: hidden;" border - :height="300" + :height="400" :header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',fontWeight: 'bold', height: '48px'}" @sort-change="sortChange" @selection-change="selectionChange"> @@ -287,6 +287,12 @@ export default { this.selected = [] }, releaseDateChange (event) { + if (!event) { + this.releaseDate = ['', ''] + this.searchForm.startReleaseDate = '' + this.searchForm.endReleaseDate = '' + return + } this.releaseDate = event const startTime = event[0] const endTime = event[1] @@ -294,6 +300,12 @@ export default { this.searchForm.endReleaseDate = endTime }, implementDateChange (event) { + if (!event) { + this.implementDate = ['', ''] + this.searchForm.startImplementDate = '' + this.searchForm.endImplementDate = '' + return + } this.implementDate = event const startTime = event[0] const endTime = event[1]