{ "type" : "page", "title" : "员工档案选择窗口", "body" : { "type" : "crud", "api" : "/api/flow/HR_EMPLOYEE_SEARCH_SELECT", "syncLocation" : false, "selectable" : true, "checkOnItemClick" : true, "filter" : { "title" : "查询", "body" : [ { "name" : "SERIALNO", "label" : "工号", "type" : "input-text" }, { "name" : "USERID", "label" : "姓名", "type" : "picker", "clearable" : true, "source" : "/api/picker/76d2f950-ef40-4eff-89ec-98ad9a4976b9/list", "labelField" : "_label", "valueField" : "_id", "modalMode" : "dialog", "modalSize" : "lg", "pickerSchema" : { "mode" : "table", "headerToolbar" : [ { "type" : "search-box", "name" : "q", "placeholder" : "输入关键字搜索" } ], "footerToolbar" : [ "pagination" ] }, "placeholder" : "请点击右侧的图标" }, { "name" : "SEX", "label" : "性别", "type" : "select", "clearable" : true, "source" : "/api/poc/dict/SEX" }, { "name" : "IDCARD", "label" : "身份证", "type" : "input-text" }, { "name" : "JOBSTATUS", "label" : "在职状态", "type" : "select", "clearable" : true, "source" : "/api/poc/dict/HR_EMPLOYEE_STATUS", "value" : "1" }, { "name" : "SOCIAUNIT", "label" : "缴保单位", "type" : "select", "clearable" : true, "source" : "/api/picker/SYS_ORG/list?perPage=500" }, { "name" : "HISDEPARTID", "label" : "所属部门", "type" : "tree-select", "clearable" : true, "source" : "/api/template/6135bd7d-ba6e-4b46-a2f5-1d5e5190e3bd/tree", "searchable" : true, "onlyLeaf" : true } ] }, "columns" : [ { "name" : "HR_EMPLOYEE_ID", "label" : "主键", "width" : 200, "toggled" : false }, { "name" : "SERIALNO", "label" : "工号", "width" : 100 }, { "name" : "USERID_DISPLAY__", "label" : "姓名", "width" : 100 }, { "name" : "SEX", "label" : "性别", "width" : 50, "type" : "mapping", "map" : { "0" : "女", "1" : "男" } }, { "name" : "IDCARD", "label" : "身份证", "width" : 150 }, { "name" : "SOCIA", "label" : "社保编号", "width" : 100 }, { "name" : "JOBSTATUS", "label" : "在职状态", "width" : 70, "type" : "mapping", "map" : { "1" : "在职", "2" : "离职", "3" : "退休", "4" : "退休留用", "5" : "聘用" } }, { "name" : "SOCIAUNIT_DISPLAY__", "label" : "缴保单位", "width" : 200 }, { "name" : "HISDEPARTID_DISPLAY__", "label" : "所属部门", "width" : 250 }, { "name" : "HISPOSITION_DISPLAY__", "label" : "主岗位", "width" : 250 } ], "headerToolbar" : [ "pagination" ], "primaryField" : "HR_EMPLOYEE_ID" } }