SVN r1000
SVN-Revision: r1000
This commit is contained in:
@@ -133,7 +133,7 @@ namespace Lskj.Control
|
||||
hasBoolean = true;
|
||||
}
|
||||
GridColumnModel model = col.Tag as GridColumnModel;
|
||||
if (model != null && (model.FieldType == ControlType.LabMultiSelectValue || model.FieldType == ControlType.LabMultiSelectValueNew || model.FieldType == ControlType.LabTreeLookValue || model.FieldType == ControlType.LabMultiSelectValueParam || model.FieldType == ControlType.LabSelectReturnId|| (model.FieldType == ControlType.LabSelectReturnIdNew && model.ModuleFrameDisplayText)))
|
||||
if (model != null && (model.FieldType == ControlType.LabMultiSelectValue || model.FieldType == ControlType.LabMultiSelectValueNew || model.FieldType == ControlType.LabTreeLookValue || model.FieldType == ControlType.LabMultiSelectValueParam || model.FieldType == ControlType.LabSelectReturnId || (model.FieldType == ControlType.LabSelectReturnIdNew && model.ModuleFrameDisplayText)))
|
||||
{
|
||||
StoreValueList.Add(col.FieldName);
|
||||
hasBoolean = true;
|
||||
@@ -455,7 +455,7 @@ namespace Lskj.Control
|
||||
}
|
||||
GridColumnModel model = col.Tag as GridColumnModel;
|
||||
|
||||
if (model != null && (model.FieldType == ControlType.LabMultiSelectValue || model.FieldType == ControlType.LabMultiSelectValueNew || model.FieldType == ControlType.LabTreeLookValue || model.FieldType == ControlType.LabMultiSelectValueParam || model.FieldType == ControlType.LabSelectReturnId|| (model.FieldType == ControlType.LabSelectReturnIdNew && model.ModuleFrameDisplayText)))
|
||||
if (model != null && (model.FieldType == ControlType.LabMultiSelectValue || model.FieldType == ControlType.LabMultiSelectValueNew || model.FieldType == ControlType.LabTreeLookValue || model.FieldType == ControlType.LabMultiSelectValueParam || model.FieldType == ControlType.LabSelectReturnId || (model.FieldType == ControlType.LabSelectReturnIdNew && model.ModuleFrameDisplayText)))
|
||||
{
|
||||
StoreValueList.Add(col.FieldName);
|
||||
hasBoolean = true;
|
||||
@@ -620,10 +620,10 @@ namespace Lskj.Control
|
||||
if (gridColumn.Tag is GridColumnModel)
|
||||
{
|
||||
GridColumnModel model = gridColumn.Tag as GridColumnModel;
|
||||
|
||||
|
||||
if ((model.FieldType == ControlType.LabMultiSelectValue || model.FieldType == ControlType.LabMultiSelectValueNew ||
|
||||
model.FieldType == ControlType.LabMultiSelectValueParam) && row[col.ColumnName].ToString().Contains(",") ||
|
||||
(model.FieldType == ControlType.LabSelectReturnId && !model.IsRadio) ||
|
||||
(model.FieldType == ControlType.LabSelectReturnId && !model.IsRadio) ||
|
||||
(model.FieldType == ControlType.LabSelectReturnIdNew && !model.IsRadio && model.ModuleFrameDisplayText))
|
||||
{
|
||||
string[] cellText = row[col.ColumnName].ToString().Split(',');
|
||||
@@ -750,7 +750,6 @@ namespace Lskj.Control
|
||||
{
|
||||
for (int i = 1; i < this.gridView1.Columns.Count; i++)
|
||||
{
|
||||
|
||||
string columnName = this.gridView1.Columns[i].FieldName;
|
||||
GridSummaryItem gsi = gridView.Columns[columnName].SummaryItem;
|
||||
if (gsi.SummaryType != DevExpress.Data.SummaryItemType.None) //gsi.SummaryValue!=null&& !string.IsNullOrEmpty(gsi.SummaryValue.ToString())
|
||||
@@ -769,8 +768,6 @@ namespace Lskj.Control
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -975,10 +972,10 @@ namespace Lskj.Control
|
||||
|
||||
}
|
||||
}
|
||||
else if (model.FieldType == ControlType.LabSelectReturnId|| (model.FieldType == ControlType.LabSelectReturnIdNew&& model.ModuleFrameDisplayText))
|
||||
else if (model.FieldType == ControlType.LabSelectReturnId || (model.FieldType == ControlType.LabSelectReturnIdNew && model.ModuleFrameDisplayText))
|
||||
{
|
||||
string sqlValue = model.SqlSource;
|
||||
if ((model.IsRadio && !string.IsNullOrWhiteSpace(model.addModuleld))|| model.FieldType == ControlType.LabSelectReturnIdNew)
|
||||
if ((model.IsRadio && !string.IsNullOrWhiteSpace(model.addModuleld)) || model.FieldType == ControlType.LabSelectReturnIdNew)
|
||||
{
|
||||
//单选模式数据源为模块sql 新版模块选中返回id固定位模块sql
|
||||
DataRow modelRow = Business.Impl.MainImpl.GetSystemdllTab(model.addModuleld);
|
||||
|
||||
Reference in New Issue
Block a user