|
@@ -838,6 +838,23 @@ router.route('/getWorkData').all((req, res, next) => {
|
|
|
getmysql(req, res, "select_work_data", json['cid']);
|
|
|
});
|
|
|
|
|
|
+//查询评价体系
|
|
|
+router.route('/getEvaluation').all((req, res, next) => {
|
|
|
+ var json = queryString(req.url); //cid 课程id,page 页数
|
|
|
+ getmysql(req, res, "select_evaluation", json['n'], json['page'],10);
|
|
|
+});
|
|
|
+
|
|
|
+//添加评价体系
|
|
|
+router.route('/addEvaluation').all((req, res, next) => {
|
|
|
+ postmysql(req, res, "add_evaluation");
|
|
|
+ //uid 用户id t标题 c内容
|
|
|
+});
|
|
|
+
|
|
|
+//修改评价体系
|
|
|
+router.route('/updateEvaluation').all((req, res, next) => {
|
|
|
+ postmysql(req, res, "update_evaluation");
|
|
|
+ //c内容 t标题 id评价id
|
|
|
+});
|
|
|
|
|
|
|
|
|
router.route('/batchRegistrationMore').post(function(req, res, next) {
|