SPCVO01000_VOC내용팝업.xfdl 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPCVO01000" position="absolute 0 0 611 310" titletext="VOC 내용 팝업" oninit="SPCVO01000_oninit" onload="SPCVO01000_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption1" text="VOC 내용 팝업" class="tit_1" position="absolute 0 0 132 25" anchor="left top"/>
  8. <Shape id="line2" linetype="horizontal" class="line_10" position="absolute 0 26 610 32" anchor="left top right"/>
  9. <Shape id="line7" linetype="horizontal" class="line_3" position="absolute 0 270 610 276" anchor="left right bottom"/>
  10. <Static id="caption10" class="cell_1" position="absolute 0 31 105 271" anchor="left top bottom" style="padding:0 0 0 0;align:center middle;"/>
  11. <TextArea id="tar_Cnts" taborder="1" position="absolute 108 32 608 268" anchor="all" wordwrap="word" imemode="hangul"/>
  12. <Static id="caption30" text="보고서 출력시 현재 화면에 보이는 대로 출력됩니다." class="hand" position="absolute 116 287 453 304" anchor="left bottom"/>
  13. <Button id="btn_input" taborder="2" text="입력" class="btn4" enable="false" position="absolute 492 285 548 307" onclick="btn_input_onclick" anchor="right bottom"/>
  14. <Button id="btn_close" taborder="3" text="닫기" class="btn4" position="absolute 550 285 606 307" onclick="btn_close_onclick" anchor="right bottom"/>
  15. </Layout>
  16. </Layouts>
  17. <Objects>
  18. <Dataset id="ds_main_vocpopup" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  19. <ColumnInfo>
  20. <Column id="title" type="STRING" size="256"/>
  21. <Column id="contents" type="STRING" size="256"/>
  22. <Column id="inputmode" type="STRING" size="256"/>
  23. <Column id="receive_path" type="STRING" size="256"/>
  24. </ColumnInfo>
  25. <Rows>
  26. <Row>
  27. <Col id="title"/>
  28. <Col id="contents"/>
  29. <Col id="inputmode"/>
  30. <Col id="receive_path"/>
  31. </Row>
  32. </Rows>
  33. </Dataset>
  34. </Objects>
  35. <Bind>
  36. <BindItem id="item0" compid="caption10" propid="text" datasetid="ds_main_vocpopup" columnid="title"/>
  37. <BindItem id="item1" compid="tar_Cnts" propid="value" datasetid="ds_main_vocpopup" columnid="contents"/>
  38. </Bind>
  39. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  40. * System Name :
  41. * Job Name :
  42. * Creator :
  43. * Make Date : 2016-05-24
  44. * Description :
  45. *---------------------------------------------------------------------------------------
  46. * Modify Date Modifier Modify Description
  47. *---------------------------------------------------------------------------------------
  48. * 2016-05-24 Live Converter TF->XP
  49. *
  50. *---------------------------------------------------------------------------------------
  51. ****************************************************************************************/
  52. include "com_commonxp::comm_main.xjs";
  53. function SPCVO01000_oninit(obj:Form, e:InitEventInfo)
  54. {
  55. frmf_initForm(obj);
  56. }
  57. function SPCVO01000_onload(obj:Form, e:LoadEventInfo)
  58. {
  59. try
  60. {
  61. ds_main_vocpopup.copyData(arg_ds_main_vocpopup);
  62. }
  63. catch(e){}
  64. var reTitle = ds_main_vocpopup.getColumn(0, "title");
  65. var reContents = ds_main_vocpopup.getColumn(0, "contents");
  66. var reInputmode = ds_main_vocpopup.getColumn(0, "inputmode");
  67. if (reInputmode == "i")
  68. {
  69. btn_input.enable = true;
  70. tar_Cnts.readonly = false;
  71. }
  72. else
  73. {
  74. btn_input.enable = false;
  75. tar_Cnts.readonly = true;
  76. if (utlf_isNull(reTitle)|| utlf_isNull( reContents))
  77. {
  78. tar_Cnts.readonly = false;
  79. var rtn = sysf_messageBox("표시할 내용이 없거나 필요한 정보가 전달되지", "E007");
  80. if(rtn == 1)
  81. {
  82. this.close();
  83. }
  84. }
  85. }
  86. }
  87. //입력
  88. function btn_input_onclick(obj:Button, e:ClickEventInfo)
  89. {
  90. var reContents = ds_main_vocpopup.getColumn(0, "contents");
  91. var receive_path = ds_main_vocpopup.getColumn(0, "receive_path");
  92. receive = receive_path.split("/");
  93. var receiveref = eval("opener."+receive[0]);
  94. opener.dsf_makeValue(receiveref, receive[1], "string", reContents);
  95. this.close();
  96. }
  97. //닫기
  98. function btn_close_onclick(obj:Button, e:ClickEventInfo)
  99. {
  100. this.close();
  101. }
  102. ]]></Script>
  103. </Form>
  104. </FDL>