import
Showing
4 changed files
with
8 additions
and
4 deletions
| ... | @@ -426,8 +426,8 @@ const importData = (info) => { | ... | @@ -426,8 +426,8 @@ const importData = (info) => { |
| 426 | sheetMaps[item.value] = item.standardGuid | 426 | sheetMaps[item.value] = item.standardGuid |
| 427 | } | 427 | } |
| 428 | }) | 428 | }) |
| 429 | sheetMaps = JSON.stringify(sheetMaps) | 429 | sheetMaps = encodeURIComponent(JSON.stringify(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}`) | 430 | paramUrl = `${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; | ... | ... |
| ... | @@ -426,8 +426,8 @@ const importData = (info) => { | ... | @@ -426,8 +426,8 @@ const importData = (info) => { |
| 426 | sheetMaps[item.value] = item.standardGuid | 426 | sheetMaps[item.value] = item.standardGuid |
| 427 | } | 427 | } |
| 428 | }) | 428 | }) |
| 429 | sheetMaps = JSON.stringify(sheetMaps) | 429 | sheetMaps = encodeURIComponent(JSON.stringify(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}`) | 430 | paramUrl = `${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