校园商户

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",
};