fix:修复部分bug

This commit is contained in:
xcool
2022-10-13 00:02:03 +08:00
parent 02fb202180
commit 9cbdf53675
10 changed files with 172 additions and 72 deletions

View File

@@ -186,7 +186,7 @@ export function cbc_shelves_import(params) {
/* Maxdiff导出设计*/
const mxd_export = async (params) => {
const mxd_export = async (params,name) => {
const url = params.url;
// await request({
// url: `/console/surveys/${params.sn}/questions/${params.question_index}/mxd_export`,
@@ -203,7 +203,8 @@ const mxd_export = async (params) => {
withCredentials: false,
responseType: 'arraybuffer'
})
fileDownload(data, "", 'application/vnd.ms-excel');
fileDownload(data, name, 'application/vnd.ms-excel');
}