From 729b698b17d7468acbc6c495746a72c9150fdaeb Mon Sep 17 00:00:00 2001
From: yangys <y_ys79@sina.com>
Date: 星期二, 09 九月 2025 11:49:47 +0800
Subject: [PATCH] 按钮改名下传
---
src/views/statreport/approveTablePrint.vue | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/views/statreport/approveTablePrint.vue b/src/views/statreport/approveTablePrint.vue
index cdd4c2d..1ecc8c2 100644
--- a/src/views/statreport/approveTablePrint.vue
+++ b/src/views/statreport/approveTablePrint.vue
@@ -27,7 +27,6 @@
<script>
import { getDispatchTaskList } from '@/api/statreport/approvetable.js';
-import { exportBlob } from '@/api/common';
import { exportBlobPost } from '@/api/common';
import { downloadFile } from '@/utils/util';
import { getToken } from '@/utils/auth';
@@ -64,6 +63,8 @@
menuWidth: 140,
menu: true,
dialogClickModal: false,
+ height:'auto',
+ calcHeight:170,
column: [
{
@@ -81,7 +82,7 @@
prop: 'processEdition'
},
{
- label: '鍥惧彿鐗堟',
+ label: '鍥剧焊鐗堟',
prop: 'drawingNoEdition'
},
{
@@ -142,6 +143,7 @@
let name = res.headers['content-disposition'].split('filename=')[1]
//console.log(res.headers['content-disposition'].split('filename=')[1]);
name = decodeURI(name)
+ console.log(name)
downloadFile(res.data, `${name}`);
NProgress.done();
});
--
Gitblit v1.9.3