小地球设置

pull/258/head
Chengliang 10 months ago
parent 33b32e602c
commit ed6edca504

@ -276,6 +276,11 @@ public class ExtendInfoBO {
fieldItem.setFormat("YYYY-MM");
}
break;
case INPUT:
Map<String, Object> otherParams = new HashMap<>(2);
otherParams.put("inputType","multilang");
fieldItem.setOtherParams(otherParams);
break;
default:
break;
}

@ -131,7 +131,6 @@ public class SchemeServiceImpl extends Service implements SchemeService {
schemeNoCondition.setRules("required|string");
SearchConditionItem subCompanyIdItem = OrganizationFormItemUtil.browserItem(user, 2, 17, 3, false, 547128, "164", "subCompanyId", "");
SearchConditionItem textareaItem = OrganizationFormItemUtil.textareaItem(user, 2, 17, true, 2, 200, 547129, "schemeDescription");
// 编辑状态下赋值操作
String id = Util.null2String(params.get("id"));
if (!StringUtil.isEmpty(id)) {

@ -121,12 +121,15 @@ public class OrganizationFormItemUtil {
public static SearchConditionItem inputItem(User user, int colSpan, int fieldcol,
int viewAttr, int length, String label, String name) {
ConditionFactory conditionFactory = new ConditionFactory(user);
Map<String, Object> otherParams = new HashMap<>(2);
otherParams.put("inputType","multilang");
SearchConditionItem input = conditionFactory.createCondition(ConditionType.INPUT, 25034, name);
input.setColSpan(colSpan);
input.setFieldcol(fieldcol);
input.setViewAttr(viewAttr);
input.setLength(length);
input.setLabel(label);
input.setOtherParams(otherParams);
return input;
}
@ -266,7 +269,7 @@ public class OrganizationFormItemUtil {
textarea.setViewAttr(viewAttr);
textarea.setLength(length);
textarea.setLabel(label);
textarea.setInputType("multilang");
return textarea;
}

Loading…
Cancel
Save