Test00500_참여연구원ID부여.xrw 38 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837
  1. <?xml version="1.0" encoding="UTF-8"?>
  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. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  7. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  8. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  9. <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
  10. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  11. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  12. <model id="model1">
  13. <instance id="instance1">
  14. <root xmlns="">
  15. <main>
  16. <list>
  17. <usermngtlist>
  18. <userkindcd/>
  19. <userkind/>
  20. <userid/>
  21. <usernm/>
  22. <pwd/>
  23. <posinstcd/>
  24. <posinstnm/>
  25. <posdeptcd/>
  26. <posdeptnm/>
  27. <userfromdd/>
  28. <usertodd/>
  29. <dutplceinstcd/>
  30. <dutplceinstnm/>
  31. <dutplcecd/>
  32. <dutplcenm/>
  33. <fromdd/>
  34. <todd/>
  35. <majorfild/>
  36. <majorfildnm/>
  37. <jobkindcd/>
  38. <jobkindnm/>
  39. <jobposcd/>
  40. <jobposnm/>
  41. </usermngtlist>
  42. </list>
  43. <view>
  44. <info1>
  45. <userid/>
  46. <usernm/>
  47. <pwd/>
  48. <userfromdd/>
  49. <usertodd/>
  50. <posinstcd/>
  51. <posinstnm/>
  52. <posdeptcd/>
  53. <posdeptnm/>
  54. <fromdd/>
  55. <todd/>
  56. <dutplceinstcd/>
  57. <dutplceinstnm/>
  58. <dutplcecd/>
  59. <dutplcenm/>
  60. <majorfild/>
  61. <majorfildnm/>
  62. <jobkindcd/>
  63. <jobkindnm/>
  64. <jobposcd/>
  65. <jobposnm/>
  66. <userkindcd/>
  67. <info1del/>
  68. <userkind/>
  69. </info1>
  70. <reqinfo>
  71. <reqinstcd/>
  72. <reqinstflag/>
  73. <cmpynm/>
  74. <prsdnm/>
  75. <bizcondkind/>
  76. <bizcond/>
  77. <telno/>
  78. <jobposnm/>
  79. <email/>
  80. <zipcd1/>
  81. <zipcd2/>
  82. <zipcdseq/>
  83. <addr1/>
  84. <jobposnm1/>
  85. <posnm1/>
  86. <email1/>
  87. <cntctelno1/>
  88. <mpphonno1/>
  89. <cmt/>
  90. <userid/>
  91. <faxno/>
  92. <usernm/>
  93. </reqinfo>
  94. <info3>
  95. <userkind/>
  96. <engnm/>
  97. <postrecvtret/>
  98. <gndr/>
  99. <acdmydgcd/>
  100. <acdmydgnm/>
  101. <frmrmertcd/>
  102. <frmrmertnm/>
  103. <hometel/>
  104. <zipcd1/>
  105. <zipcd2/>
  106. <zipcdseq/>
  107. <homeaddr/>
  108. <jobposcd/>
  109. <jobposnm/>
  110. <bankcd/>
  111. <acntno/>
  112. <depor/>
  113. <cmpytelno/>
  114. <faxno/>
  115. <workplceaddr/>
  116. <cmt/>
  117. <userid/>
  118. <dutplceinstcd/>
  119. <usernm/>
  120. <jobkindcd/>
  121. <jobkindnm/>
  122. </info3>
  123. </view>
  124. <pwd>
  125. <item>
  126. <userid/>
  127. <pwd/>
  128. </item>
  129. </pwd>
  130. </main>
  131. <send>
  132. <userid/>
  133. <usernm/>
  134. <userkindcd/>
  135. <userkind/>
  136. <info1/>
  137. <info2/>
  138. <info3/>
  139. <srchuserkind/>
  140. <srchsubuserkind/>
  141. <passinfo>
  142. <orgpwd/>
  143. <pwda/>
  144. <pwdb/>
  145. <userid/>
  146. </passinfo>
  147. <srchsubjid/>
  148. <userfromdd/>
  149. <chkhist/>
  150. </send>
  151. <init>
  152. <baseinfo>
  153. <bankcode>
  154. <R0001>
  155. <cdid/>
  156. <cdnm/>
  157. </R0001>
  158. </bankcode>
  159. </baseinfo>
  160. <hosp>
  161. <item>
  162. <instcd/>
  163. <cdnm/>
  164. </item>
  165. </hosp>
  166. </init>
  167. <hidden>
  168. <info1/>
  169. <info3/>
  170. <reqinfo/>
  171. </hidden>
  172. </root>
  173. </instance>
  174. <script type="javascript" ev:event="xforms-ready">
  175. <![CDATA[
  176. zbcfGetCodeList( new Array("R0001"), new Array("/root/init/baseinfo/bankcode"));
  177. submit("TRICE00104");
  178. model.setValue("/root/main/view/info1/userfromdd",getCurrentDate());
  179. model.setValue("/root/main/view/info1/usertodd","99991231");
  180. model.setValue("/root/main/view/info1/fromdd",getCurrentDate());
  181. model.setValue("/root/main/view/info1/todd","99991231");
  182. model.refresh();
  183. ]]>
  184. </script>
  185. <submission id="TRZBC00101"/>
  186. <submission id="TRICE00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/list"/>
  187. <submission id="TXICE00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/info1" replace="instance" resultref="/root/hidden"/>
  188. <submission id="TXICE00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/info2" replace="instance" resultref="/root/hidden"/>
  189. <submission id="TXICE00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/info3" resultref="/root/hidden"/>
  190. <submission id="TXICE00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/passinfo" replace="instance" resultref="/root/hidden"/>
  191. <submission id="TRICE00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/view/info1" replace="instance" resultref="/root/main/view"/>
  192. <submission id="TRICE00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/view/reqinfo" replace="instance" resultref="/root/hidden"/>
  193. <submission id="TRICE00104" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/init/hosp"/>
  194. <submission id="TRICE00105" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/main/pwd"/>
  195. <submission id="TXICE00105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/info1" replace="instance" resultref="/root/hidden"/>
  196. </model>
  197. <script type="javascript">
  198. <![CDATA[
  199. function fView(){
  200. model.setValue( "/root/send/userid", model.getValue("/root/send/userid").toUpperCase() );
  201. submit("TRICE00101");
  202. model.setValue("/root/main/view/info1/userfromdd",getCurrentDate());
  203. model.setValue("/root/main/view/info1/usertodd","99991231");
  204. model.setValue("/root/main/view/info1/fromdd",getCurrentDate());
  205. model.setValue("/root/main/view/info1/todd","99991231");
  206. model.refresh();
  207. }
  208. function fDelete(){
  209. model.setValue("/root/main/view/info1/info1del", "D");
  210. model.setValue("/root/main/view/info1/userkindcd", model.getValue("/root/send/userkindcd"));
  211. model.setValue("/root/main/view/reqinfo/userid", model.getValue("/root/main/view/info1/userid"));
  212. model.copyNode("/root/send/info1", "/root/main/view/info1");
  213. model.copyNode("/root/send/info2", "/root/main/view/reqinfo");
  214. model.setValue("/root/main/view/info3/userid", model.getValue("/root/main/view/info1/userid"));
  215. model.setValue("/root/main/view/info3/usernm", model.getValue("/root/main/view/info1/usernm"));
  216. model.setValue("/root/main/view/info3/dutplceinstcd", model.getValue("/root/main/view/info1/dutplceinstcd"));
  217. submit("TXICE00101");
  218. fView();
  219. }
  220. //저장
  221. function fSave() {
  222. model.setValue("/root/main/view/info1/userkindcd", model.getValue("/root/send/userkindcd"));
  223. model.setValue("/root/main/view/reqinfo/userid", model.getValue("/root/main/view/info1/userid"));
  224. if (model.getValue("/root/send/userkindcd") == '02') {
  225. // 의뢰담당자
  226. if ( model.getValue("/root/main/view/reqinfo/jobposnm1") == '' ) {
  227. messageBox("직위는 필수입력 항목입니다.", "I");
  228. return;
  229. }
  230. if ( model.getValue("/root/main/view/reqinfo/posnm1") == '' ) {
  231. messageBox("소속은 필수입력 항목입니다.", "I");
  232. return;
  233. }
  234. if ( model.getValue("/root/main/view/reqinfo/email1") == '' ) {
  235. messageBox("이메일은 필수입력 항목입니다.", "I");
  236. return;
  237. }
  238. if ( model.getValue("/root/main/view/reqinfo/cntctelno1") == '' ) {
  239. messageBox("전화번호는 필수입력 항목입니다.", "I");
  240. return;
  241. }
  242. if ( model.getValue("/root/main/view/reqinfo/mpphonno1") == '' ) {
  243. messageBox("핸드폰번호는 필수입력 항목입니다.", "I");
  244. return;
  245. }
  246. if ( model.getValue("/root/main/view/reqinfo/faxno") == '' ) {
  247. messageBox("팩스번호는 필수입력 항목입니다.", "I");
  248. return;
  249. }
  250. model.copyNode("/root/send/info1", "/root/main/view/info1");
  251. model.setValue("/root/main/view/reqinfo/usernm", model.getValue("/root/main/view/info1/usernm"));
  252. model.copyNode("/root/send/info2", "/root/main/view/reqinfo");
  253. submit("TXICE00101");
  254. submit("TXICE00102");
  255. }
  256. if (model.getValue("/root/send/userkindcd") == '01') {
  257. //연구자
  258. model.setValue("/root/main/view/info1/userkindcd", model.getValue("/root/send/userkindcd"));
  259. model.copyNode("/root/send/info1", "/root/main/view/info1");
  260. model.makeValue("/root/send/info1/userkind", model.getValue("/root/main/view/info3/userkind"));
  261. model.setValue("/root/main/view/info3/userid", model.getValue("/root/main/view/info1/userid"));
  262. model.setValue("/root/main/view/info3/usernm", model.getValue("/root/main/view/info1/usernm"));
  263. // model.setValue("/root/main/view/info3/jobkindcd", model.getValue("/root/main/view/info1/jobkindcd"));
  264. // model.setValue("/root/main/view/info3/jobkindnm", model.getValue("/root/main/view/info1/jobkindnm"));
  265. model.setValue("/root/main/view/info3/dutplceinstcd", model.getValue("/root/main/view/info1/dutplceinstcd"));
  266. if ( model.getValue("/root/main/view/info3/userkind") == '' ) {
  267. model.setValue("/root/main/view/info3/userkind", "1");
  268. }
  269. model.copyNode("/root/send/info3", "/root/main/view/info3");
  270. model.copyNode("/root/send/info1", "/root/main/view/info1");
  271. model.makeValue("/root/send/info1/zipcd1", model.getValue("/root/main/view/info3/zipcd1"));
  272. model.makeValue("/root/send/info1/zipcd2", model.getValue("/root/main/view/info3/zipcd2"));
  273. model.makeValue("/root/send/info1/addr", model.getValue("/root/main/view/info3/homeaddr"));
  274. model.makeValue("/root/send/info1/cntctelno", model.getValue("/root/main/view/info3/cmpytelno"));
  275. model.makeValue("/root/send/info1/faxno", model.getValue("/root/main/view/info3/faxno"));
  276. submit("TXICE00101");
  277. submit("TXICE00103");
  278. submit("TXICE00105");
  279. }
  280. /*
  281. if (model.getValue("/root/send/userkindcd") == '03') {
  282. model.setValue("/root/main/view/info1/userkindcd", model.getValue("/root/send/userkindcd"));
  283. model.copyNode("/root/send/info1", "/root/main/view/info1");
  284. submit("TXICE00101");
  285. }
  286. if (model.getValue("/root/send/userkindcd") == '04') {
  287. model.setValue("/root/main/view/info1/userkindcd", model.getValue("/root/send/userkindcd"));
  288. model.copyNode("/root/send/info1", "/root/main/view/info1");
  289. submit("TXICE00101");
  290. }
  291. */
  292. function fGetReqInfo() {
  293. model.getValue("/root/main/view/reqinfo/reqinstcd", model.setValue("/root/hidden/reqinfo/reqinstcd"));
  294. model.getValue("/root/main/view/reqinfo/reqinstflag", model.setValue("/root/hidden/reqinfo/reqinstflag"));
  295. model.getValue("/root/main/view/reqinfo/cmpynm", model.setValue("/root/hidden/reqinfo/cmpynm"));
  296. model.getValue("/root/main/view/reqinfo/prsdnm", model.setValue("/root/hidden/reqinfo/prsdnm"));
  297. model.getValue("/root/main/view/reqinfo/bizcondkind", model.setValue("/root/hidden/reqinfo/bizcondkind"));
  298. model.getValue("/root/main/view/reqinfo/bizcond", model.setValue("/root/hidden/reqinfo/bizcond"));
  299. model.getValue("/root/main/view/reqinfo/telno", model.setValue("/root/hidden/reqinfo/telno"));
  300. model.getValue("/root/main/view/reqinfo/jobposnm", model.setValue("/root/hidden/reqinfo/jobposnm"));
  301. model.getValue("/root/main/view/reqinfo/email", model.setValue("/root/hidden/reqinfo/email"));
  302. model.getValue("/root/main/view/reqinfo/zipcd1", model.setValue("/root/hidden/reqinfo/zipcd1"));
  303. model.getValue("/root/main/view/reqinfo/zipcd2", model.setValue("/root/hidden/reqinfo/zipcd2"));
  304. model.getValue("/root/main/view/reqinfo/addr1", model.setValue("/root/hidden/reqinfo/addr1"));
  305. model.getValue("/root/main/view/reqinfo/cmt", model.setValue("/root/hidden/reqinfo/cmt"));
  306. model.getValue("/root/main/view/reqinfo/jobposnm1", model.setValue("/root/hidden/reqinfo/jobposnm1"));
  307. model.getValue("/root/main/view/reqinfo/posnm1", model.setValue("/root/hidden/reqinfo/posnm1"));
  308. model.getValue("/root/main/view/reqinfo/email1", model.setValue("/root/hidden/reqinfo/email1"));
  309. model.getValue("/root/main/view/reqinfo/cntctelno1", model.setValue("/root/hidden/reqinfo/cntctelno1"));
  310. model.getValue("/root/main/view/reqinfo/mpphonno1", model.setValue("/root/hidden/reqinfo/mpphonno1"));
  311. model.getValue("/root/main/view/reqinfo/faxno", model.setValue("/root/hidden/reqinfo/faxno"));
  312. }
  313. }
  314. // 의뢰기관 정보 조회
  315. // 사용자정보 Clear
  316. function fSetUserClear() {
  317. model.resetInstanceNode("/root/main/view/info1");
  318. model.resetInstanceNode("/root/main/view/reqinfo");
  319. model.resetInstanceNode("/root/main/view/info3");
  320. model.refresh();
  321. }
  322. // ID 중복체크
  323. function useridCheck(id) {
  324. model.setValue("/root/main/view/info1/userid", id);
  325. model.refresh();
  326. }
  327. ]]>
  328. </script>
  329. </xhtml:head>
  330. <xhtml:body guideline="2,783;1,1201;">
  331. <button id="button1" class="btn4_letter2" navindex="8" _auth="X" style="left:1040px; top:60px; width:56px; height:22px; ">
  332. <caption>삭제</caption>
  333. <script type="javascript" ev:event="onclick">
  334. <![CDATA[
  335. if ( messageBox("해당 자료를","Q001")==6 ) {
  336. fDelete();
  337. fView();
  338. }
  339. ]]>
  340. </script>
  341. </button>
  342. <button id="button3" class="btn4_letter2" navindex="7" _auth="X" style="left:975px; top:60px; width:56px; height:22px; ">
  343. <caption>저장</caption>
  344. <script type="javascript" ev:event="onclick">
  345. <![CDATA[
  346. model.setValue( "/root/main/view/info1/userid", model.getValue("/root/main/view/info1/userid").toUpperCase() );
  347. //model.refresh();
  348. fSave();
  349. fSetUserClear();
  350. //model.setValue( "/root/send/userid", model.getValue("/root/main/view/info1/userid").toUpperCase() );
  351. //model.refresh();
  352. fView();
  353. ]]>
  354. </script>
  355. </button>
  356. <caption id="caption21" class="cell_1" style="left:1px; top:480px; width:130px; height:23px; text-align:center; vertical-align:middle; ">사용자ID(사원번호)</caption>
  357. <caption id="caption39" class="cell_1" style="left:345px; top:480px; width:90px; height:23px; text-align:center; vertical-align:middle; ">사용자명</caption>
  358. <input id="input21" ref="/root/main/view/info1/usernm" class="input_essential" navindex="13" appearance="input" style="left:440px; top:482px; width:245px; height:19px; "/>
  359. <caption id="caption42" class="cell_1" style="left:895px; top:480px; width:90px; height:23px; text-align:center; vertical-align:middle; ">비밀번호</caption>
  360. <caption id="caption43" class="cell_1" style="left:1px; top:506px; width:130px; height:23px; text-align:center; vertical-align:middle; ">병원명</caption>
  361. <caption id="caption44" class="cell_1" style="left:345px; top:506px; width:90px; height:23px; text-align:center; vertical-align:middle; ">진료과</caption>
  362. <caption id="caption47" class="cell_1" style="left:690px; top:506px; width:90px; height:23px; text-align:center; vertical-align:middle; ">시작일자</caption>
  363. <caption id="caption48" class="cell_1" style="left:895px; top:506px; width:90px; height:23px; text-align:center; vertical-align:middle; ">종료일자</caption>
  364. <input id="input24" ref="/root/main/view/info1/posdeptcd" class="input_default" navindex="18" inputtype="button" appearance="input" style="left:440px; top:508px; width:110px; height:19px; ">
  365. <script type="javascript" ev:event="onbuttonclick">
  366. <![CDATA[
  367. zbcfOpenInstDeptCodeList("deptnm", "", "/root/main/view/info1/posdeptcd", "/root/main/view/info1/posdeptnm", "orduseyn", "", new Array("deptcd", "depthngnm"));
  368. ]]>
  369. </script>
  370. </input>
  371. <input id="input25" ref="/root/main/view/info1/posdeptnm" class="input_default" navindex="19" appearance="input" style="left:555px; top:508px; width:130px; height:19px; "/>
  372. <line id="line12" class="line_3" style="x1:0px; y1:476px; x2:1096px; y2:476px; "/>
  373. <line id="line14" class="line_2" style="x1:0px; y1:504px; x2:1096px; y2:504px; "/>
  374. <input id="input17" ref="/root/main/view/info1/userid" class="input_essential" navindex="12" imemode="alpha" maxlength="10" appearance="input" style="left:135px; top:482px; width:125px; height:19px; ">
  375. <script type="javascript" ev:event="xforms-value-changed">
  376. <![CDATA[
  377. button3.disabled = true;
  378. ]]>
  379. </script>
  380. </input>
  381. <input id="ipt_todd" ref="/root/main/view/info1/userfromdd" class="input_essential" navindex="15" inputtype="date" appearance="input" style="left:784px; top:508px; width:106px; height:19px; "/>
  382. <input id="ipt_fromdd" ref="/root/main/view/info1/usertodd" class="input_essential" navindex="16" inputtype="date" appearance="input" style="left:990px; top:508px; width:105px; height:19px; "/>
  383. <line id="line17" class="line_3" style="x1:0px; y1:531px; x2:1096px; y2:531px; "/>
  384. <button id="button7" class="btn2_letter6" navindex="14" _auth="X" style="left:990px; top:480px; width:86px; height:19px; ">
  385. <caption>비밀번호변경</caption>
  386. <script type="javascript" ev:event="DOMActivate">
  387. <![CDATA[
  388. group4.visible = true;
  389. ]]>
  390. </script>
  391. </button>
  392. <button id="button2" class="btn2_letter5" navindex="14" _auth="X" style="left:265px; top:482px; width:75px; height:19px; ">
  393. <caption>ID 중복체크</caption>
  394. <script type="javascript" ev:event="DOMActivate">
  395. <![CDATA[
  396. setParameter("userid",model.getValue("/root/main/view/info1/userid"));
  397. window.load("SPIMR00101_ID중복체크.xrw","modal","basis", "left:400px; top:400px; width:534px; height:200px;min:hidden;max:hidden;resize:true;");
  398. // button3.disabled = false;
  399. ]]>
  400. </script>
  401. </button>
  402. <group id="grp_tle" style="left:0px; top:0px; width:1095px; height:14px; ">
  403. <caption id="caption120" class="tit_1" style="left:0px; top:0px; width:158px; height:14px; ">참여연구원 ID 부여</caption>
  404. </group>
  405. <caption id="caption2" class="tit_2" style="left:0px; top:460px; width:144px; height:14px; ">참여연구원 정보</caption>
  406. <input id="input1" ref="/root/main/view/info3/zipcd2" class="input_default" navindex="44" editable="false" appearance="input" style="left:497px; top:537px; width:54px; height:19px; "/>
  407. <input id="input2" ref="/root/main/view/info3/jobposnm" class="input_default" navindex="55" maxlength="50" appearance="input" style="left:293px; top:614px; width:47px; height:19px; "/>
  408. <input id="input8" ref="/root/main/view/info3/cmpytelno" class="input_default" appearance="input" style="left:234px; top:641px; width:106px; height:19px; "/>
  409. <input id="input9" ref="/root/main/view/info3/engnm" class="input_default" navindex="42" appearance="input" style="left:234px; top:536px; width:106px; height:19px; "/>
  410. <input id="input10" ref="/root/main/view/info3/jobposcd" class="input_default" navindex="54" inputtype="button" appearance="input" style="left:234px; top:614px; width:56px; height:19px; ">
  411. <script type="javascript" ev:event="onbuttonclick">
  412. <![CDATA[
  413. setParameter("cdgrupid","R0062");
  414. window.load("../../../crc/comsubjweb/xrw/SPIMR00300_공통코드조회팝업.xrw","modal","code", "left:600px; top:50px; width:1500px; height:540px;min:hidden;max:hidden;resize:false;" ,"", "");
  415. var cdid = getParameter("cdid");
  416. var cdnm = getParameter("cdnm");
  417. // model.setValue("/root/main/view/info1/majorfild", cdid);
  418. // model.setValue("/root/main/view/info1/majorfildnm", cdnm);
  419. if ( cdid !="" ){
  420. model.setValue("/root/main/view/info3/jobposcd", cdid);
  421. model.setValue("/root/main/view/info3/jobposnm", cdnm);
  422. model.refresh();
  423. }
  424. ]]>
  425. </script>
  426. </input>
  427. <input id="input11" ref="/root/main/view/info3/workplceaddr" class="input_default" appearance="input" style="left:650px; top:640px; width:445px; height:19px; "/>
  428. <input id="input12" ref="/root/main/view/info3/postrecvtret" class="input_default" navindex="46" appearance="input" style="left:578px; top:536px; width:312px; height:19px; "/>
  429. <input id="input13" ref="/root/main/view/info3/frmrmertnm" class="input_default" navindex="49" appearance="input" style="left:553px; top:562px; width:130px; height:19px; "/>
  430. <input id="input14" ref="/root/main/view/info3/hometel" class="input_default" navindex="52" appearance="input" style="left:234px; top:588px; width:106px; height:19px; "/>
  431. <input id="input15" ref="/root/main/view/info3/homeaddr" class="input_default" navindex="53" appearance="input" style="left:440px; top:588px; width:655px; height:19px; "/>
  432. <input id="input16" ref="/root/main/view/info3/acdmydgnm" class="input_default" navindex="51" appearance="input" style="left:895px; top:562px; width:130px; height:19px; "/>
  433. <caption id="caption1" class="cell_1" style="left:135px; top:586px; width:95px; height:23px; text-align:center; vertical-align:middle; ">집전화</caption>
  434. <input id="input18" ref="/root/main/view/info3/frmrmertcd" class="input_default" navindex="48" inputtype="button" appearance="input" style="left:440px; top:562px; width:110px; height:19px; ">
  435. <script type="javascript" ev:event="onbuttonclick">
  436. <![CDATA[
  437. setParameter("cdgrupid","R0089");
  438. window.load("../../../crc/comsubjweb/xrw/SPIMR00300_공통코드조회팝업.xrw","modal","code", "left:600px; top:50px; width:1500px; height:540px;min:hidden;max:hidden;resize:false;" ,"", "");
  439. var cdid = getParameter("cdid");
  440. var cdnm = getParameter("cdnm");
  441. // model.setValue("/root/main/view/info1/jobkindcd", cdid);
  442. // model.setValue("/root/main/view/info1/jobkindnm", cdnm);
  443. if ( cdid !="" ){
  444. model.setValue("/root/main/view/info3/frmrmertcd", cdid);
  445. model.setValue("/root/main/view/info3/frmrmertnm", cdnm);
  446. model.refresh();
  447. }
  448. ]]>
  449. </script>
  450. </input>
  451. <caption id="caption3" class="cell_1" style="left:555px; top:639px; width:90px; height:23px; text-align:center; vertical-align:middle; ">주소</caption>
  452. <caption id="caption20" class="cell_1" style="left:345px; top:613px; width:90px; height:23px; text-align:center; vertical-align:middle; ">은행</caption>
  453. <input id="input19" ref="/root/main/view/info3/acdmydgcd" class="input_default" navindex="50" inputtype="button" appearance="input" style="left:784px; top:562px; width:106px; height:19px; ">
  454. <script type="javascript" ev:event="onbuttonclick">
  455. <![CDATA[
  456. setParameter("cdgrupid","R0087");
  457. window.load("../../../crc/comsubjweb/xrw/SPIMR00300_공통코드조회팝업.xrw","modal","code", "left:600px; top:50px; width:1500px; height:540px;min:hidden;max:hidden;resize:false;" ,"", "");
  458. var cdid = getParameter("cdid");
  459. var cdnm = getParameter("cdnm");
  460. // model.setValue("/root/main/view/info1/jobposcd", cdid);
  461. // model.setValue("/root/main/view/info1/jobposnm", cdnm);
  462. if ( cdid !="" ){
  463. model.setValue("/root/main/view/info3/acdmydgcd", cdid);
  464. model.setValue("/root/main/view/info3/acdmydgnm", cdnm);
  465. model.refresh();
  466. }
  467. ]]>
  468. </script>
  469. </input>
  470. <button id="button5" class="icon_search" navindex="45" style="left:556px; top:539px; width:16px; height:16px; ">
  471. <caption/>
  472. <script type="javascript" ev:event="onclick">
  473. <![CDATA[
  474. var rcv_zipcdhead_path = "/root/main/view/info3/zipcd1";
  475. var rcv_zipcdfoot_path = "/root/main/view/info3/zipcd2";
  476. var rcv_address_path = "/root/main/view/info3/postrecvtret";
  477. var rcv_seqno_path = "/root/main/view/info3/zipcdseq";
  478. var term = model.getValue("recv_zipcdhead_path");
  479. zbcfOpenZipCodeList("address", term, rcv_zipcdhead_path, rcv_zipcdfoot_path, rcv_seqno_path, rcv_address_path);
  480. ]]>
  481. </script>
  482. </button>
  483. <caption id="caption24" class="cell_1" style="left:135px; top:613px; width:95px; height:23px; text-align:center; vertical-align:middle; ">직위</caption>
  484. <caption id="caption25" class="cell_1" style="left:345px; top:586px; width:90px; height:23px; text-align:center; vertical-align:middle; ">집주소</caption>
  485. <select1 id="combo6" ref="/root/main/view/info3/gndr" navindex="47" appearance="minimal" style="left:234px; top:562px; width:106px; height:19px; ">
  486. <choices>
  487. <item>
  488. <label>남</label>
  489. <value>M</value>
  490. </item>
  491. <item>
  492. <label>여</label>
  493. <value>F</value>
  494. </item>
  495. </choices>
  496. </select1>
  497. <caption id="caption26" class="cell_1" style="left:135px; top:639px; width:95px; height:23px; text-align:center; vertical-align:middle; ">전화번호</caption>
  498. <caption id="caption27" class="cell_1" style="left:1px; top:534px; width:130px; height:75px; text-align:center; vertical-align:middle; ">기초정보</caption>
  499. <caption id="caption28" class="cell_1" style="left:1px; top:665px; width:130px; height:64px; text-align:center; vertical-align:middle; ">비고</caption>
  500. <caption id="caption30" class="cell_1" style="left:690px; top:560px; width:90px; height:23px; text-align:center; vertical-align:middle; ">학위</caption>
  501. <line id="line1" class="line_3" style="x1:0px; y1:610px; x2:1096px; y2:610px; "/>
  502. <caption id="caption31" class="cell_1" style="left:135px; top:534px; width:95px; height:23px; text-align:center; vertical-align:middle; ">사용자명(영문)</caption>
  503. <caption id="caption32" class="cell_1" style="left:345px; top:560px; width:90px; height:23px; text-align:center; vertical-align:middle; ">전공</caption>
  504. <textarea id="textarea2" ref="/root/main/view/info3/cmt" style="left:135px; top:665px; width:960px; height:64px; "/>
  505. <line id="line7" class="line_2" style="x1:0px; y1:558px; x2:1096px; y2:558px; "/>
  506. <caption id="caption33" class="cell_1" style="left:345px; top:534px; width:90px; height:23px; text-align:center; vertical-align:middle; ">우편물수신처</caption>
  507. <select1 id="combo8" ref="/root/main/view/info3/bankcd" navindex="56" appearance="minimal" style="left:440px; top:614px; width:110px; height:19px; ">
  508. <choices>
  509. <itemset nodeset="/root/init/baseinfo/bankcode/R0001">
  510. <label ref="cdnm"/>
  511. <value ref="cdid"/>
  512. </itemset>
  513. </choices>
  514. </select1>
  515. <caption id="caption34" class="cell_1" style="left:345px; top:639px; width:90px; height:23px; text-align:center; vertical-align:middle; ">팩스</caption>
  516. <input id="input20" ref="/root/main/view/info3/faxno" class="input_default" appearance="input" style="left:440px; top:641px; width:110px; height:19px; "/>
  517. <line id="line8" class="line_2" style="x1:0px; y1:584px; x2:1096px; y2:584px; "/>
  518. <caption id="caption35" class="cell_1" style="left:135px; top:560px; width:95px; height:23px; text-align:center; vertical-align:middle; ">성별</caption>
  519. <line id="line9" class="line_2" style="x1:0px; y1:637px; x2:1096px; y2:637px; "/>
  520. <caption id="caption36" class="cell_1" style="left:555px; top:613px; width:90px; height:23px; text-align:center; vertical-align:middle; ">계좌번호</caption>
  521. <input id="input22" ref="/root/main/view/info3/acntno" class="input_default" navindex="57" appearance="input" style="left:650px; top:615px; width:240px; height:19px; "/>
  522. <caption id="caption37" class="cell_1" style="left:1px; top:612px; width:130px; height:49px; text-align:center; vertical-align:middle; ">직장정보</caption>
  523. <line id="line10" class="line_3" style="x1:0px; y1:663px; x2:1096px; y2:663px; "/>
  524. <input id="input23" ref="/root/main/view/info3/depor" class="input_default" appearance="input" style="left:990px; top:615px; width:105px; height:19px; "/>
  525. <caption id="caption38" class="cell_1" style="left:895px; top:613px; width:90px; height:23px; text-align:center; vertical-align:middle; ">예금주</caption>
  526. <input id="input26" ref="/root/main/view/info3/zipcd1" class="input_default" navindex="43" editable="false" appearance="input" style="left:440px; top:537px; width:54px; height:19px; "/>
  527. <input id="input3" ref="/root/main/view/info1/posinstcd" style="left:135px; top:508px; width:205px; height:19px; "/>
  528. <group id="group3" style="left:0px; top:15px; width:1095px; height:37px; vertical-align:top; ">
  529. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1095px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  530. <caption id="caption4" class="search_name" style="left:380px; top:10px; width:117px; height:17px; ">사용자ID :</caption>
  531. <caption id="caption5" class="search_name" style="left:600px; top:10px; width:117px; height:17px; ">사용자명 :</caption>
  532. <input id="input4" ref="/root/send/userid" navindex="3" style="left:470px; top:9px; width:110px; height:19px; ">
  533. <script type="javascript" ev:event="onkeyup">
  534. <![CDATA[
  535. inputEnterKey("btn_sea","DOMActivate");
  536. ]]>
  537. </script>
  538. </input>
  539. <input id="input5" ref="/root/send/usernm" navindex="4" style="left:690px; top:9px; width:115px; height:19px; ">
  540. <script type="javascript" ev:event="onkeyup">
  541. <![CDATA[
  542. inputEnterKey("btn_sea","DOMActivate");
  543. ]]>
  544. </script>
  545. </input>
  546. <caption id="caption55" class="search_name" style="left:10px; top:10px; width:117px; height:17px; ">사용자구분 :</caption>
  547. <select1 id="combo11" ref="/root/send/srchuserkind" class="combo_search" navindex="2" appearance="minimal" style="left:115px; top:9px; width:130px; height:19px; ">
  548. <choices>
  549. <item>
  550. <label>전체</label>
  551. <value/>
  552. </item>
  553. <item>
  554. <label>연구자</label>
  555. <value>01</value>
  556. </item>
  557. <item>
  558. <label>의뢰담당자</label>
  559. <value>02</value>
  560. </item>
  561. </choices>
  562. <script type="javascript" ev:event="xforms-value-changed">
  563. <![CDATA[
  564. //model.setValue("/root/send/userid","");
  565. //model.setValue("/root/send/usernm","");
  566. if ( model.getValue("/root/send/srchuserkind") == '02' ) {
  567. combo6.disabled = true;
  568. } else {
  569. combo6.disabled = false;
  570. }
  571. fSetUserClear();
  572. // fView();
  573. ]]>
  574. </script>
  575. </select1>
  576. <button id="btn_sea" class="btn1_letter2" navindex="5" _auth="R" style="left:1015px; top:7px; width:56px; height:22px; ">
  577. <caption>조회</caption>
  578. <script type="javascript" ev:event="DOMActivate">
  579. <![CDATA[
  580. fSetUserClear();
  581. fView();
  582. ]]>
  583. </script>
  584. </button>
  585. <select1 id="combo1" ref="/root/send/srchsubuserkind" class="combo_search" navindex="2" appearance="minimal" style="left:250px; top:9px; width:115px; height:19px; ">
  586. <choices>
  587. <item>
  588. <label>전체</label>
  589. <value/>
  590. </item>
  591. <item>
  592. <label>내부</label>
  593. <value>1</value>
  594. </item>
  595. <item>
  596. <label>외부</label>
  597. <value>2</value>
  598. </item>
  599. <item>
  600. <label>코디네이터</label>
  601. <value>3</value>
  602. </item>
  603. <item>
  604. <label>관리약사</label>
  605. <value>4</value>
  606. </item>
  607. <item>
  608. <label>CRCC담당자</label>
  609. <value>5</value>
  610. </item>
  611. <item>
  612. <label>IRB담당자</label>
  613. <value>6</value>
  614. </item>
  615. <item>
  616. <label>연구비관리자</label>
  617. <value>7</value>
  618. </item>
  619. </choices>
  620. <script type="javascript" ev:event="xforms-value-changed">
  621. <![CDATA[
  622. //model.setValue("/root/send/userid","");
  623. //model.setValue("/root/send/usernm","");
  624. fSetUserClear();
  625. // fView();
  626. ]]>
  627. </script>
  628. </select1>
  629. <line id="line2" class="line_4" style="x1:1000px; y1:5px; x2:1000px; y2:30px; "/>
  630. </group>
  631. <datagrid id="grd_userdeptinfo" nodeset="/root/main/list/usermngtlist" class="datagrid2" scroll="auto" caption="구분^사용자ID^사용자명^비밀&#xA;번호^소속기관^병원명^진료과^진료과^시작일자^종료일자^전공^전공^직종^직종^직위^직위" colsep="^" colwidth="66, 71, 77, 100, 76, 107, 79, 79, 56, 100, 54, 100, 54, 100, 100, 100" dataheight="35" explorerbar="sort" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" tooltip="true" navindex="9" style="left:0px; top:90px; width:1095px; height:355px; ">
  632. <col disabled="true" ref="userkind" type="combo">
  633. <choices>
  634. <item>
  635. <label>내부</label>
  636. <value>1</value>
  637. </item>
  638. <item>
  639. <label>외부</label>
  640. <value>2</value>
  641. </item>
  642. <item>
  643. <label>코디네이터</label>
  644. <value>3</value>
  645. </item>
  646. <item>
  647. <label>관리약사</label>
  648. <value>4</value>
  649. </item>
  650. <item>
  651. <label>CRCC담당자</label>
  652. <value>5</value>
  653. </item>
  654. <item>
  655. <label>IRB담당자</label>
  656. <value>6</value>
  657. </item>
  658. <item>
  659. <label>연구비관리자</label>
  660. <value>7</value>
  661. </item>
  662. </choices>
  663. </col>
  664. <col ref="userid"/>
  665. <col ref="usernm"/>
  666. <col ref="pwd" visibility="hidden"/>
  667. <col ref="posinstcd"/>
  668. <col ref="posinstnm"/>
  669. <col ref="posdeptcd"/>
  670. <col ref="posdeptnm"/>
  671. <col ref="userfromdd" format="yyyy-mm-dd"/>
  672. <col ref="usertodd" format="yyyy-mm-dd"/>
  673. <col ref="majorfild"/>
  674. <col ref="majorfildnm"/>
  675. <col ref="jobkindcd"/>
  676. <col ref="jobkindnm"/>
  677. <col ref="jobposcd"/>
  678. <col ref="jobposnm"/>
  679. <script type="javascript" ev:event="onclick">
  680. <![CDATA[
  681. var idx = grd_userdeptinfo.row;
  682. DbClick_value = idx;
  683. model.copyNode("/root/main/view/info1","/root/main/list/usermngtlist["+idx+"]");
  684. model.setValue("/root/send/userkindcd", model.getValue("/root/main/list/usermngtlist["+idx+"]/userkindcd"));
  685. model.setValue("/root/send/userkind", model.getValue("/root/main/list/usermngtlist["+idx+"]/userkind"));
  686. //model.setValue("/root/send/userfromdd", model.getValue("/root/main/list/usermngtlist["+idx+"]/userfromdd"));
  687. //model.setValue("/root/send/userid", model.getValue("/root/main/list/usermngtlist["+idx+"]/userid"));
  688. var userkindcd = model.getValue("/root/send/userkindcd");
  689. var userkind = model.getValue("/root/send/userkind");
  690. submit("TRICE00102", false);
  691. model.makeValue("/root/main/view/info1/userkind", model.getValue("/root/main/list/usermngtlist["+idx+"]/userkind"));
  692. /* if(userkindcd == "02") {
  693. //model.copyNode("/root/main/view/reqinfo", "/root/hidden/reqinfo");
  694. group1.visible = true;
  695. group2.visible = false;
  696. } else if(userkindcd == "01") {
  697. group1.visible = false;
  698. group2.visible = true;
  699. } else {
  700. group1.visible = false;
  701. group2.visible = false;
  702. } */
  703. model.refresh();
  704. ]]>
  705. </script>
  706. <script ev:event="ondblclick">
  707. <![CDATA[
  708. 'Dim objShell
  709. 'Set objShell = CreateObject("WScript.Shell")
  710. 'Dim userid
  711. 'userid= model.getValue("/root/main/list/usermngtlist[" & grd_userdeptinfo.row & "]/userid")
  712. 'call objShell.Run("EXPLORER ""http://crc001.cmcnu.or.kr/himed/login.live?userid=" & userid & "&password=1""")
  713. 'alert("완료")
  714. 'Set objShell = Nothing
  715. ]]>
  716. </script>
  717. <script type="javascript" ev:event="onaftersort">
  718. <![CDATA[
  719. grd_userdeptinfo.gridToInstance();
  720. ]]>
  721. </script>
  722. </datagrid>
  723. <line id="line3" class="line_1" style="x1:0px; y1:85px; x2:1095px; y2:85px; "/>
  724. <caption id="caption6" class="tit_2" style="left:0px; top:70px; width:157px; height:14px; ">참여연구원 리스트</caption>
  725. <group id="group4" visibility="hidden" style="left:815px; top:505px; width:298px; height:85px; border-style:solid; ">
  726. <secret id="secret2" ref="/root/send/passinfo/pwdb" navindex="25" appearance="secret" style="left:113px; top:34px; width:177px; height:19px; "/>
  727. <button id="button4" class="btn5_letter2" navindex="26" _auth="X" style="left:195px; top:59px; width:42px; height:19px; ">
  728. <caption>확인</caption>
  729. <script type="javascript" ev:event="DOMActivate">
  730. <![CDATA[
  731. model.setValue( "/root/main/view/info1/userid", model.getValue("/root/main/view/info1/userid").toUpperCase() );
  732. model.refresh();
  733. model.setValue("/root/send/passinfo/userid", model.getValue("/root/main/view/info1/userid"));
  734. var pwda = model.getValue("/root/send/passinfo/pwda");
  735. var pwdb = model.getValue("/root/send/passinfo/pwdb");
  736. if(pwda != pwdb) {
  737. messageBox("입력하신 비밀번호가 다릅니다.", "I");
  738. model.setFocus("secre1");
  739. return;
  740. }
  741. if(submit("TXICE00104")) {
  742. messageBox("변경되었습니다.", "I");
  743. group4.visible = false;
  744. }
  745. model.setValue("/root/send/passinfo/pwda","");
  746. model.setValue("/root/send/passinfo/pwdb","");
  747. secret1.refresh();
  748. secret2.refresh();
  749. ]]>
  750. </script>
  751. </button>
  752. <button id="button6" class="btn2_letter2" navindex="27" style="left:245px; top:59px; width:42px; height:19px; ">
  753. <caption>취소</caption>
  754. <script type="javascript" ev:event="DOMActivate">
  755. <![CDATA[
  756. model.setValue("/root/send/passinfo/pwda","");
  757. model.setValue("/root/send/passinfo/pwdb","");
  758. secret1.refresh();
  759. secret2.refresh();
  760. group4.visible = false;
  761. ]]>
  762. </script>
  763. </button>
  764. <caption id="caption53" class="cell_1" style="left:5px; top:10px; width:105px; height:21px; text-align:center; ">변경할 비밀번호</caption>
  765. <caption id="caption54" class="cell_1" style="left:5px; top:34px; width:105px; height:21px; text-align:center; ">비밀번호확인</caption>
  766. <secret id="secret1" ref="/root/send/passinfo/pwda" navindex="10" appearance="secret" style="left:113px; top:10px; width:177px; height:19px; "/>
  767. </group>
  768. <caption id="caption7" class="cell_1" style="left:690px; top:480px; width:90px; height:23px; text-align:center; vertical-align:middle; ">구분</caption>
  769. <select1 id="combo2" ref="/root/send/userkindcd" appearance="minimal" style="left:784px; top:482px; width:106px; height:19px; ">
  770. <choices>
  771. <item>
  772. <label>공동연구자</label>
  773. <value>2</value>
  774. </item>
  775. <item>
  776. <label>관리약사</label>
  777. <value>4</value>
  778. </item>
  779. <item>
  780. <label>코디네이터</label>
  781. <value>3</value>
  782. </item>
  783. </choices>
  784. </select1>
  785. <datagrid id="datagrid1" nodeset="/root/main/pwd/item" visibility="hidden" caption="caption1^caption2^caption3" colsep="^" mergecellsfixedrows="bycolrec" rowsep="|" style="left:265px; top:580px; width:410px; height:150px; ">
  786. <col ref="userid"/>
  787. <col ref="pwd"/>
  788. <col/>
  789. </datagrid>
  790. </xhtml:body>
  791. </xhtml:html>