SPPMO01358_메르스팝업.xfdl 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPPMO01358" position="absolute 0 0 967 372" titletext="자격조회내역" oninit="SPPMO01358_oninit" onload="SPPMO01358_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 0 663 316" id="group3" scrollbars="autoboth">
  8. <Layouts>
  9. <Layout>
  10. <Div position="absolute 0 0 662 35" align="align:center top;" id="group2" visible="false">
  11. <Layouts>
  12. <Layout>
  13. <Shape position="absolute 0 0 662 35" id="roundrect1" class="roundrect_search" type="roundrectangle"/>
  14. <Static text="등록번호 :" position="absolute 15 8 101 25" id="caption2" class="search_name"/>
  15. <Button position="absolute 590 7 646 29" id="btn_search" class="btn1" text="조회" onclick="group3_group2_btn_search_onclick"/>
  16. <Shape position="absolute 571 7 577 29" linetype="vertical" id="line13" class="line_4"/>
  17. <Edit position="absolute 106 8 191 27" id="input3" class="input_search"/>
  18. </Layout>
  19. </Layouts>
  20. </Div>
  21. <Static text="자격조회내역" position="absolute 5 45 100 60" id="caption1" class="tit_2" visible="false"/>
  22. <Shape position="absolute 0 57 662 63" linetype="vertical" id="line1" class="line_1" visible="false"/>
  23. <Grid position="absolute 0 65 662 314" align="align:center middle;" id="grd_emrcnstinfo" visible="false" binddataset="ds_grd_emrcnstinfo">
  24. <Formats>
  25. <Format id="default">
  26. <Columns>
  27. <Column size="68"/>
  28. <Column size="100"/>
  29. <Column size="120"/>
  30. <Column size="336"/>
  31. </Columns>
  32. <Rows>
  33. <Row size="24" band="head"/>
  34. <Row size="24"/>
  35. </Rows>
  36. <Band id="head">
  37. <Cell text="등록번호"/>
  38. <Cell col="1" text="환자명"/>
  39. <Cell col="2" text="자격조회일자"/>
  40. <Cell col="3" text="자격조회메시지"/>
  41. </Band>
  42. <Band id="body">
  43. <Cell text="bind:pid"/>
  44. <Cell col="1" text="bind:hngnm"/>
  45. <Cell col="2" text="bind:workdd" mask="yyyy-mm-dd"/>
  46. <Cell col="3" text="bind:msg"/>
  47. </Band>
  48. </Format>
  49. </Formats>
  50. </Grid>
  51. </Layout>
  52. </Layouts>
  53. </Div>
  54. <Button position="absolute 907 345 963 367" id="button1" class="btn4" text="확인" onclick="button1_onclick"/>
  55. <TextArea position="absolute 4 4 963 341" align="align:center middle;" id="textarea1"/>
  56. </Layout>
  57. </Layouts>
  58. <Objects>
  59. <Dataset id="ds_grd_emrcnstinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  60. <ColumnInfo>
  61. <Column id="pid" type="STRING"/>
  62. <Column id="hngnm" type="STRING"/>
  63. <Column id="workdd" type="STRING"/>
  64. <Column id="msg" type="STRING"/>
  65. </ColumnInfo>
  66. </Dataset>
  67. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  68. </Objects>
  69. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  70. * System Name :
  71. * Job Name :
  72. * Creator :
  73. * Make Date : 2014-11-07
  74. * Description :
  75. *---------------------------------------------------------------------------------------
  76. * Modify Date Modifier Modify Description
  77. *---------------------------------------------------------------------------------------
  78. * 2014-11-07 Live Converter TF->XP
  79. *
  80. *---------------------------------------------------------------------------------------
  81. ****************************************************************************************/
  82. include "com_commonxp::comm_main.xjs";
  83. function fmerschk(worktype, pid){
  84. dsf_createDsRow("ds_send",
  85. [{col:"pid", val:pid}
  86. ,{col:"worktype", val:worktype}
  87. ]);
  88. var ev = new ClickEventInfo;
  89. frmf_inputEnterKey("group3.group2.btn_search", "onclick", ev );
  90. return ds_grd_emrcnstinfo.rowcount;
  91. }
  92. function SPPMO01358_oninit(obj:Form, e:InitEventInfo)
  93. {
  94. frmf_initForm(obj); // 화면공통
  95. }
  96. function SPPMO01358_onload(obj:Form, e:LoadEventInfo)
  97. {
  98. dsf_createDsRow("ds_send",
  99. [{col:"pid", val:opener.frmf_getParameter("SPPMO01358_pid")}
  100. ,{col:"worktype", val:opener.frmf_getParameter("SPPMO01358_worktype")}
  101. ]);
  102. var ev = new ClickEventInfo;
  103. frmf_inputEnterKey("group3.group2.btn_search", "onclick", ev );
  104. if(ds_grd_emrcnstinfo.rowcount>0){
  105. this.position.height = 430;
  106. this.position.width = 1010;
  107. textarea1.visible=true;
  108. opener.frmf_setParameter("sRtn", "Y");
  109. }else{
  110. opener.frmf_setParameter("sRtn", "N");
  111. this.close();
  112. }
  113. }
  114. function group3_group2_btn_search_onclick(obj:Button, e:ClickEventInfo)
  115. {
  116. var oParam = {};
  117. oParam.id = "TRPAO02408";
  118. oParam.service = "pamcomnapp.PamComn";
  119. oParam.method = "reqGetMersPatInfo";
  120. oParam.inds = "req=ds_send";
  121. oParam.outds = "ds_grd_emrcnstinfo=item";
  122. oParam.async = false;
  123. oParam.callback = "cf_TRPAO02408";
  124. tranf_submit(oParam);
  125. }
  126. function cf_TRPAO02408(sSvcId, nErrorCode, sErrorMsg) {
  127. if(nErrorCode < 0) {
  128. this.close();
  129. return;
  130. }
  131. }
  132. function button1_onclick(obj:Button, e:ClickEventInfo)
  133. {
  134. this.close();
  135. }
  136. ]]></Script>
  137. </Form>
  138. </FDL>