Browse Source

教师管理数据汇总

11wqe1 9 tháng trước cách đây
mục cha
commit
d7d450d777
1 tập tin đã thay đổi với 13 bổ sung4 xóa
  1. 13 4
      pbl.js

+ 13 - 4
pbl.js

@@ -5831,7 +5831,7 @@ router.route("/selectCollaborativeMembersOrg").all(function(req, res, next) {
 
 // 教师发展获取数据来源表单标题
 router.route("/selectExamineTestName").all(function(req, res, next) {
-    var json = queryString(req.url);
+    // var json = queryString(req.url);
     // console.log(json);
     postmysql(req, res, "selectExamineTestName");
     
@@ -5855,13 +5855,22 @@ router.route("/selectTestExaminePersonData").all(function(req, res, next) {
 
 // 教师发展 管理员提交数据
 router.route("/updateExamineCogData").all(function(req, res, next) {
-    var json = queryString(req.url);
+    // var json = queryString(req.url);
     // console.log(json);
     postmysql(req, res, "updateExamineCogData");
-    
-    // getmysql(req, res, "selectExamineTestName", json["testId"]);
+});
+// 教师发展 管理员撤回提交数据
+router.route("/updateExamineState").all(function(req, res, next) {
+    // var json = queryString(req.url);
+    postmysql(req, res, "updateExamineState");
 });
 
+// 教师发展 获取数据汇总
+router.route("/selectTestWorksAggregate").all(function(req, res, next) {
+    var json = queryString(req.url);
+    
+    getmysql(req, res, "selectTestWorksAggregate", json["oid"], json["org"]);
+});
 
 
 // 获取教师管理table数据