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 @@ + + + +