Initial commit: One Pipe System
完整的管理系统,包含账户管理、卡片管理、套餐管理、财务管理等功能模块。 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
55
src/locales/index.ts
Normal file
55
src/locales/index.ts
Normal file
@@ -0,0 +1,55 @@
|
||||
import { createI18n } from 'vue-i18n'
|
||||
import type { I18n, I18nOptions } from 'vue-i18n'
|
||||
import { LanguageEnum } from '@/enums/appEnum'
|
||||
import { getSystemStorage } from '@/utils/storage'
|
||||
|
||||
// 动态导入语言文件
|
||||
const messages = {
|
||||
[LanguageEnum.EN]: () => import('./langs/en.json'),
|
||||
[LanguageEnum.ZH]: () => import('./langs/zh.json')
|
||||
}
|
||||
|
||||
// 语言选项
|
||||
export const languageOptions = [
|
||||
{ value: LanguageEnum.ZH, label: '简体中文' },
|
||||
{ value: LanguageEnum.EN, label: 'English' }
|
||||
]
|
||||
|
||||
// 获取初始语言
|
||||
const getDefaultLanguage = (): LanguageEnum => {
|
||||
const sys = getSystemStorage()
|
||||
if (!sys) return LanguageEnum.ZH
|
||||
|
||||
try {
|
||||
const { user } = JSON.parse(sys)
|
||||
return user?.language || LanguageEnum.ZH
|
||||
} catch (error) {
|
||||
console.error('获取初始语言失败', error)
|
||||
return LanguageEnum.ZH
|
||||
}
|
||||
}
|
||||
|
||||
const i18nOptions: I18nOptions = {
|
||||
locale: getDefaultLanguage(),
|
||||
legacy: false,
|
||||
globalInjection: true,
|
||||
fallbackLocale: LanguageEnum.ZH,
|
||||
messages: {}
|
||||
}
|
||||
|
||||
const i18n: I18n = createI18n(i18nOptions)
|
||||
|
||||
// 异步加载语言文件
|
||||
Object.keys(messages).forEach((locale) => {
|
||||
;(messages as Record<string, () => Promise<any>>)[locale]().then((msg) => {
|
||||
i18n.global.setLocaleMessage(locale, msg.default)
|
||||
})
|
||||
})
|
||||
|
||||
interface Translation {
|
||||
(key: string): string
|
||||
}
|
||||
|
||||
export const $t = i18n.global.t as Translation
|
||||
|
||||
export default i18n
|
||||
592
src/locales/langs/en.json
Normal file
592
src/locales/langs/en.json
Normal file
@@ -0,0 +1,592 @@
|
||||
{
|
||||
"topBar": {
|
||||
"search": {
|
||||
"title": "Search"
|
||||
},
|
||||
"user": {
|
||||
"userCenter": "User center",
|
||||
"docs": "Document",
|
||||
"github": "Github",
|
||||
"lockScreen": "Lock screen",
|
||||
"logout": "Log out"
|
||||
}
|
||||
},
|
||||
"common": {
|
||||
"tips": "Prompt",
|
||||
"cancel": "Cancel",
|
||||
"confirm": "Confirm",
|
||||
"logOutTips": "Do you want to log out?"
|
||||
},
|
||||
"search": {
|
||||
"placeholder": "Search page",
|
||||
"historyTitle": "Search history",
|
||||
"switchKeydown": "Navigate",
|
||||
"selectKeydown": "Select"
|
||||
},
|
||||
"setting": {
|
||||
"menuType": {
|
||||
"title": "Menu Layout",
|
||||
"list": [
|
||||
"Vertical",
|
||||
"Horizontal",
|
||||
"Mixed",
|
||||
"Dual"
|
||||
]
|
||||
},
|
||||
"theme": {
|
||||
"title": "Theme Style",
|
||||
"list": [
|
||||
"Light",
|
||||
"Dark",
|
||||
"System"
|
||||
]
|
||||
},
|
||||
"menu": {
|
||||
"title": "Menu Style"
|
||||
},
|
||||
"color": {
|
||||
"title": "Theme Color"
|
||||
},
|
||||
"box": {
|
||||
"title": "Box Style",
|
||||
"list": [
|
||||
"Border",
|
||||
"Shadow"
|
||||
]
|
||||
},
|
||||
"container": {
|
||||
"title": "Container Width",
|
||||
"list": [
|
||||
"Full",
|
||||
"Boxed"
|
||||
]
|
||||
},
|
||||
"basics": {
|
||||
"title": "Basic Config",
|
||||
"list": {
|
||||
"multiTab": "Show work tab",
|
||||
"accordion": "Sidebar opens accordion",
|
||||
"collapseSidebar": "Show sidebar button",
|
||||
"reloadPage": "Show reload page button",
|
||||
"breadcrumb": "Show crumb navigation",
|
||||
"language": "Show multilingual selection",
|
||||
"progressBar": "Show top progress bar",
|
||||
"weakMode": "Color Weakness Mode",
|
||||
"watermark": "Global watermark",
|
||||
"menuWidth": "Menu width",
|
||||
"tabStyle": "Tab style",
|
||||
"pageTransition": "Page animation",
|
||||
"borderRadius": "Custom radius"
|
||||
}
|
||||
},
|
||||
"tabStyle": {
|
||||
"default": "Default",
|
||||
"card": "Card",
|
||||
"google": "Chrome"
|
||||
},
|
||||
"transition": {
|
||||
"list": {
|
||||
"none": "None",
|
||||
"fade": "Fade",
|
||||
"slideLeft": "Slide Left",
|
||||
"slideBottom": "Slide Bottom",
|
||||
"slideTop": "Slide Top"
|
||||
}
|
||||
}
|
||||
},
|
||||
"notice": {
|
||||
"title": "Notice",
|
||||
"btnRead": "Mark as read",
|
||||
"bar": [
|
||||
"Notice",
|
||||
"Message",
|
||||
"Todo"
|
||||
],
|
||||
"text": [
|
||||
"No"
|
||||
],
|
||||
"viewAll": "View all"
|
||||
},
|
||||
"worktab": {
|
||||
"btn": {
|
||||
"refresh": "Refresh",
|
||||
"fixed": "Fixed",
|
||||
"unfixed": "Unfixed",
|
||||
"closeLeft": "Close left",
|
||||
"closeRight": "Close right",
|
||||
"closeOther": "Close other",
|
||||
"closeAll": "Close all"
|
||||
}
|
||||
},
|
||||
"login": {
|
||||
"leftView": {
|
||||
"title": "An Admin template focused on user experience",
|
||||
"subTitle": "A sleek and practical interface for a great user experience"
|
||||
},
|
||||
"title": "Welcome back",
|
||||
"subTitle": "Please enter your account and password to login",
|
||||
"roles": {
|
||||
"super": "Super Admin",
|
||||
"admin": "Admin",
|
||||
"user": "User"
|
||||
},
|
||||
"placeholder": [
|
||||
"Please enter your account",
|
||||
"Please enter your password",
|
||||
"Please slide to verify"
|
||||
],
|
||||
"sliderText": "Please slide to verify",
|
||||
"sliderSuccessText": "Verification successful",
|
||||
"rememberPwd": "Remember password",
|
||||
"forgetPwd": "Forgot password",
|
||||
"btnText": "Login",
|
||||
"noAccount": "No account yet?",
|
||||
"register": "Register",
|
||||
"success": {
|
||||
"title": "Login successful",
|
||||
"message": "Welcome back"
|
||||
}
|
||||
},
|
||||
"forgetPassword": {
|
||||
"title": "Forgot password?",
|
||||
"subTitle": "Enter your email to reset your password",
|
||||
"placeholder": "Please enter your email",
|
||||
"submitBtnText": "Submit",
|
||||
"backBtnText": "Back"
|
||||
},
|
||||
"register": {
|
||||
"title": "Create account",
|
||||
"subTitle": "Welcome to join us, please fill in the following information to complete the registration",
|
||||
"placeholder": [
|
||||
"Please enter your account",
|
||||
"Please enter your password",
|
||||
"Please enter your password again"
|
||||
],
|
||||
"rule": [
|
||||
"Please enter your password again",
|
||||
"The two passwords are inconsistent!",
|
||||
"The length is 3 to 20 characters",
|
||||
"The password length cannot be less than 6 digits",
|
||||
"Please agree to the privacy policy"
|
||||
],
|
||||
"agreeText": "I agree",
|
||||
"privacyPolicy": "Privacy policy",
|
||||
"submitBtnText": "Register",
|
||||
"hasAccount": "Already have an account?",
|
||||
"toLogin": "To login"
|
||||
},
|
||||
"lockScreen": {
|
||||
"pwdError": "Password error",
|
||||
"lock": {
|
||||
"inputPlaceholder": "Please input lock screen password",
|
||||
"btnText": "Lock"
|
||||
},
|
||||
"unlock": {
|
||||
"inputPlaceholder": "Please input unlock password",
|
||||
"btnText": "Unlock",
|
||||
"backBtnText": "Back to login"
|
||||
}
|
||||
},
|
||||
"analysis": {
|
||||
"todaySales": {
|
||||
"title": "Today's Sales",
|
||||
"subtitle": "Sales Summary",
|
||||
"export": "Export",
|
||||
"cards": {
|
||||
"totalSales": {
|
||||
"label": "Total Sales",
|
||||
"change": "+15%"
|
||||
},
|
||||
"totalOrder": {
|
||||
"label": "Total Order",
|
||||
"change": "+5%"
|
||||
},
|
||||
"productSold": {
|
||||
"label": "Product Sold",
|
||||
"change": "+2%"
|
||||
},
|
||||
"newCustomers": {
|
||||
"label": "New Customers",
|
||||
"change": "+8%"
|
||||
}
|
||||
},
|
||||
"fromYesterday": "from yesterday"
|
||||
},
|
||||
"visitorInsights": {
|
||||
"title": "Visitor Insights",
|
||||
"legend": {
|
||||
"loyalCustomers": "Loyal Customers",
|
||||
"newCustomers": "New Customers"
|
||||
}
|
||||
},
|
||||
"totalRevenue": {
|
||||
"title": "Total Revenue",
|
||||
"legend": {
|
||||
"onlineSales": "Online Sales",
|
||||
"offlineSales": "Offline Sales"
|
||||
}
|
||||
},
|
||||
"customerSatisfaction": {
|
||||
"title": "Customer Satisfaction",
|
||||
"legend": {
|
||||
"lastMonth": "Last Month",
|
||||
"thisMonth": "This Month"
|
||||
}
|
||||
},
|
||||
"targetVsReality": {
|
||||
"title": "Target vs Reality",
|
||||
"realitySales": {
|
||||
"label": "Reality Sales",
|
||||
"sublabel": "Global"
|
||||
},
|
||||
"targetSales": {
|
||||
"label": "Target Sales",
|
||||
"sublabel": "Commercial"
|
||||
}
|
||||
},
|
||||
"topProducts": {
|
||||
"title": "Top Products",
|
||||
"columns": {
|
||||
"name": "Name",
|
||||
"popularity": "Popularity",
|
||||
"sales": "Sales"
|
||||
},
|
||||
"products": {
|
||||
"homeDecor": {
|
||||
"name": "Home Decor Range",
|
||||
"sales": "10%"
|
||||
},
|
||||
"disneyBag": {
|
||||
"name": "Disney Princess Pink Bag 18\"",
|
||||
"sales": "29%"
|
||||
},
|
||||
"bathroom": {
|
||||
"name": "Bathroom Essentials",
|
||||
"sales": "65%"
|
||||
},
|
||||
"smartwatch": {
|
||||
"name": "Apple Smartwatches",
|
||||
"sales": "32%"
|
||||
},
|
||||
"fitness": {
|
||||
"name": "Fitness Tracker",
|
||||
"sales": "78%"
|
||||
},
|
||||
"earbuds": {
|
||||
"name": "Wireless Earbuds",
|
||||
"sales": "41%"
|
||||
}
|
||||
}
|
||||
},
|
||||
"salesMappingCountry": {
|
||||
"title": "Sales Mapping by Country"
|
||||
},
|
||||
"volumeServiceLevel": {
|
||||
"title": "Volume vs Service Level",
|
||||
"legend": {
|
||||
"volume": "Volume",
|
||||
"services": "Services"
|
||||
}
|
||||
}
|
||||
},
|
||||
"greeting": {
|
||||
"dawn": "Good morning!",
|
||||
"morning": "Good morning!",
|
||||
"afternoon": "Good afternoon!",
|
||||
"evening": "Good evening!"
|
||||
},
|
||||
"exceptionPage": {
|
||||
"gohome": "Go Home",
|
||||
"403": "Sorry, you do not have permission to access this page",
|
||||
"404": "Sorry, the page you are trying to access does not exist",
|
||||
"500": "Sorry, there was an error on the server"
|
||||
},
|
||||
"menus": {
|
||||
"login": {
|
||||
"title": "Login"
|
||||
},
|
||||
"register": {
|
||||
"title": "Register"
|
||||
},
|
||||
"forgetPassword": {
|
||||
"title": "Forget Password"
|
||||
},
|
||||
"outside": {
|
||||
"title": "Outside"
|
||||
},
|
||||
"dashboard": {
|
||||
"title": "Dashboard",
|
||||
"console": "Console",
|
||||
"analysis": "Analysis",
|
||||
"ecommerce": "Ecommerce"
|
||||
},
|
||||
"widgets": {
|
||||
"title": "Components",
|
||||
"iconList": "Icon List",
|
||||
"iconSelector": "Icon Selector",
|
||||
"imageCrop": "Image Crop",
|
||||
"excel": "Excel Import Export",
|
||||
"video": "Video Player",
|
||||
"countTo": "Count To",
|
||||
"wangEditor": "Wang Editor",
|
||||
"watermark": "Watermark",
|
||||
"contextMenu": "Context Menu",
|
||||
"qrcode": "QR Code",
|
||||
"drag": "Drag",
|
||||
"textScroll": "Text Scroll",
|
||||
"fireworks": "Fireworks",
|
||||
"elementUI": "Component Overview"
|
||||
},
|
||||
"template": {
|
||||
"title": "Template Center",
|
||||
"chat": "Chat",
|
||||
"cards": "Cards",
|
||||
"banners": "Banners",
|
||||
"charts": "Charts",
|
||||
"map": "Map",
|
||||
"calendar": "Calendar",
|
||||
"pricing": "Pricing"
|
||||
},
|
||||
"article": {
|
||||
"title": "Article Management",
|
||||
"articleList": "Article List",
|
||||
"articleDetail": "Article Detail",
|
||||
"comment": "Comment",
|
||||
"articlePublish": "Article Publish"
|
||||
},
|
||||
"result": {
|
||||
"title": "Result Page",
|
||||
"success": "Success",
|
||||
"fail": "Fail"
|
||||
},
|
||||
"exception": {
|
||||
"title": "Exception",
|
||||
"forbidden": "403",
|
||||
"notFound": "404",
|
||||
"serverError": "500"
|
||||
},
|
||||
"system": {
|
||||
"title": "System Settings",
|
||||
"role": "Role Manage",
|
||||
"permission": "Permission Manage",
|
||||
"userCenter": "User Center",
|
||||
"menu": "Menu Manage",
|
||||
"nested": "Nested Menu",
|
||||
"menu1": "Menu 1",
|
||||
"menu2": "Menu 2",
|
||||
"menu21": "Menu 2-1",
|
||||
"menu3": "Menu 3",
|
||||
"menu31": "Menu 3-1",
|
||||
"menu32": "Menu 3-2",
|
||||
"menu321": "Menu 3-2-1"
|
||||
},
|
||||
"safeguard": {
|
||||
"title": "Safeguard",
|
||||
"server": "Server"
|
||||
},
|
||||
"plan": {
|
||||
"title": "Version Plan",
|
||||
"log": "Change Log"
|
||||
},
|
||||
"help": {
|
||||
"title": "Help Center",
|
||||
"document": "Document"
|
||||
},
|
||||
"cardManagement": {
|
||||
"title": "My SIM Cards",
|
||||
"singleCard": "Single Card Info",
|
||||
"cardList": "Card Management",
|
||||
"cardDetail": "Card Details",
|
||||
"cardAssign": "Card Assignment",
|
||||
"cardShutdown": "Deactivation Management",
|
||||
"myCards": "My SIM Cards",
|
||||
"offlineBatchRecharge": "Offline Batch Recharge",
|
||||
"cardTransfer": "Card Transfer",
|
||||
"cardReplacement": "Card Replacement",
|
||||
"packageGift": "Package Gift",
|
||||
"cardChange": "Card Exchange"
|
||||
},
|
||||
"packageManagement": {
|
||||
"title": "My Packages",
|
||||
"packageCreate": "Create Package",
|
||||
"packageBatch": "Batch Management",
|
||||
"packageList": "My Packages",
|
||||
"packageChange": "Package Change",
|
||||
"packageAssign": "Package Assignment",
|
||||
"packageSeries": "Package Series",
|
||||
"packageCommission": "Package Commission Cards"
|
||||
},
|
||||
"accountManagement": {
|
||||
"title": "Account Management",
|
||||
"account": "Account List",
|
||||
"platformAccount": "Platform Account",
|
||||
"shopAccount": "Shop Account",
|
||||
"customer": "Customer Management",
|
||||
"customerRole": "Customer Role",
|
||||
"agent": "Agent Management",
|
||||
"customerAccount": "Customer Account",
|
||||
"enterpriseCustomer": "Enterprise Customer",
|
||||
"customerCommission": "Customer Commission"
|
||||
},
|
||||
"account": {
|
||||
"title": "Account Management",
|
||||
"customerAccount": "Customer Account",
|
||||
"withdrawal": "Commission Withdrawal",
|
||||
"withdrawalSettings": "Withdrawal Settings",
|
||||
"myAccount": "My Account"
|
||||
},
|
||||
"deviceManagement": {
|
||||
"title": "Device Management",
|
||||
"devices": "Device Management"
|
||||
},
|
||||
"product": {
|
||||
"title": "Product Management",
|
||||
"simCard": "SIM Card Management",
|
||||
"simCardAssign": "SIM Card Assignment",
|
||||
"packageSeries": "Package Series Management",
|
||||
"packageList": "Package Management",
|
||||
"packageAssign": "Package Assignment",
|
||||
"shop": "Shop Management"
|
||||
},
|
||||
"assetManagement": {
|
||||
"title": "Asset Management",
|
||||
"singleCard": "Single Card Info",
|
||||
"cardList": "Card Management",
|
||||
"devices": "Device Management",
|
||||
"assetAssign": "Asset Assignment",
|
||||
"cardReplacementRequest": "Card Replacement Request"
|
||||
},
|
||||
"settings": {
|
||||
"title": "Settings Management",
|
||||
"paymentMerchant": "Payment Merchant",
|
||||
"developerApi": "Developer API",
|
||||
"commissionTemplate": "Commission Template"
|
||||
},
|
||||
"batch": {
|
||||
"title": "Batch Operations",
|
||||
"simImport": "SIM Import",
|
||||
"deviceImport": "Device Import",
|
||||
"offlineBatchRecharge": "Offline Batch Recharge",
|
||||
"cardChangeNotice": "Card Change Notice"
|
||||
}
|
||||
},
|
||||
"table": {
|
||||
"searchBar": {
|
||||
"reset": "Reset",
|
||||
"search": "Search",
|
||||
"expand": "Expand",
|
||||
"collapse": "Collapse",
|
||||
"searchInputPlaceholder": "Please enter",
|
||||
"searchSelectPlaceholder": "Please select"
|
||||
},
|
||||
"selection": "Select",
|
||||
"sizeOptions": {
|
||||
"small": "Compact",
|
||||
"default": "Default",
|
||||
"large": "Loose"
|
||||
},
|
||||
"zebra": "Zebra",
|
||||
"border": "Border",
|
||||
"headerBackground": "Header BG"
|
||||
},
|
||||
"platformAccount": {
|
||||
"title": "Platform Account Management",
|
||||
"searchForm": {
|
||||
"accountName": "Account Name",
|
||||
"accountNamePlaceholder": "Please enter account name",
|
||||
"username": "Username",
|
||||
"usernamePlaceholder": "Please enter username",
|
||||
"status": "Status",
|
||||
"statusPlaceholder": "Please select status"
|
||||
},
|
||||
"table": {
|
||||
"id": "Account ID",
|
||||
"accountName": "Account Name",
|
||||
"username": "Username",
|
||||
"phone": "Phone",
|
||||
"email": "Email",
|
||||
"roles": "Roles",
|
||||
"status": "Status",
|
||||
"createTime": "Create Time",
|
||||
"lastLoginTime": "Last Login",
|
||||
"actions": "Actions"
|
||||
},
|
||||
"status": {
|
||||
"enabled": "Enabled",
|
||||
"disabled": "Disabled"
|
||||
},
|
||||
"buttons": {
|
||||
"add": "Add Account",
|
||||
"edit": "Edit",
|
||||
"delete": "Delete",
|
||||
"view": "View Details",
|
||||
"changePassword": "Change Password",
|
||||
"assignRoles": "Assign Roles"
|
||||
},
|
||||
"dialog": {
|
||||
"add": "Add Platform Account",
|
||||
"edit": "Edit Platform Account",
|
||||
"detail": "Account Details",
|
||||
"changePassword": "Change Password",
|
||||
"assignRoles": "Assign Roles"
|
||||
},
|
||||
"form": {
|
||||
"accountName": "Account Name",
|
||||
"accountNamePlaceholder": "Please enter account name",
|
||||
"username": "Username",
|
||||
"usernamePlaceholder": "Please enter username (login name)",
|
||||
"password": "Password",
|
||||
"passwordPlaceholder": "Please enter password",
|
||||
"confirmPassword": "Confirm Password",
|
||||
"confirmPasswordPlaceholder": "Please enter password again",
|
||||
"phone": "Phone",
|
||||
"phonePlaceholder": "Please enter phone number",
|
||||
"email": "Email",
|
||||
"emailPlaceholder": "Please enter email",
|
||||
"status": "Status",
|
||||
"remark": "Remark",
|
||||
"remarkPlaceholder": "Please enter remark",
|
||||
"newPassword": "New Password",
|
||||
"newPasswordPlaceholder": "Please enter new password",
|
||||
"confirmNewPassword": "Confirm New Password",
|
||||
"confirmNewPasswordPlaceholder": "Please enter new password again",
|
||||
"currentRoles": "Current Roles",
|
||||
"availableRoles": "Available Roles",
|
||||
"basicInfo": "Basic Information",
|
||||
"roleInfo": "Role Information",
|
||||
"statusInfo": "Status Information",
|
||||
"remarkInfo": "Remark Information",
|
||||
"createTime": "Create Time",
|
||||
"updateTime": "Update Time",
|
||||
"lastLoginTime": "Last Login Time"
|
||||
},
|
||||
"validation": {
|
||||
"accountNameRequired": "Please enter account name",
|
||||
"usernameRequired": "Please enter username",
|
||||
"usernameExists": "Username already exists",
|
||||
"passwordRequired": "Please enter password",
|
||||
"passwordStrength": "Password must be at least 8 characters with letters and numbers",
|
||||
"confirmPasswordRequired": "Please enter password again",
|
||||
"passwordNotMatch": "Passwords do not match",
|
||||
"phoneRequired": "Please enter phone number",
|
||||
"phonePattern": "Please enter valid phone number",
|
||||
"emailPattern": "Please enter valid email",
|
||||
"newPasswordRequired": "Please enter new password",
|
||||
"atLeastOneRole": "Account must have at least one role"
|
||||
},
|
||||
"messages": {
|
||||
"createSuccess": "Account created successfully",
|
||||
"updateSuccess": "Account updated successfully",
|
||||
"deleteSuccess": "Account deleted successfully",
|
||||
"passwordChangeSuccess": "Password changed successfully",
|
||||
"roleAssignSuccess": "Roles assigned successfully",
|
||||
"statusChangeSuccess": "Status changed successfully",
|
||||
"deleteConfirm": "Are you sure to delete account {name}? This action cannot be undone",
|
||||
"cannotDeleteSelf": "Cannot delete current login account",
|
||||
"cannotDisableSelf": "Cannot disable current login account",
|
||||
"noData": "No account data, click add button to create account",
|
||||
"passwordHint": "Please use change password function to modify password",
|
||||
"disabledLoginHint": "Account has been disabled, please contact administrator"
|
||||
}
|
||||
}
|
||||
}
|
||||
583
src/locales/langs/zh.json
Normal file
583
src/locales/langs/zh.json
Normal file
@@ -0,0 +1,583 @@
|
||||
{
|
||||
"topBar": {
|
||||
"search": {
|
||||
"title": "搜索"
|
||||
},
|
||||
"user": {
|
||||
"userCenter": "个人中心",
|
||||
"docs": "使用文档",
|
||||
"github": "Github",
|
||||
"lockScreen": "锁定屏幕",
|
||||
"logout": "退出登录"
|
||||
}
|
||||
},
|
||||
"common": {
|
||||
"tips": "提示",
|
||||
"cancel": "取消",
|
||||
"confirm": "确定",
|
||||
"logOutTips": "您是否要退出登录?"
|
||||
},
|
||||
"search": {
|
||||
"placeholder": "搜索页面",
|
||||
"historyTitle": "搜索历史",
|
||||
"switchKeydown": "切换",
|
||||
"selectKeydown": "选择"
|
||||
},
|
||||
"setting": {
|
||||
"menuType": {
|
||||
"title": "菜单布局",
|
||||
"list": ["垂直", "水平", "混合", "双列"]
|
||||
},
|
||||
"theme": {
|
||||
"title": "主题风格",
|
||||
"list": ["浅色", "深色", "系统"]
|
||||
},
|
||||
"menu": {
|
||||
"title": "菜单风格"
|
||||
},
|
||||
"color": {
|
||||
"title": "系统主题色"
|
||||
},
|
||||
"box": {
|
||||
"title": "盒子样式",
|
||||
"list": ["边框", "阴影"]
|
||||
},
|
||||
"container": {
|
||||
"title": "容器宽度",
|
||||
"list": ["铺满", "定宽"]
|
||||
},
|
||||
"basics": {
|
||||
"title": "基础配置",
|
||||
"list": {
|
||||
"multiTab": "开启多标签栏",
|
||||
"accordion": "侧边栏开启手风琴模式",
|
||||
"collapseSidebar": "显示折叠侧边栏按钮",
|
||||
"reloadPage": "显示重载页面按钮",
|
||||
"breadcrumb": "显示全局面包屑导航",
|
||||
"language": "显示多语言选择",
|
||||
"progressBar": "显示顶部进度条",
|
||||
"weakMode": "色弱模式",
|
||||
"watermark": "全局水印",
|
||||
"menuWidth": "菜单宽度",
|
||||
"tabStyle": "标签页风格",
|
||||
"pageTransition": "页面切换动画",
|
||||
"borderRadius": "自定义圆角"
|
||||
}
|
||||
},
|
||||
"tabStyle": {
|
||||
"default": "默认",
|
||||
"card": "卡片",
|
||||
"google": "谷歌"
|
||||
},
|
||||
"transition": {
|
||||
"list": {
|
||||
"none": "无动画",
|
||||
"fade": "淡入淡出",
|
||||
"slideLeft": "左侧滑入",
|
||||
"slideBottom": "下方滑入",
|
||||
"slideTop": "上方滑入"
|
||||
}
|
||||
}
|
||||
},
|
||||
"notice": {
|
||||
"title": "通知",
|
||||
"btnRead": "标为已读",
|
||||
"bar": ["通知", "消息", "代办"],
|
||||
"text": ["暂无"],
|
||||
"viewAll": "查看全部"
|
||||
},
|
||||
"worktab": {
|
||||
"btn": {
|
||||
"refresh": "刷新",
|
||||
"fixed": "固定",
|
||||
"unfixed": "取消固定",
|
||||
"closeLeft": "关闭左侧",
|
||||
"closeRight": "关闭右侧",
|
||||
"closeOther": "关闭其他",
|
||||
"closeAll": "关闭全部"
|
||||
}
|
||||
},
|
||||
"login": {
|
||||
"leftView": {
|
||||
"title": "欢迎回来, 致力为用户提供更好的服务!",
|
||||
"subTitle": "美观实用的界面,经过视觉优化,确保卓越的用户体验"
|
||||
},
|
||||
"title": "欢迎回来",
|
||||
"subTitle": "输入您的账号和密码登录",
|
||||
"roles": {
|
||||
"super": "超级管理员",
|
||||
"admin": "管理员",
|
||||
"user": "普通用户"
|
||||
},
|
||||
"placeholder": ["请输入账号", "请输入密码", "请拖动滑块完成验证"],
|
||||
"sliderText": "按住滑块拖动",
|
||||
"sliderSuccessText": "验证成功",
|
||||
"rememberPwd": "记住密码",
|
||||
"forgetPwd": "忘记密码",
|
||||
"btnText": "登录",
|
||||
"noAccount": "还没有账号?",
|
||||
"register": "注册",
|
||||
"success": {
|
||||
"title": "登录成功",
|
||||
"message": "欢迎回来"
|
||||
},
|
||||
"validation": {
|
||||
"usernameLength": "用户名长度为 3-20 个字符",
|
||||
"usernamePattern": "用户名只能包含字母、数字和下划线",
|
||||
"passwordLength": "密码长度为 6-20 个字符",
|
||||
"strongPasswordLength": "密码长度为 8-20 个字符",
|
||||
"strongPasswordPattern": "密码必须包含大小写字母和数字",
|
||||
"confirmPasswordRequired": "请再次输入密码",
|
||||
"confirmPasswordNotMatch": "两次输入的密码不一致",
|
||||
"phoneRequired": "请输入手机号",
|
||||
"phonePattern": "请输入正确的手机号格式",
|
||||
"emailRequired": "请输入邮箱",
|
||||
"emailPattern": "请输入正确的邮箱格式",
|
||||
"captchaRequired": "请输入验证码",
|
||||
"captchaLength": "验证码长度为 4 位"
|
||||
},
|
||||
"error": {
|
||||
"invalidCredentials": "用户名或密码错误",
|
||||
"getUserInfoFailed": "获取用户信息失败",
|
||||
"loginFailed": "登录失败,请稍后重试"
|
||||
}
|
||||
},
|
||||
"forgetPassword": {
|
||||
"title": "忘记密码?",
|
||||
"subTitle": "输入您的电子邮件来重置您的密码",
|
||||
"placeholder": "请输入您的电子邮件",
|
||||
"submitBtnText": "提交",
|
||||
"backBtnText": "返回"
|
||||
},
|
||||
"register": {
|
||||
"title": "创建账号",
|
||||
"subTitle": "欢迎加入我们,请填写以下信息完成注册",
|
||||
"placeholder": ["请输入账号", "请输入密码", "请再次输入密码"],
|
||||
"rule": [
|
||||
"请再次输入密码",
|
||||
"两次输入密码不一致!",
|
||||
"长度在 3 到 20 个字符",
|
||||
"密码长度不能小于6位",
|
||||
"请同意隐私协议"
|
||||
],
|
||||
"agreeText": "我同意",
|
||||
"privacyPolicy": "《隐私政策》",
|
||||
"submitBtnText": "注册",
|
||||
"hasAccount": "已有账号?",
|
||||
"toLogin": "去登录"
|
||||
},
|
||||
"lockScreen": {
|
||||
"pwdError": "密码错误",
|
||||
"lock": {
|
||||
"inputPlaceholder": "请输入锁屏密码",
|
||||
"btnText": "锁定"
|
||||
},
|
||||
"unlock": {
|
||||
"inputPlaceholder": "请输入解锁密码",
|
||||
"btnText": "解锁",
|
||||
"backBtnText": "返回登录"
|
||||
}
|
||||
},
|
||||
"analysis": {
|
||||
"todaySales": {
|
||||
"title": "今日销售",
|
||||
"subtitle": "销售总结",
|
||||
"export": "导出",
|
||||
"cards": {
|
||||
"totalSales": {
|
||||
"label": "总销售额",
|
||||
"change": "+15%"
|
||||
},
|
||||
"totalOrder": {
|
||||
"label": "总订单",
|
||||
"change": "+5%"
|
||||
},
|
||||
"productSold": {
|
||||
"label": "已售产品",
|
||||
"change": "+2%"
|
||||
},
|
||||
"newCustomers": {
|
||||
"label": "新客户",
|
||||
"change": "+8%"
|
||||
}
|
||||
},
|
||||
"fromYesterday": "较昨天"
|
||||
},
|
||||
"visitorInsights": {
|
||||
"title": "访客洞察",
|
||||
"legend": {
|
||||
"loyalCustomers": "忠实客户",
|
||||
"newCustomers": "新客户"
|
||||
}
|
||||
},
|
||||
"totalRevenue": {
|
||||
"title": "总收入",
|
||||
"legend": {
|
||||
"onlineSales": "线上销售",
|
||||
"offlineSales": "线下销售"
|
||||
}
|
||||
},
|
||||
"customerSatisfaction": {
|
||||
"title": "客户满意度",
|
||||
"legend": {
|
||||
"lastMonth": "上月",
|
||||
"thisMonth": "本月"
|
||||
}
|
||||
},
|
||||
"targetVsReality": {
|
||||
"title": "目标与实际",
|
||||
"realitySales": {
|
||||
"label": "实际销售",
|
||||
"sublabel": "全球"
|
||||
},
|
||||
"targetSales": {
|
||||
"label": "目标销售",
|
||||
"sublabel": "商业"
|
||||
}
|
||||
},
|
||||
"topProducts": {
|
||||
"title": "热门产品",
|
||||
"columns": {
|
||||
"name": "名称",
|
||||
"popularity": "热度",
|
||||
"sales": "销量"
|
||||
},
|
||||
"products": {
|
||||
"homeDecor": {
|
||||
"name": "家居装饰系列",
|
||||
"sales": "10%"
|
||||
},
|
||||
"disneyBag": {
|
||||
"name": "迪士尼公主粉色包 18\"",
|
||||
"sales": "29%"
|
||||
},
|
||||
"bathroom": {
|
||||
"name": "浴室用品",
|
||||
"sales": "65%"
|
||||
},
|
||||
"smartwatch": {
|
||||
"name": "苹果智能手表",
|
||||
"sales": "32%"
|
||||
},
|
||||
"fitness": {
|
||||
"name": "健身追踪器",
|
||||
"sales": "78%"
|
||||
},
|
||||
"earbuds": {
|
||||
"name": "无线耳机",
|
||||
"sales": "41%"
|
||||
}
|
||||
}
|
||||
},
|
||||
"salesMappingCountry": {
|
||||
"title": "各国销售分布"
|
||||
},
|
||||
"volumeServiceLevel": {
|
||||
"title": "业务量与服务水平",
|
||||
"legend": {
|
||||
"volume": "业务量",
|
||||
"services": "服务"
|
||||
}
|
||||
}
|
||||
},
|
||||
"greeting": {
|
||||
"dawn": "凌晨了!",
|
||||
"morning": "上午好!",
|
||||
"afternoon": "下午好!",
|
||||
"evening": "晚上好!"
|
||||
},
|
||||
"exceptionPage": {
|
||||
"gohome": "返回首页",
|
||||
"403": "抱歉,您无权访问该页面",
|
||||
"404": "抱歉,您访问的页面不存在",
|
||||
"500": "抱歉,服务器出错了"
|
||||
},
|
||||
"menus": {
|
||||
"login": {
|
||||
"title": "登录"
|
||||
},
|
||||
"register": {
|
||||
"title": "注册"
|
||||
},
|
||||
"forgetPassword": {
|
||||
"title": "忘记密码"
|
||||
},
|
||||
"outside": {
|
||||
"title": "内嵌页面"
|
||||
},
|
||||
"dashboard": {
|
||||
"title": "仪表盘",
|
||||
"console": "工作台",
|
||||
"analysis": "分析页",
|
||||
"ecommerce": "电子商务"
|
||||
},
|
||||
"widgets": {
|
||||
"title": "组件中心",
|
||||
"iconList": "Icon 图标",
|
||||
"iconSelector": "图标选择器",
|
||||
"imageCrop": "图像裁剪",
|
||||
"excel": "Excel 导入导出",
|
||||
"video": "视频播放器",
|
||||
"countTo": "数字滚动",
|
||||
"wangEditor": "富文本编辑器",
|
||||
"watermark": "水印",
|
||||
"contextMenu": "右键菜单",
|
||||
"qrcode": "二维码",
|
||||
"drag": "拖拽",
|
||||
"textScroll": "文字滚动",
|
||||
"fireworks": "礼花",
|
||||
"elementUI": "组件总览"
|
||||
},
|
||||
"template": {
|
||||
"title": "模板中心",
|
||||
"chat": "聊天",
|
||||
"cards": "卡片",
|
||||
"banners": "横幅",
|
||||
"charts": "图表",
|
||||
"map": "地图",
|
||||
"calendar": "日历",
|
||||
"pricing": "定价"
|
||||
},
|
||||
"article": {
|
||||
"title": "文章管理",
|
||||
"articleList": "文章列表",
|
||||
"articleDetail": "文章详情",
|
||||
"comment": "留言管理",
|
||||
"articlePublish": "文章发布"
|
||||
},
|
||||
"result": {
|
||||
"title": "结果页面",
|
||||
"success": "成功页",
|
||||
"fail": "失败页"
|
||||
},
|
||||
"exception": {
|
||||
"title": "异常页面",
|
||||
"forbidden": "403",
|
||||
"notFound": "404",
|
||||
"serverError": "500"
|
||||
},
|
||||
"system": {
|
||||
"title": "系统管理",
|
||||
"role": "角色管理",
|
||||
"permission": "权限管理",
|
||||
"userCenter": "个人中心",
|
||||
"menu": "菜单管理",
|
||||
"nested": "嵌套菜单",
|
||||
"menu1": "菜单1",
|
||||
"menu2": "菜单2",
|
||||
"menu21": "菜单2-1",
|
||||
"menu3": "菜单3",
|
||||
"menu31": "菜单3-1",
|
||||
"menu32": "菜单3-2",
|
||||
"menu321": "菜单3-2-1"
|
||||
},
|
||||
"safeguard": {
|
||||
"title": "运维管理",
|
||||
"server": "服务器管理"
|
||||
},
|
||||
"plan": {
|
||||
"title": "版本计划",
|
||||
"log": "更新日志"
|
||||
},
|
||||
"help": {
|
||||
"title": "帮助中心",
|
||||
"document": "官方文档"
|
||||
},
|
||||
"cardManagement": {
|
||||
"title": "我的网卡",
|
||||
"singleCard": "单卡信息",
|
||||
"cardList": "网卡管理",
|
||||
"cardDetail": "网卡明细",
|
||||
"cardAssign": "网卡分配",
|
||||
"cardShutdown": "停机管理",
|
||||
"myCards": "我的网卡",
|
||||
"offlineBatchRecharge": "线下批量充值",
|
||||
"cardTransfer": "网卡转接",
|
||||
"cardReplacement": "换卡管理",
|
||||
"packageGift": "套餐赠送",
|
||||
"cardChange": "换卡网卡"
|
||||
},
|
||||
"packageManagement": {
|
||||
"title": "我的套餐",
|
||||
"packageCreate": "新建套餐",
|
||||
"packageBatch": "批量管理",
|
||||
"packageList": "我的套餐",
|
||||
"packageChange": "套餐变更",
|
||||
"packageAssign": "套餐分配",
|
||||
"packageSeries": "套餐系列",
|
||||
"packageCommission": "套餐佣金网卡"
|
||||
},
|
||||
"accountManagement": {
|
||||
"title": "账号管理",
|
||||
"account": "账号列表",
|
||||
"platformAccount": "平台账号",
|
||||
"shopAccount": "代理账号",
|
||||
"customer": "客户管理",
|
||||
"customerRole": "客户角色",
|
||||
"agent": "代理商管理",
|
||||
"customerAccount": "客户账号管理",
|
||||
"enterpriseCustomer": "企业客户管理",
|
||||
"customerCommission": "客户账号佣金"
|
||||
},
|
||||
"deviceManagement": {
|
||||
"title": "设备管理",
|
||||
"devices": "设备管理"
|
||||
},
|
||||
"product": {
|
||||
"title": "商品管理",
|
||||
"simCard": "号卡管理",
|
||||
"simCardAssign": "号卡分配",
|
||||
"packageSeries": "套餐系列管理",
|
||||
"packageList": "套餐管理",
|
||||
"packageAssign": "套餐分配",
|
||||
"shop": "店铺管理"
|
||||
},
|
||||
"assetManagement": {
|
||||
"title": "资产管理",
|
||||
"singleCard": "单卡信息",
|
||||
"cardList": "网卡管理",
|
||||
"devices": "设备管理",
|
||||
"assetAssign": "资产分配",
|
||||
"cardReplacementRequest": "换卡申请"
|
||||
},
|
||||
"account": {
|
||||
"title": "账户管理",
|
||||
"customerAccount": "客户账号",
|
||||
"withdrawal": "佣金提现",
|
||||
"withdrawalSettings": "佣金提现设置",
|
||||
"myAccount": "我的账户"
|
||||
},
|
||||
"settings": {
|
||||
"title": "设置管理",
|
||||
"paymentMerchant": "支付商户",
|
||||
"developerApi": "开发者API",
|
||||
"commissionTemplate": "分佣模板"
|
||||
},
|
||||
"batch": {
|
||||
"title": "批量操作",
|
||||
"simImport": "网卡导入",
|
||||
"deviceImport": "设备导入",
|
||||
"offlineBatchRecharge": "线下批量充值",
|
||||
"cardChangeNotice": "换卡通知"
|
||||
}
|
||||
},
|
||||
"table": {
|
||||
"searchBar": {
|
||||
"reset": "重置",
|
||||
"search": "查询",
|
||||
"expand": "展开",
|
||||
"collapse": "收起",
|
||||
"searchInputPlaceholder": "请输入",
|
||||
"searchSelectPlaceholder": "请选择"
|
||||
},
|
||||
"selection": "选择",
|
||||
"sizeOptions": {
|
||||
"small": "紧凑",
|
||||
"default": "默认",
|
||||
"large": "宽松"
|
||||
},
|
||||
"zebra": "斑马纹",
|
||||
"border": "边框",
|
||||
"headerBackground": "表头背景"
|
||||
},
|
||||
"platformAccount": {
|
||||
"title": "平台账号管理",
|
||||
"searchForm": {
|
||||
"accountName": "账号名称",
|
||||
"accountNamePlaceholder": "请输入账号名称",
|
||||
"username": "用户名",
|
||||
"usernamePlaceholder": "请输入用户名",
|
||||
"status": "状态",
|
||||
"statusPlaceholder": "请选择状态"
|
||||
},
|
||||
"table": {
|
||||
"id": "账号ID",
|
||||
"accountName": "账号名称",
|
||||
"username": "用户名",
|
||||
"phone": "手机号",
|
||||
"email": "邮箱",
|
||||
"roles": "角色",
|
||||
"status": "状态",
|
||||
"createTime": "创建时间",
|
||||
"lastLoginTime": "最后登录时间",
|
||||
"actions": "操作"
|
||||
},
|
||||
"status": {
|
||||
"enabled": "启用",
|
||||
"disabled": "禁用"
|
||||
},
|
||||
"buttons": {
|
||||
"add": "新增账号",
|
||||
"edit": "编辑",
|
||||
"delete": "删除",
|
||||
"view": "查看详情",
|
||||
"changePassword": "修改密码",
|
||||
"assignRoles": "分配角色"
|
||||
},
|
||||
"dialog": {
|
||||
"add": "新增平台账号",
|
||||
"edit": "编辑平台账号",
|
||||
"detail": "账号详情",
|
||||
"changePassword": "修改密码",
|
||||
"assignRoles": "分配角色"
|
||||
},
|
||||
"form": {
|
||||
"accountName": "账号名称",
|
||||
"accountNamePlaceholder": "请输入账号名称",
|
||||
"username": "用户名",
|
||||
"usernamePlaceholder": "请输入用户名(登录名)",
|
||||
"password": "密码",
|
||||
"passwordPlaceholder": "请输入密码",
|
||||
"confirmPassword": "确认密码",
|
||||
"confirmPasswordPlaceholder": "请再次输入密码",
|
||||
"phone": "手机号",
|
||||
"phonePlaceholder": "请输入手机号",
|
||||
"email": "邮箱",
|
||||
"emailPlaceholder": "请输入邮箱",
|
||||
"status": "状态",
|
||||
"remark": "备注",
|
||||
"remarkPlaceholder": "请输入备注信息",
|
||||
"newPassword": "新密码",
|
||||
"newPasswordPlaceholder": "请输入新密码",
|
||||
"confirmNewPassword": "确认新密码",
|
||||
"confirmNewPasswordPlaceholder": "请再次输入新密码",
|
||||
"currentRoles": "当前角色",
|
||||
"availableRoles": "可分配角色",
|
||||
"basicInfo": "基本信息",
|
||||
"roleInfo": "角色信息",
|
||||
"statusInfo": "状态信息",
|
||||
"remarkInfo": "备注信息",
|
||||
"createTime": "创建时间",
|
||||
"updateTime": "更新时间",
|
||||
"lastLoginTime": "最后登录时间"
|
||||
},
|
||||
"validation": {
|
||||
"accountNameRequired": "请输入账号名称",
|
||||
"usernameRequired": "请输入用户名",
|
||||
"usernameExists": "用户名已存在",
|
||||
"passwordRequired": "请输入密码",
|
||||
"passwordStrength": "密码强度不足,至少8位且包含字母、数字",
|
||||
"confirmPasswordRequired": "请再次输入密码",
|
||||
"passwordNotMatch": "两次输入的密码不一致",
|
||||
"phoneRequired": "请输入手机号",
|
||||
"phonePattern": "请输入正确的手机号格式",
|
||||
"emailPattern": "请输入正确的邮箱格式",
|
||||
"newPasswordRequired": "请输入新密码",
|
||||
"atLeastOneRole": "账号至少需要保留一个角色"
|
||||
},
|
||||
"messages": {
|
||||
"createSuccess": "账号创建成功",
|
||||
"updateSuccess": "账号更新成功",
|
||||
"deleteSuccess": "账号删除成功",
|
||||
"passwordChangeSuccess": "密码修改成功",
|
||||
"roleAssignSuccess": "角色分配成功",
|
||||
"statusChangeSuccess": "状态切换成功",
|
||||
"deleteConfirm": "确定要删除账号 {name} 吗?此操作不可撤销",
|
||||
"cannotDeleteSelf": "不能删除当前登录账号",
|
||||
"cannotDisableSelf": "不能禁用当前登录账号",
|
||||
"noData": "暂无账号数据,点击新增按钮创建账号",
|
||||
"passwordHint": "如需修改密码请使用修改密码功能",
|
||||
"disabledLoginHint": "账号已被禁用,请联系管理员"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user