SPMMB03800_수술예약스케줄상세.xfdl 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPMMB03800" position="absolute 0 0 658 280" titletext="수술예약스케줄 상세조회" oninit="SPMMB03800_oninit" onload="SPMMB03800_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static text="수술예약스케줄 상세LIST" position="absolute 0 4 275 24" align="align:center middle;" id="caption11" class="tit_2"/>
  8. <Grid position="absolute 0 25 658 255" id="datagrid1" binddataset="ds_opschereclist" anchor="all">
  9. <Formats>
  10. <Format id="default">
  11. <Columns>
  12. <Column size="20"/>
  13. <Column size="66"/>
  14. <Column size="60"/>
  15. <Column size="45"/>
  16. <Column size="222"/>
  17. <Column size="50"/>
  18. <Column size="60"/>
  19. <Column size="135"/>
  20. </Columns>
  21. <Rows>
  22. <Row size="24" band="head"/>
  23. <Row size="24"/>
  24. </Rows>
  25. <Band id="head">
  26. <Cell/>
  27. <Cell col="1" text="등록번호"/>
  28. <Cell col="2" text="성명"/>
  29. <Cell col="3" text="S/A"/>
  30. <Cell col="4" text="수술명"/>
  31. <Cell col="5" text="수술방"/>
  32. <Cell col="6" text="집도의"/>
  33. <Cell col="7" text="비고"/>
  34. </Band>
  35. <Band id="body">
  36. <Cell celltype="head" text="expr:currow + 1"/>
  37. <Cell col="1" text="bind:pid"/>
  38. <Cell col="2" text="bind:hngnm"/>
  39. <Cell col="3" text="bind:ptbsinfo"/>
  40. <Cell col="4" text="bind:opnm"/>
  41. <Cell col="5" text="bind:oproomnm"/>
  42. <Cell col="6" text="bind:perfdrnm"/>
  43. <Cell col="7" text="bind:opregstremfact"/>
  44. </Band>
  45. </Format>
  46. </Formats>
  47. </Grid>
  48. <Button position="absolute 602 258 658 280" id="button5" class="btn3" text="닫기" onclick="button5_onclick" anchor="right bottom"/>
  49. <Static position="absolute 379 0 649 20" align="align:right middle;" id="cpt_opschedt" style="color:#3366ffff;align:right middle;font:Dotum,9,bold;" anchor="top right"/>
  50. </Layout>
  51. </Layouts>
  52. <Objects>
  53. <Dataset id="ds_opschereclist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  54. <ColumnInfo>
  55. <Column id="pid" type="STRING"/>
  56. <Column id="hngnm" type="STRING"/>
  57. <Column id="ptbsinfo" type="STRING"/>
  58. <Column id="opnm" type="STRING"/>
  59. <Column id="oproomnm" type="STRING"/>
  60. <Column id="perfdrnm" type="STRING"/>
  61. <Column id="opregstremfact" type="STRING"/>
  62. </ColumnInfo>
  63. </Dataset>
  64. <Dataset id="ds_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  65. <ColumnInfo>
  66. <Column id="year" type="STRING" size="256" sumtext="상태코드"/>
  67. <Column id="month" type="STRING" size="256" sumtext="수술대장번호"/>
  68. <Column id="orddeptcd" type="STRING" size="256" sumtext="수술대장이력번호"/>
  69. <Column id="fromdd" type="STRING" size="256" sumtext="기관코드"/>
  70. <Column id="todd" type="STRING" size="256" sumtext="수술대장이력코드"/>
  71. <Column id="oproomcd" type="STRING" size="256" sumtext="수술실코드"/>
  72. <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
  73. <Column id="perfdeptcd" type="STRING" size="256" sumtext="집도과"/>
  74. <Column id="basedd" type="STRING" size="256" sumtext="기준일자"/>
  75. <Column id="queryflag" type="STRING" size="256" sumtext="조회구분"/>
  76. <Column id="perfdrid" type="STRING" size="256" sumtext="집도의"/>
  77. <Column id="openflag" type="STRING" size="256"/>
  78. <Column id="scheperfdrid" type="STRING" size="256"/>
  79. <Column id="opschedt" type="STRING" size="256"/>
  80. <Column id="opscheday" type="STRING" size="256"/>
  81. </ColumnInfo>
  82. <Rows>
  83. <Row/>
  84. </Rows>
  85. </Dataset>
  86. <Dataset id="ds_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  87. </Objects>
  88. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  89. * System Name :
  90. * Job Name :
  91. * Creator :
  92. * Make Date : 2014-08-29
  93. * Description :
  94. *---------------------------------------------------------------------------------------
  95. * Modify Date Modifier Modify Description
  96. *---------------------------------------------------------------------------------------
  97. * 2014-08-29 Live Converter TF->XP
  98. *
  99. *---------------------------------------------------------------------------------------
  100. ****************************************************************************************/
  101. include "com_commonxp::comm_main.xjs";
  102. function SPMMB03800_oninit(obj:Form, e:InitEventInfo)
  103. {
  104. frmf_initForm(obj);
  105. }
  106. function SPMMB03800_onload(obj:Form, e:LoadEventInfo)
  107. {
  108. fInitialize();
  109. }
  110. function button5_onclick(obj:Button, e:ClickEventInfo)
  111. {
  112. close();
  113. }
  114. function fInitialize(){
  115. var opschedt = opener.frmf_getParameter("SPMMB03700_param_opschedt");
  116. var opscheday = opener.frmf_getParameter("SPMMB03700_param_opscheday");
  117. var perfdrid = opener.frmf_getParameter("SPMMB03700_param_perfdrid");
  118. var perfdeptcd = opener.frmf_getParameter("SPMMB03700_param_perfdeptcd");
  119. var nullcnt = 0;
  120. for(var i = 0; i < opscheday.length ; i++ ){
  121. if( opscheday.substring(i, i+1) == " " ){
  122. nullcnt++;
  123. }
  124. }
  125. for(var i = 0; i < nullcnt ; i++ ){
  126. opscheday = opscheday.replace(" ", "");
  127. }
  128. if( opscheday.length < 2 ){
  129. opscheday = "0" + opscheday;
  130. }
  131. ds_cond.setColumn(0, "opschedt" , opschedt);
  132. ds_cond.setColumn(0, "opscheday" , opscheday);
  133. ds_cond.setColumn(0, "perfdrid" , perfdrid);
  134. ds_cond.setColumn(0, "perfdeptcd" , perfdeptcd);
  135. cpt_opschedt.text = "【 " + opschedt.substring(0,4) + "년 " + opschedt.substring(4,6) + "월 " + opscheday + "일 】";
  136. fSelectCalendar();
  137. }
  138. function fSelectCalendar(){
  139. ds_cond.setColumn(0, "queryflag" , "cal");
  140. ds_cond.setColumn(0, "basedd" , ds_cond.getColumn(0, "opschedt") + ds_cond.getColumn(0, "opscheday"));
  141. ds_reqdata.copyData(ds_cond);
  142. sysf_trace(ds_cond.getColumn(0, "opschedt") + ", " + ds_cond.getColumn(0, "opscheday"));
  143. dsf_setDefaultVal(ds_reqdata, "perfdrid:-");
  144. var oParam = {};
  145. oParam.id = "TRMMO05701";
  146. oParam.service = "prcpmngtapp.OpMngt";
  147. oParam.method = "reqGetOpScheRecList";
  148. oParam.inds = "req=ds_reqdata";
  149. oParam.outds = "ds_opschereclist=opschereclist";
  150. oParam.async = true;
  151. tranf_submit(oParam);
  152. }
  153. ]]></Script>
  154. </Form>
  155. </FDL>