提交当前本机整理版本
This commit is contained in:
@@ -30,4 +30,27 @@ namespace Lskj.PubModuleDetail3
|
||||
FrmMain main = new FrmMain();
|
||||
this.SubForm = main;
|
||||
|
||||
DynamicModuleDetailModel moduleM
|
||||
DynamicModuleDetailModel moduleModel = new DynamicModuleDetailModel(obj);
|
||||
|
||||
int formType = ReportImpl.GetBaseType(moduleModel.ModuleCode);
|
||||
|
||||
GridEnum gridEnum = GridEnum.GridView;
|
||||
if (formType == 1) gridEnum = GridEnum.BandedGridView;
|
||||
if (formType == 2) gridEnum = GridEnum.GridView; // 基础档案暂时注释GridEnum.TreeListGridView此类型,TrcReport和手机端显示卡片冲突.
|
||||
|
||||
main.Model = moduleModel;
|
||||
moduleModel.DataCaches = new Dictionary<object, Hashtable>();
|
||||
if (SystemInfo.Instance.OptimizationSpeed&&false) main.GetDataCaches(main.Model.DataCaches);
|
||||
main.Model.GridEnumObj = gridEnum;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
LogUtil.WriteError("Lskj.PubModuleDetail3.dll--参数错误-->" + obj.ToString(), ex);
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 窗口
|
||||
/// </summary>
|
||||
public Form SubForm { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user