{ "type" : "page", "title" : "会议纪要归档", "body" : { "type" : "crud", "api" : "/api/flow/OA_MEETINGMINUTES_FILINGUP_SEARCH", "syncLocation" : false, "selectable" : true, "checkOnItemClick" : true, "filter" : { "title" : "查询", "body" : [ { "name" : "MEETING_TOPIC", "label" : "会议主题", "type" : "input-text" }, { "name" : "MEETINGTIME", "label" : "会议时间", "type" : "input-datetime-range" }, { "name" : "APPLYUSER", "label" : "发起人", "type" : "input-text" }, { "name" : "APPLYDEPART", "label" : "主办部门", "type" : "tree-select", "clearable" : true, "source" : "/api/template/138b7ca7-befb-4a0c-bfc6-ed8fb4d4e434/tree", "searchable" : true, "onlyLeaf" : true }, { "name" : "SERIALNUMBER", "label" : "会议纪要号", "disabled" : true, "hidden" : true, "type" : "input-text" }, { "name" : "MEETING_COMPERE", "label" : "会议主持人", "hidden" : true, "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" : "MEETING_CLERK", "label" : "会议书记员", "hidden" : true, "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" : "STARTTIME", "label" : "开始时间", "hidden" : true, "type" : "input-datetime" }, { "name" : "ENDTIME", "label" : "结束时间", "hidden" : true, "type" : "input-datetime" }, { "name" : "OTHERATTENDEE", "label" : "其他与会人员", "hidden" : true, "type" : "input-text" }, { "name" : "SENDS", "label" : "接收人员", "hidden" : true, "type" : "select", "multiple" : true, "clearable" : true, "searchable" : true, "source" : "/api/picker//list?q=${term}&page=${page}&perPage=${perPage}" }, { "name" : "MEETING_GRADE", "label" : "重要级别", "hidden" : true, "type" : "select", "clearable" : true, "source" : "/api/poc/dict/meeting_Grade" }, { "name" : "MEETINGROOMID", "label" : "会议室", "hidden" : true, "type" : "picker", "clearable" : true, "source" : "/api/picker/0d6df814-ccfd-4689-a2d8-408110c2d12f/list", "labelField" : "_label", "valueField" : "_id", "modalMode" : "dialog", "modalSize" : "lg", "pickerSchema" : { "mode" : "table", "headerToolbar" : [ { "type" : "search-box", "name" : "q", "placeholder" : "输入关键字搜索" } ], "footerToolbar" : [ "pagination" ] } }, { "name" : "MEETING_BUDGE", "label" : "会议预算费用(元)", "hidden" : true, "type" : "input-number", "precision" : 2 }, { "name" : "MEETING_RESOURCE", "label" : "会议资源", "hidden" : true, "type" : "input-text" }, { "name" : "MEETINGMINUTES_CONTENT", "label" : "会议纪要", "hidden" : true, "type" : "input-text" }, { "name" : "MEETINGMINUTES_VERSION", "label" : "会议纪要版本", "hidden" : true, "type" : "input-number", "precision" : 0, "step" : 1 }, { "name" : "ISPLACE", "label" : "归档状态", "type" : "select", "clearable" : true, "source" : "/api/poc/dict/SYS_FILINGUP_STATUS" } ] }, "columns" : [ { "name" : "OA_MEETINGMINUTES_ID", "label" : "主键", "width" : 200, "toggled" : false }, { "name" : "SERIALNUMBER", "label" : "会议纪要号", "width" : 150 }, { "name" : "MEETING_TOPIC", "label" : "会议主题", "width" : 150 }, { "name" : "MEETINGROOMID_DISPLAY__", "label" : "会议室", "width" : 100 }, { "name" : "STARTTIME", "label" : "开始时间", "width" : 160, "type" : "datetime", "format" : "YYYY-MM-DD HH:mm", "inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ" }, { "name" : "ENDTIME", "label" : "结束时间", "width" : 160, "type" : "datetime", "format" : "YYYY-MM-DD HH:mm", "inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ" }, { "name" : "MEETING_GRADE", "label" : "重要级别", "width" : 80, "type" : "mapping", "map" : { "1" : "普通", "2" : "重要" } }, { "name" : "APPLYDEPART_DISPLAY__", "label" : "主办部门", "width" : 150 }, { "name" : "APPLYUSER_DISPLAY__", "label" : "发起人", "width" : 100 }, { "name" : "MEETINGMINUTES_VERSION", "label" : "会议纪要版本", "width" : 100 }, { "name" : "MEETINGID_DISPLAY__", "label" : "会议", "width" : 200, "toggled" : false }, { "name" : "MEETING_COMPERE_DISPLAY__", "label" : "会议主持人", "width" : 200, "toggled" : false }, { "name" : "MEETING_CLERK_DISPLAY__", "label" : "会议书记员", "width" : 200, "toggled" : false }, { "name" : "OTHERATTENDEE", "label" : "其他与会人员", "width" : 200, "toggled" : false }, { "name" : "ATTENDEES", "label" : "与会人员", "width" : 200, "toggled" : false }, { "name" : "SENDS", "label" : "接收人员", "width" : 200, "toggled" : false }, { "name" : "MEETING_BUDGE", "label" : "会议预算费用(元)", "width" : 200, "toggled" : false }, { "name" : "MEETING_RESOURCE", "label" : "会议资源", "width" : 200, "toggled" : false }, { "name" : "MEETINGMINUTES_CONTENT", "label" : "会议纪要", "width" : 200, "toggled" : false }, { "name" : "ISPLACE", "label" : "归档状态", "width" : 100, "type" : "mapping", "map" : { "0" : "未归档", "1" : "待归档", "2" : "已退档", "3" : "已归档" } } ], "headerToolbar" : [ { "type" : "button", "id" : "归档", "label" : "归档", "actionType" : "dialog", "disabledOn" : "${!selectedItems || selectedItems.length === 0}", "dialog" : { "type" : "dialog", "title" : "归档", "size" : "lg", "data" : { "&" : "${selectedItems[0]}" }, "body" : { "type" : "service", "schemaApi" : "get:/api/page/schema/bb6033d5-b61b-44f5-8f63-756316a6f799?format=amis", "api" : { "method" : "post", "url" : "/api/flow/OA_MEETINGMINUTES_FILINGUP_LOAD?__egtpl=bb6033d5-b61b-44f5-8f63-756316a6f799", "data" : { "OA_MEETINGMINUTES_ID" : "${OA_MEETINGMINUTES_ID}" }, "responseData" : { "&" : "${result}" } } }, "actions" : [ { "type" : "button", "label" : "保存", "level" : "primary", "actionType" : "submit", "api" : "POST:/api/flow/OA_MEETINGMINUTES_FILINGUP_SAVE?__egtpl=bb6033d5-b61b-44f5-8f63-756316a6f799", "close" : true }, { "type" : "button", "label" : "取消", "actionType" : "close" } ] } }, { "type" : "button", "id" : "退档", "label" : "退档", "actionType" : "ajax", "disabled" : true, "confirmText" : " 确认要退档吗?", "api" : { "method" : "post", "url" : "/api/flow/OA_MEETINGMINUTES_BACK", "data" : { "OA_MEETINGMINUTES_ID" : "${selectedItems[0].OA_MEETINGMINUTES_ID}" } } }, "pagination" ], "primaryField" : "OA_MEETINGMINUTES_ID", "onEvent" : { "selectedChange" : { "actions" : [ { "actionType" : "disabled", "componentId" : "退档" }, { "actionType" : "ajax", "api" : { "method" : "post", "url" : "/api/script/execute-template", "data" : { "seq" : 1, "item" : "${event.data.selectedItems[0]}", "templateId" : "96e9bbf5-4515-4e05-bd59-20a970f6bb5c" } }, "outputVar" : "scriptResult1" }, { "actionType" : "replayScriptCommands", "args" : { "commands" : "${event.data.scriptResult1.commands}" } } ] } } } }