GLUE界面,完整国际化定制
This commit is contained in:
parent
892f08e088
commit
482ea3b5a1
|
@ -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() {
|
||||||
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() {
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
layer.open({
|
layer.open({
|
||||||
title: '系统提示',
|
title: I18n.system_tips,
|
||||||
content: (data.msg || "保存失败"),
|
content: (data.msg || "保存失败"),
|
||||||
icon: '2'
|
icon: '2'
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue