增加会议信息接口

master
pan 4 years ago
parent 3201880517
commit cc4b30da12
  1. 22
      routes/project/info.js
  2. 2
      routes/project/project.js

@ -50,4 +50,26 @@ router.get('/member', function (req, res, next) {
route.addContextMenu(router,'member','团队成员')
router.get('/meeting', function (req, res, next) {
var data=mock.page(req,'获取会议信息成功',{
date:()=>Mock.Random.date(),
hour:()=>Mock.Random.integer(1, 3),
//描述
desc:()=>Mock.Random.sentence(3, 5),
//主席
chairman:()=>Mock.Random.name(),
//记录员
recorder:()=>Mock.Random.name(),
//会议议程
agenda:()=>Mock.Random.sentence(3, 5),
//会议纪要
summary:()=>Mock.Random.sentence(3, 5),
//备注
note:()=>Mock.Random.sentence(3, 5)
})
res.json(data)
})
route.addContextMenu(router,'meeting','会议信息')
module.exports = router

@ -14,7 +14,7 @@ router.get('/menu', function (req, res, next) {
let menus = []
let config = [{name: '项目基本信息', isOpen:true,childMenu: [
{name: '一般信息',path:'/project/info/baseinfo',selected:true},
{name: '团队成员',path:'/project/info/team_members'}, {name: '会议信息'}]}
{name: '团队成员',path:'/project/info/team_members'}, {name: '会议信息',path:'/project/info/meeting'}]}
,{name: '项目准备', childMenu: [{name: 'HAZOP节点划分'}, {name: 'HAZOP节点复用'}, {name: 'SIF节点划分'}, {name: '矩阵选择'}]}
,{name: 'HAZOP分析', childMenu: [{name: 'HAZOP分析'}, {name: 'HAZOP所有'}]}
,{name:'LOPA定级', childMenu: [{name:'LOPA'},{name:'LOPA表单'},{name:'LOPA所有节点'}]}

Loading…
Cancel
Save