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
b68380ec
Commit
b68380ec
authored
Aug 27, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
业绩排行修改
parent
8e99bdd5
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
175 additions
and
11 deletions
+175
-11
realtimePerformance.html
application/index/view/realtime/realtimePerformance.html
+7
-7
realtimePerformance.js
public/resource/js/realtimePerformance.js
+0
-0
user.js
public/resource/js/user.js
+1
-1
real_time_performance_template_tpl.html
...resource/template/real_time_performance_template_tpl.html
+167
-3
No files found.
application/index/view/realtime/realtimePerformance.html
View file @
b68380ec
...
@@ -61,9 +61,9 @@
...
@@ -61,9 +61,9 @@
<thead>
<thead>
<tr>
<tr>
<td
colspan=
"11"
class=
"maintable-top-sub-tr"
>
<td
colspan=
"11"
class=
"maintable-top-sub-tr"
>
<a
class=
"btn btn-info liudan_pic_btn"
>
部门业绩排行榜
</a>
<a
class=
"btn btn-info liudan_pic_btn"
id=
'liudan_pic_btn_district'
>
部门业绩排行榜
</a>
<a
class=
"btn btn-default liudan_pic_btn"
>
门店业绩排行榜
</a>
<a
class=
"btn btn-default liudan_pic_btn"
id=
'liudan_pic_btn_store'
>
门店业绩排行榜
</a>
<a
class=
"btn btn-default liudan_pic_btn"
>
个人业绩排行榜
</a>
<a
class=
"btn btn-default liudan_pic_btn"
id=
'liudan_pic_btn_person'
>
个人业绩排行榜
</a>
</td>
</td>
</tr>
</tr>
<!--部门业绩 门店业绩 个人业绩的搜索功能-->
<!--部门业绩 门店业绩 个人业绩的搜索功能-->
...
@@ -270,7 +270,7 @@
...
@@ -270,7 +270,7 @@
×
×
</button>
</button>
<h4
class=
"modal-title"
>
<h4
class=
"modal-title"
>
<a
href=
"#"
><span
id=
"performance_ranking_agent_two"
>
报备数时间:
</span>
<span
id=
"r
ank_start_day_agent_two"
></span>
至
<span
id=
"rank_end_day_agent_two
"
></span></a>
<a
href=
"#"
><span
id=
"performance_ranking_agent_two"
>
报备数时间:
</span>
<span
id=
"r
eported_details_time_start"
></span>
至
<span
id=
"reported_details_time_end
"
></span></a>
</h4>
</h4>
</div>
</div>
<div
class=
"modal-body"
>
<div
class=
"modal-body"
>
...
@@ -293,7 +293,7 @@
...
@@ -293,7 +293,7 @@
×
×
</button>
</button>
<h4
class=
"modal-title"
>
<h4
class=
"modal-title"
>
<a
href=
"#"
><span
id=
"performance_ranking_agent_two"
>
新增商铺时间:
</span>
<span
id=
"
rank_start_day_agent_two"
></span>
至
<span
id=
"rank_end_day_agent_two
"
></span></a>
<a
href=
"#"
><span
id=
"performance_ranking_agent_two"
>
新增商铺时间:
</span>
<span
id=
"
newshop_details_time_start"
></span>
至
<span
id=
"newshop_details_time_end
"
></span></a>
</h4>
</h4>
</div>
</div>
<div
class=
"modal-body"
>
<div
class=
"modal-body"
>
...
@@ -316,7 +316,7 @@
...
@@ -316,7 +316,7 @@
×
×
</button>
</button>
<h4
class=
"modal-title"
>
<h4
class=
"modal-title"
>
<a
href=
"#"
><span
id=
"performance_ranking_agent_two"
>
新增客户时间:
</span>
<span
id=
"
rank_start_day_agent_two"
></span>
至
<span
id=
"rank_end_day_agent_two
"
></span></a>
<a
href=
"#"
><span
id=
"performance_ranking_agent_two"
>
新增客户时间:
</span>
<span
id=
"
newuser_details_time_start"
></span>
至
<span
id=
"newuser_details_time_end
"
></span></a>
</h4>
</h4>
</div>
</div>
<div
class=
"modal-body"
>
<div
class=
"modal-body"
>
...
@@ -339,7 +339,7 @@
...
@@ -339,7 +339,7 @@
×
×
</button>
</button>
<h4
class=
"modal-title"
>
<h4
class=
"modal-title"
>
<a
href=
"#"
><span
id=
"performance_ranking_agent_two"
>
团队人数时间:
</span>
<span
id=
"
rank_start_day_agent_two"
></span>
至
<span
id=
"rank_end_day_agent_two
"
></span></a>
<a
href=
"#"
><span
id=
"performance_ranking_agent_two"
>
团队人数时间:
</span>
<span
id=
"
team_details_time_start"
></span>
至
<span
id=
"team_details_time_end
"
></span></a>
</h4>
</h4>
</div>
</div>
<div
class=
"modal-body"
>
<div
class=
"modal-body"
>
...
...
public/resource/js/realtimePerformance.js
View file @
b68380ec
This diff is collapsed.
Click to expand it.
public/resource/js/user.js
View file @
b68380ec
...
@@ -1524,7 +1524,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
...
@@ -1524,7 +1524,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
}
else
{
}
else
{
$
(
"#caozuo_table_edit"
).
html
(
'暂无数据(*^_^*)'
);
$
(
"#caozuo_table_edit"
).
html
(
'暂无数据(*^_^*)'
);
};
};
//转介绍
然
人 记录
//转介绍人 记录
var
caozuo_table_introduce
=
""
;
var
caozuo_table_introduce
=
""
;
$
.
each
(
data
[
'data'
][
'user_invite_history'
],
function
(
i
,
item
)
{
$
.
each
(
data
[
'data'
][
'user_invite_history'
],
function
(
i
,
item
)
{
caozuo_table
+=
'<tr><td>'
+
item
.
remark
+
'</td><td>'
+
item
.
name
+
'</td><td>'
+
item
.
create_time
+
'</td></tr>'
;
caozuo_table
+=
'<tr><td>'
+
item
.
remark
+
'</td><td>'
+
item
.
name
+
'</td><td>'
+
item
.
create_time
+
'</td></tr>'
;
...
...
public/resource/template/real_time_performance_template_tpl.html
View file @
b68380ec
...
@@ -124,7 +124,6 @@
...
@@ -124,7 +124,6 @@
<
td
class
=
"text-center"
>
门店
<
/td
>
<
td
class
=
"text-center"
>
门店
<
/td
>
<
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
>
<
th
class
=
"text-center"
>
进场数
<
/th
>
<
th
class
=
"text-center"
>
报备数
<
/th
>
<
th
class
=
"text-center"
>
报备数
<
/th
>
...
@@ -140,7 +139,6 @@
...
@@ -140,7 +139,6 @@
<
/td
>
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
"list"
][
item
][
'performance_total'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
"list"
][
item
][
'performance_total'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
"list"
][
item
][
'bargain_sum_total'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
"list"
][
item
][
'bargain_sum_total'
]
%
]
<
/td
>
<!--<
td
class
=
"text-center"
>
[
%=
it
[
"list"
][
item
][
'bargain_sum'
]
%
]
<
/td>--
>
<
td
class
=
"text-center"
>
[
%=
it
[
"list"
][
item
][
'paylog_total'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
"list"
][
item
][
'paylog_total'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
"list"
][
item
][
'march_in_num_total'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
"list"
][
item
][
'march_in_num_total'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
"list"
][
item
][
'look_at_num_total'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
"list"
][
item
][
'look_at_num_total'
]
%
]
<
/td
>
...
@@ -299,7 +297,6 @@
...
@@ -299,7 +297,6 @@
<
td
class
=
"text-center"
>
[
%=
it
[
"list"
][
item
][
'district_name'
]
+
'-'
+
it
[
"list"
][
item
][
'store_name'
]
+
'-'
+
it
[
"list"
][
item
][
'name'
]
%
]
<
/a></
td
>
<
td
class
=
"text-center"
>
[
%=
it
[
"list"
][
item
][
'district_name'
]
+
'-'
+
it
[
"list"
][
item
][
'store_name'
]
+
'-'
+
it
[
"list"
][
item
][
'name'
]
%
]
<
/a></
td
>
<
td
class
=
"text-center"
>
[
%=
it
[
"list"
][
item
][
'performance_total'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
"list"
][
item
][
'performance_total'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
"list"
][
item
][
'bargain_sum_total'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
"list"
][
item
][
'bargain_sum_total'
]
%
]
<
/td
>
<!--<
td
class
=
"text-center"
>
[
%=
it
[
"list"
][
item
][
'bargain_sum'
]
%
]
<
/td>--
>
<
td
class
=
"text-center"
>
[
%=
it
[
"list"
][
item
][
'paylog_total'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
"list"
][
item
][
'paylog_total'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
"list"
][
item
][
'march_in_num_total'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
"list"
][
item
][
'march_in_num_total'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
"list"
][
item
][
'look_at_num_total'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
"list"
][
item
][
'look_at_num_total'
]
%
]
<
/td
>
...
@@ -386,5 +383,172 @@
...
@@ -386,5 +383,172 @@
[
%
}
%
]
[
%
}
%
]
</script>
</script>
<!--部门-报备数 -->
<!--门店-报备数 -->
<!--个人-报备数 -->
<script
id=
"reported_number_details_tpl"
type=
"text/template"
>
[
%
if
(
it
&&
it
[
0
])
{
%
]
<
tr
>
<
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]['id'] %]"
data
-
orderid
=
"[%= it[item]['order_id'] %]"
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'user_name'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'user_phone'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'create_time'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'report_agent_name'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'house_title'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'predict_see_time'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
<
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>
<!--部门-新增商铺数 -->
<!--门店-新增商铺数 -->
<!--个人-新增商铺数 -->
<script
id=
"newshop_number_details_tpl"
type=
"text/template"
>
[
%
if
(
it
&&
it
[
0
])
{
%
]
<
tr
>
<
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]['id'] %]"
data
-
orderid
=
"[%= it[item]['order_id'] %]"
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'id'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%
if
(
it
[
item
][
"shop_type"
]
==
0
)
{
%
]
商场
[
%
}
else
{
%
]
街铺
[
%
}
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%
if
(
it
[
item
][
'rent_type'
]
==
1
)
{
%
]
[
%=
it
[
item
][
"rent_price"
]
/
100
%
]
元
[
%
}
else
if
(
it
[
item
][
'rent_type'
]
==
2
)
{
%
]
[
%=
it
[
item
][
"rent_price"
]
/
100
%
]
%
[
%
}
else
{
%
]
[
%=
it
[
item
][
"rent_price"
]
/
100
%
]
元
/
天
/
㎡
[
%
}
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%
if
(
it
[
item
][
"shop_type"
]
==
0
)
{
%
]
[
%=
it
[
item
][
"shop_area_start"
]
+
'-'
+
it
[
item
][
"shop_area_end"
]
%
]
㎡
[
%
}
else
{
%
]
[
%=
it
[
item
][
"shop_area_start"
]
%
]
㎡
[
%
}
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'industry_type'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'last_phone_follow_time'
]
%
]
<
/td
>
<
td
>
[
%
if
(
it
[
item
][
"status"
]
==
0
)
{
%
]
已租
[
%
}
else
{
%
]
待租
[
%
}
%
]
<
/td
>
<
/tr
>
[
%
}
%
]
[
%
}
else
{
%
]
<
tr
>
<
td
colspan
=
"10"
style
=
"text-align:center;"
>
暂无数据
<
/td
>
<
/tr
>
[
%
}
%
]
</script>
<!--部门-新增客户 -->
<!--门店-新增客户 -->
<!--个人-新增客户 -->
<script
id=
"newuser_number_details_tpl"
type=
"text/template"
>
[
%
if
(
it
&&
it
[
0
])
{
%
]
<
tr
>
<
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]['id'] %]"
data
-
orderid
=
"[%= it[item]['order_id'] %]"
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'id'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'user_name'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'user_phone'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'create_time'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'最后跟进时间'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%
if
(
it
[
item
][
"user_status"
]
==
0
)
{
%
]
求租
[
%
}
else
if
(
it
[
item
][
"user_status"
]
==
1
)
{
%
]
已租
[
%
}
else
{
%
]
无效
[
%
}
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'业态'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'面积'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%
if
(
it
[
item
][
"source"
]
==
10
)
{
%
]
APP
注册
[
%
}
else
if
(
it
[
item
][
"source"
]
==
20
)
{
%
]
经纪人新增
[
%
}
else
{
%
]
老数据客户
[
%
}
%
]
<
/td
>
<
/tr
>
[
%
}
%
]
[
%
}
else
{
%
]
<
tr
>
<
td
colspan
=
"10"
style
=
"text-align:center;"
>
暂无数据
<
/td
>
<
/tr
>
[
%
}
%
]
</script>
<!--部门-团队人数 -->
<!--门店-团队人数 -->
<!--个人-团队人数 -->
<script
id=
"team_number_details_tpl"
type=
"text/template"
>
[
%
if
(
it
&&
it
[
0
])
{
%
]
<
tr
>
<
th
class
=
"text-center"
>
注册时间
<
/th
>
<
th
class
=
"text-center"
>
用户
ID
<
/th
>
<
th
class
=
"text-center"
>
姓名
<
/th
>
<
th
class
=
"text-center"
>
手机号
<
/th
>
<
/tr
>
[
%
for
(
var
item
in
it
){
%
]
<
tr
data
-
id
=
"[%= it[item]['id'] %]"
data
-
orderid
=
"[%= it[item]['order_id'] %]"
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'create_time'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'id'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'name'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'phone'
]
%
]
<
/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