SPMMR04400_서식부제목관리.xfdl 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPMMR04400" position="absolute 0 0 240 350" titletext="서식부제목관리" oninit="SPMMR04400_oninit" onload="SPMMR04400_onload">
  5. <Layouts>
  6. <Layout>
  7. <Button position="absolute 63 3 105 22" id="button1" class="btn2" text="추가" onclick="button1_onclick" anchor="left top"/>
  8. <Button position="absolute 107 3 149 22" id="button2" class="btn2" text="삭제" onclick="button2_onclick" anchor="left top"/>
  9. <Button position="absolute 151 3 193 22" id="button3" class="btn2" text="저장" onclick="button3_onclick" anchor="left top"/>
  10. <Grid position="absolute 0 25 240 350" id="grd_formsubtitle" binddataset="ds_main_formsubtitle_formsubtitlelist" anchor="all" autofittype="col" cellsizingtype="col" selecttype="multirow">
  11. <Formats>
  12. <Format id="default">
  13. <Columns>
  14. <Column size="25"/>
  15. <Column size="215"/>
  16. <Column size="0"/>
  17. <Column size="0"/>
  18. </Columns>
  19. <Rows>
  20. <Row size="24" band="head"/>
  21. <Row size="24"/>
  22. </Rows>
  23. <Band id="head">
  24. <Cell/>
  25. <Cell col="1" text="부제목명"/>
  26. <Cell col="2"/>
  27. <Cell col="3" text="순번"/>
  28. </Band>
  29. <Band id="body">
  30. <Cell/>
  31. <Cell col="1" displaytype="text" edittype="text" text="bind:formsubtitle" wordwrap="char" editautoselect="true"/>
  32. <Cell col="2" text="bind:formsubtitleseq"/>
  33. <Cell col="3" displaytype="number" edittype="text" text="bind:seq" mask="999"/>
  34. </Band>
  35. </Format>
  36. </Formats>
  37. </Grid>
  38. <Button position="absolute 4 3 30 22" id="button104" class="icon_top" text="" onclick="button104_onclick" anchor="left top"/>
  39. <Button position="absolute 33 3 59 22" id="button105" class="icon_bottom" text="" onclick="button105_onclick" anchor="left top"/>
  40. <Button position="absolute 195 3 237 22" id="button4" class="btn2" text="닫기" onclick="button4_onclick" anchor="left top"/>
  41. </Layout>
  42. </Layouts>
  43. <Objects>
  44. <Dataset id="ds_main_formsubtitle_formsubtitlelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  45. <ColumnInfo>
  46. <Column id="formsubtitle" type="STRING"/>
  47. <Column id="formsubtitleseq" type="STRING"/>
  48. <Column id="seq" type="STRING"/>
  49. </ColumnInfo>
  50. </Dataset>
  51. <Dataset id="ds_init_formsubtitle_formsubtitlelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  52. <Dataset id="ds_send_userid" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  53. <ColumnInfo>
  54. <Column id="userid" type="STRING" size="256"/>
  55. </ColumnInfo>
  56. </Dataset>
  57. <Dataset id="ds_send_formsublist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  58. </Objects>
  59. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  60. * System Name :
  61. * Job Name :
  62. * Creator :
  63. * Make Date : 2015-01-15
  64. * Description :
  65. *---------------------------------------------------------------------------------------
  66. * Modify Date Modifier Modify Description
  67. *---------------------------------------------------------------------------------------
  68. * 2015-01-15 Live Converter TF->XP
  69. *
  70. *---------------------------------------------------------------------------------------
  71. ****************************************************************************************/
  72. //=======================================================================================
  73. // Lib Include
  74. //---------------------------------------------------------------------------------------
  75. include "com_commonxp::comm_main.xjs"
  76. include "emr_medirecxp::MMR04400.xjs"
  77. //=======================================================================================
  78. // Global Form Variable
  79. //---------------------------------------------------------------------------------------
  80. //=======================================================================================
  81. // Function
  82. //---------------------------------------------------------------------------------------
  83. /****************************************************************************************
  84. * Argument : 01.sKey : 코드아이디
  85. * : 02.sValue : 코드명
  86. * Description : 공통코드를 가져온다.
  87. ****************************************************************************************/
  88. //=======================================================================================
  89. // Transaction Callback
  90. //---------------------------------------------------------------------------------------
  91. /****************************************************************************************
  92. * Argument : 01.sSvcId : 서비스 ID
  93. * : 02.nErrorCode : 에러코드
  94. * : 03.sErrorMsg : 에러메시지
  95. * Description : tr_getCodeList의 콜백함수
  96. ****************************************************************************************/
  97. function cf_(sSvcId, nErrorCode, sErrorMsg){
  98. }
  99. //=======================================================================================
  100. // Event
  101. //---------------------------------------------------------------------------------------
  102. /****************************************************************************************
  103. * Components :
  104. * Components ID : button5
  105. * Event : onlbuttonup
  106. * Argument : 01.obj : Object Event has occurred
  107. * : 02.e : Event Object
  108. * Description :
  109. ****************************************************************************************/
  110. function SPMMR04400_oninit(obj:Form, e:InitEventInfo)
  111. {
  112. frmf_initForm(obj);
  113. }
  114. function SPMMR04400_onload(obj:Form, e:LoadEventInfo)
  115. {
  116. // Grid Init
  117. grdf_setGridSort(grd_formsubtitle)
  118. grdf_setRowTypeIcon(grd_formsubtitle, 0);
  119. fInitialize();
  120. }
  121. function button1_onclick(obj:Button, e:ClickEventInfo)
  122. {
  123. fAddRow();
  124. }
  125. function button2_onclick(obj:Button, e:ClickEventInfo)
  126. {
  127. fDelRow();
  128. }
  129. function button3_onclick(obj:Button, e:ClickEventInfo)
  130. {
  131. fSave();
  132. }
  133. function button104_onclick(obj:Button, e:ClickEventInfo)
  134. {
  135. fMoveUp();
  136. }
  137. function button105_onclick(obj:Button, e:ClickEventInfo)
  138. {
  139. fMoveDown();
  140. }
  141. function button4_onclick(obj:Button, e:ClickEventInfo)
  142. {
  143. fClose();
  144. }]]></Script>
  145. </Form>
  146. </FDL>