SMABC01800_조혈모세포처리실기준정보관리.xfdl 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMABC01800" position="absolute 0 0 1185 778" titletext="조혈모세포처리실 기준자료관리" oninit="SMABC01800_oninit" onload="SMABC01800_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption1" text="조혈모세포처리실 기준자료관리" class="tit_1" position="absolute 0 0 335 25"/>
  8. <Static id="caption2" text="중분류" class="tit_2" position="absolute 566 40 710 62" anchor="left top"/>
  9. <Static id="caption4" text="대분류" class="tit_2" position="absolute 0 40 144 62"/>
  10. <Static id="caption5" text="분할코드내역" class="cell_1" position="absolute 630 306 715 329"/>
  11. <Shape id="line1" class="line_10" position="absolute 565 56 1180 62" anchor="left top right"/>
  12. <Shape id="line2" class="line_10" position="absolute 0 56 560 62"/>
  13. <Shape id="line4" linetype="vertical" class="line_3" position="absolute 0 770 1180 776"/>
  14. <Grid id="grd_exptdeptlist" taborder="1" binddataset="ds_main_lrglist_item" useinputpanel="false" position="absolute 0 61 560 771" autoenter="select" autofittype="col" cellsizingtype="col" anchor="left top bottom" oncellclick="grd_exptdeptlist_oncellclick">
  15. <Formats>
  16. <Format id="default">
  17. <Columns>
  18. <Column size="24"/>
  19. <Column size="110"/>
  20. <Column size="428"/>
  21. </Columns>
  22. <Rows>
  23. <Row size="24" band="head"/>
  24. <Row size="24"/>
  25. </Rows>
  26. <Band id="head">
  27. <Cell/>
  28. <Cell col="1" text="대분류코드"/>
  29. <Cell col="2" text="대분류명"/>
  30. </Band>
  31. <Band id="body">
  32. <Cell celltype="head"/>
  33. <Cell col="1" displaytype="text" edittype="text" text="bind:hsctlrgcd"/>
  34. <Cell col="2" displaytype="text" edittype="text" text="bind:hsctlrgnm"/>
  35. </Band>
  36. </Format>
  37. </Formats>
  38. </Grid>
  39. <Button id="btn_grdadd1" taborder="3" text="행추가" class="btn2" position="absolute 450 37 503 56" anchor="left top" onclick="btn_grdadd1_onclick"/>
  40. <Button id="btn_grddel1" taborder="4" text="행삭제" class="btn2" position="absolute 506 37 559 56" anchor="left top" onclick="btn_grddel1_onclick"/>
  41. <Button id="btn_grdadd2" taborder="5" text="행추가" class="btn2" position="absolute 1070 37 1123 56" anchor="top right" onclick="btn_grdadd2_onclick"/>
  42. <Button id="btn_grddel2" taborder="6" text="행삭제" class="btn2" position="absolute 1126 37 1179 56" anchor="top right" onclick="btn_grddel2_onclick"/>
  43. <Combo id="cmb_lrggrupcd" taborder="7" innerdataset="@ds_init_testflag_item" codecolumn="cdid" datacolumn="cdnm" class="combo_essential" position="absolute 70 37 195 56"/>
  44. <Grid id="grd_voldivlist" taborder="2" binddataset="ds_main_mdllist_item" useinputpanel="false" position="absolute 565 61 1180 771" autoenter="select" autofittype="col" cellsizingtype="col" anchor="all">
  45. <Formats>
  46. <Format id="default">
  47. <Columns>
  48. <Column size="23"/>
  49. <Column size="100"/>
  50. <Column size="467"/>
  51. </Columns>
  52. <Rows>
  53. <Row size="24" band="head"/>
  54. <Row size="24"/>
  55. </Rows>
  56. <Band id="head">
  57. <Cell/>
  58. <Cell col="1" text="중분류코드"/>
  59. <Cell col="2" text="중분류명"/>
  60. </Band>
  61. <Band id="body">
  62. <Cell celltype="head"/>
  63. <Cell col="1" displaytype="text" edittype="text" text="bind:hsctmdlcd"/>
  64. <Cell col="2" displaytype="text" edittype="text" text="bind:hsctmdlnm"/>
  65. </Band>
  66. </Format>
  67. </Formats>
  68. </Grid>
  69. <Button id="btn_save" taborder="8" text="저장" position="absolute 1122 6 1178 31" class="btn4" anchor="top right" onclick="btn_save_onclick"/>
  70. </Layout>
  71. </Layouts>
  72. <Objects>
  73. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  74. <ColumnInfo>
  75. <Column id="lrggrupcd" type="STRING" size="256"/>
  76. <Column id="hsctlrgcd" type="STRING" size="256"/>
  77. </ColumnInfo>
  78. <Rows>
  79. <Row/>
  80. </Rows>
  81. </Dataset>
  82. <Dataset id="ds_init_testflag_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  83. <ColumnInfo>
  84. <Column id="cdnm" type="STRING" size="256"/>
  85. <Column id="cdid" type="STRING" size="256"/>
  86. </ColumnInfo>
  87. <Rows>
  88. <Row>
  89. <Col id="cdnm">조혈모세포처리실</Col>
  90. <Col id="cdid">SC</Col>
  91. </Row>
  92. </Rows>
  93. </Dataset>
  94. <Dataset id="ds_main_lrglist_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  95. <Dataset id="ds_main_mdllist_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  96. <ColumnInfo>
  97. <Column id="hsctmdlcd" type="STRING" size="256" sumtext=""/>
  98. <Column id="hsctmdlnm" type="STRING" size="256" sumtext=""/>
  99. </ColumnInfo>
  100. </Dataset>
  101. </Objects>
  102. <Bind>
  103. <BindItem id="item0" compid="cmb_lrggrupcd" propid="value" datasetid="ds_send" columnid="lrggrupcd"/>
  104. </Bind>
  105. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  106. * System Name :
  107. * Job Name :
  108. * Creator :
  109. * Make Date : 2015-11-13
  110. * Description :
  111. *---------------------------------------------------------------------------------------
  112. * Modify Date Modifier Modify Description
  113. *---------------------------------------------------------------------------------------
  114. * 2015-11-13 Live Converter TF->XP
  115. *
  116. *---------------------------------------------------------------------------------------
  117. ****************************************************************************************/
  118. include "com_commonxp::comm_main.xjs";
  119. include "ast_examcurexp::AEZ0001.xjs";
  120. include "ast_hsctxp::bmtcommon.xjs";
  121. function SMABC01800_oninit(obj:Form, e:InitEventInfo)
  122. {
  123. frmf_initForm(obj);
  124. }
  125. function SMABC01800_onload(obj:Form, e:LoadEventInfo)
  126. {
  127. grdf_initGrid(grd_exptdeptlist);
  128. grdf_setRowTypeIcon(grd_exptdeptlist, 0);
  129. grdf_initGrid(grd_voldivlist);
  130. grdf_setRowTypeIcon(grd_voldivlist, 0);
  131. grd_exptdeptlist.setCellProperty("Body", 1, "edittype", "none");
  132. grd_exptdeptlist.setCellProperty("Body", 2, "edittype", "none");
  133. grd_voldivlist.setCellProperty("Body", 1, "edittype", "none");
  134. grd_voldivlist.setCellProperty("Body", 2, "edittype", "none");
  135. cmb_lrggrupcd.index = 0;
  136. dsf_setDefaultVal(ds_send, "lrggrupcd:DI");
  137. var oParam = {};
  138. oParam.id = "TRABO02101";
  139. oParam.service = "hsctcoordinatorapp.HsctPatient";
  140. oParam.method = "reqGetLrgInfo";
  141. oParam.inds = "req=ds_send";
  142. oParam.outds = "ds_main_lrglist_item=item";
  143. oParam.async = false;
  144. //oParam.callback = "cf_TRABO02101";
  145. tranf_submit(oParam);
  146. ds_main_lrglist_item.rowposition = -1;
  147. btn_save.enable = frmf_checkAuth("X");
  148. }
  149. function grd_exptdeptlist_oncellclick(obj:Grid, e:GridClickEventInfo)
  150. {
  151. if(ds_main_lrglist_item.rowposition >= 0 && e.col < 3)
  152. {
  153. ds_send.setColumn(0, "hsctlrgcd", ds_main_lrglist_item.getColumn(ds_main_lrglist_item.rowposition, "hsctlrgcd"));
  154. var oParam = {};
  155. oParam.id = "TRABO02102";
  156. oParam.service = "hsctcoordinatorapp.HsctPatient";
  157. oParam.method = "reqGetMdlInfo";
  158. oParam.inds = "req=ds_send";
  159. oParam.outds = "ds_main_mdllist_item=item";
  160. oParam.async = false;
  161. //oParam.callback = "cf_TRABO02102";
  162. tranf_submit(oParam);
  163. }
  164. if(e.col >= 3 && e.col < 4 )
  165. {
  166. ds_main_mdllist_item.clearData();
  167. }
  168. }
  169. function btn_grdadd1_onclick(obj:Button, e:ClickEventInfo)
  170. {
  171. ds_main_lrglist_item.addRow();
  172. }
  173. function btn_grddel1_onclick(obj:Button, e:ClickEventInfo)
  174. {
  175. if (sysf_messageBox("코드가 삭제 됩니다.", "Q003") != 6 )
  176. {
  177. return false;
  178. }
  179. ds_main_lrglist_item.updatecontrol = false;
  180. ds_main_lrglist_item.setRowType(ds_main_lrglist_item.rowposition, "d");
  181. ds_main_lrglist_item.updatecontrol = true;
  182. }
  183. function btn_grdadd2_onclick(obj:Button, e:ClickEventInfo)
  184. {
  185. ds_main_mdllist_item.addRow();
  186. }
  187. function btn_grddel2_onclick(obj:Button, e:ClickEventInfo)
  188. {
  189. if (sysf_messageBox("코드가 삭제 됩니다.", "Q003") != 6 )
  190. {
  191. return false;
  192. }
  193. ds_main_mdllist_item.updatecontrol = false;
  194. ds_main_mdllist_item.setRowType(ds_main_mdllist_item.rowposition, "d");
  195. ds_main_mdllist_item.updatecontrol = true;
  196. }
  197. function btn_save_onclick(obj:Button, e:ClickEventInfo)
  198. {
  199. fSaveData();
  200. }
  201. function fSaveData()
  202. {
  203. var oParam = {};
  204. oParam.id = "TXABO02101";
  205. oParam.service = "hsctcoordinatorapp.HsctPatient";
  206. oParam.method = "reqExeLrgInfo";
  207. oParam.inds = "req=ds_send data=ds_main_lrglist_item:u";
  208. oParam.outds = "ds_=item";
  209. oParam.typeStr = "m";
  210. oParam.async = false;
  211. //oParam.callback = "cf_TXABO02101";
  212. tranf_submit(oParam);
  213. var oParam = {};
  214. oParam.id = "TXABO02102";
  215. oParam.service = "hsctcoordinatorapp.HsctPatient";
  216. oParam.method = "reqExeMdlInfo";
  217. oParam.inds = "req=ds_send mdldata=ds_main_mdllist_item:u";
  218. oParam.typeStr = "m";
  219. oParam.outds = "ds_=item";
  220. oParam.async = false;
  221. //oParam.callback = "cf_TXABO02102";
  222. tranf_submit(oParam);
  223. dsf_setDefaultVal(ds_send, "lrggrupcd:DI");
  224. var oParam = {};
  225. oParam.id = "TRABO02101";
  226. oParam.service = "hsctcoordinatorapp.HsctPatient";
  227. oParam.method = "reqGetLrgInfo";
  228. oParam.inds = "req=ds_send";
  229. oParam.outds = "ds_main_lrglist_item=item";
  230. oParam.async = false;
  231. //oParam.callback = "cf_TRABO02101";
  232. tranf_submit(oParam);
  233. var oParam = {};
  234. oParam.id = "TRABO02102";
  235. oParam.service = "hsctcoordinatorapp.HsctPatient";
  236. oParam.method = "reqGetMdlInfo";
  237. oParam.inds = "req=ds_send";
  238. oParam.outds = "ds_main_mdllist_item=item";
  239. oParam.async = false;
  240. //oParam.callback = "cf_TRABO02102";
  241. tranf_submit(oParam);
  242. }]]></Script>
  243. </Form>
  244. </FDL>