SMMMI00200_미생물누적결과조회.xfdl 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMMMI00200" position="absolute 0 0 1091 712" titletext="미생물누적결과조회" onload="SMMMI00200_onload" class="frm_POP">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 8 38 1083 705" id="group3" scrollbars="autoboth">
  8. <Layouts>
  9. <Layout>
  10. <Static text="미생물결과전체보기" position="absolute 2 3 172 20" id="caption3" class="tit_2" anchor="default"/>
  11. <Grid position="absolute 0 21 1075 667" id="MicroRsltList" binddataset="ds_MicroRsltList" oncelldblclick="group3_MicroRsltList_oncelldblclick" cellsizingtype="col" anchor="default">
  12. <Formats>
  13. <Format id="default">
  14. <Columns>
  15. <Column size="80"/>
  16. <Column size="70"/>
  17. <Column size="50"/>
  18. <Column size="70"/>
  19. <Column size="125"/>
  20. <Column size="125"/>
  21. <Column size="200"/>
  22. <Column size="100"/>
  23. <Column size="400"/>
  24. <Column size="0"/>
  25. <Column size="0"/>
  26. </Columns>
  27. <Rows>
  28. <Row size="24" band="head"/>
  29. <Row size="24"/>
  30. </Rows>
  31. <Band id="head">
  32. <Cell text="처방일자"/>
  33. <Cell col="1" text="처방의사"/>
  34. <Cell col="2" text="입/외"/>
  35. <Cell col="3" text="검사구분"/>
  36. <Cell col="4" text="접수일시"/>
  37. <Cell col="5" text="결과일시"/>
  38. <Cell col="6" text="검사명"/>
  39. <Cell col="7" text="검체명"/>
  40. <Cell col="8" text="검사결과"/>
  41. <Cell col="9"/>
  42. <Cell col="10"/>
  43. </Band>
  44. <Band id="body">
  45. <Cell displaytype="date" text="bind:prcpdd"/>
  46. <Cell col="1" text="bind:orddrnm"/>
  47. <Cell col="2" text="bind:ioflag"/>
  48. <Cell col="3" text="bind:tclskind"/>
  49. <Cell col="4" displaytype="text" text="bind:workdd" mask="@@@@-@@-@@ @@:@@:@@"/>
  50. <Cell col="5" displaytype="text" text="bind:reptdt" mask="@@@@-@@-@@ @@:@@:@@"/>
  51. <Cell col="6" style="align:left;padding:0 0 0 3;" text="bind:tclsnm"/>
  52. <Cell col="7" style="align:left;padding:0 0 0 5;" text="bind:spcnm"/>
  53. <Cell col="8" style="align:left;padding:0 0 0 5;" text="bind:reptrslt"/>
  54. <Cell col="9" text="bind:bcno"/>
  55. <Cell col="10" text="bind:pid"/>
  56. </Band>
  57. </Format>
  58. </Formats>
  59. </Grid>
  60. </Layout>
  61. </Layouts>
  62. </Div>
  63. <Static id="caption00" text="미생물누적결과조회" class="sta_POP_title" position="absolute 12 8 224 28"/>
  64. <Button id="Button00" taborder="1" onclick="Button00_onclick" class="btn_POP_cls" position="absolute 1064 11 1078 25" style="color:#333333ff;"/>
  65. </Layout>
  66. </Layouts>
  67. <Objects>
  68. <Dataset id="ds_MicroRsltList" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  69. <ColumnInfo>
  70. <Column id="prcpdd" type="STRING"/>
  71. <Column id="orddrnm" type="STRING"/>
  72. <Column id="ioflag" type="STRING"/>
  73. <Column id="testkind" type="STRING"/>
  74. <Column id="workdd" type="STRING"/>
  75. <Column id="reptdt" type="STRING"/>
  76. <Column id="tclsnm" type="STRING"/>
  77. <Column id="spcnm" type="STRING"/>
  78. <Column id="reptrslt" type="STRING"/>
  79. <Column id="bcno" type="STRING"/>
  80. <Column id="pid" type="STRING"/>
  81. <Column id="amrmark" type="STRING" size="256"/>
  82. <Column id="hngnm" type="STRING" size="256"/>
  83. </ColumnInfo>
  84. </Dataset>
  85. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  86. <ColumnInfo>
  87. <Column id="pid" type="STRING" size="256"/>
  88. <Column id="usdd" type="STRING" size="256"/>
  89. <Column id="uedd" type="STRING" size="256"/>
  90. </ColumnInfo>
  91. </Dataset>
  92. <Dataset id="ds_ref" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  93. <ColumnInfo>
  94. <Column id="pid" type="STRING" size="256"/>
  95. <Column id="usdd" type="STRING" size="256"/>
  96. <Column id="uedd" type="STRING" size="256"/>
  97. </ColumnInfo>
  98. </Dataset>
  99. </Objects>
  100. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  101. * System Name :
  102. * Job Name :
  103. * Creator :
  104. * Make Date : 2014-10-02
  105. * Description :
  106. *---------------------------------------------------------------------------------------
  107. * Modify Date Modifier Modify Description
  108. *---------------------------------------------------------------------------------------
  109. * 2014-10-02 Live Converter TF->XP
  110. *
  111. *---------------------------------------------------------------------------------------
  112. ****************************************************************************************/
  113. include "com_commonxp::comm_main.xjs";
  114. include "com_commodulexp::SSZFM00401.xjs";
  115. var arErrorCode = new HashArray();
  116. function group3_MicroRsltList_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  117. {
  118. fClickResultList();
  119. }
  120. function fClickResultList(){
  121. frmf_modal("SPLMP90200", "SPLMP90200","", "", 1, 0, 0, "", "", "", "", "", "P");
  122. }
  123. function SMMMI00200_onload(obj:Form, e:LoadEventInfo)
  124. {
  125. frmf_initForm(obj); // 초기화
  126. lf_commoduleDataSetShow(); //DataSet 조회
  127. grdf_initGrid(group3.MicroRsltList);
  128. // ds_send.copyData(ds_SMMMI00200);
  129. if(frmf_checkOpener()) {
  130. // opener 전달 데이터셋 조회조건에 복사
  131. try {
  132. ds_send.copyData(arg_ds_send);
  133. } catch(e) {
  134. }
  135. }
  136. sysf_trace(ds_send.saveXML());
  137. var oParam = {};
  138. oParam.id = "TRLLP01101";
  139. oParam.service = "refprintmngtapp.GeneralRefPrintMngt";
  140. oParam.method = "reqGetMicroAcmlRsltList";
  141. oParam.inds = "cond=" + "ds_send";
  142. oParam.outds = "ds_MicroRsltList=getMicroAcmlRsltList" ;
  143. oParam.async = true;
  144. oParam.callback = "cf_TRLLP01101";
  145. tranf_submit(oParam);
  146. // for (i =1 ; i <group3.MicroRsltList.rowCount ; i++) {
  147. // var amrmark = this.ds_MicroRsltList.getColumn(i,"amrmark");
  148. // if (amrmark == "2") {
  149. // group3.MicroRsltList.setBandProperty("body","cellbackground","#FFCC00");
  150. // group3.MicroRsltList.setBandProperty("body","cellbackground2","#FFCC00");
  151. // }
  152. // }
  153. for(var i=0; i<group3.MicroRsltList.getCellCount("body");i++){
  154. var sExpr = "EXPR(getColumn(currow,'amrmark')=='2'?&quot;#FFCC00&quot;:&quot;&quot;)"
  155. group3.MicroRsltList.setCellProperty("body", i, "background" ,sExpr);
  156. group3.MicroRsltList.setCellProperty("body", i, "background2" ,sExpr);
  157. }
  158. }
  159. function cf_TRLLP01101(sSvcId, nErrorCode, sErrorMsg) {
  160. arErrorCode.push(sSvcId, nErrorCode);
  161. }
  162. function Button00_onclick(obj:Button, e:ClickEventInfo)
  163. {
  164. this.close();
  165. }
  166. ]]></Script>
  167. </Form>
  168. </FDL>