Commit 551606ba authored by agping's avatar agping

经纪人手机绑定修改

parent ec73d58d
......@@ -60,6 +60,7 @@ define(['doT', 'text!temp/agent_template_tpl.html', 'text!temp/phoneBinding_temp
});
$(document).on("click", ".phone-bundling",function () {
agent.agent_id = $(this).attr("data-id");
agent.getPhoneBindingList();
});
$(document).delegate(".submit_edit", "click", function () {//提交编辑
......@@ -301,15 +302,16 @@ define(['doT', 'text!temp/agent_template_tpl.html', 'text!temp/phoneBinding_temp
},
//手机绑定权限
getPhoneBindingList: function (pageNo) {
agent.pageNo = pageNo;
// agent.pageNo = pageNo;
var params = {};
params.pageNo = agent.pageNo;
params.pageSize = agent.pageSize;
params.search = $("input[name='search']").val();
params.groupname = $("input[name='groupname']").val();
params.store_name = $("input[name='store_name']").val();
// params.pageNo = agent.pageNo;
// params.pageSize = agent.pageSize;
params.agent_id =agent.agent_id;
console.log(agent.agent_id);
// params.groupname = $("input[name='groupname']").val();
// params.store_name = $("input[name='store_name']").val();
$.ajax({
url: '/index/AgentList',
url: 'index/deviceList',
type: 'GET',
async: true,
data: params,
......
......@@ -844,7 +844,7 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
});
//保存按钮点击事件
$('#saveBtn').click(function(e) {
$('#saveBtn').click(function(e) {//保存大讲堂
e.preventDefault();
e.stopPropagation();
//多个input输入框验证标记
......
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