From 86c2ecbbd39d5d12a408954544886e0511793e40 Mon Sep 17 00:00:00 2001 From: tiezx Date: Fri, 18 Jul 2025 16:53:38 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=89=B9=E6=AC=A1=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/business/batch.js | 44 ++++ src/views/business/batch/index.vue | 407 +++++++++++++++++++++++++++++ 2 files changed, 451 insertions(+) create mode 100644 src/api/business/batch.js create mode 100644 src/views/business/batch/index.vue diff --git a/src/api/business/batch.js b/src/api/business/batch.js new file mode 100644 index 0000000..a907883 --- /dev/null +++ b/src/api/business/batch.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询批次管理列表 +export function listBatch(query) { + return request({ + url: '/business/batch/list', + method: 'get', + params: query + }) +} + +// 查询批次管理详细 +export function getBatch(batchId) { + return request({ + url: '/business/batch/' + batchId, + method: 'get' + }) +} + +// 新增批次管理 +export function addBatch(data) { + return request({ + url: '/business/batch', + method: 'post', + data: data + }) +} + +// 修改批次管理 +export function updateBatch(data) { + return request({ + url: '/business/batch', + method: 'put', + data: data + }) +} + +// 删除批次管理 +export function delBatch(batchId) { + return request({ + url: '/business/batch/' + batchId, + method: 'delete' + }) +} diff --git a/src/views/business/batch/index.vue b/src/views/business/batch/index.vue new file mode 100644 index 0000000..2fd6196 --- /dev/null +++ b/src/views/business/batch/index.vue @@ -0,0 +1,407 @@ + + +