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
+1 -1
View File
@@ -29,4 +29,4 @@ namespace Lskj.PubTabDll
/// </summary>
private void InitializeComponent()
{
this
Binary file not shown.
+5 -5
View File
@@ -29,11 +29,11 @@ namespace Lskj.PubTabDll
/// </summary>
private void InitializeComponent()
{
this.xtc_container = new DevExpress.XtraTab.XtraTabControl();
((System.ComponentModel.ISupportInitialize)(this.xtc_container)).BeginInit();
this.xtraTabControl = new DevExpress.XtraTab.XtraTabControl();
((System.ComponentModel.ISupportInitialize)(this.xtraTabControl)).BeginInit();
this.SuspendLayout();
//
// xtc_container
// xtraTabControl
//
this.xtc_container.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
this.xtraTabControl.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
this
+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