SMICR01400_CRCC의뢰자관리.xrw 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245
  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>Untitle</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <reqinstinfo>
  11. <item>
  12. <cmpynm/>
  13. <prsdnm/>
  14. <jobposnm/>
  15. <reqinstcd/>
  16. <reqinstflag/>
  17. <telno/>
  18. <bizcond/>
  19. <bizcondkind/>
  20. <zipcd/>
  21. <addr/>
  22. <email/>
  23. <cmt/>
  24. </item>
  25. </reqinstinfo>
  26. <reqchrginfo>
  27. <item>
  28. <perchgrid/>
  29. <nm/>
  30. <pwd/>
  31. <posnm/>
  32. <jobposnm/>
  33. <cntctelno/>
  34. <email/>
  35. <faxno/>
  36. <mpphonno/>
  37. <reqinstcd/>
  38. <authendyn/>
  39. </item>
  40. </reqchrginfo>
  41. </main>
  42. <send>
  43. <instdata/>
  44. <chrgdata/>
  45. <srchreqinstcd/>
  46. <srchcmpynm/>
  47. </send>
  48. <init/>
  49. <hidden>
  50. <hidreqinstcd/>
  51. </hidden>
  52. <temp>
  53. <ret/>
  54. </temp>
  55. </root>
  56. </instance>
  57. <submission id="TRICR01401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/reqinstinfo"/>
  58. <submission id="TRICR01402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/reqchrginfo"/>
  59. <submission id="TXICR01401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/instdata" replace="instance" resultref="/root/temp/ret"/>
  60. <submission id="TXICR01402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/chrgdata" replace="instance" resultref="/root/temp/ret"/>
  61. <script type="javascript" ev:event="xforms-ready">
  62. <![CDATA[
  63. model.removenode("/root/main/reqinstinfo/item");
  64. model.removenode("/root/main/reqchrginfo/item");
  65. model.refresh();
  66. submit("TRICR01401");
  67. btn_instins.disabled="false";
  68. btn_instdel.disabled="false";
  69. btn_instsav.disabled="false";
  70. btn_chrgins.disabled="true";
  71. btn_chrgdel.disabled="true";
  72. btn_chrgsav.disabled="true";
  73. ]]>
  74. </script>
  75. </model>
  76. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  77. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  78. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  79. <script type="javascript" src="../../../com/authinfoweb/js/ZSA001.js"/>
  80. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  81. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  82. </xhtml:head>
  83. <xhtml:body guideline="2,764;1,1211;">
  84. <group id="group3" style="left:0px; top:20px; width:1190px; height:45px; vertical-align:top; ">
  85. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:3px; width:1190px; height:40px; background-color:#fffbf2; border-color:#ffd799; "/>
  86. <button id="btn_srch" class="btn1_letter2" _auth="R" style="left:1110px; top:12px; width:56px; height:22px; ">
  87. <caption>조회</caption>
  88. <script type="javascript" ev:event="DOMActivate">
  89. <![CDATA[
  90. model.setValue("/root/send/srchcmpynm",model.getValue("/root/send/srchcmpynm").getTrim());
  91. submit("TRICR01401");
  92. btn_instins.disabled="false";
  93. btn_instdel.disabled="false";
  94. btn_instsav.disabled="false";
  95. btn_chrgins.disabled="true";
  96. btn_chrgdel.disabled="true";
  97. btn_chrgsav.disabled="true";
  98. ]]>
  99. </script>
  100. </button>
  101. <input id="input20" ref="/root/send/srchcmpynm" class="input_search" style="left:105px; top:15px; width:100px; height:19px; ">
  102. <script type="javascript" ev:event="onkeyup">
  103. <![CDATA[
  104. inputEnterKey("btn_srch","DOMActivate");
  105. ]]>
  106. </script>
  107. </input>
  108. <caption id="caption76" class="search_name" style="left:20px; top:15px; width:78px; height:17px; ">기관명 :</caption>
  109. </group>
  110. <group id="grp_tle" style="left:0px; top:0px; width:1190px; height:14px; ">
  111. <caption id="caption120" class="tit_1" style="left:0px; top:0px; width:158px; height:14px; ">의뢰자정보</caption>
  112. </group>
  113. <line id="line1" class="line_1" style="x1:0px; y1:95px; x2:1189px; y2:95px; "/>
  114. <datagrid id="grd_inst" nodeset="/root/main/reqinstinfo/item" caption="의뢰기관명^대표자^대표자직위^사업자등록번호^기관구분^전화번호^업태^종목^우편번호^주소^이메일^비고" colsep="^" colwidth="170, 69, 80, 100, 81, 90, 80, 80, 71, 221, 202, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:100px; width:1190px; height:395px; ">
  115. <col ref="cmpynm" type="input" maxlength="50"/>
  116. <col ref="prsdnm" type="input" maxlength="30"/>
  117. <col ref="jobposnm" type="input" maxlength="30"/>
  118. <col ref="reqinstcd" type="input" format="999-99-99999" mask="exclude" maxlength="10" validateformat="true" _key="true" style="text-align:center; "/>
  119. <col ref="reqinstflag" type="combo">
  120. <choices>
  121. <item>
  122. <label>제약회사</label>
  123. <value>1</value>
  124. </item>
  125. <item>
  126. <label>CRO</label>
  127. <value>2</value>
  128. </item>
  129. </choices>
  130. </col>
  131. <col ref="telno" type="input" maxlength="20"/>
  132. <col ref="bizcond" type="input" maxlength="20"/>
  133. <col ref="bizcondkind" type="input" maxlength="20"/>
  134. <col ref="zipcd" type="input" format="999-999" mask="exclude" maxlength="6" validateformat="true" style="text-align:center; "/>
  135. <col ref="addr" type="input" maxlength="200"/>
  136. <col ref="email" type="input" maxlength="50"/>
  137. <col ref="cmt" type="input"/>
  138. <script type="javascript" ev:event="ondblclick">
  139. <![CDATA[
  140. btn_chrgins.disabled="false";
  141. btn_chrgdel.disabled="false";
  142. btn_chrgsav.disabled="false";
  143. var srchreqinstcd = model.getValue("/root/main/reqinstinfo/item["+ grd_inst.row +"]/reqinstcd");
  144. if(srchreqinstcd==""){
  145. return;
  146. }
  147. model.setValue("/root/send/srchreqinstcd", srchreqinstcd);
  148. submit("TRICR01402");
  149. ]]>
  150. </script>
  151. </datagrid>
  152. <line id="line2" class="line_1" style="x1:0px; y1:535px; x2:1189px; y2:535px; "/>
  153. <button id="btn_instsav" class="btn5_letter2" disabled="true" _auth="X" style="left:1124px; top:74px; width:42px; height:19px; ">
  154. <caption>저장</caption>
  155. <script type="javascript" ev:event="DOMActivate">
  156. <![CDATA[
  157. model.setValue("/root/send/instdata",grd_inst.getUpdateData());
  158. submit("TXICR01401");
  159. model.setValue("/root/send/srchcmpynm","");
  160. model.refresh();
  161. submit("TRICR01401");
  162. ]]>
  163. </script>
  164. </button>
  165. <button id="btn_instins" class="btn2_letter3" disabled="true" _auth="X" style="left:1005px; top:74px; width:53px; height:19px; ">
  166. <caption>행추가</caption>
  167. <script type="javascript" ev:event="onclick">
  168. <![CDATA[
  169. grd_inst.addItem(grd_inst.row);
  170. ]]>
  171. </script>
  172. </button>
  173. <button id="btn_instdel" class="btn2_letter3" disabled="true" _auth="X" style="left:1065px; top:74px; width:53px; height:19px; ">
  174. <caption>행삭제</caption>
  175. <script type="javascript" ev:event="onclick">
  176. <![CDATA[
  177. messageBox("의뢰자를 삭제하시면 담당자 정보도 함께 삭제됩니다. ", "Q001");
  178. grd_inst.deleteItem(grd_inst.row);
  179. model.removenode("/root/main/reqchrginfo/item");
  180. ]]>
  181. </script>
  182. </button>
  183. <button id="btn_chrgdel" class="btn2_letter3" disabled="true" visibility="hidden" _auth="X" style="left:1065px; top:514px; width:53px; height:19px; ">
  184. <caption>행삭제</caption>
  185. <script type="javascript" ev:event="onclick">
  186. <![CDATA[
  187. grd_chrg.deleteItem(grd_chrg.row);
  188. ]]>
  189. </script>
  190. </button>
  191. <button id="btn_chrgsav" class="btn5_letter2" _auth="X" style="left:1124px; top:514px; width:42px; height:19px; ">
  192. <caption>저장</caption>
  193. <script type="javascript" ev:event="DOMActivate">
  194. <![CDATA[
  195. model.setValue("/root/send/chrgdata",grd_chrg.getUpdateData());
  196. submit("TXICR01402");
  197. submit("TRICR01402");
  198. ]]>
  199. </script>
  200. </button>
  201. <button id="btn_chrgins" class="btn2_letter3" disabled="true" visibility="hidden" _auth="X" style="left:1005px; top:514px; width:53px; height:19px; ">
  202. <caption>행추가</caption>
  203. <script type="javascript" ev:event="onclick">
  204. <![CDATA[
  205. grd_chrg.addItem(grd_chrg.row);
  206. model.setValue("/root/main/reqchrginfo/item["+ grd_chrg.row +"]/reqinstcd",model.getValue("/root/send/srchreqinstcd"));
  207. ]]>
  208. </script>
  209. </button>
  210. <datagrid id="grd_chrg" nodeset="/root/main/reqchrginfo/item" caption="담당자ID^담당자명^비밀번호^소속^직위^전화번호^이메일^FAX^핸드폰^권한종료여부^caption1" colsep="^" colwidth="110, 85, 100, 124, 109, 118, 211, 108, 106, 80, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:540px; width:1190px; height:218px; ">
  211. <col ref="perchgrid" maxlength="10" _key="true"/>
  212. <col ref="nm" maxlength="20" _key="true"/>
  213. <col ref="pwd" maxlength="32"/>
  214. <col ref="posnm" maxlength="20"/>
  215. <col ref="jobposnm" maxlength="20"/>
  216. <col ref="cntctelno" maxlength="20" validateformat="true"/>
  217. <col ref="email" maxlength="50"/>
  218. <col ref="faxno" maxlength="20" validateformat="true"/>
  219. <col ref="mpphonno" maxlength="11" validateformat="true"/>
  220. <col class="gridcombo" ref="authendyn" type="combo">
  221. <choices>
  222. <item>
  223. <label>사용</label>
  224. <value>Y</value>
  225. </item>
  226. <item>
  227. <label>종료</label>
  228. <value>N</value>
  229. </item>
  230. </choices>
  231. </col>
  232. <col ref="reqinstcd" visibility="hidden"/>
  233. </datagrid>
  234. <caption id="caption13" class="tit_2" style="left:5px; top:80px; width:737px; height:14px; ">의뢰자 정보 (사업자번호는 Key값이므로 수정(변경)이 되지않고, 삭제하시지 마시고 행추가 하여 새로 입력 해야 합니다.)</caption>
  235. <caption id="caption1" class="tit_2" style="left:5px; top:520px; width:535px; height:13px; ">담당자 정보 (목록을 더블클릭하면 담당자정보가 선택됩니다.)</caption>
  236. </xhtml:body>
  237. </xhtml:html>