SMMQK00320_지표관리목록조회.xrw 12 KB

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