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
95169379
Commit
95169379
authored
Jan 02, 2019
by
xishifeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
ba60a1f7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
51 additions
and
8 deletions
+51
-8
customerinfo_details_new.html
...ation/app_broker/view/index/customerinfo_details_new.html
+4
-0
customerinfo_details_new.css
public/app/css/customerinfo_details_new.css
+12
-6
customerinfo_details_new.js
public/app/js/customerinfo_details_new.js
+35
-2
No files found.
application/app_broker/view/index/customerinfo_details_new.html
View file @
95169379
...
@@ -77,6 +77,10 @@
...
@@ -77,6 +77,10 @@
</div>
</div>
</div>
</div>
<div
id=
"last_dy_div"
>
<ul></ul>
</div>
<div
class=
"tab-area"
>
<div
class=
"tab-area"
>
<div
class=
"tab-active"
>
客源动态
</div>
<div
class=
"tab-active"
>
客源动态
</div>
<div>
基本信息
</div>
<div>
基本信息
</div>
...
...
public/app/css/customerinfo_details_new.css
View file @
95169379
...
@@ -159,7 +159,8 @@ header .icon-link{
...
@@ -159,7 +159,8 @@ header .icon-link{
padding-bottom
:
1.7rem
;
padding-bottom
:
1.7rem
;
}
}
.sec-dynamic
{}
.sec-dynamic
{}
.sec-dynamic
>
ul
>
li
{
.sec-dynamic
>
ul
>
li
,
#last_dy_div
>
ul
>
li
{
overflow
:
hidden
;
overflow
:
hidden
;
font-size
:
.3rem
;
font-size
:
.3rem
;
padding
:
.35rem
.3rem
;
padding
:
.35rem
.3rem
;
...
@@ -168,10 +169,12 @@ header .icon-link{
...
@@ -168,10 +169,12 @@ header .icon-link{
.sec-dynamic
>
ul
>
li
+
li
{
.sec-dynamic
>
ul
>
li
+
li
{
margin-top
:
.2rem
;
margin-top
:
.2rem
;
}
}
.sec-dynamic
>
ul
>
li
.li-sp-active
{
.sec-dynamic
>
ul
>
li
.li-sp-active
,
#last_dy_div
>
ul
>
li
.li-sp-active
{
background-color
:
#fcba38
;
background-color
:
#fcba38
;
}
}
.sec-dynamic
>
ul
>
li
.li-sp-active-top
{
.sec-dynamic
>
ul
>
li
.li-sp-active-top
,
#last_dy_div
>
ul
>
li
.li-sp-active-top
{
background-color
:
#fcba38
;
background-color
:
#fcba38
;
}
}
...
@@ -183,16 +186,19 @@ header .icon-link{
...
@@ -183,16 +186,19 @@ header .icon-link{
height
:
.37rem
;
height
:
.37rem
;
background
:
url(/app/images/icon_dynamic@2x.png)
no-repeat
center
center
/
1.31rem
.37rem
;
background
:
url(/app/images/icon_dynamic@2x.png)
no-repeat
center
center
/
1.31rem
.37rem
;
}
}
.sec-dynamic
>
ul
>
li
{
.sec-dynamic
>
ul
>
li
,
#last_dy_div
>
ul
>
li
{
position
:
relative
;
position
:
relative
;
}
}
.li-top
{
.li-top
{
overflow
:
hidden
;
overflow
:
hidden
;
}
}
.sec-dynamic
>
ul
>
li
>
.li-top
>
div
{
.sec-dynamic
>
ul
>
li
>
.li-top
>
div
,
#last_dy_div
>
ul
>
li
>
.li-top
>
div
{
float
:
left
;
float
:
left
;
}
}
.sec-dynamic
>
ul
>
li
>
.li-top
>
div
.li-top-right
{
.sec-dynamic
>
ul
>
li
>
.li-top
>
div
.li-top-right
,
#last_dy_div
>
ul
>
li
>
.li-top
>
div
.li-top-right
{
/*width: 6.05rem;*/
/*width: 6.05rem;*/
width
:
5.7rem
;
width
:
5.7rem
;
}
}
...
...
public/app/js/customerinfo_details_new.js
View file @
95169379
...
@@ -335,7 +335,7 @@ function loadMain(){
...
@@ -335,7 +335,7 @@ function loadMain(){
});
});
if
(
_tempArr
.
length
>
0
){
if
(
_tempArr
.
length
>
0
){
_htmlTemp
+=
'<li class="{7}"><div class="li-top"><div class="li-top-left"><img src="{0}" onerror="javascript:this.src=
\'
/app/images/ic_default_headpic.png
\'
" /></div><div class="li-top-right"><div class="li-top-right-header"><div>{1}</div><div>{3}</div></div><p>{2}{5}</p>{6}</div></div><div class="first-sec-active"></div></li>'
.
stringFormatObj
({
$
(
'#last_dy_div>ul'
).
html
(
'<li class="{7}"><div class="li-top"><div class="li-top-left"><img src="{0}" onerror="javascript:this.src=
\'
/app/images/ic_default_headpic.png
\'
" /></div><div class="li-top-right"><div class="li-top-right-header"><div>{1}</div><div>{3}</div></div><p>{2}{5}</p>{6}</div></div><div class="first-sec-active"></div></li>'
.
stringFormatObj
({
'0'
:
data
[
'data'
][
'agent_path'
]
+
_tempArr
[
0
][
'img'
],
'0'
:
data
[
'data'
][
'agent_path'
]
+
_tempArr
[
0
][
'img'
],
'1'
:
_tempArr
[
0
][
'name'
],
'1'
:
_tempArr
[
0
][
'name'
],
'2'
:
_tempArr
[
0
][
'step_name'
]
==
'phone_fllow_up'
?
'电话跟进:'
:(
_tempArr
[
0
][
'step_name'
]
==
'fllow_up'
?
'跟进:'
:
''
),
'2'
:
_tempArr
[
0
][
'step_name'
]
==
'phone_fllow_up'
?
'电话跟进:'
:(
_tempArr
[
0
][
'step_name'
]
==
'fllow_up'
?
'跟进:'
:
''
),
...
@@ -343,7 +343,7 @@ function loadMain(){
...
@@ -343,7 +343,7 @@ function loadMain(){
'5'
:
_tempArr
[
0
][
'step'
],
'5'
:
_tempArr
[
0
][
'step'
],
'6'
:
_tempArr
[
0
][
'step_name'
]
==
'follow_up_log'
?
dealSp
(
_tempArr
[
0
]):(
_tempArr
[
0
][
'step_name'
]
==
'report'
?
dealSpYdk
(
_tempArr
[
0
]):
''
),
'6'
:
_tempArr
[
0
][
'step_name'
]
==
'follow_up_log'
?
dealSp
(
_tempArr
[
0
]):(
_tempArr
[
0
][
'step_name'
]
==
'report'
?
dealSpYdk
(
_tempArr
[
0
]):
''
),
'7'
:
'li-sp-active-top'
'7'
:
'li-sp-active-top'
});
})
)
;
};
};
$
.
each
(
data
[
'data'
][
'user_date'
],
function
(
i
,
item
)
{
$
.
each
(
data
[
'data'
][
'user_date'
],
function
(
i
,
item
)
{
...
@@ -490,6 +490,39 @@ function loadMain(){
...
@@ -490,6 +490,39 @@ function loadMain(){
}
}
});
});
//获取跟进信息
_userId
&&
$
.
ajax
({
type
:
'get'
,
url
:
'/broker/followUpLog'
,
data
:
{
'AuthToken'
:
_token
},
timeout
:
30000
,
dataType
:
'json'
,
beforeSend
:
function
()
{},
success
:
function
(
data
)
{
if
(
typeof
data
===
'object'
)
{
if
(
data
.
code
==
200
)
{
}
else
{
layerTipsX
(
data
[
'msg'
]);
};
}
else
{
layerTipsX
(
'数据错误'
);
};
},
error
:
function
()
{
layerTipsX
(
'error'
);
},
complete
:
function
(
xhr
,
textStatus
){
if
(
textStatus
===
'timeout'
){
layerTipsX
(
'请求超时'
);
};
}
});
//获取跟进标签列表信息
//获取跟进标签列表信息
_userId
&&
$
.
ajax
({
_userId
&&
$
.
ajax
({
type
:
'GET'
,
type
:
'GET'
,
...
...
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