UIB030270.xrw 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../css/body.css" type="text/css" ?>
  3. <?xml-stylesheet href="../css/bCommon.css" type="text/css" ?>
  4. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  5. <xhtml:head>
  6. <xhtml:title>Untitle</xhtml:title>
  7. <model id="model1">
  8. <instance id="instance1">
  9. <root xmlns="">
  10. <datagrid1/>
  11. <formData>
  12. <SDTIME/>
  13. <EDTIME/>
  14. <ctxt/>
  15. </formData>
  16. </root>
  17. </instance>
  18. <script type="javascript" ev:event="xforms-ready">
  19. <![CDATA[
  20. if(window.parent==null) Init();
  21. ]]>
  22. </script>
  23. </model>
  24. <script type="javascript" src="../../js/boaCommon.js"/>
  25. <script type="javascript" src="../../js/b01.js"/>
  26. <script type="javascript">
  27. <![CDATA[
  28. var dtime;
  29. function Init(node)
  30. {
  31. input1.value = commCurDate();
  32. input2.value = commCurDate();
  33. }
  34. function find()
  35. {
  36. model.removenode("/root/reqData");
  37. model.makeValue("/root/reqData/SDTIME" , input1.value+"000000");
  38. model.makeValue("/root/reqData/EDTIME" , input2.value+"999999");
  39. commSubmit("UIB030207-service", "find", "glueAction.do");
  40. model.copyNode("/root/datagrid1" , "/root/resData/BANResult_VO");
  41. model.refresh();
  42. }
  43. function setHeight()
  44. {
  45. var height = 50;
  46. if(height == 0) height = 22;
  47. for(var i = datagrid1.fixedRows; i < datagrid1.rows;i++)
  48. {
  49. if(i == datagrid1.row)
  50. {
  51. datagrid1.rowheight(i) = height;
  52. }
  53. else
  54. {
  55. datagrid1.rowheight(i) = 20;
  56. }
  57. }
  58. }
  59. ]]>
  60. </script>
  61. </xhtml:head>
  62. <xhtml:body pagewidth="980" pageheight="620">
  63. <caption id="caption1" class="cell" style="left:0px; top:5px; width:100px; height:20px; ">ÎßïÈìíÑ¢</caption>
  64. <line id="line1" style="x1:0px; y1:30px; x2:965px; y2:30px; "/>
  65. <input id="input1" ref="/root/formData/SDTIME" inputtype="date" style="left:100px; top:5px; width:100px; height:20px; "/>
  66. <input id="input2" ref="/root/formData/EDTIME" inputtype="date" style="left:210px; top:5px; width:100px; height:20px; "/>
  67. <datagrid id="datagrid1" nodeset="/root/datagrid1/BANResult_Row" caption="&#21457;øÖìÑ^&#21457;øÖ&#20869;é»^&#21457;øÖìíÑ¢^áóËÇìÑ^áóËÇ&#26102;&#38388;|&#21457;øÖìÑ^&#21457;øÖ&#20869;é»^&#21457;øÖìíÑ¢^áóËÇìÑ^áóËÇ&#26102;&#38388;" colsep="^" colwidth="100, 684, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:35px; width:970px; height:445px; ">
  68. <col ref="REG_ID"/>
  69. <col ref="WK_CTX"/>
  70. <col ref="REG_DTIME"/>
  71. <col ref="MOD_ID"/>
  72. <col ref="MOD_DTIME"/>
  73. <script type="javascript" ev:event="onclick">
  74. <![CDATA[
  75. setHeight();
  76. textarea1.value = datagrid1.valueMatrix(datagrid1.row , 2);
  77. dtime = datagrid1.valueMatrix(datagrid1.row , 3);
  78. model.refresh();
  79. ]]>
  80. </script>
  81. </datagrid>
  82. <line id="line2" style="x1:0px; y1:495px; x2:970px; y2:495px; "/>
  83. <textarea id="textarea1" ref="/root/formData/ctxt" scroll="auto" style="left:0px; top:525px; width:970px; height:90px; "/>
  84. <button id="button1" visibility="hidden" style="left:385px; top:5px; width:100px; height:20px; ">
  85. <caption>FIND</caption>
  86. <script type="javascript" ev:event="DOMActivate">
  87. <![CDATA[
  88. find();
  89. ]]>
  90. </script>
  91. </button>
  92. <button id="button2" style="left:0px; top:500px; width:100px; height:20px; background-color:#33cccc; ">
  93. <caption>ãæñò</caption>
  94. <script type="javascript" ev:event="DOMActivate">
  95. <![CDATA[
  96. model.removenode("/root/reqData");
  97. model.makeValue("/root/reqData/rowStatus" , "A");
  98. model.makeValue("/root/reqData/REG_NM" , model.getValue("/root/initData/rcvInfo/REG_NM"));
  99. model.makeValue("/root/reqData/WK_CTX" , textarea1.value);
  100. commSubmit("UIB030207-service", "save", "glueAction.do");
  101. find();
  102. ]]>
  103. </script>
  104. </button>
  105. <button id="button3" style="left:105px; top:500px; width:100px; height:20px; background-color:#33cccc; ">
  106. <caption>áóËÇ</caption>
  107. <script type="javascript" ev:event="DOMActivate">
  108. <![CDATA[
  109. model.removenode("/root/reqData");
  110. model.makeValue("/root/reqData/rowStatus" , "B");
  111. model.makeValue("/root/reqData/REG_NM" , model.getValue("/root/initData/rcvInfo/REG_NM"));
  112. model.makeValue("/root/reqData/WK_CTX" , textarea1.value);
  113. model.makeValue("/root/reqData/REG_DTIME" , dtime);
  114. commSubmit("UIB030207-service", "save", "glueAction.do");
  115. find();
  116. ]]>
  117. </script>
  118. </button>
  119. </xhtml:body>
  120. </xhtml:html>