Commit d25006d7 authored by agping's avatar agping

冻结修改

parent d1e30900
...@@ -205,7 +205,7 @@ define(['doT', 'text!temp/agent_template_tpl.html', 'text!temp/phoneBinding_temp ...@@ -205,7 +205,7 @@ define(['doT', 'text!temp/agent_template_tpl.html', 'text!temp/phoneBinding_temp
dataType: "json", dataType: "json",
success: function(data) { success: function(data) {
if(data.code != 200) { if(data.code != 200) {
alert("禁用失败!") alert(data.msg)
} }
} }
}); });
...@@ -233,7 +233,7 @@ define(['doT', 'text!temp/agent_template_tpl.html', 'text!temp/phoneBinding_temp ...@@ -233,7 +233,7 @@ define(['doT', 'text!temp/agent_template_tpl.html', 'text!temp/phoneBinding_temp
hideAutomatic.hide(); hideAutomatic.hide();
// console.log( $(this)); // console.log( $(this));
}else{ }else{
alert("禁用失败!") alert(data.msg)
} }
} }
}); });
......
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
<a class="btn1 btn-info yetai_checkbox" data-toggle="modal" data-id='[%= it[item]["id"] %]' data-status='[%= it[item]["status"] %]'>长假</a> <a class="btn1 btn-info yetai_checkbox" data-toggle="modal" data-id='[%= it[item]["id"] %]' data-status='[%= it[item]["status"] %]'>长假</a>
[% } %] [% } %]
[% if(it[item]["status"] == 2) {%] [% if(it[item]["status"] == 5) {%]
<a class="btn1 btn-warning automatic-locking" data-toggle="modal" data-id='[%= it[item]["id"] %]' data-status='[%= it[item]["status"] %]'>自动锁定</a> <a class="btn1 btn-warning automatic-locking" data-toggle="modal" data-id='[%= it[item]["id"] %]' data-status='[%= it[item]["status"] %]'>自动锁定</a>
[% } %] [% } %]
......
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