Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hujun
tl_estate
Commits
d0a21f37
Commit
d0a21f37
authored
Sep 03, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
达到上限 修改
parent
562fe839
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
+10
-5
user.js
public/resource/js/user.js
+10
-5
No files found.
public/resource/js/user.js
View file @
d0a21f37
...
...
@@ -129,11 +129,13 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
}(
jQuery
));
$
(
".form_datetime"
).
datetimepicker
({
//format: 'yyyy-mm-dd hh:ii:ss',
format
:
'yyyy-mm-dd hh:ii:00'
,
autoclose
:
true
,
language
:
'zh-CN'
,
minView
:
0
,
minuteStep
:
30
//hourStep: 1
});
$
(
'.datetimepicker'
).
hide
();
//初始化隐藏时间控件
...
...
@@ -217,6 +219,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
$
(
'#user_area_choose'
).
html
(
''
);
//先清空
if
(
_id
&&
_id
!=
'0'
)
{
user
.
getCityAreaList
(
_id
,
function
(
_data
)
{
// var _str = '';
var
_str
=
'<option value="">区域</option>'
;
$
.
each
(
_data
,
function
(
i
,
item
)
{
_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
_this
.
next
().
html
(
''
);
//先清空
if
(
_id
&&
_id
!=
'0'
)
{
user
.
getDistrictStoreList
(
_id
,
function
(
_data
)
{
// var _str = '';
var
_str
=
'<option value="0">全部</option>'
;
$
.
each
(
_data
,
function
(
i
,
item
)
{
_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
});
//拨打手机号
$
(
document
).
on
(
"click"
,
".user_call"
,
function
()
{
//
if(is_outpace_call_num == '0'){
if
(
is_outpace_call_num
==
'0'
){
user
.
user_Call
();
//
}else{
//
layerTipsX('该客户今日已达拨打上限,请明日再来');
//
}
}
else
{
layerTipsX
(
'该客户今日已达拨打上限,请明日再来'
);
}
});
//没打通手机号
$
(
document
).
on
(
"click"
,
"#unbind_call"
,
function
()
{
...
...
@@ -1618,7 +1622,6 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
params
.
pageNo
=
user
.
pageNo
;
params
.
pageSize
=
user
.
pageSize
;
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
.
area_type
=
$
.
trim
(
$
(
"select[name=area_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
params
.
first_login_end
=
$
.
trim
(
$
(
"#first_login_end"
).
val
());
//添加个人商铺和所有商铺选择功能
if
(
$
(
'#user_city_choose'
).
val
()
==
310100
){
//城市
params
.
city
=
'上海市'
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment