7c39c2eb by fanguang Committed by lihua

import

1 parent 738bb9d2
......@@ -458,3 +458,7 @@ const drawerClose = () => {
}
}
</style>
<style lang="scss">
</style>
......
......@@ -426,8 +426,8 @@ const importData = (info) => {
sheetMaps[item.value] = item.standardGuid
}
})
sheetMaps = JSON.stringify(sheetMaps)
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}`)
sheetMaps = encodeURIComponent(JSON.stringify(sheetMaps))
paramUrl = `${import.meta.env.VITE_APP_ADD_FILE}/import-data/import-batch-common?importType=${importType.value}&staffGuid=${userData.staffGuid}&tenantGuid=${userData.tenantGuid}&sheetMaps=${sheetMaps}`
dialogInfo.value.footer.btns[1].loading = true;
addImportData(paramUrl, params).then((res: any) => {
dialogInfo.value.footer.btns[1].loading = false;
......
......@@ -426,8 +426,8 @@ const importData = (info) => {
sheetMaps[item.value] = item.standardGuid
}
})
sheetMaps = JSON.stringify(sheetMaps)
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}`)
sheetMaps = encodeURIComponent(JSON.stringify(sheetMaps))
paramUrl = `${import.meta.env.VITE_APP_ADD_FILE}/import-data/import-batch-common?importType=${importType.value}&staffGuid=${userData.staffGuid}&tenantGuid=${userData.tenantGuid}&sheetMaps=${sheetMaps}`
dialogInfo.value.footer.btns[1].loading = true;
addImportData(paramUrl, params).then((res: any) => {
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!