From e783ebafa49de5c5ee96a11554625b02b72b8eb9 Mon Sep 17 00:00:00 2001 From: chenfang Date: Wed, 11 Oct 2023 10:25:55 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=A5=E4=BD=8D=E5=89=8D=E7=AB=AF=E5=AF=BC?= =?UTF-8?q?=E5=85=A5=E4=BB=A3=E7=A0=81demo=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/wms/workstation/index.ts | 5 +++++ src/views/wms/workstation/WorkstationForm.vue | 4 ++-- src/views/wms/workstation/index.vue | 20 +++++++++++++++++-- 3 files changed, 25 insertions(+), 4 deletions(-) diff --git a/src/api/wms/workstation/index.ts b/src/api/wms/workstation/index.ts index 4def6a030..24f034794 100644 --- a/src/api/wms/workstation/index.ts +++ b/src/api/wms/workstation/index.ts @@ -44,3 +44,8 @@ export const deleteWorkstation = async (id: number) => { export const exportWorkstation = async (params) => { return await request.download({ url: `/wms/workstation/export-excel`, params }) } + +// 下载用户导入模板 +export const importWorkstationTemplate = () => { + return request.download({ url: '/wms/workstation/get-import-template' }) +} diff --git a/src/views/wms/workstation/WorkstationForm.vue b/src/views/wms/workstation/WorkstationForm.vue index 2f3d30d97..6450d9cf0 100644 --- a/src/views/wms/workstation/WorkstationForm.vue +++ b/src/views/wms/workstation/WorkstationForm.vue @@ -66,7 +66,7 @@