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
95b162ac
Commit
95b162ac
authored
Nov 15, 2018
by
xishifeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug修改2
parent
e187aabb
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
+5
-3
customerinfo_details_new.html
...ation/app_broker/view/index/customerinfo_details_new.html
+1
-1
common.js
public/app/js/common.js
+1
-0
customerinfo_details_new.js
public/app/js/customerinfo_details_new.js
+3
-2
No files found.
application/app_broker/view/index/customerinfo_details_new.html
View file @
95b162ac
...
@@ -218,7 +218,7 @@
...
@@ -218,7 +218,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?new7
0
"
></script>
<script
src=
"/app/js/customerinfo_details_new.js?new7
1
"
></script>
</body>
</body>
...
...
public/app/js/common.js
View file @
95b162ac
...
@@ -113,6 +113,7 @@ function h5Page(token, fn) {
...
@@ -113,6 +113,7 @@ function h5Page(token, fn) {
//验证C端token
//验证C端token
function
h5PageC
(
token
,
fn
)
{
function
h5PageC
(
token
,
fn
)
{
console
.
log
(
location
.
href
);
$
.
ajax
({
$
.
ajax
({
type
:
"GET"
,
type
:
"GET"
,
url
:
ServerHostTempC
+
"/broker/getAgentsByPhone"
,
url
:
ServerHostTempC
+
"/broker/getAgentsByPhone"
,
...
...
public/app/js/customerinfo_details_new.js
View file @
95b162ac
...
@@ -159,9 +159,10 @@ function loadMain(){
...
@@ -159,9 +159,10 @@ function loadMain(){
if
(
data
[
'data'
][
'is_outstrip_twenty_four_hours'
]
==
0
){
if
(
data
[
'data'
][
'is_outstrip_twenty_four_hours'
]
==
0
){
//在保护期内
//在保护期内
$
(
'#baohuqi_span'
).
show
();
$
(
'#baohuqi_span'
).
show
();
if
((
data
[
'data'
][
'user_info'
][
'agent_id'
]
==
_userId
)
||
(
data
[
'data'
][
'is_can_look'
]
==
0
)){
if
((
data
[
'data'
][
'user_info'
][
'agent_id'
]
==
_userId
)
||
(
data
[
'data'
][
'is_can_look'
]
==
0
)
||
(
data
[
'data'
][
'examine_vip'
]
==
0
)
){
//客方与当前用户一致时
//客方与当前用户一致时
//或者is_can_look为1时,总监,总监是客方的总监
//或者is_can_look为0时,总监,总监是客方的总监
//或者examine_vip为0时,是否可以查看vip客户 0:可查看 1:不可查看
$
(
'.call-btn-main'
).
show
();
$
(
'.call-btn-main'
).
show
();
}
else
{}
}
else
{}
}
else
{
}
else
{
...
...
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