From cc4b30da12275c79b553a07a691235849d22a5c6 Mon Sep 17 00:00:00 2001 From: pan <1029559041@qq.com> Date: Fri, 23 Oct 2020 08:06:45 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=BC=9A=E8=AE=AE=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- routes/project/info.js | 22 ++++++++++++++++++++++ routes/project/project.js | 2 +- 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/routes/project/info.js b/routes/project/info.js index a92a4f6..45f3845 100644 --- a/routes/project/info.js +++ b/routes/project/info.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 \ No newline at end of file diff --git a/routes/project/project.js b/routes/project/project.js index fc2ec43..76f3e73 100644 --- a/routes/project/project.js +++ b/routes/project/project.js @@ -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所有节点'}]}