动态加载标准分设置数据模型数值范围

This commit is contained in:
zengweihai 2024-11-19 10:42:17 +08:00
parent 367ae891b5
commit e12e44a097
1 changed files with 8 additions and 0 deletions

View File

@ -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);
}