部门改多选
This commit is contained in:
parent
f23b23cd92
commit
a70a2061a5
|
|
@ -132,7 +132,7 @@ public class AddUpDeductionServiceImpl extends Service implements AddUpDeduction
|
|||
conditionItems.add(username);
|
||||
|
||||
|
||||
SearchConditionItem departmentName = conditionFactory.createCondition(ConditionType.BROWSER, 502227, "departmentIds", "4");
|
||||
SearchConditionItem departmentName = conditionFactory.createCondition(ConditionType.BROWSER, 502227, "departmentIds", "57");
|
||||
departmentName.setInputType("browser");
|
||||
departmentName.setColSpan(2);
|
||||
departmentName.setFieldcol(16);
|
||||
|
|
@ -152,39 +152,6 @@ public class AddUpDeductionServiceImpl extends Service implements AddUpDeduction
|
|||
jobNum.setLabel("工号");
|
||||
conditionItems.add(jobNum);
|
||||
|
||||
|
||||
// SearchConditionItem idNo = conditionFactory.createCondition(ConditionType.INPUT, 25034, "idNo");
|
||||
// idNo.setInputType("input");
|
||||
// idNo.setColSpan(2);
|
||||
// idNo.setFieldcol(16);
|
||||
// idNo.setLabelcol(8);
|
||||
// idNo.setViewAttr(2);
|
||||
// idNo.setLabel("证件号码");
|
||||
// conditionItems.add(idNo);
|
||||
|
||||
//日期范围选项
|
||||
// List<SearchConditionOption> dateOptions = new ArrayList<SearchConditionOption>();
|
||||
// dateOptions.add(new SearchConditionOption("6", SalaryI18nUtil.getI18nLabel(32530, user.getLanguage()), true));//指定日期范围(必须为6)
|
||||
// SearchConditionItem hiredate = conditionFactory.createCondition(ConditionType.RANGEPICKER, 18648, new String[]{"hiredate", "hiredate"});
|
||||
// hiredate.setInputType("rangepicker");
|
||||
// hiredate.setFormat("yyyy-MM-dd");
|
||||
// hiredate.setFieldcol(16);
|
||||
// hiredate.setLabelcol(8);
|
||||
// hiredate.setViewAttr(2);
|
||||
// hiredate.setLabel("入职日期");
|
||||
// hiredate.setOptions(dateOptions);
|
||||
// conditionItems.add(hiredate);
|
||||
|
||||
//
|
||||
// SearchConditionItem mobile = conditionFactory.createCondition(ConditionType.INPUT, 25034, "mobile");
|
||||
// mobile.setInputType("input");
|
||||
// mobile.setColSpan(2);
|
||||
// mobile.setFieldcol(16);
|
||||
// mobile.setLabelcol(8);
|
||||
// mobile.setViewAttr(2);
|
||||
// mobile.setLabel("手机号");
|
||||
// conditionItems.add(mobile);
|
||||
|
||||
addGroups.add(new SearchConditionGroup("常用条件", true, conditionItems));
|
||||
|
||||
apidatas.put("condition", addGroups);
|
||||
|
|
|
|||
|
|
@ -114,7 +114,7 @@ public class AddUpSituationServiceImpl extends Service implements AddUpSituation
|
|||
conditionItems.add(username);
|
||||
|
||||
|
||||
SearchConditionItem departmentName = conditionFactory.createCondition(ConditionType.BROWSER, 502227, "departmentIds", "4");
|
||||
SearchConditionItem departmentName = conditionFactory.createCondition(ConditionType.BROWSER, 502227, "departmentIds", "57");
|
||||
departmentName.setInputType("browser");
|
||||
departmentName.setColSpan(2);
|
||||
departmentName.setFieldcol(16);
|
||||
|
|
|
|||
|
|
@ -76,7 +76,7 @@ public class OtherDeductionWrapper extends Service {
|
|||
conditionItems.add(username);
|
||||
|
||||
|
||||
SearchConditionItem departmentName = conditionFactory.createCondition(ConditionType.BROWSER, 502227, "departmentIds", "4");
|
||||
SearchConditionItem departmentName = conditionFactory.createCondition(ConditionType.BROWSER, 502227, "departmentIds", "57");
|
||||
departmentName.setInputType("browser");
|
||||
departmentName.setColSpan(2);
|
||||
departmentName.setFieldcol(16);
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ public class SpecialAddDeductionWrapper extends Service {
|
|||
username.setLabel("姓名"); //设置文本值 这个将覆盖多语言标签的值
|
||||
conditionItems.add(username);
|
||||
|
||||
SearchConditionItem departmentName = conditionFactory.createCondition(ConditionType.BROWSER, 502227, "departmentIds", "4");
|
||||
SearchConditionItem departmentName = conditionFactory.createCondition(ConditionType.BROWSER, 502227, "departmentIds", "57");
|
||||
departmentName.setInputType("browser");
|
||||
departmentName.setColSpan(2);
|
||||
departmentName.setFieldcol(16);
|
||||
|
|
|
|||
Loading…
Reference in New Issue