SVN r304
SVN-Revision: r304
This commit is contained in:
@@ -20,15 +20,19 @@ namespace Lskj.PubTabDll
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
public void InitTabPages(List<string> gridDetail)
|
||||
|
||||
public void InitTabPages(string[] gridDetail)
|
||||
{
|
||||
foreach (string item in gridDetail)
|
||||
{
|
||||
DataRow dataRow = MainImpl.GetModuleInformation(item);
|
||||
if (string.IsNullOrWhiteSpace(item)) continue;
|
||||
DataRow dataRow= MainImpl.GetModuleInformation(item);
|
||||
if (dataRow == null) continue;
|
||||
|
||||
// 验证权限
|
||||
int purview = BaseImpl.GetUserPurviewsByMenuId(dataRow["MenuId"] + "");
|
||||
int purview = MainImpl.GetUserPurviewsByMenuId(dataRow["MenuId"] + "");
|
||||
if (purview == 0) continue;
|
||||
|
||||
string[] args = new string[]{
|
||||
dataRow["MenuCaption"] + "",
|
||||
ERPInfo.Instance.UserId,
|
||||
@@ -37,5 +41,6 @@ namespace Lskj.PubTabDll
|
||||
dataRow["UrlParams"] + "",
|
||||
dataRow["MenuId"] + ""
|
||||
};
|
||||
|
||||
XtraTabPage tp = new XtraTabPage();
|
||||
IForm iform = FormHelper.LoadDllFo
|
||||
IForm iform = FormHelper.LoadDllForm(dataRow["DllFileName"] + "", args);
|
||||
|
||||
Reference in New Issue
Block a user