fix
Showing
2 changed files
with
2 additions
and
2 deletions
| ... | @@ -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; | ... | ... |
-
Please register or sign in to post a comment