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
b687e857
Commit
b687e857
authored
Aug 06, 2018
by
xishifeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
客户详情修改
parent
05105079
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
5 deletions
+16
-5
customerinfo_details_new.html
...ation/app_broker/view/index/customerinfo_details_new.html
+2
-2
customerinfo_details_new.css
public/app/css/customerinfo_details_new.css
+5
-0
customerinfo_details_new.js
public/app/js/customerinfo_details_new.js
+9
-3
No files found.
application/app_broker/view/index/customerinfo_details_new.html
View file @
b687e857
...
@@ -157,8 +157,8 @@
...
@@ -157,8 +157,8 @@
</div>
</div>
<script
type=
"text/javascript"
src=
"/app/js/jquery-1122-min.js"
></script>
<script
type=
"text/javascript"
src=
"/app/js/jquery-1122-min.js"
></script>
<script
src=
"/app/js/common.js?new4
1
"
charset=
"utf-8"
></script>
<script
src=
"/app/js/common.js?new4
2
"
charset=
"utf-8"
></script>
<script
src=
"/app/js/customerinfo_details_new.js?new4
8
"
></script>
<script
src=
"/app/js/customerinfo_details_new.js?new4
9
"
></script>
</body>
</body>
...
...
public/app/css/customerinfo_details_new.css
View file @
b687e857
...
@@ -181,6 +181,11 @@ header .icon-link{
...
@@ -181,6 +181,11 @@ header .icon-link{
height
:
100%
;
height
:
100%
;
}
}
/*约带看部分颜色不同*/
.sp-yuedaikan-beizhu-span
{
color
:
#999
;
}
/*基本信息部分*/
/*基本信息部分*/
.sec-info
{
.sec-info
{
font-size
:
.3rem
;
font-size
:
.3rem
;
...
...
public/app/js/customerinfo_details_new.js
View file @
b687e857
...
@@ -58,8 +58,7 @@ function loadMain(){
...
@@ -58,8 +58,7 @@ function loadMain(){
//获取客户基本信息
//获取客户基本信息
$
.
ajax
({
$
.
ajax
({
type
:
'POST'
,
type
:
'POST'
,
url
:
ServerHostTempC
+
'/broker/useraction_search'
,
url
:
'/broker/useraction_search'
,
//url: '/broker/useraction_search',
data
:
{
data
:
{
'AuthToken'
:
_token
,
'AuthToken'
:
_token
,
'user_id'
:
Number
(
_customerId
),
//客户id
'user_id'
:
Number
(
_customerId
),
//客户id
...
@@ -144,6 +143,13 @@ function loadMain(){
...
@@ -144,6 +143,13 @@ function loadMain(){
'7'
:
obj
[
'explain_img'
]?
'<ol class="li-img-list"><li><a href="/app_broker/imagebody?fullUrl='
+
obj
[
'img_path'
]
+
obj
[
'explain_img'
]
+
'"><img src="'
+
obj
[
'img_path'
]
+
obj
[
'explain_img'
]
+
'" /></a></li></ol>'
:
''
'7'
:
obj
[
'explain_img'
]?
'<ol class="li-img-list"><li><a href="/app_broker/imagebody?fullUrl='
+
obj
[
'img_path'
]
+
obj
[
'explain_img'
]
+
'"><img src="'
+
obj
[
'img_path'
]
+
obj
[
'explain_img'
]
+
'" /></a></li></ol>'
:
''
});
});
};
};
//约带看时的特殊处理
function
dealSpYdk
(
obj
){
return
'<p>到场时间:{0}</p><p class="sp-yuedaikan-beizhu-span">备注:{1}</p>'
.
stringFormatObj
({
'0'
:
obj
[
'predict_see_time'
],
'1'
:
obj
[
'intro'
]
});
};
var
_htmlTemp
=
''
;
var
_htmlTemp
=
''
;
if
(
data
[
'data'
][
'user_date'
]
&&
data
[
'data'
][
'user_date'
].
length
>
0
){
if
(
data
[
'data'
][
'user_date'
]
&&
data
[
'data'
][
'user_date'
].
length
>
0
){
$
.
each
(
data
[
'data'
][
'user_date'
],
function
(
i
,
item
)
{
$
.
each
(
data
[
'data'
][
'user_date'
],
function
(
i
,
item
)
{
...
@@ -153,7 +159,7 @@ function loadMain(){
...
@@ -153,7 +159,7 @@ function loadMain(){
'2'
:
item
[
'step_name'
]
==
'phone_fllow_up'
?
'电话跟进:'
:(
item
[
'step_name'
]
==
'fllow_up'
?
'跟进:'
:
''
),
'2'
:
item
[
'step_name'
]
==
'phone_fllow_up'
?
'电话跟进:'
:(
item
[
'step_name'
]
==
'fllow_up'
?
'跟进:'
:
''
),
'3'
:
(
item
[
'create_time'
]
==
null
?
null
:
item
[
'create_time'
]),
'3'
:
(
item
[
'create_time'
]
==
null
?
null
:
item
[
'create_time'
]),
'5'
:
item
[
'step'
],
'5'
:
item
[
'step'
],
'6'
:
item
[
'step_name'
]
==
'follow_up_log'
?
dealSp
(
item
):
''
,
'6'
:
item
[
'step_name'
]
==
'follow_up_log'
?
dealSp
(
item
):
(
item
[
'step_name'
]
==
'report'
?
dealSpYdk
(
item
):
''
)
,
'7'
:
(
item
[
'step_name'
]
==
'report'
||
item
[
'step_name'
]
==
'march_in'
)?
'li-sp-active'
:
''
'7'
:
(
item
[
'step_name'
]
==
'report'
||
item
[
'step_name'
]
==
'march_in'
)?
'li-sp-active'
:
''
});
});
});
});
...
...
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