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
27e51ee1
Commit
27e51ee1
authored
Mar 13, 2019
by
zw
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'test'
parents
23384326
20ddbad2
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
11 additions
and
7 deletions
+11
-7
CellPhone.php
application/index/controller/CellPhone.php
+1
-1
Finance.php
application/index/controller/Finance.php
+3
-1
PerformanceReport.php
application/index/controller/PerformanceReport.php
+2
-2
footer_tpl.html
application/index/view/global/footer_tpl.html
+1
-1
callPhone_template_tpl.html
public/resource/template/callPhone_template_tpl.html
+2
-1
my_collection_user_template_tpl.html
...ic/resource/template/my_collection_user_template_tpl.html
+2
-1
No files found.
application/index/controller/CellPhone.php
View file @
27e51ee1
...
...
@@ -95,7 +95,7 @@ class CellPhone extends Basic
$where
[
'a.id'
]
=
$this
->
params
[
'id'
];
}
$list
=
$report
->
getCallList
(
$pageNo
,
$pageSize
,
'
id desc
'
,
$field
,
$where
);
$list
=
$report
->
getCallList
(
$pageNo
,
$pageSize
,
''
,
$field
,
$where
);
$m_user
=
new
Users
();
$m_phone_follow
=
new
UPhoneFollowUp
(
$this
->
siteId
);
if
(
$this
->
params
[
'end_date'
]
>=
date
(
'Y-m-d'
,
time
())){
...
...
application/index/controller/Finance.php
View file @
27e51ee1
...
...
@@ -2620,6 +2620,8 @@ class Finance extends Basic
if
(
$v
[
'source'
]
==
2
)
{
$source_id
=
$m_pay_adjustment
->
getFieldColumn
(
'id'
,
[
'new_paylog_id'
=>
$v
[
'id'
],
'is_del'
=>
0
]);
$list
[
$k
][
'source_id'
]
=
empty
(
$source_id
)
?
0
:
implode
(
','
,
$source_id
);
$adjustment_id
=
$m_pay_adjustment
->
getFieldColumn
(
'id'
,
[
'paylog_id'
=>
$v
[
'id'
],
'is_del'
=>
0
]);
$list
[
$k
][
'is_adjustment'
]
=
$adjustment_id
?
1
:
0
;
}
else
{
$source_id
=
$m_pay_adjustment
->
getFieldColumn
(
'id'
,
[
'paylog_id'
=>
$v
[
'id'
],
'is_del'
=>
0
]);
$list
[
$k
][
'source_id'
]
=
empty
(
$source_id
)
?
0
:
implode
(
','
,
$source_id
);
...
...
@@ -3500,7 +3502,7 @@ class Finance extends Basic
$where
[
'paylog_id'
]
=
$new_paylog_id
;
$pay_log_id
=
$m_pay_adjustment
->
getFieldColumn
(
'paylog_id'
,
$where
);
if
(
count
(
$pay_log_id
)
>
1
)
{
if
(
count
(
$pay_log_id
)
>
0
)
{
return
$this
->
response
(
$code
,
'存在调整,不能删除.'
);
}
...
...
application/index/controller/PerformanceReport.php
View file @
27e51ee1
...
...
@@ -74,7 +74,7 @@ class PerformanceReport extends Basic
$order
=
"RAgentReport.create_time desc"
;
$res
=
$this
->
rAgentReport
->
getPerformanceReportList
(
$pageNo
,
$pageSize
,
$field
,
$get_params
,
$order
);
$res_total
=
$this
->
rAgentReport
->
getPerformanceReportListTotal
(
$field
,
$get_params
,
$order
);
//
$res_total = $this->rAgentReport->getPerformanceReportListTotal($field,$get_params,$order);
foreach
(
$res
as
$key
=>
$val
)
{
$url
=
'static/week_work_img/'
.
$val
[
'img_url'
];
...
...
@@ -82,7 +82,7 @@ class PerformanceReport extends Basic
}
$data
[
'list'
]
=
$res
;
$data
[
'total'
]
=
$res_total
;
$data
[
'total'
]
=
40000
;
return
$this
->
response
(
"200"
,
"成功"
,
$data
);
}
...
...
application/index/view/global/footer_tpl.html
View file @
27e51ee1
<script
src=
'/resource/lib/js/require.min.js'
data-main=
'/resource/js/main?version=201906668
9
'
charset=
'utf-8'
></script>
<script
src=
'/resource/lib/js/require.min.js'
data-main=
'/resource/js/main?version=201906668
2
'
charset=
'utf-8'
></script>
public/resource/template/callPhone_template_tpl.html
View file @
27e51ee1
<script
id=
"callPhone_list_tpl"
type=
"text/template"
>
[
%
var
delName
=
function
(
s
){
delete
s
.
user_name
;
delete
s
.
user_nick
;
return
s
};
%
]
[
%
if
(
it
[
0
])
{
%
]
[
%
for
(
var
item
in
it
){
%
]
<
tr
class
=
"text-center"
>
...
...
@@ -59,7 +60,7 @@
<
td
width
=
"16%"
>
[
%
if
((
check_auth
(
'auth_vip'
)
&&
it
[
item
][
'vip'
])
||
(
it
[
item
][
'agent_id'
]
==
0
)
||
(
it
[
item
][
'agent_id'
]
==
it
[
item
][
'current_agent_id'
])
||
(
check_auth
(
'index/useraction_search'
)
&&
it
[
item
][
'vip'
]
==
0
))
{
%
]
<
a
class
=
"btn1 caozuo genj_ure btn-success"
href
=
"#modal-record"
data
-
toggle
=
"modal"
data
-
phone
=
'[%= it[item]["user_phone"] %]'
data
-
id
=
'[%= it[item]["user_id"] %]'
data
-
agentId
=
'[%= it[item]["agent_id"] %]'
data
-
name
=
'[%= it[item]["user_name"] %]'
>
详情
/
跟进
<
/a><p style="display: none;">
[
%= JSON.stringify(
it[item
]
)
%]</
p
>&
nbsp
;
<
a
class
=
"btn1 caozuo genj_ure btn-success"
href
=
"#modal-record"
data
-
toggle
=
"modal"
data
-
phone
=
'[%= it[item]["user_phone"] %]'
data
-
id
=
'[%= it[item]["user_id"] %]'
data
-
agentId
=
'[%= it[item]["agent_id"] %]'
data
-
name
=
'[%= it[item]["user_name"] %]'
>
详情
/
跟进
<
/a><p style="display: none;">
[
%= JSON.stringify(
delName(it[item
])
)
%]</
p
>&
nbsp
;
<!--<
a
class
=
"btn1 btn-info is_show"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
收藏
<
/a
>
<
a
class
=
"btn1 btn-success caozuo"
href
=
"#modal-record-edit"
data
-
toggle
=
"modal"
data
-
phone
=
'[%= it[item]["user_phone"] %]'
data
-
id
=
'[%= it[item]["id"] %]'
>
客户编辑
<
/a> --
>
...
...
public/resource/template/my_collection_user_template_tpl.html
View file @
27e51ee1
<script
id=
"my_collection_user_list_tpl"
type=
"text/template"
>
[
%
var
delName
=
function
(
s
){
delete
s
.
user_name
;
delete
s
.
user_nick
;
return
s
};
%
]
[
%
if
(
it
)
{
%
]
[
%
for
(
var
item
in
it
){
%
]
<
tr
>
...
...
@@ -12,7 +13,7 @@
<
td
>
[
%=
it
[
item
][
"area_demand"
]
%
]
<
/td
>
<
td
width
=
"16%"
>
[
%
if
((
check_auth
(
'auth_vip'
)
&&
it
[
item
][
'vip'
])
||
(
it
[
item
][
'agent_id'
]
==
0
)
||
(
it
[
item
][
'agent_id'
]
==
it
[
item
][
'current_agent_id'
])
||
(
check_auth
(
'index/useraction_search'
)
&&
it
[
item
][
'vip'
]
==
0
))
{
%
]
<
a
class
=
"btn1 caozuo genj_ure btn-success"
href
=
"#modal-record"
data
-
toggle
=
"modal"
data
-
phone
=
'[%= it[item]["user_phone"] %]'
data
-
id
=
'[%= it[item]["user_id"] %]'
data
-
agentId
=
'[%= it[item]["agent_id"] %]'
data
-
name
=
'[%= it[item]["user_name"] %]'
>
详情
/
跟进
<
/a><p style="display: none;">
[
%= JSON.stringify(
it[item
]
)
%]</
p
>&
nbsp
;
<
a
class
=
"btn1 caozuo genj_ure btn-success"
href
=
"#modal-record"
data
-
toggle
=
"modal"
data
-
phone
=
'[%= it[item]["user_phone"] %]'
data
-
id
=
'[%= it[item]["user_id"] %]'
data
-
agentId
=
'[%= it[item]["agent_id"] %]'
data
-
name
=
'[%= it[item]["user_name"] %]'
>
详情
/
跟进
<
/a><p style="display: none;">
[
%= JSON.stringify(
delName(it[item
])
)
%]</
p
>&
nbsp
;
<
a
class
=
"btn1 btn-default is_show"
data
-
id
=
'[%= it[item]["user_id"] %]'
>
取消收藏
<
/a
>
[
%
if
(
it
[
item
][
'agent_id'
]
==
it
[
item
][
'current_agent_id'
]
||
check_auth
(
'index/pcEditClient'
))
{
%
]
...
...
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