SMABO01800_정자난자보관현황리스트.xfdl 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMABO01800" position="absolute 0 0 1204 776" titletext="정자, 난자 보관현황 리스트" oninit="SMABO01800_oninit" onload="SMABO01800_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 47 1195 767" id="grp_biz" scrollbars="autoboth">
  8. <Layouts>
  9. <Layout>
  10. <Static text="정자난자보관현황 리스트" position="absolute 1 79 201 95" id="caption1" class="tit_2" anchor="default"/>
  11. <Shape position="absolute 0 95 1194 101" linetype="horizontal" id="line1" class="line_10" anchor="default"/>
  12. <Div position="absolute 0 10 1194 70" align="align:center top;" id="grp_sea" anchor="default">
  13. <Layouts>
  14. <Layout>
  15. <Shape position="absolute 0 0 1194 60" id="roundrect1" class="roundrect_search" type="roundrectangle" anchor="default"/>
  16. <Static text="기간(이식일) :" position="absolute 15 8 127 25" id="caption2" class="search_name" anchor="default"/>
  17. <Static text="~" position="absolute 234 9 246 26" id="caption5" class="search_no_b" anchor="default"/>
  18. <Calendar position="absolute 130 7 230 26" id="ipt_trnptfromdd" class="input_essential" anchor="default"/>
  19. <Calendar position="absolute 248 7 348 26" id="ipt_trnpttodd" class="input_essential" anchor="default"/>
  20. <Combo position="absolute 131 34 281 53" id="combo2" class="combo_search" innerdataset="@ds_init_cmbinfo_lrglist_item" datacolumn="hsctlrgnm" codecolumn="hsctlrgcd" anchor="default"/>
  21. <Static text="진단명 :" position="absolute 16 35 129 52" id="caption4" class="search_name" anchor="default"/>
  22. <Combo position="absolute 505 34 563 53" id="combo1" class="combo_search" innerdataset="@ds_init_cmbinfo_sex_P0313" datacolumn="cdnm" codecolumn="cdid" anchor="default"/>
  23. <Static text="성별 :" position="absolute 402 35 497 52" id="caption3" class="search_name" anchor="default"/>
  24. <Static text="교육 :" position="absolute 628 36 688 53" id="caption7" class="search_name" anchor="default"/>
  25. <Radio position="absolute 696 35 759 55" id="radio5" class="radio_search" columncount="-1" rowcount="-1" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default">
  26. <Dataset id="innerdataset">
  27. <ColumnInfo>
  28. <Column id="codecolumn"/>
  29. <Column id="datacolumn"/>
  30. </ColumnInfo>
  31. <Rows>
  32. <Row>
  33. <Col id="codecolumn">Y</Col>
  34. <Col id="datacolumn">유</Col>
  35. </Row>
  36. <Row>
  37. <Col id="codecolumn">N</Col>
  38. <Col id="datacolumn">무</Col>
  39. </Row>
  40. </Rows>
  41. </Dataset>
  42. </Radio>
  43. <Static text="시행 :" position="absolute 851 35 911 52" id="caption8" class="search_name" anchor="default"/>
  44. <Radio position="absolute 919 34 982 54" id="radio1" class="radio_search" columncount="-1" rowcount="-1" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default">
  45. <Dataset id="innerdataset">
  46. <ColumnInfo>
  47. <Column id="codecolumn"/>
  48. <Column id="datacolumn"/>
  49. </ColumnInfo>
  50. <Rows>
  51. <Row>
  52. <Col id="codecolumn">Y</Col>
  53. <Col id="datacolumn">유</Col>
  54. </Row>
  55. <Row>
  56. <Col id="codecolumn">N</Col>
  57. <Col id="datacolumn">무</Col>
  58. </Row>
  59. </Rows>
  60. </Dataset>
  61. </Radio>
  62. <Button position="absolute 1123 7 1179 29" id="btn_sea" class="btn1" text="조회" anchor="default" onclick="grp_biz_grp_sea_btn_sea_onclick"/>
  63. <Edit readonly="true" position="absolute 690 7 720 26" align="align:center middle;" id="output5" class="output" anchor="default"/>
  64. <Edit readonly="true" position="absolute 723 7 753 26" align="align:center middle;" id="output6" class="output" anchor="default"/>
  65. <Edit position="absolute 505 7 588 26" id="ipt_pid" class="input_essential" anchor="default" onkeydown="grp_biz_grp_sea_ipt_pid_onkeydown"/>
  66. <Edit readonly="true" position="absolute 607 7 687 26" align="align:center middle;" id="output17" class="output" anchor="default"/>
  67. <Static text="등록번호 :" position="absolute 402 8 513 25" id="caption16" class="search_name" anchor="default"/>
  68. <Shape position="absolute 1104 7 1110 54" linetype="vertical" id="line13" class="line_4" anchor="default"/>
  69. <Button id="Button00" taborder="1" position="absolute 590 7 605 26" onclick="grp_biz_grp_sea_Button00_onclick"/>
  70. </Layout>
  71. </Layouts>
  72. </Div>
  73. <Button position="absolute 1118 75 1192 94" id="btn_excsave" class="btn7" text="엑셀저장" anchor="default" onclick="grp_biz_btn_excsave_onclick"/>
  74. <Grid position="absolute 0 100 1194 720" align="align:center middle;" id="grd_spermovumlist" binddataset="ds_main_spermovumlist_item" anchor="default" cellsizingtype="col">
  75. <Formats>
  76. <Format id="default">
  77. <Columns>
  78. <Column size="24"/>
  79. <Column size="100"/>
  80. <Column size="100"/>
  81. <Column size="100"/>
  82. <Column size="200"/>
  83. <Column size="100"/>
  84. <Column size="100"/>
  85. <Column size="100"/>
  86. <Column size="100"/>
  87. <Column size="100"/>
  88. </Columns>
  89. <Rows>
  90. <Row size="24" band="head"/>
  91. <Row size="24"/>
  92. </Rows>
  93. <Band id="head">
  94. <Cell/>
  95. <Cell col="1" text="환자명"/>
  96. <Cell col="2" text="등록번호"/>
  97. <Cell col="3" text="이식예정일"/>
  98. <Cell col="4" text="진단명"/>
  99. <Cell col="5" text="나이"/>
  100. <Cell col="6" text="성별"/>
  101. <Cell col="7" text="교육(유,무)"/>
  102. <Cell col="8" text="의뢰(유, 무)"/>
  103. <Cell col="9" text="시행(유,무,실패)"/>
  104. </Band>
  105. <Band id="body">
  106. <Cell celltype="head" expr="currow + 1"/>
  107. <Cell col="1" displaytype="text" edittype="none" style="align:center middle;" text="bind:hngnm" enable="false"/>
  108. <Cell col="2" displaytype="text" edittype="none" style="align:center middle;" text="bind:pid" enable="false"/>
  109. <Cell col="3" displaytype="date" edittype="none" text="bind:trnptdd" calendardisplaynulltype="none" enable="false"/>
  110. <Cell col="4" text="bind:diagcd1" enable="false"/>
  111. <Cell col="5" text="bind:age" enable="false"/>
  112. <Cell col="6" displaytype="combo" edittype="none" style="align:center;" text="bind:sex" combodataset="ds_init_cmbinfo_sex_P0313" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  113. <Cell col="7" text="bind:educyn" enable="false"/>
  114. <Cell col="8" text="bind:transfyn" enable="false"/>
  115. <Cell col="9" text="bind:execyn" enable="false"/>
  116. </Band>
  117. </Format>
  118. </Formats>
  119. </Grid>
  120. </Layout>
  121. </Layouts>
  122. </Div>
  123. <Div position="absolute 0 20 1195 47" id="grp_btn">
  124. <Layouts>
  125. <Layout>
  126. <Button position="absolute 0 5 56 27" id="btn_prt" class="btn6" text="출력" onclick="grp_btn_btn_prt_onclick"/>
  127. </Layout>
  128. </Layouts>
  129. </Div>
  130. <Static id="caption6" text="정자난자보관현황 리스트" class="tit_1" position="absolute 0 0 200 25"/>
  131. </Layout>
  132. </Layouts>
  133. <Objects>
  134. <Dataset id="ds_send_req" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  135. <ColumnInfo>
  136. <Column id="trnptfromdd" type="STRING" size="256"/>
  137. <Column id="trnpttodd" type="STRING" size="256"/>
  138. <Column id="diagcd1" type="STRING" size="256"/>
  139. <Column id="sex" type="STRING" size="256"/>
  140. <Column id="educyn" type="STRING" size="256"/>
  141. <Column id="execyn" type="STRING" size="256"/>
  142. <Column id="pid" type="STRING" size="256"/>
  143. </ColumnInfo>
  144. <Rows>
  145. <Row>
  146. <Col id="trnptfromdd"/>
  147. <Col id="trnpttodd"/>
  148. <Col id="diagcd1"/>
  149. <Col id="sex"/>
  150. <Col id="educyn"/>
  151. <Col id="execyn"/>
  152. <Col id="pid"/>
  153. </Row>
  154. </Rows>
  155. </Dataset>
  156. <Dataset id="ds_main_hsctinfo_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  157. <ColumnInfo>
  158. <Column id="hngnm" type="STRING" size="256"/>
  159. <Column id="rrgstno1" type="STRING" size="256"/>
  160. <Column id="age" type="STRING" size="256"/>
  161. <Column id="sex" type="STRING" size="256"/>
  162. <Column id="pid" type="STRING" size="256"/>
  163. <Column id="rrgstno2" type="STRING" size="256"/>
  164. </ColumnInfo>
  165. <Rows>
  166. <Row>
  167. <Col id="hngnm"/>
  168. <Col id="rrgstno1"/>
  169. <Col id="age"/>
  170. <Col id="sex"/>
  171. <Col id="pid"/>
  172. <Col id="rrgstno2"/>
  173. </Row>
  174. </Rows>
  175. </Dataset>
  176. <Dataset id="ds_init_cmbinfo_lrglist_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  177. <Dataset id="ds_init_cmbinfo_sex_P0313" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  178. <Dataset id="ds_main_spermovumlist_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  179. <ColumnInfo>
  180. <Column id="hngnm" type="STRING" size="256" sumtext="환자명"/>
  181. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  182. <Column id="trnptdd" type="STRING" size="256" sumtext="이식예정일자"/>
  183. <Column id="diagcd1" type="STRING" size="256" sumtext="진단코드"/>
  184. <Column id="sex" type="STRING" size="256" sumtext="성별"/>
  185. <Column id="age" type="STRING" size="256" sumtext="나이"/>
  186. <Column id="educyn" type="STRING" size="256" sumtext="교육여부"/>
  187. <Column id="transfyn" type="STRING" size="256" sumtext="의뢰여부"/>
  188. <Column id="execyn" type="STRING" size="256" sumtext="시행여부"/>
  189. </ColumnInfo>
  190. </Dataset>
  191. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  192. <ColumnInfo>
  193. <Column id="lrggrupcd" type="STRING" size="256"/>
  194. </ColumnInfo>
  195. <Rows>
  196. <Row>
  197. <Col id="lrggrupcd">DI</Col>
  198. </Row>
  199. </Rows>
  200. </Dataset>
  201. <Dataset id="ds_temp_bmtpatientinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  202. <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  203. <ColumnInfo>
  204. <Column id="popupendflag" type="STRING" size="256"/>
  205. </ColumnInfo>
  206. <Rows>
  207. <Row>
  208. <Col id="popupendflag"/>
  209. </Row>
  210. </Rows>
  211. </Dataset>
  212. </Objects>
  213. <Bind>
  214. <BindItem id="item0" compid="grp_biz.grp_sea.ipt_trnptfromdd" propid="value" datasetid="ds_send_req" columnid="trnptfromdd"/>
  215. <BindItem id="item1" compid="grp_biz.grp_sea.ipt_trnpttodd" propid="value" datasetid="ds_send_req" columnid="trnpttodd"/>
  216. <BindItem id="item2" compid="grp_biz.grp_sea.ipt_pid" propid="value" datasetid="ds_send_req" columnid="pid"/>
  217. <BindItem id="item3" compid="grp_biz.grp_sea.combo2" propid="value" datasetid="ds_send_req" columnid="diagcd1"/>
  218. <BindItem id="item4" compid="grp_biz.grp_sea.combo1" propid="value" datasetid="ds_send_req" columnid="sex"/>
  219. <BindItem id="item5" compid="grp_biz.grp_sea.radio5" propid="value" datasetid="ds_send_req" columnid="educyn"/>
  220. <BindItem id="item6" compid="grp_biz.grp_sea.radio1" propid="value" datasetid="ds_send_req" columnid="execyn"/>
  221. <BindItem id="item7" compid="grp_biz.grp_sea.output17" propid="value" datasetid="ds_main_hsctinfo_patinfolist" columnid="hngnm"/>
  222. <BindItem id="item8" compid="grp_biz.grp_sea.output5" propid="value" datasetid="ds_main_hsctinfo_patinfolist" columnid="age"/>
  223. <BindItem id="item9" compid="grp_biz.grp_sea.output6" propid="value" datasetid="ds_main_hsctinfo_patinfolist" columnid="sex"/>
  224. </Bind>
  225. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  226. * System Name :
  227. * Job Name :
  228. * Creator :
  229. * Make Date : 2015-11-13
  230. * Description :
  231. *---------------------------------------------------------------------------------------
  232. * Modify Date Modifier Modify Description
  233. *---------------------------------------------------------------------------------------
  234. * 2015-11-13 Live Converter TF->XP
  235. *
  236. *---------------------------------------------------------------------------------------
  237. ****************************************************************************************/
  238. include "com_commonxp::comm_main.xjs";
  239. include "ast_hsctxp::bmtcommon.xjs";
  240. var arErrorCode = new HashArray();
  241. function SMABO01800_oninit(obj:Form, e:InitEventInfo)
  242. {
  243. frmf_initForm(obj); //폼 초기화
  244. grdf_initGrid(grp_biz.grd_spermovumlist);
  245. }
  246. function SMABO01800_onload(obj:Form, e:LoadEventInfo)
  247. {
  248. var trnptfromdd = utlf_getCurrentDate().substr(0,6).toDate().getAddDate(1,"D").getDateFormat("YYYYMMDD");
  249. grp_biz.grp_sea.ipt_trnptfromdd.value = trnptfromdd;
  250. var trnpttodd = utlf_getCurrentDate().substr(0,6) + trnptfromdd.toDate().getMonthDay();
  251. grp_biz.grp_sea.ipt_trnpttodd.value = trnpttodd;
  252. var arrParam = [{dsNm: "ds_init_cmbinfo_sex_P0313", cdGrpId: "P0313"}];
  253. appf_getCodeList(arrParam);
  254. ds_init_cmbinfo_sex_P0313.insertRow(0);
  255. // bmtcommon.js : BMT 진단대분류 조회 : 맨 앞에 공백을 추가해주기 위해서 함수로 변경
  256. abofGetBmtDIagLrgList();
  257. ds_init_cmbinfo_lrglist_item.insertRow(0);
  258. }
  259. function grp_biz_grp_sea_ipt_pid_onkeydown(obj:Edit, e:KeyEventInfo)
  260. {
  261. if(e.keycode == 13){
  262. ds_send_req.setColumn(0, "pid", grp_biz.grp_sea.ipt_pid.text);
  263. grp_biz_grp_sea_btn_sea_onclick();
  264. }
  265. }
  266. function grp_biz_grp_sea_btn_sea_onclick(obj:Button, e:ClickEventInfo)
  267. {
  268. var oParam = {};
  269. oParam.id = "TRABO01801";
  270. oParam.service = "hsctcoordinatorapp.HsctPatient";
  271. oParam.method = "reqGetSpermOvumKeepPresCond";
  272. oParam.inds = "req=ds_send_req";
  273. oParam.outds = "ds_main_spermovumlist_item=item";
  274. oParam.async = false;
  275. tranf_submit(oParam);
  276. }
  277. function grp_biz_btn_excsave_onclick(obj:Button, e:ClickEventInfo)
  278. {
  279. grdf_exportExcel(grp_biz.grd_spermovumlist, "정자난자보관현황리스트" + utlf_getCurrentDate(), "sheetname1" , true, "" , "" , true);
  280. }
  281. function grp_btn_btn_prt_onclick(obj:Button, e:ClickEventInfo)
  282. {
  283. //미리보기출력
  284. var objDOM = rptf_createDOM();
  285. rptf_setNodeListToDOM(objDOM, "root/send/req" , ds_send_req); // 데이터셋 1
  286. rptf_setNodeListToDOM(objDOM, "root/main/spermovumlist/item", ds_main_spermovumlist_item); // 데이터셋 2
  287. var objParam = new Object();
  288. objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상의노드 XML 스트링 추출
  289. var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
  290. rptf_exeReportPreview30(["RPABO01801"],[objParam], option);
  291. }
  292. function grp_biz_grp_sea_Button00_onclick(obj:Button, e:ClickEventInfo)
  293. {
  294. abofGetBmtPatientSearch(ds_main_hsctinfo_patinfolist, ds_temp_bmtpatientinfo);
  295. ds_send_req.setColumn(0, "pid", ds_main_hsctinfo_patinfolist.getColumn(0, "pid"));
  296. }
  297. ]]></Script>
  298. </Form>
  299. </FDL>