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
031d2231
Commit
031d2231
authored
Jun 25, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
业绩排行榜
parent
7e4155f0
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
265 additions
and
8 deletions
+265
-8
realtimePerformance.html
application/index/view/realtime/realtimePerformance.html
+22
-0
realtimePerformanceOffice.html
...cation/index/view/realtime/realtimePerformanceOffice.html
+22
-0
getCollectionOffice.js
public/resource/js/getCollectionOffice.js
+1
-1
realtimePerformance.js
public/resource/js/realtimePerformance.js
+55
-0
realtimePerformanceOffice.js
public/resource/js/realtimePerformanceOffice.js
+52
-1
real_time_performance_office_template_tpl.html
...e/template/real_time_performance_office_template_tpl.html
+57
-4
real_time_performance_template_tpl.html
...resource/template/real_time_performance_template_tpl.html
+56
-2
No files found.
application/index/view/realtime/realtimePerformance.html
View file @
031d2231
...
...
@@ -276,6 +276,28 @@
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal -->
</div>
<!-- 弹出框-部门-实收-详情 -->
<div
class=
"modal fade"
id=
"modal-shishou-details"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal-dialog modal-body-width-two-w"
>
<div
class=
"modal-content modal-body-width-two-h"
>
<div
class=
"modal-header"
>
<button
type=
"button"
class=
"close"
data-dismiss=
"modal"
aria-hidden=
"true"
>
×
</button>
<h4
class=
"modal-title"
>
<a
href=
"#"
><span
id=
"performance_ranking_agent_two"
>
时间:
</span>
<span
id=
"shishou_details_time_start"
></span>
至
<span
id=
"shishou_details_time_end"
></span></a>
</h4>
</div>
<div
class=
"modal-body"
>
<table
class=
"table table-striped table-bordered table-hover table-condensed"
>
<tbody
class=
"text-center"
id=
"shishou_details_list"
>
</tbody>
</table>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal -->
</div>
<!-- 弹出框-部门-成交单数-详情 -->
<div
class=
"modal fade"
id=
"modal-deal-number-details"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
...
...
application/index/view/realtime/realtimePerformanceOffice.html
View file @
031d2231
...
...
@@ -276,6 +276,28 @@
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal -->
</div>
<!-- 弹出框-部门-实收-详情 -->
<div
class=
"modal fade"
id=
"modal-shishou-details"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal-dialog modal-body-width-two-w"
>
<div
class=
"modal-content modal-body-width-two-h"
>
<div
class=
"modal-header"
>
<button
type=
"button"
class=
"close"
data-dismiss=
"modal"
aria-hidden=
"true"
>
×
</button>
<h4
class=
"modal-title"
>
<a
href=
"#"
><span
id=
"performance_ranking_agent_two"
>
时间:
</span>
<span
id=
"shishou_details_time_start"
></span>
至
<span
id=
"shishou_details_time_end"
></span></a>
</h4>
</div>
<div
class=
"modal-body"
>
<table
class=
"table table-striped table-bordered table-hover table-condensed"
>
<tbody
class=
"text-center"
id=
"shishou_details_list"
>
</tbody>
</table>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal -->
</div>
<!-- 弹出框-部门-成交单数-详情 -->
<div
class=
"modal fade"
id=
"modal-deal-number-details"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
...
...
public/resource/js/getCollectionOffice.js
View file @
031d2231
...
...
@@ -1732,7 +1732,7 @@ define(['doT', 'text!temp/office_receivables_template_tpl.html', 'css!style/home
if
(
!
params
)
{
return
false
;
}
$
.
post
(
'/index/refundPayLog'
,
params
,
function
(
data
){
$
.
post
(
'/
office_
index/refundPayLog'
,
params
,
function
(
data
){
if
(
data
.
code
==
200
)
{
console
.
log
(
data
)
$
(
'#modal-back'
).
modal
(
"hide"
)
...
...
public/resource/js/realtimePerformance.js
View file @
031d2231
...
...
@@ -264,6 +264,12 @@ define(['doT', 'text!temp/real_time_performance_template_tpl.html', 'text!temp/r
e
.
stopPropagation
();
realtime
.
getPerformanceDetails
(
1
);
});
//部门-实收-弹出框
_doc
.
on
(
'click'
,
'.shishou-number-details'
,
function
(
e
)
{
e
.
preventDefault
();
e
.
stopPropagation
();
realtime
.
getShiShouDetails
(
1
);
});
//部门-成交单数-弹出框
_doc
.
on
(
'click'
,
'.deal-number-details'
,
function
(
e
)
{
e
.
preventDefault
();
...
...
@@ -749,6 +755,55 @@ define(['doT', 'text!temp/real_time_performance_template_tpl.html', 'text!temp/r
});
},
//部门-实收-弹出框-详情
getShiShouDetails
:
function
(
pageNo
){
var
params
=
{
'district_id'
:
realtime
.
district_id
,
'store_id'
:
realtime
.
store_id
,
'agents_id'
:
realtime
.
agents_id
,
'create_time'
:
realtime
.
time_search_start
,
'end_time'
:
realtime
.
time_search_end
,
'pageNo'
:
1
,
'pageSize'
:
9999
};
$
.
ajax
({
type
:
'GET'
,
url
:
'/index/partialCommissionList'
,
data
:
params
,
timeout
:
30000
,
dataType
:
'json'
,
beforeSend
:
function
()
{},
success
:
function
(
data
)
{
if
(
typeof
data
===
'object'
)
{
if
(
data
.
code
==
200
)
{
var
doTtmpl
=
doT
.
template
(
document
.
getElementById
(
'shishou_details_tpl'
).
innerHTML
);
$
(
"#shishou_details_list"
).
html
(
doTtmpl
(
data
.
data
.
data
.
list
));
//获取统计时间
$
(
'#shishou_details_time_start'
).
html
(
realtime
.
time_search_start
);
$
(
'#shishou_details_time_end'
).
html
(
realtime
.
time_search_end
);
}
else
{
alert
(
data
[
'msg'
]);
};
}
else
{
alert
(
'数据错误'
);
};
},
error
:
function
()
{
alert
(
'error'
);
},
complete
:
function
(
xhr
,
textStatus
)
{
if
(
textStatus
===
'timeout'
)
{
alert
(
'请求超时'
);
};
}
});
},
//部门-收款数-弹出框-详情
getDealDetails
:
function
(
pageNo
){
var
params
=
{
...
...
public/resource/js/realtimePerformanceOffice.js
View file @
031d2231
...
...
@@ -264,6 +264,12 @@ define(['doT', 'text!temp/real_time_performance_office_template_tpl.html', 'text
e
.
stopPropagation
();
realtime
.
getPerformanceDetails
(
1
);
});
//部门-实收-弹出框
_doc
.
on
(
'click'
,
'.shishou-number-details'
,
function
(
e
)
{
e
.
preventDefault
();
e
.
stopPropagation
();
realtime
.
getShiShouDetails
(
1
);
});
//部门-成交单数-弹出框
_doc
.
on
(
'click'
,
'.deal-number-details'
,
function
(
e
)
{
e
.
preventDefault
();
...
...
@@ -748,7 +754,52 @@ define(['doT', 'text!temp/real_time_performance_office_template_tpl.html', 'text
}
});
},
//部门-实收-弹出框-详情
getShiShouDetails
:
function
(
pageNo
){
var
params
=
{
'district_id'
:
realtime
.
district_id
,
'store_id'
:
realtime
.
store_id
,
'agents_id'
:
realtime
.
agents_id
,
'create_time'
:
realtime
.
time_search_start
,
'end_time'
:
realtime
.
time_search_end
,
'pageNo'
:
1
,
'pageSize'
:
9999
};
$
.
ajax
({
type
:
'GET'
,
url
:
'/office_index/partialCommissionList'
,
//办公楼
data
:
params
,
timeout
:
30000
,
dataType
:
'json'
,
beforeSend
:
function
()
{},
success
:
function
(
data
)
{
if
(
typeof
data
===
'object'
)
{
if
(
data
.
code
==
200
)
{
var
doTtmpl
=
doT
.
template
(
document
.
getElementById
(
'shishou_details_tpl'
).
innerHTML
);
$
(
"#shishou_details_list"
).
html
(
doTtmpl
(
data
.
data
.
data
.
list
));
//获取统计时间
$
(
'#shishou_details_time_start'
).
html
(
realtime
.
time_search_start
);
$
(
'#shishou_details_time_end'
).
html
(
realtime
.
time_search_end
);
}
else
{
alert
(
data
[
'msg'
]);
};
}
else
{
alert
(
'数据错误'
);
};
},
error
:
function
()
{
alert
(
'error'
);
},
complete
:
function
(
xhr
,
textStatus
)
{
if
(
textStatus
===
'timeout'
)
{
alert
(
'请求超时'
);
};
}
});
},
//部门-收款数-弹出框-详情
getDealDetails
:
function
(
pageNo
){
var
params
=
{
...
...
public/resource/template/real_time_performance_office_template_tpl.html
View file @
031d2231
...
...
@@ -13,7 +13,7 @@
<
th
class
=
"text-center"
>
收款数
<
/th
>
<
th
class
=
"text-center"
>
成交单数
<
/th
>
<
th
class
=
"text-center"
>
业绩(元)
<
span
class
=
"glyphicon glyphicon-triangle-bottom positive-sequence-yeji"
><
/span><span class="glyphicon glyphicon-triangle-top reverse-order-yeji"></
span
><
/th
>
<
th
class
=
"text-center"
>
实收(元)
<
/th
>
<
/tr
>
[
%
for
(
var
item
in
it
){
%
]
<
tr
data
-
id
=
"[%= it[item]['district_id'] %]"
>
...
...
@@ -30,6 +30,7 @@
<
td
class
=
"text-center"
><
a
class
=
"collection-number-details performance-district-click"
href
=
"#modal-collection-number-details"
data
-
toggle
=
"modal"
data
-
id
=
"[%= it[item]['district_id'] %]"
>
[
%=
it
[
item
][
'paylog_total'
]
%
]
<
/a></
td
>
<
td
class
=
"text-center"
><
a
class
=
"deal-number-details performance-district-click"
href
=
"#modal-deal-number-details"
data
-
toggle
=
"modal"
data
-
id
=
"[%= it[item]['district_id'] %]"
>
[
%=
it
[
item
][
'bargain_sum_total'
]
%
]
<
/a></
td
>
<
td
class
=
"text-center"
><
a
class
=
"performance-number-details performance-district-click"
href
=
"#modal-performance-details"
data
-
toggle
=
"modal"
data
-
id
=
"[%= it[item]['district_id'] %]"
>
[
%=
it
[
item
][
'performance_total'
]
%
]
<
/a></
td
>
<
td
class
=
"text-center"
><
a
class
=
"shishou-number-details performance-district-click"
href
=
"#modal-shishou-details"
data
-
toggle
=
"modal"
data
-
id
=
"[%= it[item]['district_id'] %]"
>
[
%=
it
[
item
][
'official_receipts_total'
]
%
]
<
/a></
td
>
<
/tr
>
[
%
}
%
]
[
%
}
else
{
%
]
...
...
@@ -56,7 +57,7 @@
<
th
class
=
"text-center"
>
收款数
<
/th
>
<
th
class
=
"text-center"
>
成交单数
<
/th
>
<
th
class
=
"text-center"
>
业绩(元)
<
span
class
=
"glyphicon glyphicon-triangle-bottom positive-sequence-yeji"
><
/span><span class="glyphicon glyphicon-triangle-top reverse-order-yeji"></
span
><
/th
>
<
th
class
=
"text-center"
>
实收(元)
<
/th
>
<
/tr
>
[
%
for
(
var
item
in
it
){
%
]
<
tr
>
...
...
@@ -73,6 +74,7 @@
<
td
class
=
"text-center"
><
a
class
=
"collection-number-details performance-store-click"
href
=
"#modal-collection-number-details"
data
-
toggle
=
"modal"
data
-
id
=
"[%= it[item]['store_id'] %]"
>
[
%=
it
[
item
][
'paylog_total'
]
%
]
<
/a></
td
>
<
td
class
=
"text-center"
><
a
class
=
"deal-number-details performance-store-click"
href
=
"#modal-deal-number-details"
data
-
toggle
=
"modal"
data
-
id
=
"[%= it[item]['store_id'] %]"
>
[
%=
it
[
item
][
'bargain_sum_total'
]
%
]
<
/a></
td
>
<
td
class
=
"text-center"
><
a
class
=
"performance-number-details performance-store-click"
href
=
"#modal-performance-details"
data
-
toggle
=
"modal"
data
-
id
=
"[%= it[item]['store_id'] %]"
>
[
%=
it
[
item
][
'performance_total'
]
%
]
<
/a></
td
>
<
td
class
=
"text-center"
><
a
class
=
"shishou-number-details performance-store-click"
href
=
"#modal-shishou-details"
data
-
toggle
=
"modal"
data
-
id
=
"[%= it[item]['store_id'] %]"
>
[
%=
it
[
item
][
'official_receipts_total'
]
%
]
<
/a></
td
>
<
/tr
>
[
%
}
%
]
[
%
}
else
{
%
]
...
...
@@ -98,7 +100,7 @@
<
th
class
=
"text-center"
>
收款数
<
/th
>
<
th
class
=
"text-center"
>
成交单数
<
/th
>
<
th
class
=
"text-center"
>
业绩(元)
<
span
class
=
"glyphicon glyphicon-triangle-bottom positive-sequence-yeji"
><
/span><span class="glyphicon glyphicon-triangle-top reverse-order-yeji"></
span
><
/th
>
<
th
class
=
"text-center"
>
实收(元)
<
/th
>
<
/tr
>
[
%
for
(
var
item
in
it
){
%
]
<
tr
data
-
id
=
"[%= it[item]['id'] %]"
data
-
orderid
=
"[%= it[item]['order_id'] %]"
>
...
...
@@ -112,7 +114,7 @@
<
td
class
=
"text-center"
><
a
class
=
"collection-number-details performance-person-click"
href
=
"#modal-collection-number-details"
data
-
toggle
=
"modal"
data
-
id
=
"[%= it[item]['agent_id'] %]"
>
[
%=
it
[
item
][
'paylog_total'
]
%
]
<
/a></
td
>
<
td
class
=
"text-center"
><
a
class
=
"deal-number-details performance-person-click"
href
=
"#modal-deal-number-details"
data
-
toggle
=
"modal"
data
-
id
=
"[%= it[item]['agent_id'] %]"
>
[
%=
it
[
item
][
'bargain_sum_total'
]
%
]
<
/a></
td
>
<
td
class
=
"text-center"
><
a
class
=
"performance-number-details performance-person-click"
href
=
"#modal-performance-details"
data
-
toggle
=
"modal"
data
-
id
=
"[%= it[item]['agent_id'] %]"
>
[
%=
it
[
item
][
'performance_total'
]
%
]
<
/a></
td
>
<
td
class
=
"text-center"
><
a
class
=
"shishou-number-details performance-person-click"
href
=
"#modal-shishou-details"
data
-
toggle
=
"modal"
data
-
id
=
"[%= it[item]['agent_id'] %]"
>
[
%=
it
[
item
][
'official_receipts_total'
]
%
]
<
/a></
td
>
<
/tr
>
[
%
}
%
]
[
%
}
else
{
%
]
...
...
@@ -292,6 +294,57 @@
[
%
}
%
]
</script>
<!--部门-实收 -->
<!--门店-实收 -->
<!--个人-实收 -->
<script
id=
"shishou_details_tpl"
type=
"text/template"
>
[
%
var
user_info_obj
=
JSON
.
parse
(
decodeURIComponent
(
localStorage
.
getItem
(
'pcUserInfo'
)));
%
]
[
%
var
sw
=
function
(
s
){
switch
(
Number
(
s
)){
case
10
:
return
"出租"
;
case
20
:
return
"增佣"
;
case
30
:
return
"代理"
;
case
40
:
return
"好处费"
;
default
:
return
s
}};
%
]
[
%
var
getInfoType
=
function
(
r
){
switch
(
Number
(
r
)){
case
1
:
return
"盘方"
;
case
2
:
return
"客方"
;
case
3
:
return
"反签"
;
case
4
:
return
"独家"
;
case
5
:
return
"合作方"
;
case
6
:
return
"APP盘下载方"
;
case
7
:
return
"APP客下载方"
;
default
:
return
"未定义"
}};
%
]
[
%
if
(
it
[
0
])
{
%
]
<
tr
>
<
th
class
=
"text-center"
>
收佣日期
<
/th
>
<
th
class
=
"text-center"
>
成交报告
ID
<
/th
>
<
th
class
=
"text-center"
>
分佣
ID
<
/th
>
<
th
class
=
"text-center"
>
分佣方
<
/th
>
<
th
class
=
"text-center"
>
所属部门门店
<
/th
>
<
th
class
=
"text-center"
>
商铺地址
<
/th
>
<
th
class
=
"text-center"
>
分佣角色
<
/th
>
<
th
class
=
"text-center"
>
分佣比例
<
/th
>
<
th
class
=
"text-center"
>
预分佣金
<
/th
>
<
th
class
=
"text-center"
>
实收佣金
<
/th
>
<
th
class
=
"text-center"
>
操作
<
/th
>
<
/tr
>
[
%
for
(
var
item
in
it
){
%
]
<
tr
data
-
id
=
"[%= it[item]['bargain_id'] %]"
data
-
orderid
=
"[%= it[item]['order_id'] %]"
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'income_time'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'bargain_id'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'commission_id'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'agent'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'district_name'
]
+
'-'
+
it
[
item
][
'store_name'
]
%
]
<
/a></
td
>
<
td
class
=
"text-left"
>
[
%=
hideStr
(
it
[
item
][
'internal_address'
])
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
getInfoType
(
it
[
item
][
'role'
])
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'scale'
]
%
]
%<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'scale_fee'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'practical_fee'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%
if
(
check_auth
(
'index/bargainInfo'
)
||
(
it
[
item
][
'agent_id'
]
==
user_info_obj
.
id
))
{
%
]
<
a
class
=
"btn1 btn-success details-btn"
href
=
"#modal_detail"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["bargain_id"] %]'
>
详情
<
/a
>
[
%
}
%
]
<!--<
a
class
=
"btn1 btn-success timeline"
href
=
"#modal-time"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["order_id"] %]'
>
时间轴
<
/a>--
>
<
/td
>
<
/tr
>
[
%
}
%
]
[
%
}
else
{
%
]
<
tr
>
<
td
colspan
=
"10"
style
=
"text-align:center;"
>
暂无数据
<
/td
>
<
/tr
>
[
%
}
%
]
</script>
<!--部门-成交单数 -->
<!--门店-成交单数 -->
...
...
public/resource/template/real_time_performance_template_tpl.html
View file @
031d2231
...
...
@@ -13,6 +13,8 @@
<
th
class
=
"text-center"
>
收款数
<
/th
>
<
th
class
=
"text-center"
>
成交单数
<
/th
>
<
th
class
=
"text-center"
>
业绩(元)
<
span
class
=
"glyphicon glyphicon-triangle-bottom positive-sequence-yeji"
><
/span><span class="glyphicon glyphicon-triangle-top reverse-order-yeji"></
span
><
/th
>
<
th
class
=
"text-center"
>
实收(元)
<
/th
>
<
/tr
>
[
%
for
(
var
item
in
it
){
%
]
...
...
@@ -30,6 +32,7 @@
<
td
class
=
"text-center"
><
a
class
=
"collection-number-details performance-district-click"
href
=
"#modal-collection-number-details"
data
-
toggle
=
"modal"
data
-
id
=
"[%= it[item]['district_id'] %]"
>
[
%=
it
[
item
][
'paylog_total'
]
%
]
<
/a></
td
>
<
td
class
=
"text-center"
><
a
class
=
"deal-number-details performance-district-click"
href
=
"#modal-deal-number-details"
data
-
toggle
=
"modal"
data
-
id
=
"[%= it[item]['district_id'] %]"
>
[
%=
it
[
item
][
'bargain_sum_total'
]
%
]
<
/a></
td
>
<
td
class
=
"text-center"
><
a
class
=
"performance-number-details performance-district-click"
href
=
"#modal-performance-details"
data
-
toggle
=
"modal"
data
-
id
=
"[%= it[item]['district_id'] %]"
>
[
%=
it
[
item
][
'performance_total'
]
%
]
<
/a></
td
>
<
td
class
=
"text-center"
><
a
class
=
"shishou-number-details performance-district-click"
href
=
"#modal-shishou-details"
data
-
toggle
=
"modal"
data
-
id
=
"[%= it[item]['district_id'] %]"
>
[
%=
it
[
item
][
'official_receipts_total'
]
%
]
<
/a></
td
>
<
/tr
>
[
%
}
%
]
[
%
}
else
{
%
]
...
...
@@ -56,7 +59,7 @@
<
th
class
=
"text-center"
>
收款数
<
/th
>
<
th
class
=
"text-center"
>
成交单数
<
/th
>
<
th
class
=
"text-center"
>
业绩(元)
<
span
class
=
"glyphicon glyphicon-triangle-bottom positive-sequence-yeji"
><
/span><span class="glyphicon glyphicon-triangle-top reverse-order-yeji"></
span
><
/th
>
<
th
class
=
"text-center"
>
实收(元)
<
/th
>
<
/tr
>
[
%
for
(
var
item
in
it
){
%
]
<
tr
>
...
...
@@ -73,6 +76,7 @@
<
td
class
=
"text-center"
><
a
class
=
"collection-number-details performance-store-click"
href
=
"#modal-collection-number-details"
data
-
toggle
=
"modal"
data
-
id
=
"[%= it[item]['store_id'] %]"
>
[
%=
it
[
item
][
'paylog_total'
]
%
]
<
/a></
td
>
<
td
class
=
"text-center"
><
a
class
=
"deal-number-details performance-store-click"
href
=
"#modal-deal-number-details"
data
-
toggle
=
"modal"
data
-
id
=
"[%= it[item]['store_id'] %]"
>
[
%=
it
[
item
][
'bargain_sum_total'
]
%
]
<
/a></
td
>
<
td
class
=
"text-center"
><
a
class
=
"performance-number-details performance-store-click"
href
=
"#modal-performance-details"
data
-
toggle
=
"modal"
data
-
id
=
"[%= it[item]['store_id'] %]"
>
[
%=
it
[
item
][
'performance_total'
]
%
]
<
/a></
td
>
<
td
class
=
"text-center"
><
a
class
=
"shishou-number-details performance-store-click"
href
=
"#modal-shishou-details"
data
-
toggle
=
"modal"
data
-
id
=
"[%= it[item]['store_id'] %]"
>
[
%=
it
[
item
][
'official_receipts_total'
]
%
]
<
/a></
td
>
<
/tr
>
[
%
}
%
]
[
%
}
else
{
%
]
...
...
@@ -98,7 +102,7 @@
<
th
class
=
"text-center"
>
收款数
<
/th
>
<
th
class
=
"text-center"
>
成交单数
<
/th
>
<
th
class
=
"text-center"
>
业绩(元)
<
span
class
=
"glyphicon glyphicon-triangle-bottom positive-sequence-yeji"
><
/span><span class="glyphicon glyphicon-triangle-top reverse-order-yeji"></
span
><
/th
>
<
th
class
=
"text-center"
>
实收(元)
<
/th
>
<
/tr
>
[
%
for
(
var
item
in
it
){
%
]
<
tr
data
-
id
=
"[%= it[item]['id'] %]"
data
-
orderid
=
"[%= it[item]['order_id'] %]"
>
...
...
@@ -112,6 +116,7 @@
<
td
class
=
"text-center"
><
a
class
=
"collection-number-details performance-person-click"
href
=
"#modal-collection-number-details"
data
-
toggle
=
"modal"
data
-
id
=
"[%= it[item]['agent_id'] %]"
>
[
%=
it
[
item
][
'paylog_total'
]
%
]
<
/a></
td
>
<
td
class
=
"text-center"
><
a
class
=
"deal-number-details performance-person-click"
href
=
"#modal-deal-number-details"
data
-
toggle
=
"modal"
data
-
id
=
"[%= it[item]['agent_id'] %]"
>
[
%=
it
[
item
][
'bargain_sum_total'
]
%
]
<
/a></
td
>
<
td
class
=
"text-center"
><
a
class
=
"performance-number-details performance-person-click"
href
=
"#modal-performance-details"
data
-
toggle
=
"modal"
data
-
id
=
"[%= it[item]['agent_id'] %]"
>
[
%=
it
[
item
][
'performance_total'
]
%
]
<
/a></
td
>
<
td
class
=
"text-center"
><
a
class
=
"shishou-number-details performance-person-click"
href
=
"#modal-shishou-details"
data
-
toggle
=
"modal"
data
-
id
=
"[%= it[item]['agent_id'] %]"
>
[
%=
it
[
item
][
'official_receipts_total'
]
%
]
<
/a></
td
>
<
/tr
>
[
%
}
%
]
...
...
@@ -292,6 +297,55 @@
[
%
}
%
]
</script>
<!--部门-实收 -->
<!--门店-实收 -->
<!--个人-实收 -->
<script
id=
"shishou_details_tpl"
type=
"text/template"
>
[
%
var
user_info_obj
=
JSON
.
parse
(
decodeURIComponent
(
localStorage
.
getItem
(
'pcUserInfo'
)));
%
]
[
%
var
sw
=
function
(
s
){
switch
(
Number
(
s
)){
case
10
:
return
"出租"
;
case
20
:
return
"增佣"
;
case
30
:
return
"代理"
;
case
40
:
return
"好处费"
;
default
:
return
s
}};
%
]
[
%
var
getInfoType
=
function
(
r
){
switch
(
Number
(
r
)){
case
1
:
return
"盘方"
;
case
2
:
return
"客方"
;
case
3
:
return
"反签"
;
case
4
:
return
"独家"
;
case
5
:
return
"合作方"
;
case
6
:
return
"APP盘下载方"
;
case
7
:
return
"APP客下载方"
;
default
:
return
"未定义"
}};
%
]
[
%
if
(
it
[
0
])
{
%
]
<
tr
>
<
th
class
=
"text-center"
>
收佣日期
<
/th
>
<
th
class
=
"text-center"
>
成交报告
ID
<
/th
>
<
th
class
=
"text-center"
>
分佣
ID
<
/th
>
<
th
class
=
"text-center"
>
分佣方
<
/th
>
<
th
class
=
"text-center"
>
所属部门门店
<
/th
>
<
th
class
=
"text-center"
>
商铺地址
<
/th
>
<
th
class
=
"text-center"
>
分佣角色
<
/th
>
<
th
class
=
"text-center"
>
分佣比例
<
/th
>
<
th
class
=
"text-center"
>
预分佣金
<
/th
>
<
th
class
=
"text-center"
>
实收佣金
<
/th
>
<
th
class
=
"text-center"
>
操作
<
/th
>
<
/tr
>
[
%
for
(
var
item
in
it
){
%
]
<
tr
data
-
id
=
"[%= it[item]['bargain_id'] %]"
data
-
orderid
=
"[%= it[item]['order_id'] %]"
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'income_time'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'bargain_id'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'commission_id'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'agent'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'district_name'
]
+
'-'
+
it
[
item
][
'store_name'
]
%
]
<
/a></
td
>
<
td
class
=
"text-left"
>
[
%=
hideStr
(
it
[
item
][
'internal_address'
])
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
getInfoType
(
it
[
item
][
'role'
])
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'scale'
]
%
]
%<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'scale_fee'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'practical_fee'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%
if
(
check_auth
(
'index/bargainInfo'
)
||
(
it
[
item
][
'agent_id'
]
==
user_info_obj
.
id
))
{
%
]
<
a
class
=
"btn1 btn-success details-btn"
href
=
"#modal_detail"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["bargain_id"] %]'
>
详情
<
/a
>
[
%
}
%
]
<!--<
a
class
=
"btn1 btn-success timeline"
href
=
"#modal-time"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["order_id"] %]'
>
时间轴
<
/a>--
>
<
/td
>
<
/tr
>
[
%
}
%
]
[
%
}
else
{
%
]
<
tr
>
<
td
colspan
=
"10"
style
=
"text-align:center;"
>
暂无数据
<
/td
>
<
/tr
>
[
%
}
%
]
</script>
<!--部门-成交单数 -->
<!--门店-成交单数 -->
...
...
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