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
ebce1a85
Commit
ebce1a85
authored
Nov 16, 2018
by
xishifeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
拨打电话条件修改
parent
0b0e9f87
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
8 deletions
+11
-8
customerinfo_details_new.html
...ation/app_broker/view/index/customerinfo_details_new.html
+1
-1
customerinfo_details_new.js
public/app/js/customerinfo_details_new.js
+10
-6
public.js
public/appnew/src/assets/js/public.js
+0
-1
No files found.
application/app_broker/view/index/customerinfo_details_new.html
View file @
ebce1a85
...
@@ -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
1
"
></script>
<script
src=
"/app/js/customerinfo_details_new.js?new7
2
"
></script>
</body>
</body>
...
...
public/app/js/customerinfo_details_new.js
View file @
ebce1a85
...
@@ -159,16 +159,20 @@ function loadMain(){
...
@@ -159,16 +159,20 @@ 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
)
||
(
data
[
'data'
][
'examine_vip'
]
==
0
)){
};
//客方与当前用户一致时
//保护期内和是否能拨打没有关系
//或者is_can_look为0时,总监,总监是客方的总监
if
(
data
[
'data'
][
'examine_vip'
]
==
0
){
//或者examine_vip为0时,是否可以查看vip客户 0:可查看 1:不可查看
//或者examine_vip为0时,是否可以查看vip客户 0:可查看 1:不可查看
$
(
'.call-btn-main'
).
show
();
$
(
'.call-btn-main'
).
show
();
}
else
{}
}
else
{
}
else
{
//超过保护期
if
((
data
[
'data'
][
'user_info'
][
'agent_id'
]
==
_userId
)
||
(
data
[
'data'
][
'is_can_look'
]
==
0
)){
//客方与当前用户一致时
//或者is_can_look为0时,总监,总监是客方的总监
$
(
'.call-btn-main'
).
show
();
$
(
'.call-btn-main'
).
show
();
}
}
else
{}
};
$
(
'#call_modal_phone_self'
).
val
(
_userPhone
);
$
(
'#call_modal_phone_self'
).
val
(
_userPhone
);
...
...
public/appnew/src/assets/js/public.js
View file @
ebce1a85
...
@@ -137,7 +137,6 @@ export default {
...
@@ -137,7 +137,6 @@ export default {
duringRequest
(){
duringRequest
(){
//请求发送状态判断
//请求发送状态判断
let
arr
=
[...
arguments
];
//arguments本身不是数组,是一个特殊的对象,后面的调用会使arguments发生变化,所以需要缓存起来
let
arr
=
[...
arguments
];
//arguments本身不是数组,是一个特殊的对象,后面的调用会使arguments发生变化,所以需要缓存起来
console
.
log
(
arr
)
axios
.
interceptors
.
request
.
use
((
config
)
=>
{
axios
.
interceptors
.
request
.
use
((
config
)
=>
{
arr
.
forEach
((
a
,
i
)
=>
{
arr
.
forEach
((
a
,
i
)
=>
{
if
(
~
config
.
url
.
indexOf
(
a
.
urlStr
)){
if
(
~
config
.
url
.
indexOf
(
a
.
urlStr
)){
...
...
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