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
4f0edd6c
Commit
4f0edd6c
authored
Apr 09, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
查询经纪人接口修改
parent
3c812db1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
user.js
public/resource/js/user.js
+4
-5
No files found.
public/resource/js/user.js
View file @
4f0edd6c
...
...
@@ -124,8 +124,8 @@ define (['doT', 'text!temp/user_template_tpl.html','ckfinder','ckfinderStart', '
},
search_phone2
:
function
(){
//手机号
$
.
ajax
({
url
:
'/index/
select_by_phone
'
,
type
:
'
POS
T'
,
url
:
'/index/
getBroker_new
'
,
type
:
'
GE
T'
,
async
:
true
,
data
:
{
"phone"
:
$
(
"#cus_fang"
).
val
()
...
...
@@ -135,10 +135,9 @@ define (['doT', 'text!temp/user_template_tpl.html','ckfinder','ckfinderStart', '
if
(
data
.
code
==
200
)
{
var
user_ul2
=
""
;
$
.
each
(
data
.
data
,
function
(
i
,
item
)
{
user_ul2
+=
'<li class="addphone2" data-id="'
+
item
.
id
+
'">'
+
item
.
id
+
'-'
+
item
.
real
name
+
'-'
+
item
.
phone
+
'</li>'
;
user_ul2
+=
'<li class="addphone2" data-id="'
+
item
.
id
+
'">'
+
item
.
id
+
'-'
+
item
.
name
+
'-'
+
item
.
phone
+
'</li>'
;
});
$
(
".user-ul2"
).
html
(
user_ul2
);
}
else
{
alert
(
data
.
msg
);
}
...
...
@@ -151,7 +150,7 @@ define (['doT', 'text!temp/user_template_tpl.html','ckfinder','ckfinderStart', '
params
.
id
=
user
.
user_id
;
params
.
user_nick
=
$
(
"#cus_name"
).
val
();
params
.
user_phone
=
$
(
"#cus_phone"
).
html
()
params
.
agent_id
=
user
.
agent_id2
;
params
.
agent
s
_id
=
user
.
agent_id2
;
params
.
sex
=
$
(
"#sex"
).
val
();
$
.
ajax
({
...
...
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