lsc 9 ヶ月 前
コミット
213c4b3d5b
1 ファイル変更37 行追加0 行削除
  1. 37 0
      pbl.js

+ 37 - 0
pbl.js

@@ -736,6 +736,32 @@ router.route("/selectTipsTemplateById").all((req, res, next) => {
     getmysql(req, res, "selectTipsTemplateById", json["id"]);
 });
 
+//新增提示词
+router.route("/addTipsHK").all((req, res, next) => {
+    postmysql(req, res, "addTipsHK");
+});
+
+//保存提示词模板
+router.route("/addTipsTemplateHK").all((req, res, next) => {
+    postmysql(req, res, "addTipsTemplateHK");
+});
+
+//删除提示词模板
+router.route("/deleteTipsTemplateHK").all((req, res, next) => {
+    postmysql(req, res, "deleteTipsTemplateHK");
+});
+
+//查询模板
+router.route("/selectTipsTemplateHK").all((req, res, next) => {
+    var json = queryString(req.url);
+    getmysql(req, res, "selectTipsTemplateHK", json["userid"], json["oid"], json["org"], json["type"], json["name"]);
+});
+
+//查询模板
+router.route("/selectTipsTemplateByIdHK").all((req, res, next) => {
+    var json = queryString(req.url);
+    getmysql(req, res, "selectTipsTemplateByIdHK", json["id"]);
+});
 
 //新增课程
 router.route("/addWork").all((req, res, next) => {
@@ -7180,6 +7206,17 @@ router.route("/getTestWorksPerson").all((req, res, next) => {
     getmysql(req, res, "getTestWorksPerson", json["uid"], json["typeid"]);
 });
 
+//教师发展-考核-查询是否有提交的的数据
+router.route("/getTestExamineByUserId").all((req, res, next) => {
+    var json = queryString(req.url);
+    getmysql(req, res, "getTestExamineByUserId", json["uid"], json["type"]);
+});
+
+//教师发展-考核-查询是否有提交的的数据
+router.route("/addTestExamineWorks").all((req, res, next) => {
+    postmysql(req, res, "addTestExamineWorks");
+});
+
 //查询英语写作评价模板
 router.route("/selectEnglishEva").all((req, res, next) => {
     var json = queryString(req.url);