对接问题知识库
This commit is contained in:
@@ -142,6 +142,7 @@
|
||||
},
|
||||
getData() {
|
||||
this.visible = true
|
||||
this.commentContent = ''
|
||||
this.getList()
|
||||
},
|
||||
handleSubmit() {
|
||||
@@ -162,7 +163,7 @@
|
||||
this.loading = true
|
||||
getAction(this.url.list, {
|
||||
id: this.$route.query.id,
|
||||
commentContent: this.commentContent
|
||||
str: this.commentContent
|
||||
}).then((res) => {
|
||||
if (res.success) {
|
||||
this.loading = false
|
||||
|
||||
+18
-2
@@ -169,7 +169,10 @@
|
||||
checkAll: false,
|
||||
isDisplay: false,
|
||||
fullCheckbox: false,
|
||||
resultData: {}
|
||||
resultData: {},
|
||||
url: {
|
||||
exportData: '/compare/sarFileCompareItemComment/exportResXls'
|
||||
}
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
@@ -190,7 +193,20 @@
|
||||
this.$refs.commentListRef.getData()
|
||||
},
|
||||
exportComparisonReportClick() {
|
||||
|
||||
let checkboxList = JSON.parse(JSON.stringify(this.checkboxList))
|
||||
let fullCheckbox = this.fullCheckbox
|
||||
let query = {
|
||||
selectIds: checkboxList.join(','),
|
||||
includeComments: fullCheckbox,
|
||||
infoId: this.$route.query.id
|
||||
}
|
||||
downloadFile(this.url.exportData, this.resultData.serialNumberLeft + ' - ' + this.resultData.serialNumberRight + '.xls', query, this.Deselect)
|
||||
},
|
||||
Deselect() {
|
||||
this.checkboxList = []
|
||||
this.fullCheckbox = false
|
||||
this.indeterminate = false
|
||||
this.checkAll = false
|
||||
},
|
||||
getData() {
|
||||
let query = {
|
||||
|
||||
Reference in New Issue
Block a user