Commit 22b73c9d authored by agping's avatar agping

业绩排行榜 优化

parent 85593150
......@@ -79,6 +79,18 @@
margin-right: 30px;
margin-top: 10px;
}
/*加载图标*/
#main_loading_pic {
position: fixed;
top: 50%;
left: 50%;
width: 100px;
height: 100px;
margin-left: -50px;
margin-top: -50px;
overflow: hidden;
display: none;
}
</style>
<div id="page-content-wrapper">
......@@ -577,4 +589,8 @@
</div>
<!-- /.modal -->
</div>
</div>
<!--加载图标-->
<div id="main_loading_pic">
<img src="/resource/image/jz2.gif">
</div>
\ No newline at end of file
......@@ -431,7 +431,9 @@ define(['doT', 'text!temp/real_time_performance_template_tpl.html', 'text!temp/r
data: params,
timeout: 30000,
dataType: 'json',
beforeSend: function() {},
beforeSend: function() {
$('#main_loading_pic').show();
},
success: function(data) {
if(typeof data === 'object') {
if(data.code == 200) {
......@@ -465,6 +467,7 @@ define(['doT', 'text!temp/real_time_performance_template_tpl.html', 'text!temp/r
alert('error');
},
complete: function(xhr, textStatus) {
$('#main_loading_pic').hide();
if(textStatus === 'timeout') {
alert('请求超时');
};
......
......@@ -478,10 +478,13 @@
<td class="text-left">[%= it[item]['industry_type'] %]</td>
<td class="text-center">[%= it[item]['last_phone_follow_time'] %]</td>
<td>
[% if(it[item]["status"] == 0) { %]
已租
[% if(it[item]["status"] == 1) { %]
上架
[% }else if(it[item]["status"] == 2){ %]
下架
[% }else{ %]
待租
回收
[% } %]
</td>
</tr>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment