SVN-Revision: r299
This commit is contained in:
tdx
2025-03-06 08:38:20 +00:00
parent 6e9f2db7d4
commit d1e732b8d7
4 changed files with 10 additions and 14 deletions
+4 -8
View File
@@ -20,18 +20,15 @@ namespace Lskj.PubTabDll
{
InitializeComponent();
}
public void InitTabPages(List<string> gridDetail)
public void InitTabPages(List<string> gridDetail)
{
foreach (string item in gridDetail)
{
DataRow dataRow= MainImpl.GetModuleInformation(item);
DataRow dataRow = MainImpl.GetModuleInformation(item);
if (dataRow == null) continue;
// 验证权限
int purview = MainImpl.GetUserPurviewsByMenuId(dataRow["MenuId"] + "");
int purview = BaseImpl.GetUserPurviewsByMenuId(dataRow["MenuId"] + "");
if (purview == 0) continue;
string[] args = new string[]{
dataRow["MenuCaption"] + "",
ERPInfo.Instance.UserId,
@@ -40,6 +37,5 @@ namespace Lskj.PubTabDll
dataRow["UrlParams"] + "",
dataRow["MenuId"] + ""
};
XtraTabPage tp = new XtraTabPage();
IForm iform = FormHelper.LoadDllForm(dataRow["DllFileName"] + "", args);
IForm iform = FormHelper.LoadDllFo