SPMRD02300_전과전실상세내역.xfdl 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  1. <?xml version="1.0" encoding="utf-8" standalone="no"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPMRD02300" position="absolute 0 0 710 320" titletext="원무전과전실" onload="SPMRD02300_onload">
  5. <Layouts>
  6. <Layout>
  7. <Shape id="line1" class="line_1" linetype="horizontal" position="absolute 0 29 710 32" style="strokepen:5 solid #33bbbbff;" anchor="default"/>
  8. <Static id="caption6" class="tit_1" position="absolute 0 0 147 26" style="" text="원무 전과전실 정보"/>
  9. <Shape id="line4" class="line_3" linetype="horizontal" position="absolute 0 317 710 320" style="" anchor="default"/>
  10. <Grid id="grd_tranlist" binddataset="ds_main_traninfo_tranlist" position="absolute 0 33 710 315" style="" cellsizingtype="col" taborder="0">
  11. <Formats>
  12. <Format id="default">
  13. <Columns>
  14. <Column size="25"/>
  15. <Column size="69"/>
  16. <Column size="0"/>
  17. <Column size="0"/>
  18. <Column size="81"/>
  19. <Column size="79"/>
  20. <Column size="86"/>
  21. <Column size="94"/>
  22. <Column size="63"/>
  23. <Column size="66"/>
  24. <Column size="54"/>
  25. <Column size="0"/>
  26. <Column size="0"/>
  27. <Column size="0"/>
  28. <Column size="0"/>
  29. </Columns>
  30. <Rows>
  31. <Row size="24" band="head"/>
  32. <Row size="22"/>
  33. </Rows>
  34. <Band id="head">
  35. <Cell/>
  36. <Cell col="1" text="환자번호"/>
  37. <Cell col="2" text="입원일자"/>
  38. <Cell col="3" text="생성번호"/>
  39. <Cell col="4" text="시작일"/>
  40. <Cell col="5" text="종료일"/>
  41. <Cell col="6" text="부서"/>
  42. <Cell col="7" text="병동"/>
  43. <Cell col="8" text="병실"/>
  44. <Cell col="9" text="주치교수"/>
  45. <Cell col="10" text="이력"/>
  46. <Cell col="11" text="최초입력자"/>
  47. <Cell col="12" text="최초입력일"/>
  48. <Cell col="13" text="최종수정자"/>
  49. <Cell col="14" text="최종수성일"/>
  50. </Band>
  51. <Band id="body">
  52. <Cell celltype="head" text="expr:currow + 1"/>
  53. <Cell col="1" style="background:EXPR(histstat != &quot;Y&quot; ? &quot;#CCCCCC&quot; : &quot;#FFFFFF&quot;);background2:EXPR(histstat != &quot;Y&quot; ? &quot;#CCCCCC&quot; : &quot;#FFFFFF&quot;);" text="bind:pid"/>
  54. <Cell col="2" style="background:EXPR(histstat != &quot;Y&quot; ? &quot;#CCCCCC&quot; : &quot;#FFFFFF&quot;);background2:EXPR(histstat != &quot;Y&quot; ? &quot;#CCCCCC&quot; : &quot;#FFFFFF&quot;);" text="bind:indd"/>
  55. <Cell col="3" style="background:EXPR(histstat != &quot;Y&quot; ? &quot;#CCCCCC&quot; : &quot;#FFFFFF&quot;);background2:EXPR(histstat != &quot;Y&quot; ? &quot;#CCCCCC&quot; : &quot;#FFFFFF&quot;);" text="bind:cretno"/>
  56. <Cell col="4" displaytype="date" style="background:EXPR(histstat != &quot;Y&quot; ? &quot;#CCCCCC&quot; : &quot;#FFFFFF&quot;);background2:EXPR(histstat != &quot;Y&quot; ? &quot;#CCCCCC&quot; : &quot;#FFFFFF&quot;);" text="bind:fromdd" calendardisplaynulltype="none"/>
  57. <Cell col="5" displaytype="date" style="background:EXPR(histstat != &quot;Y&quot; ? &quot;#CCCCCC&quot; : &quot;#FFFFFF&quot;);background2:EXPR(histstat != &quot;Y&quot; ? &quot;#CCCCCC&quot; : &quot;#FFFFFF&quot;);" text="bind:todd" calendardisplaynulltype="none"/>
  58. <Cell col="6" displaytype="text" style="background:EXPR(histstat != &quot;Y&quot; ? &quot;#CCCCCC&quot; : &quot;#FFFFFF&quot;);background2:EXPR(histstat != &quot;Y&quot; ? &quot;#CCCCCC&quot; : &quot;#FFFFFF&quot;);" text="bind:orddept"/>
  59. <Cell col="7" displaytype="text" style="background:EXPR(histstat != &quot;Y&quot; ? &quot;#CCCCCC&quot; : &quot;#FFFFFF&quot;);background2:EXPR(histstat != &quot;Y&quot; ? &quot;#CCCCCC&quot; : &quot;#FFFFFF&quot;);" text="bind:ward"/>
  60. <Cell col="8" displaytype="text" style="background:EXPR(histstat != &quot;Y&quot; ? &quot;#CCCCCC&quot; : &quot;#FFFFFF&quot;);background2:EXPR(histstat != &quot;Y&quot; ? &quot;#CCCCCC&quot; : &quot;#FFFFFF&quot;);" text="bind:roomcd"/>
  61. <Cell col="9" displaytype="text" style="background:EXPR(histstat != &quot;Y&quot; ? &quot;#CCCCCC&quot; : &quot;#FFFFFF&quot;);background2:EXPR(histstat != &quot;Y&quot; ? &quot;#CCCCCC&quot; : &quot;#FFFFFF&quot;);" text="bind:medispcl"/>
  62. <Cell col="10" style="background:EXPR(histstat != &quot;Y&quot; ? &quot;#CCCCCC&quot; : &quot;#FFFFFF&quot;);background2:EXPR(histstat != &quot;Y&quot; ? &quot;#CCCCCC&quot; : &quot;#FFFFFF&quot;);" text="bind:histstat"/>
  63. <Cell col="11" text="bind:fstrgstnm"/>
  64. <Cell col="12" text="bind:fstrgstdt"/>
  65. <Cell col="13" text="bind:lastupdtnm"/>
  66. <Cell col="14" text="bind:lastupdtdt"/>
  67. </Band>
  68. </Format>
  69. </Formats>
  70. </Grid>
  71. <CheckBox id="bool1" truevalue="Y" falsevalue="N" position="absolute 161 7 273 27" style="font:,,bold;" text="날짜 단위로보기" anchor="left bottom" onclick="bool1_onclick" taborder="1"/>
  72. </Layout>
  73. </Layouts>
  74. <Objects>
  75. <Dataset id="ds_main_dschanalyhist_dschanalyinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  76. <ColumnInfo>
  77. <Column id="histstat" type="STRING" size="256"/>
  78. </ColumnInfo>
  79. <Rows>
  80. <Row>
  81. <Col id="histstat"/>
  82. </Row>
  83. </Rows>
  84. </Dataset>
  85. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  86. <ColumnInfo>
  87. <Column id="indxlist" type="STRING" size="256"/>
  88. </ColumnInfo>
  89. </Dataset>
  90. <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  91. <ColumnInfo>
  92. <Column id="temp" type="STRING" size="256"/>
  93. </ColumnInfo>
  94. <Rows>
  95. <Row>
  96. <Col id="temp"/>
  97. </Row>
  98. </Rows>
  99. </Dataset>
  100. <Dataset id="ds_main_dschanalyhist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  101. <ColumnInfo/>
  102. </Dataset>
  103. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  104. <ColumnInfo>
  105. <Column id="hidden" type="STRING" size="256"/>
  106. </ColumnInfo>
  107. <Rows>
  108. <Row>
  109. <Col id="hidden"/>
  110. </Row>
  111. </Rows>
  112. </Dataset>
  113. <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  114. <ColumnInfo>
  115. <Column id="traninfo" type="STRING" size="256"/>
  116. </ColumnInfo>
  117. </Dataset>
  118. <Dataset id="ds_main_traninfo_tranlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  119. </Objects>
  120. <Bind>
  121. <BindItem id="item0" compid="bool1" propid="value" datasetid="ds_main_dschanalyhist_dschanalyinfo" columnid="histstat"/>
  122. </Bind>
  123. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  124. * System Name :
  125. * Job Name :
  126. * Creator :
  127. * Make Date : 2014-12-16
  128. * Description :
  129. *---------------------------------------------------------------------------------------
  130. * Modify Date Modifier Modify Description
  131. *---------------------------------------------------------------------------------------
  132. * 2014-12-16 Live Converter TF->XP
  133. *
  134. *---------------------------------------------------------------------------------------
  135. ****************************************************************************************/
  136. //=======================================================================================
  137. // Lib Include
  138. //---------------------------------------------------------------------------------------
  139. include "com_commonxp::comm_main.xjs";
  140. include "com_commodulexp::SSZFM00401.xjs"
  141. var arErrorCode = new HashArray();
  142. function fSetColor(){
  143. var cnt = ds_main_traninfo_tranlist.rowcount;
  144. var histstat = "";
  145. for(var i=0; i<cnt; i++){
  146. histstat = ds_main_traninfo_tranlist.getColumn(i, "histstat");
  147. grd_tranlist.setCellProprty("body", i, "background", "#FFFFFF"); grd_tranlist.setCellProperty("body", i, "background2", "#FFFFFF");
  148. if("Y" != histstat){
  149. grd_tranlist.setCellProprty("body", i, "background", "#CCCCCC"); grd_tranlist.setCellProperty("body", i, "background2", "#CCCCCC");
  150. }
  151. }
  152. }
  153. function SPMRD02300_onload(obj:Form, e:LoadEventInfo) {
  154. frmf_initForm(obj);
  155. grdf_initGrid(grd_tranlist);
  156. if(frmf_checkOpener())
  157. {
  158. try{
  159. ds_main_dschanalyhist_dschanalyinfo.copyData(arg_ds_main_dschanalyhist_dschanalyinfo);
  160. }catch(e){}
  161. }
  162. var oParam = {};
  163. oParam.id = "TRMRD00419";
  164. oParam.service = "dschanalyapp.DschAnaly";
  165. oParam.method = "reqGetPamTraninfo";
  166. oParam.inds = "req=ds_main_dschanalyhist_dschanalyinfo";
  167. oParam.outds = "ds_main_traninfo_tranlist=tranlist";
  168. oParam.async = false;
  169. //oParam.callback = "cf_TRMRD00419";
  170. tranf_submit(oParam);
  171. }
  172. function bool1_onclick(obj:CheckBox, e:ClickEventInfo)
  173. {
  174. var oParam = {};
  175. oParam.id = "TRMRD00419";
  176. oParam.service = "dschanalyapp.DschAnaly";
  177. oParam.method = "reqGetPamTraninfo";
  178. oParam.inds = "req=ds_main_dschanalyhist_dschanalyinfo";
  179. oParam.outds = "ds_main_traninfo_tranlist=tranlist";
  180. oParam.async = false;
  181. //oParam.callback = "cf_TRMRD00419";
  182. tranf_submit(oParam);
  183. }
  184. ]]></Script>
  185. </Form>
  186. </FDL>