|
@@ -85,7 +85,7 @@ MarkStatus.prototype.checkTopCount = function(task) {
|
|
|
|
|
|
MarkStatus.prototype.render = function(status) {
|
|
|
if (status != undefined && status.valid === true) {
|
|
|
- //var topCount = status.topCount;
|
|
|
+ var topCount = status.topCount;
|
|
|
this.topStatus.find('#mark-count').html(status.personCount);
|
|
|
|
|
|
//大题进度信息区域
|
|
@@ -100,6 +100,10 @@ MarkStatus.prototype.render = function(status) {
|
|
|
} else if (markedPercent == '0' && markedCount > 0) {
|
|
|
markedPercent = '1';
|
|
|
}
|
|
|
+ if(topCount > 0){
|
|
|
+ this.blockProgress.find('#todo-count').after('<i>任务数<em id="top-count"></em></i>');
|
|
|
+ this.blockProgress.find('#top-count').html(topCount);
|
|
|
+ }
|
|
|
this.blockProgress.find('#total-count').html(totalCount);
|
|
|
this.blockProgress.find('#marked-count').html(markedCount);
|
|
|
this.blockProgress.find('#todo-count').html(leftCount);
|