From 270e9d330aadd8a5a82348fc1bd1cbba4532c480 Mon Sep 17 00:00:00 2001 From: sunFlower <787203167@qq.com> Date: Wed, 28 Sep 2022 17:02:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=89=E6=9C=9F=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/comparisonResults.vue | 36 +++++++++++++++---- 1 file changed, 30 insertions(+), 6 deletions(-) diff --git a/jero-web/src/views/documentTools/documentComparison/components/comparisonResults.vue b/jero-web/src/views/documentTools/documentComparison/components/comparisonResults.vue index 9c66155a9..d90985d0b 100644 --- a/jero-web/src/views/documentTools/documentComparison/components/comparisonResults.vue +++ b/jero-web/src/views/documentTools/documentComparison/components/comparisonResults.vue @@ -9,6 +9,16 @@ {{$t('comparisonResults')}}
+
+ + {{$t('viewConsistentAssessment')}} +
+
+ + {{$t('viewAll')}} +
@@ -65,7 +75,8 @@
-
+
@@ -176,6 +187,7 @@ isDisplay: false, fullCheckbox: false, resultData: {}, + comment: '', language: '', url: { exportData: '/compare/sarFileCompareItemComment/exportResXls' @@ -207,7 +219,8 @@ let query = { selectIds: checkboxList.join(','), includeComments: fullCheckbox, - infoId: this.$route.query.id + infoId: this.$route.query.id, + comment: this.comment } downloadFile(this.url.exportData, this.resultData.serialNumberLeft + ' - ' + this.resultData.serialNumberRight + this.$t('comparisonResults') + '.xls', query, this.Deselect) }, @@ -217,10 +230,19 @@ this.indeterminate = false this.checkAll = false }, + viewConsistentAssessmentClick() { + this.comment = '一致' + this.getData() + }, + viewAllClick() { + this.comment = '' + this.getData() + }, getData() { let query = { id: this.$route.query.id, - infoId: this.$route.query.id + infoId: this.$route.query.id, + comment: this.comment } this.loading = true getAction('/compare/sarFileCompareItemComment/queryCompareResult', query).then((res) => { @@ -536,7 +558,7 @@ .detail-content-content-text-color { border: 1px solid #00B3BE; - background: rgba(0,179,190,0.0300); + background: rgba(0, 179, 190, 0.0300); } .detail-content-left { @@ -577,9 +599,11 @@ border-radius: 4px; float: left; } - .detail-content-bottom-color{ - background: rgba(0,179,190,0.0300); + + .detail-content-bottom-color { + background: rgba(0, 179, 190, 0.0300); } + .detail-content-bottom-left { width: 115px; font-size: 14px;