diff --git a/Cyberpipe.suo b/Cyberpipe.suo index 78c7354..2f04c5b 100644 --- a/Cyberpipe.suo +++ b/Cyberpipe.suo Binary files differ diff --git a/Cyberpipe.suo b/Cyberpipe.suo index 78c7354..2f04c5b 100644 --- a/Cyberpipe.suo +++ b/Cyberpipe.suo Binary files differ diff --git a/MainFrm.cs b/MainFrm.cs index 29758a9..d850989 100644 --- a/MainFrm.cs +++ b/MainFrm.cs @@ -220,7 +220,7 @@ } #endregion - #region 开发分析 + #region 开挖分析 if (Utility.userRole.IndexOf("开挖分析") < 0) { toolRightMenu.Items.Remove(开挖分析ToolStripMenuItem); @@ -461,7 +461,7 @@ { 查询ToolStripMenuItem.DropDownItems.Remove(关键字查询ToolStripMenuItem); } - if (Utility.userRole.IndexOf("附属物查询") < 0) + if (Utility.userRole.IndexOf("配件查询") < 0) { 查询ToolStripMenuItem.DropDownItems.Remove(附属物查询ToolStripMenuItem); } @@ -549,7 +549,7 @@ #endregion #region 编辑 - if (Utility.userRole.IndexOf("模型编辑") < 0) + if (Utility.userRole.IndexOf("编辑") < 0) { toolRightMenu.Items.Remove(编辑ToolStripMenuItem); } @@ -575,6 +575,18 @@ { 编辑ToolStripMenuItem.DropDownItems.Remove(导出文件ToolStripMenuItem); } + else + { + if (Utility.userRole.IndexOf("导出CAD") < 0) + { + 导出文件ToolStripMenuItem.DropDownItems.Remove(导出CADToolStripMenuItem); + } + if (Utility.userRole.IndexOf("导出文件(导出文件)") < 0) + { + 导出文件ToolStripMenuItem.DropDownItems.Remove(导出文件ToolStripMenuItem1); + } + + } if (Utility.userRole.IndexOf("前进") < 0) { 编辑ToolStripMenuItem.DropDownItems.Remove(前进ToolStripMenuItem); @@ -702,11 +714,11 @@ { btn_device.Visible = false; } - if (Utility.userRole.IndexOf("巡检人员管理") < 0) + if (Utility.userRole.IndexOf("定位人员维护") < 0) { btn_Person.Visible = false; } - if (Utility.userRole.IndexOf("施工图导出") < 0) + if (Utility.userRole.IndexOf("导出施工图") < 0) { btn_constructMap.Visible = false; } @@ -764,7 +776,7 @@ { buttonItem27.Visible = false; } - if (Utility.userRole.IndexOf("地面透明度(基础工具)") < 0) + if (Utility.userRole.IndexOf("地面透明度(基础工具)") < 0) { sliderGroundTransSet1.Visible = false; }