SPPEA00102_통합예약담당관리.xfdl 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. <?xml version="1.0" encoding="utf-8" standalone="no"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPPEA00102" position="absolute 0 0 178 500" titletext="통합 예약 담당자 관리" onload="SPPEA00102_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="cap_title" class="tit_1" position="absolute 0 0 171 23" style="" text="통합 예약 담당자 관리"/>
  8. <Grid id="grd_main" binddataset="ds_main_P0127list_P0127info" position="absolute 0 51 170 498" style="align:center ;">
  9. <Formats>
  10. <Format id="default">
  11. <Columns>
  12. <Column size="25"/>
  13. <Column size="60"/>
  14. <Column size="0"/>
  15. <Column size="60"/>
  16. </Columns>
  17. <Rows>
  18. <Row size="24" band="head"/>
  19. <Row size="24"/>
  20. </Rows>
  21. <Band id="head">
  22. <Cell/>
  23. <Cell col="1" text="ID"/>
  24. <Cell col="2" text="ID_bf"/>
  25. <Cell col="3" text="이름"/>
  26. </Band>
  27. <Band id="body">
  28. <Cell celltype="head"/>
  29. <Cell col="1" displaytype="text" edittype="text" style="align:center middle;" text="bind:cdid"/>
  30. <Cell col="2" text="bind:cdid_bf"/>
  31. <Cell col="3" text="bind:cdnm"/>
  32. </Band>
  33. </Format>
  34. </Formats>
  35. </Grid>
  36. <Button id="btn_add" class="btn2" position="absolute 42 27 84 46" style="" text="추가" onclick="btn_add_onclick"/>
  37. <Shape id="line6" class="line_10" linetype="horizontal" position="absolute 0 47 170 51" style="" anchor="default"/>
  38. <Button id="btn_del" class="btn2" position="absolute 85 27 127 46" style="" text="삭제" onclick="btn_del_onclick"/>
  39. <Button id="btn_save" class="btn2" position="absolute 128 27 170 46" style="" text="저장" onclick="btn_save_onclick"/>
  40. </Layout>
  41. </Layouts>
  42. <Objects>
  43. <Dataset id="ds_main_P0127list_P0127info" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  44. <ColumnInfo>
  45. <Column id="cdid" type="STRING" size="256"/>
  46. <Column id="cdid_bf" type="STRING" size="256"/>
  47. <Column id="cdnm" type="STRING" size="256"/>
  48. </ColumnInfo>
  49. <Rows>
  50. <Row>
  51. <Col id="cdid"/>
  52. <Col id="cdid_bf"/>
  53. <Col id="cdnm"/>
  54. </Row>
  55. </Rows>
  56. </Dataset>
  57. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  58. <ColumnInfo>
  59. <Column id="updt" type="STRING" size="256"/>
  60. </ColumnInfo>
  61. </Dataset>
  62. <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  63. <ColumnInfo/>
  64. </Dataset>
  65. <Dataset id="ds_main_P0127list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  66. <ColumnInfo/>
  67. </Dataset>
  68. <Dataset id="ds_send_updt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  69. </Objects>
  70. <Bind/>
  71. <Script type="xscript4.0"><![CDATA[include "com_commonxp::comm_main.xjs";
  72. function SPPEA00102_onload(obj: Form, e: LoadEventInfo) {
  73. frmf_initForm(obj);
  74. // grdf_initGrid(this.grd_main);
  75. grdf_setRowTypeIcon(grd_main, 0);
  76. //submit("TRPEA00110");
  77. var oParam = {};
  78. oParam.id = "TRPEA00110";
  79. oParam.service = "pamexcuapp.PamExcu";
  80. oParam.method = "reqGetRsrvStaff";
  81. oParam.outds = "ds_main_P0127list_P0127info=P0127";
  82. oParam.async = false;
  83. tranf_submit(oParam);
  84. }
  85. function btn_add_onclick(obj: Button, e: ClickEventInfo) {
  86. var aRow = ds_main_P0127list_P0127info.addRow();
  87. ds_main_P0127list_P0127info.rowposition = aRow;
  88. }
  89. function btn_del_onclick(obj: Button, e: ClickEventInfo) {
  90. var row = ds_main_P0127list_P0127info.rowposition;
  91. dsf_deleteSelectedRows(grd_main, true);
  92. }
  93. function btn_save_onclick(obj: Button, e: ClickEventInfo) {
  94. ds_send_updt.clearData();
  95. var updateDs = grdf_getGridUpdateData(grd_main, "all");
  96. grdf_setStatusColumn(updateDs, "status");
  97. ds_send_updt.copyData(updateDs, true);
  98. var oParam = {};
  99. oParam.id = "TXPEA00103";
  100. oParam.service = "pamexcuapp.PamExcu";
  101. oParam.method = "reqSetRsrvStaff";
  102. oParam.inds = "req=ds_send_updt";
  103. oParam.outds = "ds_main_P0127list_P0127info=P0127";
  104. oParam.transaction = false;
  105. oParam.async = false;
  106. tranf_submit(oParam);
  107. }
  108. ]]></Script>
  109. </Form>
  110. </FDL>