|
@@ -111,7 +111,6 @@ export default {
|
|
|
: '正在生成报告,请稍后...'
|
|
|
},
|
|
|
reportLabel() {
|
|
|
- console.log(reportLabelMap[this.reportMold], 'label')
|
|
|
return reportLabelMap[this.reportMold] + (this.isExample ? '样例' : '')
|
|
|
},
|
|
|
isExample() {
|
|
@@ -183,7 +182,7 @@ export default {
|
|
|
},
|
|
|
async download() {
|
|
|
if (!this.finished) return
|
|
|
- const fileUrl = this.downloadUrl
|
|
|
+ const fileUrl = location.origin + this.downloadUrl
|
|
|
const { platform, platformOS, appVersion } = this.$env
|
|
|
|
|
|
if (this.$envs.inWxMini) {
|
|
@@ -197,7 +196,11 @@ export default {
|
|
|
duration: 0,
|
|
|
message: 'loading...'
|
|
|
})
|
|
|
- const name = '芝麻信用共建分析报告'
|
|
|
+ const name =
|
|
|
+ reportTypeMap[this.reportMold] +
|
|
|
+ '(' +
|
|
|
+ (this.isExample ? '样例' : this.reportName) +
|
|
|
+ ')' || '芝麻信用共建分析报告'
|
|
|
const types = 'pdf'
|
|
|
this.getFileSize(fileUrl, (size) => {
|
|
|
loading.clear()
|