SMICR01400_CRCC의뢰자관리$.xrw 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="C:/CMCProject/application/webapps/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>Untitle</xhtml:title>
  6. <script type="javascript" src="C:\CMCProject\application\webapps\crc\clinicresearchweb\js\crccnvsub1.js"/>
  7. <model id="model1">
  8. <instance id="instance1">
  9. <root xmlns="">
  10. <main>
  11. <grid>
  12. <item>
  13. <cmpynm/>
  14. <prsdnm/>
  15. <jobpos/>
  16. <bizmngrgstno/>
  17. <cmpytel/>
  18. <bizcondkindnm/>
  19. <zipcd1/>
  20. <zipcd2/>
  21. <addr/>
  22. <email/>
  23. </item>
  24. </grid>
  25. <gridbizdtl>
  26. <item>
  27. <cmpynm/>
  28. <bizmngrgstno/>
  29. <bizcondkindnm/>
  30. <prsdnm/>
  31. <jobpos/>
  32. <cmpytel/>
  33. <zipcd1/>
  34. <zipcd2/>
  35. <addr/>
  36. <email/>
  37. </item>
  38. </gridbizdtl>
  39. <gridperdtl>
  40. <item>
  41. <perchgrid/>
  42. <nm/>
  43. <pwd/>
  44. <pos/>
  45. <jobpos/>
  46. <cntctelno/>
  47. <email/>
  48. <faxno/>
  49. <mpphonno/>
  50. <bizmngrgstno/>
  51. </item>
  52. </gridperdtl>
  53. <gridperdtlpram>
  54. <item>
  55. <bizmngrgstno/>
  56. </item>
  57. </gridperdtlpram>
  58. </main>
  59. <send>
  60. <searchwh>
  61. <cmpynm/>
  62. </searchwh>
  63. <searchbizno>
  64. <bizmngrgstno/>
  65. </searchbizno>
  66. <savereqcmpy>
  67. <senddata/>
  68. </savereqcmpy>
  69. <saveperchgr>
  70. <bizmngrgstno/>
  71. <senddatadtl/>
  72. </saveperchgr>
  73. </send>
  74. </root>
  75. </instance>
  76. <submission id="TRICS01036" ref="/root/send/searchwh" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/main/grid"/>
  77. <script type="javascript" ev:event="xforms-ready">
  78. <![CDATA[
  79. model.toggle("case1");
  80. //button7.dispatch("DOMActivate");
  81. model.setValue("/root/send/searchwh/cmpynm", model.getValue("/root/send/searchwh/cmpynm"));
  82. submit("TRICS01036");
  83. ]]>
  84. </script>
  85. <submission id="TRICS01037" ref="/root/send/searchbizno" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/main/gridbizdtl"/>
  86. <submission id="TRICS01038" ref="/root/send/searchbizno" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/main/gridperdtl"/>
  87. <submission id="TXICS01006" ref="/root/send/savereqcmpy" method="post" mediatype="application/x-www-form-urlencoded" replace="instance"/>
  88. <submission id="TXICS01007" ref="/root/send/saveperchgr" method="post" mediatype="application/x-www-form-urlencoded" replace="instance"/>
  89. </model>
  90. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  91. </xhtml:head>
  92. <xhtml:body guideline="2,773;1,1190;">
  93. <group id="grp_tle" style="left:0px; top:0px; width:1190px; height:14px; ">
  94. <caption id="caption120" class="tit_1" style="left:0px; top:0px; width:158px; height:14px; ">의뢰자정보</caption>
  95. </group>
  96. <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:1194px; y2:70px; "/>
  97. <datagrid id="datagrid3" nodeset="/root/main/grid/item" caption="의뢰자^대표자^직위^사업자등록번호^전화번호^업종^우편번호^우편번호^주소^이메일" colwidth="186, 110, 77, 97, 92, 86, 47, 55, 221, 202" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" colsep="^" style="left:0px; top:75px; width:1190px; height:395px; ">
  98. <col ref="cmpynm" type="input"/>
  99. <col ref="prsdnm" type="input"/>
  100. <col ref="jobpos" type="input"/>
  101. <col ref="bizmngrgstno" type="input"/>
  102. <col ref="cmpytel" type="input"/>
  103. <col ref="bizcondkindnm" type="input"/>
  104. <col ref="zipcd1" type="input"/>
  105. <col ref="zipcd2" type="input"/>
  106. <col ref="addr" type="input"/>
  107. <col ref="email" type="input"/>
  108. <script type="javascript" ev:event="ondblclick">
  109. <![CDATA[
  110. //model.toggle("case2");
  111. //button8.selected = true;
  112. var bizmngrgstnoValue = model.getValue("/root/main/grid/item[" + datagrid3.row + "]/bizmngrgstno");
  113. model.makeValue("/root/send/searchbizno/bizmngrgstno", bizmngrgstnoValue);
  114. model.makeValue("/root/send/saveperchgr/bizmngrgstno", bizmngrgstnoValue);
  115. submit("TRICS01038");
  116. model.refresh();
  117. ]]>
  118. </script>
  119. </datagrid>
  120. <line id="line2" class="line_1" style="x1:0px; y1:510px; x2:1184px; y2:510px; "/>
  121. <switch id="switch1" style="left:1px; top:515px; width:1179px; height:230px; border-color:#c7a3cf; border-style:solid; ">
  122. <case id="case1" selected="true">
  123. <datagrid id="datagrid2" nodeset="/root/main/gridperdtl/item" caption="담당자ID^담당자명^비밀번호^부서^직위^전화번호^이메일^FAX^핸드폰^caption1" colwidth="123, 123, 78, 124, 109, 118, 211, 108, 112, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" colsep="^" style="left:0px; top:2px; width:1170px; height:218px; ">
  124. <col ref="perchgrid" type="input"/>
  125. <col ref="nm" type="input"/>
  126. <col ref="pwd" type="input"/>
  127. <col ref="pos" type="input"/>
  128. <col ref="jobpos" type="input"/>
  129. <col ref="cntctelno" type="input"/>
  130. <col ref="email" type="input"/>
  131. <col ref="faxno" type="input"/>
  132. <col ref="mpphonno" type="input"/>
  133. <col ref="bizmngrgstno" visibility="hidden"/>
  134. </datagrid>
  135. </case>
  136. </switch>
  137. <button id="button8" class="btn_sw" group="tab" style="left:4px; top:489px; width:89px; height:22px; ">
  138. <caption>담당자정보</caption>
  139. <toggle case="case2" ev:event="onclick"/>
  140. <script type="javascript" ev:event="DOMActivate">
  141. <![CDATA[
  142. model.toggle("case2");
  143. button8.selected = true;
  144. var bizmngrgstnoValue = model.getValue("/root/main/grid/item[" + datagrid3.row + "]/bizmngrgstno");
  145. model.makeValue("/root/send/searchbizno/bizmngrgstno", bizmngrgstnoValue);
  146. submit("TRICS01038");
  147. //model.makeValue("/root/main/exebdgdtl/item/subjno", subjnoValue);
  148. model.refresh();
  149. ]]>
  150. </script>
  151. </button>
  152. <button id="button4" class="btn_sw" group="tab" selected="true" style="left:8px; top:44px; width:91px; height:22px; ">
  153. <caption>의뢰자정보</caption>
  154. <toggle case="case1" ev:event="onclick"/>
  155. </button>
  156. <button id="button6" class="btn4_letter2" style="left:1089px; top:44px; width:56px; height:22px; ">
  157. <caption>저장</caption>
  158. <script type="javascript" ev:event="DOMActivate">
  159. <![CDATA[
  160. model.setValue("/root/send/savereqcmpy/senddata",datagrid3.getUpdateData());
  161. submit("TXICS01006");
  162. ]]>
  163. </script>
  164. </button>
  165. <button id="button7" class="btn2_letter3" style="left:970px; top:45px; width:53px; height:19px; ">
  166. <caption>행추가</caption>
  167. <script type="javascript" ev:event="onclick">
  168. <![CDATA[
  169. datagrid3.addItem(datagrid3.row);
  170. ]]>
  171. </script>
  172. </button>
  173. <button id="button1" class="btn2_letter3" style="left:1030px; top:45px; width:53px; height:19px; ">
  174. <caption>행삭제</caption>
  175. <script type="javascript" ev:event="onclick">
  176. <![CDATA[
  177. datagrid3.deleteItem(datagrid3.row);
  178. ]]>
  179. </script>
  180. </button>
  181. <button id="button2" class="btn2_letter3" style="left:1040px; top:485px; width:53px; height:19px; ">
  182. <caption>행삭제</caption>
  183. <script type="javascript" ev:event="onclick">
  184. <![CDATA[
  185. datagrid2.deleteItem(datagrid2.row);
  186. ]]>
  187. </script>
  188. </button>
  189. <button id="button3" class="btn4_letter2" style="left:1099px; top:484px; width:56px; height:22px; ">
  190. <caption>저장</caption>
  191. <script type="javascript" ev:event="DOMActivate">
  192. <![CDATA[
  193. //var bizmngrgstnoValue = model.getValue("/root/main/gridperdtlpram/item/bizmngrgstno");
  194. //model.makeValue("/root/main/gridperdtlpram/item/bizmngrgstno", bizmngrgstnoValue);
  195. //model.setValue("/root/main/gridperdtlpram/item/bizmngrgstno", model.getValue("/root/main/gridperdtlpram/item/bizmngrgstno"));
  196. // var bizmngrgstnoValue = model.getValue("/root/main/grid/item[" + datagrid3.row + "]/bizmngrgstno");
  197. // model.makeValue("/root/main/gridperdtlpram/item/bizmngrgstno", bizmngrgstnoValue);
  198. model.setValue("/root/send/saveperchgr/senddatadtl",datagrid2.getUpdateData());
  199. submit("TXICS01007");
  200. ]]>
  201. </script>
  202. </button>
  203. <button id="button5" class="btn2_letter3" style="left:980px; top:485px; width:53px; height:19px; ">
  204. <caption>행추가</caption>
  205. <script type="javascript" ev:event="onclick">
  206. <![CDATA[
  207. datagrid2.addItem(datagrid2.row);
  208. ]]>
  209. </script>
  210. </button>
  211. </xhtml:body>
  212. </xhtml:html>