|
@@ -77,6 +77,10 @@ module.exports = app => {
|
|
|
router.resources('trainplan', '/api/train/trainplan', controller.trainplan); // index、create、show、destroy
|
|
|
router.post('trainplan', '/api/train/trainplan/update/:id', controller.trainplan.update);
|
|
|
|
|
|
+ // 培训计划年度批次表设置路由
|
|
|
+ router.resources('trainplanyear', '/api/train/trainplanyear', controller.trainplanyear); // index、create、show、destroy
|
|
|
+ router.post('trainplanyear', '/api/train/trainplanyear/update/:id', controller.trainplanyear.update);
|
|
|
+
|
|
|
// 节假日表设置路由
|
|
|
router.resources('festival', '/api/train/festival', controller.festival); // index、create、show、destroy
|
|
|
router.post('festival', '/api/train/festival/update/:id', controller.festival.update);
|