SMPMC02403_응급대불관리내용팝업.xfdl 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239
  1. <?xml version="1.0" encoding="utf-8" standalone="no"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMPMC02403" position="absolute 0 0 530 405" titletext="관리내용" onload="SMPMC02403_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption1" class="tit_2" position="absolute 0 0 170 17" style="" text="관리내용작성"/>
  8. <Shape id="line3" class="line_10" linetype="horizontal" position="absolute 0 18 510 22" style="" anchor="default"/>
  9. <Static id="caption3" class="cell_1" position="absolute 0 22 110 45" style="align: middle;" text="작성일자"/>
  10. <Static id="caption48" class="cell_1" position="absolute 0 48 110 71" style="align: middle;" text="관리내용분류"/>
  11. <Static id="caption49" class="cell_1" position="absolute 0 74 110 157" style="align: middle;" text="내용"/>
  12. <Calendar id="ipt_wrtedd" class="input_default" position="absolute 113 24 235 43" style="" anchor="default" onkillfocus="ipt_wrtedd_onkillfocus" autoselect="true" autoskip="true" dateformat="yyyy-MM-dd" value="null"/>
  13. <Combo datacolumn="datacolumn" codecolumn="codecolumn" columncount="-1" rowcount="-1" id="cmb_mngtcntscls" class="combo_default" position="absolute 113 50 235 69" style="" onitemchanged="cmb_mngtcntscls_onitemchanged">
  14. <Dataset id="innerdataset">
  15. <ColumnInfo>
  16. <Column id="codecolumn"/>
  17. <Column id="datacolumn"/>
  18. </ColumnInfo>
  19. <Rows>
  20. <Row>
  21. <Col id="codecolumn">0</Col>
  22. <Col id="datacolumn">전체</Col>
  23. </Row>
  24. <Row>
  25. <Col id="codecolumn">1</Col>
  26. <Col id="datacolumn">재원환자</Col>
  27. </Row>
  28. <Row>
  29. <Col id="codecolumn">2</Col>
  30. <Col id="datacolumn">재원미수</Col>
  31. </Row>
  32. <Row>
  33. <Col id="codecolumn">3</Col>
  34. <Col id="datacolumn">퇴원미수</Col>
  35. </Row>
  36. <Row>
  37. <Col id="codecolumn">4</Col>
  38. <Col id="datacolumn">응급대불</Col>
  39. </Row>
  40. </Rows>
  41. </Dataset>
  42. </Combo>
  43. <TextArea id="tar_cnts" position="absolute 113 77 509 154" style="" wordwrap="char" scrollbars="fixedvert"/>
  44. <Shape id="line4" class="line_3" linetype="horizontal" position="absolute 0 158 510 161" style="" anchor="default"/>
  45. <Static id="caption4" class="tit_2" position="absolute 0 163 170 180" style="" text="관리내용조회"/>
  46. <Shape id="line11" class="line_10" linetype="horizontal" position="absolute 0 181 510 185" style="" anchor="default"/>
  47. <Shape id="line9" class="line_2" linetype="horizontal" position="absolute 0 46 235 49" style="" anchor="default"/>
  48. <Shape id="line1" class="line_2" linetype="horizontal" position="absolute 0 72 235 75" style="" anchor="default"/>
  49. <Button id="btn_search" class="btn4" position="absolute 454 368 510 390" style="" text="조회" onclick="btn_search_onclick"/>
  50. <Button id="btn_save" class="btn4" position="absolute 397 368 453 390" style="" text="저장" onclick="btn_save_onclick"/>
  51. <Grid id="grd_ihdc" binddataset="ds_main_h_ihdc_ihdc" position="absolute 0 184 510 363" style="" oncellclick="grd_ihdc_oncellclick">
  52. <Formats>
  53. <Format id="default">
  54. <Columns>
  55. <Column size="0"/>
  56. <Column size="0"/>
  57. <Column size="0"/>
  58. <Column size="0"/>
  59. <Column size="0"/>
  60. <Column size="70"/>
  61. <Column size="60"/>
  62. <Column size="307"/>
  63. <Column size="70"/>
  64. </Columns>
  65. <Rows>
  66. <Row size="23" band="head"/>
  67. <Row size="23"/>
  68. </Rows>
  69. <Band id="head">
  70. <Cell text="등록번호"/>
  71. <Cell col="1" text="입원일자"/>
  72. <Cell col="2" text="생성번호"/>
  73. <Cell col="3" text="상담상세일련번호"/>
  74. <Cell col="4" text="기관코드"/>
  75. <Cell col="5" text="작성일자"/>
  76. <Cell col="6" text="분류"/>
  77. <Cell col="7" text="관리내용"/>
  78. <Cell col="8" text="작성자"/>
  79. </Band>
  80. <Band id="body">
  81. <Cell text="bind:pid"/>
  82. <Cell col="1" text="bind:indd"/>
  83. <Cell col="2" text="bind:cretno"/>
  84. <Cell col="3" text="bind:cnstdetlseqno"/>
  85. <Cell col="4" text="bind:instcd"/>
  86. <Cell col="5" displaytype="date" style="align:left middle;" text="bind:workdd" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
  87. <Cell col="6" displaytype="combo" style="align:left middle;" text="bind:cnstflag" combodataset="ds_init_cnstflag" combocodecol="value" combodatacol="label"/>
  88. <Cell col="7" style="align:left middle;" text="bind:cnstspec"/>
  89. <Cell col="8" style="align:left middle;" text="bind:lastupdtrnm"/>
  90. </Band>
  91. </Format>
  92. </Formats>
  93. </Grid>
  94. <Button id="btn_new" class="btn4" position="absolute 316 368 396 390" style="" text="신규저장" onclick="btn_new_onclick"/>
  95. </Layout>
  96. </Layouts>
  97. <Objects>
  98. <Dataset id="ds_main_h_ihdc_ihdc" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  99. <ColumnInfo/>
  100. </Dataset>
  101. <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  102. <ColumnInfo/>
  103. </Dataset>
  104. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  105. <ColumnInfo>
  106. <Column id="pid" type="STRING" size="256"/>
  107. <Column id="indd" type="STRING" size="256"/>
  108. <Column id="cretno" type="STRING" size="256"/>
  109. <Column id="cnstflag" type="STRING" size="256"/>
  110. <Column id="workdd" type="STRING" size="256"/>
  111. <Column id="cnstspec" type="STRING" size="256"/>
  112. <Column id="cnstdetlseqno" type="STRING" size="256"/>
  113. </ColumnInfo>
  114. </Dataset>
  115. <Dataset id="ds_init_cnstflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  116. <ColumnInfo>
  117. <Column id="label" type="STRING" size="256"/>
  118. <Column id="value" type="STRING" size="256"/>
  119. </ColumnInfo>
  120. <Rows>
  121. <Row>
  122. <Col id="label">-</Col>
  123. <Col id="value">0</Col>
  124. </Row>
  125. <Row>
  126. <Col id="label">재원환자</Col>
  127. <Col id="value">1</Col>
  128. </Row>
  129. <Row>
  130. <Col id="label">재원미수</Col>
  131. <Col id="value">2</Col>
  132. </Row>
  133. <Row>
  134. <Col id="label">퇴원미수</Col>
  135. <Col id="value">3</Col>
  136. </Row>
  137. <Row>
  138. <Col id="label">응급대불</Col>
  139. <Col id="value">4</Col>
  140. </Row>
  141. </Rows>
  142. </Dataset>
  143. </Objects>
  144. <Bind>
  145. <BindItem id="item0" compid="ipt_wrtedd" propid="value" datasetid="ds_send" columnid="workdd"/>
  146. <BindItem id="item1" compid="cmb_mngtcntscls" propid="value" datasetid="ds_send" columnid="cnstflag"/>
  147. <BindItem id="item2" compid="tar_cnts" propid="value" datasetid="ds_send" columnid="cnstspec"/>
  148. </Bind>
  149. <Script type="xscript4.0"><![CDATA[include "com_commonxp::comm_main.xjs"
  150. include "com_zipcodexp::ZBP001.xjs"
  151. var arErrorCode = new HashArray();
  152. //화면 초기화
  153. function fInitialize() {
  154. ds_send.clearData();
  155. ds_send.addRow();
  156. ds_send.setColumn(0, "pid", opener.ds_send_data3.getColumn(0, "pid"));
  157. ds_send.setColumn(0, "indd", opener.ds_send_data3.getColumn(0, "indd"));
  158. ds_send.setColumn(0, "cretno", opener.ds_send_data3.getColumn(0, "cretno"));
  159. ds_send.setColumn(0, "workdd", utlf_getCurrentDate());
  160. ds_send.setColumn(0, "cnstflag", 0);
  161. }
  162. function fSearch() {
  163. var oParam = {};
  164. oParam.id = "TRPMC02409";
  165. oParam.service = "patinfomngtapp.ERSubtApp";
  166. oParam.method = "reqGetErubud_ihdc";
  167. oParam.inds = "req=ds_send";
  168. oParam.outds = "ds_main_h_ihdc_ihdc=ihdc";
  169. oParam.async = false;
  170. tranf_submit(oParam);
  171. }
  172. function fSave() {
  173. var oParam = {};
  174. oParam.id = "TXPMC02406";
  175. oParam.service = "patinfomngtapp.ERSubtApp";
  176. oParam.method = "reqSetErubud_ihdc";
  177. oParam.inds = "req=ds_send";
  178. oParam.outds = "ds_temp=temp";
  179. oParam.async = false;
  180. oParam.callback = "cf_TXPMC02406";
  181. tranf_submit(oParam);
  182. if (arErrorCode.pop("TXPMC02406") > -1) {
  183. fSearch();
  184. }
  185. }
  186. function cf_TXPMC02406(sSvcId, nErrorCode, sErrorMsg) {
  187. arErrorCode.push(sSvcId, nErrorCode);
  188. }
  189. function SMPMC02403_onload(obj: Form, e: LoadEventInfo) {
  190. frmf_initForm(obj);
  191. fInitialize();
  192. fSearch();
  193. }
  194. function ipt_wrtedd_onkillfocus(obj: Calendar, e: KillFocusEventInfo) {
  195. }
  196. function cmb_mngtcntscls_onitemchanged(obj: Combo, e: ItemChangeEventInfo) {
  197. }
  198. function btn_search_onclick(obj: Button, e: ClickEventInfo) {
  199. fSearch();
  200. }
  201. function btn_save_onclick(obj: Button, e: ClickEventInfo) {
  202. fSave();
  203. }
  204. function grd_ihdc_oncellclick(obj: Grid, e: GridClickEventInfo) {
  205. var iRow = ds_main_h_ihdc_ihdc.rowposition;
  206. ds_send.setColumn(0, "pid", ds_main_h_ihdc_ihdc.getColumn(iRow, "pid"));
  207. ds_send.setColumn(0, "indd", ds_main_h_ihdc_ihdc.getColumn(iRow, "indd"));
  208. ds_send.setColumn(0, "cretno", ds_main_h_ihdc_ihdc.getColumn(iRow, "cretno"));
  209. ds_send.setColumn(0, "cnstflag", ds_main_h_ihdc_ihdc.getColumn(iRow, "cnstflag"));
  210. ds_send.setColumn(0, "workdd", ds_main_h_ihdc_ihdc.getColumn(iRow, "workdd"));
  211. ds_send.setColumn(0, "cnstspec", ds_main_h_ihdc_ihdc.getColumn(iRow, "cnstspec"));
  212. ds_send.setColumn(0, "cnstdetlseqno", ds_main_h_ihdc_ihdc.getColumn(iRow, "cnstdetlseqno"));
  213. }
  214. function btn_new_onclick(obj: Button, e: ClickEventInfo) {
  215. ds_send.setColumn(0, "cnstdetlseqno", "");
  216. fSave();
  217. }]]></Script>
  218. </Form>
  219. </FDL>