From 9e6ec0acfff4b899b10b2e5cb97d6a5708e63145 Mon Sep 17 00:00:00 2001 From: lb Date: Mon, 10 Apr 2023 17:01:04 +0800 Subject: [PATCH] update --- src/views/modules/pms/order/components/DialogUpload.vue | 5 ++--- src/views/modules/pms/order/config.js | 1 + vue.config.js | 3 +++ 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/views/modules/pms/order/components/DialogUpload.vue b/src/views/modules/pms/order/components/DialogUpload.vue index f6bc0a5..f3e456e 100644 --- a/src/views/modules/pms/order/components/DialogUpload.vue +++ b/src/views/modules/pms/order/components/DialogUpload.vue @@ -7,15 +7,14 @@ title="导入订单" :destroy-on-close="false" :close-on-click-modal="configs.clickModalToClose ?? true"> - +
将文件拖到此处,或点击上传
-
只能上传jpg/png文件,且不超过500kb
+
只能上传 Excel 文件
-
取消
diff --git a/src/views/modules/pms/order/config.js b/src/views/modules/pms/order/config.js index 29c0845..cb7878f 100644 --- a/src/views/modules/pms/order/config.js +++ b/src/views/modules/pms/order/config.js @@ -527,6 +527,7 @@ export default function () { finishedOrder: "/pms/order/pageEnd", unConfirmedOrder: "/pms/order/pageUnCom", base: "/pms/order", + importOrderUrl: "/pms-am/pms/order/importExcelOrder" // base: "/pms/material", // page: "/pms/material/page", // tree: "/pms/material/tree", diff --git a/vue.config.js b/vue.config.js index 6bd0eb4..152bbc8 100644 --- a/vue.config.js +++ b/vue.config.js @@ -29,6 +29,9 @@ module.exports = { proxy: { '/pms-am/ureport/preview': { target: 'http://192.168.1.62:8080/' // TODO: 线上发布时需修改此处 + }, + '/pms/order/importExcelOrder': { + target: 'http://192.168.1.21:8080/' // TODO: 线上发布时需修改此处 } } }