{ "type" : "page", "title" : "大型设备管理查看历史记录", "body" : { "type" : "crud", "api" : "/api/flow/PM_BIGEQUIPMENT_SEARCH", "syncLocation" : false, "selectable" : true, "checkOnItemClick" : true, "filter" : { "title" : "查询", "body" : [ { "name" : "TEXT", "label" : "内容", "type" : "input-text" }, { "name" : "CREATETIME", "label" : "申请日期", "type" : "input-date-range" }, { "name" : "STAGE", "label" : "阶段", "hidden" : true, "type" : "select", "clearable" : true, "source" : "/api/poc/dict/BIG_EN_STAGE", "value" : "6" }, { "name" : "FLOWID", "label" : "流程", "hidden" : true, "type" : "input-text" } ] }, "columns" : [ { "name" : "PM_BIGEQUIPMENT_ID", "label" : "主键", "width" : 200, "toggled" : false }, { "name" : "PROJECTID_DISPLAY__", "label" : "工程名称", "width" : 200, "toggled" : false }, { "name" : "MACHID_DISPLAY__", "label" : "设备名称", "width" : 200 }, { "name" : "MODEL", "label" : "设备型号", "width" : 200 }, { "name" : "APPLYUSER_DISPLAY__", "label" : "申请人", "width" : 200 }, { "name" : "TEXT", "label" : "内容", "width" : 200 }, { "name" : "STAGE", "label" : "阶段", "width" : 200, "type" : "mapping", "map" : { "1" : "申请", "2" : "基础方案", "3" : "拆装方案", "4" : "基础验收", "5" : "安装与验收", "6" : "设备检测" }, "toggled" : false }, { "name" : "CREATETIME", "label" : "申请日期", "width" : 200, "type" : "datetime", "format" : "YYYY-MM-DD HH:mm", "inputFormat" : "YYYY-MM-DDTHH:mm:ss.SSSZ" }, { "name" : "STATUS", "label" : "审批状态", "width" : 200, "type" : "mapping", "map" : { "1" : "未提交", "2" : "处理中", "3" : "通过", "4" : "未通过", "5" : "重新提交", "6" : "作废" } } ], "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/5cf5ed63-6380-4036-96ff-dbccc4251464?format=amis", "static" : true, "api" : { "method" : "post", "url" : "/api/flow/PM_BIGEQUIPMENT_LOAD?__egtpl=5cf5ed63-6380-4036-96ff-dbccc4251464", "data" : { "PM_BIGEQUIPMENT_ID" : "${PM_BIGEQUIPMENT_ID}" }, "responseData" : { "&" : "${result}" } } } } }, "pagination" ], "primaryField" : "PM_BIGEQUIPMENT_ID" } }