组织非标去除浏览按钮展示虚拟组织
This commit is contained in:
parent
816601407c
commit
2ea741211f
|
|
@ -411,6 +411,10 @@ public class ExtendInfoBO {
|
|||
searchConditionItem = new SearchConditionItem(ConditionType.BROWSER, fieldlabel, new String[]{fieldname}, browserbean);
|
||||
} else {
|
||||
searchConditionItem = conditionFactory.createCondition(ConditionType.BROWSER, fieldlabel, fieldname, detailtype);
|
||||
//隐藏虚拟组织
|
||||
if(searchConditionItem != null ) {
|
||||
searchConditionItem.getBrowserConditionParam().setHideVirtualOrg(true);
|
||||
}
|
||||
}
|
||||
// 岗位浏览按钮
|
||||
if ("666".equals(detailtype)) {
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ import lombok.NoArgsConstructor;
|
|||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
@OrganizationTable(pageId = "0cdfd5bb-dc09-11ec-b69e-00ffcbed7508",
|
||||
fields = "t.id,t.is_used,s.control_dimension,t.plan_id,t.comp_id,t.dept_id,t.job_id,t.staff_num,t.permanent_num,t.freeze_num,t.lack_status,t.staff_desc",
|
||||
fields = "t.id,t.is_used,s.control_dimension,t.plan_id,t.comp_id,t.dept_id,t.job_id,t.staff_num,t.permanent_num,t.freeze_num,t.lack_status,t.staff_desc,t.description",
|
||||
fromSql = "FROM jcl_org_staff t inner join jcl_org_staffplan s on t.plan_id = s.id",
|
||||
orderby = "id desc",
|
||||
primarykey = "id",
|
||||
|
|
@ -91,4 +91,11 @@ public class StaffTableVO {
|
|||
@OrganizationTableColumn(labelId = 547349, text = "编制描述", width = "10%", column = "staff_desc")
|
||||
private String staffDesc;
|
||||
|
||||
/**
|
||||
* 描述说明
|
||||
*/
|
||||
@OrganizationTableColumn(labelId = 547142, text = "描述说明", width = "10%", column = "description")
|
||||
private String description;
|
||||
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -162,6 +162,8 @@ public class OrganizationFormItemUtil {
|
|||
browser.setViewAttr(viewAttr);
|
||||
browser.setIsQuickSearch(isQuickSearch);
|
||||
browser.setLabel(label);
|
||||
//隐藏虚拟组织
|
||||
browser.getBrowserConditionParam().setHideVirtualOrg(true);
|
||||
if ("161".equals(type) || "162".equals(type)) {
|
||||
fieldDbType = "browser." + fieldDbType;
|
||||
BrowserBean browserBean = new BrowserBean();
|
||||
|
|
|
|||
Loading…
Reference in New Issue