动态加载标准分设置数据模型数值范围
This commit is contained in:
parent
367ae891b5
commit
e12e44a097
|
@ -501,6 +501,14 @@ public class BatchEvaluatePageFormPlugin extends AbstractFormPlugin implements P
|
|||
integerProp.setName("qeug_number" + i);
|
||||
integerProp.setDisplayName(new LocaleString(indexNames.get(i)));//标题
|
||||
integerProp.setScale(2);
|
||||
if ("standard".equals(scoremethod)){
|
||||
Integer integer = indexColumnMaxNumber.get(i);
|
||||
int intValue = integer.intValue();
|
||||
String fw = "[0,"+intValue+"]";
|
||||
integerProp.setDataScope(fw);
|
||||
}else {
|
||||
integerProp.setDataScope("[0,100]");
|
||||
}
|
||||
integerProp.setZeroShow(true);
|
||||
entryType.registerSimpleProperty(integerProp);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue