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
0e9d8e21
Commit
0e9d8e21
authored
Mar 22, 2019
by
zw
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'test'
parents
c428b680
07527e0c
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
22 deletions
+4
-22
UserService.php
application/index/service/UserService.php
+1
-19
footer_tpl.html
application/index/view/global/footer_tpl.html
+1
-1
RemarkFollowIndex.js
public/resource/js/RemarkFollowIndex.js
+2
-2
No files found.
application/index/service/UserService.php
View file @
0e9d8e21
...
...
@@ -621,28 +621,10 @@ class UserService
$nuser_info
=
$this
->
user
->
getUserById
(
$field
=
'bind_id'
,
$now_user_id
);
if
(
$nuser_info
[
'bind_id'
]
==
0
){
$this
->
user
->
updateUsers
(
$user_id
,
$params_
);
$this
->
userDoLog
(
$user_id
,
$nuser_info
[
'bind_id'
],
$agent_id
);
}
else
{
$this
->
user
->
updateUsers
(
$now_user_id
,
$params_
);
$this
->
userDoLog
(
$user_id
,
$now_user_id
,
$agent_id
);
}
// 客户bind_id不等于0才能解绑并记录日志
// $user_info = $this->user->getUserById($field = 'bind_id', $user_id);
// if($user_info['bind_id'] == 0){
// $band_count = $this->user->getUserCountByBandId($field = 'id', $user_id);
// if($band_count == 1){
// $params_['bind_id'] = 0;
// $this->user->updateUsers($now_user_id,$params_);
// return 0;
// }
// return 3;
// }else{
// // 解绑操作记录
// $this->userDoLog($user_id,$user_info['bind_id'],$agent_id);
// }
// $this->userDoLog($user_id,$user_info['bind_id'],$agent_id);
$this
->
userDoLog
(
$user_id
,
$now_user_id
,
$agent_id
);
return
0
;
}
...
...
application/index/view/global/footer_tpl.html
View file @
0e9d8e21
<script
src=
'/resource/lib/js/require.min.js'
data-main=
'/resource/js/main?version=2019066688
2
'
charset=
'utf-8'
></script>
<script
src=
'/resource/lib/js/require.min.js'
data-main=
'/resource/js/main?version=2019066688
8
'
charset=
'utf-8'
></script>
public/resource/js/RemarkFollowIndex.js
View file @
0e9d8e21
...
...
@@ -1662,8 +1662,8 @@ define(['doT', 'text!temp/remark_follow_template_tpl.html', 'css!style/home.css'
var
end_time
=
date_end
.
getTime
();
//时间差
var
cha_time
=
end_time
-
start_time
;
if
(
cha_time
>
777600000
){
alert
(
"跟进时间搜索控制在
1
0天以内"
);
if
(
cha_time
>
777600000
*
3
){
alert
(
"跟进时间搜索控制在
3
0天以内"
);
return
;
}
//客户跟进列表 搜索时 防重复提交
...
...
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