SMAER00900_치료실시완료현황.xfdl 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMAER00900" position="absolute 0 0 1196 770" titletext="치료실시완료현황" onload="SMAER00900_onload" oninit="SMAER00900_oninit">
  5. <Layouts>
  6. <Layout>
  7. <Static text="치료 실시 완료 현황" position="absolute 0 0 230 24" id="caption19" class="tit_1"/>
  8. <Shape position="absolute 0 82 1190 88" linetype="horizontal" id="line1" class="line_10" anchor="left top right"/>
  9. <Grid position="absolute 0 87 1190 766" id="datagrid1" binddataset="ds_main_nuclprcsprescondlist_nuclprcsprescond" autofittype="col" cellsizingtype="col" autoenter="select" anchor="all">
  10. <Formats>
  11. <Format id="default">
  12. <Columns>
  13. <Column size="22" band="left"/>
  14. <Column size="0"/>
  15. <Column size="75"/>
  16. <Column size="70"/>
  17. <Column size="43"/>
  18. <Column size="100"/>
  19. <Column size="70"/>
  20. <Column size="100"/>
  21. <Column size="268"/>
  22. <Column size="80"/>
  23. <Column size="80"/>
  24. <Column size="81"/>
  25. <Column size="55"/>
  26. <Column size="60"/>
  27. <Column size="68"/>
  28. </Columns>
  29. <Rows>
  30. <Row size="24" band="head"/>
  31. <Row size="24"/>
  32. </Rows>
  33. <Band id="head">
  34. <Cell/>
  35. <Cell col="1" text="No"/>
  36. <Cell col="2" text="등록번호"/>
  37. <Cell col="3" text="환자명"/>
  38. <Cell col="4" text="나이"/>
  39. <Cell col="5" text="진료과"/>
  40. <Cell col="6" text="진료의"/>
  41. <Cell col="7" text="검사실"/>
  42. <Cell col="8" text="검사명"/>
  43. <Cell col="9" text="입원"/>
  44. <Cell col="10" text="퇴원"/>
  45. <Cell col="11" text="투약일"/>
  46. <Cell col="12" text="용량"/>
  47. <Cell col="13" text="호실"/>
  48. <Cell col="14" text="실시자"/>
  49. </Band>
  50. <Band id="body">
  51. <Cell celltype="head" expr="currow+1"/>
  52. <Cell col="1" text="bind:seq"/>
  53. <Cell col="2" text="bind:pid"/>
  54. <Cell col="3" text="bind:hngnm"/>
  55. <Cell col="4" text="bind:age"/>
  56. <Cell col="5" text="bind:orddeptnm"/>
  57. <Cell col="6" text="bind:orddrnm"/>
  58. <Cell col="7" text="bind:excuroomcd"/>
  59. <Cell col="8" text="bind:prcpnm"/>
  60. <Cell col="9" displaytype="date" text="bind:orddd" calendardisplaynulltype="nulltext"/>
  61. <Cell col="10" displaytype="date" text="bind:dschdd" calendardisplaynulltype="nulltext"/>
  62. <Cell col="11" displaytype="date" text="bind:execdd" calendardisplaynulltype="nulltext"/>
  63. <Cell col="12" displaytype="number" text="bind:drugqty"/>
  64. <Cell col="13" text="bind:roomcd"/>
  65. <Cell col="14" text="bind:drnm"/>
  66. </Band>
  67. </Format>
  68. </Formats>
  69. </Grid>
  70. <Button position="absolute 1140 63 1190 82" id="button4" class="btn7" text="엑셀" onclick="button4_onclick"/>
  71. <Div id="grp_sea" taborder="1" position="absolute 0 24 1192 59" class="div_SA">
  72. <Layouts>
  73. <Layout>
  74. <Static id="caption2" text="조회일자 :" class="search_name" position="absolute 10 11 101 28" anchor="default"/>
  75. <Calendar id="ipt_fromdd" taborder="1" class="input_default" position="absolute 101 9 191 28" anchor="default" dateformat="yyyy-MM-dd" value="null" autoselect="true" autoskip="true"/>
  76. <Calendar id="ipt_todd" taborder="2" class="input_default" position="absolute 193 9 283 28" anchor="default" dateformat="yyyy-MM-dd" autoselect="true" autoskip="true"/>
  77. <Static id="caption1" text="등록번호 :" class="search_name" position="absolute 319 11 409 28" anchor="default"/>
  78. <Edit id="ipt_pid" taborder="3" class="input_search" position="absolute 400 9 480 28" anchor="default" onkeydown="grp_sea_ipt_pid_onkeydown" autoselect="true"/>
  79. <Button id="button61" taborder="4" class="icon_search" position="absolute 482 9 498 25" anchor="default" onclick="grp_sea_button61_onclick"/>
  80. <Edit id="ipt_patnm" taborder="5" readonly="true" position="absolute 499 9 570 28" anchor="default"/>
  81. <Button id="btn_sea" taborder="6" text="조회" class="btn1" position="absolute 1121 7 1177 29" anchor="default" onclick="grp_sea_btn_sea_onclick"/>
  82. </Layout>
  83. </Layouts>
  84. </Div>
  85. <Button id="tab_all" taborder="2" position="absolute 0 61 70 83" class="btn_tab_S" text="전체" onclick="tab_all_onclick"/>
  86. <Button id="tab_i" taborder="3" text="입원치료" class="btn_tab" position="absolute 71 61 141 83" onclick="tab_i_onclick"/>
  87. <Button id="tab_o" taborder="4" text="외래치료" class="btn_tab" position="absolute 142 61 212 83" onclick="tab_o_onclick"/>
  88. </Layout>
  89. </Layouts>
  90. <Objects>
  91. <Dataset id="ds_main_nuclprcsprescondlist_nuclprcsprescond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  92. <ColumnInfo>
  93. <Column id="seq" type="STRING"/>
  94. <Column id="pid" type="STRING"/>
  95. <Column id="hngnm" type="STRING"/>
  96. <Column id="age" type="STRING"/>
  97. <Column id="orddeptnm" type="STRING"/>
  98. <Column id="orddrnm" type="STRING"/>
  99. <Column id="excuroomcd" type="STRING"/>
  100. <Column id="prcpnm" type="STRING"/>
  101. <Column id="orddd" type="STRING"/>
  102. <Column id="dschdd" type="STRING"/>
  103. <Column id="execdd" type="STRING"/>
  104. <Column id="drugqty" type="STRING"/>
  105. <Column id="roomcd" type="STRING"/>
  106. <Column id="drnm" type="STRING"/>
  107. </ColumnInfo>
  108. </Dataset>
  109. <Dataset id="ds_send_data" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  110. <ColumnInfo>
  111. <Column id="srchpid" type="STRING" size="256"/>
  112. <Column id="hngnm" type="STRING" size="256"/>
  113. </ColumnInfo>
  114. <Rows>
  115. <Row/>
  116. </Rows>
  117. </Dataset>
  118. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  119. <ColumnInfo>
  120. <Column id="fromdd" type="STRING" size="256"/>
  121. <Column id="todd" type="STRING" size="256"/>
  122. <Column id="ioflag" type="STRING" size="256"/>
  123. <Column id="pid" type="STRING" size="256"/>
  124. <Column id="suppdeptcd" type="STRING" size="256"/>
  125. </ColumnInfo>
  126. <Rows>
  127. <Row/>
  128. </Rows>
  129. </Dataset>
  130. <Dataset id="ds_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  131. </Objects>
  132. <Bind>
  133. <BindItem id="item0" compid="grp_sea.ipt_fromdd" propid="value" datasetid="ds_send" columnid="fromdd"/>
  134. <BindItem id="item1" compid="grp_sea.ipt_todd" propid="value" datasetid="ds_send" columnid="todd"/>
  135. <BindItem id="item2" compid="grp_sea.ipt_pid" propid="value" datasetid="ds_send_data" columnid="srchpid"/>
  136. <BindItem id="item3" compid="grp_sea.ipt_patnm" propid="value" datasetid="ds_send_data" columnid="hngnm"/>
  137. </Bind>
  138. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  139. * System Name :
  140. * Job Name :
  141. * Creator :
  142. * Make Date : 2015-11-13
  143. * Description :
  144. *---------------------------------------------------------------------------------------
  145. * Modify Date Modifier Modify Description
  146. *---------------------------------------------------------------------------------------
  147. * 2015-11-13 Live Converter TF->XP
  148. *
  149. *---------------------------------------------------------------------------------------
  150. ****************************************************************************************/
  151. include "com_commonxp::comm_main.xjs";
  152. include "ast_examcurexp::AEZ0001.xjs";
  153. var vSuppdeptcd;
  154. function SMAER00900_oninit(obj:Form, e:InitEventInfo)
  155. {
  156. frmf_initForm(obj);
  157. }
  158. function SMAER00900_onload(obj:Form, e:LoadEventInfo)
  159. {
  160. grdf_initGrid(datagrid1);
  161. lf_aezfSetSuppDeptcd();
  162. vSuppdeptcd = frmf_getPrestDeptCd();
  163. ds_send.setColumn(0, "fromdd", utlf_getCurrentDate());
  164. ds_send.setColumn(0, "todd", utlf_getCurrentDate());
  165. ds_send.setColumn(0, "ioflag", "A");
  166. ds_send.setColumn(0, "suppdeptcd", vSuppdeptcd);
  167. tab_all.class = "btn_tab_S";
  168. tab_i.class = "btn_tab";
  169. tab_o.class = "btn_tab";
  170. }
  171. function grp_sea_ipt_pid_onkeydown(obj:Edit, e:KeyEventInfo)
  172. {
  173. if(e.keycode == 13)
  174. {
  175. obj.updateToDataset();
  176. fnChkSubmit();
  177. }
  178. }
  179. function fnChkSubmit()
  180. {
  181. if((utlf_isNull(ds_send.getColumn(0, "fromdd"))|| utlf_isNull(ds_send.getColumn(0, "todd"))) && utlf_isNull(ds_send_data.getColumn(0, "srchpid")))
  182. {
  183. sysf_messageBox("조회일자와 등록번호중 하나는 ", "I003");
  184. }
  185. else
  186. {
  187. ds_send.setColumn(0, "pid", ds_send_data.getColumn(0, "srchpid"));
  188. var oParam = {};
  189. oParam.id = "TRAEA00901";
  190. oParam.service = "examcureacptexecapp.ExamCurePrcs";
  191. oParam.method = "reqGetExamCureNuclPrcsPresCondList";
  192. oParam.inds = "req=ds_send";
  193. oParam.outds = "ds_main_nuclprcsprescondlist_nuclprcsprescond=item";
  194. oParam.async = false;
  195. //oParam.callback = "cf_TRAEA00901";
  196. tranf_submit(oParam);
  197. }
  198. }
  199. function grp_sea_button61_onclick(obj:Button, e:ClickEventInfo)
  200. {
  201. var objArg = new Object();
  202. objArg.arg_ds_send = ds_send_data;
  203. frmf_modal("SPPMC02500", "SPPMC02500", objArg, "", "", "", "", "", "", "", "", "", "M");
  204. ds_send_data.setColumn(0, "srchpid", ds_patinfolist.getColumn(0, "pid"));
  205. ds_send_data.setColumn(0, "hngnm", ds_patinfolist.getColumn(0, "hngnm"));
  206. }
  207. function grp_sea_btn_sea_onclick(obj:Button, e:ClickEventInfo)
  208. {
  209. fnChkSubmit();
  210. }
  211. function tab_all_onclick(obj:Button, e:ClickEventInfo)
  212. {
  213. tab_all.class = "btn_tab_S";
  214. tab_i.class = "btn_tab";
  215. tab_o.class = "btn_tab";
  216. ds_send.setColumn(0, "ioflag", "A");
  217. fnChkSubmit();
  218. }
  219. function tab_i_onclick(obj:Button, e:ClickEventInfo)
  220. {
  221. tab_all.class = "btn_tab";
  222. tab_i.class = "btn_tab_S";
  223. tab_o.class = "btn_tab";
  224. ds_send.setColumn(0, "ioflag", "I");
  225. fnChkSubmit();
  226. }
  227. function tab_o_onclick(obj:Button, e:ClickEventInfo)
  228. {
  229. tab_all.class = "btn_tab";
  230. tab_i.class = "btn_tab";
  231. tab_o.class = "btn_tab_S";
  232. ds_send.setColumn(0, "ioflag", "O");
  233. fnChkSubmit();
  234. }
  235. function button4_onclick(obj:Button, e:ClickEventInfo)
  236. {
  237. grdf_exportExcel(datagrid1, "exportExcel", "Sheet1", "true", "", "");
  238. }
  239. ]]></Script>
  240. </Form>
  241. </FDL>