From 0d34523ea7fcc2a30ae61c5e3566afc12af3613f Mon Sep 17 00:00:00 2001 From: chenbo <709206448@qq.com> Date: Wed, 13 Sep 2023 16:53:24 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E5=95=86=E6=88=B7=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/shop_merchant.ts | 26 ++++++ src/views/shop_merchant/edit.vue | 103 ++++++++++++++++++++++ src/views/shop_merchant/index.vue | 136 ++++++++++++++++++++++++++++++ 3 files changed, 265 insertions(+) create mode 100644 src/api/shop_merchant.ts create mode 100644 src/views/shop_merchant/edit.vue create mode 100644 src/views/shop_merchant/index.vue diff --git a/src/api/shop_merchant.ts b/src/api/shop_merchant.ts new file mode 100644 index 0000000..e64bccb --- /dev/null +++ b/src/api/shop_merchant.ts @@ -0,0 +1,26 @@ +import request from '@/utils/request' + +// 商城商户列表 +export function apiShopMerchantLists(params: any) { + return request.get({ url: '/shop_merchant/lists', params }) +} + +// 添加商城商户 +export function apiShopMerchantAdd(params: any) { + return request.post({ url: '/shop_merchant/add', params }) +} + +// 编辑商城商户 +export function apiShopMerchantEdit(params: any) { + return request.post({ url: '/shop_merchant/edit', params }) +} + +// 删除商城商户 +export function apiShopMerchantDelete(params: any) { + return request.post({ url: '/shop_merchant/delete', params }) +} + +// 商城商户详情 +export function apiShopMerchantDetail(params: any) { + return request.get({ url: '/shop_merchant/detail', params }) +} \ No newline at end of file diff --git a/src/views/shop_merchant/edit.vue b/src/views/shop_merchant/edit.vue new file mode 100644 index 0000000..e1746d3 --- /dev/null +++ b/src/views/shop_merchant/edit.vue @@ -0,0 +1,103 @@ + + + + + + + + + + + diff --git a/src/views/shop_merchant/index.vue b/src/views/shop_merchant/index.vue new file mode 100644 index 0000000..e9fa9a3 --- /dev/null +++ b/src/views/shop_merchant/index.vue @@ -0,0 +1,136 @@ + + + + + + + + + + + + + + + 查询 + 重置 + + + + + + + + + 新增 + + + 删除 + + + + + + + + + + + + 编辑 + + + 删除 + + + + + + + + + + + + + + + From 3635140ab596bf2596d1638884b25a452715c8e7 Mon Sep 17 00:00:00 2001 From: chenbo <709206448@qq.com> Date: Wed, 13 Sep 2023 16:53:24 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=95=86=E6=88=B7=E5=90=88=E5=90=8C?= =?UTF-8?q?=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/shop_contract.ts | 26 ++++++ src/api/shop_merchant.ts | 26 ++++++ src/views/shop_contract/edit.vue | 125 ++++++++++++++++++++++++++ src/views/shop_contract/index.vue | 143 ++++++++++++++++++++++++++++++ src/views/shop_merchant/edit.vue | 103 +++++++++++++++++++++ src/views/shop_merchant/index.vue | 136 ++++++++++++++++++++++++++++ 6 files changed, 559 insertions(+) create mode 100644 src/api/shop_contract.ts create mode 100644 src/api/shop_merchant.ts create mode 100644 src/views/shop_contract/edit.vue create mode 100644 src/views/shop_contract/index.vue create mode 100644 src/views/shop_merchant/edit.vue create mode 100644 src/views/shop_merchant/index.vue diff --git a/src/api/shop_contract.ts b/src/api/shop_contract.ts new file mode 100644 index 0000000..c507c78 --- /dev/null +++ b/src/api/shop_contract.ts @@ -0,0 +1,26 @@ +import request from '@/utils/request' + +// 商户合同列表 +export function apiShopContractLists(params: any) { + return request.get({ url: '/shop_contract/lists', params }) +} + +// 添加商户合同 +export function apiShopContractAdd(params: any) { + return request.post({ url: '/shop_contract/add', params }) +} + +// 编辑商户合同 +export function apiShopContractEdit(params: any) { + return request.post({ url: '/shop_contract/edit', params }) +} + +// 删除商户合同 +export function apiShopContractDelete(params: any) { + return request.post({ url: '/shop_contract/delete', params }) +} + +// 商户合同详情 +export function apiShopContractDetail(params: any) { + return request.get({ url: '/shop_contract/detail', params }) +} \ No newline at end of file diff --git a/src/api/shop_merchant.ts b/src/api/shop_merchant.ts new file mode 100644 index 0000000..e64bccb --- /dev/null +++ b/src/api/shop_merchant.ts @@ -0,0 +1,26 @@ +import request from '@/utils/request' + +// 商城商户列表 +export function apiShopMerchantLists(params: any) { + return request.get({ url: '/shop_merchant/lists', params }) +} + +// 添加商城商户 +export function apiShopMerchantAdd(params: any) { + return request.post({ url: '/shop_merchant/add', params }) +} + +// 编辑商城商户 +export function apiShopMerchantEdit(params: any) { + return request.post({ url: '/shop_merchant/edit', params }) +} + +// 删除商城商户 +export function apiShopMerchantDelete(params: any) { + return request.post({ url: '/shop_merchant/delete', params }) +} + +// 商城商户详情 +export function apiShopMerchantDetail(params: any) { + return request.get({ url: '/shop_merchant/detail', params }) +} \ No newline at end of file diff --git a/src/views/shop_contract/edit.vue b/src/views/shop_contract/edit.vue new file mode 100644 index 0000000..363e7ae --- /dev/null +++ b/src/views/shop_contract/edit.vue @@ -0,0 +1,125 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/shop_contract/index.vue b/src/views/shop_contract/index.vue new file mode 100644 index 0000000..0e34f77 --- /dev/null +++ b/src/views/shop_contract/index.vue @@ -0,0 +1,143 @@ + + + + + + + + + + + + + + + + + + 查询 + 重置 + + + + + + + + + 新增 + + + 删除 + + + + + + + + + + + + + + + 编辑 + + + 删除 + + + + + + + + + + + + + + + diff --git a/src/views/shop_merchant/edit.vue b/src/views/shop_merchant/edit.vue new file mode 100644 index 0000000..e1746d3 --- /dev/null +++ b/src/views/shop_merchant/edit.vue @@ -0,0 +1,103 @@ + + + + + + + + + + + diff --git a/src/views/shop_merchant/index.vue b/src/views/shop_merchant/index.vue new file mode 100644 index 0000000..e9fa9a3 --- /dev/null +++ b/src/views/shop_merchant/index.vue @@ -0,0 +1,136 @@ + + + + + + + + + + + + + + + 查询 + 重置 + + + + + + + + + 新增 + + + 删除 + + + + + + + + + + + + 编辑 + + + 删除 + + + + + + + + + + + + + + +