{ "type" : "page", "title" : "论坛视图", "body" : { "type" : "crud", "api" : "/api/flow/OA_ZONEVIEW_SEARCH", "syncLocation" : false, "selectable" : true, "checkOnItemClick" : true, "filter" : { "title" : "查询", "body" : [ { "name" : "TITLE", "label" : "主题", "type" : "input-text" }, { "name" : "ZONEID", "label" : "版块", "type" : "picker", "clearable" : true, "source" : "/api/picker/52292a04-4f24-4e3c-9380-9578926b05e2/list", "labelField" : "_label", "valueField" : "_id", "modalMode" : "dialog", "modalSize" : "lg", "pickerSchema" : { "mode" : "table", "headerToolbar" : [ { "type" : "search-box", "name" : "q", "placeholder" : "输入关键字搜索" } ], "footerToolbar" : [ "pagination" ] } } ] }, "columns" : [ { "name" : "OA_ZONEVIEW_ID", "label" : "主键", "width" : 200, "toggled" : false }, { "name" : "ZONEID", "label" : "版块", "width" : 200 }, { "name" : "TITLE", "label" : "主题", "width" : 200 }, { "name" : "PUBLISHUSER", "label" : "作者", "width" : 200 }, { "name" : "PUBLISHTIME", "label" : "时间", "width" : 200 }, { "name" : "VISITNUM", "label" : "人气数", "width" : 200 } ], "headerToolbar" : [ { "type" : "button", "id" : "发表话题", "label" : "发表话题", "level" : "primary", "actionType" : "dialog", "dialog" : { "type" : "dialog", "title" : "发表话题", "body" : { "type" : "tpl", "tpl" : "该单据未配编辑表单" } } }, { "type" : "button", "id" : "发起投票", "label" : "发起投票", "level" : "primary", "actionType" : "dialog", "dialog" : { "type" : "dialog", "title" : "发起投票", "body" : { "type" : "tpl", "tpl" : "该单据未配编辑表单" } } }, { "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/3d94fad0-310b-425a-ae89-8606013575be?format=amis", "static" : true, "api" : { "method" : "post", "url" : "/api/flow/OA_ZONEVIEW_LOAD?__egtpl=3d94fad0-310b-425a-ae89-8606013575be", "data" : { "ORPHAN_156f97c6_8a5c_4ca2_8564_287a61c2a9bc_ID" : "${ORPHAN_156f97c6_8a5c_4ca2_8564_287a61c2a9bc_ID}" }, "responseData" : { "&" : "${result}" } } } } }, "pagination" ], "primaryField" : "ORPHAN_156f97c6_8a5c_4ca2_8564_287a61c2a9bc_ID" } }