项目初始化

This commit is contained in:
liuhanqing
2025-12-03 16:09:29 +08:00
commit 68c9100aab
1649 changed files with 303228 additions and 0 deletions

36
ruoyi-ui/src/lang/en.js Normal file
View File

@@ -0,0 +1,36 @@
import 'core-js/features/symbol'
import {status} from 'nprogress'
export default {
login: {
title: 'WMS系统',
logIn: '登录',
username: '账号',
password: '密码',
code: '验证码',
rememberMe: '记住密码',
accountLogin: '账号密码登录',
},
tagsView: {
refresh: '刷新',
close: '关闭',
closeOthers: '关闭其它',
closeAll: '关闭所有'
},
settings: {
title: '系统布局配置',
theme: '主题色',
tagsView: '开启 Tags-View',
fixedHeader: '固定 Header',
sidebarLogo: '侧边栏 Logo'
},
top: {
layOut: '布局大小',
personalCenter: '个人中心',
loginOut: '退出登录',
logoutTip: '确定退出登录吗?',
logoutTitle: '提示',
confirm: '确定',
cancel: '取消',
}
}

36
ruoyi-ui/src/lang/hu.js Normal file
View File

@@ -0,0 +1,36 @@
import 'core-js/features/symbol'
import {status} from 'nprogress'
export default {
login: {
title: 'WMS系统',
logIn: '登录',
username: '账号',
password: '密码',
code: '验证码',
rememberMe: '记住密码',
accountLogin: '账号密码登录',
},
tagsView: {
refresh: '刷新',
close: '关闭',
closeOthers: '关闭其它',
closeAll: '关闭所有'
},
settings: {
title: '系统布局配置',
theme: '主题色',
tagsView: '开启 Tags-View',
fixedHeader: '固定 Header',
sidebarLogo: '侧边栏 Logo'
},
top: {
layOut: '布局大小',
personalCenter: '个人中心',
loginOut: '退出登录',
logoutTip: '确定退出登录吗?',
logoutTitle: '提示',
confirm: '确定',
cancel: '取消',
}
}

View File

@@ -0,0 +1,35 @@
import Vue from 'vue'
import VueI18n from 'vue-i18n'
import Cookies from 'js-cookie'
import elementEnLocale from 'element-ui/lib/locale/lang/en' // element-ui lang
import elementZhLocale from 'element-ui/lib/locale/lang/zh-CN'// element-ui lang
import elementHuLocale from 'element-ui/lib/locale/lang/hu'// element-ui lang
import enLocale from './en'
import zhLocale from './zh'
import huLocale from './hu'
Vue.use(VueI18n)
const messages = {
en_US: {
...enLocale,
...elementEnLocale
},
zh_CN: {
...zhLocale,
...elementZhLocale
},
hu:{
...huLocale,
...elementHuLocale
}
}
const i18n = new VueI18n({
// 设置语言 选项 en | zh
locale: Cookies.get('language') || 'zh_CN'|| 'hu' ,
// 设置文本内容
messages
})
export default i18n

36
ruoyi-ui/src/lang/zh.js Normal file
View File

@@ -0,0 +1,36 @@
import 'core-js/features/symbol'
import {status} from 'nprogress'
export default {
login: {
title: 'WMS系统',
logIn: '登录',
username: '账号',
password: '密码',
code: '验证码',
rememberMe: '记住密码',
accountLogin: '账号密码登录',
},
tagsView: {
refresh: '刷新',
close: '关闭',
closeOthers: '关闭其它',
closeAll: '关闭所有'
},
settings: {
title: '系统布局配置',
theme: '主题色',
tagsView: '开启 Tags-View',
fixedHeader: '固定 Header',
sidebarLogo: '侧边栏 Logo'
},
top: {
layOut: '布局大小',
personalCenter: '个人中心',
loginOut: '退出登录',
logoutTip: '确定退出登录吗?',
logoutTitle: '提示',
confirm: '确定',
cancel: '取消',
}
}