SMRTS02000_사랑나눔교육후기.xrw 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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. <aftnote>
  11. <humnatreduaftnote>
  12. <svccontent/>
  13. <svccmntpropos/>
  14. <trngeducpropos/>
  15. <lattrmcnts/>
  16. <lattrmetc/>
  17. <datayn/>
  18. <emplno/>
  19. <yy/>
  20. <dgno/>
  21. </humnatreduaftnote>
  22. </aftnote>
  23. <dgnoref>
  24. <dgno/>
  25. <yy/>
  26. <educfromdd/>
  27. <eductodd/>
  28. <eduinstnm/>
  29. <deptnm/>
  30. <dutinstnm/>
  31. <valuerslt/>
  32. <anual/>
  33. <gndr/>
  34. </dgnoref>
  35. <tisdgno>
  36. <tisdgnolist>
  37. <dgno/>
  38. <educfromdd/>
  39. <eductodd/>
  40. </tisdgnolist>
  41. </tisdgno>
  42. <inddgno>
  43. <inddgno>
  44. <dgno/>
  45. </inddgno>
  46. </inddgno>
  47. <tisdgno>
  48. <tisdgnolist/>
  49. </tisdgno>
  50. <humnatremp>
  51. <humnatremplist/>
  52. </humnatremp>
  53. </main>
  54. <hidden/>
  55. <temp/>
  56. <aftnotetmp>
  57. <aftnotelist>
  58. <svccontent/>
  59. <svccmntpropos/>
  60. <trngeducpropos/>
  61. <lattrmcnts/>
  62. <lattrmetc/>
  63. <datayn/>
  64. <emplno/>
  65. <yy/>
  66. <dgno/>
  67. </aftnotelist>
  68. </aftnotetmp>
  69. <send>
  70. <req>
  71. <yy/>
  72. <dgno/>
  73. <deptcd/>
  74. <emplno/>
  75. <emplnm/>
  76. <dutinstcd/>
  77. <anual/>
  78. <gndr/>
  79. <eduinstcd/>
  80. <educfromdd/>
  81. <eductodd/>
  82. </req>
  83. <valuinfo>
  84. <yy/>
  85. <dgno/>
  86. <dutinstnm/>
  87. <deptnm/>
  88. <emplno/>
  89. </valuinfo>
  90. </send>
  91. <init>
  92. <systemflag/>
  93. </init>
  94. </root>
  95. </instance>
  96. <script type="javascript" ev:event="xforms-ready">
  97. <![CDATA[
  98. submit("TRRTS00602");
  99. var today = getCurrentDate();
  100. //var cur_mm = parseInt(today.substring(4, 6));
  101. var cur_yy = parseInt(today.substring(0, 4));
  102. //if (cur_mm < 3)
  103. //{
  104. // cur_yy--;
  105. //}
  106. model.setValue("/root/send/req/yy", cur_yy);
  107. ipt_yy.refresh();
  108. /* model.setValue("/root/send/req/deptcd", getUserInfo("posdeptcd"));
  109. model.setValue("/root/send/req/emplno", getUserInfo("userid"));
  110. model.setValue("/root/send/req/name", getUserInfo("usernm"));
  111. model.setValue("/root/send/req/dutinstnm", getUserInfo("dutplceinstnm"));*/
  112. //submit("TRRTS02001");
  113. // submit("TRRTS02001");
  114. if(model.getValue("/root/aftnotetmp/aftnotelist/datayn")=='Y'){
  115. txt_svccontent.value = model.getValue("/root/aftnotetmp/aftnotelist/svccontent");
  116. txt_svccmntpropos.value = model.getValue("/root/aftnotetmp/aftnotelist/svccmntpropos");
  117. txt_trngeducpropos.value = model.getValue("/root/aftnotetmp/aftnotelist/trngeducpropos");
  118. txt_lattrmcnts.value = model.getValue("/root/aftnotetmp/aftnotelist/lattrmcnts");
  119. txt_lattrmetc.value = model.getValue("/root/aftnotetmp/aftnotelist/lattrmetc");
  120. ipt_datayn_c.VALUE='Y';
  121. }else{
  122. model.setValue("/root/main/aftnote/humnatreduaftnote/datayn","N");
  123. }
  124. misfComboComCdList('R0305', cmb_eduinstnm,'Y');
  125. misfComboComCdList('R0305', cmb_dutinstnm,'Y');
  126. misfComboComCdList('R0281', cmb_anual,'Y');
  127. addComboItem( "cmb_deptcd", "전체", "", "above");
  128. submit("TRRTS02002");
  129. model.removeNodeset(grd_humnatremplist.nodeset);
  130. model.refresh();
  131. ]]>
  132. </script>
  133. <submission id="TRRTS02001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/dgnoref"/>
  134. <submission id="TRRTS02002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/tisdgno"/>
  135. <submission id="TRRTS02003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/inddgno"/>
  136. <submission id="TRRTS02004" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/humnatrscorlist"/>
  137. <submission id="TRRTS00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/deptcd" resultref="/root/main/tisorddeptcdlist"/>
  138. </model>
  139. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  140. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  141. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  142. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  143. <script type="javascript" src="../../../mis/tistrngeducplanmngtweb/js/SMRTS00500.js"/>
  144. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  145. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  146. <script type="javascript">
  147. <![CDATA[
  148. function fSetEducdd()
  149. {
  150. grd_dgnolist.nodeset = "/root/main/tisdgno/tisdgnolist[dgno='"+ipt_dgno.value+"']";
  151. grd_dgnolist.refresh();
  152. ipt_educfromdd.value = grd_dgnolist.valueMatrix(1, grd_dgnolist.colRef("educfromdd"));
  153. ipt_educfromdd.refresh();
  154. ipt_eductodd.value = grd_dgnolist.valueMatrix(1,grd_dgnolist.colRef("eductodd"));
  155. ipt_eductodd.refresh();
  156. }
  157. ]]>
  158. </script>
  159. </xhtml:head>
  160. <xhtml:body>
  161. <group id="group1" style="left:0px; top:0px; width:850px; height:13px; ">
  162. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">사랑나눔교육 후기 등록</caption>
  163. </group>
  164. <group id="group2" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
  165. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:5px; width:1195px; height:61px; background-color:#fffbf2; border-color:#ffd799; "/>
  166. <caption id="caption1" class="search_name" style="left:340px; top:13px; width:94px; height:17px; ">교육기간 :</caption>
  167. <caption id="caption2" class="search_name" style="left:600px; top:13px; width:117px; height:17px; ">교육 참가병원 :</caption>
  168. <caption id="caption5" class="search_name" style="left:845px; top:13px; width:86px; height:17px; ">사 번 :</caption>
  169. <caption id="cap_dgno" class="search_name" style="left:179px; top:14px; width:94px; height:17px; ">교육차수 :</caption>
  170. <caption id="caption15" style="left:508px; top:15px; width:16px; height:17px; font-weight:bold; ">~</caption>
  171. <caption id="caption8" class="search_name" style="left:340px; top:39px; width:94px; height:17px; ">임 상 과 :</caption>
  172. <caption id="caption9" class="search_name" style="left:600px; top:39px; width:114px; height:17px; ">현 근무병원 :</caption>
  173. <caption id="cap_yy" class="search_name" style="left:5px; top:13px; width:86px; height:17px; ">교육년도 :</caption>
  174. <caption id="caption3" class="search_name" style="left:5px; top:39px; width:86px; height:17px; ">년 차 :</caption>
  175. <caption id="caption4" class="search_name" style="left:180px; top:39px; width:94px; height:17px; ">성 별 :</caption>
  176. <input id="ipt_yy" ref="/root/send/req/yy" inputtype="date" format="yyyy" style="left:94px; top:13px; width:76px; height:19px; text-align:center; ">
  177. <script type="javascript" ev:event="xforms-value-changed">
  178. <![CDATA[
  179. submit("TRRTS02003");
  180. fSetEducdd();
  181. submit("TRRTS02002")
  182. ]]>
  183. </script>
  184. </input>
  185. <select1 id="cmb_anual" ref="/root/send/req/anual" class="combo_s" appearance="minimal" style="left:94px; top:38px; width:76px; height:19px; ">
  186. <choices>
  187. <itemset>
  188. <label/>
  189. <value/>
  190. </itemset>
  191. </choices>
  192. </select1>
  193. <select1 id="cmb_gndr" ref="/root/send/req/gndr" class="combo_s" appearance="minimal" style="left:270px; top:38px; width:60px; height:19px; ">
  194. <choices>
  195. <item>
  196. <label>전체</label>
  197. <value/>
  198. </item>
  199. <item>
  200. <label>남</label>
  201. <value>M</value>
  202. </item>
  203. <item>
  204. <label>여</label>
  205. <value>F</value>
  206. </item>
  207. </choices>
  208. </select1>
  209. <input id="ipt_educfromdd" ref="/root/send/req/educfromdd" class="output_fix" style="left:430px; top:13px; width:75px; height:19px; "/>
  210. <input id="ipt_eductodd" ref="/root/send/req/eductodd" class="output_fix" style="left:520px; top:13px; width:75px; height:19px; "/>
  211. <select1 id="cmb_dutinstnm" ref="/root/send/req/dutinstcd" class="combo_s" appearance="minimal" style="left:720px; top:38px; width:115px; height:19px; ">
  212. <choices>
  213. <itemset>
  214. <label/>
  215. <value/>
  216. </itemset>
  217. </choices>
  218. </select1>
  219. <select1 id="cmb_eduinstnm" ref="/root/send/req/eduinstcd" class="combo_s" appearance="minimal" style="left:720px; top:13px; width:115px; height:19px; ">
  220. <choices>
  221. <itemset>
  222. <label/>
  223. <value/>
  224. </itemset>
  225. </choices>
  226. </select1>
  227. <button id="btn_helppsn" class="icon_search" style="left:1021px; top:14px; width:16px; height:16px; ">
  228. <caption/>
  229. <script type="javascript" ev:event="DOMActivate">
  230. <![CDATA[
  231. rpbfOpenPopUpList("SPRPB00101", ipt_emplno, "emplno,emplnm", "ipt_systemflag","N");
  232. ipt_emplno.refresh();
  233. ipt_emplnm.refresh();
  234. submit("TRRTS02003");
  235. fSetEducdd();
  236. ]]>
  237. </script>
  238. </button>
  239. <input id="ipt_emplnm" ref="/root/send/req/emplnm" class="input_search" style="left:1044px; top:13px; width:126px; height:19px; "/>
  240. <input id="ipt_emplno" ref="/root/send/req/emplno" class="input_search" style="left:935px; top:13px; width:76px; height:19px; "/>
  241. <select1 id="cmb_deptcd" ref="/root/send/req/deptcd" class="combo_search" appearance="minimal" style="left:430px; top:38px; width:165px; height:19px; ">
  242. <choices>
  243. <itemset nodeset="/root/main/tisorddeptcdlist">
  244. <label ref="deptnm"/>
  245. <value ref="deptcd"/>
  246. </itemset>
  247. </choices>
  248. <script type="javascript" ev:event="xforms-value-changed">
  249. <![CDATA[
  250. //fDefaultDeptSetting(cmb_deptcd);
  251. //btn_search.dispatch("DOMActivate");
  252. ]]>
  253. </script>
  254. </select1>
  255. <input id="ipt_dgno" ref="/root/main/inddgno/inddgno/dgno" class="input_fix" style="left:270px; top:13px; width:60px; height:19px; ">
  256. <script type="javascript" ev:event="xforms-value-changed">
  257. <![CDATA[
  258. fSetEducdd();
  259. ]]>
  260. </script>
  261. </input>
  262. <datagrid id="grd_dgnolist" visibility="hidden" caption="차수^교육 시작일^교육 종료일" colsep="^" mergecellsfixedrows="bycolrec" rowsep="|" style="left:845px; top:35px; width:35px; height:20px; ">
  263. <col ref="dgno"/>
  264. <col ref="educfromdd"/>
  265. <col ref="eductodd"/>
  266. </datagrid>
  267. <datagrid id="grd_humnatremplist" nodeset="/root/main/humnatremp/humnatremplist" caption="교육년도^교육차수^교육 시작일^교육 종료일^사번^임상과 ^년차^성명^성별^현근무 병원^교육 참가 병원^평가결과" colsep="^" colwidth="73, 80, 88, 91, 85, 131, 60, 60, 60, 129, 145, 100" dataheight="25" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:0px; top:75px; width:1195px; height:650px; ">
  268. <col ref="yy" style="text-align:center; "/>
  269. <col ref="dgno" style="text-align:center; "/>
  270. <col ref="educfromdd" format="yyyy/mm/dd" style="text-align:center; "/>
  271. <col ref="eductodd" format="yyyy/mm/dd" style="text-align:center; "/>
  272. <col ref="emplno" style="text-align:center; "/>
  273. <col ref="deptnm" style="text-align:left; padding-left:10; "/>
  274. <col ref="anual" style="text-align:center; "/>
  275. <col ref="name" style="text-align:center; "/>
  276. <col ref="gndr" style="text-align:center; "/>
  277. <col ref="dutinstnm" style="text-align:left; padding-left:10; "/>
  278. <col ref="eduinstnm" style="text-align:left; padding-left:10; "/>
  279. <col ref="valuerslt" style="text-align:center; "/>
  280. <script type="javascript" ev:event="onaftersort">
  281. <![CDATA[
  282. grd_humnatremplist.gridToInstance();
  283. ]]>
  284. </script>
  285. <script type="javascript" ev:event="ondblclick">
  286. <![CDATA[
  287. model.setValue("/root/send/valuinfo/yy", grd_humnatremplist.valueMatrix(grd_humnatremplist.row, grd_humnatremplist.colRef("yy")));
  288. model.setValue("/root/send/valuinfo/dgno", grd_humnatremplist.valueMatrix(grd_humnatremplist.row, grd_humnatremplist.colRef("dgno")));
  289. model.setValue("/root/send/valuinfo/dutinstnm", grd_humnatremplist.valueMatrix(grd_humnatremplist.row, grd_humnatremplist.colRef("dutinstnm")));
  290. model.setValue("/root/send/valuinfo/deptnm", grd_humnatremplist.valueMatrix(grd_humnatremplist.row, grd_humnatremplist.colRef("deptnm")));
  291. model.setValue("/root/send/valuinfo/emplno", grd_humnatremplist.valueMatrix(grd_humnatremplist.row, grd_humnatremplist.colRef("emplno")));
  292. setParameter("SMRTS02050_valuinfo", getNodeListCSV(model.instances(0).selectNodes("/root/send/valuinfo")) );
  293. modalUrl("../../../mis/tistrngeducplanmngtweb/xrw/SMRTS02050_사랑나눔교육후기입력.xrw", 1, 0, 0, "", "", "");
  294. ]]>
  295. </script>
  296. </datagrid>
  297. </group>
  298. <group id="grp_btn" ref="/root/init/emplno" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
  299. <input id="ipt_systemflag" ref="/root/init/systemflag" visibility="hidden" style="left:100px; top:5px; width:45px; height:19px; "/>
  300. <button id="button1" class="btn4_letter2" style="left:1130px; top:3px; width:56px; height:22px; ">
  301. <caption>조회</caption>
  302. <script type="javascript" ev:event="DOMActivate">
  303. <![CDATA[
  304. model.setValue("/root/send/req/dgno", model.getValue("/root/main/inddgno/inddgno/dgno"));
  305. model.removenode("/root/main/humnatremp");
  306. submit("TRRTS02004");
  307. ]]>
  308. </script>
  309. </button>
  310. </group>
  311. </xhtml:body>
  312. </xhtml:html>