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
d5636b49
Commit
d5636b49
authored
Jun 05, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
客户列表修改
parent
2446546c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
27 deletions
+24
-27
users_list.html
application/index/view/member/users_list.html
+13
-9
user.js
public/resource/js/user.js
+11
-18
No files found.
application/index/view/member/users_list.html
View file @
d5636b49
...
...
@@ -21,6 +21,8 @@
height
:
auto
;
padding-bottom
:
15px
;
float
:
left
;
position
:
relative
;
left
:
-40px
;
}
.user-ul2
li
{
list-style
:
none
;
...
...
@@ -315,6 +317,9 @@
<tr>
<td
colspan=
"9"
>
<form
id=
"form1"
>
<span
class=
"fore-span ld-Marheight"
>
产生类型:
</span>
<span
class=
"fore-span ld-Marheight"
id=
"source_type"
></span>
<div
class=
"clear"
></div>
<span
class=
"fore-span ld-Marheight"
>
客户编号:
</span>
<span
class=
"fore-span ld-Marheight"
id=
"cus_id"
></span>
<span
class=
"fore-span ld-Marheight"
>
姓名:
</span>
...
...
@@ -344,6 +349,8 @@
<span
class=
"fore-span ld-Marheight"
>
电话:
</span>
<span
class=
"fore-span ld-Marheight"
id=
"cus_phone"
></span>
<div
class=
"clear"
></div>
<span
class=
"fore-span ld-Marheight"
>
创建时间:
</span>
<span
class=
"fore-span ld-Marheight"
id=
"cus_date"
></span>
<span
class=
"fore-span ld-Marheight"
>
邀请人:
</span>
...
...
@@ -353,21 +360,18 @@
<div
class=
"clear"
></div>
<span
class=
"fore-span ld-Marheight"
>
注册时间:
</span>
<span
class=
"fore-span ld-Marheight"
id=
"registration_time"
></span>
<div
class=
"form-group"
>
<span
class=
"fore-span ld-Marheight"
>
客方:
</span>
<div
class=
"row"
></div>
<div
class=
"form-group"
>
<span
class=
"fore-span "
>
客方:
</span>
<div
class=
"col-sm-9"
>
<input
type=
"text"
class=
"form-control btn6 ld-Marheight"
name=
"pwd"
autocomplete=
"off"
id=
"cus_fang"
>
<ul
class=
"user-ul2"
>
</ul>
<input
type=
"text"
class=
"form-control btn6 "
name=
"pwd"
autocomplete=
"off"
id=
"cus_fang"
>
<ul
class=
"user-ul2"
></ul>
</div>
</div>
</form>
</td>
</tr>
<tr>
<tr
class=
"ld-Marheight"
>
<th
class=
"text-center"
>
跟进内容
</th>
<th
class=
"text-center"
>
跟进人
</th>
<th
class=
"text-center"
>
跟进时间
</th>
...
...
public/resource/js/user.js
View file @
d5636b49
...
...
@@ -232,25 +232,11 @@ 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_id_two
;
params
.
agent_id
=
user
.
agent_id2
;
params
.
sex
=
$
(
"#sex"
).
val
();
params
.
industry_type
=
$
(
"select[name=industry_type_two]"
).
val
();
params
.
price_demand
=
$
(
"input[name=price_demand]"
).
val
();
params
.
area_demand
=
$
(
"input[name=area_demand]"
).
val
();
console
.
log
(
user
.
agent_id_two
);
//参数 必选 类型 说明
//id true int 客户id 查看只输入id并且用get提交
//user_nick true string 客户名字
//user_phone true string 客户手机号
//sex true int 客户性别
//agent_id true int 客方id
//industry_type false string 轻餐饮、重餐饮、百货零售、服装、亲子教育、休闲娱乐
//price_demand false int 价格需求 元
//area_demand false int 面积要求
$
.
ajax
({
'type'
:
'POST'
,
'url'
:
'/index/pcEditClient'
,
...
...
@@ -358,9 +344,16 @@ define (['doT', 'text!temp/user_template_tpl.html','ckfinder','ckfinderStart', '
$
(
"input[name=price_demand]"
).
val
(
data
.
data
.
user_info
.
price_demand
*
1
);
$
(
"input[name=area_demand]"
).
val
(
data
.
data
.
user_info
.
area_demand
*
1
);
user
.
agent_id_two
=
data
.
data
.
user_info
.
agent_id
;
console
.
log
(
data
.
data
.
user_info
.
agent_id
);
console
.
log
(
user
.
agent_id_two
);
console
.
log
(
data
.
data
.
user_info
.
source
);
if
(
data
.
data
.
user_info
.
source
==
10
){
$
(
"#source_type"
).
html
(
'客户c端注册'
);
//客方
}
if
(
data
.
data
.
user_info
.
source
==
20
){
$
(
"#source_type"
).
html
(
'经纪人报备时添加,状态未激'
);
}
if
(
data
.
data
.
user_info
.
source
==
30
){
$
(
"#source_type"
).
html
(
'老数据报备客户'
);
}
var
caozuo_table
=
""
;
$
.
each
(
data
[
'data'
][
'user_history'
],
function
(
i
,
item
)
{
caozuo_table
+=
'<tr><td>'
+
item
.
remark
+
'</td><td>'
+
item
.
name
+
'</td><td>'
+
item
.
create_time
+
'</td></tr>'
;
...
...
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