738bb9d2 by fanguang Committed by lihua

fix

1 parent 6628c378
...@@ -427,7 +427,7 @@ const importData = (info) => { ...@@ -427,7 +427,7 @@ const importData = (info) => {
427 } 427 }
428 }) 428 })
429 sheetMaps = JSON.stringify(sheetMaps) 429 sheetMaps = JSON.stringify(sheetMaps)
430 paramUrl = encodeURI(`${import.meta.env.VITE_APP_ADD_FILE}/import-data/import-batch-common?importType=${importType.value}&staffGuid=${userData.staffGuid}&tenantGuid=${userData.tenantGuid}&sheetMaps=${sheetMaps}`) 430 paramUrl = encodeURIComponent(`${import.meta.env.VITE_APP_ADD_FILE}/import-data/import-batch-common?importType=${importType.value}&staffGuid=${userData.staffGuid}&tenantGuid=${userData.tenantGuid}&sheetMaps=${sheetMaps}`)
431 dialogInfo.value.footer.btns[1].loading = true; 431 dialogInfo.value.footer.btns[1].loading = true;
432 addImportData(paramUrl, params).then((res: any) => { 432 addImportData(paramUrl, params).then((res: any) => {
433 dialogInfo.value.footer.btns[1].loading = false; 433 dialogInfo.value.footer.btns[1].loading = false;
......
...@@ -427,7 +427,7 @@ const importData = (info) => { ...@@ -427,7 +427,7 @@ const importData = (info) => {
427 } 427 }
428 }) 428 })
429 sheetMaps = JSON.stringify(sheetMaps) 429 sheetMaps = JSON.stringify(sheetMaps)
430 paramUrl = encodeURI(`${import.meta.env.VITE_APP_ADD_FILE}/import-data/import-batch-common?importType=${importType.value}&staffGuid=${userData.staffGuid}&tenantGuid=${userData.tenantGuid}&sheetMaps=${sheetMaps}`) 430 paramUrl = encodeURIComponent(`${import.meta.env.VITE_APP_ADD_FILE}/import-data/import-batch-common?importType=${importType.value}&staffGuid=${userData.staffGuid}&tenantGuid=${userData.tenantGuid}&sheetMaps=${sheetMaps}`)
431 dialogInfo.value.footer.btns[1].loading = true; 431 dialogInfo.value.footer.btns[1].loading = true;
432 addImportData(paramUrl, params).then((res: any) => { 432 addImportData(paramUrl, params).then((res: any) => {
433 dialogInfo.value.footer.btns[1].loading = false; 433 dialogInfo.value.footer.btns[1].loading = false;
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!