标准/译文申请 问题修改
This commit is contained in:
@@ -429,7 +429,7 @@ export default {
|
|||||||
exportName (name) {
|
exportName (name) {
|
||||||
const params = {
|
const params = {
|
||||||
...this.StandardApplyForEOPage,
|
...this.StandardApplyForEOPage,
|
||||||
exportFileName: name,
|
exportFileName: name ? name : '标准及译文获取申请',
|
||||||
ids: this.selectedList.length > 0 ? this.selectedList.join(',') : '',
|
ids: this.selectedList.length > 0 ? this.selectedList.join(',') : '',
|
||||||
};
|
};
|
||||||
axios({
|
axios({
|
||||||
@@ -451,7 +451,7 @@ export default {
|
|||||||
link.style.display = 'none';
|
link.style.display = 'none';
|
||||||
const objectUrl = URL.createObjectURL(blob);
|
const objectUrl = URL.createObjectURL(blob);
|
||||||
link.href = objectUrl;
|
link.href = objectUrl;
|
||||||
link.download = name + '.xlsx';
|
link.download = name ? name : '标准及译文获取申请' + '.xlsx';
|
||||||
link.click();
|
link.click();
|
||||||
URL.revokeObjectURL(objectUrl);
|
URL.revokeObjectURL(objectUrl);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user