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
abaa4f8f
Commit
abaa4f8f
authored
Oct 19, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
后台 业绩排行榜 排版修改 添加城市筛选
parent
b4e35a15
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
4 deletions
+29
-4
realtimePerformance.html
application/index/view/realtime/realtimePerformance.html
+11
-1
realtimePerformance.js
public/resource/js/realtimePerformance.js
+18
-3
real_time_performance_template_tpl.html
...resource/template/real_time_performance_template_tpl.html
+0
-0
No files found.
application/index/view/realtime/realtimePerformance.html
View file @
abaa4f8f
...
...
@@ -74,6 +74,11 @@
margin-top
:
7px
;
float
:
left
;
}
.performance-ranking-head
{
float
:
left
;
margin-right
:
30px
;
margin-top
:
10px
;
}
</style>
<div
id=
"page-content-wrapper"
>
...
...
@@ -83,7 +88,12 @@
<div
class=
"panel panel-default"
>
<div
class=
"panel-heading breadcrumb"
>
<li>
<a
href=
"#"
><span
id=
"performance_ranking"
>
业绩排行
</span>
<span
id=
"rank_start_day"
></span>
至
<span
id=
"rank_end_day"
></span></a>
<a
href=
"#"
class=
"performance-ranking-head"
style=
""
><span
id=
"performance_ranking"
>
业绩排行
</span>
<span
id=
"rank_start_day"
></span>
至
<span
id=
"rank_end_day"
></span></a>
<select
class=
"form-control btn2-city"
id=
"realtime_city_choose"
style=
"display: block;margin-top: 6px;"
>
<option
value=
""
>
全部
</option>
<option
value=
"上海市"
>
上海市
</option>
<option
value=
"杭州市"
>
杭州市
</option>
</select>
</li>
</div>
<div
class=
"panel-body"
>
...
...
public/resource/js/realtimePerformance.js
View file @
abaa4f8f
...
...
@@ -25,7 +25,8 @@ define(['doT', 'text!temp/real_time_performance_template_tpl.html', 'text!temp/r
init
:
function
()
{
//初始化dot
$
(
document
.
body
).
append
(
template
+
template_tax
);
realtime
.
getList
(
1
);
//初始化城市 区域筛选
realtime
.
initializationCityFunction
();
realtime
.
event
();
},
event
:
function
()
{
...
...
@@ -413,7 +414,8 @@ define(['doT', 'text!temp/real_time_performance_template_tpl.html', 'text!temp/r
'district_id'
:
$
(
'#district_id'
).
val
(),
'store_id'
:
$
(
'#guest_stores'
).
val
(),
'agent_id'
:
realtime
.
agent_id_choose
,
'order'
:
realtime
.
order_ranking
'order'
:
realtime
.
order_ranking
,
'city'
:
$
(
'#realtime_city_choose'
).
val
()
};
$
.
ajax
({
...
...
@@ -461,7 +463,20 @@ define(['doT', 'text!temp/real_time_performance_template_tpl.html', 'text!temp/r
}
});
},
//初始化 城市
initializationCityFunction
:
function
(
params
)
{
$
.
ajax
({
url
:
'/index/getCurrentCity'
,
type
:
'GET'
,
async
:
true
,
data
:
params
,
dataType
:
'json'
,
success
:
function
(
data
)
{
$
(
'#realtime_city_choose'
).
val
(
data
.
data
.
city
);
realtime
.
getList
(
1
);
}
});
},
//获取门店排行详情
getListStore
:
function
(
pageNo
){
var
user_info_obj
=
JSON
.
parse
(
decodeURIComponent
(
localStorage
.
getItem
(
'pcUserInfo'
)));
//读取缓存
...
...
public/resource/template/real_time_performance_template_tpl.html
View file @
abaa4f8f
This diff is collapsed.
Click to expand it.
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