|
|
@ -2,7 +2,7 @@ import {Base64} from 'js-base64';
|
|
|
|
import axios from 'axios';
|
|
|
|
import axios from 'axios';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 导出实习报告批量zip 类型
|
|
|
|
// 导出实习报告批量zip 、xlsx 类型
|
|
|
|
export function Internshipreportsy (url,struy,types,stingtype){
|
|
|
|
export function Internshipreportsy (url,struy,types,stingtype){
|
|
|
|
axios.get((url),{responseType: 'blob'}).then((response) => {
|
|
|
|
axios.get((url),{responseType: 'blob'}).then((response) => {
|
|
|
|
const blob = new Blob([response.data], { type: stingtype });
|
|
|
|
const blob = new Blob([response.data], { type: stingtype });
|
|
|
|