{ "type" : "page", "title" : "我发起的会议", "body" : { "type" : "crud", "api" : "/api/flow/OA_MEETING_SEARCH_CURRENTUSERISAPPLYUSER_RECORD", "syncLocation" : false, "selectable" : true, "checkOnItemClick" : true, "filter" : { "title" : "查询", "body" : [ { "name" : "MEETING_TOPIC", "label" : "会议主题", "type" : "input-text" }, { "name" : "MEETINGTIME", "label" : "会议时间", "type" : "input-datetime-range" }, { "name" : "MEETING_STATUS", "label" : "会议状态", "type" : "select", "clearable" : true, "source" : "/api/poc/dict/meeting_Status" } ] }, "columns" : [ { "name" : "OA_MEETING_ID", "label" : "主键", "width" : 200, "toggled" : false }, { "name" : "MEETING_TOPIC", "label" : "会议主题", "width" : 200 }, { "name" : "MEETING_GRADE", "label" : "重要级别", "width" : 200, "type" : "mapping", "map" : { "1" : "普通", "2" : "重要" } }, { "name" : "MEETINGROOMID_DISPLAY__", "label" : "会议室", "width" : 200 }, { "name" : "MEETING_STATUS", "label" : "会议状态", "width" : 200, "type" : "mapping", "map" : { "1" : "未结束", "2" : "已结束", "3" : "已取消" } }, { "name" : "ATTENDEES", "label" : "与会人员", "width" : 200, "toggled" : false }, { "name" : "MEETINGROOMDISPATCHID_DISPLAY__", "label" : "会议调度", "width" : 200, "toggled" : false }, { "name" : "APPLYUSER_DISPLAY__", "label" : "发起人", "width" : 200, "toggled" : false }, { "name" : "APPLYDEPART_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" : "STARTTIME", "label" : "开始时间", "width" : 200, "type" : "datetime", "format" : "YYYY-MM-DD HH:mm", "inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ", "toggled" : false }, { "name" : "ENDTIME", "label" : "结束时间", "width" : 200, "type" : "datetime", "format" : "YYYY-MM-DD HH:mm", "inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ", "toggled" : false }, { "name" : "MEETING_BUDGE", "label" : "会议预算费用(元)", "width" : 200, "toggled" : false }, { "name" : "OTHERATTENDEE", "label" : "其他与会人员", "width" : 200, "toggled" : false }, { "name" : "MEETING_RESOURCE", "label" : "需求资源", "width" : 200, "toggled" : false }, { "name" : "MEETING_CONTENT", "label" : "会议内容", "width" : 200, "toggled" : false }, { "name" : "MEETINGCHANGEREASON", "label" : "会议变更原因", "width" : 200, "toggled" : false }, { "name" : "MEETINGCANCELREASON", "label" : "会议取消原因", "width" : 200, "toggled" : false } ], "headerToolbar" : [ { "type" : "button", "id" : "查看", "label" : "查看", "actionType" : "dialog", "disabledOn" : "${!selectedItems || selectedItems.length === 0}", "dialog" : { "type" : "dialog", "title" : "查看", "size" : "lg", "data" : { "&" : "${selectedItems[0]}", "__readonly" : true }, "body" : { "type" : "service", "schemaApi" : "get:/api/page/schema/b64d84a2-2473-45a9-84bc-37015e723e97?format=amis", "static" : true, "api" : { "method" : "post", "url" : "/api/flow/OA_MEETING_LOAD?__egtpl=b64d84a2-2473-45a9-84bc-37015e723e97", "data" : { "OA_MEETING_ID" : "${OA_MEETING_ID}" }, "responseData" : { "&" : "${result}" } } } } }, { "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/dba4790b-e8b8-48a6-8d09-2f7408392e9c?format=amis", "api" : { "method" : "post", "url" : "/api/flow/OA_MEETING_LOAD?__egtpl=dba4790b-e8b8-48a6-8d09-2f7408392e9c", "data" : { "OA_MEETING_ID" : "${OA_MEETING_ID}" }, "responseData" : { "&" : "${result}" } } }, "actions" : [ { "type" : "button", "label" : "发送会议变更通知", "level" : "primary", "actionType" : "submit", "api" : "POST:/api/flow/OA_MEETING_CHANGE?__egtpl=dba4790b-e8b8-48a6-8d09-2f7408392e9c", "close" : true }, { "type" : "button", "label" : "取消", "actionType" : "close" } ] } }, { "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/c961e603-7c61-44ef-8486-15725c3197a9?format=amis", "api" : { "method" : "post", "url" : "/api/flow/OA_MEETING_LOAD?__egtpl=c961e603-7c61-44ef-8486-15725c3197a9", "data" : { "OA_MEETING_ID" : "${OA_MEETING_ID}" }, "responseData" : { "&" : "${result}" } } }, "actions" : [ { "type" : "button", "label" : "发送会议取消通知", "level" : "primary", "actionType" : "submit", "api" : "POST:/api/flow/OA_MEETING_CANCEL?__egtpl=c961e603-7c61-44ef-8486-15725c3197a9", "close" : true }, { "type" : "button", "label" : "取消", "actionType" : "close" } ] } }, { "type" : "button", "id" : "会议完成", "label" : "会议完成", "actionType" : "ajax", "disabled" : true, "api" : { "method" : "post", "url" : "/api/flow/OA_MEETING_SETEND", "data" : { "OA_MEETING_ID" : "${selectedItems[0].OA_MEETING_ID}" } } }, "pagination" ], "primaryField" : "OA_MEETING_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" : "26ba305a-38be-49df-9811-cca2fda0d140" } }, "outputVar" : "scriptResult1" }, { "actionType" : "replayScriptCommands", "args" : { "commands" : "${event.data.scriptResult1.commands}" } } ] } } } }