{ "type" : "page", "title" : "短消息", "body" : [ { "type" : "button-toolbar", "className" : "m-b-sm", "buttons" : [ { "type" : "button", "label" : "发送消息", "level" : "primary", "icon" : "fa fa-paper-plane", "actionType" : "dialog", "dialog" : { "type" : "dialog", "title" : "发送消息", "size" : "md", "body" : { "type" : "form", "mode" : "horizontal", "api" : "POST:/api/notice/send", "reload" : "short-message-sent-crud", "horizontal" : { "left" : 2, "right" : 10 }, "body" : [ { "type" : "input-text", "name" : "TITLE", "label" : "标题", "required" : true, "maxLength" : 200 }, { "type" : "picker", "name" : "TOUSERS", "label" : "接收人", "required" : true, "multiple" : true, "clearable" : true, "placeholder" : "请点击右侧的图标", "source" : "/api/picker/090981ba-0c10-4d84-92dc-80e226594480/list", "labelField" : "_label", "valueField" : "_id", "modalMode" : "dialog", "modalSize" : "lg", "overflowConfig" : { "maxTagCount" : 1, "displayPosition" : [ "select" ] }, "pickerSchema" : { "mode" : "table", "headerToolbar" : [ { "type" : "search-box", "name" : "q", "placeholder" : "输入关键字搜索" } ], "footerToolbar" : [ "pagination" ] } }, { "type" : "hidden", "name" : "ISREPLY", "value" : true }, { "type" : "textarea", "name" : "CONTENT", "label" : "内容", "required" : true, "minRows" : 6, "maxLength" : 2000 } ] }, "actions" : [ { "type" : "button", "label" : "取消", "actionType" : "close" }, { "type" : "button", "label" : "发送", "level" : "primary", "actionType" : "submit", "close" : true } ] } } ] }, { "type" : "tabs", "tabs" : [ { "title" : "已发消息", "body" : { "type" : "service", "schemaApi" : "get:/api/page/schema/b7635622-309a-4348-9657-a9ae6866992f?format=amis", "id" : "short-message-sent-service" } }, { "title" : "已收消息", "body" : { "type" : "service", "schemaApi" : "get:/api/page/schema/83971d1a-490c-48a1-b9e1-e57fa26acda3?format=amis", "id" : "short-message-received-service" } } ], "id" : "message-tabs" } ] }