SMMQK00310_QI활동목록조회.xrw 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298
  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>QI활동목록조회</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <init>
  10. <dept>
  11. <row>
  12. <deptcd/>
  13. <deptnm/>
  14. </row>
  15. </dept>
  16. <mouserght>
  17. <단계SKIP/>
  18. <fSkipProcess/>
  19. </mouserght>
  20. </init>
  21. <main>
  22. <list>
  23. <row>
  24. <acptno/>
  25. <rgstrdd/>
  26. <subj/>
  27. <chfdeptnm/>
  28. <chfhngnm/>
  29. <staffhngnm/>
  30. <prcsstat0/>
  31. <prcsstat1/>
  32. <prcsstat2/>
  33. <prizyn/>
  34. </row>
  35. </list>
  36. </main>
  37. <send>
  38. <cond>
  39. <fromdd/>
  40. <todd/>
  41. <deptnm/>
  42. <prizyn>-</prizyn>
  43. <auth/>
  44. <flag>Q</flag>
  45. <prcsstagecd/>
  46. <prcsstatcd/>
  47. </cond>
  48. <prizyn>
  49. <acptno/>
  50. </prizyn>
  51. <filecond>
  52. <attach>
  53. <file/>
  54. </attach>
  55. <prcsstagecd/>
  56. <flag>Q</flag>
  57. </filecond>
  58. <prizinfo>
  59. <saveinfo/>
  60. </prizinfo>
  61. </send>
  62. <hidden/>
  63. <temp>
  64. <prizinfo/>
  65. </temp>
  66. </root>
  67. </instance>
  68. <script type="javascript" src="../../../emr/qiweb/js/SMMQK00100.js"/>
  69. <script type="javascript" src="../../../emr/qiweb/js/SMMQK00310.js"/>
  70. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  71. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  72. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  73. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  74. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  75. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  76. <script type="javascript" ev:event="xforms-ready">
  77. <![CDATA[
  78. fInitialize();
  79. ]]>
  80. </script>
  81. <submission id="TRMQK00310" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list/row"/>
  82. <submission id="TRMQK00301" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/init/dept/row"/>
  83. <submission id="TXMQK00310" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/prizinfo/saveinfo"/>
  84. <submission id="TXMQK00301" mediatype="multipart/form-data" method="form-data-post" ref="/root/send/filecond" resultref="/root/hidden"/>
  85. <submission id="TXMQK00311" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/cond"/>
  86. </model>
  87. </xhtml:head>
  88. <xhtml:body guideline="2,-4;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  89. <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  90. <line id="line1" class="line_1" style="x1:0px; y1:75px; x2:1193px; y2:75px; "/>
  91. <group id="grp_sea" style="left:0px; top:5px; width:1194px; height:37px; vertical-align:top; ">
  92. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:36px; background-color:#fffbf2; border-color:#ffd799; "/>
  93. <caption id="caption8" class="search_name" style="left:12px; top:8px; width:91px; height:17px; ">등록일자</caption>
  94. <caption id="caption7" class="search_no_b" style="left:188px; top:9px; width:12px; height:17px; ">~</caption>
  95. <caption id="caption2" class="search_name" style="left:291px; top:8px; width:89px; height:17px; ">주무부서 :</caption>
  96. <input id="ipt_fromdd" ref="/root/send/cond/fromdd" class="input_search" inputtype="date" style="left:101px; top:8px; width:85px; height:19px; "/>
  97. <input id="ipt_todd" ref="/root/send/cond/todd" class="input_search" inputtype="date" style="left:201px; top:8px; width:85px; height:19px; "/>
  98. <line id="line2" style="x1:827px; y1:5px; x2:827px; y2:31px; border-color:#ffcc99; "/>
  99. <button id="btn_search" class="btn1_letter2" style="left:840px; top:7px; width:56px; height:22px; ">
  100. <caption>조회</caption>
  101. <script type="javascript" ev:event="DOMActivate">
  102. <![CDATA[
  103. fGetList();
  104. ]]>
  105. </script>
  106. </button>
  107. <select1 id="cmb_prizyn" ref="/root/send/cond/prizyn" class="combo_search" visibility="hidden" appearance="minimal" style="left:621px; top:8px; width:84px; height:19px; ">
  108. <choices>
  109. <item>
  110. <label>전체</label>
  111. <value>-</value>
  112. </item>
  113. <item>
  114. <label>YES</label>
  115. <value>Y</value>
  116. </item>
  117. <item>
  118. <label>NO</label>
  119. <value>N</value>
  120. </item>
  121. </choices>
  122. </select1>
  123. <caption id="cap_prizyn" class="search_name" visibility="hidden" style="left:531px; top:8px; width:91px; height:17px; ">우수사례 :</caption>
  124. <upload id="upload1" nodeset="/root/send/filecond/attach/file" filecount="5" filesize="1048576" validate="true" style="left:784px; top:5px; width:42px; height:20px; "/>
  125. <button id="btn_plan" class="btn5_letter5" visibility="hidden" style="left:903px; top:7px; width:75px; height:19px; ">
  126. <caption>계획서 양식</caption>
  127. <script type="javascript" ev:event="DOMActivate">
  128. <![CDATA[
  129. fFormSave("0");
  130. ]]>
  131. </script>
  132. </button>
  133. <button id="btn_third" class="btn5_letter7" visibility="hidden" style="left:985px; top:7px; width:97px; height:19px; ">
  134. <caption>중간활동 보고서</caption>
  135. <script type="javascript" ev:event="DOMActivate">
  136. <![CDATA[
  137. fFormSave("10");
  138. ]]>
  139. </script>
  140. </button>
  141. <input id="ipt_deptnm" ref="/root/send/cond/deptnm" style="left:377px; top:7px; width:150px; height:19px; "/>
  142. <button id="btn_fifth" class="btn5_letter7" visibility="hidden" style="left:1090px; top:7px; width:97px; height:19px; ">
  143. <caption>최종활동보고서</caption>
  144. <script type="javascript" ev:event="DOMActivate">
  145. <![CDATA[
  146. fFormSave("20");
  147. ]]>
  148. </script>
  149. </button>
  150. </group>
  151. <button id="btn_excel" class="btn2_letter4" style="left:1127px; top:54px; width:64px; height:19px; ">
  152. <caption>엑셀저장</caption>
  153. <script type="javascript" ev:event="DOMActivate">
  154. <![CDATA[
  155. var fileName = window.fileDialog("save", ",", false, "QI활동목록조회" + getCurrentDate(), "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  156. if (fileName != "")
  157. {
  158. grd_list.saveExcel(fileName, "SheetName", true, true, "", "", "false");
  159. }
  160. ]]>
  161. </script>
  162. </button>
  163. <caption id="caption4" class="tit_2" style="left:5px; top:60px; width:113px; height:13px; ">QI활동목록</caption>
  164. <button id="btn_prizyn" class="btn5_letter6" visibility="hidden" style="left:1037px; top:54px; width:86px; height:19px; ">
  165. <caption>포상유무 저장</caption>
  166. <script type="javascript" ev:event="DOMActivate">
  167. <![CDATA[
  168. fPrizynSave();
  169. ]]>
  170. </script>
  171. </button>
  172. <group id="group1" style="left:787px; top:54px; width:245px; height:20px; ">
  173. <caption id="caption1" style="left:102px; top:0px; width:20px; height:20px; ">를</caption>
  174. <caption id="caption3" style="left:173px; top:0px; width:32px; height:20px; ">으로</caption>
  175. <button id="btn_set" class="btn2_letter2" style="left:203px; top:0px; width:42px; height:19px; ">
  176. <caption>수정</caption>
  177. <script type="javascript" ev:event="DOMActivate">
  178. <![CDATA[
  179. if(messageBox("수정하시겠습니까?","S001") != "6"){
  180. return;
  181. }
  182. var row = grd_list.row;
  183. var prcsstat0 = model.getValue("/root/main/list/row["+row+"]/prcsstat0"); //QI활동계획서
  184. var prcsstat1 = model.getValue("/root/main/list/row["+row+"]/prcsstat1"); //중간활동보고서
  185. var prcsstat2 = model.getValue("/root/main/list/row["+row+"]/prcsstat2"); //최종활동보고서
  186. var prcsstagecd = model.getValue("/root/send/cond/prcsstagecd"); //보고서코드
  187. var prcsstatcd = model.getValue("/root/send/cond/prcsstatcd"); //보고서상태
  188. if( row != -1 && row != "" ){
  189. if( prcsstagecd == "0" && ( prcsstat0 == "" || prcsstat0 == "*" )){
  190. messageBox(cmb_prcsstagecd.label+"는 수정","E001");//할 수 없습니다.
  191. return;
  192. }else if( prcsstagecd == "10" && ( prcsstat1 == "" || prcsstat1 == "*" )){
  193. messageBox(cmb_prcsstagecd.label+"는 수정","E001");
  194. return;
  195. }else if( prcsstagecd == "20" && ( prcsstat2 == "" || prcsstat2 == "*" )){
  196. messageBox(cmb_prcsstagecd.label+"는 수정","E001");
  197. return;
  198. }else{
  199. model.makeValue("/root/send/cond/acptno", model.getValue("/root/main/list/row["+row+"]/acptno"));
  200. submit("TXMQK00311");
  201. btn_search.dispatch("DOMActivate");
  202. }
  203. }else{
  204. messageBox("QI활동목록을","C002");//선택하십시오!
  205. }
  206. ]]>
  207. </script>
  208. </button>
  209. <select1 id="cmb_prcsstatcd" ref="/root/send/cond/prcsstatcd" class="combo_search" appearance="minimal" style="left:123px; top:0px; width:50px; height:19px; ">
  210. <choices>
  211. <item>
  212. <label>저장</label>
  213. <value>1</value>
  214. </item>
  215. <item>
  216. <label>전송</label>
  217. <value>2</value>
  218. </item>
  219. <item>
  220. <label>F/B요청</label>
  221. <value>3</value>
  222. </item>
  223. <item>
  224. <label>F/B반영</label>
  225. <value>4</value>
  226. </item>
  227. <item>
  228. <label>마감</label>
  229. <value>5</value>
  230. </item>
  231. </choices>
  232. </select1>
  233. <select1 id="cmb_prcsstagecd" ref="/root/send/cond/prcsstagecd" class="combo_search" appearance="minimal" style="left:3px; top:0px; width:100px; height:19px; ">
  234. <choices>
  235. <item>
  236. <label>QI활동계획서</label>
  237. <value>0</value>
  238. </item>
  239. <item>
  240. <label>중간활동보고서</label>
  241. <value>10</value>
  242. </item>
  243. <item>
  244. <label>최종활동보고서</label>
  245. <value>20</value>
  246. </item>
  247. </choices>
  248. </select1>
  249. </group>
  250. </group>
  251. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">QI활동목록조회</caption>
  252. <datagrid id="grd_list" nodeset="/root/main/list/row" class="datagrid2" caption="접수번호^등록일자^주제명^주무부서^팀장^간사^QI활동&#xA;계획서^중간활동&#xA;보고서^최종활동&#xA;보고서^포상유무^포상 비고^발표형식" colsep="^" colwidth="61, 70, 272, 126, 50, 50, 70, 70, 70, 110, 141, 60" defaultrows="0" explorerbar="sort" frozencols="6" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:93px; width:1193px; height:643px; ">
  253. <col ref="acptno" visibility="visible" style="text-align:center; "/>
  254. <col ref="rgstrdd" format="yyyy-mm-dd"/>
  255. <col ref="subj"/>
  256. <col ref="chfdeptnm"/>
  257. <col ref="chfhngnm" style="text-align:center; "/>
  258. <col ref="staffhngnm" style="text-align:center; "/>
  259. <col ref="prcsstat0" style="text-decoration:underline; color:#3366ff; text-align:center; "/>
  260. <col ref="prcsstat1" style="left:769px; top:23px; width:99px; height:23px; text-decoration:underline; color:#3366ff; text-align:center; "/>
  261. <col ref="prcsstat2" style="text-decoration:underline; color:#3366ff; text-align:center; "/>
  262. <col checkvalue="Y,N" ref="prizyn" type="combo">
  263. <choices>
  264. <itemset nodeset="/root/temp/prizinfo/hardcd">
  265. <label ref="hardcdnm"/>
  266. <value ref="hardcd"/>
  267. </itemset>
  268. </choices>
  269. </col>
  270. <col ref="prizetc" type="input"/>
  271. <col ref="presenttype" type="combo">
  272. <choices>
  273. <item>
  274. <label>구연</label>
  275. <value>N</value>
  276. </item>
  277. <item>
  278. <label>포스터</label>
  279. <value>P</value>
  280. </item>
  281. </choices>
  282. </col>
  283. <script type="javascript" ev:event="onaftersort">
  284. <![CDATA[
  285. grd_list.gridToInstance();
  286. ]]>
  287. </script>
  288. <script type="javascript" ev:event="onclick">
  289. <![CDATA[
  290. fGridOnclick();
  291. ]]>
  292. </script>
  293. </datagrid>
  294. </xhtml:body>
  295. </xhtml:html>