Commit 4e931d87 by gyt

feat(consignmentRecall): 导入地址修改

parent 87b3fd5e
......@@ -4,7 +4,7 @@
<!--操作区-->
<div class="operation-area row verCenter bothSide">
<div class="operation-button row verCenter">
<el-upload action="/api/consignmentRecall/batchRecallUpload" :on-success="handleUploadSuccess" :on-error="handleUploadError" accept=".csv" :show-file-list="false">
<el-upload v-bind:action="batchRecallUpload" :on-success="handleUploadSuccess" :on-error="handleUploadError" accept=".csv" :show-file-list="false">
<el-button size="small" type="primary">上传文件</el-button>
</el-upload>
<a href="/批量召回.csv" download style="text-decoration: none;margin-left: 10px;">
......@@ -43,6 +43,7 @@
</div>
</template>
<script>
import {NODE_ENVS} from '@/ajax/index.js';
import Vue from 'vue';
import Menu from "@/components/menu.vue";
import { Autocomplete, Button, DatePicker, Descriptions, DescriptionsItem, Dialog, Divider, Dropdown, DropdownItem, DropdownMenu, Form, FormItem, Input, Link, Message, MessageBox, Option, Pagination, Popover, Select, Table, TableColumn, Tag, Tooltip, Upload } from 'element-ui'
......@@ -55,6 +56,7 @@
name: "batchRecall",
data() {
return {
batchRecallUpload: NODE_ENVS + '/api/consignmentRecall/batchRecallUpload',
total: 0,
page: 1,
limit: 10,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment