SPPMC04400_상병수술조회.xfdl 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. <?xml version="1.0" encoding="utf-8" standalone="no"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPPMC04400" position="absolute 0 0 864 331" titletext="상병수술조회" onload="SPPMC04400_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div id="group3" scrollbars="autoboth" position="absolute 5 0 855 290" style="">
  8. <Layouts>
  9. <Layout>
  10. <Static id="caption1" class="tit_2" position="absolute 5 9 131 26" style="" text="상벙_수술 리스트"/>
  11. <Shape id="line1" class="line_10" linetype="horizontal" position="absolute 5 27 845 31" style="" anchor="default"/>
  12. <Grid id="grd_snwop" binddataset="ds_main_snwoplist" taborder="7" position="absolute 5 30 845 290" style="" oncelldblclick="group3_grd_snwop_oncelldblclick" autofittype="col">
  13. <Formats>
  14. <Format id="default">
  15. <Columns>
  16. <Column size="50"/>
  17. <Column size="92"/>
  18. <Column size="281"/>
  19. <Column size="406"/>
  20. </Columns>
  21. <Rows>
  22. <Row size="23" band="head"/>
  23. <Row size="23"/>
  24. </Rows>
  25. <Band id="head">
  26. <Cell text="코드명"/>
  27. <Cell col="1" text="상병_수술명"/>
  28. <Cell col="2" text="한글명"/>
  29. <Cell col="3" text="영문명"/>
  30. </Band>
  31. <Band id="body">
  32. <Cell style="align:left middle;" text="bind:icdcd"/>
  33. <Cell col="1" style="align:left middle;" text="bind:cd"/>
  34. <Cell col="2" style="align:left middle;" text="bind:hngnm"/>
  35. <Cell col="3" style="align:left middle;" text="bind:engnm"/>
  36. </Band>
  37. </Format>
  38. </Formats>
  39. </Grid>
  40. </Layout>
  41. </Layouts>
  42. </Div>
  43. <Div id="group1" scrollbars="autoboth" position="absolute 0 295 845 322" style="">
  44. <Layouts>
  45. <Layout>
  46. <Button id="btn_cancel" class="btn4" taborder="9" position="absolute 785 5 841 27" style="" text="취소" onclick="group1_btn_cancel_onclick"/>
  47. </Layout>
  48. </Layouts>
  49. </Div>
  50. </Layout>
  51. </Layouts>
  52. <Objects>
  53. <Dataset id="ds_send_search" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  54. <ColumnInfo>
  55. <Column id="refcond" type="STRING" size="256"/>
  56. <Column id="refstatement" type="STRING" size="256"/>
  57. </ColumnInfo>
  58. <Rows>
  59. <Row>
  60. <Col id="refcond"/>
  61. <Col id="refstatement"/>
  62. </Row>
  63. </Rows>
  64. </Dataset>
  65. <Dataset id="ds_hidden_sppmc04400_rslt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  66. <ColumnInfo>
  67. <Column id="icdcd" type="STRING" size="256"/>
  68. <Column id="cd" type="STRING" size="256"/>
  69. <Column id="hngnm" type="STRING" size="256"/>
  70. <Column id="engnm" type="STRING" size="256"/>
  71. </ColumnInfo>
  72. </Dataset>
  73. <Dataset id="ds_main_snwoplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  74. <ColumnInfo>
  75. <Column id="icdcd" type="STRING" size="256"/>
  76. <Column id="cd" type="STRING" size="256"/>
  77. <Column id="hngnm" type="STRING" size="256"/>
  78. <Column id="engnm" type="STRING" size="256"/>
  79. </ColumnInfo>
  80. <Rows>
  81. <Row>
  82. <Col id="icdcd"/>
  83. <Col id="cd"/>
  84. <Col id="hngnm"/>
  85. <Col id="engnm"/>
  86. </Row>
  87. </Rows>
  88. </Dataset>
  89. <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  90. <ColumnInfo/>
  91. </Dataset>
  92. <Dataset id="ds_hidden_sppmc04400" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  93. <ColumnInfo/>
  94. </Dataset>
  95. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  96. <ColumnInfo/>
  97. </Dataset>
  98. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  99. <ColumnInfo/>
  100. </Dataset>
  101. </Objects>
  102. <Bind/>
  103. <Script type="xscript4.0"><![CDATA[include "com_commonxp::comm_main.xjs"
  104. function SPPMC04400_onload(obj: Form, e: LoadEventInfo) {
  105. frmf_initForm(obj);
  106. grdf_initGrid(group3.grd_snwop);
  107. ds_main_snwoplist.clearData();
  108. ds_hidden_sppmc04400_rslt.clearData();
  109. var refcond = ds_send_search.getColumn(0, "refcond");
  110. if (refcond == "1" || refcond == "2" || refcond == "3" || refcond == "4") {
  111. var oParam = {};
  112. oParam.id = "TRPMC04401";
  113. oParam.service = "pamcomnapp.SnwOp";
  114. oParam.method = "reqGetSnwOp";
  115. oParam.inds = "req=ds_send_search";
  116. oParam.outds = "ds_main_snwoplist=snwoplist";
  117. oParam.async = false;
  118. tranf_submit(oParam);
  119. } //if end
  120. }
  121. function group3_grd_snwop_oncelldblclick(obj: Grid, e: GridClickEventInfo) {
  122. row = ds_main_snwoplist.rowposition;
  123. if (frmf_checkOpener()) {
  124. if (row > 0) {
  125. if (ds_main_snwoplist.rowcount > 0) {
  126. opener.ds_hidden_sppmc04400_rslt.copyRow(0, ds_main_snwoplist, row)
  127. this.close();
  128. }
  129. }
  130. } else {
  131. sysf_messageBox("상위화면이 변경되어 데이터를 가져올 수", "I004");
  132. }
  133. if (row > 0) {
  134. if (ds_main_snwoplist.rowcount > 0) {}
  135. ds_hidden_sppmc04400_rslt.copyRow(0, ds_main_snwoplist, row);
  136. } else {}
  137. }
  138. function group1_btn_cancel_onclick(obj: Button, e: ClickEventInfo) {
  139. opener.frmf_setParameter("SMPAI00400_param", "_");
  140. this.close();
  141. }]]></Script>
  142. </Form>
  143. </FDL>