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
f65b7810
Commit
f65b7810
authored
Aug 27, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
后台修改
parent
e56edec1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
12 deletions
+15
-12
public.js
public/resource/js/public.js
+8
-3
realtimePerformance.js
public/resource/js/realtimePerformance.js
+0
-2
real_time_performance_template_tpl.html
...resource/template/real_time_performance_template_tpl.html
+7
-7
No files found.
public/resource/js/public.js
View file @
f65b7810
...
@@ -24,6 +24,14 @@ define(['doT', 'jquery', 'text!temp/menu_template_tpl.html', 'layer'], function
...
@@ -24,6 +24,14 @@ define(['doT', 'jquery', 'text!temp/menu_template_tpl.html', 'layer'], function
dataObj
.
init
();
dataObj
.
init
();
});
});
}
}
//定时器
// setInterval(function(){
// var user_info_obj = JSON.parse(decodeURIComponent(localStorage.getItem('pcUserInfo'))); //读取缓存
// //登录时间无效 直接跳转登录页面
// if(!user_info_obj){
// window.location.href="login.html";
// };
// },60000);
menu_bar
(
function
(){
menu_bar
(
function
(){
//回调部分
//回调部分
...
@@ -42,12 +50,9 @@ define(['doT', 'jquery', 'text!temp/menu_template_tpl.html', 'layer'], function
...
@@ -42,12 +50,9 @@ define(['doT', 'jquery', 'text!temp/menu_template_tpl.html', 'layer'], function
var
user_info_obj
=
JSON
.
parse
(
decodeURIComponent
(
localStorage
.
getItem
(
'pcUserInfo'
)));
//读取缓存
var
user_info_obj
=
JSON
.
parse
(
decodeURIComponent
(
localStorage
.
getItem
(
'pcUserInfo'
)));
//读取缓存
//登录时间无效 直接跳转登录页面
//登录时间无效 直接跳转登录页面
if
(
!
user_info_obj
){
if
(
!
user_info_obj
){
window
.
location
.
href
=
"login.html"
;
window
.
location
.
href
=
"login.html"
;
}
}
console
.
log
(
66
);
$
(
"#menu_bar"
).
append
(
template
);
$
(
"#menu_bar"
).
append
(
template
);
...
...
public/resource/js/realtimePerformance.js
View file @
f65b7810
...
@@ -863,8 +863,6 @@ define(['doT', 'text!temp/real_time_performance_template_tpl.html', 'text!temp/r
...
@@ -863,8 +863,6 @@ define(['doT', 'text!temp/real_time_performance_template_tpl.html', 'text!temp/r
});
});
},
},
bargaininfoShow
:
function
()
{
//报告详情
bargaininfoShow
:
function
()
{
//报告详情
$
.
ajax
({
$
.
ajax
({
'type'
:
'GET'
,
'type'
:
'GET'
,
...
...
public/resource/template/real_time_performance_template_tpl.html
View file @
f65b7810
...
@@ -98,7 +98,7 @@
...
@@ -98,7 +98,7 @@
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'index_'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'index_'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'district_name'
]
+
'-'
+
it
[
item
][
'store_name'
]
+
'-'
+
it
[
item
][
'name'
]
%
]
<
/a></
td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'district_name'
]
+
'-'
+
it
[
item
][
'store_name'
]
+
'-'
+
it
[
item
][
'name'
]
%
]
<
/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
=
"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
=
"deal-number-details performance-
person-click"
href
=
"#deal-collection
-number-details"
data
-
toggle
=
"modal"
data
-
id
=
"[%= it[item]['agent_id'] %]"
>
[
%=
it
[
item
][
'bargain_sum_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]['agent_id'] %]"
>
[
%=
it
[
item
][
'bargain_sum_total'
]
%
]
<
/a></
td
>
<
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
=
"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
=
"approach-number-details performance-person-click"
href
=
"#modal-approach-number-details"
data
-
toggle
=
"modal"
data
-
id
=
"[%= it[item]['agent_id'] %]"
>
[
%=
it
[
item
][
'march_in_num_total'
]
%
]
<
/a></
td
>
<
td
class
=
"text-center"
><
a
class
=
"approach-number-details performance-person-click"
href
=
"#modal-approach-number-details"
data
-
toggle
=
"modal"
data
-
id
=
"[%= it[item]['agent_id'] %]"
>
[
%=
it
[
item
][
'march_in_num_total'
]
%
]
<
/a></
td
>
<
td
class
=
"text-center"
><
a
class
=
"reported-number-details performance-person-click"
href
=
"#modal-reported-number-details"
data
-
toggle
=
"modal"
data
-
id
=
"[%= it[item]['agent_id'] %]"
>
[
%=
it
[
item
][
'look_at_num_total'
]
%
]
<
/a></
td
>
<
td
class
=
"text-center"
><
a
class
=
"reported-number-details performance-person-click"
href
=
"#modal-reported-number-details"
data
-
toggle
=
"modal"
data
-
id
=
"[%= it[item]['agent_id'] %]"
>
[
%=
it
[
item
][
'look_at_num_total'
]
%
]
<
/a></
td
>
...
@@ -293,7 +293,7 @@
...
@@ -293,7 +293,7 @@
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'create_time'
]
%
]
<
/a></
td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'create_time'
]
%
]
<
/a></
td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'landmark'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'landmark'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'user_name'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'user_name'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'user_phone'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
hideTel
(
it
[
item
][
'user_phone'
])
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
sw
(
it
[
item
][
'trade_type'
])
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
sw
(
it
[
item
][
'trade_type'
])
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'scale_fee'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'scale_fee'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
<
td
class
=
"text-center"
>
...
@@ -336,7 +336,7 @@
...
@@ -336,7 +336,7 @@
<
td
class
=
"text-center"
>
[
%=
swType
(
it
[
item
][
'type'
])
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
swType
(
it
[
item
][
'type'
])
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
swPayType
(
it
[
item
][
'pay_type'
])
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
swPayType
(
it
[
item
][
'pay_type'
])
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'landmark'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'landmark'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'house_title'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
hideStr
(
it
[
item
][
'house_title'
])
%
]
<
/td
>
<
td
class
=
"text-center"
>
<
td
class
=
"text-center"
>
<
a
class
=
"btn1 btn-success timeline"
href
=
"#modal-time"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["order_id"] %]'
>
时间轴
<
/a
>
<
a
class
=
"btn1 btn-success timeline"
href
=
"#modal-time"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["order_id"] %]'
>
时间轴
<
/a
>
<
/td
>
<
/td
>
...
@@ -367,7 +367,7 @@
...
@@ -367,7 +367,7 @@
[
%
for
(
var
item
in
it
){
%
]
[
%
for
(
var
item
in
it
){
%
]
<
tr
data
-
id
=
"[%= it[item]['id'] %]"
data
-
orderid
=
"[%= it[item]['order_id'] %]"
>
<
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_name'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'user_phone'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
hideTel
(
it
[
item
][
'user_phone'
])
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'create_time'
]
%
]
<
/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
][
'report_agent_name'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
hideStr
(
it
[
item
][
'house_title'
])
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
hideStr
(
it
[
item
][
'house_title'
])
%
]
<
/td
>
...
@@ -402,10 +402,10 @@
...
@@ -402,10 +402,10 @@
[
%
for
(
var
item
in
it
){
%
]
[
%
for
(
var
item
in
it
){
%
]
<
tr
data
-
id
=
"[%= it[item]['id'] %]"
data
-
orderid
=
"[%= it[item]['order_id'] %]"
>
<
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_name'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'user_phone'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
hideTel
(
it
[
item
][
'user_phone'
])
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'create_time'
]
%
]
<
/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
][
'report_agent_name'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'house_title'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
hideStr
(
it
[
item
][
'house_title'
])
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'predict_see_time'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'predict_see_time'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
<
td
class
=
"text-center"
>
<
a
class
=
"btn1 btn-success timeline"
href
=
"#modal-time"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["order_id"] %]'
>
时间轴
<
/a
>
<
a
class
=
"btn1 btn-success timeline"
href
=
"#modal-time"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["order_id"] %]'
>
时间轴
<
/a
>
...
@@ -498,7 +498,7 @@
...
@@ -498,7 +498,7 @@
<
tr
data
-
id
=
"[%= it[item]['id'] %]"
data
-
orderid
=
"[%= it[item]['order_id'] %]"
>
<
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
][
'id'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'user_name'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'user_name'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'user_phone'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
hideTel
(
it
[
item
][
'user_phone'
])
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'create_time'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'create_time'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'last_phone_follow_time'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
'last_phone_follow_time'
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
<
td
class
=
"text-center"
>
...
...
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