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
25d4e315
Commit
25d4e315
authored
Jul 24, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
业绩排行 修改
parent
9cc293c1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
2 deletions
+13
-2
realtimePerformance.html
application/index/view/realtime/realtimePerformance.html
+7
-1
realtimePerformance.js
public/resource/js/realtimePerformance.js
+6
-1
No files found.
application/index/view/realtime/realtimePerformance.html
View file @
25d4e315
...
@@ -9,6 +9,12 @@
...
@@ -9,6 +9,12 @@
height
:
900px
;
height
:
900px
;
overflow-y
:
scroll
;
overflow-y
:
scroll
;
}
}
#rank_start_day
,
#rank_end_day
,
#performance_ranking
{
font-size
:
16px
;
/*font-weight: 600;*/
}
</style>
</style>
<div
id=
"page-content-wrapper"
>
<div
id=
"page-content-wrapper"
>
...
@@ -18,7 +24,7 @@
...
@@ -18,7 +24,7 @@
<div
class=
"panel panel-default"
>
<div
class=
"panel panel-default"
>
<div
class=
"panel-heading breadcrumb"
>
<div
class=
"panel-heading breadcrumb"
>
<li>
<li>
<a
href=
"#"
>
实时业绩
</a>
<a
href=
"#"
>
<span
id=
"performance_ranking"
>
业绩排行
</span>
<span
id=
"rank_start_day"
></span>
至
<span
id=
"rank_end_day"
></span>
</a>
</li>
</li>
</div>
</div>
<div
class=
"panel-body"
>
<div
class=
"panel-body"
>
...
...
public/resource/js/realtimePerformance.js
View file @
25d4e315
...
@@ -92,7 +92,9 @@ define(['doT', 'text!temp/real_time_performance_template_tpl.html', 'css!style/h
...
@@ -92,7 +92,9 @@ define(['doT', 'text!temp/real_time_performance_template_tpl.html', 'css!style/h
'pageSize'
:
bargain
.
pageSize
,
'pageSize'
:
bargain
.
pageSize
,
'type'
:
bargain
.
switchType
(),
'type'
:
bargain
.
switchType
(),
'AuthToken'
:
user_info_obj
.
AuthToken
,
'AuthToken'
:
user_info_obj
.
AuthToken
,
'agent_id'
:
user_info_obj
.
id
'agent_id'
:
user_info_obj
.
id
,
'start_day'
:
$
(
'#maintable_create_time'
).
val
(),
'end_day'
:
$
(
'#maintable_end_time'
).
val
()
};
};
$
.
ajax
({
$
.
ajax
({
type
:
'GET'
,
type
:
'GET'
,
...
@@ -108,6 +110,9 @@ define(['doT', 'text!temp/real_time_performance_template_tpl.html', 'css!style/h
...
@@ -108,6 +110,9 @@ define(['doT', 'text!temp/real_time_performance_template_tpl.html', 'css!style/h
console
.
log
(
tpl
);
console
.
log
(
tpl
);
var
doTtmpl
=
doT
.
template
(
document
.
getElementById
(
tpl
).
innerHTML
);
var
doTtmpl
=
doT
.
template
(
document
.
getElementById
(
tpl
).
innerHTML
);
$
(
"#maintable_list"
).
html
(
doTtmpl
(
data
.
data
));
$
(
"#maintable_list"
).
html
(
doTtmpl
(
data
.
data
));
//获取统计时间
$
(
'#rank_start_day'
).
html
(
data
.
data
.
start_time
);
$
(
'#rank_end_day'
).
html
(
data
.
data
.
end_time
);
/*分页代码*/
/*分页代码*/
add_page
(
data
.
data
.
total
,
pageNo
,
bargain
.
pageSize
,
bargain
.
getList
);
add_page
(
data
.
data
.
total
,
pageNo
,
bargain
.
pageSize
,
bargain
.
getList
);
...
...
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