SPPMI06020_일자별재원현황.xfdl 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263
  1. <?xml version="1.0" encoding="utf-8" standalone="no"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml" />
  4. <Form id="SPPMI06020" position="absolute 0 0 430 600" titletext="병실환자정보" onload="SPPMI06020_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div id="group3" scrollbars="autoboth" position="absolute 0 0 435 560" style="">
  8. <Layouts>
  9. <Layout>
  10. <Div id="group2" position="absolute 0 0 425 35" style="align: top;">
  11. <Layouts>
  12. <Layout>
  13. <Shape id="roundrect1" anchor="default" class="roundrect_search" type="roundrectangle" position="absolute 0 0 425 35" style="" />
  14. <Static id="caption2" class="search_name" position="absolute 5 9 91 26" style="" text="기간조회 :" />
  15. <Button id="btn_search" class="btn1_letter2" position="absolute 360 8 416 30" style="" text="조회" onclick="group3_group2_btn_search_onclick" />
  16. <Shape id="line13" class="line_4" linetype="vertical" position="absolute 349 7 352 29" style="border: solid #ffe4bb #ffe4bb;" anchor="default" />
  17. <Calendar id="input1" position="absolute 95 8 180 27" style="" anchor="default" />
  18. <Static id="caption3" position="absolute 180 9 205 29" style="align:center ;" text="~" />
  19. <Calendar id="input2" position="absolute 205 8 290 27" style="" anchor="default" />
  20. <Button id="btn_chan" visible="false" position="absolute 325 15 330 25" style="" text="" />
  21. </Layout>
  22. </Layouts>
  23. </Div>
  24. <Tab id="switch1" position="absolute 0 35 427 559" style="" anchor="default">
  25. <Tabpages>
  26. <Tabpage id="case1" anchor="default">
  27. <Layouts>
  28. <Layout>
  29. <Static id="caption1" class="tit_2" position="absolute 5 5 123 18" style="" text="일자별 병실 현황" />
  30. <Shape id="line1" class="line_1" linetype="horizontal" position="absolute 0 21 425 24" style="" anchor="default" />
  31. <Grid id="datagrid1" binddataset="ds_main_data1" position="absolute 0 26 425 521" style="align:center ;" oncelldblclick="group3_switch1_case1_datagrid1_oncelldblclick">
  32. <Formats>
  33. <Format id="default">
  34. <Columns>
  35. <Column size="120" />
  36. <Column size="100" />
  37. <Column size="100" />
  38. <Column size="100" />
  39. </Columns>
  40. <Rows>
  41. <Row size="24" band="head" />
  42. <Row size="24" />
  43. </Rows>
  44. <Band id="head">
  45. <Cell text="일자" />
  46. <Cell col="1" text="병상수" />
  47. <Cell col="2" text="재원병상수" />
  48. <Cell col="3" text="빈병상수" />
  49. </Band>
  50. <Band id="body">
  51. <Cell text="bind:roomdd" />
  52. <Cell col="1" text="bind:bedcnt" />
  53. <Cell col="2" text="bind:inpatcnt" />
  54. <Cell col="3" text="bind:vacancnt" />
  55. </Band>
  56. </Format>
  57. </Formats>
  58. </Grid>
  59. <Button id="button2" class="btn2_letter4" position="absolute 350 1 392 20" style="" text="엑셀저장" />
  60. </Layout>
  61. </Layouts>
  62. </Tabpage>
  63. <Tabpage id="case2" selected="true" anchor="default">
  64. <Layouts>
  65. <Layout>
  66. <Static id="caption4" class="tit_2" position="absolute 5 5 123 18" style="" text="일자별 병실 현황" />
  67. <Shape id="line2" class="line_1" linetype="horizontal" position="absolute 0 21 425 24" style="" anchor="default" />
  68. <Grid id="datagrid2" binddataset="ds_main_data2" position="absolute 0 26 425 521" style="align:center ;">
  69. <Formats>
  70. <Format id="default">
  71. <Columns>
  72. <Column size="120" />
  73. <Column size="75" />
  74. <Column size="75" />
  75. <Column size="75" />
  76. <Column size="75" />
  77. </Columns>
  78. <Rows>
  79. <Row size="24" band="head" />
  80. <Row size="24" />
  81. </Rows>
  82. <Band id="head">
  83. <Cell text="진료과" />
  84. <Cell col="1" text="병상수" />
  85. <Cell col="2" text="재원병상수" />
  86. <Cell col="3" text="빈병상수" />
  87. <Cell col="4" text="가동율" />
  88. </Band>
  89. <Band id="body">
  90. <Cell text="bind:orddeptcd" />
  91. <Cell col="1" text="bind:bedcnt" />
  92. <Cell col="2" text="bind:inpatcnt" />
  93. <Cell col="3" text="bind:vacancnt" />
  94. <Cell col="4" text="bind:bedrate" />
  95. </Band>
  96. </Format>
  97. </Formats>
  98. </Grid>
  99. <Button id="button1" class="btn5_letter2" position="absolute 325 1 367 20" style="" text="이전" />
  100. <Button id="button3" class="btn2_letter2" position="absolute 370 1 412 20" style="" text="출력" />
  101. </Layout>
  102. </Layouts>
  103. </Tabpage>
  104. </Tabpages>
  105. </Tab>
  106. </Layout>
  107. </Layouts>
  108. </Div>
  109. <Div id="group1" scrollbars="autoboth" position="absolute 0 561 425 590" style="">
  110. <Layouts>
  111. <Layout>
  112. <Button id="btn_confirm" class="btn4_letter2" position="absolute 302 5 358 27" style="" text="확인" onclick="group1_btn_confirm_onclick" />
  113. <Button id="btn_cancel" class="btn4_letter2" position="absolute 361 5 417 27" style="" text="취소" onclick="group1_btn_cancel_onclick" />
  114. </Layout>
  115. </Layouts>
  116. </Div>
  117. </Layout>
  118. </Layouts>
  119. <Objects>
  120. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  121. <ColumnInfo>
  122. <Column id="fromdd" type="STRING" size="256" />
  123. <Column id="todd" type="STRING" size="256" />
  124. <Column id="roomdd" type="STRING" size="256" />
  125. </ColumnInfo>
  126. <Rows>
  127. <Row>
  128. <Col id="fromdd"></Col>
  129. <Col id="todd"></Col>
  130. <Col id="roomdd"></Col>
  131. </Row>
  132. </Rows>
  133. </Dataset>
  134. <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  135. <ColumnInfo />
  136. </Dataset>
  137. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  138. <ColumnInfo>
  139. <Column id="hidden" type="STRING" size="256" />
  140. </ColumnInfo>
  141. <Rows>
  142. <Row>
  143. <Col id="hidden"></Col>
  144. </Row>
  145. </Rows>
  146. </Dataset>
  147. <Dataset id="ds_main_data2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  148. <ColumnInfo>
  149. <Column id="orddeptcd" type="STRING" size="256" />
  150. <Column id="bedcnt" type="STRING" size="256" />
  151. <Column id="inpatcnt" type="STRING" size="256" />
  152. <Column id="vacancnt" type="STRING" size="256" />
  153. <Column id="bedrate" type="STRING" size="256" />
  154. </ColumnInfo>
  155. <Rows>
  156. <Row>
  157. <Col id="orddeptcd"></Col>
  158. <Col id="bedcnt"></Col>
  159. <Col id="inpatcnt"></Col>
  160. <Col id="vacancnt"></Col>
  161. <Col id="bedrate"></Col>
  162. </Row>
  163. </Rows>
  164. </Dataset>
  165. <Dataset id="ds_main_data1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  166. <ColumnInfo>
  167. <Column id="roomdd" type="STRING" size="256" />
  168. <Column id="bedcnt" type="STRING" size="256" />
  169. <Column id="inpatcnt" type="STRING" size="256" />
  170. <Column id="vacancnt" type="STRING" size="256" />
  171. </ColumnInfo>
  172. <Rows>
  173. <Row>
  174. <Col id="roomdd"></Col>
  175. <Col id="bedcnt"></Col>
  176. <Col id="inpatcnt"></Col>
  177. <Col id="vacancnt"></Col>
  178. </Row>
  179. </Rows>
  180. </Dataset>
  181. <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  182. <ColumnInfo>
  183. <Column id="init" type="STRING" size="256" />
  184. </ColumnInfo>
  185. </Dataset>
  186. </Objects>
  187. <Bind>
  188. <BindItem id="item0" compid="group3.group2.input1" propid="value" datasetid="ds_send" columnid="fromdd" />
  189. <BindItem id="item1" compid="group3.group2.input2" propid="value" datasetid="ds_send" columnid="todd" />
  190. </Bind>
  191. <Script type="xscript4.0"><![CDATA[include '../../.._com_commonweb_js_common.js'
  192. include '../../.._com_commonweb_js_utilHelper.js'
  193. include '../../.._com_commonweb_js_tfHelper.js'
  194. include '../../.._com_commonweb_js_dateHelper.js'
  195. include '../../.._com_basiccodeweb_js_ZBC001.js'
  196. function SPPMI06020_onload(obj:Form, e:LoadEventInfo) {
  197. frmf_initForm(obj);
  198. //grdf_initGrid(grd_XXX);
  199. //grdf_setGridSort(grd_XXX);
  200. //grdf_setRowTypeIcon(grd_XXX, 0_컬럼위치값);
  201. //var arrParam = [ {dsNm: "",
  202. cdGrpId: "" } ];
  203. appf_getCodeList(arrParam, );
  204. //submit("TRPMI00106");
  205. //model.refresh();
  206. }
  207. function group3_group2_btn_search_onclick(obj:Button, e:ClickEventInfo) {
  208. // submit("TRPMI06020");
  209. var oParam = {};
  210. oParam.id = "TRPMI06020";
  211. oParam.service = "ipatmngtapp.ErRgst";
  212. oParam.method = "reqGetErAdrv";
  213. oParam.inds = "req=ds_";
  214. oParam.outds = "ds_=adrvmessage";
  215. oParam.async = false;
  216. oParam.callback = "cf_TRPMI06020";
  217. tranf_submit(oParam);
  218. /*
  219. function cf_TRPMI06020(sSvcId, nErrorCode, sErrorMsg) {
  220. if(nErrorCode < 0) return;
  221. }
  222. function cf_TRPMI06020(sSvcId, nErrorCode, sErrorMsg) {
  223. arErrorCode.push(sSvcId, nErrorCode);
  224. }
  225. arErrorCode.pop("TRPMI06020") > -1
  226. arErrorCode.pop("TRPMI06020") < 0
  227. */
  228. }
  229. function group3_switch1_case1_datagrid1_oncelldblclick(obj:Grid, e:GridClickEventInfo) {
  230. var row = group3.switch1.case1.datagrid1.row;
  231. var sRoomdd = ds_main_data1.getColumn(row, "roomdd"));
  232. ds_send.setColumn( 0, "roomdd" , sRoomdd);
  233. submit();
  234. group3.group2.btn_chan.dispatch("onclick");
  235. }
  236. function group1_btn_confirm_onclick(obj:Button, e:ClickEventInfo) {
  237. window.close();
  238. }
  239. function group1_btn_cancel_onclick(obj:Button, e:ClickEventInfo) {
  240. window.close();
  241. }
  242. ]]></Script>
  243. </Form>
  244. </FDL>