|
@@ -1072,6 +1072,12 @@ router.route("/allWorkEmptySco").all((req, res, next) => {
|
|
|
postmysql(req, res, "allWorkEmptySco");
|
|
|
});
|
|
|
|
|
|
+//一键重置作业分数
|
|
|
+router.route("/allWorkEmptyScoTwo").all((req, res, next) => {
|
|
|
+ postmysql(req, res, "allWorkEmptyScoTwo");
|
|
|
+});
|
|
|
+
|
|
|
+
|
|
|
|
|
|
|
|
|
//查询课程某个阶段某个任务下的评价 修1 这个update,但标题查询
|
|
@@ -1089,6 +1095,22 @@ router.route("/updateWorksEva").get((req, res, next) => {
|
|
|
);
|
|
|
});
|
|
|
|
|
|
+//查询课程某个阶段某个任务下的评价 修1 这个update,但标题查询
|
|
|
+router.route("/updateWorksEvaTwo").get((req, res, next) => {
|
|
|
+ var json = queryString(req.url);
|
|
|
+ getmysql2(
|
|
|
+ req,
|
|
|
+ res,
|
|
|
+ "updateWorksEvaTwo",
|
|
|
+ json["cid"],
|
|
|
+ json["s"],
|
|
|
+ json["t"],
|
|
|
+ json["tool"],
|
|
|
+ json["uid"],
|
|
|
+ json["rate"]
|
|
|
+ );
|
|
|
+});
|
|
|
+
|
|
|
//学习中心教师查询作业
|
|
|
router.route("/selectSWorks").all((req, res, next) => {
|
|
|
var json = queryString(req.url);
|
|
@@ -1101,6 +1123,12 @@ router.route("/selectMarkDialogWorks").all((req, res, next) => {
|
|
|
getmysql(req, res, "selectMarkDialogWorks", json["uid"],json["cid"], json["s"], json["t"], json["g"]);
|
|
|
});
|
|
|
|
|
|
+//学习中心教师查询工具作业
|
|
|
+router.route("/selectMarkDialogWorksTwo").all((req, res, next) => {
|
|
|
+ var json = queryString(req.url);
|
|
|
+ getmysql(req, res, "selectMarkDialogWorksTwo", json["uid"],json["cid"], json["s"], json["t"], json["g"]);
|
|
|
+});
|
|
|
+
|
|
|
//学习中心教师查询作业全部展示
|
|
|
router.route("/selectSWorks2").all((req, res, next) => {
|
|
|
var json = queryString(req.url);
|
|
@@ -6209,6 +6237,13 @@ router.route("/selectWorksEvaScore").all(function(req, res, next) {
|
|
|
getmysql(req, res, "selectWorksEvaScore", json["uid"], json["cid"]);
|
|
|
});
|
|
|
|
|
|
+// 课程管理-文档评分
|
|
|
+router.route("/selectWorksEvaScoreTwo").all(function(req, res, next) {
|
|
|
+ var json = queryString(req.url);
|
|
|
+
|
|
|
+ getmysql(req, res, "selectWorksEvaScoreTwo", json["uid"], json["cid"], json["s"], json["t"], json["tool"]);
|
|
|
+});
|
|
|
+
|
|
|
/* 新增教研室 */
|
|
|
router.route("/insertTeacherOfficeCopy").all(function(req, res, next) {
|
|
|
postmysql(req, res, "insertTeacherOfficeCopy");
|