From e25aadb429ddf82574f8972815b96b68dd2aa6b0 Mon Sep 17 00:00:00 2001 From: zjf <1799650030@qq.com> Date: Mon, 31 Mar 2025 18:19:36 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=95=E7=82=B9=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/thirdparty/thirdPartyLog.ts | 41 ++++++ src/views/canteen/canteenSpu/index.vue | 2 +- src/views/thirdparty/thirdPartyLog/form.vue | 139 +++++++++++++++++++ src/views/thirdparty/thirdPartyLog/index.vue | 117 ++++++++++++++++ 4 files changed, 298 insertions(+), 1 deletion(-) create mode 100644 src/api/thirdparty/thirdPartyLog.ts create mode 100644 src/views/thirdparty/thirdPartyLog/form.vue create mode 100644 src/views/thirdparty/thirdPartyLog/index.vue diff --git a/src/api/thirdparty/thirdPartyLog.ts b/src/api/thirdparty/thirdPartyLog.ts new file mode 100644 index 0000000..6640294 --- /dev/null +++ b/src/api/thirdparty/thirdPartyLog.ts @@ -0,0 +1,41 @@ +import request from "/@/utils/request" + +export function fetchList(query?: Object) { + return request({ + url: '/thirdparty/thirdPartyLog/page', + method: 'get', + params: query + }) +} + +export function addObj(obj?: Object) { + return request({ + url: '/thirdparty/thirdPartyLog', + method: 'post', + data: obj + }) +} + +export function getObj(id?: string) { + return request({ + url: '/thirdparty/thirdPartyLog/' + id, + method: 'get' + }) +} + +export function delObjs(ids?: Object) { + return request({ + url: '/thirdparty/thirdPartyLog', + method: 'delete', + data: ids + }) +} + +export function putObj(obj?: Object) { + return request({ + url: '/thirdparty/thirdPartyLog', + method: 'put', + data: obj + }) +} + diff --git a/src/views/canteen/canteenSpu/index.vue b/src/views/canteen/canteenSpu/index.vue index 7ea1719..d65384f 100644 --- a/src/views/canteen/canteenSpu/index.vue +++ b/src/views/canteen/canteenSpu/index.vue @@ -69,7 +69,7 @@ - + diff --git a/src/views/thirdparty/thirdPartyLog/form.vue b/src/views/thirdparty/thirdPartyLog/form.vue new file mode 100644 index 0000000..8a58a62 --- /dev/null +++ b/src/views/thirdparty/thirdPartyLog/form.vue @@ -0,0 +1,139 @@ + + + diff --git a/src/views/thirdparty/thirdPartyLog/index.vue b/src/views/thirdparty/thirdPartyLog/index.vue new file mode 100644 index 0000000..b049f96 --- /dev/null +++ b/src/views/thirdparty/thirdPartyLog/index.vue @@ -0,0 +1,117 @@ + + +