SPMRI01500_Bookmark.xfdl 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPMRI01500" position="absolute 0 0 585 578" titletext="My Bookmark" oninit="SPMRI01500_oninit" onload="SPMRI01500_onload" onclose="SPMRI01500_onclose">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 25 580 110" id="roundrect2" type="roundrectangle" class="div_SA">
  8. <Layouts>
  9. <Layout>
  10. <Static id="caption4" text="My Bookmark 목록에 선택한 기록을 추가합니다&#13;&#10;&#13;&#10;※ 참고 - 추가하려는 기록의 갯수가 다수일 경우 &#13;&#10;이름을 지정하면 모두 동일한 제목이 됩니다." position="absolute 13 1 343 60" anchor="default" style="font:Dotum,9,bold;"/>
  11. <Edit id="ipt_itemnm" taborder="1" position="absolute 75 64 565 83" anchor="default" onkeydown="roundrect2_ipt_itemnm_onkeydown"/>
  12. <Static id="caption6" text="이름 :" class="search_name" position="absolute 10 64 70 81" anchor="default"/>
  13. <Button id="btn_sub" taborder="2" text="확인" class="btn4" position="absolute 451 38 507 60" anchor="default" onclick="roundrect2_btn_sub_onclick"/>
  14. <Button id="btn_rtn" taborder="3" text="취소" class="btn4" position="absolute 509 38 565 60" anchor="default" onclick="roundrect2_btn_rtn_onclick"/>
  15. </Layout>
  16. </Layouts>
  17. </Div>
  18. <Shape position="absolute 0 109 585 115" linetype="horizontal" id="line4" class="line_2"/>
  19. <Static text="위치지정" position="absolute 0 122 134 142" id="caption2" class="tit_2"/>
  20. <Static text="My Bookmark" position="absolute 0 0 117 25" id="caption10" class="tit_1"/>
  21. <Button position="absolute 382 117 446 136" id="button4" class="btn2" text="새폴더..." onclick="button4_onclick"/>
  22. <Button position="absolute 448 117 512 136" id="button1" class="btn2" text="항목삭제" onclick="button1_onclick"/>
  23. <Button position="absolute 514 117 578 136" id="button2" class="btn2" text="항목이동" onclick="button2_onclick"/>
  24. <Grid position="absolute 0 139 581 577" autofit="col" id="trv_bookmark" useinputpanel="false" selecttype="currow" autofittype="col" treeusecheckbox="false" treeinitstatus="expand,all" binddataset="ds_trv_bookmark">
  25. <Formats>
  26. <Format id="default">
  27. <Columns>
  28. <Column size="577"/>
  29. <Column size="0"/>
  30. <Column size="0"/>
  31. <Column size="0"/>
  32. <Column size="0"/>
  33. <Column size="0"/>
  34. <Column size="0"/>
  35. <Column size="0"/>
  36. </Columns>
  37. <Rows>
  38. <Row size="0" band="head"/>
  39. <Row size="24"/>
  40. </Rows>
  41. <Band id="head">
  42. <Cell text="itemnm"/>
  43. <Cell col="1" text="level"/>
  44. <Cell col="2" text="itemnso"/>
  45. <Cell col="3" text="supitemno"/>
  46. <Cell col="4" text="linkflag"/>
  47. <Cell col="5" text="pid"/>
  48. <Cell col="6" text="recpath"/>
  49. <Cell col="7" text="image"/>
  50. </Band>
  51. <Band id="body">
  52. <Cell displaytype="tree" edittype="tree" style="treelinesize:0;" text="bind:itemnm" treelevel="bind:level"/>
  53. <Cell col="1" text="bind:level"/>
  54. <Cell col="2" text="bind:itemnso"/>
  55. <Cell col="3" text="bind:supitemno"/>
  56. <Cell col="4" text="bind:linkflag"/>
  57. <Cell col="5" text="bind:pid"/>
  58. <Cell col="6" text="bind:recpath"/>
  59. <Cell col="7" text="bind:image"/>
  60. </Band>
  61. </Format>
  62. </Formats>
  63. </Grid>
  64. </Layout>
  65. </Layouts>
  66. <Objects>
  67. <Dataset id="ds_trv_bookmark" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" onrowposchanged="ds_trv_bookmark_onrowposchanged">
  68. <ColumnInfo>
  69. <Column id="level" type="STRING" size="256" sumtext="level"/>
  70. <Column id="itemno" type="STRING" size="256" sumtext="항목코드"/>
  71. <Column id="supitemno" type="STRING" size="256" sumtext="상위항목코드"/>
  72. <Column id="itemnm" type="STRING" size="256" sumtext="아이템명"/>
  73. <Column id="linkflag" type="STRING" size="256" sumtext="기록연결항목여부"/>
  74. <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
  75. <Column id="recpath" type="STRING" size="256" sumtext="기록경로"/>
  76. <Column id="image" type="STRING" size="256" sumtext="이미지경로"/>
  77. <Column id="markdeptcd" type="STRING" size="256" sumtext="부서코드"/>
  78. </ColumnInfo>
  79. </Dataset>
  80. <Dataset id="ds_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  81. <ColumnInfo>
  82. <Column id="itemnm" type="STRING" size="256"/>
  83. </ColumnInfo>
  84. <Rows>
  85. <Row/>
  86. </Rows>
  87. </Dataset>
  88. <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  89. <ColumnInfo>
  90. <Column id="pid" type="STRING" size="256"/>
  91. <Column id="bmkall" type="STRING" size="256"/>
  92. </ColumnInfo>
  93. </Dataset>
  94. <Dataset id="ds_send_deldata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  95. <ColumnInfo>
  96. <Column id="itemno" type="STRING" size="256"/>
  97. <Column id="linkflag" type="STRING" size="256"/>
  98. </ColumnInfo>
  99. </Dataset>
  100. <Dataset id="ds_send_iteminfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  101. <ColumnInfo>
  102. <Column id="supitemno" type="STRING" size="256" sumtext="폴더번호"/>
  103. <Column id="itemnm" type="STRING" size="256" sumtext="항목명"/>
  104. <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
  105. <Column id="linkflag" type="STRING" size="256" sumtext="기록연결여부"/>
  106. </ColumnInfo>
  107. </Dataset>
  108. <Dataset id="ds_send_recinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  109. <ColumnInfo>
  110. <Column id="formcd" type="STRING" size="256" sumtext="서식코드"/>
  111. <Column id="itemno" type="STRING" size="256" sumtext="항목번호"/>
  112. <Column id="emrflag" type="STRING" size="256" sumtext="항목구분"/>
  113. <Column id="recno" type="STRING" size="256" sumtext="기록번호"/>
  114. <Column id="pageno" type="STRING" size="256" sumtext="페이지번호"/>
  115. <Column id="pagesortno" type="STRING" size="256" sumtext="정렬순서"/>
  116. </ColumnInfo>
  117. </Dataset>
  118. <Dataset id="ds_tmp_recinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  119. <ColumnInfo>
  120. <Column id="formcd" type="STRING" size="256" sumtext="서식코드"/>
  121. <Column id="itemno" type="STRING" size="256" sumtext="항목번호"/>
  122. <Column id="emrflag" type="STRING" size="256" sumtext="항목구분"/>
  123. <Column id="recno" type="STRING" size="256" sumtext="기록번호"/>
  124. <Column id="pageno" type="STRING" size="256" sumtext="페이지번호"/>
  125. <Column id="pagesortno" type="STRING" size="256" sumtext="정렬순서"/>
  126. </ColumnInfo>
  127. </Dataset>
  128. </Objects>
  129. <Bind>
  130. <BindItem id="item0" compid="roundrect2.ipt_itemnm" propid="value" datasetid="ds_cond" columnid="itemnm"/>
  131. </Bind>
  132. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  133. * System Name : HIT
  134. * Job Name :
  135. * File Name : .xfdl
  136. * Creator :
  137. * Make Date : 2014-02-18
  138. *
  139. * Description :
  140. *---------------------------------------------------------------------------------------
  141. * Modify Date Modifier Modify Description
  142. *---------------------------------------------------------------------------------------
  143. * 2014-02-18 HIT
  144. *
  145. *---------------------------------------------------------------------------------------
  146. ****************************************************************************************/
  147. //=======================================================================================
  148. // Lib Include
  149. //---------------------------------------------------------------------------------------
  150. include "com_commonxp::comm_main.xjs"
  151. include "emr_prcpmngtxp::MMO001.xjs"
  152. include "emr_recmngtxp::SPMRI01500.xjs"
  153. //=======================================================================================
  154. // Global Form Variable
  155. //---------------------------------------------------------------------------------------
  156. //=======================================================================================
  157. // Function
  158. //---------------------------------------------------------------------------------------
  159. /****************************************************************************************
  160. * Argument : 01.sKey : 코드아이디
  161. * : 02.sValue : 코드명
  162. * Description : 공통코드를 가져온다.
  163. ****************************************************************************************/
  164. //=======================================================================================
  165. // Transaction Callback
  166. //---------------------------------------------------------------------------------------
  167. /****************************************************************************************
  168. * Argument : 01.sSvcId : 서비스 ID
  169. * : 02.nErrorCode : 에러코드
  170. * : 03.sErrorMsg : 에러메시지
  171. * Description : tr_getCodeList의 콜백함수
  172. ****************************************************************************************/
  173. //=======================================================================================
  174. // Event
  175. //---------------------------------------------------------------------------------------
  176. /****************************************************************************************
  177. * Components :
  178. * Components ID : button5
  179. * Event : onlbuttonup
  180. * Argument : 01.obj : Object Event has occurred
  181. * : 02.e : Event Object
  182. * Description :
  183. ****************************************************************************************/
  184. function SPMRI01500_oninit(obj:Form, e:InitEventInfo)
  185. {
  186. frmf_initForm(obj);
  187. }
  188. function SPMRI01500_onload(obj:Form, e:LoadEventInfo)
  189. {
  190. fInitilize();
  191. }
  192. function SPMRI01500_onclose(obj:Form, e:CloseEventInfo)
  193. {
  194. fCloseWindow();
  195. }
  196. function button4_onclick(obj:Button, e:ClickEventInfo)
  197. {
  198. fNewFolder();
  199. }
  200. function button1_onclick(obj:Button, e:ClickEventInfo)
  201. {
  202. fDelFolder();
  203. }
  204. function button2_onclick(obj:Button, e:ClickEventInfo)
  205. {
  206. fMoveItem();
  207. }
  208. function ds_trv_bookmark_onrowposchanged(obj:Dataset, e:DSRowPosChangeEventInfo)
  209. {
  210. fSelItem();
  211. }
  212. function roundrect2_ipt_itemnm_onkeydown(obj:Edit, e:KeyEventInfo)
  213. {
  214. if(e.keycode == "13") {
  215. fSetNewItem();
  216. }
  217. }
  218. function roundrect2_btn_sub_onclick(obj:Button, e:ClickEventInfo)
  219. {
  220. fSetNewItem();
  221. }
  222. function roundrect2_btn_rtn_onclick(obj:Button, e:ClickEventInfo)
  223. {
  224. }
  225. ]]></Script>
  226. </Form>
  227. </FDL>