Merge remote-tracking branch 'origin/dev_third_stage' into dev_third_stage

This commit is contained in:
CD
2022-09-28 17:05:36 +08:00
@@ -9,6 +9,16 @@
<span> {{$t('comparisonResults')}}</span> <span> {{$t('comparisonResults')}}</span>
</div> </div>
<div class="doc-detail-right"> <div class="doc-detail-right">
<div @click="viewConsistentAssessmentClick" class="operator-text-text"
:title="$t('viewConsistentAssessment')">
<a-icon type="eye"/>
{{$t('viewConsistentAssessment')}}
</div>
<div @click="viewAllClick" class="operator-text-text"
:title="$t('viewAll')">
<a-icon type="eye"/>
{{$t('viewAll')}}
</div>
<div @click="exportComparisonReportClick" class="operator-text-text" <div @click="exportComparisonReportClick" class="operator-text-text"
:title="$t('exportComparisonReport')"> :title="$t('exportComparisonReport')">
<a-icon type="export"/> <a-icon type="export"/>
@@ -65,7 +75,8 @@
</div> </div>
<div class="detail-content-left-button" v-html="item.itemsTextRight"></div> <div class="detail-content-left-button" v-html="item.itemsTextRight"></div>
</div> </div>
<div class="detail-content-bottom" :class="{'detail-content-bottom-color':checkboxList.join(',').includes(item.id)}"> <div class="detail-content-bottom"
:class="{'detail-content-bottom-color':checkboxList.join(',').includes(item.id)}">
<div class="detail-content-bottom-left" <div class="detail-content-bottom-left"
:class="{'detail-content-bottom-left-text':language == 'en-us' ? true:false}" :class="{'detail-content-bottom-left-text':language == 'en-us' ? true:false}"
:title="$t('comparisonDifferenceComment')"> :title="$t('comparisonDifferenceComment')">
@@ -176,6 +187,7 @@
isDisplay: false, isDisplay: false,
fullCheckbox: false, fullCheckbox: false,
resultData: {}, resultData: {},
comment: '',
language: '', language: '',
url: { url: {
exportData: '/compare/sarFileCompareItemComment/exportResXls' exportData: '/compare/sarFileCompareItemComment/exportResXls'
@@ -207,7 +219,8 @@
let query = { let query = {
selectIds: checkboxList.join(','), selectIds: checkboxList.join(','),
includeComments: fullCheckbox, 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) 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.indeterminate = false
this.checkAll = false this.checkAll = false
}, },
viewConsistentAssessmentClick() {
this.comment = '一致'
this.getData()
},
viewAllClick() {
this.comment = ''
this.getData()
},
getData() { getData() {
let query = { let query = {
id: this.$route.query.id, id: this.$route.query.id,
infoId: this.$route.query.id infoId: this.$route.query.id,
comment: this.comment
} }
this.loading = true this.loading = true
getAction('/compare/sarFileCompareItemComment/queryCompareResult', query).then((res) => { getAction('/compare/sarFileCompareItemComment/queryCompareResult', query).then((res) => {
@@ -536,7 +558,7 @@
.detail-content-content-text-color { .detail-content-content-text-color {
border: 1px solid #00B3BE; border: 1px solid #00B3BE;
background: rgba(0,179,190,0.0300); background: rgba(0, 179, 190, 0.0300);
} }
.detail-content-left { .detail-content-left {
@@ -577,9 +599,11 @@
border-radius: 4px; border-radius: 4px;
float: left; 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 { .detail-content-bottom-left {
width: 115px; width: 115px;
font-size: 14px; font-size: 14px;