校园商户

This commit is contained in:
liu
2026-06-17 09:13:49 +08:00
parent 86be1c230e
commit 254823e308
50 changed files with 2186 additions and 40 deletions
+13
View File
@@ -31,6 +31,13 @@ import forumSensitiveWord from "./forum/sensitive-word";
import forumPostLike from "./forum/post-like";
import forumPostFavorite from "./forum/post-favorite";
import merchantCategory from "./merchant/category";
import merchantStore from "./merchant/store";
import merchantProductCategory from "./merchant/product-category";
import merchantProduct from "./merchant/product";
import merchantPrinter from "./merchant/printer";
import merchantPrintTask from "./merchant/print-task";
import userProfile from "./user/profile";
import xinForm from "./components/xin-form";
@@ -67,6 +74,12 @@ export default {
...forumSensitiveWord,
...forumPostLike,
...forumPostFavorite,
...merchantCategory,
...merchantStore,
...merchantProductCategory,
...merchantProduct,
...merchantPrinter,
...merchantPrintTask,
...userProfile,
...xinForm,
...xinTable,
+7
View File
@@ -54,5 +54,12 @@ export default {
"menu.forum.sensitive-word": "Sensitive Words",
"menu.forum.post-like": "Like Records",
"menu.forum.post-favorite": "Favorite Records",
"menu.merchant": "Campus Merchant",
"menu.merchant.category": "Categories",
"menu.merchant.store": "Merchants",
"menu.merchant.product-category": "Product Categories",
"menu.merchant.product": "Products",
"menu.merchant.printer": "Printers",
"menu.merchant.print-task": "Print Tasks",
"menu.xin-admin": "XinAdmin",
}
+17
View File
@@ -0,0 +1,17 @@
export default {
"merchant.category.page.title": "Merchant Categories",
"merchant.category.page.description": "Manage campus merchant categories for grouping",
"merchant.category.id": "ID",
"merchant.category.name": "Name",
"merchant.category.name.required": "Category name is required",
"merchant.category.slug": "Slug",
"merchant.category.slug.required": "Category slug is required",
"merchant.category.description": "Description",
"merchant.category.icon": "Icon",
"merchant.category.sort": "Sort",
"merchant.category.status": "Status",
"merchant.category.status.0": "Disabled",
"merchant.category.status.1": "Active",
"merchant.category.created_at": "Created At",
"merchant.category.updated_at": "Updated At",
};
+18
View File
@@ -0,0 +1,18 @@
export default {
"merchant.print-task.page.title": "Print Tasks",
"merchant.print-task.page.description": "View and manage merchant printer task records",
"merchant.print-task.id": "ID",
"merchant.print-task.printer_id": "Printer",
"merchant.print-task.order_id": "Order",
"merchant.print-task.content": "Content",
"merchant.print-task.copies": "Copies",
"merchant.print-task.status": "Status",
"merchant.print-task.status.0": "Pending",
"merchant.print-task.status.1": "Printing",
"merchant.print-task.status.2": "Completed",
"merchant.print-task.status.3": "Failed",
"merchant.print-task.error_msg": "Error",
"merchant.print-task.printed_at": "Printed At",
"merchant.print-task.created_at": "Created At",
"merchant.print-task.updated_at": "Updated At",
};
+20
View File
@@ -0,0 +1,20 @@
export default {
"merchant.printer.page.title": "Printer Management",
"merchant.printer.page.description": "Manage merchant printer devices with online/offline status monitoring",
"merchant.printer.id": "ID",
"merchant.printer.merchant_id": "Merchant",
"merchant.printer.merchant_id.required": "Merchant is required",
"merchant.printer.name": "Name",
"merchant.printer.name.required": "Printer name is required",
"merchant.printer.brand": "Brand",
"merchant.printer.model": "Model",
"merchant.printer.device_no": "Device No",
"merchant.printer.secret_key": "Secret Key",
"merchant.printer.status": "Status",
"merchant.printer.status.0": "Offline",
"merchant.printer.status.1": "Online",
"merchant.printer.status.2": "Fault",
"merchant.printer.config": "Config",
"merchant.printer.created_at": "Created At",
"merchant.printer.updated_at": "Updated At",
};
@@ -0,0 +1,20 @@
export default {
"merchant.product-category.page.title": "Product Categories",
"merchant.product-category.page.description": "Manage product categories under merchants with parent-child structure",
"merchant.product-category.id": "ID",
"merchant.product-category.merchant_id": "Merchant",
"merchant.product-category.merchant_id.required": "Merchant is required",
"merchant.product-category.parent_id": "Parent",
"merchant.product-category.name": "Name",
"merchant.product-category.name.required": "Category name is required",
"merchant.product-category.slug": "Slug",
"merchant.product-category.slug.required": "Category slug is required",
"merchant.product-category.description": "Description",
"merchant.product-category.icon": "Icon",
"merchant.product-category.sort": "Sort",
"merchant.product-category.status": "Status",
"merchant.product-category.status.0": "Disabled",
"merchant.product-category.status.1": "Active",
"merchant.product-category.created_at": "Created At",
"merchant.product-category.updated_at": "Updated At",
};
+27
View File
@@ -0,0 +1,27 @@
export default {
"merchant.product.page.title": "Product Management",
"merchant.product.page.description": "Manage merchant products, support listing, delisting, recommend and more",
"merchant.product.id": "ID",
"merchant.product.merchant_id": "Merchant",
"merchant.product.merchant_id.required": "Merchant is required",
"merchant.product.category_id": "Category",
"merchant.product.name": "Name",
"merchant.product.name.required": "Product name is required",
"merchant.product.description": "Description",
"merchant.product.images": "Images",
"merchant.product.price": "Price",
"merchant.product.price.required": "Price is required",
"merchant.product.original_price": "Original Price",
"merchant.product.stock": "Stock",
"merchant.product.unit": "Unit",
"merchant.product.sales": "Sales",
"merchant.product.status": "Status",
"merchant.product.status.0": "Delisted",
"merchant.product.status.1": "Listed",
"merchant.product.is_recommend": "Recommended",
"merchant.product.is_recommend.0": "No",
"merchant.product.is_recommend.1": "Yes",
"merchant.product.sort": "Sort",
"merchant.product.created_at": "Created At",
"merchant.product.updated_at": "Updated At",
};
+31
View File
@@ -0,0 +1,31 @@
export default {
"merchant.store.page.title": "Merchant Management",
"merchant.store.page.description": "Manage campus merchants/stores, support review, enable, disable and more",
"merchant.store.id": "ID",
"merchant.store.user_id": "Owner",
"merchant.store.user_id.required": "Owner is required",
"merchant.store.category_id": "Category",
"merchant.store.name": "Store Name",
"merchant.store.name.required": "Store name is required",
"merchant.store.logo": "Logo",
"merchant.store.banner": "Banner",
"merchant.store.description": "Description",
"merchant.store.contact_name": "Contact",
"merchant.store.contact_mobile": "Phone",
"merchant.store.province": "Province",
"merchant.store.city": "City",
"merchant.store.district": "District",
"merchant.store.address": "Address",
"merchant.store.business_hours": "Business Hours",
"merchant.store.balance": "Balance",
"merchant.store.total_income": "Total Income",
"merchant.store.min_price": "Min Price",
"merchant.store.status": "Status",
"merchant.store.status.0": "Pending",
"merchant.store.status.1": "Active",
"merchant.store.status.2": "Disabled",
"merchant.store.status.3": "Closed",
"merchant.store.reject_reason": "Reject Reason",
"merchant.store.created_at": "Joined At",
"merchant.store.updated_at": "Updated At",
};
+13
View File
@@ -31,6 +31,13 @@ import forumSensitiveWord from "./forum/sensitive-word";
import forumPostLike from "./forum/post-like";
import forumPostFavorite from "./forum/post-favorite";
import merchantCategory from "./merchant/category";
import merchantStore from "./merchant/store";
import merchantProductCategory from "./merchant/product-category";
import merchantProduct from "./merchant/product";
import merchantPrinter from "./merchant/printer";
import merchantPrintTask from "./merchant/print-task";
import userProfile from "./user/profile";
import xinForm from "./components/xin-form";
@@ -67,6 +74,12 @@ export default {
...forumSensitiveWord,
...forumPostLike,
...forumPostFavorite,
...merchantCategory,
...merchantStore,
...merchantProductCategory,
...merchantProduct,
...merchantPrinter,
...merchantPrintTask,
...userProfile,
...xinForm,
...xinTable,
+7
View File
@@ -54,5 +54,12 @@ export default {
"menu.forum.sensitive-word": "敏感词管理",
"menu.forum.post-like": "点赞记录",
"menu.forum.post-favorite": "收藏记录",
"menu.merchant": "校园商户",
"menu.merchant.category": "商户分类",
"menu.merchant.store": "商户管理",
"menu.merchant.product-category": "商品分类",
"menu.merchant.product": "商品管理",
"menu.merchant.printer": "打印机管理",
"menu.merchant.print-task": "打印任务",
"menu.xin-admin": "XinAdmin",
};
+17
View File
@@ -0,0 +1,17 @@
export default {
"merchant.category.page.title": "商户分类",
"merchant.category.page.description": "管理校园商户分类,方便对商户进行归类管理",
"merchant.category.id": "ID",
"merchant.category.name": "分类名称",
"merchant.category.name.required": "分类名称不能为空",
"merchant.category.slug": "标识",
"merchant.category.slug.required": "分类标识不能为空",
"merchant.category.description": "描述",
"merchant.category.icon": "图标",
"merchant.category.sort": "排序",
"merchant.category.status": "状态",
"merchant.category.status.0": "禁用",
"merchant.category.status.1": "正常",
"merchant.category.created_at": "创建时间",
"merchant.category.updated_at": "更新时间",
};
+18
View File
@@ -0,0 +1,18 @@
export default {
"merchant.print-task.page.title": "打印任务",
"merchant.print-task.page.description": "查看和管理商户打印机任务记录",
"merchant.print-task.id": "ID",
"merchant.print-task.printer_id": "打印机",
"merchant.print-task.order_id": "关联订单",
"merchant.print-task.content": "打印内容",
"merchant.print-task.copies": "打印份数",
"merchant.print-task.status": "状态",
"merchant.print-task.status.0": "待打印",
"merchant.print-task.status.1": "打印中",
"merchant.print-task.status.2": "已完成",
"merchant.print-task.status.3": "失败",
"merchant.print-task.error_msg": "错误信息",
"merchant.print-task.printed_at": "打印时间",
"merchant.print-task.created_at": "创建时间",
"merchant.print-task.updated_at": "更新时间",
};
+20
View File
@@ -0,0 +1,20 @@
export default {
"merchant.printer.page.title": "打印机管理",
"merchant.printer.page.description": "管理商户打印机设备,支持在线、离线状态监控",
"merchant.printer.id": "ID",
"merchant.printer.merchant_id": "所属商户",
"merchant.printer.merchant_id.required": "所属商户不能为空",
"merchant.printer.name": "打印机名称",
"merchant.printer.name.required": "打印机名称不能为空",
"merchant.printer.brand": "品牌",
"merchant.printer.model": "型号",
"merchant.printer.device_no": "设备编号",
"merchant.printer.secret_key": "密钥",
"merchant.printer.status": "状态",
"merchant.printer.status.0": "离线",
"merchant.printer.status.1": "在线",
"merchant.printer.status.2": "故障",
"merchant.printer.config": "打印配置",
"merchant.printer.created_at": "创建时间",
"merchant.printer.updated_at": "更新时间",
};
@@ -0,0 +1,20 @@
export default {
"merchant.product-category.page.title": "商品分类",
"merchant.product-category.page.description": "管理商户下的商品分类,支持父子级分类结构",
"merchant.product-category.id": "ID",
"merchant.product-category.merchant_id": "所属商户",
"merchant.product-category.merchant_id.required": "所属商户不能为空",
"merchant.product-category.parent_id": "父级分类",
"merchant.product-category.name": "分类名称",
"merchant.product-category.name.required": "分类名称不能为空",
"merchant.product-category.slug": "标识",
"merchant.product-category.slug.required": "分类标识不能为空",
"merchant.product-category.description": "描述",
"merchant.product-category.icon": "图标",
"merchant.product-category.sort": "排序",
"merchant.product-category.status": "状态",
"merchant.product-category.status.0": "禁用",
"merchant.product-category.status.1": "正常",
"merchant.product-category.created_at": "创建时间",
"merchant.product-category.updated_at": "更新时间",
};
+27
View File
@@ -0,0 +1,27 @@
export default {
"merchant.product.page.title": "商品管理",
"merchant.product.page.description": "管理商户商品,支持上架、下架、推荐等操作",
"merchant.product.id": "ID",
"merchant.product.merchant_id": "所属商户",
"merchant.product.merchant_id.required": "所属商户不能为空",
"merchant.product.category_id": "商品分类",
"merchant.product.name": "商品名称",
"merchant.product.name.required": "商品名称不能为空",
"merchant.product.description": "商品描述",
"merchant.product.images": "商品图片",
"merchant.product.price": "售价",
"merchant.product.price.required": "售价不能为空",
"merchant.product.original_price": "原价",
"merchant.product.stock": "库存",
"merchant.product.unit": "单位",
"merchant.product.sales": "销量",
"merchant.product.status": "状态",
"merchant.product.status.0": "下架",
"merchant.product.status.1": "上架",
"merchant.product.is_recommend": "推荐",
"merchant.product.is_recommend.0": "否",
"merchant.product.is_recommend.1": "是",
"merchant.product.sort": "排序",
"merchant.product.created_at": "创建时间",
"merchant.product.updated_at": "更新时间",
};
+31
View File
@@ -0,0 +1,31 @@
export default {
"merchant.store.page.title": "商户管理",
"merchant.store.page.description": "管理校园商户/店铺,支持审核、启用、停用等操作",
"merchant.store.id": "ID",
"merchant.store.user_id": "所属用户",
"merchant.store.user_id.required": "所属用户不能为空",
"merchant.store.category_id": "商户分类",
"merchant.store.name": "店铺名称",
"merchant.store.name.required": "店铺名称不能为空",
"merchant.store.logo": "Logo",
"merchant.store.banner": "横幅",
"merchant.store.description": "店铺简介",
"merchant.store.contact_name": "联系人",
"merchant.store.contact_mobile": "联系电话",
"merchant.store.province": "省",
"merchant.store.city": "市",
"merchant.store.district": "区",
"merchant.store.address": "详细地址",
"merchant.store.business_hours": "营业时间",
"merchant.store.balance": "账户余额",
"merchant.store.total_income": "累计收入",
"merchant.store.min_price": "起送价",
"merchant.store.status": "状态",
"merchant.store.status.0": "待审核",
"merchant.store.status.1": "正常",
"merchant.store.status.2": "停用",
"merchant.store.status.3": "已关闭",
"merchant.store.reject_reason": "拒绝原因",
"merchant.store.created_at": "入驻时间",
"merchant.store.updated_at": "更新时间",
};