From ec2e56263fe2a45473aa330970044f44a25cc588 Mon Sep 17 00:00:00 2001 From: zjf <1799650030@qq.com> Date: Wed, 28 May 2025 11:37:45 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A3=9F=E5=A0=82=E5=88=86=E7=B1=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/canteen/canteenErpCategory.ts | 41 ++++++ src/views/canteen/canteenErpCategory/form.vue | 116 +++++++++++++++ .../canteen/canteenErpCategory/index.vue | 135 ++++++++++++++++++ 3 files changed, 292 insertions(+) create mode 100644 src/api/canteen/canteenErpCategory.ts create mode 100644 src/views/canteen/canteenErpCategory/form.vue create mode 100644 src/views/canteen/canteenErpCategory/index.vue diff --git a/src/api/canteen/canteenErpCategory.ts b/src/api/canteen/canteenErpCategory.ts new file mode 100644 index 0000000..e24915d --- /dev/null +++ b/src/api/canteen/canteenErpCategory.ts @@ -0,0 +1,41 @@ +import request from "/@/utils/request" + +export function fetchList(query?: Object) { + return request({ + url: '/canteen/canteenErpCategory/page', + method: 'get', + params: query + }) +} + +export function addObj(obj?: Object) { + return request({ + url: '/canteen/canteenErpCategory', + method: 'post', + data: obj + }) +} + +export function getObj(id?: string) { + return request({ + url: '/canteen/canteenErpCategory/' + id, + method: 'get' + }) +} + +export function delObjs(ids?: Object) { + return request({ + url: '/canteen/canteenErpCategory', + method: 'delete', + data: ids + }) +} + +export function putObj(obj?: Object) { + return request({ + url: '/canteen/canteenErpCategory', + method: 'put', + data: obj + }) +} + diff --git a/src/views/canteen/canteenErpCategory/form.vue b/src/views/canteen/canteenErpCategory/form.vue new file mode 100644 index 0000000..9f6b6cd --- /dev/null +++ b/src/views/canteen/canteenErpCategory/form.vue @@ -0,0 +1,116 @@ + + + diff --git a/src/views/canteen/canteenErpCategory/index.vue b/src/views/canteen/canteenErpCategory/index.vue new file mode 100644 index 0000000..816686f --- /dev/null +++ b/src/views/canteen/canteenErpCategory/index.vue @@ -0,0 +1,135 @@ + + +