lsc 11 months ago
parent
commit
5dd8b40b9b
1 changed files with 31 additions and 0 deletions
  1. 31 0
      pbl.js

+ 31 - 0
pbl.js

@@ -4200,6 +4200,21 @@ router.route("/selectAllStudent").all((req, res, next) => {
         10
         10
     );
     );
 });
 });
+//查看本校所有学生(分页)teacher
+router.route("/selectAllStudentTeacher").all((req, res, next) => {
+    var json = queryString(req.url);
+    getmysql(
+        req,
+        res,
+        "selectAllStudentTeacher",
+        json["oid"],
+        json["cn"],
+        json["cid"],
+        json["userid"],
+        json["page"],
+        10
+    );
+});
 
 
 //根据学校id查询子分类
 //根据学校id查询子分类
 router.route("/selectTypeByOid").all((req, res, next) => {
 router.route("/selectTypeByOid").all((req, res, next) => {
@@ -4963,6 +4978,22 @@ router.route("/selectStudentCourseWorksTwo").all((req, res, next) => {
         10
         10
     );
     );
 });
 });
+//查询学生课程作业
+router.route("/selectStudentCourseWorksTwo2").all((req, res, next) => {
+    var json = queryString(req.url); //cid 课程id,page 页数
+    getmysql(
+        req,
+        res,
+        "selectStudentCourseWorksTwo2",
+        json["uid"],
+        json["cname"],
+        json["uClass"],
+        json["userid"],
+        json["page"],
+        10
+    );
+});
+
 
 
 //查询报告数据
 //查询报告数据
 router.route("/getCourseWorksReport").all((req, res, next) => {
 router.route("/getCourseWorksReport").all((req, res, next) => {