|
@@ -2635,6 +2635,10 @@ router.route("/deleteStudentCourse").all((req, res, next) => {
|
|
|
router.route("/copyCourse").all((req, res, next) => {
|
|
|
postmysql(req, res, "copyCourse");
|
|
|
});
|
|
|
+//复制评价体系
|
|
|
+router.route("/copyEva").all((req, res, next) => {
|
|
|
+ postmysql(req, res, "copyEva");
|
|
|
+});
|
|
|
//复制课程
|
|
|
router.route("/copySCourse").all((req, res, next) => {
|
|
|
postmysql(req, res, "copySCourse");
|
|
@@ -4188,6 +4192,18 @@ router.route("/deleteEvaluation").all((req, res, next) => {
|
|
|
postmysql(req, res, "delete_evaluation");
|
|
|
// id评价id
|
|
|
});
|
|
|
+
|
|
|
+//删除评价体系前查询课程是否有该评价
|
|
|
+router.route("/selectCourseEva").all((req, res, next) => {
|
|
|
+ var json = queryString(req.url); //cid 课程id,page 页数
|
|
|
+ getmysql(
|
|
|
+ req,
|
|
|
+ res,
|
|
|
+ "select_course_eva",
|
|
|
+ json["eid"],
|
|
|
+ );
|
|
|
+});
|
|
|
+
|
|
|
//批量添加学校
|
|
|
router.route("/batchRegistrationSchool").post(function(req, res, next) {
|
|
|
let users = req.body[0];
|