SPPID29200_수술예방적항생제상세조회.xfdl 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMPPI01100" position="absolute 0 0 997 664" titletext="수술 예방적 항생제 상세조회" oninit="SMPPI01100_oninit" onload="SMPPI01100_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="cap_title" text="수술 예방적 항생제 상세조회" class="tit_1" position="absolute 0 0 272 26"/>
  8. <Button id="btn_excelsave" taborder="2" text="엑셀저장" onclick="grp_biz_btn_excelsave_onclick" class="btn7" position="absolute 911 6 991 25" anchor="top right"/>
  9. <Grid id="Grid00" taborder="3" binddataset="ds_grd_dtllist" useinputpanel="false" position="absolute 0 31 992 660" anchor="all" cellmovingtype="col">
  10. <Formats>
  11. <Format id="default">
  12. <Columns>
  13. <Column size="80"/>
  14. <Column size="80"/>
  15. <Column size="104"/>
  16. <Column size="235"/>
  17. <Column size="140"/>
  18. <Column size="80"/>
  19. <Column size="80"/>
  20. <Column size="35"/>
  21. <Column size="35"/>
  22. <Column size="35"/>
  23. <Column size="35"/>
  24. <Column size="35"/>
  25. </Columns>
  26. <Rows>
  27. <Row size="44" band="head"/>
  28. <Row size="24"/>
  29. </Rows>
  30. <Band id="head">
  31. <Cell text="환자번호"/>
  32. <Cell col="1" text="환자명"/>
  33. <Cell col="2" displaytype="normal" text="처방코드"/>
  34. <Cell col="3" displaytype="normal" text="처방명"/>
  35. <Cell col="4" displaytype="normal" text="시행일시"/>
  36. <Cell col="5" displaytype="normal" text="세파여부"/>
  37. <Cell col="6" displaytype="normal" text="퇴원약여부"/>
  38. <Cell col="7" displaytype="normal" text="구분"/>
  39. <Cell col="8" displaytype="normal" text="1회량"/>
  40. <Cell col="9" displaytype="normal" text="횟수"/>
  41. <Cell col="10" text="1일량"/>
  42. <Cell col="11" displaytype="normal" text="일수&#13;&#10;총투"/>
  43. </Band>
  44. <Band id="body">
  45. <Cell text="bind:pid"/>
  46. <Cell col="1" text="bind:patnm"/>
  47. <Cell col="2" displaytype="normal" text="bind:prcpcd"/>
  48. <Cell col="3" displaytype="normal" style="align:left middle;" text="bind:prcpnm"/>
  49. <Cell col="4" displaytype="date" text="bind:execdd" mask="yyyy-MM-dd HH:mm:ss"/>
  50. <Cell col="5" displaytype="normal" text="bind:sefa"/>
  51. <Cell col="6" displaytype="normal" text="bind:dscdrug"/>
  52. <Cell col="7" displaytype="normal" text="bind:gbn"/>
  53. <Cell col="8" displaytype="number" text="bind:execprcpqty"/>
  54. <Cell col="9" displaytype="number" text="bind:execprcptims"/>
  55. <Cell col="10" displaytype="number" expr="expr:execprcpqty * execprcptims"/>
  56. <Cell col="11" displaytype="number" text="bind:execprcpdayno"/>
  57. </Band>
  58. </Format>
  59. </Formats>
  60. </Grid>
  61. <Shape id="ln_clodhist00" class="line_10" position="absolute 0 27 992 32" style="strokepen:3 solid #33bbbbff;" anchor="left top right"/>
  62. </Layout>
  63. </Layouts>
  64. <Objects>
  65. <Dataset id="ds_send_dtl" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  66. <Dataset id="ds_grd_dtllist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  67. </Objects>
  68. <Bind/>
  69. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  70. * System Name :
  71. * Job Name :
  72. * Creator :
  73. * Make Date : 2016-05-24
  74. * Description :
  75. *---------------------------------------------------------------------------------------
  76. * Modify Date Modifier Modify Description
  77. *---------------------------------------------------------------------------------------
  78. * 2016-05-24 Live Converter TF->XP
  79. *
  80. *---------------------------------------------------------------------------------------
  81. ****************************************************************************************/
  82. include "com_commonxp::comm_main.xjs";
  83. include "pam_pamcomnxp::PAM001.xjs";
  84. function SMPPI01100_oninit(obj:Form, e:InitEventInfo)
  85. {
  86. frmf_initForm(obj)
  87. }
  88. function SMPPI01100_onload(obj:Form, e:LoadEventInfo)
  89. {
  90. grdf_initGrid(Grid00);
  91. fInitialize();
  92. }
  93. function fInitialize(){
  94. fGetDocuList();
  95. }
  96. function cf_TRPPI01001(sSvcId, nErrorCode, sErrorMsg) {
  97. if(nErrorCode < 0) return;
  98. }
  99. function fGetDocuList(){
  100. ds_send_dtl.copyData(arg_ds_hidden_receivedata);
  101. var oParam = {};
  102. oParam.id = "TRPPI01300";
  103. oParam.service = "aftjudgapp.InAftJudgTrgtMan";
  104. oParam.method = "reqGetOpPrvnAntibioDtlList";
  105. oParam.inds = "req=ds_send_dtl";
  106. oParam.outds = "ds_grd_dtllist=rsltlist";
  107. oParam.async = false;
  108. //oParam.callback = "cf_TRPPI01300";
  109. tranf_submit(oParam);
  110. }
  111. function grp_biz_btn_excelsave_onclick(obj:Button, e:ClickEventInfo)
  112. {
  113. if (ds_grd_dtllist.rowcount > 0) {
  114. grdf_exportExcel(Grid00, "수술 예방적 항생제 상세내역" , "see");
  115. }else{
  116. sysf_messageBox("엑셀저장할 내역이", "I004");
  117. }
  118. }
  119. ]]></Script>
  120. </Form>
  121. </FDL>