|
@@ -853,22 +853,22 @@
|
|
|
console.log(err.response)
|
|
|
}
|
|
|
})
|
|
|
- },
|
|
|
- // 下载评估报告装订后浏览审核记录表
|
|
|
+ },
|
|
|
+ // 下载评估报告装订后浏览审核记录表
|
|
|
downloadProofreadAuditTpl (row) {
|
|
|
// this.$utils.downloadExcel('/sys/project/import/template')
|
|
|
- this.loading = true
|
|
|
- this.programProjectListInfoService.downloadProofreadAuditTpl(row.id).then((res) => {
|
|
|
- // 将二进制流文件写入excel表,以下为重要步骤
|
|
|
- this.$utils.downloadExcel(res.data, '评估报告装订后浏览审核记录表')
|
|
|
- this.loading = false
|
|
|
- }).catch(function (err) {
|
|
|
- this.loading = false
|
|
|
- if (err.response) {
|
|
|
- console.log(err.response)
|
|
|
- }
|
|
|
- })
|
|
|
- },
|
|
|
+ this.loading = true
|
|
|
+ this.programProjectListInfoService.downloadProofreadAuditTpl(row.id).then((res) => {
|
|
|
+ // 将二进制流文件写入excel表,以下为重要步骤
|
|
|
+ this.$utils.downloadExcel(res.data, '评估报告装订后浏览审核记录表')
|
|
|
+ this.loading = false
|
|
|
+ }).catch(function (err) {
|
|
|
+ this.loading = false
|
|
|
+ if (err.response) {
|
|
|
+ console.log(err.response)
|
|
|
+ }
|
|
|
+ })
|
|
|
+ },
|
|
|
// 下载评估报告装订后浏览审核记录表
|
|
|
downloadAuditRecordFormAfterBindingTpl (row) {
|
|
|
// this.$utils.downloadExcel('/sys/project/import/template')
|