feat: 新增门店列表页面并修复全局类型错误
1. 新增门店列表页(筛选/统计/表格/抽屉编辑),使用 mockjs 提供接口数据 2. 新增门店相关枚举、API 定义、路由配置 3. 修复 auth.ts loginApi 参数类型不匹配 4. 修复 merchant-center stores 属性路径错误及 merchant prop 类型不兼容 5. 修复 merchant-setting showSubmitButton 不存在于 VbenFormProps
This commit is contained in:
29
apps/web-antd/src/enums/storeEnum.ts
Normal file
29
apps/web-antd/src/enums/storeEnum.ts
Normal file
@@ -0,0 +1,29 @@
|
||||
/** 门店营业状态 */
|
||||
export enum StoreBusinessStatus {
|
||||
/** 强制关闭 */
|
||||
ForceClosed = 3,
|
||||
/** 营业中 */
|
||||
Operating = 1,
|
||||
/** 休息中 */
|
||||
Resting = 2,
|
||||
}
|
||||
|
||||
/** 门店审核状态 */
|
||||
export enum StoreAuditStatus {
|
||||
/** 已通过 */
|
||||
Approved = 1,
|
||||
/** 待审核 */
|
||||
Pending = 0,
|
||||
/** 已拒绝 */
|
||||
Rejected = 2,
|
||||
}
|
||||
|
||||
/** 服务方式 */
|
||||
export enum ServiceType {
|
||||
/** 外卖配送 */
|
||||
Delivery = 1,
|
||||
/** 堂食 */
|
||||
DineIn = 3,
|
||||
/** 到店自提 */
|
||||
Pickup = 2,
|
||||
}
|
||||
Reference in New Issue
Block a user