Merge remote-tracking branch 'origin/master'

This commit is contained in:
wangzhijiang
2024-03-12 14:57:24 +08:00
3 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -493,7 +493,7 @@ export default {
*/ */
handleDownload (file) { handleDownload (file) {
// 下载文件 // 下载文件
downloadFile(`/sys/common/download/${file.response.result.id}`, file.name) downloadFile(`/sys/common/downloadWithoutWaterMark/${file.response.result.id}`, file.name)
} }
}, },
mounted () { mounted () {
@@ -458,7 +458,8 @@ export default {
// } // }
}, },
handleExportXls () { handleExportXls () {
const fileName = '全文比对信息'
const fileName = this.$route.query.infoNumberLeft + ' - ' + this.$route.query.infoNumberRight + '比对结果'
const fileSuffix = '.xls' const fileSuffix = '.xls'
const param = {} const param = {}
param.id = this.$route.query.id param.id = this.$route.query.id
@@ -6,7 +6,7 @@
@back="handleBack"> @back="handleBack">
<div class="can-scroll-content"> <div class="can-scroll-content">
<div class="can-scroll-content-header"> <div class="can-scroll-content-header">
{{$route.query.titleLeft + ' ' + $route.query.serialNumberLeft + ' —— ' + $route.query.titleRight + ' ' + $route.query.serialNumberRight}} {{titleLeft + ' ' + $route.query.serialNumberLeft + ' —— ' + titleRight + ' ' + $route.query.serialNumberRight}}
<a-button icon="upload" <a-button icon="upload"
type="primary" type="primary"
ghost ghost
@@ -49,6 +49,8 @@ export default {
return { return {
loading: false, loading: false,
resultData: {}, resultData: {},
titleLeft: this.$route.query.titleLeft || '',
titleRight: this.$route.query.titleRight || '',
columns: [ columns: [
{ {
title: '旧条款号', title: '旧条款号',
@@ -125,8 +127,7 @@ export default {
this.loadData() this.loadData()
}, },
handleExportXls () { handleExportXls () {
const fileName = this.$route.query.serialNumberLeft + ' - ' + this.$route.query.serialNumberRight + '比对结果'
const fileName = '条款比对信息'
const fileSuffix = '.xlsx' const fileSuffix = '.xlsx'
const param = {} const param = {}
param.standHisId = this.standHisId param.standHisId = this.standHisId