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
3ec4a621
Commit
3ec4a621
authored
Aug 24, 2018
by
xishifeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
客户详情修改
parent
86e31aa7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
53 additions
and
8 deletions
+53
-8
customerinfo_details_new.html
...ation/app_broker/view/index/customerinfo_details_new.html
+22
-5
customerinfo_details_new.css
public/app/css/customerinfo_details_new.css
+5
-0
customerinfo_details_new.js
public/app/js/customerinfo_details_new.js
+26
-3
No files found.
application/app_broker/view/index/customerinfo_details_new.html
View file @
3ec4a621
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
<meta
name=
"Keywords"
content=
""
/>
<meta
name=
"Keywords"
content=
""
/>
<meta
name=
"Description"
content=
""
/>
<meta
name=
"Description"
content=
""
/>
<link
rel=
"stylesheet"
href=
"/app/css/common.css?rev=14ba5c1d4b1452ee5b804c1b98270acc"
>
<link
rel=
"stylesheet"
href=
"/app/css/common.css?rev=14ba5c1d4b1452ee5b804c1b98270acc"
>
<link
href=
"/app/css/customerinfo_details_new.css?new1
0
"
rel=
"stylesheet"
>
<link
href=
"/app/css/customerinfo_details_new.css?new1
1
"
rel=
"stylesheet"
>
<script
src=
"/app/js/vconsole.min.js"
></script>
<script
src=
"/app/js/vconsole.min.js"
></script>
<script>
<script>
if
(
~
location
.
origin
.
indexOf
(
'api.'
))
{
if
(
~
location
.
origin
.
indexOf
(
'api.'
))
{
...
@@ -80,7 +80,8 @@
...
@@ -80,7 +80,8 @@
<!--<p>客户姓名:<span class="edit-btn"><span id="customer_name"></span><img class="edit-icon" src="/app/images/ic_bianji.png" /></span></p>
<!--<p>客户姓名:<span class="edit-btn"><span id="customer_name"></span><img class="edit-icon" src="/app/images/ic_bianji.png" /></span></p>
<p>性别:<span class="edit-btn"><span id="customer_sex"></span><img src="/app/images/boy_ic@2x.png" class="sex-icon" /><img class="edit-icon" src="/app/images/ic_bianji.png" /></span></p>-->
<p>性别:<span class="edit-btn"><span id="customer_sex"></span><img src="/app/images/boy_ic@2x.png" class="sex-icon" /><img class="edit-icon" src="/app/images/ic_bianji.png" /></span></p>-->
<p>
客方:
<span
id=
"kefang"
></span><img
class=
"call-btn call-btn-other"
src=
"/app/images/ic_tel.png"
/></p>
<p>
客方:
<span
id=
"kefang"
></span><img
class=
"call-btn call-btn-other"
src=
"/app/images/ic_tel.png"
/></p>
<p>
邀请人:
<span
id=
"yaoqingren"
></span><img
class=
"call-btn call-btn-other"
src=
"/app/images/ic_tel.png"
/></p>
<p>
是否转介绍:
<span
id=
"zhuanjieshao"
></span></p>
<p>
邀请人(介绍人):
<span
id=
"yaoqingren"
></span><img
class=
"call-btn call-btn-other"
src=
"/app/images/ic_tel.png"
/></p>
<p>
VIP客户(客方和有权限的人才能看到):
<span
id=
"isvip"
></span></p>
<p>
VIP客户(客方和有权限的人才能看到):
<span
id=
"isvip"
></span></p>
<p>
产生类型:
<span
id=
"create_type"
></span></p>
<p>
产生类型:
<span
id=
"create_type"
></span></p>
<p>
创建时间:
<span
id=
"add_time"
></span></p>
<p>
创建时间:
<span
id=
"add_time"
></span></p>
...
@@ -88,8 +89,24 @@
...
@@ -88,8 +89,24 @@
<p>
下载登录时间:
<span
id=
"login_time"
></span></p>
<p>
下载登录时间:
<span
id=
"login_time"
></span></p>
</div>
</div>
<div
class=
"record-main"
>
<div
class=
"record-main"
>
<p>
修改客方日志
</p>
<p>
客方修改日志
</p>
<ul>
<ul
id=
"modify_kefang_ul"
>
<!--<li>
<div>
<p>操作时间</p>
<p>2018-12-12</p>
</div>
<div>
<span class="dot-block"><mark></mark></span>
<p>客方修改为白夫子-13636508977客方修改为白夫子-13636508977</p>
<p>操作人:李青青</p>
</div>
</li>-->
</ul>
</div>
<div
class=
"record-main"
>
<p>
邀请人(介绍人)修改日志
</p>
<ul
id=
"modify_jieshaoren_ul"
>
<!--<li>
<!--<li>
<div>
<div>
<p>操作时间</p>
<p>操作时间</p>
...
@@ -159,7 +176,7 @@
...
@@ -159,7 +176,7 @@
<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?new42"
charset=
"utf-8"
></script>
<script
src=
"/app/js/common.js?new42"
charset=
"utf-8"
></script>
<script
src=
"/app/js/customerinfo_details_new.js?new5
6
"
></script>
<script
src=
"/app/js/customerinfo_details_new.js?new5
7
"
></script>
</body>
</body>
...
...
public/app/css/customerinfo_details_new.css
View file @
3ec4a621
...
@@ -354,6 +354,11 @@ span.dot-block>mark{
...
@@ -354,6 +354,11 @@ span.dot-block>mark{
font-size
:
.26rem
;
font-size
:
.26rem
;
color
:
#999
;
color
:
#999
;
}
}
.sec-info
>
.record-main
>
ul
>
li
>
div
:nth-of-type
(
2
)>
p
:nth-of-type
(
2
)>
span
{
color
:
#FA903F
;
font-size
:
.22rem
;
padding-left
:
1em
;
}
/*底部按钮区域*/
/*底部按钮区域*/
.bottom-btn-area
{
.bottom-btn-area
{
...
...
public/app/js/customerinfo_details_new.js
View file @
3ec4a621
...
@@ -119,7 +119,13 @@ function loadMain(){
...
@@ -119,7 +119,13 @@ function loadMain(){
$
(
'#kefang'
).
attr
(
'data-tel'
,
_kefang_tel
).
next
().
css
(
'display'
,
'inline-block'
);
$
(
'#kefang'
).
attr
(
'data-tel'
,
_kefang_tel
).
next
().
css
(
'display'
,
'inline-block'
);
};
};
$
(
'#yaoqingren'
).
html
(
data
[
'data'
][
'user_info'
][
'referrer_user'
]).
attr
(
'data-tel'
,
data
[
'data'
][
'user_info'
][
'referrer_user'
].
split
(
'-'
)[
1
]);
//邀请人
if
(
data
[
'data'
][
'user_info'
][
'referrer_source'
]
==
10
){
$
(
'#zhuanjieshao'
).
html
(
'是'
);
$
(
'#yaoqingren'
).
html
(
hideTel
(
data
[
'data'
][
'user_info'
][
'referrer_user'
].
split
(
'-'
)[
1
])
+
',客户ID:'
+
data
[
'data'
][
'user_info'
][
'referrer_id'
]).
attr
(
'data-tel'
,
data
[
'data'
][
'user_info'
][
'referrer_user'
].
split
(
'-'
)[
1
]);
//邀请人
}
else
{
$
(
'#zhuanjieshao'
).
html
(
'否'
);
$
(
'#yaoqingren'
).
html
(
data
[
'data'
][
'user_info'
][
'referrer_user'
]).
attr
(
'data-tel'
,
data
[
'data'
][
'user_info'
][
'referrer_user'
].
split
(
'-'
)[
1
]);
//邀请人
}
var
_yaoqingren_tel
=
data
[
'data'
][
'user_info'
][
'referrer_user'
].
split
(
'-'
)[
1
];
var
_yaoqingren_tel
=
data
[
'data'
][
'user_info'
][
'referrer_user'
].
split
(
'-'
)[
1
];
if
(
is_mobile
(
_yaoqingren_tel
)
==
1
){
if
(
is_mobile
(
_yaoqingren_tel
)
==
1
){
$
(
'#yaoqingren'
).
attr
(
'data-tel'
,
_yaoqingren_tel
).
next
().
css
(
'display'
,
'inline-block'
);
$
(
'#yaoqingren'
).
attr
(
'data-tel'
,
_yaoqingren_tel
).
next
().
css
(
'display'
,
'inline-block'
);
...
@@ -271,9 +277,26 @@ function loadMain(){
...
@@ -271,9 +277,26 @@ function loadMain(){
'2'
:
item
[
'name'
]
'2'
:
item
[
'name'
]
});
});
});
});
$
(
'.record-main>ul'
).
html
(
_htmlTemp2
);
$
(
'#modify_kefang_ul'
).
html
(
_htmlTemp2
);
}
else
{
$
(
'#modify_kefang_ul'
).
html
(
'<div id="zanwu_data" class="zanwu_data" style="display: block;">暂无数据...</div>'
);
}
//客方邀请人(介绍人)日志
var
_htmlTemp3
=
''
;
if
(
data
[
'data'
][
'user_invite_history'
].
length
>
0
){
$
.
each
(
data
[
'data'
][
'user_invite_history'
],
function
(
i
,
item
)
{
_htmlTemp3
+=
'<li><div><p>操作时间</p><p>{0}</p></div><div><span class="dot-block"><mark></mark></span><p>{1}</p><p>操作人:{2}{3}</p></div></li>'
.
stringFormatObj
({
'0'
:
item
[
'create_time'
]?
item
[
'create_time'
].
split
(
' '
)[
0
]:
item
[
'create_time'
],
'1'
:
item
[
'remark'
],
'2'
:
item
[
'name'
],
//'3': (item['referrer_source'] == 10)?('<span>客户ID:'+item['referrer_id']+'</span>'):''
'3'
:
''
});
});
$
(
'#modify_jieshaoren_ul'
).
html
(
_htmlTemp3
);
}
else
{
}
else
{
$
(
'
.record-main>
ul'
).
html
(
'<div id="zanwu_data" class="zanwu_data" style="display: block;">暂无数据...</div>'
);
$
(
'
#modify_jieshaoren_
ul'
).
html
(
'<div id="zanwu_data" class="zanwu_data" style="display: block;">暂无数据...</div>'
);
}
}
//点击收藏按钮触发的事件
//点击收藏按钮触发的事件
...
...
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