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
342c76c3
Commit
342c76c3
authored
Sep 18, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
客户列表修改
parent
9f2612c2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
user.js
public/resource/js/user.js
+4
-3
No files found.
public/resource/js/user.js
View file @
342c76c3
...
@@ -41,6 +41,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
...
@@ -41,6 +41,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
agentbaohu
:
''
,
agentbaohu
:
''
,
user_id_new_introduce
:
''
,
user_id_new_introduce
:
''
,
user_id_edit_introduce
:
''
,
user_id_edit_introduce
:
''
,
agent_id_choose
:
''
,
//客户列表 客户姓名搜索 经纪人id
customerInfo
:
{},
customerInfo
:
{},
all_custom
:
true
,
// true :所有客户 ,false :当前客户
all_custom
:
true
,
// true :所有客户 ,false :当前客户
main_select
:
false
,
// true : 开启高级搜索 ,false :关闭高级搜索
main_select
:
false
,
// true : 开启高级搜索 ,false :关闭高级搜索
...
@@ -490,7 +491,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
...
@@ -490,7 +491,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
});
});
$
(
document
).
on
(
"input"
,
"#user_agent_name"
,
function
()
{
//客户列表 客方员工姓名 下拉式搜索
$
(
document
).
on
(
"input"
,
"#user_agent_name"
,
function
()
{
//客户列表 客方员工姓名 下拉式搜索
if
(
$
(
"#user_agent_name"
).
val
()
==
''
)
{
if
(
$
(
"#user_agent_name"
).
val
()
==
''
)
{
user
.
agent_id
=
''
;
user
.
agent_id
_choose
=
''
;
$
(
".user-ul-agent"
).
html
(
''
);
$
(
".user-ul-agent"
).
html
(
''
);
}
else
{
}
else
{
user
.
search_phone_agent
();
user
.
search_phone_agent
();
...
@@ -1065,7 +1066,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
...
@@ -1065,7 +1066,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
var
user_ht
=
$
(
obj
).
html
();
var
user_ht
=
$
(
obj
).
html
();
$
(
"#user_agent_name"
).
val
(
user_ht
);
$
(
"#user_agent_name"
).
val
(
user_ht
);
$
(
".user-ul-agent"
).
html
(
''
);
$
(
".user-ul-agent"
).
html
(
''
);
user
.
agent_id
=
$
(
obj
).
attr
(
"data-id"
);
user
.
agent_id
_choose
=
$
(
obj
).
attr
(
"data-id"
);
},
},
addUserNewLi
:
function
(
obj
)
{
//新增客户 input赋值 搜索客户id
addUserNewLi
:
function
(
obj
)
{
//新增客户 input赋值 搜索客户id
var
user_ht
=
$
(
obj
).
html
();
var
user_ht
=
$
(
obj
).
html
();
...
@@ -1712,7 +1713,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
...
@@ -1712,7 +1713,7 @@ 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_name
=
$
.
trim
(
$
(
"#user_agent_name"
).
val
())
;
params
.
user_agent_name
=
user
.
agent_id_choose
;
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
());
...
...
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