diff --git a/ecom-dmb-backend/src/main/java/top/xyquan/ecomdmbbackend/AhGfBackendApplication.java b/ecom-dmb-backend/src/main/java/top/xyquan/ecomdmbbackend/EComDMBBackendApplication.java similarity index 75% rename from ecom-dmb-backend/src/main/java/top/xyquan/ecomdmbbackend/AhGfBackendApplication.java rename to ecom-dmb-backend/src/main/java/top/xyquan/ecomdmbbackend/EComDMBBackendApplication.java index c1970f09..dea1eee8 100644 --- a/ecom-dmb-backend/src/main/java/top/xyquan/ecomdmbbackend/AhGfBackendApplication.java +++ b/ecom-dmb-backend/src/main/java/top/xyquan/ecomdmbbackend/EComDMBBackendApplication.java @@ -6,9 +6,9 @@ import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication @MapperScan("top.xyquan.ecomdmbbackend.modules.*.mapper") -public class AhGfBackendApplication { +public class EComDMBBackendApplication { public static void main(String[] args) { - SpringApplication.run(AhGfBackendApplication.class, args); + SpringApplication.run(EComDMBBackendApplication.class, args); } } \ No newline at end of file diff --git a/ecom-dmb-backend/src/main/java/top/xyquan/ecomdmbbackend/modules/ec/mapper/OrderStatusMapper.java b/ecom-dmb-backend/src/main/java/top/xyquan/ecomdmbbackend/modules/ec/mapper/OrderStatusMapper.java index aad5e0b9..f10a00e4 100644 --- a/ecom-dmb-backend/src/main/java/top/xyquan/ecomdmbbackend/modules/ec/mapper/OrderStatusMapper.java +++ b/ecom-dmb-backend/src/main/java/top/xyquan/ecomdmbbackend/modules/ec/mapper/OrderStatusMapper.java @@ -4,16 +4,9 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper; import org.apache.ibatis.annotations.Mapper; import top.xyquan.ecomdmbbackend.modules.ec.model.po.OrderStatusPO; -import java.util.List; - /** * 订单状态Mapper */ @Mapper public interface OrderStatusMapper extends BaseMapper { - - /** - * 查询启用的订单状态列表 - */ - List selectActiveStatusList(); } diff --git a/ecom-dmb-backend/src/main/java/top/xyquan/ecomdmbbackend/modules/ec/model/vo/OrderVO.java b/ecom-dmb-backend/src/main/java/top/xyquan/ecomdmbbackend/modules/ec/model/vo/OrderVO.java index 54fa7ada..3d05a407 100644 --- a/ecom-dmb-backend/src/main/java/top/xyquan/ecomdmbbackend/modules/ec/model/vo/OrderVO.java +++ b/ecom-dmb-backend/src/main/java/top/xyquan/ecomdmbbackend/modules/ec/model/vo/OrderVO.java @@ -5,7 +5,6 @@ import lombok.Data; import java.math.BigDecimal; import java.time.LocalDateTime; -import java.util.List; /** * 订单VO @@ -99,8 +98,8 @@ public class OrderVO { private Long updateBy; /** - * 订单明细列表 + * 订单明细 */ - @Schema(description = "订单明细列表") - private List orderItems; + @Schema(description = "订单明细") + private OrderItemVO orderItem; } diff --git a/ecom-dmb-backend/src/main/java/top/xyquan/ecomdmbbackend/modules/ec/service/impl/OrderServiceImpl.java b/ecom-dmb-backend/src/main/java/top/xyquan/ecomdmbbackend/modules/ec/service/impl/OrderServiceImpl.java index 4f4567e4..08f01dc6 100644 --- a/ecom-dmb-backend/src/main/java/top/xyquan/ecomdmbbackend/modules/ec/service/impl/OrderServiceImpl.java +++ b/ecom-dmb-backend/src/main/java/top/xyquan/ecomdmbbackend/modules/ec/service/impl/OrderServiceImpl.java @@ -258,9 +258,25 @@ public class OrderServiceImpl extends ServiceImpl implemen // 执行分页查询 IPage pageResult = this.page(page, wrapper); - // 转换为VO + // 转换为VO并加载订单明细 List voList = pageResult.getRecords().stream() - .map(this::convertToVO) + .map(order -> { + OrderVO orderVO = convertToVO(order); + // 查询订单明细(只取第一条) + LambdaQueryWrapper itemWrapper = new LambdaQueryWrapper<>(); + itemWrapper.eq(OrderItemPO::getOrderId, order.getId()) + .isNull(OrderItemPO::getDeleteTime) + .orderByAsc(OrderItemPO::getCreateTime) + .last("LIMIT 1"); + OrderItemPO orderItem = orderItemMapper.selectOne(itemWrapper); + + // 转换为VO + if (orderItem != null) { + OrderItemVO orderItemVO = convertOrderItemToVO(orderItem); + orderVO.setOrderItem(orderItemVO); + } + return orderVO; + }) .collect(Collectors.toList()); // 构建分页结果 @@ -281,19 +297,19 @@ public class OrderServiceImpl extends ServiceImpl implemen // 转换为VO OrderVO orderVO = convertToVO(order); - // 查询订单明细 + // 查询订单明细(只取第一条) LambdaQueryWrapper wrapper = new LambdaQueryWrapper<>(); wrapper.eq(OrderItemPO::getOrderId, id) .isNull(OrderItemPO::getDeleteTime) - .orderByAsc(OrderItemPO::getCreateTime); - List orderItems = orderItemMapper.selectList(wrapper); + .orderByAsc(OrderItemPO::getCreateTime) + .last("LIMIT 1"); + OrderItemPO orderItem = orderItemMapper.selectOne(wrapper); // 转换为VO - List orderItemVOs = orderItems.stream() - .map(this::convertOrderItemToVO) - .collect(Collectors.toList()); - - orderVO.setOrderItems(orderItemVOs); + if (orderItem != null) { + OrderItemVO orderItemVO = convertOrderItemToVO(orderItem); + orderVO.setOrderItem(orderItemVO); + } return orderVO; } diff --git a/ecom-dmb-backend/src/main/java/top/xyquan/ecomdmbbackend/modules/ec/service/impl/OrderStatusServiceImpl.java b/ecom-dmb-backend/src/main/java/top/xyquan/ecomdmbbackend/modules/ec/service/impl/OrderStatusServiceImpl.java index 9dde653a..e829213e 100644 --- a/ecom-dmb-backend/src/main/java/top/xyquan/ecomdmbbackend/modules/ec/service/impl/OrderStatusServiceImpl.java +++ b/ecom-dmb-backend/src/main/java/top/xyquan/ecomdmbbackend/modules/ec/service/impl/OrderStatusServiceImpl.java @@ -73,7 +73,12 @@ public class OrderStatusServiceImpl implements OrderStatusService { @Override public List getActiveOrderStatusList() { - List poList = orderStatusMapper.selectActiveStatusList(); + LambdaQueryWrapper wrapper = new LambdaQueryWrapper<>(); + wrapper.eq(OrderStatusPO::getIsActive, 1) // 1表示启用状态 + .isNull(OrderStatusPO::getDeleteTime) + .orderByAsc(OrderStatusPO::getSortOrder); + + List poList = orderStatusMapper.selectList(wrapper); return poList.stream() .map(po -> { OrderStatusVO vo = new OrderStatusVO(); @@ -86,7 +91,7 @@ public class OrderStatusServiceImpl implements OrderStatusService { @Override public List getAllOrderStatusList() { LambdaQueryWrapper wrapper = new LambdaQueryWrapper<>(); - wrapper.eq(OrderStatusPO::getDeleteTime, null) + wrapper.isNull(OrderStatusPO::getDeleteTime) .orderByAsc(OrderStatusPO::getSortOrder); List poList = orderStatusMapper.selectList(wrapper); diff --git a/ecom-dmb-backend/src/test/java/top/xyquan/ecomdmbbackend/AhGfBackendApplicationTests.java b/ecom-dmb-backend/src/test/java/top/xyquan/ecomdmbbackend/EComDMBBackendApplicationTests.java similarity index 83% rename from ecom-dmb-backend/src/test/java/top/xyquan/ecomdmbbackend/AhGfBackendApplicationTests.java rename to ecom-dmb-backend/src/test/java/top/xyquan/ecomdmbbackend/EComDMBBackendApplicationTests.java index 462d5a99..b9f1fc00 100644 --- a/ecom-dmb-backend/src/test/java/top/xyquan/ecomdmbbackend/AhGfBackendApplicationTests.java +++ b/ecom-dmb-backend/src/test/java/top/xyquan/ecomdmbbackend/EComDMBBackendApplicationTests.java @@ -4,7 +4,7 @@ import org.junit.jupiter.api.Test; import org.springframework.boot.test.context.SpringBootTest; @SpringBootTest -class AhGfBackendApplicationTests { +class EComDMBBackendApplicationTests { @Test void contextLoads() { diff --git a/ecom-dmb-backend/uploads/images/2025/09/14/38ca99196c02415c8d97a317c95b21c6.jpg b/ecom-dmb-backend/uploads/images/2025/09/14/38ca99196c02415c8d97a317c95b21c6.jpg new file mode 100644 index 00000000..f245f535 Binary files /dev/null and b/ecom-dmb-backend/uploads/images/2025/09/14/38ca99196c02415c8d97a317c95b21c6.jpg differ diff --git a/ecom-dmb-backend/uploads/images/2025/09/14/780809e0062a423d89b1c0336a4ea74b.jpg b/ecom-dmb-backend/uploads/images/2025/09/14/780809e0062a423d89b1c0336a4ea74b.jpg new file mode 100644 index 00000000..a6c4d744 Binary files /dev/null and b/ecom-dmb-backend/uploads/images/2025/09/14/780809e0062a423d89b1c0336a4ea74b.jpg differ diff --git a/ecom-dmb-backend/uploads/images/2025/09/14/8bacf933dccd4ce9b274ba440f0ed794.jpg b/ecom-dmb-backend/uploads/images/2025/09/14/8bacf933dccd4ce9b274ba440f0ed794.jpg new file mode 100644 index 00000000..03fcc8d9 Binary files /dev/null and b/ecom-dmb-backend/uploads/images/2025/09/14/8bacf933dccd4ce9b274ba440f0ed794.jpg differ diff --git a/ecom-dmb-frontend/apps/web-antd/src/api/ecommerce/apis.ts b/ecom-dmb-frontend/apps/web-antd/src/api/ecommerce/apis.ts index 99b16082..248fdee1 100644 --- a/ecom-dmb-frontend/apps/web-antd/src/api/ecommerce/apis.ts +++ b/ecom-dmb-frontend/apps/web-antd/src/api/ecommerce/apis.ts @@ -1,123 +1,7 @@ import { requestClient } from '#/api/request'; import type { PageQueryDTO, PageResultVO } from '#/types/common'; -import type { ShopDTO, ShopVO, ProductDTO, ProductVO, OrderDTO, OrderVO, BatchImportResultVO } from './types'; - -/** - * 店铺管理API - */ - -/** - * 分页获取店铺列表 - */ -export async function getShopPageApi(params: PageQueryDTO) { - return requestClient.post>('/ec/shop/page', params); -} - -/** - * 创建店铺 - */ -export async function createShopApi(data: ShopDTO.CreateShopDTO) { - return requestClient.post('/ec/shop/create', data); -} - -/** - * 更新店铺 - */ -export async function updateShopApi(id: number, data: ShopDTO.UpdateShopDTO) { - return requestClient.put(`/ec/shop/update/${id}`, data); -} - -/** - * 删除店铺 - */ -export async function deleteShopApi(id: number) { - return requestClient.delete(`/ec/shop/delete/${id}`); -} - -/** - * 上传店铺Logo - */ -export async function uploadShopLogoApi(file: File) { - const formData = new FormData(); - formData.append('file', file); - return requestClient.post('/ec/shop/upload-logo', formData, { - headers: { - 'Content-Type': 'multipart/form-data', - }, - }); -} - -/** - * 商品管理API - */ - -/** - * 分页获取商品列表 - */ -export async function getProductPageApi(params: PageQueryDTO) { - return requestClient.post>('/ec/product/page', params); -} - -/** - * 创建商品 - */ -export async function createProductApi(data: ProductDTO.CreateProductDTO) { - return requestClient.post('/ec/product/create', data); -} - -/** - * 更新商品 - */ -export async function updateProductApi(id: number, data: ProductDTO.UpdateProductDTO) { - return requestClient.put(`/ec/product/update/${id}`, data); -} - -/** - * 删除商品 - */ -export async function deleteProductApi(id: number) { - return requestClient.delete(`/ec/product/delete/${id}`); -} - -/** - * 一键创建商品和规格 - */ -export async function createProductWithSpecsApi(data: ProductDTO.CreateProductWithSpecsDTO) { - return requestClient.post('/ec/product/create-with-specs', data); -} - -/** - * 商品规格管理API - */ - -/** - * 分页获取商品规格列表 - */ -export async function getProductSpecPageApi(params: PageQueryDTO) { - return requestClient.post>('/ec/product-spec/page', params); -} - -/** - * 创建商品规格 - */ -export async function createProductSpecApi(data: ProductDTO.CreateProductSpecDTO) { - return requestClient.post('/ec/product-spec/create', data); -} - -/** - * 更新商品规格 - */ -export async function updateProductSpecApi(id: number, data: ProductDTO.UpdateProductSpecDTO) { - return requestClient.put(`/ec/product-spec/update/${id}`, data); -} - -/** - * 删除商品规格 - */ -export async function deleteProductSpecApi(id: number) { - return requestClient.delete(`/ec/product-spec/delete/${id}`); -} +import type { OrderDTO, OrderVO, BatchImportResultVO, OrderStatusDTO, OrderStatusVO } from './types'; /** * 订单管理API @@ -166,47 +50,48 @@ export async function batchImportOrdersApi(data: OrderDTO.BatchImportOrderDTO) { } /** - * 精准查询API - 用于数据导入 + * 订单状态管理API */ /** - * 根据名称精准查询店铺 + * 创建订单状态 */ -export async function getShopByNameApi(name: string) { - return requestClient.get(`/ec/shop/find-by-name/${encodeURIComponent(name)}`); +export async function createOrderStatusApi(data: OrderStatusDTO.CreateOrderStatusDTO) { + return requestClient.post('/ec/order-status', data); } /** - * 批量根据名称查询店铺 + * 更新订单状态 */ -export async function getShopsByNamesApi(names: string[]) { - return requestClient.post('/ec/shop/find-by-names', names); +export async function updateOrderStatusApi(data: OrderStatusDTO.UpdateOrderStatusDTO) { + return requestClient.put('/ec/order-status', data); } /** - * 根据名称精准查询商品 + * 删除订单状态 */ -export async function getProductByNameApi(name: string) { - return requestClient.get(`/ec/product/find-by-name/${encodeURIComponent(name)}`); +export async function deleteOrderStatusApi(id: number) { + return requestClient.delete(`/ec/order-status/${id}`); } /** - * 批量根据名称查询商品 + * 获取订单状态详情 */ -export async function getProductsByNamesApi(names: string[]) { - return requestClient.post('/ec/product/find-by-names', names); +export async function getOrderStatusByIdApi(id: number) { + return requestClient.get(`/ec/order-status/${id}`); } /** - * 根据商品名称和规格编码精准查询商品规格 + * 获取启用的订单状态列表 */ -export async function getProductSpecByProductAndSpecApi(productName: string, specCode: string) { - return requestClient.get(`/ec/product-spec/find-by-product-and-spec/${encodeURIComponent(productName)}/${encodeURIComponent(specCode)}`); +export async function getActiveOrderStatusListApi() { + return requestClient.get('/ec/order-status/active'); } /** - * 批量根据商品名称和规格编码查询商品规格 + * 获取所有订单状态列表 */ -export async function getProductSpecsByProductAndSpecsApi(queries: { productName: string; specCode: string }[]) { - return requestClient.post('/ec/product-spec/find-by-product-and-specs', queries); +export async function getAllOrderStatusListApi() { + return requestClient.get('/ec/order-status/all'); } + diff --git a/ecom-dmb-frontend/apps/web-antd/src/api/ecommerce/types/types.dto.ts b/ecom-dmb-frontend/apps/web-antd/src/api/ecommerce/types/types.dto.ts index 5dd5381d..c7dbc2f1 100644 --- a/ecom-dmb-frontend/apps/web-antd/src/api/ecommerce/types/types.dto.ts +++ b/ecom-dmb-frontend/apps/web-antd/src/api/ecommerce/types/types.dto.ts @@ -2,132 +2,6 @@ * 电商模块DTO类型定义 */ -export namespace ShopDTO { - /** 创建店铺参数 */ - export interface CreateShopDTO { - /** 店铺名称 */ - name: string; - /** logo图片ID */ - logoImageId?: number; - /** 平台(如淘宝、京东、拼多多) */ - platform?: string; - } - - /** 更新店铺参数 */ - export interface UpdateShopDTO { - /** 店铺名称 */ - name: string; - /** logo图片ID */ - logoImageId?: number; - /** 平台(如淘宝、京东、拼多多) */ - platform?: string; - } - - /** 店铺过滤条件 */ - export interface ShopFiltersDTO { - /** 店铺名称(模糊查询) */ - name?: string; - /** 平台 */ - platform?: string; - } -} - -export namespace ProductDTO { - /** 创建商品参数 */ - export interface CreateProductDTO { - /** 商品名称 */ - name: string; - /** 主图图片ID */ - mainImageId?: number; - } - - /** 更新商品参数 */ - export interface UpdateProductDTO { - /** 商品名称 */ - name: string; - /** 商品编码 */ - specCode?: string; - /** 商品SKU */ - skuCode?: string; - /** 主图图片ID */ - mainImageId?: number; - /** 成本价 */ - costPrice: number; - } - - /** 一键创建商品和规格参数 */ - export interface CreateProductWithSpecsDTO { - /** 商品名称 */ - name: string; - /** 主图图片ID */ - mainImageId?: number; - /** 商品规格列表 */ - specs: ProductSpecDTO[]; - } - - /** 商品规格DTO */ - export interface ProductSpecDTO { - /** 规格名称 */ - name: string; - /** 规格编码 */ - specCode?: string; - /** 成本价 */ - costPrice: number; - } - - /** 创建商品规格参数 */ - export interface CreateProductSpecDTO { - /** 商品ID */ - productId: number; - /** 规格名称 */ - name: string; - /** 规格编码 */ - specCode?: string; - /** 成本价 */ - costPrice: number; - } - - /** 更新商品规格参数 */ - export interface UpdateProductSpecDTO { - /** 规格名称 */ - name: string; - /** 规格编码 */ - specCode?: string; - /** 成本价 */ - costPrice: number; - } - - /** 商品过滤条件 */ - export interface ProductFiltersDTO { - /** 商品名称(模糊查询) */ - name?: string; - /** 商品编码(模糊查询) */ - specCode?: string; - /** 商品SKU(模糊查询) */ - skuCode?: string; - /** 成本价范围-最小值 */ - minCostPrice?: number; - /** 成本价范围-最大值 */ - maxCostPrice?: number; - } - - /** 商品规格过滤条件 */ - export interface ProductSpecFilterDTO { - /** 商品ID */ - productId?: number; - /** 商品名称(模糊查询) */ - productName?: string; - /** 规格名称(模糊查询) */ - name?: string; - /** 规格编码(模糊查询) */ - specCode?: string; - /** 成本价范围-最小值 */ - minCostPrice?: number; - /** 成本价范围-最大值 */ - maxCostPrice?: number; - } -} - export namespace OrderDTO { /** 创建订单参数 */ export interface CreateOrderDTO { @@ -155,20 +29,16 @@ export namespace OrderDTO { export interface UpdateOrderDTO { /** 店铺ID */ shopId: number; - /** 商品规格ID */ - productSpecId: number; + /** 平台订单号 */ + platformOrderNo?: string; /** 订单状态ID */ - orderStatusId: number; - /** 商品数量 */ - quantity: number; - /** 订单编号 */ - orderNumber: string; - /** 商品名称 */ - productName: string; - /** 商品规格名称 */ - productSpecName: string; - /** 店铺实际收入 */ - shopActualAmount: number; + statusId?: number; + /** 商家实收金额 */ + receivedAmount: number; + /** 运费 */ + shippingFee?: number; + /** 下单时间 */ + orderDate: string; } /** 订单过滤条件 */ @@ -191,3 +61,31 @@ export namespace OrderDTO { orders: CreateOrderDTO[]; } } + +export namespace OrderStatusDTO { + /** 创建订单状态参数 */ + export interface CreateOrderStatusDTO { + /** 状态名称 */ + name: string; + /** 状态描述 */ + description?: string; + /** 是否启用 */ + enabled: boolean; + /** 排序 */ + sortOrder?: number; + } + + /** 更新订单状态参数 */ + export interface UpdateOrderStatusDTO { + /** 状态ID */ + id: number; + /** 状态名称 */ + name: string; + /** 状态描述 */ + description?: string; + /** 是否启用 */ + enabled: boolean; + /** 排序 */ + sortOrder?: number; + } +} \ No newline at end of file diff --git a/ecom-dmb-frontend/apps/web-antd/src/api/ecommerce/types/types.vo.ts b/ecom-dmb-frontend/apps/web-antd/src/api/ecommerce/types/types.vo.ts index fd65cf56..ae79b440 100644 --- a/ecom-dmb-frontend/apps/web-antd/src/api/ecommerce/types/types.vo.ts +++ b/ecom-dmb-frontend/apps/web-antd/src/api/ecommerce/types/types.vo.ts @@ -2,101 +2,29 @@ * 电商模块VO类型定义 */ -export namespace ShopVO { - /** 店铺信息 */ - export interface ShopInfoVO { - /** 店铺ID */ - id: number; - /** 所属公司ID */ - companyId: number; - /** 店铺名称 */ - name: string; - /** logo URL */ - logo?: string; - /** 平台(如淘宝、京东、拼多多) */ - platform?: string; - /** 创建时间 */ - createTime: string; - /** 更新时间 */ - updateTime: string; - /** 创建人ID */ - createBy?: number; - /** 更新人ID */ - updateBy?: number; - } -} - -export namespace ProductVO { - /** 商品信息 */ - export interface ProductInfoVO { - /** 商品ID */ - id: number; - /** 公司ID */ - companyId: number; - /** 商品名称 */ - name: string; - /** 主图URL */ - mainImage?: string; - /** 创建时间 */ - createTime: string; - /** 更新时间 */ - updateTime: string; - /** 创建人ID */ - createBy?: number; - /** 更新人ID */ - updateBy?: number; - /** 商品规格列表 */ - specs?: ProductSpecInfoVO[]; - } - - /** 商品规格信息 */ - export interface ProductSpecInfoVO { - /** 规格ID */ - id: number; - /** 公司ID */ - companyId: number; - /** 商品ID */ - productId: number; - /** 商品名称 */ - productName: string; - /** 规格名称 */ - name: string; - /** 规格编码 */ - specCode?: string; - /** 成本价 */ - costPrice: number; - /** 创建时间 */ - createTime: string; - /** 更新时间 */ - updateTime: string; - /** 创建人ID */ - createBy?: number; - /** 更新人ID */ - updateBy?: number; - } -} - export namespace OrderVO { /** 订单信息 */ export interface OrderInfoVO { /** 订单ID */ id: number; + /** 公司ID */ + companyId: number; /** 店铺ID */ shopId: number; - /** 商品规格ID */ - productSpecId: number; + /** 店铺名称 */ + shopName: string; + /** 平台订单号 */ + platformOrderNo: string; /** 订单状态ID */ - orderStatusId: number; - /** 商品数量 */ - quantity: number; - /** 订单编号 */ - orderNumber: string; - /** 商品名称 */ - productName: string; - /** 商品规格名称 */ - productSpecName: string; - /** 店铺实际收入 */ - shopActualAmount: number; + statusId: number; + /** 订单状态名称 */ + statusName: string; + /** 商家实收金额 */ + receivedAmount: number; + /** 运费 */ + shippingFee: number; + /** 下单时间 */ + orderDate: string; /** 创建时间 */ createTime: string; /** 更新时间 */ @@ -105,6 +33,42 @@ export namespace OrderVO { createBy?: number; /** 更新人ID */ updateBy?: number; + /** 订单明细 */ + orderItem?: OrderItemVO.OrderItemInfoVO; + } +} + +export namespace OrderItemVO { + /** 订单明细信息 */ + export interface OrderItemInfoVO { + /** 订单明细ID */ + id: number; + /** 订单ID */ + orderId: number; + /** 商品ID */ + productId: number; + /** 商品规格ID */ + productSpecId: number; + /** 商品名称 */ + productName: string; + /** 规格名称 */ + specName: string; + /** 商品主图 */ + productImage?: string; + /** 数量 */ + quantity: number; + /** 销售单价 */ + unitPrice: number; + /** 成本价 */ + costPrice: number; + /** 小计金额 */ + subtotal: number; + /** 成本小计 */ + costTotal: number; + /** 创建时间 */ + createTime: string; + /** 更新时间 */ + updateTime: string; } } @@ -121,3 +85,27 @@ export namespace BatchImportResultVO { failureDetails: string[]; } } + +export namespace OrderStatusVO { + /** 订单状态信息 */ + export interface OrderStatusInfoVO { + /** 状态ID */ + id: number; + /** 状态名称 */ + name: string; + /** 状态描述 */ + description?: string; + /** 是否启用 */ + enabled: boolean; + /** 排序 */ + sortOrder?: number; + /** 创建时间 */ + createTime: string; + /** 更新时间 */ + updateTime: string; + /** 创建人ID */ + createBy?: number; + /** 更新人ID */ + updateBy?: number; + } +} \ No newline at end of file diff --git a/ecom-dmb-frontend/apps/web-antd/src/api/index.ts b/ecom-dmb-frontend/apps/web-antd/src/api/index.ts index 4b0e0413..4bfbfb31 100644 --- a/ecom-dmb-frontend/apps/web-antd/src/api/index.ts +++ b/ecom-dmb-frontend/apps/web-antd/src/api/index.ts @@ -1 +1,2 @@ export * from './core'; +export * from './shop'; diff --git a/ecom-dmb-frontend/apps/web-antd/src/api/shop/apis.ts b/ecom-dmb-frontend/apps/web-antd/src/api/shop/apis.ts new file mode 100644 index 00000000..bac6e65c --- /dev/null +++ b/ecom-dmb-frontend/apps/web-antd/src/api/shop/apis.ts @@ -0,0 +1,166 @@ +import { requestClient } from '#/api/request'; + +import type { PageQueryDTO, PageResultVO } from '#/types/common'; +import type { ShopDTO, ShopVO, ProductDTO, ProductVO } from './types'; + +/** + * 店铺管理API + */ + +/** + * 分页获取店铺列表 + */ +export async function getShopPageApi(params: PageQueryDTO) { + return requestClient.post>('/ec/shop/page', params); +} + +/** + * 创建店铺 + */ +export async function createShopApi(data: ShopDTO.CreateShopDTO) { + return requestClient.post('/ec/shop/create', data); +} + +/** + * 更新店铺 + */ +export async function updateShopApi(id: number, data: ShopDTO.UpdateShopDTO) { + return requestClient.put(`/ec/shop/update/${id}`, data); +} + +/** + * 删除店铺 + */ +export async function deleteShopApi(id: number) { + return requestClient.delete(`/ec/shop/delete/${id}`); +} + +/** + * 上传店铺Logo + */ +export async function uploadShopLogoApi(file: File) { + const formData = new FormData(); + formData.append('file', file); + return requestClient.post('/ec/shop/upload-logo', formData, { + headers: { + 'Content-Type': 'multipart/form-data', + }, + }); +} + +/** + * 商品管理API + */ + +/** + * 分页获取商品列表 + */ +export async function getProductPageApi(params: PageQueryDTO) { + return requestClient.post>('/ec/product/page', params); +} + +/** + * 创建商品 + */ +export async function createProductApi(data: ProductDTO.CreateProductDTO) { + return requestClient.post('/ec/product/create', data); +} + +/** + * 更新商品 + */ +export async function updateProductApi(id: number, data: ProductDTO.UpdateProductDTO) { + return requestClient.put(`/ec/product/update/${id}`, data); +} + +/** + * 删除商品 + */ +export async function deleteProductApi(id: number) { + return requestClient.delete(`/ec/product/delete/${id}`); +} + +/** + * 一键创建商品和规格 + */ +export async function createProductWithSpecsApi(data: ProductDTO.CreateProductWithSpecsDTO) { + return requestClient.post('/ec/product/create-with-specs', data); +} + +/** + * 商品规格管理API + */ + +/** + * 分页获取商品规格列表 + */ +export async function getProductSpecPageApi(params: PageQueryDTO) { + return requestClient.post>('/ec/product-spec/page', params); +} + +/** + * 创建商品规格 + */ +export async function createProductSpecApi(data: ProductDTO.CreateProductSpecDTO) { + return requestClient.post('/ec/product-spec/create', data); +} + +/** + * 更新商品规格 + */ +export async function updateProductSpecApi(id: number, data: ProductDTO.UpdateProductSpecDTO) { + return requestClient.put(`/ec/product-spec/update/${id}`, data); +} + +/** + * 删除商品规格 + */ +export async function deleteProductSpecApi(id: number) { + return requestClient.delete(`/ec/product-spec/delete/${id}`); +} + +/** + * 精准查询API - 用于数据导入 + */ + +/** + * 根据名称精准查询店铺 + */ +export async function getShopByNameApi(name: string) { + return requestClient.get(`/ec/shop/find-by-name/${encodeURIComponent(name)}`); +} + +/** + * 批量根据名称查询店铺 + */ +export async function getShopsByNamesApi(names: string[]) { + return requestClient.post('/ec/shop/find-by-names', names); +} + +/** + * 根据名称精准查询商品 + */ +export async function getProductByNameApi(name: string) { + return requestClient.get(`/ec/product/find-by-name/${encodeURIComponent(name)}`); +} + +/** + * 批量根据名称查询商品 + */ +export async function getProductsByNamesApi(names: string[]) { + return requestClient.post('/ec/product/find-by-names', names); +} + +/** + * 根据商品名称和规格编码精准查询商品规格 + */ +export async function getProductSpecByProductAndSpecApi(productName: string, specCode: string) { + return requestClient.get(`/ec/product-spec/find-by-product-and-spec/${encodeURIComponent(productName)}/${encodeURIComponent(specCode)}`); +} + +/** + * 批量根据商品名称和规格编码查询商品规格 + */ +export async function getProductSpecsByProductAndSpecsApi(queries: { productName: string; specCode: string }[]) { + return requestClient.post('/ec/product-spec/find-by-product-and-specs', queries); +} diff --git a/ecom-dmb-frontend/apps/web-antd/src/api/shop/index.ts b/ecom-dmb-frontend/apps/web-antd/src/api/shop/index.ts new file mode 100644 index 00000000..1cf3c73c --- /dev/null +++ b/ecom-dmb-frontend/apps/web-antd/src/api/shop/index.ts @@ -0,0 +1,6 @@ +/** + * 店铺管理模块API导出 + */ + +export * from './apis'; +export * from './types'; diff --git a/ecom-dmb-frontend/apps/web-antd/src/api/shop/types/index.ts b/ecom-dmb-frontend/apps/web-antd/src/api/shop/types/index.ts new file mode 100644 index 00000000..bd5befa1 --- /dev/null +++ b/ecom-dmb-frontend/apps/web-antd/src/api/shop/types/index.ts @@ -0,0 +1,6 @@ +/** + * 店铺管理模块类型定义导出 + */ + +export * from './types.dto'; +export * from './types.vo'; diff --git a/ecom-dmb-frontend/apps/web-antd/src/api/shop/types/types.dto.ts b/ecom-dmb-frontend/apps/web-antd/src/api/shop/types/types.dto.ts new file mode 100644 index 00000000..b2c01137 --- /dev/null +++ b/ecom-dmb-frontend/apps/web-antd/src/api/shop/types/types.dto.ts @@ -0,0 +1,129 @@ +/** + * 店铺管理模块DTO类型定义 + */ + +export namespace ShopDTO { + /** 创建店铺参数 */ + export interface CreateShopDTO { + /** 店铺名称 */ + name: string; + /** logo图片ID */ + logoImageId?: number; + /** 平台(如淘宝、京东、拼多多) */ + platform?: string; + } + + /** 更新店铺参数 */ + export interface UpdateShopDTO { + /** 店铺名称 */ + name: string; + /** logo图片ID */ + logoImageId?: number; + /** 平台(如淘宝、京东、拼多多) */ + platform?: string; + } + + /** 店铺过滤条件 */ + export interface ShopFiltersDTO { + /** 店铺名称(模糊查询) */ + name?: string; + /** 平台 */ + platform?: string; + } +} + +export namespace ProductDTO { + /** 创建商品参数 */ + export interface CreateProductDTO { + /** 商品名称 */ + name: string; + /** 主图图片ID */ + mainImageId?: number; + } + + /** 更新商品参数 */ + export interface UpdateProductDTO { + /** 商品名称 */ + name: string; + /** 商品编码 */ + specCode?: string; + /** 商品SKU */ + skuCode?: string; + /** 主图图片ID */ + mainImageId?: number; + /** 成本价 */ + costPrice: number; + } + + /** 一键创建商品和规格参数 */ + export interface CreateProductWithSpecsDTO { + /** 商品名称 */ + name: string; + /** 主图图片ID */ + mainImageId?: number; + /** 商品规格列表 */ + specs: ProductSpecDTO[]; + } + + /** 商品规格DTO */ + export interface ProductSpecDTO { + /** 规格名称 */ + name: string; + /** 规格编码 */ + specCode?: string; + /** 成本价 */ + costPrice: number; + } + + /** 创建商品规格参数 */ + export interface CreateProductSpecDTO { + /** 商品ID */ + productId: number; + /** 规格名称 */ + name: string; + /** 规格编码 */ + specCode?: string; + /** 成本价 */ + costPrice: number; + } + + /** 更新商品规格参数 */ + export interface UpdateProductSpecDTO { + /** 规格名称 */ + name: string; + /** 规格编码 */ + specCode?: string; + /** 成本价 */ + costPrice: number; + } + + /** 商品过滤条件 */ + export interface ProductFiltersDTO { + /** 商品名称(模糊查询) */ + name?: string; + /** 商品编码(模糊查询) */ + specCode?: string; + /** 商品SKU(模糊查询) */ + skuCode?: string; + /** 成本价范围-最小值 */ + minCostPrice?: number; + /** 成本价范围-最大值 */ + maxCostPrice?: number; + } + + /** 商品规格过滤条件 */ + export interface ProductSpecFilterDTO { + /** 商品ID */ + productId?: number; + /** 商品名称(模糊查询) */ + productName?: string; + /** 规格名称(模糊查询) */ + name?: string; + /** 规格编码(模糊查询) */ + specCode?: string; + /** 成本价范围-最小值 */ + minCostPrice?: number; + /** 成本价范围-最大值 */ + maxCostPrice?: number; + } +} diff --git a/ecom-dmb-frontend/apps/web-antd/src/api/shop/types/types.vo.ts b/ecom-dmb-frontend/apps/web-antd/src/api/shop/types/types.vo.ts new file mode 100644 index 00000000..ea031fe1 --- /dev/null +++ b/ecom-dmb-frontend/apps/web-antd/src/api/shop/types/types.vo.ts @@ -0,0 +1,77 @@ +/** + * 店铺管理模块VO类型定义 + */ + +export namespace ShopVO { + /** 店铺信息 */ + export interface ShopInfoVO { + /** 店铺ID */ + id: number; + /** 所属公司ID */ + companyId: number; + /** 店铺名称 */ + name: string; + /** logo URL */ + logo?: string; + /** 平台(如淘宝、京东、拼多多) */ + platform?: string; + /** 创建时间 */ + createTime: string; + /** 更新时间 */ + updateTime: string; + /** 创建人ID */ + createBy?: number; + /** 更新人ID */ + updateBy?: number; + } +} + +export namespace ProductVO { + /** 商品信息 */ + export interface ProductInfoVO { + /** 商品ID */ + id: number; + /** 公司ID */ + companyId: number; + /** 商品名称 */ + name: string; + /** 主图URL */ + mainImage?: string; + /** 创建时间 */ + createTime: string; + /** 更新时间 */ + updateTime: string; + /** 创建人ID */ + createBy?: number; + /** 更新人ID */ + updateBy?: number; + /** 商品规格列表 */ + specs?: ProductSpecInfoVO[]; + } + + /** 商品规格信息 */ + export interface ProductSpecInfoVO { + /** 规格ID */ + id: number; + /** 公司ID */ + companyId: number; + /** 商品ID */ + productId: number; + /** 商品名称 */ + productName: string; + /** 规格名称 */ + name: string; + /** 规格编码 */ + specCode?: string; + /** 成本价 */ + costPrice: number; + /** 创建时间 */ + createTime: string; + /** 更新时间 */ + updateTime: string; + /** 创建人ID */ + createBy?: number; + /** 更新人ID */ + updateBy?: number; + } +} diff --git a/ecom-dmb-frontend/apps/web-antd/src/preferences.ts b/ecom-dmb-frontend/apps/web-antd/src/preferences.ts index b2e9ace4..a58a64e7 100644 --- a/ecom-dmb-frontend/apps/web-antd/src/preferences.ts +++ b/ecom-dmb-frontend/apps/web-antd/src/preferences.ts @@ -10,4 +10,7 @@ export const overridesPreferences = defineOverridesPreferences({ app: { name: import.meta.env.VITE_APP_TITLE, }, + navigation: { + accordion: false, // 关闭手风琴模式,允许多个菜单同时展开 + }, }); diff --git a/ecom-dmb-frontend/apps/web-antd/src/router/access.ts b/ecom-dmb-frontend/apps/web-antd/src/router/access.ts index 3a48be23..26e68efb 100644 --- a/ecom-dmb-frontend/apps/web-antd/src/router/access.ts +++ b/ecom-dmb-frontend/apps/web-antd/src/router/access.ts @@ -6,11 +6,11 @@ import type { import { generateAccessible } from '@vben/access'; import { preferences } from '@vben/preferences'; -import { message } from 'ant-design-vue'; +// import { message } from 'ant-design-vue'; -import { getAllMenusApi } from '#/api'; +// import { getAllMenusApi } from '#/api'; import { BasicLayout, IFrameView } from '#/layouts'; -import { $t } from '#/locales'; +// import { $t } from '#/locales'; const forbiddenComponent = () => import('#/views/_core/fallback/forbidden.vue'); @@ -24,13 +24,13 @@ async function generateAccess(options: GenerateMenuAndRoutesOptions) { return await generateAccessible(preferences.app.accessMode, { ...options, - fetchMenuListAsync: async () => { - message.loading({ - content: `${$t('common.loadingMenu')}...`, - duration: 1.5, - }); - return await getAllMenusApi(); - }, + // fetchMenuListAsync: async () => { + // message.loading({ + // content: `${$t('common.loadingMenu')}...`, + // duration: 1.5, + // }); + // return await getAllMenusApi(); + // }, // 可以指定没有权限跳转403页面 forbiddenComponent, // 如果 route.meta.menuVisibleWithForbidden = true diff --git a/ecom-dmb-frontend/apps/web-antd/src/router/routes/modules/ecommerce.ts b/ecom-dmb-frontend/apps/web-antd/src/router/routes/modules/ecommerce.ts index 102bbd86..95d47293 100644 --- a/ecom-dmb-frontend/apps/web-antd/src/router/routes/modules/ecommerce.ts +++ b/ecom-dmb-frontend/apps/web-antd/src/router/routes/modules/ecommerce.ts @@ -1,13 +1,11 @@ import type { RouteRecordRaw } from 'vue-router'; -import { $t } from '#/locales'; - const routes: RouteRecordRaw[] = [ { meta: { icon: 'lucide:shopping-cart', order: 1, - title: '电商数据中台', + title: '数据中台', }, name: 'Ecommerce', path: '/ecommerce', @@ -30,24 +28,6 @@ const routes: RouteRecordRaw[] = [ title: '数据分析', }, }, - { - name: 'ShopManagement', - path: '/shop-management', - component: () => import('#/views/ecommerce/shop-management/index.vue'), - meta: { - icon: 'lucide:store', - title: '店铺管理', - }, - }, - { - name: 'ProductManagement', - path: '/product-management', - component: () => import('#/views/ecommerce/product-management/index.vue'), - meta: { - icon: 'lucide:package', - title: '商品管理', - }, - }, ], }, ]; diff --git a/ecom-dmb-frontend/apps/web-antd/src/router/routes/modules/organization.ts b/ecom-dmb-frontend/apps/web-antd/src/router/routes/modules/organization.ts new file mode 100644 index 00000000..560b51cb --- /dev/null +++ b/ecom-dmb-frontend/apps/web-antd/src/router/routes/modules/organization.ts @@ -0,0 +1,44 @@ +import type { RouteRecordRaw } from 'vue-router'; + +const routes: RouteRecordRaw[] = [ + { + meta: { + icon: 'lucide:building-2', + order: 200, + title: '组织管理', + }, + name: 'Organization', + path: '/organization', + children: [ + { + name: 'CompanyManagement', + path: '/organization/company-management', + component: () => import('#/views/organization/company-management/index.vue'), + meta: { + icon: 'lucide:building', + title: '公司管理', + }, + }, + { + name: 'DepartmentManagement', + path: '/organization/department-management', + component: () => import('#/views/organization/department-management/index.vue'), + meta: { + icon: 'lucide:users', + title: '部门管理', + }, + }, + { + name: 'PositionManagement', + path: '/organization/position-management', + component: () => import('#/views/organization/position-management/index.vue'), + meta: { + icon: 'lucide:briefcase', + title: '岗位管理', + }, + }, + ], + }, +]; + +export default routes; diff --git a/ecom-dmb-frontend/apps/web-antd/src/router/routes/modules/shop.ts b/ecom-dmb-frontend/apps/web-antd/src/router/routes/modules/shop.ts new file mode 100644 index 00000000..0bd15231 --- /dev/null +++ b/ecom-dmb-frontend/apps/web-antd/src/router/routes/modules/shop.ts @@ -0,0 +1,53 @@ +import type { RouteRecordRaw } from 'vue-router'; + +const routes: RouteRecordRaw[] = [ + { + meta: { + icon: 'lucide:store', + order: 50, + title: '店铺管理', + }, + name: 'Shop', + path: '/shop', + children: [ + { + name: 'ShopManagement', + path: '/shop/shop-management', + component: () => import('#/views/shop/shop-management/index.vue'), + meta: { + icon: 'lucide:store', + title: '店铺管理', + }, + }, + { + name: 'ProductManagement', + path: '/shop/product-management', + component: () => import('#/views/shop/product-management/index.vue'), + meta: { + icon: 'lucide:package', + title: '商品管理', + }, + }, + { + name: 'OrderManagement', + path: '/shop/order-management', + component: () => import('#/views/shop/order-management/index.vue'), + meta: { + icon: 'lucide:shopping-cart', + title: '订单管理', + }, + }, + { + name: 'OrderStatusManagement', + path: '/shop/order-status-management', + component: () => import('#/views/shop/order-status-management/index.vue'), + meta: { + icon: 'lucide:list-checks', + title: '订单状态管理', + }, + }, + ], + }, +]; + +export default routes; diff --git a/ecom-dmb-frontend/apps/web-antd/src/router/routes/modules/system.ts b/ecom-dmb-frontend/apps/web-antd/src/router/routes/modules/system.ts index 26de1d23..77c279ea 100644 --- a/ecom-dmb-frontend/apps/web-antd/src/router/routes/modules/system.ts +++ b/ecom-dmb-frontend/apps/web-antd/src/router/routes/modules/system.ts @@ -4,7 +4,7 @@ const routes: RouteRecordRaw[] = [ { meta: { icon: 'lucide:settings', - order: 100, + order: 999, title: '系统管理', }, name: 'System', @@ -13,7 +13,7 @@ const routes: RouteRecordRaw[] = [ { name: 'MenuManagement', path: '/system/menu-management', - component: () => import('#/views/_core/system/menu-management/index.vue'), + component: () => import('#/views/system/menu-management/index.vue'), meta: { icon: 'lucide:menu', title: '菜单管理', @@ -21,44 +21,6 @@ const routes: RouteRecordRaw[] = [ }, ], }, - { - meta: { - icon: 'lucide:building-2', - order: 200, - title: '组织管理', - }, - name: 'Organization', - path: '/organization', - children: [ - { - name: 'CompanyManagement', - path: '/organization/company-management', - component: () => import('#/views/_core/organization/company-management/index.vue'), - meta: { - icon: 'lucide:building', - title: '公司管理', - }, - }, - { - name: 'DepartmentManagement', - path: '/organization/department-management', - component: () => import('#/views/_core/organization/department-management/index.vue'), - meta: { - icon: 'lucide:users', - title: '部门管理', - }, - }, - { - name: 'PositionManagement', - path: '/organization/position-management', - component: () => import('#/views/_core/organization/position-management/index.vue'), - meta: { - icon: 'lucide:briefcase', - title: '岗位管理', - }, - }, - ], - }, ]; export default routes; diff --git a/ecom-dmb-frontend/apps/web-antd/src/views/ecommerce/data-analysis/index.vue b/ecom-dmb-frontend/apps/web-antd/src/views/ecommerce/data-analysis/index.vue index 8e352dad..eedfac94 100644 --- a/ecom-dmb-frontend/apps/web-antd/src/views/ecommerce/data-analysis/index.vue +++ b/ecom-dmb-frontend/apps/web-antd/src/views/ecommerce/data-analysis/index.vue @@ -1,15 +1,21 @@ diff --git a/ecom-dmb-frontend/apps/web-antd/src/views/ecommerce/data-import/components/FieldMapping.vue b/ecom-dmb-frontend/apps/web-antd/src/views/ecommerce/data-import/components/FieldMapping.vue index 5c28d572..8e716a97 100644 --- a/ecom-dmb-frontend/apps/web-antd/src/views/ecommerce/data-import/components/FieldMapping.vue +++ b/ecom-dmb-frontend/apps/web-antd/src/views/ecommerce/data-import/components/FieldMapping.vue @@ -3,7 +3,7 @@
- +

字段映射说明

@@ -40,21 +40,25 @@

- + +
+ + diff --git a/ecom-dmb-frontend/apps/web-antd/src/views/shop/order-management/index.vue b/ecom-dmb-frontend/apps/web-antd/src/views/shop/order-management/index.vue new file mode 100644 index 00000000..d49c090a --- /dev/null +++ b/ecom-dmb-frontend/apps/web-antd/src/views/shop/order-management/index.vue @@ -0,0 +1,359 @@ + + + diff --git a/ecom-dmb-frontend/apps/web-antd/src/views/shop/order-status-management/components/OrderStatusFormModal.vue b/ecom-dmb-frontend/apps/web-antd/src/views/shop/order-status-management/components/OrderStatusFormModal.vue new file mode 100644 index 00000000..9572c614 --- /dev/null +++ b/ecom-dmb-frontend/apps/web-antd/src/views/shop/order-status-management/components/OrderStatusFormModal.vue @@ -0,0 +1,180 @@ + + + diff --git a/ecom-dmb-frontend/apps/web-antd/src/views/shop/order-status-management/index.vue b/ecom-dmb-frontend/apps/web-antd/src/views/shop/order-status-management/index.vue new file mode 100644 index 00000000..28f7ccac --- /dev/null +++ b/ecom-dmb-frontend/apps/web-antd/src/views/shop/order-status-management/index.vue @@ -0,0 +1,172 @@ + + + diff --git a/ecom-dmb-frontend/apps/web-antd/src/views/shop/product-management/components/ProductCard.vue b/ecom-dmb-frontend/apps/web-antd/src/views/shop/product-management/components/ProductCard.vue new file mode 100644 index 00000000..a34e18df --- /dev/null +++ b/ecom-dmb-frontend/apps/web-antd/src/views/shop/product-management/components/ProductCard.vue @@ -0,0 +1,187 @@ + + + + + diff --git a/ecom-dmb-frontend/apps/web-antd/src/views/shop/product-management/components/ProductFormModal.vue b/ecom-dmb-frontend/apps/web-antd/src/views/shop/product-management/components/ProductFormModal.vue new file mode 100644 index 00000000..e165090c --- /dev/null +++ b/ecom-dmb-frontend/apps/web-antd/src/views/shop/product-management/components/ProductFormModal.vue @@ -0,0 +1,419 @@ + + + diff --git a/ecom-dmb-frontend/apps/web-antd/src/views/shop/product-management/components/ProductSpecModal.vue b/ecom-dmb-frontend/apps/web-antd/src/views/shop/product-management/components/ProductSpecModal.vue new file mode 100644 index 00000000..3f8dec51 --- /dev/null +++ b/ecom-dmb-frontend/apps/web-antd/src/views/shop/product-management/components/ProductSpecModal.vue @@ -0,0 +1,322 @@ + + + diff --git a/ecom-dmb-frontend/apps/web-antd/src/views/shop/product-management/index.vue b/ecom-dmb-frontend/apps/web-antd/src/views/shop/product-management/index.vue new file mode 100644 index 00000000..f5e6f711 --- /dev/null +++ b/ecom-dmb-frontend/apps/web-antd/src/views/shop/product-management/index.vue @@ -0,0 +1,389 @@ + + + + + diff --git a/ecom-dmb-frontend/apps/web-antd/src/views/shop/shop-management/components/ShopFormModal.vue b/ecom-dmb-frontend/apps/web-antd/src/views/shop/shop-management/components/ShopFormModal.vue new file mode 100644 index 00000000..71448335 --- /dev/null +++ b/ecom-dmb-frontend/apps/web-antd/src/views/shop/shop-management/components/ShopFormModal.vue @@ -0,0 +1,305 @@ + + + diff --git a/ecom-dmb-frontend/apps/web-antd/src/views/shop/shop-management/index.vue b/ecom-dmb-frontend/apps/web-antd/src/views/shop/shop-management/index.vue new file mode 100644 index 00000000..1d0450d9 --- /dev/null +++ b/ecom-dmb-frontend/apps/web-antd/src/views/shop/shop-management/index.vue @@ -0,0 +1,248 @@ + + + diff --git a/ecom-dmb-frontend/apps/web-antd/src/views/_core/system/menu-management/index.vue b/ecom-dmb-frontend/apps/web-antd/src/views/system/menu-management/index.vue similarity index 100% rename from ecom-dmb-frontend/apps/web-antd/src/views/_core/system/menu-management/index.vue rename to ecom-dmb-frontend/apps/web-antd/src/views/system/menu-management/index.vue