{ "type" : "page", "title" : "证书注册申请(其他证书申请)", "body" : { "type" : "crud", "api" : "/api/flow/HR_CARDREGISTERAPPLY_SEARCH", "syncLocation" : false, "selectable" : true, "checkOnItemClick" : true, "filter" : { "title" : "查询", "body" : [ { "name" : "USERID", "label" : "姓名", "type" : "picker", "clearable" : true, "source" : "/api/picker/1b6820ad-bc7c-4eef-ac63-652cdf52c75f/list", "labelField" : "_label", "valueField" : "_id", "modalMode" : "dialog", "modalSize" : "lg", "pickerSchema" : { "mode" : "table", "headerToolbar" : [ { "type" : "search-box", "name" : "q", "placeholder" : "输入关键字搜索" } ], "footerToolbar" : [ "pagination" ] } }, { "name" : "CARDNO", "label" : "证书编号", "type" : "input-text" }, { "name" : "WORKTYPE", "label" : "作业种类", "type" : "select", "clearable" : true, "source" : "/api/poc/dict/CARD_WORKERSCARD_WORKTYPE" }, { "name" : "VALIDDATE", "label" : "有效期至", "type" : "input-date-range" }, { "name" : "CARDNAME", "label" : "证书名称", "type" : "input-text" }, { "name" : "SSUINGUNIT", "label" : "发证单位", "type" : "picker", "clearable" : true, "source" : "/api/picker/93a5fb27-fdf1-41fb-9ce5-cec44826a6fa/list", "labelField" : "_label", "valueField" : "_id", "modalMode" : "dialog", "modalSize" : "lg", "pickerSchema" : { "mode" : "table", "headerToolbar" : [ { "type" : "search-box", "name" : "q", "placeholder" : "输入关键字搜索" } ], "footerToolbar" : [ "pagination" ] } }, { "name" : "ISSUEDATE", "label" : "签发日期", "type" : "input-date-range" }, { "name" : "CARDTYPE", "label" : "证书类型", "type" : "select", "clearable" : true, "source" : "/api/poc/dict/CARDTYPE" }, { "name" : "APPLYDATE", "label" : "申请日期", "type" : "input-date-range" }, { "name" : "STATUS", "label" : "审批状态", "type" : "select", "clearable" : true, "source" : "/api/poc/dict/WFSTATUS" } ] }, "columns" : [ { "name" : "HR_CARDREGISTERAPPLY_ID", "label" : "主键", "width" : 200, "toggled" : false }, { "name" : "USERORGID_DISPLAY__", "label" : "所属(分)公司", "width" : 150 }, { "name" : "USERID_DISPLAY__", "label" : "姓名", "width" : 80 }, { "name" : "IDCARD", "label" : "身份证", "width" : 150 }, { "name" : "TYPE", "label" : "申请类型", "width" : 100, "toggled" : false }, { "name" : "CARDNO", "label" : "证书编号", "width" : 100 }, { "name" : "WORKTYPE", "label" : "作业种类", "width" : 80, "type" : "mapping", "map" : { "1" : "手工木工", "2" : "精细木工", "3" : "钢筋工", "4" : "架子工", "5" : "抹灰工", "6" : "油漆工", "7" : "混凝土工", "8" : "砖砌工", "9" : "防水工", "10" : "电工", "11" : "电焊工", "12" : "管工", "13" : "模板工", "14" : "起重机驾驶员", "15" : "挖掘机驾驶员", "16" : "塔式起重机驾驶员", "17" : "推土机驾驶员", "18" : "筑炉工", "19" : "桩工", "20" : "中小型建筑机械操作工", "21" : "工程机械修理工" } }, { "name" : "EXERCISESPROJECT", "label" : "准操项目", "width" : 100 }, { "name" : "VALIDDATE", "label" : "有效期至", "width" : 100, "type" : "date", "format" : "YYYY-MM-DD", "inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ" }, { "name" : "MEMBERTYPE", "label" : "岗位类别", "width" : 80, "type" : "mapping", "map" : { "1" : "试验员", "2" : "档案员", "3" : "施工员", "4" : "资料员", "5" : "机械员", "6" : "质量员", "7" : "材料员", "8" : "预算员", "9" : "统计员", "10" : "劳务员" } }, { "name" : "LEVELNAME", "label" : "证书等级", "width" : 80 }, { "name" : "KIND", "label" : "ABC种类", "width" : 80, "type" : "mapping", "map" : { "1" : "A类证", "2" : "B类证", "3" : "C类证", "4" : "C1类证", "5" : "C2类证", "6" : "C3类证" } }, { "name" : "CARDNAME", "label" : "证书名称", "width" : 100 }, { "name" : "SSUINGUNIT_DISPLAY__", "label" : "发证单位", "width" : 150 }, { "name" : "ISSUEDATE", "label" : "签发日期", "width" : 100, "type" : "date", "format" : "YYYY-MM-DD", "inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ" }, { "name" : "CARDTYPE", "label" : "证书类型", "width" : 80, "type" : "mapping", "map" : { "1" : "建造师注册证", "2" : "建造师执业资格证", "3" : "ABC三类人员证", "4" : "技术工人证", "5" : "十大员证", "6" : "职称", "7" : "其他证书" } }, { "name" : "TYPENAME", "label" : "申请类型", "width" : 80 }, { "name" : "APPLYDATE", "label" : "申请日期", "width" : 100, "type" : "date", "format" : "YYYY-MM-DD", "inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ" }, { "name" : "STATUS", "label" : "审批状态", "width" : 80, "type" : "mapping", "map" : { "1" : "未提交", "2" : "处理中", "3" : "通过", "4" : "未通过", "5" : "重新提交", "6" : "作废" } } ], "headerToolbar" : [ { "type" : "button", "id" : "初始注册", "label" : "初始注册", "level" : "primary", "actionType" : "dialog", "dialog" : { "type" : "dialog", "title" : "初始注册", "size" : "lg", "body" : { "type" : "service", "schemaApi" : "get:/api/page/schema/b5dc2b58-4fd3-4e48-af3f-25d9dcdcfeb0?format=amis", "api" : { "method" : "get", "url" : "/api/form/HR_CARDREGISTERAPPLY/defaults?templateId=b5dc2b58-4fd3-4e48-af3f-25d9dcdcfeb0" } }, "actions" : [ { "type" : "button", "label" : "保存", "level" : "primary", "actionType" : "submit", "api" : "POST:/api/flow/HR_CARDREGISTERAPPLY_ADD?__egtpl=b5dc2b58-4fd3-4e48-af3f-25d9dcdcfeb0", "close" : true }, { "type" : "button", "label" : "保存并提交审批", "level" : "primary", "actionType" : "submit", "api" : "POST:/api/flow/HR_CARDREGISTERAPPLY_SAVE_AND_SUBMIT?__egtpl=b5dc2b58-4fd3-4e48-af3f-25d9dcdcfeb0", "close" : true }, { "type" : "button", "label" : "取消", "actionType" : "close" } ] } }, { "type" : "button", "id" : "转入注册", "label" : "转入注册", "level" : "primary", "actionType" : "dialog", "dialog" : { "type" : "dialog", "title" : "转入注册", "size" : "lg", "body" : { "type" : "service", "schemaApi" : "get:/api/page/schema/fc625d01-8ec0-4c8d-be2e-a274340ac064?format=amis", "api" : { "method" : "get", "url" : "/api/form/HR_CARDREGISTERAPPLY/defaults?templateId=fc625d01-8ec0-4c8d-be2e-a274340ac064" } }, "actions" : [ { "type" : "button", "label" : "保存", "level" : "primary", "actionType" : "submit", "api" : "POST:/api/flow/HR_CARDREGISTERAPPLY_ADD?__egtpl=fc625d01-8ec0-4c8d-be2e-a274340ac064", "close" : true }, { "type" : "button", "label" : "保存并提交审批", "level" : "primary", "actionType" : "submit", "api" : "POST:/api/flow/HR_CARDREGISTERAPPLY_SAVE_AND_SUBMIT?__egtpl=fc625d01-8ec0-4c8d-be2e-a274340ac064", "close" : true }, { "type" : "button", "label" : "取消", "actionType" : "close" } ] } }, { "type" : "button", "id" : "注销注册", "label" : "注销注册", "level" : "primary", "actionType" : "dialog", "dialog" : { "type" : "dialog", "title" : "注销注册", "size" : "lg", "body" : { "type" : "service", "schemaApi" : "get:/api/page/schema/159cb5b9-e0e7-4d14-9b38-3b62b22bb295?format=amis", "api" : { "method" : "get", "url" : "/api/form/HR_CARDREGISTERAPPLY/defaults?templateId=159cb5b9-e0e7-4d14-9b38-3b62b22bb295" } }, "actions" : [ { "type" : "button", "label" : "保存", "level" : "primary", "actionType" : "submit", "api" : "POST:/api/flow/HR_CARDREGISTERAPPLY_ADD?__egtpl=159cb5b9-e0e7-4d14-9b38-3b62b22bb295", "close" : true }, { "type" : "button", "label" : "保存并提交审批", "level" : "primary", "actionType" : "submit", "api" : "POST:/api/flow/HR_CARDREGISTERAPPLY_SAVE_AND_SUBMIT?__egtpl=159cb5b9-e0e7-4d14-9b38-3b62b22bb295", "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_CARDREGISTERAPPLY_DELETE", "data" : { "ids" : "${selectedItems|pick:HR_CARDREGISTERAPPLY_ID|join:','}" } } }, { "type" : "button", "id" : "提交审批", "label" : "提交审批", "actionType" : "ajax", "api" : { "method" : "post", "url" : "/api/flow/HR_CARDREGISTERAPPLY_SUBMIT", "data" : { "HR_CARDREGISTERAPPLY_ID" : "${selectedItems[0].HR_CARDREGISTERAPPLY_ID}" } }, "disabledOn" : "${!selectedItems || selectedItems.length === 0 || (selectedItems[0].STATUS && selectedItems[0].STATUS != 1 && selectedItems[0].STATUS != 4 && selectedItems[0].STATUS != 5)}" }, { "type" : "button", "id" : "查看审批", "label" : "查看审批", "icon" : "fa fa-search", "disabledOn" : "${!selectedItems || selectedItems.length === 0}", "onEvent" : { "click" : { "actions" : [ { "actionType" : "openApprovalDrawer", "args" : { "taskName" : "审批详情", "processInstanceId" : "${selectedItems[0].processInstanceId || selectedItems[0].PROCESSINSTANCEID || ''}", "businessKey" : "${selectedItems[0].HR_CARDREGISTERAPPLY_ID}", "businessTable" : "HR_CARDREGISTERAPPLY", "readOnly" : true, "mode" : "read" } } ] } } }, "pagination" ], "primaryField" : "HR_CARDREGISTERAPPLY_ID" } }