From c23a98ca183599b0cad44ba146553111e7f4846c Mon Sep 17 00:00:00 2001 From: whycode Date: Mon, 16 Oct 2023 17:07:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env | 2 +- index.html | 2 +- src/api/member/test/index.ts | 36 ++++ src/api/product/unit/index.ts | 36 ++++ src/layout/components/Logo/src/Logo.vue | 4 +- src/views/Login/Login.vue | 4 +- src/views/Login/components/LoginForm.vue | 4 +- src/views/infra/apiAccessLog/index.vue | 2 - src/views/infra/apiErrorLog/index.vue | 2 - src/views/infra/codegen/index.vue | 3 - src/views/infra/config/index.vue | 2 - src/views/infra/dbDoc/index.vue | 2 - src/views/infra/druid/index.vue | 3 - src/views/infra/file/index.vue | 1 - src/views/infra/fileConfig/index.vue | 2 - src/views/infra/job/index.vue | 4 - src/views/infra/job/logger/index.vue | 4 - src/views/infra/redis/index.vue | 2 - src/views/infra/server/index.vue | 2 - src/views/infra/skywalking/index.vue | 2 - src/views/infra/swagger/index.vue | 2 - src/views/mall/product/unit/UnitForm.vue | 106 ++++++++++ src/views/mall/product/unit/index.vue | 187 ++++++++++++++++++ .../promotion/combination/activity/index.vue | 2 - src/views/mall/promotion/coupon/index.vue | 2 - .../mall/promotion/coupon/template/index.vue | 2 - .../mall/promotion/seckill/activity/index.vue | 2 - .../mall/promotion/seckill/config/index.vue | 2 - src/views/member/test/TestForm.vue | 91 +++++++++ src/views/member/test/index.vue | 181 +++++++++++++++++ src/views/mp/account/index.vue | 2 - src/views/mp/autoReply/index.vue | 2 - src/views/mp/draft/index.vue | 2 - src/views/mp/freePublish/index.vue | 2 - src/views/mp/material/index.vue | 1 - src/views/mp/menu/index.vue | 1 - src/views/mp/tag/index.vue | 2 - src/views/mp/user/index.vue | 2 - src/views/pay/app/index.vue | 1 - src/views/pay/demo/index.vue | 5 - src/views/pay/notify/index.vue | 2 - src/views/pay/order/index.vue | 4 - src/views/pay/refund/index.vue | 2 - src/views/system/area/index.vue | 2 - src/views/system/errorCode/index.vue | 2 - src/views/system/loginlog/index.vue | 2 - src/views/system/mail/account/index.vue | 2 - src/views/system/mail/log/index.vue | 2 - src/views/system/mail/template/index.vue | 2 - src/views/system/menu/index.vue | 3 - src/views/system/notify/message/index.vue | 2 - src/views/system/notify/my/index.vue | 2 - src/views/system/notify/template/index.vue | 2 - src/views/system/oauth2/client/index.vue | 2 - src/views/system/oauth2/token/index.vue | 2 - src/views/system/operatelog/index.vue | 2 - src/views/system/role/index.vue | 3 - src/views/system/sms/channel/index.vue | 2 - src/views/system/sms/log/index.vue | 2 - src/views/system/sms/template/index.vue | 2 - src/views/system/tenant/index.vue | 2 - src/views/system/tenantPackage/index.vue | 2 - src/views/system/user/index.vue | 4 - 63 files changed, 645 insertions(+), 123 deletions(-) create mode 100644 src/api/member/test/index.ts create mode 100644 src/api/product/unit/index.ts create mode 100644 src/views/mall/product/unit/UnitForm.vue create mode 100644 src/views/mall/product/unit/index.vue create mode 100644 src/views/member/test/TestForm.vue create mode 100644 src/views/member/test/index.vue diff --git a/.env b/.env index 3c5303b5b..96e10f9ac 100644 --- a/.env +++ b/.env @@ -1,5 +1,5 @@ # 标题 -VITE_APP_TITLE=芋道管理系统 +VITE_APP_TITLE=上门服务系统 # 项目本地运行端口号 VITE_PORT=80 diff --git a/index.html b/index.html index 8cfcbefa6..b4cdb0eb5 100644 --- a/index.html +++ b/index.html @@ -136,7 +136,7 @@
- +
%VITE_APP_TITLE%
diff --git a/src/api/member/test/index.ts b/src/api/member/test/index.ts new file mode 100644 index 000000000..b5e925772 --- /dev/null +++ b/src/api/member/test/index.ts @@ -0,0 +1,36 @@ +import request from '@/config/axios' + +export interface TestVO { + id: number + name: string +} + +// 查询会员标签列表 +export const getTestPage = async (params) => { + return await request.get({ url: `/member/test/page`, params }) +} + +// 查询会员标签详情 +export const getTest = async (id: number) => { + return await request.get({ url: `/member/test/get?id=` + id }) +} + +// 新增会员标签 +export const createTest = async (data: TestVO) => { + return await request.post({ url: `/member/test/create`, data }) +} + +// 修改会员标签 +export const updateTest = async (data: TestVO) => { + return await request.put({ url: `/member/test/update`, data }) +} + +// 删除会员标签 +export const deleteTest = async (id: number) => { + return await request.delete({ url: `/member/test/delete?id=` + id }) +} + +// 导出会员标签 Excel +export const exportTest = async (params) => { + return await request.download({ url: `/member/test/export-excel`, params }) +} diff --git a/src/api/product/unit/index.ts b/src/api/product/unit/index.ts new file mode 100644 index 000000000..d7e1121e5 --- /dev/null +++ b/src/api/product/unit/index.ts @@ -0,0 +1,36 @@ +import request from '@/config/axios' + +export interface UnitVO { + id: number + name: string +} + +// 查询计量单位列表 +export const getUnitPage = async (params) => { + return await request.get({ url: `/product/unit/page`, params }) +} + +// 查询计量单位详情 +export const getUnit = async (id: number) => { + return await request.get({ url: `/product/unit/get?id=` + id }) +} + +// 新增计量单位 +export const createUnit = async (data: UnitVO) => { + return await request.post({ url: `/product/unit/create`, data }) +} + +// 修改计量单位 +export const updateUnit = async (data: UnitVO) => { + return await request.put({ url: `/product/unit/update`, data }) +} + +// 删除计量单位 +export const deleteUnit = async (id: number) => { + return await request.delete({ url: `/product/unit/delete?id=` + id }) +} + +// 导出计量单位 Excel +export const exportUnit = async (params) => { + return await request.download({ url: `/product/unit/export-excel`, params }) +} diff --git a/src/layout/components/Logo/src/Logo.vue b/src/layout/components/Logo/src/Logo.vue index d241130de..89852ca3e 100644 --- a/src/layout/components/Logo/src/Logo.vue +++ b/src/layout/components/Logo/src/Logo.vue @@ -66,10 +66,10 @@ watch( ]" to="/" > - + /> -->
- +
- + diff --git a/src/views/infra/apiAccessLog/index.vue b/src/views/infra/apiAccessLog/index.vue index b196da116..aa7299446 100644 --- a/src/views/infra/apiAccessLog/index.vue +++ b/src/views/infra/apiAccessLog/index.vue @@ -1,6 +1,4 @@