{ "type" : "page", "title" : "考勤例外人员", "body" : { "type" : "crud", "api" : "/api/flow/HR_ATTENDANCE_EXCEPTION_SEARCH", "syncLocation" : false, "selectable" : true, "checkOnItemClick" : true, "filter" : { "title" : "查询", "body" : [ { "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" : "USERORGID", "label" : "所属(分)公司", "type" : "picker", "clearable" : true, "source" : "/api/picker/1a998b23-371d-4ebb-911f-6465a56a6809/list", "labelField" : "_label", "valueField" : "_id", "modalMode" : "dialog", "modalSize" : "lg", "pickerSchema" : { "mode" : "table", "headerToolbar" : [ { "type" : "search-box", "name" : "q", "placeholder" : "输入关键字搜索" } ], "footerToolbar" : [ "pagination" ] } } ] }, "columns" : [ { "name" : "HR_ATTENDANCE_EXCEPTION_ID", "label" : "主键", "width" : 200, "toggled" : false }, { "name" : "USERID_DISPLAY__", "label" : "姓名", "width" : 200 }, { "name" : "USERORGID_DISPLAY__", "label" : "所属(分)公司", "width" : 200 } ], "headerToolbar" : [ { "type" : "button", "id" : "添加", "label" : "添加", "level" : "primary", "actionType" : "dialog", "dialog" : { "type" : "dialog", "title" : "添加", "size" : "lg", "body" : { "type" : "service", "schemaApi" : "get:/api/page/schema/51e6131f-f4ad-4bc7-8359-f1018f4a28ef?format=amis", "api" : { "method" : "get", "url" : "/api/form/HR_ATTENDANCE_EXCEPTION/defaults?templateId=51e6131f-f4ad-4bc7-8359-f1018f4a28ef" } }, "actions" : [ { "type" : "button", "label" : "保存", "level" : "primary", "actionType" : "submit", "api" : "POST:/api/flow/HR_ATTENDANCE_EXCEPTION_ADD?__egtpl=51e6131f-f4ad-4bc7-8359-f1018f4a28ef", "close" : true }, { "type" : "button", "label" : "取消", "actionType" : "close" } ] } }, { "type" : "button", "id" : "删除", "label" : "删除", "level" : "danger", "actionType" : "ajax", "disabledOn" : "${!selectedItems || selectedItems.length === 0}", "confirmText" : "确认要删除此记录吗?", "api" : { "method" : "post", "url" : "/api/flow/HR_ATTENDANCE_EXCEPTION_DELETE", "data" : { "ids" : "${selectedItems|pick:HR_ATTENDANCE_EXCEPTION_ID|join:','}" } } }, "pagination" ], "primaryField" : "HR_ATTENDANCE_EXCEPTION_ID" } }