update
This commit is contained in:
parent
99b054ab39
commit
9e6ec0acff
@ -7,15 +7,14 @@
|
|||||||
title="导入订单"
|
title="导入订单"
|
||||||
:destroy-on-close="false"
|
:destroy-on-close="false"
|
||||||
:close-on-click-modal="configs.clickModalToClose ?? true">
|
: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>
|
<i class="el-icon-upload"></i>
|
||||||
<div class="el-upload__text">
|
<div class="el-upload__text">
|
||||||
将文件拖到此处,或<em>点击上传</em>
|
将文件拖到此处,或<em>点击上传</em>
|
||||||
</div>
|
</div>
|
||||||
<div class="el-upload__tip" slot="tip">只能上传jpg/png文件,且不超过500kb</div>
|
<div class="el-upload__tip" slot="tip">只能上传 Excel 文件</div>
|
||||||
</el-upload>
|
</el-upload>
|
||||||
|
|
||||||
<!-- footer -->
|
|
||||||
<div slot="footer">
|
<div slot="footer">
|
||||||
<el-button @click="handleBtnClick({ name: 'cancel' })">取消</el-button>
|
<el-button @click="handleBtnClick({ name: 'cancel' })">取消</el-button>
|
||||||
</div>
|
</div>
|
||||||
|
@ -527,6 +527,7 @@ export default function () {
|
|||||||
finishedOrder: "/pms/order/pageEnd",
|
finishedOrder: "/pms/order/pageEnd",
|
||||||
unConfirmedOrder: "/pms/order/pageUnCom",
|
unConfirmedOrder: "/pms/order/pageUnCom",
|
||||||
base: "/pms/order",
|
base: "/pms/order",
|
||||||
|
importOrderUrl: "/pms-am/pms/order/importExcelOrder"
|
||||||
// base: "/pms/material",
|
// base: "/pms/material",
|
||||||
// page: "/pms/material/page",
|
// page: "/pms/material/page",
|
||||||
// tree: "/pms/material/tree",
|
// tree: "/pms/material/tree",
|
||||||
|
@ -29,6 +29,9 @@ module.exports = {
|
|||||||
proxy: {
|
proxy: {
|
||||||
'/pms-am/ureport/preview': {
|
'/pms-am/ureport/preview': {
|
||||||
target: 'http://192.168.1.62:8080/' // TODO: 线上发布时需修改此处
|
target: 'http://192.168.1.62:8080/' // TODO: 线上发布时需修改此处
|
||||||
|
},
|
||||||
|
'/pms/order/importExcelOrder': {
|
||||||
|
target: 'http://192.168.1.21:8080/' // TODO: 线上发布时需修改此处
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user