SMAHA03230_사용자별기본정보관리.xrw 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMAHA03230_사용자별기본정보관리.xrw
  4. * 설 명 : 사용자별 기본정보 관리
  5. * 설 계 자 :
  6. * 작 성 자 :
  7. * 작 성 일 : 2012.10.10
  8. * 수정이력 :
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  12. <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">
  13. <xhtml:head>
  14. <xhtml:title>사용자별 기본정보 관리</xhtml:title>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root xmlns="">
  18. <send>
  19. <savedata/>
  20. <srchstduser>
  21. <srchhealexamflag/>
  22. <srchhealexamgubun/>
  23. </srchstduser>
  24. </send>
  25. <main>
  26. <stduserInfo>
  27. <item>
  28. <healexamflag/>
  29. <userid/>
  30. <olduserid/>
  31. <usernm/>
  32. <healexamgubun/>
  33. <orddeptcd/>
  34. </item>
  35. </stduserInfo>
  36. </main>
  37. <init>
  38. <baseinfo>
  39. <healexamflaglst/>
  40. <healexamgubunlst/>
  41. <orddeptcdlst/>
  42. </baseinfo>
  43. </init>
  44. </root>
  45. </instance>
  46. <submission id="TRZBC00101"/>
  47. <submission id="TRAHB00606"/>
  48. <submission id="TRAHA03230" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchstduser" replace="instance" resultref="/root/main/stduserInfo"/>
  49. <submission id="TXAHA03230" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/hidden"/>
  50. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  51. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  52. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  53. <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
  54. <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
  55. <script type="javascript" src="../../../ast/healexamweb/js/healexam.js"/>
  56. <script type="javascript" src="../../../ast/healexamweb/js/AHA001.js"/>
  57. <script type="javascript" src="../../../ast/healthexambaseweb/js/healcombolist.js"/>
  58. <script type="javascript" ev:event="xforms-ready">
  59. <![CDATA[
  60. fGetBaseInfo();
  61. fInitInfo();
  62. fGetStdUser();
  63. model.refresh();
  64. ]]>
  65. </script>
  66. <script type="javascript">
  67. <![CDATA[
  68. /*
  69. * 기본 코드 조회(콤보박스)
  70. */
  71. function fGetBaseInfo(){
  72. zbcfGetCodeList( new Array("A0068", "A0088"),
  73. new Array("/root/init/baseinfo/healexamflaglst" //건진구분
  74. ,"/root/init/baseinfo/healexamgubunlst" //건진분류
  75. ));
  76. submit("TRZBC00101");
  77. /*
  78. * 공통코드 조회
  79. * 진료과 (G, G26)
  80. */
  81. healGetComboList("G", new Array("G26"), new Array("/root/init/baseinfo/orddeptcdlst"), false);
  82. }
  83. /*
  84. * 초기화
  85. */
  86. function fInitInfo(){
  87. model.removeNodeset("/root/main/stduser");
  88. }
  89. /*
  90. * 조회
  91. */
  92. function fGetStdUser(){
  93. model.removeNodeset("/root/main/stduser");
  94. submit("TRAHA03230");
  95. }
  96. /*
  97. * 저장
  98. */
  99. function fSaveStdUser(){
  100. if(messageBox("기준정보를","Q002") == 6){
  101. model.setValue("/root/send/savedata", grd_stduser.getUpdateData());
  102. if (submit("TXAHA03230")){
  103. fInitInfo();
  104. fGetStdUser();
  105. return true;
  106. }
  107. }
  108. }
  109. ]]>
  110. </script>
  111. </model>
  112. </xhtml:head>
  113. <xhtml:body guideline="1,1196;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  114. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  115. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:210px; height:13px; ">사용자별 기본정보 관리</caption>
  116. </group>
  117. <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  118. <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
  119. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  120. <button id="btn_search" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
  121. <caption>조회</caption>
  122. <script type="javascript" ev:event="DOMActivate">
  123. <![CDATA[
  124. fGetStdUser();
  125. ]]>
  126. </script>
  127. </button>
  128. <line id="line13" class="line_4" style="x1:1107px; y1:7px; x2:1107px; y2:29px; "/>
  129. <select1 id="cmb_srchhealexamgubun" ref="/root/send/srchstduser/srchhealexamflag" appearance="minimal" style="left:100px; top:8px; width:115px; height:19px; ">
  130. <choices>
  131. <itemset nodeset="/root/init/baseinfo/healexamflaglst/A0068">
  132. <label ref="cdnm"/>
  133. <value ref="cdid"/>
  134. </itemset>
  135. </choices>
  136. </select1>
  137. <caption id="caption45" class="search_name" style="left:10px; top:8px; width:89px; height:17px; ">건진구분 :</caption>
  138. <select1 id="combo1" ref="/root/send/srchstduser/srchhealexamgubun" appearance="minimal" style="left:320px; top:10px; width:115px; height:19px; ">
  139. <choices>
  140. <itemset nodeset="/root/init/baseinfo/healexamgubunlst/A0088">
  141. <label ref="cdnm"/>
  142. <value ref="cdid"/>
  143. </itemset>
  144. </choices>
  145. </select1>
  146. <caption id="caption1" class="search_name" style="left:230px; top:10px; width:89px; height:17px; ">건진분류 :</caption>
  147. </group>
  148. <line id="line3" class="line_1" style="x1:0px; y1:70px; x2:1194px; y2:70px; "/>
  149. <datagrid id="grd_stduser" nodeset="/root/main/stduserInfo/item" caption="건진구분^사용자ID^olduserid^사용자명^건진분류^진료과" colsep="^" colwidth="80, 90, 10, 120, 120, 100" defaultrows="0" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:75px; width:1194px; height:655px; ">
  150. <col ref="healexamflag" type="combo">
  151. <choices>
  152. <itemset nodeset="/root/init/baseinfo/healexamflaglst/A0068">
  153. <label ref="cdnm"/>
  154. <value ref="cdid"/>
  155. </itemset>
  156. </choices>
  157. </col>
  158. <col ref="userid" type="input" style="text-align:left; padding-left:5; "/>
  159. <col ref="olduserid" type="input" visibility="hidden" style="text-align:left; padding-left:5; "/>
  160. <col ref="usernm" type="output" style="text-align:center; "/>
  161. <col ref="healexamgubun" type="combo">
  162. <choices>
  163. <itemset nodeset="/root/init/baseinfo/healexamgubunlst/A0088">
  164. <label ref="cdnm"/>
  165. <value ref="cdid"/>
  166. </itemset>
  167. </choices>
  168. </col>
  169. <col ref="orddeptcd" type="combo">
  170. <choices>
  171. <itemset nodeset="/root/init/baseinfo/orddeptcdlst/G26">
  172. <label ref="cdnm"/>
  173. <value ref="cdid"/>
  174. </itemset>
  175. </choices>
  176. </col>
  177. </datagrid>
  178. <button id="btn_grddel" class="btn2_letter3" style="left:1140px; top:50px; width:53px; height:19px; ">
  179. <caption>행삭제</caption>
  180. <script type="javascript" ev:event="DOMActivate">
  181. <![CDATA[
  182. deleteSelectedRows(grd_stduser, true);
  183. ]]>
  184. </script>
  185. </button>
  186. <button id="btn_grdadd" class="btn2_letter3" style="left:1085px; top:50px; width:53px; height:19px; ">
  187. <caption>행추가</caption>
  188. <script type="javascript" ev:event="DOMActivate">
  189. <![CDATA[
  190. grd_stduser.addRow();
  191. ]]>
  192. </script>
  193. </button>
  194. </group>
  195. <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; ">
  196. <button id="btn_save" class="btn4_letter2" style="left:1138px; top:5px; width:56px; height:22px; ">
  197. <caption>저장</caption>
  198. <script type="javascript" ev:event="DOMActivate">
  199. <![CDATA[
  200. if(fSaveStdUser()){
  201. messageBox("저장", "I002");
  202. }
  203. ]]>
  204. </script>
  205. </button>
  206. </group>
  207. </xhtml:body>
  208. </xhtml:html>