|
|
@ -187,4 +187,14 @@ route.addContextMenu(router,'matrix/:id/possibility','风险严重程度') |
|
|
|
|
|
|
|
|
|
|
|
route.addContextMenu(router,'matrix/:id/level','风险严重程度') |
|
|
|
route.addContextMenu(router,'matrix/:id/level','风险严重程度') |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
router.delete('/matrix/:id', function (req, res, next) { |
|
|
|
|
|
|
|
var data=mock.ok('矩阵删除成功') |
|
|
|
|
|
|
|
res.json(data) |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
router.post('/matrix', function (req, res, next) { |
|
|
|
|
|
|
|
var data=mock.ok('矩阵拷贝成功') |
|
|
|
|
|
|
|
res.json(data) |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
module.exports=router |
|
|
|
module.exports=router |