SPMRI02000_미비전달사항팝업.xfdl 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPMRI02000" position="absolute 0 0 445 405" titletext="New Form" oninit="SPMRI02000_oninit" onload="SPMRI02000_onload">
  5. <Layouts>
  6. <Layout>
  7. <Button position="absolute 385 383 441 405" id="button1" class="btn4" text="확인" onclick="button1_onclick"/>
  8. <Grid position="absolute 0 0 445 150" id="datagrid1">
  9. <Formats>
  10. <Format id="default">
  11. <Columns>
  12. <Column size="100"/>
  13. </Columns>
  14. <Rows>
  15. <Row size="24" band="head"/>
  16. <Row size="24"/>
  17. </Rows>
  18. <Band id="head">
  19. <Cell text="전달사항"/>
  20. </Band>
  21. <Band id="body">
  22. <Cell/>
  23. </Band>
  24. </Format>
  25. </Formats>
  26. </Grid>
  27. <TextArea position="absolute 0 25 445 380" id="tar_comncnts" enable="true" wordwrap="char" autoskip="true" lengthunit="ascii" maxlength="200"/>
  28. </Layout>
  29. </Layouts>
  30. <Objects>
  31. <Dataset id="ds_main_unprepmngt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  32. <ColumnInfo>
  33. <Column id="cnts" type="STRING" size="256"/>
  34. </ColumnInfo>
  35. <Rows>
  36. <Row/>
  37. </Rows>
  38. </Dataset>
  39. </Objects>
  40. <Bind>
  41. <BindItem id="item0" compid="tar_comncnts" propid="value" datasetid="ds_main_unprepmngt" columnid="cnts"/>
  42. </Bind>
  43. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  44. * System Name :
  45. * Job Name :
  46. * Creator :
  47. * Make Date : 2014-10-20
  48. * Description :
  49. *---------------------------------------------------------------------------------------
  50. * Modify Date Modifier Modify Description
  51. *---------------------------------------------------------------------------------------
  52. * 2014-10-20 Live Converter TF->XP
  53. *
  54. *---------------------------------------------------------------------------------------
  55. ****************************************************************************************/
  56. //=======================================================================================
  57. // Lib Include
  58. //---------------------------------------------------------------------------------------
  59. include "com_commonxp::comm_main.xjs"
  60. //=======================================================================================
  61. // Global Form Variable
  62. //---------------------------------------------------------------------------------------
  63. var arErrorCode = new HashArray();
  64. //=======================================================================================
  65. // Function
  66. //---------------------------------------------------------------------------------------
  67. /****************************************************************************************
  68. * Argument : 01.sKey : 코드아이디
  69. * : 02.sValue : 코드명
  70. * Description : 공통코드를 가져온다.
  71. ****************************************************************************************/
  72. //=======================================================================================
  73. // Transaction Callback
  74. //---------------------------------------------------------------------------------------
  75. /****************************************************************************************
  76. * Argument : 01.sSvcId : 서비스 ID
  77. * : 02.nErrorCode : 에러코드
  78. * : 03.sErrorMsg : 에러메시지
  79. * Description : tr_getCodeList의 콜백함수
  80. ****************************************************************************************/
  81. function cf_(sSvcId, nErrorCode, sErrorMsg) {
  82. if(nErrorCode < 0) return;
  83. arErrorCode.push(sSvcId, nErrorCode);
  84. sysf_trace("***** cf_*****");
  85. }
  86. //=======================================================================================
  87. // Event
  88. //---------------------------------------------------------------------------------------
  89. /****************************************************************************************
  90. * Components :
  91. * Components ID : button5
  92. * Event : onlbuttonup
  93. * Argument : 01.obj : Object Event has occurred
  94. * : 02.e : Event Object
  95. * Description :
  96. ****************************************************************************************/
  97. function SPMRI02000_oninit(obj:Form, e:InitEventInfo)
  98. {
  99. frmf_initForm(obj);
  100. }
  101. function SPMRI02000_onload(obj:Form, e:LoadEventInfo)
  102. {
  103. if(frmf_checkOpener()){
  104. var scrnflag = opener.frmf_getParameter("SPMRI02000_scrnflag");
  105. var alertcnts = opener.frmf_getParameter("SPMRI02000_alertcnts");
  106. if(scrnflag == "m"){ //의사 from 의무기록(의무기록전달사항)
  107. this.titletext = "의무기록 전달사항";
  108. }else{ //의무기록 from 의사(의사전달사항)
  109. this.titletext = "의사 전달사항";
  110. }
  111. ds_main_unprepmngt.setColumn(0, "cnts", alertcnts);
  112. }
  113. }
  114. function button1_onclick(obj:Button, e:ClickEventInfo)
  115. {
  116. this.close();
  117. }
  118. ]]></Script>
  119. </Form>
  120. </FDL>