SPMNH02320_사원조회.xrw 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <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">
  4. <xhtml:head>
  5. <xhtml:title>사원조회</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <emplist>
  11. <empid/>
  12. <empnm/>
  13. <empdeptnm/>
  14. <empdeptcd/>
  15. <rrgstno1/>
  16. <rrgstno2/>
  17. <mpphonno/>
  18. <email/>
  19. </emplist>
  20. <cond>
  21. <refflag>A</refflag>
  22. <refcond/>
  23. </cond>
  24. </main>
  25. <init>
  26. </init>
  27. <send>
  28. <reqdata>
  29. </reqdata>
  30. </send>
  31. </root>
  32. </instance>
  33. <script type="javascript" ev:event="xforms-ready">
  34. <![CDATA[
  35. model.removenode("/root/main/emplist");
  36. model.refresh();
  37. ]]>
  38. </script>
  39. <submission id="TRMNH02321" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/emplist"/>
  40. </model>
  41. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  42. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  43. </xhtml:head>
  44. <xhtml:body pagewidth="370" pageheight="440" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  45. <group id="group3" scroll="auto" style="left:0px; top:0px; width:350px; height:395px; ">
  46. <caption id="caption1" class="tit_2" style="left:5px; top:62px; width:145px; height:13px; ">사원 리스트</caption>
  47. <line id="line1" class="line_1" style="x1:0px; y1:77px; x2:345px; y2:77px; "/>
  48. <datagrid id="grd_emplist" nodeset="/root/main/emplist" class="grd_agtplcelist" autoresize="true" caption="사원번호^이름^부서명" colsep="^" colwidth="90, 80, 120" dataheight="23" extendlastcol="scroll" mergecellsfixedrows="never" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:82px; width:345px; height:313px; ">
  49. <col ref="empid" style="text-align:center; "/>
  50. <col ref="empnm" style="text-align:center; "/>
  51. <col ref="empdeptnm" style="text-align:center; "/>
  52. <script type="javascript" ev:event="ondblclick">
  53. <![CDATA[
  54. var iRow = -1;
  55. iRow = grd_emplist.row;
  56. var empid = model.getValue("/root/main/emplist"+"["+iRow+"]/empid");
  57. var empnm = model.getValue("/root/main/emplist"+"["+iRow+"]/empnm");
  58. var empdeptcd = model.getValue("/root/main/emplist"+"["+iRow+"]/empdeptcd");
  59. var rrgstno1 = model.getValue("/root/main/emplist"+"["+iRow+"]/rrgstno1");
  60. var rrgstno2 = model.getValue("/root/main/emplist"+"["+iRow+"]/rrgstno2");
  61. var email = model.getValue("/root/main/emplist"+"["+iRow+"]/email");
  62. var mpphonno = model.getValue("/root/main/emplist"+"["+iRow+"]/mpphonno");
  63. model.setValue(opener.root.main.aidmembinfo.aidmembdetlinfo.empid, empid);
  64. model.setValue(opener.root.main.aidmembinfo.aidmembdetlinfo.membnm, empnm);
  65. model.setValue(opener.root.main.aidmembinfo.aidmembdetlinfo.empdeptcd, empdeptcd);
  66. model.setValue(opener.root.main.aidmembinfo.aidmembdetlinfo.rrgstno1, rrgstno1);
  67. model.setValue(opener.root.main.aidmembinfo.aidmembdetlinfo.rrgstno2, rrgstno2);
  68. model.setValue(opener.root.main.aidmembinfo.aidmembdetlinfo.email, email);
  69. model.setValue(opener.root.main.aidmembinfo.aidmembdetlinfo.mpphontel, mpphonno);
  70. opener.model.refresh();
  71. window.close();
  72. ]]>
  73. </script>
  74. </datagrid>
  75. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:345px; height:60px; "/>
  76. <select1 id="radio1" ref="/root/main/cond/refflag" overflow="visible" appearance="full" cols="2" style="left:100px; top:9px; width:115px; height:20px; border-style:none; ">
  77. <choices>
  78. <item>
  79. <label>사번</label>
  80. <value>A</value>
  81. </item>
  82. <item>
  83. <label>사원명</label>
  84. <value>B</value>
  85. </item>
  86. </choices>
  87. </select1>
  88. <caption id="caption12" class="search_name" style="left:7px; top:9px; width:86px; height:17px; ">조회구분 :</caption>
  89. <caption id="caption2" class="search_name" style="left:7px; top:35px; width:86px; height:17px; ">조회조건 :</caption>
  90. <input id="input1" ref="/root/main/cond/refcond" style="left:100px; top:33px; width:115px; height:19px; "/>
  91. <button id="button1" class="btn1_letter2" style="left:285px; top:20px; width:56px; height:22px; ">
  92. <caption>조회</caption>
  93. <script type="javascript" ev:event="DOMActivate">
  94. <![CDATA[
  95. model.copyNode("/root/send/reqdata", "/root/main/cond");
  96. submit("TRMNH02321");
  97. ]]>
  98. </script>
  99. </button>
  100. <line id="line13" class="line_4" style="x1:275px; y1:19px; x2:275px; y2:43px; "/>
  101. </group>
  102. </xhtml:body>
  103. </xhtml:html>