Commit 611808d4 authored by agping's avatar agping

职称列表 修改

parent cc56dc0b
......@@ -86,7 +86,7 @@ define(['doT', 'text!temp/professional_list_template_tpl.html', 'text!temp/repor
addProfessional: function() {
$.ajax({
url: '/index/updatePosition',
type: 'GET',
type: 'POST',
async: true,
data: {
"agent_id": professional.agent_id_choose_add,
......@@ -95,7 +95,10 @@ define(['doT', 'text!temp/professional_list_template_tpl.html', 'text!temp/repor
dataType: 'json',
success: function(data) {
if(data.code == 200) {
alert('提交成功!')
$("#modal_add_professional").modal('hide');
professional.getList(professional.pageNo);
} 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