From e12e44a0977dba35d3dd8ffaf789a7e0ff4c49b4 Mon Sep 17 00:00:00 2001 From: zengweihai Date: Tue, 19 Nov 2024 10:42:17 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A8=E6=80=81=E5=8A=A0=E8=BD=BD=E6=A0=87?= =?UTF-8?q?=E5=87=86=E5=88=86=E8=AE=BE=E7=BD=AE=E6=95=B0=E6=8D=AE=E6=A8=A1?= =?UTF-8?q?=E5=9E=8B=E6=95=B0=E5=80=BC=E8=8C=83=E5=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../repc/resm/formplugin/BatchEvaluatePageFormPlugin.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/main/java/shkd/repc/resm/formplugin/BatchEvaluatePageFormPlugin.java b/main/java/shkd/repc/resm/formplugin/BatchEvaluatePageFormPlugin.java index f0e07f0..c8d39bf 100644 --- a/main/java/shkd/repc/resm/formplugin/BatchEvaluatePageFormPlugin.java +++ b/main/java/shkd/repc/resm/formplugin/BatchEvaluatePageFormPlugin.java @@ -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); }