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
f62d8ac7
Commit
f62d8ac7
authored
Nov 22, 2018
by
xinyuandu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
com
parent
c903c19c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
1 deletion
+24
-1
performance_ranking.js
public/resource/js/performance_ranking.js
+24
-1
No files found.
public/resource/js/performance_ranking.js
View file @
f62d8ac7
...
...
@@ -52,6 +52,29 @@ define (['doT', 'ckfinder','ckfinderStart', 'css!style/home.css',"datetimepicker
}
});
$
(
document
).
on
(
'click'
,
'.table-choose'
,
function
(
e
){
// $('.table-choose').click(function(){
console
.
log
(
e
)
if
(
$
(
this
).
hasClass
(
"active"
)){
console
.
log
(
"true"
);
//nothing to change
}
else
{
console
.
log
(
"false"
)
$
(
this
).
parent
().
parent
().
find
(
".active"
).
removeClass
(
"active"
);
$
(
this
).
addClass
(
"active"
);
if
(
$
(
this
).
attr
(
id
)
==
"table-title"
)
{
$
(
'#group'
).
hide
();
$
(
'#person'
).
show
();
}
else
{
$
(
'#person'
).
hide
();
$
(
'#group'
).
show
();
}
}
});
},
addDark
:
function
(){
...
...
@@ -241,7 +264,7 @@ define (['doT', 'ckfinder','ckfinderStart', 'css!style/home.css',"datetimepicker
//
// }
// tag += ' <image src="/resource/image/first.png" style="width:0.24rem;height:0.171rem"></image>';
tag
+=
' <span>'
+
data
[
i
].
store_
name
+
'</span>'
;
tag
+=
' <span>'
+
data
[
i
].
name
+
'</span>'
;
tag
+=
' </div>'
;
tag
+=
'</div>'
;
}
...
...
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