ソースを参照

提交问题卷时可忽略强制标记

ting.yin 5 年 前
コミット
05b431a4ad

+ 1 - 1
stmms-web/src/main/webapp/static/mark-new/js/mark-control.js

@@ -564,7 +564,7 @@ MarkControl.prototype.submitTask = function(submitUrl) {
 
     if (task != undefined && this.context.submitting != true) {
         //开启强制标记
-        if (this.option.forceSpecialTag === true) {
+        if (this.option.forceSpecialTag === true && task.problem!=true) {
             if (task.tagList == undefined || task.tagList == null || task.tagList.length <= 0) {
                 markControl.trigger('task.submit.forceSpecialTag');
                 return;

+ 1 - 1
stmms-web/src/main/webapp/static/mark-track/js/mark-control.js

@@ -568,7 +568,7 @@ MarkControl.prototype.submitTask = function(submitUrl) {
 
     if (task != undefined && this.context.submitting != true) {
         //开启强制标记
-        if (this.option.forceSpecialTag === true) {
+        if (this.option.forceSpecialTag === true && task.problem!=true) {
             var isTag = !(task.tagList == undefined || task.tagList == null || task.tagList.length <= 0);
             var isTrack = false;
             for (var i in task.trackList) {