Commit ff414656 authored by agping's avatar agping

修改

parent 1a01222e
...@@ -1360,6 +1360,8 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'css!style/home.css' ...@@ -1360,6 +1360,8 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'css!style/home.css'
}, },
//筛选 //筛选
getList: function(pageNo) { getList: function(pageNo) {
var user_info_obj = JSON.parse(decodeURIComponent(localStorage.getItem('pcUserInfo'))); //读取缓存
user.pageNo = pageNo; user.pageNo = pageNo;
var _startDateObj = $('#start_date'), var _startDateObj = $('#start_date'),
_endDateObj = $('#end_date'), _endDateObj = $('#end_date'),
...@@ -1368,7 +1370,9 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'css!style/home.css' ...@@ -1368,7 +1370,9 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'css!style/home.css'
_followContentObj = $('#follow_content'); _followContentObj = $('#follow_content');
var params = { var params = {
'pageNo': user.pageNo, 'pageNo': user.pageNo,
'pageSize': user.pageSize 'pageSize': user.pageSize,
'agent_id': user_info_obj.id
}; };
params.remark_name = $.trim($("#remark_name").val()); params.remark_name = $.trim($("#remark_name").val());
params.remark_phone = $.trim($("#remark_phone").val()); params.remark_phone = $.trim($("#remark_phone").val());
......
...@@ -1260,8 +1260,6 @@ define(['doT', 'text!temp/my_collection_user_template_tpl.html', 'css!style/home ...@@ -1260,8 +1260,6 @@ define(['doT', 'text!temp/my_collection_user_template_tpl.html', 'css!style/home
$(".firstlogin_time").html(data.data.user_info.first_login_time);//第一次登陆时间 $(".firstlogin_time").html(data.data.user_info.first_login_time);//第一次登陆时间
$(".sex").val(data.data.user_info.sex); //性别 $(".sex").val(data.data.user_info.sex); //性别
$(".user_vip2").val(data.data.user_info.vip); //是否vip $(".user_vip2").val(data.data.user_info.vip); //是否vip
user.customerInfo = data.data.user_info;
user.is_outpace_call_num = data.data.is_outpace_call_num;
$(".cus_phone").html(hideTel(data.data.user_info.user_phone)); //电话 $(".cus_phone").html(hideTel(data.data.user_info.user_phone)); //电话
$(".cus_date").html(data.data.user_info.create_time); //创建时间 $(".cus_date").html(data.data.user_info.create_time); //创建时间
$(".referrer_user").html(data.data.user_info.referrer_user); //上传时间 $(".referrer_user").html(data.data.user_info.referrer_user); //上传时间
......
...@@ -34,6 +34,8 @@ define(['doT', 'jquery', 'text!temp/menu_template_tpl.html', 'layer'], function ...@@ -34,6 +34,8 @@ define(['doT', 'jquery', 'text!temp/menu_template_tpl.html', 'layer'], function
_tempObj.closest('.dropdown-menu').prev().attr('aria-expanded', true).parents().addClass('open').siblings().removeClass('open'); _tempObj.closest('.dropdown-menu').prev().attr('aria-expanded', true).parents().addClass('open').siblings().removeClass('open');
console.log(_tempObj.closest('.dropdown-menu').prev().attr('aria-expanded', true).parents().attr("class")); console.log(_tempObj.closest('.dropdown-menu').prev().attr('aria-expanded', true).parents().attr("class"));
}); });
function menu_bar(fn) { function menu_bar(fn) {
...@@ -44,6 +46,8 @@ define(['doT', 'jquery', 'text!temp/menu_template_tpl.html', 'layer'], function ...@@ -44,6 +46,8 @@ define(['doT', 'jquery', 'text!temp/menu_template_tpl.html', 'layer'], function
if(!user_info_obj){ if(!user_info_obj){
window.location.href="login.html"; window.location.href="login.html";
} }
console.log(66);
$ ("#menu_bar").append (template); $ ("#menu_bar").append (template);
......
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