Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
熊鹏飞
/
xxljob220
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
482ea3b5
authored
Jan 19, 2018
by
xuxueli
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
GLUE界面,完整国际化定制
parent
892f08e0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
xxl-job-admin/src/main/webapp/static/js/jobcode.index.1.js
xxl-job-admin/src/main/webapp/static/js/jobcode.index.1.js
View file @
482ea3b5
...
@@ -38,15 +38,15 @@ $(function() {
...
@@ -38,15 +38,15 @@ $(function() {
if
(
!
glueRemark
)
{
if
(
!
glueRemark
)
{
layer
.
open
({
layer
.
open
({
title
:
'系统提示'
,
title
:
I18n
.
system_tips
,
content
:
'请输入备注'
,
content
:
I18n
.
system_please_input
+
I18n
.
jobinfo_glue_remark
,
icon
:
'2'
icon
:
'2'
});
});
return
;
return
;
}
}
if
(
glueRemark
.
length
<
4
||
glueRemark
.
length
>
100
)
{
if
(
glueRemark
.
length
<
4
||
glueRemark
.
length
>
100
)
{
layer
.
open
({
layer
.
open
({
title
:
'系统提示'
,
title
:
I18n
.
system_tips
,
content
:
'备注长度应该在4至100之间'
,
content
:
'备注长度应该在4至100之间'
,
icon
:
'2'
icon
:
'2'
});
});
...
@@ -65,7 +65,7 @@ $(function() {
...
@@ -65,7 +65,7 @@ $(function() {
success
:
function
(
data
){
success
:
function
(
data
){
if
(
data
.
code
==
200
)
{
if
(
data
.
code
==
200
)
{
layer
.
open
({
layer
.
open
({
title
:
'系统提示'
,
title
:
I18n
.
system_tips
,
content
:
'保存成功'
,
content
:
'保存成功'
,
icon
:
'1'
,
icon
:
'1'
,
end
:
function
(
layero
,
index
){
end
:
function
(
layero
,
index
){
...
@@ -75,7 +75,7 @@ $(function() {
...
@@ -75,7 +75,7 @@ $(function() {
});
});
}
else
{
}
else
{
layer
.
open
({
layer
.
open
({
title
:
'系统提示'
,
title
:
I18n
.
system_tips
,
content
:
(
data
.
msg
||
"保存失败"
),
content
:
(
data
.
msg
||
"保存失败"
),
icon
:
'2'
icon
:
'2'
});
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment