This commit is contained in:
lb 2023-04-10 17:01:04 +08:00
父節點 99b054ab39
當前提交 9e6ec0acff
共有 3 個文件被更改,包括 6 次插入3 次删除

查看文件

@ -7,15 +7,14 @@
title="导入订单"
:destroy-on-close="false"
:close-on-click-modal="configs.clickModalToClose ?? true">
<el-upload style="margin-top: 24px; text-align: center" drag action="https://jsonplaceholder.typicode.com/posts/" multiple>
<el-upload style="margin-top: 24px; text-align: center" drag :action="urls.importOrderUrl">
<i class="el-icon-upload"></i>
<div class="el-upload__text">
将文件拖到此处<em>点击上传</em>
</div>
<div class="el-upload__tip" slot="tip">只能上传jpg/png文件且不超过500kb</div>
<div class="el-upload__tip" slot="tip">只能上传 Excel 文件</div>
</el-upload>
<!-- footer -->
<div slot="footer">
<el-button @click="handleBtnClick({ name: 'cancel' })">取消</el-button>
</div>

查看文件

@ -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",

查看文件

@ -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: 线上发布时需修改此处
}
}
}