@@ -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;