|
@@ -4714,6 +4714,48 @@ router.route("/getCourseWorks3").all((req, res, next) => {
|
|
|
);
|
|
|
});
|
|
|
|
|
|
+
|
|
|
+//查询上传作业
|
|
|
+router.route("/getCourseWorks3Copy").all((req, res, next) => {
|
|
|
+ var json = queryString(req.url); //cid 课程id,page 页数
|
|
|
+ getmysql(
|
|
|
+ req,
|
|
|
+ res,
|
|
|
+ "getCourseWorks3Copy",
|
|
|
+ json["cid"],
|
|
|
+ json["uname"],
|
|
|
+ json["stage"],
|
|
|
+ json["task"],
|
|
|
+ json["page"],
|
|
|
+ 10
|
|
|
+ );
|
|
|
+});
|
|
|
+
|
|
|
+//评价管理查看报告-学生上下切换功能
|
|
|
+router.route("/getCourseWorksList").all((req, res, next) => {
|
|
|
+ var json = queryString(req.url); //cid 课程id
|
|
|
+ getmysql(
|
|
|
+ req,
|
|
|
+ res,
|
|
|
+ "getCourseWorksList",
|
|
|
+ json["cid"]
|
|
|
+ );
|
|
|
+});
|
|
|
+
|
|
|
+//评价管理查看报告筛选获取班级
|
|
|
+router.route("/getCourseReportClassList").all((req, res, next) => {
|
|
|
+ var json = queryString(req.url); //cid 课程id
|
|
|
+ getmysql(
|
|
|
+ req,
|
|
|
+ res,
|
|
|
+ "getCourseReportClassList",
|
|
|
+ json["cid"]
|
|
|
+ );
|
|
|
+});
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
//查询上传作业--加上筛选班级
|
|
|
router.route("/getCourseWorks5").all((req, res, next) => {
|
|
|
var json = queryString(req.url); //cid 课程id,page 页数
|
|
@@ -5928,6 +5970,18 @@ router.route("/selectTeacherOffice2").all(function(req, res, next) {
|
|
|
getmysql(req, res, "selectTeacherOffice2", json["cu"], json["oid"], json["cn"], json["pid"], json["page"], 10);
|
|
|
});
|
|
|
|
|
|
+/* 查询教研室*/
|
|
|
+router.route("/selectPerInfoTeacherOffice").all(function(req, res, next) {
|
|
|
+ var json = queryString(req.url);
|
|
|
+ getmysql(req, res, "selectPerInfoTeacherOffice", json["cu"], json["oid"], json["cn"], 6);
|
|
|
+});
|
|
|
+
|
|
|
+/* 查询所有教研室分类与分类下的数据*/
|
|
|
+router.route("/selectPerInfoAllTea").all(function(req, res, next) {
|
|
|
+ var json = queryString(req.url);
|
|
|
+ getmysql(req, res, "selectPerInfoAllTea",json["oid"]);
|
|
|
+});
|
|
|
+
|
|
|
|
|
|
/* 查询教研室类型lim */
|
|
|
router.route("/selectTeacherOfficeTypeLim").all(function(req, res, next) {
|