From 0b66dbf1efca54337a1f4a2765f5c6906c62bf80 Mon Sep 17 00:00:00 2001 From: weipengfei <2187978347@qq.com> Date: Sat, 29 Jun 2024 18:25:41 +0800 Subject: [PATCH 1/4] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.production | 8 +- src/api/user_ship.ts | 26 ++++ src/views/order/store_order/index.vue | 1 + .../order/user_product_storage/index.vue | 2 +- src/views/user_label/index.vue | 2 +- src/views/user_ship/details.vue | 91 ++++++++++++ src/views/user_ship/edit.vue | 127 +++++++++++++++++ src/views/user_ship/index.vue | 129 ++++++++++++++++++ 8 files changed, 380 insertions(+), 6 deletions(-) create mode 100644 src/api/user_ship.ts create mode 100644 src/views/user_ship/details.vue create mode 100644 src/views/user_ship/edit.vue create mode 100644 src/views/user_ship/index.vue diff --git a/.env.production b/.env.production index 44c2080ca..8d0ad69f5 100644 --- a/.env.production +++ b/.env.production @@ -2,9 +2,9 @@ NODE_ENV = 'production' # Base API # # 测试域名 -VITE_NOW_TYPE = 'dist/admin' -VITE_APP_BASE_URL='https://test-multi-store.lihaink.cn' +# VITE_NOW_TYPE = 'dist/admin' +# VITE_APP_BASE_URL='https://test-multi-store.lihaink.cn' # 正式域名 -# VITE_NOW_TYPE = 'build/admin' -# VITE_APP_BASE_URL='https://multi-store.lihaink.cn' \ No newline at end of file +VITE_NOW_TYPE = 'build/admin' +VITE_APP_BASE_URL='https://multi-store.lihaink.cn' \ No newline at end of file diff --git a/src/api/user_ship.ts b/src/api/user_ship.ts new file mode 100644 index 000000000..15b85a42d --- /dev/null +++ b/src/api/user_ship.ts @@ -0,0 +1,26 @@ +import request from '@/utils/request' + +// 会员类型列表 +export function apiUserShipLists(params: any) { + return request.get({ url: '/user_ship/usership/lists', params }) +} + +// 添加会员类型 +export function apiUserShipAdd(params: any) { + return request.post({ url: '/user_ship/usership/add', params }) +} + +// 编辑会员类型 +export function apiUserShipEdit(params: any) { + return request.post({ url: '/user_ship/usership/edit', params }) +} + +// 删除会员类型 +export function apiUserShipDelete(params: any) { + return request.post({ url: '/user_ship/usership/delete', params }) +} + +// 会员类型详情 +export function apiUserShipDetail(params: any) { + return request.get({ url: '/user_ship/usership/detail', params }) +} \ No newline at end of file diff --git a/src/views/order/store_order/index.vue b/src/views/order/store_order/index.vue index 920fb68f8..f45582627 100644 --- a/src/views/order/store_order/index.vue +++ b/src/views/order/store_order/index.vue @@ -45,6 +45,7 @@
...
+ diff --git a/src/views/order/user_product_storage/index.vue b/src/views/order/user_product_storage/index.vue index d44d94f44..6053a72aa 100644 --- a/src/views/order/user_product_storage/index.vue +++ b/src/views/order/user_product_storage/index.vue @@ -11,7 +11,7 @@ - + diff --git a/src/views/user_label/index.vue b/src/views/user_label/index.vue index 7c37676b4..0a213c2af 100644 --- a/src/views/user_label/index.vue +++ b/src/views/user_label/index.vue @@ -32,7 +32,7 @@
- +