SVN-Revision: r304
This commit is contained in:
cyf
2025-03-07 07:34:33 +00:00
parent 5735b1fa35
commit 4d3cf3affc
4 changed files with 14 additions and 6 deletions
+9 -4
View File
@@ -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);