SMRTS01000_사랑나눔교육평가등록.xrw 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325
  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>인성교육 평가등록</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <humnatrscor>
  11. <humnatrscorlist/>
  12. </humnatrscor>
  13. <prnlist>
  14. </prnlist>
  15. <photimg/>
  16. </main>
  17. <hidden>
  18. </hidden>
  19. <temp>
  20. </temp>
  21. <init/>
  22. <send>
  23. <req>
  24. <yy/>
  25. <dgno/>
  26. <valuerslt/>
  27. <emplno/>
  28. <entryyn>Y</entryyn>
  29. </req>
  30. <humnatrscorlist/>
  31. </send>
  32. </root>
  33. </instance>
  34. <script type="javascript" ev:event="xforms-ready">
  35. <![CDATA[
  36. misfGridInit(grd_humnatrscorlist);
  37. misfMsterDetailSet(grd_humnatrscorlist, null, "TRRTS01001", "Y");
  38. misfGridComboComCdList("R0256",grd_humnatrscorlist,"valuerslt");
  39. misfComboComCdListMulti("R0256", "cmb_valuerslt");
  40. addComboItem( "cmb_valuerslt", "전체", "", "above");
  41. // misfComboComCdListMulti("R0256", "grd_humnatrscorlist.valuerslt");
  42. var today = getCurrentDate();
  43. var cur_mm = parseInt(today.substring(4, 6));
  44. var cur_yy = parseInt(today.substring(0, 4));
  45. if (cur_mm < 3)
  46. {
  47. cur_yy--;
  48. }
  49. model.setValue("/root/send/req/yy", cur_yy);
  50. submit("TRRTC01301");
  51. addComboItem( "cmb_dgno", "전체", "", "above");
  52. ipt_yy.refresh();
  53. ]]>
  54. </script>
  55. <submission id="TRRTS01001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/humnatrscor"/>
  56. <submission id="TRRTC01301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/humnatreducdgcapalist"/>
  57. <submission id="TXRTS01001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/exe"/>
  58. <submission id="TXRTS01002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/humnatrscorlist" resultref="/root/temp"/>
  59. <submission id="TRRTS01002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/photimg"/>
  60. </model>
  61. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  62. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  63. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  64. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  65. <script type="javascript" src="../../../mis/tistrngeducplanmngtweb/js/SMRTS00600.js"/>
  66. </xhtml:head>
  67. <xhtml:body>
  68. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  69. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">사랑나눔교육 평가등록</caption>
  70. </group>
  71. <group id="group2" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
  72. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:5px; width:1195px; height:36px; background-color:#fffbf2; border-color:#ffd799; "/>
  73. <input id="ipt_yy" ref="/root/send/req/yy" class="input_s_essential" style="left:90px; top:14px; width:55px; height:19px; ">
  74. <script type="javascript" ev:event="xforms-value-changed">
  75. <![CDATA[
  76. submit("TRRTC01301");
  77. addComboItem( "cmb_dgno", "전체", "", "above");
  78. ipt_yy.refresh();
  79. ]]>
  80. </script>
  81. </input>
  82. <caption id="cap_yy" class="search_name" style="left:5px; top:15px; width:86px; height:17px; ">년 도 :</caption>
  83. <button id="btn_search" class="btn1_letter2" style="left:1130px; top:12px; width:56px; height:22px; text-align:left; ">
  84. <caption>조회</caption>
  85. <script type="javascript" ev:event="DOMActivate">
  86. <![CDATA[
  87. if ( !isRequiredControls("ipt_yy") ) {
  88. return false;
  89. }
  90. misfMsterDetailRetrieve();
  91. grd_humnatrscorlist.gridToInstance();
  92. // submit("TRRTS01001");
  93. ]]>
  94. </script>
  95. </button>
  96. <line id="line82" class="line_4" style="x1:1115px; y1:10px; x2:1115px; y2:36px; border-color:#ffe4bb; border-left-style:solid; "/>
  97. <select1 id="cmb_dgno" ref="/root/send/req/dgno" class="combo_s_essential" appearance="minimal" style="left:250px; top:15px; width:100px; height:19px; ">
  98. <choices>
  99. <itemset nodeset="/root/main/humnatreducdgcapalist">
  100. <label ref="dgno"/>
  101. <value ref="value"/>
  102. </itemset>
  103. </choices>
  104. </select1>
  105. <caption id="cap_dgno" class="search_name" style="left:164px; top:16px; width:94px; height:17px; ">교육차수 :</caption>
  106. <caption id="cap_valuerslt" class="search_name" style="left:374px; top:16px; width:94px; height:17px; ">평가결과 :</caption>
  107. <select1 id="cmb_valuerslt" ref="/root/send/req/valuerslt" class="combo_s_essential" appearance="minimal" style="left:460px; top:15px; width:100px; height:19px; ">
  108. <choices>
  109. <itemset>
  110. <label/>
  111. <value/>
  112. </itemset>
  113. </choices>
  114. </select1>
  115. <button id="button1" class="btn2_letter4" style="left:1120px; top:45px; width:64px; height:19px; ">
  116. <caption>엑셀저장</caption>
  117. <script type="javascript" ev:event="DOMActivate">
  118. <![CDATA[
  119. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  120. if (fileName != "") {
  121. grd_humnatrscorlist.saveExcel(fileName, "sheetname:sheet1;colhiddenextend:false;");
  122. }
  123. ]]>
  124. </script>
  125. </button>
  126. <caption id="caption2" class="tit_2" style="left:5px; top:50px; width:228px; height:14px; ">사랑나눔교육 평가 대상자 리스트</caption>
  127. <line id="line1" class="line_1" style="x1:0px; y1:65px; x2:1194px; y2:65px; "/>
  128. <datagrid id="grd_humnatrscorlist" nodeset="/root/main/humnatrscor/humnatrscorlist" caption="년도^교육차수^교육시작일^교육종료일^사번^임상과^년차^성명^성별^현근무병원^교육참석병원^평가 결과^평가 항목^평가 항목^평가 항목^평가 항목^평가 항목^평가 항목^평가자^평가일^평가 장소^평가서(출력)^연락처^이미지|년도^교육차수^교육시작일^교육종료일^사번^임상과^년차^성명^성별^현근무병원^교육참석병원^평가 결과^교육시간&#xA;준수^교육장소&#xA;위치 준수^가족 및 &#xA;타인과의&#xA;유대관계&#xA;^교육 활동 &#xA;이수 사항^숙소 청소&#xA; 및 &#xA;정리 정돈&#xA;^ 특이사항 &#xA;(Text 기재)&#xA;^평가자^평가일^평가 장소^평가서(출력)^연락처^이미지|년도^교육차수^교육시작일^교육종료일^사번^임상과^년차^성명^성별^현근무병원^교육참석병원^평가 결과^교육시간&#xA;준수^교육장소&#xA;위치 준수^가족 및 &#xA;타인과의&#xA;유대관계&#xA;^교육 활동 &#xA;이수 사항^숙소 청소&#xA; 및 &#xA;정리 정돈&#xA;^ 특이사항 &#xA;(Text 기재)&#xA;^평가자^평가일^평가 장소^평가서(출력)^연락처^이미지|년도^교육차수^교육시작일^교육종료일^사번^임상과^년차^성명^성별^현근무병원^교육참석병원^평가 결과^교육시간&#xA;준수^교육장소&#xA;위치 준수^가족 및 &#xA;타인과의&#xA;유대관계&#xA;^교육 활동 &#xA;이수 사항^숙소 청소&#xA; 및 &#xA;정리 정돈&#xA;^ 특이사항 &#xA;(Text 기재)&#xA;^평가자^평가일^평가 장소^평가서(출력)^연락처^이미지|년도^교육차수^교육시작일^교육종료일^사번^임상과^년차^성명^성별^현근무병원^교육참석병원^평가 결과^교육시간&#xA;준수^교육장소&#xA;위치 준수^가족 및 &#xA;타인과의&#xA;유대관계&#xA;^교육 활동 &#xA;이수 사항^숙소 청소&#xA; 및 &#xA;정리 정돈&#xA;^ 특이사항 &#xA;(Text 기재)&#xA;^평가자^평가일^평가 장소^평가서(출력)^연락처^이미지" colsep="^" colwidth="50, 75, 89, 89, 89, 130, 62, 80, 72, 100, 100, 80, 80, 80, 80, 80, 80, 337, 80, 80, 100, 85, 100, 100" dataheight="25" explorerbar="sortshow" frozencols="12" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:0px; top:70; width:1195px; height:660; ">
  129. <col ref="yy" style="left:20px; top:23px; width:50px; height:23px; text-align:center; "/>
  130. <col ref="dgno" style="left:70px; top:25px; width:75px; height:25px; text-align:center; "/>
  131. <col ref="educfromdd" format="yyyy/mm/dd" style="text-align:center; "/>
  132. <col ref="eductodd" format="yyyy/mm/dd" style="text-align:center; "/>
  133. <col ref="emplno" style="text-align:center; "/>
  134. <col ref="deptnm" style="text-align:left; "/>
  135. <col ref="anual" style="text-align:center; "/>
  136. <col ref="name" style="text-align:center; "/>
  137. <col ref="gndr" style="text-align:center; "/>
  138. <col ref="dutinstnm" style="text-align:left; padding-left:10; "/>
  139. <col ref="eduinstnm" style="text-align:left; padding-left:10; "/>
  140. <col ref="valuerslt" type="combo" style="text-align:center; ">
  141. <choices>
  142. <itemset>
  143. <label/>
  144. <value/>
  145. </itemset>
  146. </choices>
  147. </col>
  148. <col ref="eductm" type="combo" style="text-align:center; ">
  149. <choices>
  150. <item>
  151. <label>상</label>
  152. <value>A</value>
  153. </item>
  154. <item>
  155. <label>중</label>
  156. <value>B</value>
  157. </item>
  158. <item>
  159. <label>하</label>
  160. <value>C</value>
  161. </item>
  162. </choices>
  163. </col>
  164. <col ref="educplcepos" type="combo" style="text-align:center; ">
  165. <choices>
  166. <item>
  167. <label>상</label>
  168. <value>A</value>
  169. </item>
  170. <item>
  171. <label>중</label>
  172. <value>B</value>
  173. </item>
  174. <item>
  175. <label>하</label>
  176. <value>C</value>
  177. </item>
  178. </choices>
  179. </col>
  180. <col ref="bandrela" type="combo" style="text-align:center; ">
  181. <choices>
  182. <item>
  183. <label>상</label>
  184. <value>A</value>
  185. </item>
  186. <item>
  187. <label>중</label>
  188. <value>B</value>
  189. </item>
  190. <item>
  191. <label>하</label>
  192. <value>C</value>
  193. </item>
  194. </choices>
  195. </col>
  196. <col ref="educactcmpltcursyn" type="combo" style="text-align:center; ">
  197. <choices>
  198. <item>
  199. <label>상</label>
  200. <value>A</value>
  201. </item>
  202. <item>
  203. <label>중</label>
  204. <value>B</value>
  205. </item>
  206. <item>
  207. <label>하</label>
  208. <value>C</value>
  209. </item>
  210. </choices>
  211. </col>
  212. <col ref="stastilyn" type="combo" style="text-align:center; ">
  213. <choices>
  214. <item>
  215. <label>상</label>
  216. <value>A</value>
  217. </item>
  218. <item>
  219. <label>중</label>
  220. <value>B</value>
  221. </item>
  222. <item>
  223. <label>하</label>
  224. <value>C</value>
  225. </item>
  226. </choices>
  227. </col>
  228. <col ref="spcfdesc" type="input" style="text-align:left; "/>
  229. <col ref="valueid" style="text-align:center; "/>
  230. <col ref="valuedd" style="left:1625px; top:25px; width:80px; height:25px; text-align:center; "/>
  231. <col ref="valuplce" type="input" style="text-align:left; "/>
  232. <col ref="valu" type="inputbutton" style="left:1705px; top:25px; width:100px; height:25px; "/>
  233. <col ref="mpphonno" visibility="hidden" style="left:1705px; top:25px; width:100px; height:25px; "/>
  234. <col ref="photimg" visibility="hidden" style="left:1705px; top:25px; width:100px; height:25px; "/>
  235. <script type="javascript" ev:event="onbuttonclick">
  236. <![CDATA[
  237. model.setValue("/root/send/req/emplno", grd_humnatrscorlist.valueMatrix(grd_humnatrscorlist.row, grd_humnatrscorlist.colRef("emplno")));
  238. //submit("TRRTS01002");
  239. model.resetInstanceNode("/root/main/prnlist");
  240. if(grd_humnatrscorlist.col == grd_humnatrscorlist.colRef("valu")){
  241. model.makeValue("/root/main/prnlist/humnatrscorlist/emplno", grd_humnatrscorlist.valueMatrix(grd_humnatrscorlist.row, grd_humnatrscorlist.colRef("emplno")));
  242. model.makeValue("/root/main/prnlist/humnatrscorlist/name", grd_humnatrscorlist.valueMatrix(grd_humnatrscorlist.row, grd_humnatrscorlist.colRef("name")));
  243. model.makeValue("/root/main/prnlist/humnatrscorlist/deptnm", grd_humnatrscorlist.valueMatrix(grd_humnatrscorlist.row, grd_humnatrscorlist.colRef("deptnm")));
  244. model.makeValue("/root/main/prnlist/humnatrscorlist/dutinstnm", grd_humnatrscorlist.valueMatrix(grd_humnatrscorlist.row, grd_humnatrscorlist.colRef("dutinstnm")));
  245. model.makeValue("/root/main/prnlist/humnatrscorlist/mpphonno", grd_humnatrscorlist.valueMatrix(grd_humnatrscorlist.row, grd_humnatrscorlist.colRef("mpphonno")));
  246. model.makeValue("/root/main/prnlist/humnatrscorlist/dgno", grd_humnatrscorlist.valueMatrix(grd_humnatrscorlist.row, grd_humnatrscorlist.colRef("dgno")));
  247. model.makeValue("/root/main/prnlist/humnatrscorlist/gndr", grd_humnatrscorlist.valueMatrix(grd_humnatrscorlist.row, grd_humnatrscorlist.colRef("gndr")));
  248. model.makeValue("/root/main/prnlist/humnatrscorlist/anual", grd_humnatrscorlist.valueMatrix(grd_humnatrscorlist.row, grd_humnatrscorlist.colRef("anual")));
  249. model.makeValue("/root/main/prnlist/humnatrscorlist/eductm", grd_humnatrscorlist.valueMatrix(grd_humnatrscorlist.row, grd_humnatrscorlist.colRef("eductm")));
  250. model.makeValue("/root/main/prnlist/humnatrscorlist/educplcepos", grd_humnatrscorlist.valueMatrix(grd_humnatrscorlist.row, grd_humnatrscorlist.colRef("educplcepos")));
  251. model.makeValue("/root/main/prnlist/humnatrscorlist/bandrela", grd_humnatrscorlist.valueMatrix(grd_humnatrscorlist.row, grd_humnatrscorlist.colRef("bandrela")));
  252. model.makeValue("/root/main/prnlist/humnatrscorlist/educactcmpltcursyn", grd_humnatrscorlist.valueMatrix(grd_humnatrscorlist.row, grd_humnatrscorlist.colRef("educactcmpltcursyn")));
  253. model.makeValue("/root/main/prnlist/humnatrscorlist/stastilyn", grd_humnatrscorlist.valueMatrix(grd_humnatrscorlist.row, grd_humnatrscorlist.colRef("stastilyn")));
  254. model.makeValue("/root/main/prnlist/humnatrscorlist/photimg", grd_humnatrscorlist.valueMatrix(grd_humnatrscorlist.row, grd_humnatrscorlist.colRef("photimg")));
  255. //model.makeValue("/root/main/prnlist/humnatrscorlist/photimg", model.getValue("/root/main/photimg/photimg/photimg"));
  256. exeReportPreview("RPRTS01502","XMLSTR");
  257. }
  258. ]]>
  259. </script>
  260. </datagrid>
  261. <button id="button2" class="btn2_letter4" style="left:1050px; top:45px; width:64px; height:19px; ">
  262. <caption>일괄출력</caption>
  263. <script type="javascript" ev:event="DOMActivate">
  264. <![CDATA[
  265. model.resetInstanceNode("/root/main/prnlist");
  266. model.makeNode("/root/main/prnlist/humnatrscorlist");
  267. model.copyNode("/root/main/prnlist", "/root/main/humnatrscor");
  268. exeReportPreview("RPRTS01502","XMLSTR");
  269. ]]>
  270. </script>
  271. </button>
  272. <select1 id="rdo_entryyn" ref="/root/send/req/entryyn" class="radio_search" disabled="false" navindex="2" overflow="visible" appearance="full" cellspacing="10" cols="2" itemheight="18" style="left:905px; top:15px; width:200px; height:19px; text-align:left; border-style:hidden; ">
  273. <choices>
  274. <item>
  275. <label>교육확정자</label>
  276. <value>N</value>
  277. </item>
  278. <item>
  279. <label>교육참석자</label>
  280. <value>Y</value>
  281. </item>
  282. </choices>
  283. </select1>
  284. </group>
  285. <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
  286. <button id="btn_save" class="btn4_letter2" style="left:1130; top:3; width:56px; height:22px; ">
  287. <caption>저장</caption>
  288. <script type="javascript" ev:event="DOMActivate">
  289. <![CDATA[
  290. var retMes = messageBox("저장 하시겠습니까?", "Q999");
  291. if ( retMes != 6) {
  292. return;
  293. }
  294. var updtdata = getGridUpdateData(grd_humnatrscorlist);
  295. if (updtdata == "")
  296. {
  297. messageBox("변경된 데이터가","I004");
  298. return;
  299. }
  300. misfSave("TXRTS01002");
  301. ]]>
  302. </script>
  303. </button>
  304. </group>
  305. </xhtml:body>
  306. </xhtml:html>