Commit c75a0b4a authored by duxinyuan's avatar duxinyuan

1

parent 9f6c1a5b
...@@ -134,6 +134,8 @@ define(['doT', 'text!temp/attendance_template_tpl.html', 'css!style/home.css', ' ...@@ -134,6 +134,8 @@ define(['doT', 'text!temp/attendance_template_tpl.html', 'css!style/home.css', '
$.post('/index/checkCostParameter',params,function(data){ $.post('/index/checkCostParameter',params,function(data){
if (data.code == 200 && data.data != null) { if (data.code == 200 && data.data != null) {
alert(data.msg) alert(data.msg)
} else {
alert(data.msg)
} }
}) })
}, },
......
...@@ -57,6 +57,8 @@ define(['doT', 'text!temp/costParamsmeters_template_tpl.html', 'css!style/home.c ...@@ -57,6 +57,8 @@ define(['doT', 'text!temp/costParamsmeters_template_tpl.html', 'css!style/home.c
$.post('/index/checkCostParameter',params,function(data){ $.post('/index/checkCostParameter',params,function(data){
if (data.code == 200 && data.data != null) { if (data.code == 200 && data.data != null) {
alert(data.msg) alert(data.msg)
} else {
alert(data.msg)
} }
}) })
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment