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
172eb88c
Commit
172eb88c
authored
Nov 14, 2018
by
xinyuandu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commit
parent
4dbfb34d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
0 deletions
+21
-0
performance_ranking.html
...n/index/view/performance_ranking/performance_ranking.html
+1
-0
performance_ranking.js
public/resource/js/performance_ranking.js
+20
-0
No files found.
application/index/view/performance_ranking/performance_ranking.html
View file @
172eb88c
...
@@ -138,6 +138,7 @@
...
@@ -138,6 +138,7 @@
margin-bottom
:
0rem
!important
;
margin-bottom
:
0rem
!important
;
}
}
</style>
</style>
<div
class=
"backer"
></div>
<div
id=
"page-content-wrapper"
>
<div
id=
"page-content-wrapper"
>
<div
class=
"container"
>
<div
class=
"container"
>
<div
class=
"row"
>
<div
class=
"row"
>
...
...
public/resource/js/performance_ranking.js
View file @
172eb88c
...
@@ -13,6 +13,7 @@ define (['doT', 'ckfinder','ckfinderStart', 'css!style/home.css',"datetimepicker
...
@@ -13,6 +13,7 @@ define (['doT', 'ckfinder','ckfinderStart', 'css!style/home.css',"datetimepicker
modal_btn_id
:
''
,
modal_btn_id
:
''
,
init
:
function
()
{
init
:
function
()
{
//初始化dot
//初始化dot
performanceRanking
.
addDark
();
performanceRanking
.
event
();
performanceRanking
.
event
();
performanceRanking
.
loadTableData
();
performanceRanking
.
loadTableData
();
performanceRanking
.
loadBusinessSchool
();
performanceRanking
.
loadBusinessSchool
();
...
@@ -53,6 +54,24 @@ define (['doT', 'ckfinder','ckfinderStart', 'css!style/home.css',"datetimepicker
...
@@ -53,6 +54,24 @@ define (['doT', 'ckfinder','ckfinderStart', 'css!style/home.css',"datetimepicker
});
});
},
},
addDark
:
function
(){
var
docHeight
=
$
(
document
).
height
();
//获取窗口高度
$
(
'body'
).
append
(
'<div id="overlay"><div style="position:relative;top:45%;left:48%;font-size:20px;color:#ffffff">数据加载中,请稍后。。。</div></div>'
);
$
(
'#overlay'
).
height
(
docHeight
).
css
({
'opacity'
:
.
9
,
//透明度
'position'
:
'absolute'
,
'top'
:
0
,
'left'
:
0
,
'background-color'
:
'black'
,
'width'
:
'100%'
,
'z-index'
:
5000
//保证这个悬浮层位于其它内容之上
});
// setTimeout(function(){}, 3000); //设置3秒后覆盖层自动淡出
// });
},
dealFileName
:
function
(
str
)
{
dealFileName
:
function
(
str
)
{
//如果文件超过30的长度,则用*代替
//如果文件超过30的长度,则用*代替
if
(
str
.
length
>
26
)
{
if
(
str
.
length
>
26
)
{
...
@@ -281,6 +300,7 @@ define (['doT', 'ckfinder','ckfinderStart', 'css!style/home.css',"datetimepicker
...
@@ -281,6 +300,7 @@ define (['doT', 'ckfinder','ckfinderStart', 'css!style/home.css',"datetimepicker
tbody
+=
'</tr>'
;
tbody
+=
'</tr>'
;
}
}
$
(
'#tbody'
).
append
(
tbody
);
$
(
'#tbody'
).
append
(
tbody
);
$
(
'#overlay'
).
fadeOut
(
''
)
}
}
};
};
...
...
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