<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1.0"> <title>EAP5-Admin-Main</title> <script> function changeLayout(name) { window.localStorage.setItem('layout', name) window.location.reload(); } var Scp = { User: { id: "admin", name: "管理员", deptId: "", deptName: "", positionId: "GLY", postionName: "管理员", bzId: "admin_3", bzName: "管理员岗位3", bzDeptId: ".WLDJT.DGS", bzDeptName: "D公司", bzPositionId: "HQRY", bzPositionName: "后勤人员", orgId: "admin_3", defOrgId: "admin_3" } } var __guid=new Date().valueOf(); var __sysConfig = { events:{ onLoad1:function(){ } }, projectName: "eaptpl", sysProjectMange:{ id: __guid++, name:'工程树', iconClass:'icon-tree', uri :'amreport/designer/tree/design.do', url :'/amrept-web/amreport/designer/tree/design.do' }, sysLoadLogo:{ src:'', title:'中海创科技' }, sysLogo:{ src:'', title:'中海创科技' }, //默认门户 对应自定义门户功能 sysSetTabs:[ { title:'首页', id: __guid++, close:false, type:'home', actived:true //默认选中 } // ,{ // title:'工作台', // id: __guid++, // close:false, // type:'work' // } ], //默认 打开功能 sysDefTabs:[ // { // id: __guid++, // title:"设计", // url:'http://192.168.7.109:9090/#/design', // close:true, // }, // { // id: __guid++, // title:"百度功能测试", // url:'http://www.baidu.com', // close:true // }, // { // id: __guid++, // title:"bing", // url:'https://cn.bing.com/', // close:true // } ], sysList: [ ], sysFuncMenus: [ { id: __guid++, name:'<font color=red>邮件系统</font>', url:'http://hcmail.histron.cn:8001/webmail/index.do?osName=windows', iconClass:'icon-mail', target:'_blank', }, {type:'split'}, { id: __guid++, name:'布局', type:'layout', iconClass:'icon-user', children:[ { id: 'vertical', name:'上下布局', handler:function(){ changeLayout(this.id) } }, { id: 'level', name:'左右布局', handler:function(){ changeLayout(this.id) } } ] }, {type:'split'}, { id: __guid++, name:'用户信息', type:'userInfo', iconClass:'icon-user', children:[ { id: __guid++, name:'部门:AF10', iconClass:'icon-user', actived:true }, { id: __guid++, html:'<font color=red>访问下属111</font>', name:'<font color=red>访问下属</font>', iconClass:'icon-user', children:[ {name:"张三",id: __guid++}, {name:"李四",id: __guid++}, ] }, { id: __guid++, name:'修改密码',iconClass:'', handler:function(){ alert('访问下属'); } } ] }, {type:'split'} ], } </script> </head> <body> <div id="app"></div> <script type="module" src="./index.js"></script> <!-- built files will be auto injected --> </body> </html>