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
cea6e51b
Commit
cea6e51b
authored
Aug 06, 2018
by
clone
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'test'
parents
9c1a8c43
586991fd
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
61 additions
and
28 deletions
+61
-28
BrokerService.php
application/api_broker/service/BrokerService.php
+13
-6
OrderLogService.php
application/api_broker/service/OrderLogService.php
+3
-3
PushMessageService.php
application/api_broker/service/PushMessageService.php
+4
-2
PlsDemo.php
application/api_broker/untils/PlsDemo.php
+1
-1
customerinfo_details_new.html
...ation/app_broker/view/index/customerinfo_details_new.html
+2
-2
CellPhone.php
application/index/controller/CellPhone.php
+1
-1
Login.php
application/index/controller/Login.php
+3
-3
Basic.php
application/index/extend/Basic.php
+1
-1
ABindingDevice.php
application/model/ABindingDevice.php
+5
-2
GHouses.php
application/model/GHouses.php
+7
-0
SecretReport.php
application/model/SecretReport.php
+3
-1
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
login.js
public/resource/js/login.js
+2
-1
callPhone_template_tpl.html
public/resource/template/callPhone_template_tpl.html
+2
-2
No files found.
application/api_broker/service/BrokerService.php
View file @
cea6e51b
...
@@ -50,19 +50,26 @@ class BrokerService
...
@@ -50,19 +50,26 @@ class BrokerService
}
}
$is_exits
=
false
;
$is_exits
=
false
;
foreach
(
$result
as
$item
)
{
foreach
(
$result
as
$item
)
{
if
(
$device_id
==
$item
[
"device_id"
])
{
//todo 1.判断ip是否相同$device_id字段,2.ip不同则判断push_id是否相同,相同更新ip,3.ip相同则判断push_id是否相同,
//当个推返回的id改变时则更新记录
if
(
$model
==
$item
[
"model"
]
&&
!
empty
(
$push_id
)
&&
if
(
!
empty
(
$push_id
)
&&
$push_id
!=
$item
[
"push_id"
])
{
((
$device_id
!=
$item
[
"device_id"
]
&&
$push_id
==
$item
[
"push_id"
])
||
$this
->
aBD
->
updateDevice
([
"id"
=>
$item
[
"id"
],
"push_id"
=>
$push_id
]);
(
$device_id
==
$item
[
"device_id"
]
&&
$push_id
!=
$item
[
"push_id"
]))
}
)
{
$this
->
aBD
->
updateDevice
([
"id"
=>
$item
[
"id"
],
"push_id"
=>
$push_id
,
"device_id"
=>
$device_id
]);
return
true
;
}
if
(
$device_id
==
$item
[
"device_id"
]
&&
$push_id
==
$item
[
"push_id"
]){
if
(
$item
[
"is_forbidden"
]
==
0
)
{
if
(
$item
[
"is_forbidden"
]
==
0
)
{
return
true
;
return
true
;
}
elseif
(
$item
[
"is_forbidden"
]
==
1
)
{
//已存在申请关系
}
elseif
(
$item
[
"is_forbidden"
]
==
1
)
{
//已存在申请关系
$is_exits
=
true
;
$is_exits
=
true
;
}
}
}
}
}
}
if
(
!
$is_exits
&&
$type
==
0
)
if
(
!
$is_exits
&&
$type
==
0
)
//新增申请绑定关系,需要后台同意登陆
//新增申请绑定关系,需要后台同意登陆
$this
->
aBD
->
addDevice
([
"device_id"
=>
$device_id
,
$this
->
aBD
->
addDevice
([
"device_id"
=>
$device_id
,
...
...
application/api_broker/service/OrderLogService.php
View file @
cea6e51b
...
@@ -696,7 +696,7 @@ class OrderLogService
...
@@ -696,7 +696,7 @@ class OrderLogService
}
}
}
}
$field_report
=
"a.id,a.create_time,b.id as order_id,b.house_title,c.id as agent_id,c.name,c.img,d.store_name"
;
$field_report
=
"a.id,a.create_time,
a.predict_see_time,a.intro,
b.id as order_id,b.house_title,c.id as agent_id,c.name,c.img,d.store_name"
;
$reportData
=
$oReportModel
->
selectReportByUserId
(
$field_report
,
[
"user_id"
=>
$user_id
]);
$reportData
=
$oReportModel
->
selectReportByUserId
(
$field_report
,
[
"user_id"
=>
$user_id
]);
if
(
count
(
$result
)
<=
0
&&
count
(
$reportData
)
<=
0
)
{
if
(
count
(
$result
)
<=
0
&&
count
(
$reportData
)
<=
0
)
{
...
@@ -1149,7 +1149,7 @@ class OrderLogService
...
@@ -1149,7 +1149,7 @@ class OrderLogService
return
$cent_commissions
;
return
$cent_commissions
;
}
else
{
}
else
{
$item
=
$params
[
0
];
$item
=
$params
[
0
];
$
agent_id
=
$params
[
0
][
"agent_id
"
];
$
role
=
!
empty
(
$params
[
0
][
"role"
])
?
$params
[
0
][
"role"
]
:
$params
[
0
][
"roles
"
];
$cent_commission
[
"id"
]
=
$item
[
"id"
];
$cent_commission
[
"id"
]
=
$item
[
"id"
];
$cent_commission
[
"agent_id"
]
=
$item
[
"agent_id"
];
$cent_commission
[
"agent_id"
]
=
$item
[
"agent_id"
];
...
@@ -1164,7 +1164,7 @@ class OrderLogService
...
@@ -1164,7 +1164,7 @@ class OrderLogService
$length
=
count
(
$params
);
$length
=
count
(
$params
);
for
(
$j
=
0
;
$j
<
$length
;
$j
++
)
{
for
(
$j
=
0
;
$j
<
$length
;
$j
++
)
{
$value
=
$params
[
$j
];
$value
=
$params
[
$j
];
if
(
$value
[
"
agent_id"
]
==
$agent_id
)
{
if
(
$value
[
"
role"
]
==
$role
||
$value
[
"roles"
]
==
$role
)
{
$arr
[
"real_fee"
]
=
$value
[
"real_fee"
];
$arr
[
"real_fee"
]
=
$value
[
"real_fee"
];
$arr
[
"create_time"
]
=
$value
[
"create_time"
];
$arr
[
"create_time"
]
=
$value
[
"create_time"
];
$arr
[
"confirm_date"
]
=
$value
[
"confirm_date"
];
$arr
[
"confirm_date"
]
=
$value
[
"confirm_date"
];
...
...
application/api_broker/service/PushMessageService.php
View file @
cea6e51b
...
@@ -222,12 +222,14 @@ class PushMessageService
...
@@ -222,12 +222,14 @@ class PushMessageService
/**
/**
* @param $id
* @param $id
* @param $device_id
* @param $title
* @param $title
* @param $content
* @param $content
* @param null $type
* @param null $type
* @param null $user_id
* @param null $user_id
* @return bool
* @return bool
* @throws \think\db\exception\DataNotFoundException
* @throws \think\db\exception\ModelNotFoundException
* @throws \think\exception\DbException
*/
*/
public
function
pushAgentAllDeviceId
(
$id
,
$title
,
$content
,
$type
=
null
,
$user_id
=
null
)
public
function
pushAgentAllDeviceId
(
$id
,
$title
,
$content
,
$type
=
null
,
$user_id
=
null
)
{
{
...
@@ -236,7 +238,7 @@ class PushMessageService
...
@@ -236,7 +238,7 @@ class PushMessageService
}
}
$m_agent_device
=
new
ABindingDevice
();
$m_agent_device
=
new
ABindingDevice
();
$device_id_array
=
$m_agent_device
->
getDeviceByAgentId
([
'agent_id'
=>
$id
],
'id,push_id'
);
$device_id_array
=
$m_agent_device
->
getDeviceByAgentId
([
'agent_id'
=>
$id
,
'is_forbidden'
=>
0
],
'id,push_id'
);
if
(
!
empty
(
$device_id_array
))
{
if
(
!
empty
(
$device_id_array
))
{
foreach
(
$device_id_array
as
$k
=>
$v
)
{
foreach
(
$device_id_array
as
$k
=>
$v
)
{
...
...
application/api_broker/untils/PlsDemo.php
View file @
cea6e51b
...
@@ -98,7 +98,7 @@ class PlsDemo
...
@@ -98,7 +98,7 @@ class PlsDemo
$request
->
setPhoneNoX
(
$phoneNoX
);
$request
->
setPhoneNoX
(
$phoneNoX
);
//可选:期望分配X号码归属的地市(省去地市后缀后的城市名称)
//可选:期望分配X号码归属的地市(省去地市后缀后的城市名称)
$request
->
setExpectCity
(
"
北京
"
);
$request
->
setExpectCity
(
""
);
//必填:绑定关系对应的失效时间-不能早于当前系统时间
//必填:绑定关系对应的失效时间-不能早于当前系统时间
$request
->
setExpiration
(
$time
);
$request
->
setExpiration
(
$time
);
...
...
application/app_broker/view/index/customerinfo_details_new.html
View file @
cea6e51b
...
@@ -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>
...
...
application/index/controller/CellPhone.php
View file @
cea6e51b
...
@@ -39,7 +39,7 @@ class CellPhone extends Basic
...
@@ -39,7 +39,7 @@ class CellPhone extends Basic
$pageSize
=
empty
(
$this
->
params
[
'pageSize'
])
?
10
:
$this
->
params
[
'pageSize'
];
$pageSize
=
empty
(
$this
->
params
[
'pageSize'
])
?
10
:
$this
->
params
[
'pageSize'
];
$report
=
new
SecretReport
();
$report
=
new
SecretReport
();
$field
=
'agents_id,users_id,call_type,call_time,time,voice_file,
user_status,a.id,a.create_time,type,secret_no
'
;
$field
=
'agents_id,users_id,call_type,call_time,time,voice_file,
c.user_status,a.id,a.create_time,a.type,secret_no,d.content
'
;
$where
=
[];
$where
=
[];
if
(
!
empty
(
$this
->
params
[
'start_date'
]))
{
if
(
!
empty
(
$this
->
params
[
'start_date'
]))
{
...
...
application/index/controller/Login.php
View file @
cea6e51b
...
@@ -80,13 +80,13 @@ class Login extends Basic
...
@@ -80,13 +80,13 @@ class Login extends Basic
}
}
$last_login_ip
=
ip2long
(
$this
->
request
->
ip
());
$last_login_ip
=
ip2long
(
$this
->
request
->
ip
());
/*
if ($user_data['id'] != 1) {
if
(
$user_data
[
'id'
]
!=
1
)
{
//判断设备id是否存在
//判断设备id是否存在
$is_login = $this->brokerService->judgeBand($
only_id, $user_data['id'], $model, 0, $user_data['phone']
, 1);
$is_login
=
$this
->
brokerService
->
judgeBand
(
$
last_login_ip
,
$user_data
[
'id'
],
$model
,
0
,
$only_id
,
1
);
if
(
!
$is_login
)
{
if
(
!
$is_login
)
{
return
$this
->
response
(
"102"
,
"该账号没有绑定该设备的浏览器,请致电财务徐伟洋进行绑定。"
);
return
$this
->
response
(
"102"
,
"该账号没有绑定该设备的浏览器,请致电财务徐伟洋进行绑定。"
);
}
}
}
*/
}
$where_rule
[
'status'
]
=
0
;
$where_rule
[
'status'
]
=
0
;
if
(
$user_data
[
'id'
]
==
1
)
{
if
(
$user_data
[
'id'
]
==
1
)
{
...
...
application/index/extend/Basic.php
View file @
cea6e51b
...
@@ -191,7 +191,7 @@ class Basic extends Controller
...
@@ -191,7 +191,7 @@ class Basic extends Controller
$time
=
time
();
$time
=
time
();
//登录有效期为2小时
//登录有效期为2小时
if
((
$time
-
$this
->
lastLoginTime
)
>
72
00
)
{
if
((
$time
-
$this
->
lastLoginTime
)
>
360
00
)
{
$this
->
redirect
(
'/index/login'
);
$this
->
redirect
(
'/index/login'
);
}
else
{
}
else
{
//更新时间
//更新时间
...
...
application/model/ABindingDevice.php
View file @
cea6e51b
...
@@ -58,14 +58,17 @@ class ABindingDevice extends BaseModel
...
@@ -58,14 +58,17 @@ class ABindingDevice extends BaseModel
}
}
}
}
/**
/**
* 根据经纪人id获取绑定过的设备id
* 根据经纪人id获取绑定过的设备id
*
* @param array $params
* @param array $params
* @param string $field
* @param string $field
* @return false|\PDOStatement|string|\think\Collection
* @return false|\PDOStatement|string|\think\Collection
* @throws \think\db\exception\DataNotFoundException
* @throws \think\db\exception\ModelNotFoundException
* @throws \think\exception\DbException
*/
*/
public
function
getDeviceByAgentId
(
array
$params
,
string
$field
=
"id,agent_id,device_id,is_forbidden,push_id,is_pc"
)
public
function
getDeviceByAgentId
(
array
$params
,
string
$field
=
"id,agent_id,device_id,is_forbidden,
model,
push_id,is_pc"
)
{
{
$where_
=
[];
$where_
=
[];
if
(
isset
(
$params
[
"agent_id"
]))
{
if
(
isset
(
$params
[
"agent_id"
]))
{
...
...
application/model/GHouses.php
View file @
cea6e51b
...
@@ -113,6 +113,13 @@ class GHouses extends BaseModel
...
@@ -113,6 +113,13 @@ class GHouses extends BaseModel
$data
[
'landlord_phone'
]
=
empty
(
$data
[
'landlord_phone'
])
?
""
:
$data
[
'landlord_phone'
];
$data
[
'landlord_phone'
]
=
empty
(
$data
[
'landlord_phone'
])
?
""
:
$data
[
'landlord_phone'
];
$data
[
'internal_item_advantage'
]
=
empty
(
$data
[
'internal_item_advantage'
])
?
""
:
$data
[
'internal_item_advantage'
];
$data
[
'internal_item_advantage'
]
=
empty
(
$data
[
'internal_item_advantage'
])
?
""
:
$data
[
'internal_item_advantage'
];
$data
[
'fee_rule'
]
=
empty
(
$data
[
'fee_rule'
])
?
""
:
$data
[
'fee_rule'
];
$data
[
'fee_rule'
]
=
empty
(
$data
[
'fee_rule'
])
?
""
:
$data
[
'fee_rule'
];
$data
[
'opening_date'
]
=
empty
(
$data
[
'opening_date'
])
?
''
:
$data
[
'opening_date'
];
$data
[
'operation_id'
]
=
empty
(
$data
[
'operation_id'
])
?
''
:
$data
[
'operation_id'
];
$data
[
'payment_month'
]
=
empty
(
$data
[
'payment_month'
])
?
''
:
$data
[
'payment_month'
];
$data
[
'city_code'
]
=
empty
(
$data
[
'city_code'
])
?
""
:
$data
[
'city_code'
];
$data
[
'disc_code'
]
=
empty
(
$data
[
'disc_code'
])
?
""
:
$data
[
'disc_code'
];
$data
[
'deposit_month'
]
=
empty
(
$data
[
'deposit_month'
])
?
''
:
$data
[
'deposit_month'
];
if
(
$app
==
0
)
{
if
(
$app
==
0
)
{
foreach
(
$img_data
as
$k
=>
$v
)
{
foreach
(
$img_data
as
$k
=>
$v
)
{
switch
(
$v
->
img_type
)
{
switch
(
$v
->
img_type
)
{
...
...
application/model/SecretReport.php
View file @
cea6e51b
...
@@ -28,6 +28,7 @@ class SecretReport extends BaseModel
...
@@ -28,6 +28,7 @@ class SecretReport extends BaseModel
$data
=
$this
->
field
(
$field
)
->
alias
(
'a'
)
$data
=
$this
->
field
(
$field
)
->
alias
(
'a'
)
->
join
(
'a_agents b'
,
'a.agents_id=b.id'
,
'left'
)
->
join
(
'a_agents b'
,
'a.agents_id=b.id'
,
'left'
)
->
join
(
'u_users c'
,
'a.users_id=c.id'
,
'left'
)
->
join
(
'u_users c'
,
'a.users_id=c.id'
,
'left'
)
->
join
(
'u_phone_follow_up d'
,
'd.user_id=c.id'
,
'left'
)
->
where
(
$params
)
->
where
(
$params
)
->
order
(
$order_
)
->
order
(
$order_
)
->
limit
(
$pageSize
)
->
limit
(
$pageSize
)
...
@@ -53,7 +54,7 @@ class SecretReport extends BaseModel
...
@@ -53,7 +54,7 @@ class SecretReport extends BaseModel
$user_data
=
Db
::
table
(
'u_users'
)
->
field
(
'user_name,user_phone'
)
->
where
(
'id'
,
$v
->
users_id
)
->
find
();
$user_data
=
Db
::
table
(
'u_users'
)
->
field
(
'user_name,user_phone'
)
->
where
(
'id'
,
$v
->
users_id
)
->
find
();
$user_data
[
'user_name'
]
=
empty
(
$user_data
[
'user_name'
])
?
'?.?'
:
$user_data
[
'user_name'
];
$user_data
[
'user_name'
]
=
empty
(
$user_data
[
'user_name'
])
?
'?.?'
:
$user_data
[
'user_name'
];
$result
[
$k
][
'user_name'
]
=
$user_data
[
'user_name'
]
.
'-'
.
hide_customer_phone
(
$user_data
[
'user_phone'
]);
$result
[
$k
][
'user_name'
]
=
$user_data
[
'user_name'
]
.
'-'
.
hide_customer_phone
(
$user_data
[
'user_phone'
]);
$result
[
$k
][
'follow_up'
]
=
Db
::
table
(
'u_phone_follow_up'
)
->
where
(
'user_id'
,
$v
->
users_id
)
->
order
(
'id DESC'
)
->
value
(
'content'
);
//
$result[$k]['follow_up'] = Db::table('u_phone_follow_up')->where('user_id',$v->users_id)->order('id DESC')->value('content');
}
else
{
}
else
{
$result
[
$k
][
'user_nick'
]
=
""
;
$result
[
$k
][
'user_nick'
]
=
""
;
$result
[
$k
][
'follow_up'
]
=
""
;
$result
[
$k
][
'follow_up'
]
=
""
;
...
@@ -101,6 +102,7 @@ class SecretReport extends BaseModel
...
@@ -101,6 +102,7 @@ class SecretReport extends BaseModel
return
$this
->
alias
(
'a'
)
return
$this
->
alias
(
'a'
)
->
join
(
'a_agents b'
,
'a.agents_id=b.id'
,
'left'
)
->
join
(
'a_agents b'
,
'a.agents_id=b.id'
,
'left'
)
->
join
(
'u_users c'
,
'a.users_id=c.id'
,
'left'
)
->
join
(
'u_users c'
,
'a.users_id=c.id'
,
'left'
)
->
join
(
'u_phone_follow_up d'
,
'd.user_id=c.id'
,
'left'
)
->
where
(
$params
)
->
where
(
$params
)
->
count
();
->
count
();
}
}
...
...
public/app/css/customerinfo_details_new.css
View file @
cea6e51b
...
@@ -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 @
cea6e51b
...
@@ -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'
:
''
});
});
});
});
...
...
public/resource/js/login.js
View file @
cea6e51b
...
@@ -99,7 +99,8 @@ $(function() {
...
@@ -99,7 +99,8 @@ $(function() {
only_id
=
result
;
only_id
=
result
;
//result即为获取到的浏览器指纹值
//result即为获取到的浏览器指纹值
var
browser_version
=
NV
.
shell
+
'/'
+
NV
.
version
;
// var browser_version = NV.shell + '/' + NV.version;获取浏览器的类型 及 浏览器版本
var
browser_version
=
NV
.
shell
;
//获取浏览器的类型
console
.
log
(
browser_version
);
console
.
log
(
browser_version
);
$
.
ajax
({
$
.
ajax
({
type
:
'POST'
,
type
:
'POST'
,
...
...
public/resource/template/callPhone_template_tpl.html
View file @
cea6e51b
...
@@ -30,8 +30,8 @@
...
@@ -30,8 +30,8 @@
<
td
>
[
%=
it
[
item
][
'time'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'time'
]
%
]
<
/td
>
<!--<
td
>
[
%=
it
[
item
][
'price'
]
%
]
<
/td>--
>
<!--<
td
>
[
%=
it
[
item
][
'price'
]
%
]
<
/td>--
>
<
td
>
<
td
>
[
%
if
(
it
[
item
][
'
follow_up
'
]
!=
null
)
{
%
]
[
%
if
(
it
[
item
][
'
content
'
]
!=
null
)
{
%
]
[
%=
it
[
item
][
'
follow_up
'
]
%
]
[
%=
it
[
item
][
'
content
'
]
%
]
[
%
}
%
]
[
%
}
%
]
[
%
if
(
it
[
item
][
'user_status'
]
==
0
)
{
%
]
[
%
if
(
it
[
item
][
'user_status'
]
==
0
)
{
%
]
...
...
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