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
61c801ad
Commit
61c801ad
authored
Aug 07, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
客户列表修改
parent
c973617b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
3 deletions
+19
-3
users_list.html
application/index/view/member/users_list.html
+1
-1
user.js
public/resource/js/user.js
+18
-2
No files found.
application/index/view/member/users_list.html
View file @
61c801ad
...
...
@@ -619,7 +619,7 @@
</button>
<h4
class=
"modal-title text-info detail-modal-header-tab"
>
<a
href=
"javascript:;"
class=
"btn btn-default"
>
客户详情/跟进
</a>
<a
href=
"javascript:;"
class=
"btn btn-info"
>
约带看
</a>
<a
href=
"javascript:;"
class=
"btn btn-info
caozuo-yue
"
>
约带看
</a>
</h4>
<div
class=
"user_up_con"
>
<span
id=
"user_up"
class=
"ld-Marheight text-primary ld-Marheight"
>
上一条客户
</span>
...
...
public/resource/js/user.js
View file @
61c801ad
...
...
@@ -6,6 +6,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'ckfinder', 'ckfinderStart',
pageSize
:
15
,
/*每页显示多少条*/
user_id
:
0
,
user_id_var
:
''
,
user_type
:
''
,
user_phone
:
''
,
urls
:
''
,
...
...
@@ -181,7 +182,11 @@ define(['doT', 'text!temp/user_template_tpl.html', 'ckfinder', 'ckfinderStart',
$
(
document
).
delegate
(
"#modify_add"
,
"click"
,
function
()
{
user
.
modify_add
();
});
$
(
document
).
delegate
(
".caozuo-yue"
,
"click"
,
function
()
{
user
.
Caozuo
();
});
//客户列表操作
$
(
document
).
delegate
(
".caozuo"
,
"click"
,
function
()
{
//点击操作跟进详情
user
.
user_id
=
$
(
this
).
attr
(
"data-id"
);
user
.
user_phone
=
$
(
this
).
attr
(
"data-phone"
);
...
...
@@ -700,8 +705,12 @@ define(['doT', 'text!temp/user_template_tpl.html', 'ckfinder', 'ckfinderStart',
$
(
"select[name=industry_type_two]"
).
val
(
data
.
data
.
user_info
.
industry_type
);
$
(
"input[name=price_demand]"
).
val
(
data
.
data
.
user_info
.
price_demand
*
1
);
$
(
"input[name=area_demand]"
).
val
(
data
.
data
.
user_info
.
area_demand
*
1
);
$
(
"#take_look_name"
).
html
(
data
.
data
.
user_info
.
user_name
);
//约带看姓名
$
(
"#take_look_phone"
).
html
(
data
.
data
.
user_info
.
user_phone
);
//约带看手机号
$
(
"#take_look_id"
).
html
(
data
.
data
.
user_info
.
user_id
);
//约带看id
user
.
agent_id_two
=
data
.
data
.
user_info
.
agent_id
;
if
(
data
.
data
.
user_info
.
source
==
10
)
{
$
(
".source_type"
).
html
(
'APP注册'
);
//客方
}
...
...
@@ -921,6 +930,13 @@ define(['doT', 'text!temp/user_template_tpl.html', 'ckfinder', 'ckfinderStart',
},
dataType
:
'json'
,
success
:
function
(
data
)
{
if
(
data
.
code
==
200
&&
data
.
data
)
{
user
.
user_id
=
data
.
data
.
user_id
;
user
.
Caozuo
();
user
.
getGenjincon
();
}
else
{
alert
(
data
.
msg
)
}
}
});
},
...
...
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