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
+1 -1
View File
@@ -1,2 +1,2 @@
using System;
using System.Collections.Generi
using Syste
Binary file not shown.
@@ -61,7 +61,6 @@
<Compile Include="FrmMain.Designer.cs">
<DependentUpon>FrmMain.cs</DependentUpon>
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="TabDllEx.cs">
<SubType>UserControl</SubType>
@@ -99,6 +98,10 @@
<Project>{7eafccc2-a18f-49e9-85c6-a984966cfd01}</Project>
<Name>Lskj.Business</Name>
</ProjectReference>
<ProjectReference Include="..\Lskj.Control\Lskj.Control.csproj">
<Project>{447CDC40-659F-4CCA-9ED6-8E818B4CF8BF}</Project>
<Name>Lskj.Control</Name>
</ProjectReference>
<ProjectReference Include="..\Lskj.Model\Lskj.Model.csproj">
<Project>{52BC40E0-C0C6-4F78-996B-CAE028D209CA}</Project>
<Name>Lskj.Model</Name>
+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);