0509
This commit is contained in:
@@ -267,7 +267,7 @@ namespace FineUIPro.Web.ProjectData
|
||||
/// <param name="e"></param>
|
||||
protected void btnMenuAdd_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (this.trProjects.SelectedNode != null)
|
||||
if (this.trProjects.SelectedNode != null && this.trProjects.SelectedNode.CommandName == "project")
|
||||
{
|
||||
if (BLL.CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, BLL.Const.ProjectInstallationMenuId, BLL.Const.BtnAdd))
|
||||
{
|
||||
@@ -289,6 +289,10 @@ namespace FineUIPro.Web.ProjectData
|
||||
ShowNotify("您没有这个权限,请与管理员联系!", MessageBoxIcon.Warning);
|
||||
}
|
||||
}
|
||||
else if (this.trProjects.SelectedNode != null && this.trProjects.SelectedNode.CommandName != "project")
|
||||
{
|
||||
ShowNotify("装置只能录入一级!", MessageBoxIcon.Warning);
|
||||
}
|
||||
else
|
||||
{
|
||||
ShowNotify("请选择树节点!", MessageBoxIcon.Warning);
|
||||
|
||||
Reference in New Issue
Block a user