Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
MyEMS
MyEMS能源管理系统
提交
27a174a2
M
MyEMS能源管理系统
项目概览
MyEMS
/
MyEMS能源管理系统
通知
46
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
M
MyEMS能源管理系统
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
27a174a2
编写于
5月 15, 2024
作者:
nengyuangzhang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
added language zh_TW to myems-web
上级
fe8d1480
变更
5
展开全部
隐藏空白更改
内联
并排
Showing
5 changed file
with
1120 addition
and
5 deletion
+1120
-5
CHANGELOG.md
CHANGELOG.md
+3
-2
myems-web/src/components/MyEMS/auth/LoginForm.js
myems-web/src/components/MyEMS/auth/LoginForm.js
+1
-0
myems-web/src/components/side-panel/SidePanelModal.js
myems-web/src/components/side-panel/SidePanelModal.js
+3
-0
myems-web/src/config.js
myems-web/src/config.js
+2
-2
myems-web/src/i18n.js
myems-web/src/i18n.js
+1111
-1
未找到文件。
CHANGELOG.md
浏览文件 @
27a174a2
...
...
@@ -8,12 +8,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
-
added new protocols dtu-rtu, dtu-tcp, dtu-mqtt and mqtt-zhongxian
-
added latest value to data source points table in myems-admin
-
added menus for plan functions in database
-
added energy plan reports (preview) in myems-web
-
added energy plan reports (preview) in myems-web
-
added new tables for energy, billing and carbon in database
-
added language zh_TW to myems-web
### Changed
-
updated Distribution System in myems-web
### Fixed
-
fixed issues of optional svg textarea for equipment and combined equipment in myems-admin
-
fixed issues of optional svg textarea for equipment and combined equipment in myems-admin
### Removed
-
...
...
myems-web/src/components/MyEMS/auth/LoginForm.js
浏览文件 @
27a174a2
...
...
@@ -189,6 +189,7 @@ const LoginForm = ({ setRedirect, hasLabel, layout, t }) => {
<
option
value
=
"
tr
"
>
{
t
(
'
language-tr
'
)}
<
/option
>
<
option
value
=
"
ms
"
>
{
t
(
'
language-ms
'
)}
<
/option
>
<
option
value
=
"
id
"
>
{
t
(
'
language-id
'
)}
<
/option
>
<
option
value
=
"
id
"
>
{
t
(
'
language-zh_TW
'
)}
<
/option
>
<
/CustomInput
>
<
Row
className
=
"
justify-content-center align-items-center
"
>
<
Col
xs
=
"
auto
"
>
...
...
myems-web/src/components/side-panel/SidePanelModal.js
浏览文件 @
27a174a2
...
...
@@ -238,6 +238,9 @@ const SidePanelModal = ({ autoShow, showOnce, autoShowDelay, cookieExpireTime, p
<
LanguageRadioBtn
btnName
=
{
'
ms
'
}
/
>
<
LanguageRadioBtn
btnName
=
{
'
id
'
}
/
>
<
/ButtonGroup
>
<
ButtonGroup
className
=
"
btn-block
"
>
<
LanguageRadioBtn
btnName
=
{
'
zh_TW
'
}
/
>
<
/ButtonGroup
>
<
/div
>
<
hr
/>
<
div
className
=
"
text-center mt-5
"
>
...
...
myems-web/src/config.js
浏览文件 @
27a174a2
export
const
version
=
'
4.4.0
'
;
export
const
navbarBreakPoint
=
'
xl
'
;
// Vertical navbar breakpoint
export
const
topNavbarBreakpoint
=
'
lg
'
;
//
export const APIBaseURL = 'http://127.0.0.1:8000';
//export const APIBaseURL = 'http://127.0.0.1:8000';
export
const
APIBaseURL
=
window
.
location
.
protocol
+
'
//
'
+
window
.
location
.
hostname
+
'
:
'
+
window
.
location
.
port
+
'
/api
'
;
export
const
settings
=
{
isFluid
:
true
,
...
...
@@ -16,7 +16,7 @@ export const settings = {
currency
:
'
¥
'
,
isNavbarVerticalCollapsed
:
false
,
navbarStyle
:
'
transparent
'
,
language
:
'
zh_CN
'
,
//zh_CN, en, de, fr, es, ru, ar, vi, th, tr, ms, id
language
:
'
zh_CN
'
,
//zh_CN, en, de, fr, es, ru, ar, vi, th, tr, ms, id
, zh_TW
showOnlineMap
:
false
,
// if you wnat to turn off online map feature, please set showOnlineMap to false
mapboxToken
:
'
GET-YOUR-TOKEN-AT-MAPBOX.COM
'
,
// you can get access token at https://mapbox.com
cookieExpireTime
:
1000
*
60
*
60
//cookie expires time in milliseconds
...
...
myems-web/src/i18n.js
浏览文件 @
27a174a2
此差异已折叠。
点击以展开。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录