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
404af11f
Commit
404af11f
authored
Nov 14, 2018
by
xinyuandu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commit
parent
2275376d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
10 deletions
+31
-10
performance_ranking.html
...n/index/view/performance_ranking/performance_ranking.html
+2
-2
app_jump.js
public/app/js/app_jump.js
+1
-1
performance_ranking.js
public/resource/js/performance_ranking.js
+28
-7
No files found.
application/index/view/performance_ranking/performance_ranking.html
View file @
404af11f
...
...
@@ -249,8 +249,8 @@
<div
class=
"col-xs-4 p-a-10 p-t-0"
>
<div
class=
"panel panel-default"
>
<div
class=
"area-title p-a-15 p-b-10"
>
<span
>
经理职称C档
</span>
<span
class=
"title-time"
>
(2018.11.1-11.6)
</a
></span>
<span
id=
"table-title"
>
</span>
<span
class=
"title-time"
id=
"table-time"
></span>
</div>
<div
style=
"max-height:6.97rem;;overflow-y:scroll"
>
...
...
public/app/js/app_jump.js
View file @
404af11f
...
...
@@ -90,7 +90,7 @@ function jumpEvent(){
if
(
$
(
'#jump_link'
).
attr
(
"data-phone"
)
==
'true'
?
true
:
false
){
if
(
device
.
isIos
())
{
if
(
navigator
.
userAgent
.
toLowerCase
().
match
(
/MicroMessenger/i
)
!=
'micromessenger'
)
{
window
.
location
.
href
=
'externalCallTLC://
ToTLC/openShopDetail'
+
"?"
+
id
;
window
.
location
.
href
=
'externalCallTLC://
AppOpenShopDetail/'
+
id
;
window
.
setTimeout
(
function
(){
location
.
href
=
ServerHostTempC
+
_clientType
===
'b'
?
'/app_broker/download_b'
:
'/app.php/app/download_c'
},
10000
);
...
...
public/resource/js/performance_ranking.js
View file @
404af11f
...
...
@@ -14,12 +14,13 @@ define (['doT', 'ckfinder','ckfinderStart', 'css!style/home.css',"datetimepicker
init
:
function
()
{
//初始化dot
performanceRanking
.
event
();
performanceRanking
.
loadTableData
();
performanceRanking
.
loadBusinessSchool
();
performanceRanking
.
loadNotice
();
// performanceRanking.loadTeam();
// performanceRanking.loadPerson();
performanceRanking
.
aa
a
();
performanceRanking
.
bbb
();
performanceRanking
.
loadWinerDat
a
();
//时间控件初始化
},
event
:
function
()
{
...
...
@@ -140,7 +141,7 @@ define (['doT', 'ckfinder','ckfinderStart', 'css!style/home.css',"datetimepicker
},
aa
a
:
function
(){
loadWinerDat
a
:
function
(){
var
that
=
performanceRanking
;
var
params
=
{
'site_id'
:
10001
...
...
@@ -212,16 +213,36 @@ define (['doT', 'ckfinder','ckfinderStart', 'css!style/home.css',"datetimepicker
},
//
bbb
:
function
(){
loadTableData
:
function
(){
var
that
=
performanceRanking
;
var
date
=
new
Date
();
var
time
=
"("
+
date
.
getFullYear
()
+
"."
+
(
date
.
getMonth
()
+
1
)
+
".1-"
+
(
date
.
getMonth
()
+
1
)
+
date
.
getDate
()
+
")"
;
$
(
'#table-time'
).
text
(
time
);
var
user_info_obj
=
JSON
.
parse
(
decodeURIComponent
(
localStorage
.
getItem
(
'pcUserInfo'
)));
//读取缓存
var
id
=
user_info_obj
.
id
;
console
.
log
(
id
);
var
params
=
{
'agent_id'
:
id
}
$
.
get
(
'/index/getRandKingListByAgentId'
,
params
,
function
(
data
){
that
.
loadTable
(
data
.
data
.
list
,
data
.
data
.
grade
)
that
.
loadTable
(
data
.
data
.
list
,
data
.
data
.
grade
);
var
str
=
"ABCDEFGHIJKLMNOPQRSTUVWXYZ"
;
var
value
=
str
[
data
.
data
.
grade
];
var
name
=
data
.
data
.
position
;
var
text
=
""
;
if
(
name
==
0
){
text
=
"新人职称"
+
value
+
"档"
}
else
if
(
name
==
1
){
text
=
"店长职称"
+
value
+
"档"
}
else
if
(
name
==
2
){
text
=
"经理职称"
+
value
+
"档"
}
else
if
(
name
==
3
){
text
=
"主任职称"
+
value
+
"档"
}
else
if
(
name
==
4
){
text
=
"顾问职称"
+
value
+
"档"
}
else
if
(
name
==
5
){
text
=
"无职称职称"
+
value
+
"档"
}
$
(
'#table-title'
).
text
(
text
);
},
'json'
)
},
//
...
...
@@ -249,7 +270,7 @@ define (['doT', 'ckfinder','ckfinderStart', 'css!style/home.css',"datetimepicker
tbody
+=
'</tr>'
;
}
// $('#table').bootstrapTable('load', tableData);
$
(
'#tbody'
).
append
(
tbody
)
$
(
'#tbody'
).
append
(
tbody
)
;
}
// loadPerson : function(){
...
...
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