SPMNW15300_정맥염관찰기록기준자료팝업.xfdl 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPMNW15300" position="absolute 0 0 517 700" titletext="정맥염관찰기록기준자료" oninit="SPMNW15300_oninit" onload="SPMNW15300_onload" onbeforeclose="SPMNW15300_onbeforeclose">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 0 510 680" align="align:center top;" id="grp_sea">
  8. <Layouts>
  9. <Layout>
  10. <Grid position="absolute 0 8 505 678" align="align:center middle;" id="grd_userlist" binddataset="ds_main_detlgrup_getVO" extendsizetype="row" autosizingtype="row" oncellclick="grp_sea_grd_userlist_oncellclick" autoenter="select">
  11. <Formats>
  12. <Format id="default">
  13. <Columns>
  14. <Column size="100"/>
  15. <Column size="47"/>
  16. <Column size="120"/>
  17. <Column size="220"/>
  18. <Column size="0"/>
  19. <Column size="0"/>
  20. </Columns>
  21. <Rows>
  22. <Row size="24" band="head"/>
  23. <Row size="24"/>
  24. </Rows>
  25. <Band id="head">
  26. <Cell text="필드"/>
  27. <Cell col="1" text="선택"/>
  28. <Cell col="2" text="코드명"/>
  29. <Cell col="3" text="코드설명"/>
  30. <Cell col="4" text="그룹코드"/>
  31. <Cell col="5" text="코드"/>
  32. </Band>
  33. <Band id="body">
  34. <Cell celltype="head" text="bind:grupnm" suppress="1" suppressalign="middle,over"/>
  35. <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:sel"/>
  36. <Cell col="2" style="align:left;padding:2 2 2 2;" text="bind:cdnm" wordwrap="word" autosizerow="limitmin"/>
  37. <Cell col="3" displaytype="text" style="padding:2 2 2 2;" text="bind:detlinfo" wordwrap="word" autosizerow="limitmin"/>
  38. <Cell col="4" text="bind:grupcd"/>
  39. <Cell col="5" text="bind:cd"/>
  40. </Band>
  41. </Format>
  42. </Formats>
  43. </Grid>
  44. </Layout>
  45. </Layouts>
  46. </Div>
  47. <Button position="absolute 465 680 507 699" id="button1" class="btn2" text="확인" onclick="button1_onclick"/>
  48. </Layout>
  49. </Layouts>
  50. <Objects>
  51. <Dataset id="ds_main_detlgrup_getVO" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false" oncolumnchanged="ds_main_detlgrup_getVO_oncolumnchanged">
  52. <ColumnInfo>
  53. <Column id="grupnm" type="STRING"/>
  54. <Column id="sel" type="STRING"/>
  55. <Column id="cdnm" type="STRING"/>
  56. <Column id="detlinfo" type="STRING"/>
  57. <Column id="grupcd" type="STRING"/>
  58. <Column id="cd" type="STRING"/>
  59. </ColumnInfo>
  60. </Dataset>
  61. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  62. <ColumnInfo>
  63. <Column id="genrdd" type="STRING" size="256" sumtext="기준일자(발생일자)"/>
  64. </ColumnInfo>
  65. <Rows>
  66. <Row/>
  67. </Rows>
  68. </Dataset>
  69. <Dataset id="ds_param" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  70. <ColumnInfo>
  71. <Column id="etc" type="STRING" size="256"/>
  72. <Column id="dressing" type="STRING" size="256"/>
  73. <Column id="grupcd" type="STRING" size="256"/>
  74. <Column id="genrplceEtcStr" type="STRING" size="256"/>
  75. <Column id="causeEtcStr" type="STRING" size="256"/>
  76. <Column id="interventionEtcStr" type="STRING" size="256"/>
  77. </ColumnInfo>
  78. <Rows>
  79. <Row/>
  80. </Rows>
  81. </Dataset>
  82. </Objects>
  83. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  84. * System Name : 경대 의료정보시스템
  85. * Job Name : emr_wardcarexp -> SPMNW15300
  86. * Creator : yjh
  87. * Make Date : 2016-10-19
  88. * Description :
  89. *---------------------------------------------------------------------------------------
  90. * Modify Date Modifier Modify Description
  91. *---------------------------------------------------------------------------------------
  92. * 2016-10-19 yjh TF->XP
  93. *
  94. *---------------------------------------------------------------------------------------
  95. ****************************************************************************************/
  96. //=======================================================================================
  97. // Lib Include
  98. //---------------------------------------------------------------------------------------
  99. include "com_commonxp::comm_main.xjs";
  100. include "emr_wardcarexp::SPMNW15300.xjs"; //yjh : 커밋
  101. //=======================================================================================
  102. // Global Form Variable
  103. //---------------------------------------------------------------------------------------
  104. var wincloseButton = false;
  105. //=======================================================================================
  106. // Function
  107. //---------------------------------------------------------------------------------------
  108. /****************************************************************************************
  109. * Argument : N/A
  110. * Description :
  111. ****************************************************************************************/
  112. //=======================================================================================
  113. // Event
  114. //---------------------------------------------------------------------------------------
  115. /****************************************************************************************
  116. * Components : Form
  117. * Components ID : SPMNW15300
  118. * Event : oninit
  119. * Argument : 01.obj : Object Event has occurred
  120. * : 02.e : Event Object
  121. * Description : 화면 처음 초기화시
  122. ****************************************************************************************/
  123. function SPMNW15300_oninit(obj:Form, e:InitEventInfo)
  124. {
  125. frmf_initForm(obj); //폼 초기화
  126. }
  127. /****************************************************************************************
  128. * Components : Form
  129. * Components ID : SPMNW15300
  130. * Event : onload
  131. * Argument : 01.obj : Object Event has occurred
  132. * : 02.e : Event Object
  133. * Description : 화면 로딩 완료시
  134. ****************************************************************************************/
  135. function SPMNW15300_onload(obj:Form, e:LoadEventInfo)
  136. {
  137. fInitialize();
  138. //grd_userlist.mergecol(grd_userlist.colRef("sel")) = false;
  139. }
  140. /****************************************************************************************
  141. * Components : Form
  142. * Components ID : SPMNW15300
  143. * Event : onbeforeclose
  144. * Argument : 01.obj : Object Event has occurred
  145. * : 02.e : Event Object
  146. * Description : 화면 닫기전
  147. ****************************************************************************************/
  148. function SPMNW15300_onbeforeclose(obj:Form, e:CloseEventInfo)
  149. {
  150. if( !wincloseButton ){
  151. opener.frmf_setParameter("returnnull", "close");
  152. } else {
  153. opener.frmf_setParameter("returnnull", "confirmbutton");
  154. }
  155. }
  156. /****************************************************************************************
  157. * Components : Grid
  158. * Components ID : grd_userlist
  159. * Event : oncellclick
  160. * Argument : 01.obj : Object Event has occurred
  161. * : 02.e : Event Object
  162. * Description : 그리드 셀 클릭시
  163. ****************************************************************************************/
  164. function grp_sea_grd_userlist_oncellclick(obj:Grid, e:GridClickEventInfo)
  165. {
  166. //기타입력영역을 보여준다.
  167. fShowEtcInputArea();
  168. }
  169. /****************************************************************************************
  170. * Components : Dataset
  171. * Components ID : ds_main_detlgrup_getVO
  172. * Event : oncolumnchanged
  173. * Argument : 01.obj : Object Event has occurred
  174. * : 02.e : Event Object
  175. * Description : 데이터셋 값 변경시
  176. ****************************************************************************************/
  177. function ds_main_detlgrup_getVO_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  178. {
  179. var grupcd = ds_main_detlgrup_getVO.getColumn(e.row, "grupcd");
  180. if( e.columnid == "detlinfo" ){
  181. if( grupcd == "00000001" ){
  182. ds_param.setColumn(0, "genrplceEtcStr", ds_main_detlgrup_getVO.getColumn(e.row, "detlinfo"));
  183. } else if( grupcd == "00000002" ){
  184. ds_param.setColumn(0, "causeEtcStr", ds_main_detlgrup_getVO.getColumn(e.row, "detlinfo"));
  185. } else if( grupcd == "00000003" ){
  186. ds_param.setColumn(0, "stageEtcStr", ds_main_detlgrup_getVO.getColumn(e.row, "detlinfo"));
  187. }else if( grupcd == "00000004" ){
  188. ds_param.setColumn(0, "interventionEtcStr", ds_main_detlgrup_getVO.getColumn(e.row, "detlinfo"));
  189. }
  190. }
  191. }
  192. /****************************************************************************************
  193. * Components : Button
  194. * Components ID : button1
  195. * Event : onclick
  196. * Argument : 01.obj : Object Event has occurred
  197. * : 02.e : Event Object
  198. * Description : 확인버튼 클릭시
  199. ****************************************************************************************/
  200. function button1_onclick(obj:Button, e:ClickEventInfo)
  201. {
  202. wincloseButton = true ;
  203. fPopClose();
  204. }
  205. ]]></Script>
  206. </Form>
  207. </FDL>