SVN r304
SVN-Revision: r304
This commit is contained in:
@@ -1,2 +1,2 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generi
|
using Syste
|
||||||
Binary file not shown.
@@ -61,7 +61,6 @@
|
|||||||
<Compile Include="FrmMain.Designer.cs">
|
<Compile Include="FrmMain.Designer.cs">
|
||||||
<DependentUpon>FrmMain.cs</DependentUpon>
|
<DependentUpon>FrmMain.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Program.cs" />
|
|
||||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
<Compile Include="TabDllEx.cs">
|
<Compile Include="TabDllEx.cs">
|
||||||
<SubType>UserControl</SubType>
|
<SubType>UserControl</SubType>
|
||||||
@@ -99,6 +98,10 @@
|
|||||||
<Project>{7eafccc2-a18f-49e9-85c6-a984966cfd01}</Project>
|
<Project>{7eafccc2-a18f-49e9-85c6-a984966cfd01}</Project>
|
||||||
<Name>Lskj.Business</Name>
|
<Name>Lskj.Business</Name>
|
||||||
</ProjectReference>
|
</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">
|
<ProjectReference Include="..\Lskj.Model\Lskj.Model.csproj">
|
||||||
<Project>{52BC40E0-C0C6-4F78-996B-CAE028D209CA}</Project>
|
<Project>{52BC40E0-C0C6-4F78-996B-CAE028D209CA}</Project>
|
||||||
<Name>Lskj.Model</Name>
|
<Name>Lskj.Model</Name>
|
||||||
|
|||||||
@@ -20,15 +20,19 @@ namespace Lskj.PubTabDll
|
|||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
public void InitTabPages(List<string> gridDetail)
|
|
||||||
|
public void InitTabPages(string[] gridDetail)
|
||||||
{
|
{
|
||||||
foreach (string item in 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;
|
if (dataRow == null) continue;
|
||||||
|
|
||||||
// 验证权限
|
// 验证权限
|
||||||
int purview = BaseImpl.GetUserPurviewsByMenuId(dataRow["MenuId"] + "");
|
int purview = MainImpl.GetUserPurviewsByMenuId(dataRow["MenuId"] + "");
|
||||||
if (purview == 0) continue;
|
if (purview == 0) continue;
|
||||||
|
|
||||||
string[] args = new string[]{
|
string[] args = new string[]{
|
||||||
dataRow["MenuCaption"] + "",
|
dataRow["MenuCaption"] + "",
|
||||||
ERPInfo.Instance.UserId,
|
ERPInfo.Instance.UserId,
|
||||||
@@ -37,5 +41,6 @@ namespace Lskj.PubTabDll
|
|||||||
dataRow["UrlParams"] + "",
|
dataRow["UrlParams"] + "",
|
||||||
dataRow["MenuId"] + ""
|
dataRow["MenuId"] + ""
|
||||||
};
|
};
|
||||||
|
|
||||||
XtraTabPage tp = new XtraTabPage();
|
XtraTabPage tp = new XtraTabPage();
|
||||||
IForm iform = FormHelper.LoadDllFo
|
IForm iform = FormHelper.LoadDllForm(dataRow["DllFileName"] + "", args);
|
||||||
|
|||||||
Reference in New Issue
Block a user