Browse Source

问卷调查功能

zengyicheng 3 năm trước cách đây
mục cha
commit
3037b97ea9
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  1. 5 0
      pbl.js

+ 5 - 0
pbl.js

@@ -433,6 +433,11 @@ router.route('/addAsk').all((req, res, next) => {
 router.route('/addAskList').all((req, res, next) => {
     postmysql(req, res, "insert_askList");
 });
+//根据课程id阶段id获取已提交的问卷
+router.route('/getAskListByCidStage').all((req, res, next) => {
+    var json = queryString(req.url);
+    getmysql(req, res, "getAskListByCidStage", json['cid'], json['stage']);
+});
 //获取调查问卷
 router.route('/getAsk').all((req, res, next) => {
     var json = queryString(req.url);