{ "type" : "page", "title" : "项目配置人员选择框", "body" : { "type" : "crud", "api" : "/api/flow/VIEW_PROJECTUSER_SEARCH", "syncLocation" : false, "selectable" : true, "checkOnItemClick" : true, "filter" : { "title" : "查询", "body" : [ { "name" : "PROJECTID", "label" : "工程名称", "hidden" : true, "type" : "picker", "clearable" : true, "source" : "/api/picker/66e57e6d-0cbb-40cf-8b84-c512345734b7/list", "labelField" : "_label", "valueField" : "_id", "modalMode" : "dialog", "modalSize" : "lg", "pickerSchema" : { "mode" : "table", "headerToolbar" : [ { "type" : "search-box", "name" : "q", "placeholder" : "输入关键字搜索" } ], "footerToolbar" : [ "pagination" ] } }, { "name" : "ROLEID", "label" : "角色", "type" : "select", "clearable" : true, "source" : "/api/poc/dict/PM_PROJECTMANAGERROLE" } ] }, "columns" : [ { "name" : "VIEW_PROJECTUSER_ID", "label" : "主键", "width" : 200, "toggled" : false }, { "name" : "PROJECTID_DISPLAY__", "label" : "工程名称", "width" : 200, "toggled" : false }, { "name" : "USERID_DISPLAY__", "label" : "姓名", "width" : 200 }, { "name" : "ROLEID", "label" : "角色", "width" : 200, "type" : "mapping", "map" : { "1" : "项目负责人", "2" : "工程师", "3" : "安全员", "4" : "质量员", "5" : "施工员", "6" : "核算员", "7" : "材料员", "8" : "资料员", "19" : "技术负责人", "20" : "项目分包负责人", "1000" : "分管领导" } } ], "headerToolbar" : [ "pagination" ], "primaryField" : "VIEW_PROJECTUSER_ID" } }