Commit 4674a9aebc0647ce52e4b64775f761ade28b6bcf
1 parent
2ecdd637
fix: 修复导出bug
Showing
3 changed files
with
9 additions
and
4 deletions
src/views/project/order/ExportModal.vue
src/views/project/order/index.vue
@@ -282,7 +282,12 @@ | @@ -282,7 +282,12 @@ | ||
282 | } | 282 | } |
283 | 283 | ||
284 | async function handleExportModal() { | 284 | async function handleExportModal() { |
285 | - openExportModal(true); | 285 | + const form = getForm(); |
286 | + const values = form.getFieldsValue(); | ||
287 | + | ||
288 | + openExportModal(true, { | ||
289 | + data: values, | ||
290 | + }); | ||
286 | } | 291 | } |
287 | 292 | ||
288 | const handleFormSuccess = () => { | 293 | const handleFormSuccess = () => { |
vite.config.ts
@@ -20,8 +20,8 @@ export default defineApplicationConfig({ | @@ -20,8 +20,8 @@ export default defineApplicationConfig({ | ||
20 | server: { | 20 | server: { |
21 | proxy: { | 21 | proxy: { |
22 | '/basic-api/order': { | 22 | '/basic-api/order': { |
23 | - target: 'http://localhost:8000', | ||
24 | - // target: 'http://39.108.227.113:8000', | 23 | + // target: 'http://localhost:8000', |
24 | + target: 'http://39.108.227.113:8000', | ||
25 | // target: 'http://39.108.227.113:3000/mock/35', | 25 | // target: 'http://39.108.227.113:3000/mock/35', |
26 | // http://39.108.227.113:8000/order/erp/captcha/get_img_captcha_code | 26 | // http://39.108.227.113:8000/order/erp/captcha/get_img_captcha_code |
27 | changeOrigin: true, | 27 | changeOrigin: true, |