소스 검색

修复双评第二评卷员无法提交;退出登陆后菜单未跳转;评卷速度单位为秒

ting.yin 6 년 전
부모
커밋
eb44ee43fd

+ 1 - 1
stmms-biz/src/main/java/cn/com/qmth/stmms/biz/mark/service/Impl/MarkServiceImpl.java

@@ -563,7 +563,7 @@ public class MarkServiceImpl implements MarkService {
                     // 本评卷任务或组长已打分,则跳过该任务
                     continue;
                 }
-                if (Math.abs(other.getMarkerScore() - library.getMarkerScore()) > group.getArbitrateThreshold()) {
+                if (Math.abs(other.getMarkerScore() - result.getTotalScore()) > group.getArbitrateThreshold()) {
                     // 分差超过阀值,触发仲裁
                     history = new ArbitrateHistory();
                     history.setExamId(library.getExamId());

+ 1 - 1
stmms-web/src/main/webapp/WEB-INF/views/modules/exam/qualityList.jsp

@@ -53,7 +53,7 @@
 				<th>完成任务数</th>
 				<th>有效评卷数</th>
 				<th>评卷采用率</th>
-				<th>评卷速度</th>
+				<th>评卷速度(秒)</th>
 				<th>平均分</th>
 				<th>标准差</th>
 			</tr>

+ 3 - 0
stmms-web/src/main/webapp/WEB-INF/views/modules/sys/login.jsp

@@ -19,6 +19,9 @@
 				$("#adminLogin").removeClass("on");
 				$("#showType").attr("value","mark-login");
 			});
+			if(self.frameElement && self.frameElement.tagName=="IFRAME"){
+				parent.location.reload();
+			}
 		});
 	</script>
 </head>