|
@@ -6883,6 +6883,19 @@ router.route("/getEvaluation").all((req, res, next) => {
|
|
|
);
|
|
);
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
|
|
+// 获取教师创建的学习空间 yym
|
|
|
|
|
+router.route("/getteacreateSpace").all((req, res, next) => {
|
|
|
|
|
+ var json = queryString(req.url);
|
|
|
|
|
+ getmysql(
|
|
|
|
|
+ req,
|
|
|
|
|
+ res,
|
|
|
|
|
+ "getteacreateSpace",
|
|
|
|
|
+ json["uid"],
|
|
|
|
|
+ json["oid"],
|
|
|
|
|
+ json["type"]
|
|
|
|
|
+ );
|
|
|
|
|
+});
|
|
|
|
|
+
|
|
|
//添加学校 yym
|
|
//添加学校 yym
|
|
|
router.route("/insert_school3New").all((req, res, next) => {
|
|
router.route("/insert_school3New").all((req, res, next) => {
|
|
|
postmysql(req, res, "insert_school3New");
|
|
postmysql(req, res, "insert_school3New");
|
|
@@ -6893,11 +6906,26 @@ router.route("/addClassgra").all((req, res, next) => {
|
|
|
postmysql(req, res, "addClassgra");
|
|
postmysql(req, res, "addClassgra");
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
|
|
+//添加教师创建测试的学习空间 yym
|
|
|
|
|
+router.route("/addteaTestspace").all((req, res, next) => {
|
|
|
|
|
+ postmysql(req, res, "addteaTestspace");
|
|
|
|
|
+});
|
|
|
|
|
+
|
|
|
//添加班级 yym
|
|
//添加班级 yym
|
|
|
router.route("/addClassgraNew").all((req, res, next) => {
|
|
router.route("/addClassgraNew").all((req, res, next) => {
|
|
|
postmysql(req, res, "addClassgraNew");
|
|
postmysql(req, res, "addClassgraNew");
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
|
|
+//更新教师空间的课程信息 yym
|
|
|
|
|
+router.route("/updateSpaceCourseInfo").all((req, res, next) => {
|
|
|
|
|
+ postmysql(req, res, "updateSpaceCourseInfo");
|
|
|
|
|
+});
|
|
|
|
|
+
|
|
|
|
|
+//批量创建学生空间 yym
|
|
|
|
|
+router.route("/insertstuSpace").all((req, res, next) => {
|
|
|
|
|
+ postmysql(req, res, "insertstuSpace");
|
|
|
|
|
+});
|
|
|
|
|
+
|
|
|
//禁用启用社区 yym
|
|
//禁用启用社区 yym
|
|
|
router.route("/updateCyOP").all((req, res, next) => {
|
|
router.route("/updateCyOP").all((req, res, next) => {
|
|
|
postmysql(req, res, "updateCyOP");
|
|
postmysql(req, res, "updateCyOP");
|
|
@@ -6909,6 +6937,18 @@ router.route("/selectliyuanByIc2SZ").all((req, res, next) => {
|
|
|
getmysql(req, res, "selectliyuanByIc2SZ", json["code"], json["oid"],json["orgL"]);
|
|
getmysql(req, res, "selectliyuanByIc2SZ", json["code"], json["oid"],json["orgL"]);
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
|
|
+// 获取多班级学生 yym
|
|
|
|
|
+router.route("/selectMultiClassStudent").all((req, res, next) => {
|
|
|
|
|
+ var json = queryString(req.url);
|
|
|
|
|
+ getmysql(req, res, "selectMultiClassStudent", json["oid"], json["claid"]);
|
|
|
|
|
+});
|
|
|
|
|
+
|
|
|
|
|
+// 获取多班级学生id yym
|
|
|
|
|
+router.route("/selectMultiClassStudentid").all((req, res, next) => {
|
|
|
|
|
+ var json = queryString(req.url);
|
|
|
|
|
+ getmysql(req, res, "selectMultiClassStudentid", json["oid"], json["claid"]);
|
|
|
|
|
+});
|
|
|
|
|
+
|
|
|
// 笔架山获取拔尖人才课程 yym
|
|
// 笔架山获取拔尖人才课程 yym
|
|
|
router.route("/selectPersonCourseList").all((req, res, next) => {
|
|
router.route("/selectPersonCourseList").all((req, res, next) => {
|
|
|
var json = queryString(req.url);
|
|
var json = queryString(req.url);
|
|
@@ -10399,6 +10439,22 @@ router.route("/insertCocoStudyClass").all((req,res,next)=>{
|
|
|
postmysql(req, res, "insertCocoStudyClass");
|
|
postmysql(req, res, "insertCocoStudyClass");
|
|
|
})
|
|
})
|
|
|
|
|
|
|
|
|
|
+// qgt cocoStudy组卷中心添加试卷/题目
|
|
|
|
|
+router.route("/insert_cocoStudyQuestion").all((req,res,next)=>{
|
|
|
|
|
+ postmysql(req, res, "insert_cocoStudyQuestion");
|
|
|
|
|
+})
|
|
|
|
|
+
|
|
|
|
|
+// qgt 查询cocoStudy组卷中心添加试卷/题目
|
|
|
|
|
+router.route("/select_cocoStudyQuestionByUid").all((req,res,next)=>{
|
|
|
|
|
+ var json = queryString(req.url);
|
|
|
|
|
+ getmysql(req, res, "select_cocoStudyQuestionByUid",json["uid"],json["type"]);
|
|
|
|
|
+})
|
|
|
|
|
+
|
|
|
|
|
+// qgt 查询cocoStudy具体题目/试卷
|
|
|
|
|
+router.route("/select_cocoStudyQuestionById").all((req,res,next)=>{
|
|
|
|
|
+ var json = queryString(req.url);
|
|
|
|
|
+ getmysql(req, res, "select_cocoStudyQuestionById",json["uid"],json["tid"],json["pid"]);
|
|
|
|
|
+})
|
|
|
|
|
|
|
|
//教师管理 查看填写范围的教师权限
|
|
//教师管理 查看填写范围的教师权限
|
|
|
router.route("/getTestWorkTeacherCount").all((req,res,next)=>{
|
|
router.route("/getTestWorkTeacherCount").all((req,res,next)=>{
|