1
0
Pārlūkot izejas kodu

云阅卷可由管理员进行评卷员的任务数指定,在评卷员完成任务数后,系统给出提示“已完成任务数,是否继续阅卷”

nikang 7 gadi atpakaļ
vecāks
revīzija
e8e1c84d80

+ 5 - 1
stmms-web/src/main/webapp/static/mark-new/js/modules/mark-status.js

@@ -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);

+ 5 - 1
stmms-web/src/main/webapp/static/mark-track/js/modules/mark-status.js

@@ -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);