Commit d0a21f37 authored by agping's avatar agping

达到上限 修改

parent 562fe839
...@@ -129,11 +129,13 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind ...@@ -129,11 +129,13 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
}(jQuery)); }(jQuery));
$(".form_datetime").datetimepicker({ $(".form_datetime").datetimepicker({
//format: 'yyyy-mm-dd hh:ii:ss',
format: 'yyyy-mm-dd hh:ii:00', format: 'yyyy-mm-dd hh:ii:00',
autoclose: true, autoclose: true,
language: 'zh-CN', language: 'zh-CN',
minView: 0, minView: 0,
minuteStep: 30 minuteStep: 30
//hourStep: 1
}); });
$('.datetimepicker').hide();//初始化隐藏时间控件 $('.datetimepicker').hide();//初始化隐藏时间控件
...@@ -217,6 +219,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind ...@@ -217,6 +219,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
$('#user_area_choose').html(''); //先清空 $('#user_area_choose').html(''); //先清空
if(_id && _id != '0') { if(_id && _id != '0') {
user.getCityAreaList(_id, function(_data) { user.getCityAreaList(_id, function(_data) {
// var _str = '';
var _str = '<option value="">区域</option>'; var _str = '<option value="">区域</option>';
$.each(_data, function(i, item) { $.each(_data, function(i, item) {
_str += '<option value="' + item.fullName + '">' + item.fullName + '</option>'; _str += '<option value="' + item.fullName + '">' + item.fullName + '</option>';
...@@ -264,6 +267,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind ...@@ -264,6 +267,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
_this.next().html(''); //先清空 _this.next().html(''); //先清空
if(_id && _id != '0') { if(_id && _id != '0') {
user.getDistrictStoreList(_id, function(_data) { user.getDistrictStoreList(_id, function(_data) {
// var _str = '';
var _str = '<option value="0">全部</option>'; var _str = '<option value="0">全部</option>';
$.each(_data, function(i, item) { $.each(_data, function(i, item) {
_str += '<option value="' + item.id + '">' + item.store_name + '</option>'; _str += '<option value="' + item.id + '">' + item.store_name + '</option>';
...@@ -498,11 +502,11 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind ...@@ -498,11 +502,11 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
}); });
//拨打手机号 //拨打手机号
$(document).on("click", ".user_call", function() { $(document).on("click", ".user_call", function() {
// if(is_outpace_call_num == '0'){ if(is_outpace_call_num == '0'){
user.user_Call(); user.user_Call();
// }else{ }else{
// layerTipsX('该客户今日已达拨打上限,请明日再来'); layerTipsX('该客户今日已达拨打上限,请明日再来');
// } }
}); });
//没打通手机号 //没打通手机号
$(document).on("click", "#unbind_call", function() { $(document).on("click", "#unbind_call", function() {
...@@ -1618,7 +1622,6 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind ...@@ -1618,7 +1622,6 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
params.pageNo = user.pageNo; params.pageNo = user.pageNo;
params.pageSize = user.pageSize; params.pageSize = user.pageSize;
params.user_agent = $.trim($("input[name='user_agent']").val()); params.user_agent = $.trim($("input[name='user_agent']").val());
// params.user_agent = $.trim($("input[name='user_agent_name']").val());//客方姓名搜索
params.invite_agent_phone = $.trim($("input[name='invite_agent_phone']").val()); params.invite_agent_phone = $.trim($("input[name='invite_agent_phone']").val());
params.area_type = $.trim($("select[name=area_type]").val()); params.area_type = $.trim($("select[name=area_type]").val());
params.price_type = $.trim($("select[name=price_type]").val()); params.price_type = $.trim($("select[name=price_type]").val());
...@@ -1627,6 +1630,8 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind ...@@ -1627,6 +1630,8 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
params.first_login_end = $.trim($("#first_login_end").val()); params.first_login_end = $.trim($("#first_login_end").val());
//添加个人商铺和所有商铺选择功能 //添加个人商铺和所有商铺选择功能
if($('#user_city_choose').val() == 310100){//城市 if($('#user_city_choose').val() == 310100){//城市
params.city = '上海市' ; params.city = '上海市' ;
} }
......
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