{ "type" : "page", "title" : "项目备案人员变更申请页面", "body" : { "type" : "form", "id" : "eip4-edit-form", "title" : "", "mode" : "horizontal", "horizontal" : { "leftFixed" : 120 }, "body" : [ { "type" : "grid", "columns" : [ { "md" : 4, "body" : [ { "name" : "PROJECTID", "label" : "工程名称", "required" : 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" ] }, "value" : "${currentProject}" } ] }, { "md" : 4, "body" : [ { "name" : "ISCONFIRM", "label" : "业主是否确认", "required" : true, "type" : "select", "clearable" : true, "source" : "/api/poc/dict/YESNO" } ] }, { "md" : 4, "body" : [ { "name" : "EFFECTIVEDATE", "label" : "生效日期", "required" : true, "type" : "input-date" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 4, "body" : [ { "name" : "PRESSURE_CONDITION", "label" : "押证状态", "required" : true, "type" : "select", "clearable" : true, "source" : "/api/poc/dict/PRESSURE_CONDITION" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "USERDETAILS", "label" : "备案人员变更明细", "type" : "input-table", "id" : "eg-USERDETAILS", "addable" : true, "removable" : true, "staticOn" : "${__readonly}", "columns" : [ { "name" : "OLDRECORDUSER", "label" : "原备案人员", "type" : "tpl", "tpl" : "${OLDRECORDUSER_DISPLAY__ ? OLDRECORDUSER_DISPLAY__ : OLDRECORDUSER}", "quickEdit" : false }, { "name" : "OLDSELECT", "label" : "OLDSELECT", "quickEdit" : { "name" : "OLDSELECT", "type" : "picker", "clearable" : true, "source" : "/api/picker/50170984-79cd-41a3-a023-77022edc97b3/list", "labelField" : "_label", "valueField" : "_id", "modalMode" : "dialog", "modalSize" : "lg", "pickerSchema" : { "mode" : "table", "headerToolbar" : [ { "type" : "search-box", "name" : "q", "placeholder" : "输入关键字搜索" } ], "footerToolbar" : [ "pagination" ] }, "onEvent" : { "change" : { "actions" : [ { "actionType" : "ajax", "outputVar" : "egRow", "args" : { "api" : { "method" : "post", "url" : "/api/script/execute-editgrid-row", "data" : { "templateId" : "bf19d677-b69b-4cd4-871d-7ff482b1e4fd", "editgridField" : "USERDETAILS", "scriptKey" : "2577d02a-709d-4db3-9ed0-eb38d61ba50a", "changedField" : "OLDSELECT", "row" : "${__rendererData}", "parent" : { "USERDETAILS" : "${__rendererData.USERDETAILS || USERDETAILS}" } } } } }, { "actionType" : "setValue", "componentId" : "eg-USERDETAILS", "args" : { "index" : "${index}", "value" : "${egRow.rowSetValues}" } }, { "actionType" : "setValue", "componentId" : "eip4-edit-form", "args" : { "value" : "${egRow.parentSetValues}" } } ] } } } }, { "name" : "NEWRECORDUSER", "label" : "新备案人员", "type" : "tpl", "tpl" : "${NEWRECORDUSER_DISPLAY__ ? NEWRECORDUSER_DISPLAY__ : NEWRECORDUSER}", "quickEdit" : false }, { "name" : "NEWSELECT", "label" : "NEWSELECT", "quickEdit" : { "name" : "NEWSELECT", "type" : "picker", "clearable" : true, "source" : "/api/picker/a801e436-9176-4794-a48b-5c7020697697/list", "labelField" : "_label", "valueField" : "_id", "modalMode" : "dialog", "modalSize" : "lg", "pickerSchema" : { "mode" : "table", "headerToolbar" : [ { "type" : "search-box", "name" : "q", "placeholder" : "输入关键字搜索" } ], "footerToolbar" : [ "pagination" ] }, "onEvent" : { "change" : { "actions" : [ { "actionType" : "ajax", "outputVar" : "egRow", "args" : { "api" : { "method" : "post", "url" : "/api/script/execute-editgrid-row", "data" : { "templateId" : "bf19d677-b69b-4cd4-871d-7ff482b1e4fd", "editgridField" : "USERDETAILS", "scriptKey" : "235ecd58-2596-4ec4-9d8b-08cd0232b58f", "changedField" : "NEWSELECT", "row" : "${__rendererData}", "parent" : { "USERDETAILS" : "${__rendererData.USERDETAILS || USERDETAILS}" } } } } }, { "actionType" : "setValue", "componentId" : "eg-USERDETAILS", "args" : { "index" : "${index}", "value" : "${egRow.rowSetValues}" } }, { "actionType" : "setValue", "componentId" : "eip4-edit-form", "args" : { "value" : "${egRow.parentSetValues}" } } ] } } } }, { "name" : "ROLEID", "label" : "项目角色", "quickEdit" : { "name" : "ROLEID", "required" : true, "type" : "select", "clearable" : true, "source" : "/api/poc/dict/PM_PROJECTMANAGERROLE" } } ], "needConfirm" : false } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 4, "body" : [ { "name" : "APPLYUSER", "label" : "申请人", "type" : "static", "tpl" : "${APPLYUSER_DISPLAY__ ? APPLYUSER_DISPLAY__ : (DISPLAYNAME ? DISPLAYNAME : APPLYUSER)}", "value" : "${currentUser}" } ] }, { "md" : 4, "body" : [ { "name" : "APPLYDATE", "label" : "申请日期", "required" : true, "disabled" : true, "type" : "input-date", "value" : "${now}" } ] } ] }, { "type" : "grid", "columns" : [ { "md" : 12, "body" : [ { "name" : "REMAEK", "label" : "备注", "type" : "textarea" } ] } ] }, { "name" : "PM_MANAGERUPDATEAPPLY_ID", "label" : "主键", "hidden" : true, "type" : "input-text" } ], "actions" : [ ] } }