diff --git a/src/api/business/ShopManager/Shops/shop.js b/src/api/business/ShopManager/Shops/shop.js new file mode 100644 index 0000000..4fb64ae --- /dev/null +++ b/src/api/business/ShopManager/Shops/shop.js @@ -0,0 +1,54 @@ +import request from '@/utils/request' + +/** + * @Descripttion: 店铺Api接口 + * @version: (1.0) + * @Author: (黎文豪) + * @Date: (2023-06-09) + * @LastEditors: (黎文豪) + * @LastEditTime: (2023-06-09) +*/ + +// 店铺分页查询列表 +export function shopList(query) { + return request({ + url: '/business/Shop/getShopList', + method: 'get', + params: query + }) +} + +// 店铺新增或修改 +export function addOrUpdateShop(data) { + return request({ + url: '/business/Shop/addOrUpdateShop', + method: 'post', + data: data, + }) +} + +// 店铺删除 +export function delShop(ids) { + return request({ + url: '/business/Shop/'+ ids, + method: 'delete' + }) +} + +// 店铺导出 +export function exportShop(query) { + return request({ + url: 'business/Shop/exportShop', + method: 'get', + params: query + }) +} + +// 店铺审核 +export function audit(data) { + return request({ + url: 'business/Shop/audit', + method: 'put', + data: data + }) +} diff --git a/src/views/business/ShopManager/Shops/components/AddDialog.vue b/src/views/business/ShopManager/Shops/components/AddDialog.vue new file mode 100644 index 0000000..0f8dd94 --- /dev/null +++ b/src/views/business/ShopManager/Shops/components/AddDialog.vue @@ -0,0 +1,175 @@ + + + + + \ No newline at end of file diff --git a/src/views/business/ShopManager/Shops/components/DetailDialog.vue b/src/views/business/ShopManager/Shops/components/DetailDialog.vue new file mode 100644 index 0000000..f1d941b --- /dev/null +++ b/src/views/business/ShopManager/Shops/components/DetailDialog.vue @@ -0,0 +1,148 @@ + + + + diff --git a/src/views/business/ShopManager/Shops/components/EditDialog.vue b/src/views/business/ShopManager/Shops/components/EditDialog.vue new file mode 100644 index 0000000..1866c1c --- /dev/null +++ b/src/views/business/ShopManager/Shops/components/EditDialog.vue @@ -0,0 +1,196 @@ + + + + diff --git a/src/views/business/ShopManager/Shops/index.vue b/src/views/business/ShopManager/Shops/index.vue new file mode 100644 index 0000000..84bca4e --- /dev/null +++ b/src/views/business/ShopManager/Shops/index.vue @@ -0,0 +1,302 @@ + + +