菜单
/*
#region 人事管理
menu = SysMenu.FindOne(p => p.Name == "人事管理");
if (menu == null)
{
menu = new SysMenu();
menu.Name = "人事管理";
menu.ParentId = 0;
menu.NavigateUrl = "";
menu.IsTreeLeaf = true;
menu.Save();
}
menu1 = SysMenu.FindOne(p => p.Name == "考勤管理");
if (menu1 == null)
{
menu1 = new SysMenu();
menu1.Name = "考勤管理";
menu1.ParentId = menu.Id;
menu1.NavigateUrl = "~/frmDeveloping.aspx";
menu1.IsTreeLeaf = true;
menu1.Save();
}
menu1 = SysMenu.FindOne(p => p.Name == "请假管理");
if (menu1 == null)
{
menu1 = new SysMenu();
menu1.Name = "请假管理";
menu1.ParentId = menu.Id;
menu1.NavigateUrl = "~/frmDeveloping.aspx";
menu1.IsTreeLeaf = true;
menu1.Save();
}
menu1 = SysMenu.FindOne(p => p.Name == "奖惩管理");
if (menu1 == null)
{
menu1 = new SysMenu();
menu1.Name = "奖惩管理";
menu1.ParentId = menu.Id;
menu1.NavigateUrl = "~/frmDeveloping.aspx";
menu1.IsTreeLeaf = true;
menu1.Save();
}
#endregion
#region 内部邮件
menu = SysMenu.FindOne(p => p.Name == "内部邮件");
if (menu == null)
{
menu = new SysMenu();
menu.Name = "内部邮件";
menu.ParentId = 0;
menu.NavigateUrl = "";
menu.IsTreeLeaf = true;
menu.Save();
}
menu1 = SysMenu.FindOne(p => p.Name == "新邮件");
if (menu1 == null)
{
menu1 = new SysMenu();
menu1.Name = "新邮件";
menu1.ParentId = menu.Id;
menu1.NavigateUrl = "~/frmDeveloping.aspx";
menu1.IsTreeLeaf = true;
menu1.Save();
}
menu1 = SysMenu.FindOne(p => p.Name == "未读邮件");
if (menu1 == null)
{
menu1 = new SysMenu();
menu1.Name = "未读邮件";
menu1.ParentId = menu.Id;
menu1.NavigateUrl = "~/frmDeveloping.aspx";
menu1.IsTreeLeaf = true;
menu1.Save();
}
menu1 = SysMenu.FindOne(p => p.Name == "收件箱");
if (menu1 == null)
{
menu1 = new SysMenu();
menu1.Name = "收件箱";
menu1.ParentId = menu.Id;
menu1.NavigateUrl = "~/frmDeveloping.aspx";
menu1.IsTreeLeaf = true;
menu1.Save();
}
menu1 = SysMenu.FindOne(p => p.Name == "发件箱");
if (menu1 == null)
{
menu1 = new SysMenu();
menu1.Name = "发件箱";
menu1.ParentId = menu.Id;
menu1.NavigateUrl = "~/frmDeveloping.aspx";
menu1.IsTreeLeaf = true;
menu1.Save();
}
#endregion
#region 统一平台
menu = SysMenu.FindOne(p => p.Name == "统一平台");
if (menu == null)
{
menu = new SysMenu();
menu.Name = "统一平台";
}
menu.Title = "B01统一平台";
menu.ParentId = 0;
menu.NavigateUrl = "frmdcip.aspx";
menu.IsTreeLeaf = false;
menu.SortIndex = 1001;
menu.Save();
//menu1 = SysMenu.FindOne(p => p.Name == "温州市数字化校园平台");
//if (menu1 == null)
//{
// menu1 = new SysMenu();
// menu1.Name = "温州市数字化校园平台";
// menu1.ParentId = menu.Id;
// menu1.NavigateUrl = "http://218.75.25.155/dcip/";
// menu1.IsTreeLeaf = true;
// menu1.Save();
//}
#endregion
#region 校本资源库
menu = SysMenu.FindOne(p => p.Name == "校本资源库");
if (menu == null)
{
menu = new SysMenu();
menu.Name = "校本资源库";
}
menu.Title = "B05校本资源库";
menu.ParentId = 0;
menu.NavigateUrl = "";
menu.SortIndex = 1005;
menu.IsTreeLeaf = false;
menu.Save();
#endregion
#region 协同办公系统
menu = SysMenu.FindOne(p => p.Name == "协同办公系统");
if (menu == null)
{
menu = new SysMenu();
menu.Name = "协同办公系统";
}
menu.Title = "B08协同办公系统";
menu.ParentId = 0;
menu.NavigateUrl = "";
menu.IsTreeLeaf = true;
menu.SortIndex = 1008;
menu.Save();
menu1 = SysMenu.FindOne(p => p.Name == "科室文档");
if (menu1 == null)
{
menu1 = new SysMenu();
menu1.Name = "科室文档";
}
menu1.ParentId = menu.Id;
menu1.NavigateUrl = "http://oa.lcsyzx.cn/u/";
menu1.IsTreeLeaf = true;
menu1.Save();
menu1 = SysMenu.FindOne(p => p.Name == "校务管理");
if (menu1 == null)
{
menu1 = new SysMenu();
menu1.Name = "校务管理";
}
menu1.ParentId = menu.Id;
menu1.NavigateUrl = "http://oa.lcsyzx.cn/xwgl/";
menu1.IsTreeLeaf = true;
menu1.Save();
menu1 = SysMenu.FindOne(p => p.Name == "行事历管理");
if (menu1 == null)
{
menu1 = new SysMenu();
menu1.Name = "行事历管理";
}
menu1.ParentId = menu.Id;
menu1.NavigateUrl = "http://oa.lcsyzx.cn/ToDoList/Work";
menu1.IsTreeLeaf = true;
menu1.Save();
menu1 = SysMenu.FindOne(p => p.Name == "值日反馈");
if (menu1 == null)
{
menu1 = new SysMenu();
menu1.Name = "值日反馈";
}
menu1.ParentId = menu.Id;
menu1.NavigateUrl = "http://oa.lcsyzx.cn/ToDoList/Zhiri";
menu1.IsTreeLeaf = true;
menu1.Save();
menu1 = SysMenu.FindOne(p => p.Name == "会议预报");
if (menu1 == null)
{
menu1 = new SysMenu();
menu1.Name = "会议预报";
}
menu1.ParentId = menu.Id;
menu1.NavigateUrl = "http://oa.lcsyzx.cn/ToDoList/Meeting";
menu1.IsTreeLeaf = true;
menu1.Save();
menu1 = SysMenu.FindOne(p => p.Name == "公文管理");
if (menu1 == null)
{
menu1 = new SysMenu();
menu1.Name = "公文管理";
}
menu1.ParentId = menu.Id;
menu1.NavigateUrl = "frmDeveloping.aspx";
menu1.IsTreeLeaf = true;
menu1.Save();
//后勤人员工作记录
menu1 = SysMenu.FindOne(p => p.Name == "工作周记");
if (menu1 == null)
{
menu1 = new SysMenu();
menu1.Name = "工作周记";
}
menu1.ParentId = menu.Id;
menu1.NavigateUrl = "~/frmDeveloping.aspx";
menu1.IsTreeLeaf = true;
menu1.Save();
#endregion
#region 教师绩效评估系统
menu = SysMenu.FindOne(p => p.Name == "教师绩效评估系统");
if (menu == null)
{
menu = new SysMenu();
menu.Name = "教师绩效评估系统";
}
menu.Title = "B10教师绩效评估系统";
menu.ParentId = 0;
menu.NavigateUrl = "";
menu.SortIndex = 1010;
menu.IsTreeLeaf = true;
menu.Save();
menu1 = SysMenu.FindOne(p => p.Name == "学生评教管理");
if (menu1 == null)
{
menu1 = new SysMenu();
menu1.Name = "学生评教管理";
}
menu1.ParentId = menu.Id;
menu1.NavigateUrl = "http://oa.lcsyzx.cn/wz16/PingJiao/PingJiaoList.aspx";
menu1.IsTreeLeaf = true;
menu1.Save();
//民测调研系统
menu1 = SysMenu.FindOne(p => p.Name == "民测调研系统");
if (menu1 == null)
{
menu1 = new SysMenu();
menu1.Name = "民测调研系统";
}
menu1.ParentId = menu.Id;
menu1.NavigateUrl = "http://oa.lcsyzx.cn/ceping/Default.aspx";
menu1.IsTreeLeaf = true;
menu1.Save();
//menu1 = SysMenu.FindOne(p => p.Name == "绩效评估量表管理");
//if (menu1 == null)
//{
// menu1 = new SysMenu();
// menu1.Name = "绩效评估量表管理";
// menu1.ParentId = menu.Id;
// menu1.NavigateUrl = "~/frmDeveloping.aspx";
// menu1.IsTreeLeaf = true;
// menu1.Save();
//}
#endregion
#region 学生综合素质评价系统
menu = SysMenu.FindOne(p => p.Name == "学生综合素质评价系统");
if (menu == null)
{
menu = new SysMenu();
menu.Name = "学生综合素质评价系统";
}
menu.Title = "B11学生综合素质评价系统";
menu.ParentId = 0;
menu.NavigateUrl = "";
menu.SortIndex = 1011;
menu.IsTreeLeaf = true;
menu.Save();
//
menu1 = SysMenu.FindOne(p => p.Name == "期末总评管理");
if (menu1 == null)
{
menu1 = new SysMenu();
menu1.Name = "期末总评管理";
}
menu1.ParentId = menu.Id;
menu1.NavigateUrl = "http://oa.lcsyzx.cn/wz16/Jwc/CzCphzIndex.aspx";
menu1.IsTreeLeaf = true;
menu1.Save();
menu1 = SysMenu.FindOne(p => p.Name == "毕业生测评等第管理");
if (menu1 == null)
{
menu1 = new SysMenu();
menu1.Name = "毕业生测评等第管理";
}
menu1.ParentId = menu.Id;
menu1.NavigateUrl = "http://oa.lcsyzx.cn/wz16/Jwc/CzCphzQueping.aspx";
menu1.IsTreeLeaf = true;
menu1.Save();
//国家学生体质健康数据
menu1 = SysMenu.FindOne(p => p.Name == "学生体质健康管理");
if (menu1 == null)
{
menu1 = new SysMenu();
menu1.Name = "学生体质健康管理";
}
menu1.ParentId = menu.Id;
menu1.NavigateUrl = "http://oa.lcsyzx.cn/Tiyu2009/Tiyu/frmChengji.aspx";
menu1.IsTreeLeaf = true;
menu1.Save();
menu1 = SysMenu.FindOne(p => p.Name == "学生获奖管理");
if (menu1 == null)
{
menu1 = new SysMenu();
menu1.Name = "学生获奖管理";
}
menu1.ParentId = menu.Id;
menu1.NavigateUrl = "http://oa.lcsyzx.cn/wz16/Zjc/frmJiangliShenhe.aspx";
menu1.IsTreeLeaf = true;
menu1.Save();
menu1 = SysMenu.FindOne(p => p.Name == "家校互动");
if (menu1 == null)
{
menu1 = new SysMenu();
menu1.Name = "家校互动";
}
menu1.ParentId = menu.Id;
menu1.NavigateUrl = "http://oa.lcsyzx.cn/wz16/Zjc/frmJiangliShenhe.aspx";
menu1.IsTreeLeaf = true;
menu1.Save();
#endregion
#region 后勤服务管理
menu = SysMenu.FindOne(p => p.Name == "后勤服务管理");
if (menu == null)
{
menu = new SysMenu();
menu.Name = "后勤服务管理";
}
menu.Title = "B12后勤服务管理";
menu.ParentId = 0;
menu.NavigateUrl = "";
menu.IsTreeLeaf = true;
menu.SortIndex = 1012;
menu.Save();
menu1 = SysMenu.FindOne(p => p.Name == "活动报名");
if (menu1 == null)
{
menu1 = new SysMenu();
menu1.Name = "活动报名";
}
menu1.ParentId = menu.Id;
menu1.NavigateUrl = "http://oa.lcsyzx.cn/todolist/Huodong/";
menu1.IsTreeLeaf = true;
menu1.Save();
menu1 = SysMenu.FindOne(p => p.Name == "物件报修");
if (menu1 == null)
{
menu1 = new SysMenu();
menu1.Name = "物件报修";
}
menu1.ParentId = menu.Id;
menu1.NavigateUrl = "http://oa.lcsyzx.cn/BaoXiu/";
menu1.IsTreeLeaf = true;
menu1.Save();
menu1 = SysMenu.FindOne(p => p.Name == "物品管理");
if (menu1 == null)
{
menu1 = new SysMenu();
menu1.Name = "物品管理";
}
menu1.ParentId = menu.Id;
menu1.NavigateUrl = "~/frmDeveloping.aspx";
menu1.IsTreeLeaf = true;
menu1.Save();
menu1 = SysMenu.FindOne(p => p.Name == "固定资产管理");
if (menu1 == null)
{
menu1 = new SysMenu();
menu1.Name = "固定资产管理";
}
menu1.ParentId = menu.Id;
menu1.NavigateUrl = "~/frmDeveloping.aspx";
menu1.IsTreeLeaf = true;
menu1.Save();
#endregion
#region 教务管理
menu = SysMenu.FindOne(p => p.Name == "教务管理");
if (menu == null)
{
menu = new SysMenu();
menu.Name = "教务管理";
}
menu.Title = "B13教务管理";
menu.ParentId = 0;
menu.NavigateUrl = "";
menu.IsTreeLeaf = true;
menu.SortIndex = 1013;
menu.Save();
menu1 = SysMenu.FindOne(p => p.Name == "学籍管理");
if (menu1 == null)
{
menu1 = new SysMenu();
menu1.Name = "学籍管理";
}
menu1.ParentId = menu.Id;
menu1.NavigateUrl = "~/frmDeveloping.aspx";
menu1.IsTreeLeaf = true;
menu1.Save();
menu1 = SysMenu.FindOne(p => p.Name == "成绩管理");
if (menu1 == null)
{
menu1 = new SysMenu();
menu1.Name = "成绩管理";
}
menu1.ParentId = menu.Id;
menu1.NavigateUrl = "http://oa.lcsyzx.cn/wz16/Jwc/frmKaoshi.aspx";
menu1.IsTreeLeaf = true;
menu1.Save();
menu1 = SysMenu.FindOne(p => p.Name == "课表管理");
if (menu1 == null)
{
menu1 = new SysMenu();
menu1.Name = "课表管理";
}
menu1.ParentId = menu.Id;
menu1.NavigateUrl = "~/frmDeveloping.aspx";
menu1.IsTreeLeaf = true;
menu1.Save();
menu1 = SysMenu.FindOne(p => p.Name == "排课管理");
if (menu1 == null)
{
menu1 = new SysMenu();
menu1.Name = "排课管理";
}
menu1.ParentId = menu.Id;
menu1.NavigateUrl = "~/frmDeveloping.aspx";
menu1.IsTreeLeaf = true;
menu1.Save();
menu1 = SysMenu.FindOne(p => p.Name == "调课申请");
if (menu1 == null)
{
menu1 = new SysMenu();
menu1.Name = "调课申请";
}
menu1.ParentId = menu.Id;
menu1.NavigateUrl = "~/frmDeveloping.aspx";
menu1.IsTreeLeaf = true;
menu1.Save();
menu1 = SysMenu.FindOne(p => p.Name == "我的课表");
if (menu1 == null)
{
menu1 = new SysMenu();
menu1.Name = "我的课表";
}
menu1.ParentId = menu.Id;
menu1.NavigateUrl = "~/frmDeveloping.aspx";
menu1.IsTreeLeaf = true;
menu1.Save();
menu1 = SysMenu.FindOne(p => p.Name == "我的学生");
if (menu1 == null)
{
menu1 = new SysMenu();
menu1.Name = "我的学生";
}
menu1.ParentId = menu.Id;
menu1.NavigateUrl = "~/frmDeveloping.aspx";
menu1.IsTreeLeaf = true;
menu1.Save();
menu1 = SysMenu.FindOne(p => p.Name == "校本选课");
if (menu1 == null)
{
menu1 = new SysMenu();
menu1.Name = "校本选课";
}
menu1.ParentId = menu.Id;
menu1.NavigateUrl = "http://oa.lcsyzx.cn/wz16/XiaoBen/frmKeCheng.aspx";
menu1.IsTreeLeaf = true;
menu1.Save();
#endregion
#region 教科研管理
menu = SysMenu.FindOne(p => p.Name == "教科研管理");
if (menu == null)
{
menu = new SysMenu();
menu.Name = "教科研管理";
}
menu.Title = "B14-1教科研管理";
menu.ParentId = 0;
menu.NavigateUrl = "";
menu.IsTreeLeaf = true;
menu.SortIndex = 1141;
menu.Save();
#endregion
#region 网络备课管理
menu = SysMenu.FindOne(p => p.Name == "网络备课管理");
if (menu == null)
{
menu = new SysMenu();
menu.Name = "网络备课管理";
}
menu.Title = "B14-2网络备课管理";
menu.ParentId = 0;
menu.NavigateUrl = "";
menu.IsTreeLeaf = true;
menu.SortIndex = 1142;
menu.Save();
#endregion
#region 教学质量分析系统
menu = SysMenu.FindOne(p => p.Name == "教学质量分析系统");
if (menu == null)
{
menu = new SysMenu();
menu.Name = "教学质量分析系统";
}
menu.Title = "B14-3教学质量分析系统";
menu.ParentId = 0;
menu.NavigateUrl = "";
menu.SortIndex = 51143;
menu.IsTreeLeaf = true;
menu.Save();
#endregion
#region 网络教学平台
menu = SysMenu.FindOne(p => p.Name == "网络教学平台");
if (menu == null)
{
menu = new SysMenu();
menu.Name = "网络教学平台";
}
menu.Title = "B15-1网络教学平台";
menu.ParentId = 0;
menu.NavigateUrl = "";
menu.IsTreeLeaf = true;
menu.SortIndex = 1151;
menu.Save();
#endregion
#region 研究性学习课程平台
menu = SysMenu.FindOne(p => p.Name == "研究性学习课程平台");
if (menu == null)
{
menu = new SysMenu();
menu.Name = "研究性学习课程平台";
}
menu.Title = "B15-2研究性学习课程平台";
menu.ParentId = 0;
menu.NavigateUrl = "";
menu.IsTreeLeaf = true;
menu.SortIndex = 1152;
menu.Save();
#endregion
#region 德育管理
menu = SysMenu.FindOne(p => p.Name == "德育管理");
if (menu == null)
{
menu = new SysMenu();
menu.Name = "德育管理";
}
menu.Title = "B16-1德育管理";
menu.ParentId = 0;
menu.NavigateUrl = "";
menu.IsTreeLeaf = true;
menu.SortIndex = 1161;
menu.Save();
menu1 = SysMenu.FindOne(p => p.Name == "学校德育管理");
if (menu1 == null)
{
menu1 = new SysMenu();
menu1.Name = "学校德育管理";
}
menu1.ParentId = menu.Id;
menu1.NavigateUrl = "";
menu1.IsTreeLeaf = true;
menu1.Save();
menu1 = SysMenu.FindOne(p => p.Name == "班级德育管理");
if (menu1 == null)
{
menu1 = new SysMenu();
menu1.Name = "班级德育管理";
}
menu1.ParentId = menu.Id;
menu1.NavigateUrl = "";
menu1.IsTreeLeaf = true;
menu1.Save();
menu1 = SysMenu.FindOne(p => p.Name == "综合查询");
if (menu1 == null)
{
menu1 = new SysMenu();
menu1.Name = "综合查询";
}
menu1.ParentId = menu.Id;
menu1.NavigateUrl = "";
menu1.IsTreeLeaf = true;
menu1.Save();
#endregion
menu = SysMenu.FindOne(p => p.Name == "团员管理");
if (menu == null)
{
menu = new SysMenu();
menu.Name = "团员管理";
}
menu.Title = "B16-1团员管理";
menu.ParentId = 0;
menu.NavigateUrl = "";
menu.IsTreeLeaf = true;
menu.SortIndex = 1161;
menu.Save();
#region 班级网页博客主题网站
menu = SysMenu.FindOne(p => p.Name == "班级网页博客主题网站");
if (menu == null)
{
menu = new SysMenu();
menu.Name = "班级网页博客主题网站";
}
menu.Title = "B16-1班级网页博客主题网站";
menu.ParentId = 0;
menu.NavigateUrl = "";
menu.IsTreeLeaf = true;
menu.SortIndex = 1161;
menu.Save();
#endregion
#region 实验室管理系统
menu = SysMenu.FindOne(p => p.Name == "实验室管理系统");
if (menu == null)
{
menu = new SysMenu();
menu.Name = "实验室管理系统";
}
menu.Title = "B17-1实验室管理系统";
menu.ParentId = 0;
menu.NavigateUrl = "";
menu.IsTreeLeaf = true;
menu.SortIndex = 1171;
menu.Save();
menu1 = SysMenu.FindOne(p => p.Name == "实验教学管理");
if (menu1 == null)
{
menu1 = new SysMenu();
menu1.Name = "实验教学管理";
}
menu1.ParentId = menu.Id;
menu1.NavigateUrl = "http://oa.lcsyzx.cn/wz16/Zjc/frmJiangliShenhe.aspx";
menu1.IsTreeLeaf = true;
menu1.Save();
menu1 = SysMenu.FindOne(p => p.Name == "实验成绩管理");
if (menu1 == null)
{
menu1 = new SysMenu();
menu1.Name = "实验成绩管理";
}
menu1.ParentId = menu.Id;
menu1.NavigateUrl = "http://oa.lcsyzx.cn/wz16/Zjc/frmJiangliShenhe.aspx";
menu1.IsTreeLeaf = true;
menu1.Save();
menu1 = SysMenu.FindOne(p => p.Name == "仪器设备管理");
if (menu1 == null)
{
menu1 = new SysMenu();
menu1.Name = "仪器设备管理";
}
menu1.ParentId = menu.Id;
menu1.NavigateUrl = "http://oa.lcsyzx.cn/wz16/Zjc/frmJiangliShenhe.aspx";
menu1.IsTreeLeaf = true;
menu1.Save();
menu1 = SysMenu.FindOne(p => p.Name == "实验信息管理");
if (menu1 == null)
{
menu1 = new SysMenu();
menu1.Name = "实验信息管理";
}
menu1.ParentId = menu.Id;
menu1.NavigateUrl = "http://oa.lcsyzx.cn/wz16/Zjc/frmJiangliShenhe.aspx";
menu1.IsTreeLeaf = true;
menu1.Save();
menu1 = SysMenu.FindOne(p => p.Name == "实验账务管理");
if (menu1 == null)
{
menu1 = new SysMenu();
menu1.Name = "实验账务管理";
}
menu1.ParentId = menu.Id;
menu1.NavigateUrl = "http://oa.lcsyzx.cn/wz16/Zjc/frmJiangliShenhe.aspx";
menu1.IsTreeLeaf = true;
menu1.Save();
menu1 = SysMenu.FindOne(p => p.Name == "实验申报管理");
if (menu1 == null)
{
menu1 = new SysMenu();
menu1.Name = "实验申报管理";
}
menu1.ParentId = menu.Id;
menu1.NavigateUrl = "http://oa.lcsyzx.cn/wz16/Zjc/frmJiangliShenhe.aspx";
menu1.IsTreeLeaf = true;
menu1.Save();
#endregion
#region 图书管理系统
menu = SysMenu.FindOne(p => p.Name == "图书管理系统");
if (menu == null)
{
menu = new SysMenu();
menu.Name = "图书管理系统";
}
menu.Title = "B17-2图书管理系统";
menu.ParentId = 0;
menu.NavigateUrl = "";
menu.IsTreeLeaf = true;
menu.SortIndex = 1172;
menu.Save();
#endregion
#region 学生快捷菜单
menu = SysMenu.FindOne(p => p.Name == "学生快捷菜单");
if (menu == null)
{
menu = new SysMenu();
menu.Name = "学生快捷菜单";
}
menu.Title = "学生快捷菜单";
menu.ParentId = 0;
menu.NavigateUrl = "";
menu.IsTreeLeaf = true;
menu.SortIndex = 1200;
menu.Save();
menu1 = SysMenu.FindOne(p => p.Name == "我的成绩汇总");
if (menu1 == null)
{
menu1 = new SysMenu();
menu1.Name = "我的成绩汇总";
}
menu1.ParentId = menu.Id;
menu1.NavigateUrl = "http://oa.lcsyzx.cn/wz16/Student/frmChengjiHuizong.aspx";
menu1.IsTreeLeaf = true;
menu1.Save();
//我的综合素质测评汇总表
menu1 = SysMenu.FindOne(p => p.Name == "我的综合素质测评");
if (menu1 == null)
{
menu1 = new SysMenu();
menu1.Name = "我的综合素质测评";
}
menu1.ParentId = menu.Id;
menu1.NavigateUrl = "http://oa.lcsyzx.cn/wz16/Student/CzCphzXuenianHuizong.aspx";
menu1.IsTreeLeaf = true;
menu1.Save();
//http://oa.lcsyzx.cn/wz16/Student/frmZhiyuan.aspx
menu1 = SysMenu.FindOne(p => p.Name == "我的校本选课");
if (menu1 == null)
{
menu1 = new SysMenu();
menu1.Name = "我的校本选课";
}
menu1.ParentId = menu.Id;
menu1.NavigateUrl = "http://oa.lcsyzx.cn/wz16/Student/frmZhiyuan.aspx";
menu1.IsTreeLeaf = true;
menu1.Save();
menu1 = SysMenu.FindOne(p => p.Name == "评价我的老师");
if (menu1 == null)
{
menu1 = new SysMenu();
menu1.Name = "评价我的老师";
}
menu1.ParentId = menu.Id;
menu1.NavigateUrl = "http://oa.lcsyzx.cn/wz16/Pingjiao/frmStudentPingjiaoTeacherList.aspx";
menu1.IsTreeLeaf = true;
menu1.Save();
menu1 = SysMenu.FindOne(p => p.Name == "填写素质报告单");
if (menu1 == null)
{
menu1 = new SysMenu();
menu1.Name = "填写素质报告单";
}
menu1.ParentId = menu.Id;
menu1.NavigateUrl = "http://oa.lcsyzx.cn/wz16/Student/frmStudnetPingyu.aspx";
menu1.IsTreeLeaf = true;
menu1.Save();
#endregion
#region 教师快捷菜单
menu = SysMenu.FindOne(p => p.Name == "教师快捷菜单");
if (menu == null)
{
menu = new SysMenu();
menu.Name = "教师快捷菜单";
}
menu.Title = "教师快捷菜单";
menu.ParentId = 0;
menu.NavigateUrl = "";
menu.IsTreeLeaf = true;
menu.SortIndex = 1200;
menu.Save();
#endregion
*/