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
63547634
Commit
63547634
authored
Aug 28, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
后台 bug
parent
a5e252e4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
11 deletions
+32
-11
houseList.js
public/resource/js/houseList.js
+2
-0
public.js
public/resource/js/public.js
+1
-0
realtimePerformance.js
public/resource/js/realtimePerformance.js
+29
-11
No files found.
public/resource/js/houseList.js
View file @
63547634
...
...
@@ -838,6 +838,7 @@ if(data.code == 200) {
},
//==============批量修改客方===========
getList
:
function
(
pageNo
,
type
)
{
var
user_info_obj
=
JSON
.
parse
(
decodeURIComponent
(
localStorage
.
getItem
(
'pcUserInfo'
)));
business
.
pageNo
=
pageNo
;
var
params
=
{};
...
...
@@ -883,6 +884,7 @@ if(data.code == 200) {
data
:
params
,
dataType
:
'json'
,
success
:
function
(
data
)
{
$
(
'#user_city_choose'
).
show
();
var
temp
=
document
.
getElementById
(
'house_list_tpl'
).
innerHTML
;
var
doTtmpl
=
doT
.
template
(
temp
);
$
(
"#business_list"
).
html
(
doTtmpl
(
data
.
data
.
list
));
...
...
public/resource/js/public.js
View file @
63547634
...
...
@@ -87,6 +87,7 @@ define(['doT', 'jquery', 'text!temp/menu_template_tpl.html', 'layer'], function
if
(
window
.
location
.
pathname
==
'/index/getHouseList'
||
window
.
location
.
pathname
==
'/index/followUpList'
||
window
.
location
.
pathname
==
'/index/users_list'
||
window
.
location
.
pathname
==
'/index/RemarkFollowList'
){
$
(
'#user_city_choose'
).
show
();
}
_doc
.
on
(
'click'
,
'.menu-sub-alink'
,
function
(
e
){
e
.
preventDefault
();
e
.
stopPropagation
();
...
...
public/resource/js/realtimePerformance.js
View file @
63547634
...
...
@@ -485,7 +485,10 @@ define(['doT', 'text!temp/real_time_performance_template_tpl.html', 'text!temp/r
'store_id'
:
realtime
.
store_id
,
'agents_id'
:
realtime
.
agents_id
,
'create_time_start'
:
realtime
.
time_search_start
,
'create_time_end'
:
realtime
.
time_search_end
'create_time_end'
:
realtime
.
time_search_end
,
'pageNo'
:
1
,
'pageSize'
:
9999
};
$
.
ajax
({
type
:
'GET'
,
...
...
@@ -528,8 +531,9 @@ define(['doT', 'text!temp/real_time_performance_template_tpl.html', 'text!temp/r
'type'
:
realtime
.
switchType
,
'start_time'
:
realtime
.
time_search_start
,
'end_time'
:
realtime
.
time_search_end
,
'AuthToken'
:
user_info_obj
.
AuthToken
'AuthToken'
:
user_info_obj
.
AuthToken
,
'page_no'
:
1
,
'page_size'
:
9999
};
$
.
ajax
({
type
:
'GET'
,
...
...
@@ -573,7 +577,9 @@ define(['doT', 'text!temp/real_time_performance_template_tpl.html', 'text!temp/r
'type'
:
realtime
.
switchType
,
'start_time'
:
realtime
.
time_search_start
,
'end_time'
:
realtime
.
time_search_end
,
'AuthToken'
:
user_info_obj
.
AuthToken
'AuthToken'
:
user_info_obj
.
AuthToken
,
'page_no'
:
1
,
'page_size'
:
9999
};
$
.
ajax
({
...
...
@@ -617,7 +623,9 @@ define(['doT', 'text!temp/real_time_performance_template_tpl.html', 'text!temp/r
'type'
:
realtime
.
switchType
,
'start_time'
:
realtime
.
time_search_start
,
'end_time'
:
realtime
.
time_search_end
,
'AuthToken'
:
user_info_obj
.
AuthToken
'AuthToken'
:
user_info_obj
.
AuthToken
,
'page_no'
:
1
,
'page_size'
:
9999
};
$
.
ajax
({
type
:
'GET'
,
...
...
@@ -630,7 +638,7 @@ define(['doT', 'text!temp/real_time_performance_template_tpl.html', 'text!temp/r
if
(
typeof
data
===
'object'
)
{
if
(
data
.
code
==
200
)
{
var
doTtmpl
=
doT
.
template
(
document
.
getElementById
(
'approach_number_details_tpl'
).
innerHTML
);
$
(
"#approach_number_details_list"
).
html
(
doTtmpl
(
data
.
data
));
$
(
"#approach_number_details_list"
).
html
(
doTtmpl
(
data
.
data
.
data
));
//获取统计时间
$
(
'#approach_details_time_start'
).
html
(
realtime
.
time_search_start
);
$
(
'#approach_details_time_end'
).
html
(
realtime
.
time_search_end
);
...
...
@@ -659,7 +667,9 @@ define(['doT', 'text!temp/real_time_performance_template_tpl.html', 'text!temp/r
'type'
:
realtime
.
switchType
,
'start_time'
:
realtime
.
time_search_start
,
'end_time'
:
realtime
.
time_search_end
,
'AuthToken'
:
user_info_obj
.
AuthToken
'AuthToken'
:
user_info_obj
.
AuthToken
,
'page_no'
:
1
,
'page_size'
:
9999
};
$
.
ajax
({
type
:
'GET'
,
...
...
@@ -701,7 +711,9 @@ define(['doT', 'text!temp/real_time_performance_template_tpl.html', 'text!temp/r
'type'
:
realtime
.
switchType
,
'start_time'
:
realtime
.
time_search_start
,
'end_time'
:
realtime
.
time_search_end
,
'AuthToken'
:
user_info_obj
.
AuthToken
'AuthToken'
:
user_info_obj
.
AuthToken
,
'page_no'
:
1
,
'page_size'
:
9999
};
$
.
ajax
({
type
:
'GET'
,
...
...
@@ -743,7 +755,9 @@ define(['doT', 'text!temp/real_time_performance_template_tpl.html', 'text!temp/r
'type'
:
realtime
.
switchType
,
'start_time'
:
realtime
.
time_search_start
,
'end_time'
:
realtime
.
time_search_end
,
'AuthToken'
:
user_info_obj
.
AuthToken
'AuthToken'
:
user_info_obj
.
AuthToken
,
'page_no'
:
1
,
'page_size'
:
9999
};
$
.
ajax
({
type
:
'GET'
,
...
...
@@ -785,7 +799,9 @@ define(['doT', 'text!temp/real_time_performance_template_tpl.html', 'text!temp/r
'type'
:
realtime
.
switchType
,
'start_time'
:
realtime
.
time_search_start
,
'end_time'
:
realtime
.
time_search_end
,
'AuthToken'
:
user_info_obj
.
AuthToken
'AuthToken'
:
user_info_obj
.
AuthToken
,
'page_no'
:
1
,
'page_size'
:
9999
};
$
.
ajax
({
type
:
'GET'
,
...
...
@@ -827,7 +843,9 @@ define(['doT', 'text!temp/real_time_performance_template_tpl.html', 'text!temp/r
'type'
:
realtime
.
switchType
,
'start_time'
:
realtime
.
time_search_start
,
'end_time'
:
realtime
.
time_search_end
,
'AuthToken'
:
user_info_obj
.
AuthToken
'AuthToken'
:
user_info_obj
.
AuthToken
,
'page_no'
:
1
,
'page_size'
:
9999
};
$
.
ajax
({
type
:
'GET'
,
...
...
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