|
@@ -1546,7 +1546,7 @@ export default {
|
|
// try {
|
|
// try {
|
|
// FileSaver.saveAs(new Blob([etout], {
|
|
// FileSaver.saveAs(new Blob([etout], {
|
|
// type: 'application/octet-stream'
|
|
// type: 'application/octet-stream'
|
|
- // }), '中钢能源管控系统菜单详情.xlsx'); //导出的文件名
|
|
|
|
|
|
+ // }), '新泰能源管控系统菜单详情.xlsx'); //导出的文件名
|
|
// this.$message({
|
|
// this.$message({
|
|
// type: 'success',
|
|
// type: 'success',
|
|
// message: '正在为您导出...'
|
|
// message: '正在为您导出...'
|
|
@@ -1564,7 +1564,7 @@ export default {
|
|
return false;
|
|
return false;
|
|
}
|
|
}
|
|
// 表格标题
|
|
// 表格标题
|
|
- var dataTitle = '中钢能源管控系统菜单详情';
|
|
|
|
|
|
+ var dataTitle = '新泰能源管控系统菜单详情';
|
|
// 配置文件类型
|
|
// 配置文件类型
|
|
const wopts = { bookType: 'xlsx', bookSST: true, type: 'binary', cellStyles: true };
|
|
const wopts = { bookType: 'xlsx', bookSST: true, type: 'binary', cellStyles: true };
|
|
this.downloadExl(data, wopts, dataTitle)
|
|
this.downloadExl(data, wopts, dataTitle)
|
|
@@ -1647,7 +1647,7 @@ export default {
|
|
))], {
|
|
))], {
|
|
type: ""
|
|
type: ""
|
|
});
|
|
});
|
|
- this.saveAs(tmpDown, "中钢能源管控系统菜单详情" + '.' + (type.bookType == "biff2" ? "xls" : type.bookType));
|
|
|
|
|
|
+ this.saveAs(tmpDown, "新泰能源管控系统菜单详情" + '.' + (type.bookType == "biff2" ? "xls" : type.bookType));
|
|
},
|
|
},
|
|
// 下载功能
|
|
// 下载功能
|
|
saveAs(obj, fileName) {
|
|
saveAs(obj, fileName) {
|
|
@@ -1655,7 +1655,7 @@ export default {
|
|
tmpa.download = fileName || "未命名";
|
|
tmpa.download = fileName || "未命名";
|
|
// 兼容ie
|
|
// 兼容ie
|
|
if ("msSaveOrOpenBlob" in navigator) {
|
|
if ("msSaveOrOpenBlob" in navigator) {
|
|
- window.navigator.msSaveOrOpenBlob(obj, "中钢能源管控系统菜单详情"+ ".xlsx");
|
|
|
|
|
|
+ window.navigator.msSaveOrOpenBlob(obj, "新泰能源管控系统菜单详情"+ ".xlsx");
|
|
} else {
|
|
} else {
|
|
tmpa.href = URL.createObjectURL(obj);
|
|
tmpa.href = URL.createObjectURL(obj);
|
|
}
|
|
}
|