SMCVA00400_민원인별VOC이력조회.xrw 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * Name : SMCVA00400_민원인별VOC이력조회
  4. * Summary : 민원인별VOC이력조회
  5. * Programmer : 김준규
  6. * Date Written : 2007.01.22
  7. * History : 2007.03.19
  8. * Remark :
  9. -->
  10. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  11. <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">
  12. <xhtml:head>
  13. <xhtml:title>민원인별 VOC 이력현황</xhtml:title>
  14. <model id="model1">
  15. <instance id="instance1">
  16. <root xmlns="">
  17. <main>
  18. <list>
  19. <voclist>
  20. <clntnm/>
  21. <acptseq/>
  22. <acptdd/>
  23. <acpttype/>
  24. <acpttitl/>
  25. <acptkindlrg/>
  26. <prcsstat/>
  27. <patnm/>
  28. <deptnm/>
  29. <deptcd/>
  30. <resdnrgstno1/>
  31. </voclist>
  32. </list>
  33. </main>
  34. <send>
  35. <data>
  36. <srchacptdd1/>
  37. <srchacptdd2/>
  38. <srchacpttypecd/>
  39. <srchprcsstatcd/>
  40. <srchdeptcd/>
  41. <srchdeptnm/>
  42. <srchcintnm/>
  43. <srchpatnm/>
  44. </data>
  45. <key>
  46. <sndacptdd/>
  47. <sndacptseq/>
  48. </key>
  49. </send>
  50. <init>
  51. <C0001list>
  52. <C0001>
  53. <cdid/>
  54. <cdnm>전체</cdnm>
  55. </C0001>
  56. </C0001list>
  57. <C0002list>
  58. <C0002>
  59. <cdid/>
  60. <cdnm>전체</cdnm>
  61. </C0002>
  62. </C0002list>
  63. </init>
  64. </root>
  65. </instance>
  66. <submission id="TRCVA00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data" resultref="/root/main/list"/>
  67. <script type="javascript" ev:event="xforms-ready">
  68. <![CDATA[
  69. model.removeNodeset("/root/main/list");
  70. var reSrchAcptDD1 = model.getValue("/root/send/data/srchacptdd1")
  71. // 처음 검색 팝업을 띄울 때에는 기본 정보를 안 보여주고, 한번 검색 한 이후에는 최종선택한 정보를 기본적으로 가져옴..
  72. if ( reSrchAcptDD1 == "" || reSrchAcptDD1 == null ){
  73. // model.setValue("/root/send/data/srchacptdd1",getCurrentDate().toDate().getAddDate(-31,"D").getDateFormat());
  74. // model.setValue("/root/send/data/srchacptdd2",getCurrentDate());
  75. zbcfGetCodeList( new Array("C0001", "C0002"), new Array("/root/init/C0001list", "/root/init/C0002list"), true );
  76. } else {
  77. submit("TRCVA00103");
  78. model.SetFocus("grd_voclist");
  79. }
  80. fCheckAuth();
  81. model.refresh();
  82. ]]>
  83. </script>
  84. <script type="javascript" ev:event="xforms-model-construct-done">
  85. <![CDATA[
  86. grd_voclist.mergeCol(0) = false;
  87. grd_voclist.mergeCol(4) = false;
  88. grd_voclist.mergeCol(5) = false;
  89. grd_voclist.mergeCol(6) = false;
  90. grd_voclist.mergeCol(7) = false;
  91. grd_voclist.mergeCol(8) = false;
  92. grd_voclist.mergeCol(9) = false;
  93. grd_voclist.mergeCol(10) = false;
  94. grd_voclist.mergeCol(11) = false;
  95. ]]>
  96. </script>
  97. <script type="javascript">
  98. <![CDATA[
  99. function fCheckAuth() {
  100. // 권한체크
  101. if (!checkAuth("r")) {
  102. btnicon_search1.disabled = true;
  103. btn_search.disabled = true;
  104. btn_list.disabled = true;
  105. }
  106. if (!checkAuth("x")) {
  107. btn_insert.disabled = true;
  108. }
  109. if (!checkAuth("p")) {
  110. btn_excsave.disabled = true;
  111. }
  112. }
  113. ]]>
  114. </script>
  115. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="urlencoded-post" replace="instance"/>
  116. </model>
  117. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  118. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  119. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  120. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  121. </xhtml:head>
  122. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  123. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  124. <caption id="caption1" class="tit_1" style="left:0px; top:0px; width:200px; height:14px; ">민원인별 VOC 이력조회</caption>
  125. </group>
  126. <group id="grp_johe" style="left:225px; top:23px; width:970px; height:59px; vertical-align:top; ">
  127. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:970px; height:59px; background-color:#fffbf2; border-color:#ffd799; "/>
  128. <caption id="caption2" class="search_name" style="left:15px; top:9px; width:87px; height:17px; ">접수일자 :</caption>
  129. <input id="ipt_SrchAcptDD1" ref="/root/send/data/srchacptdd1" class="input_search" inputtype="date" style="left:105px; top:8px; width:120px; height:19px; "/>
  130. <caption id="caption3" class="search_no_b" style="left:230px; top:9px; width:12px; height:17px; ">~</caption>
  131. <input id="ipt_SrchAcptDD2" ref="/root/send/data/srchacptdd2" class="input_search" inputtype="date" style="left:245px; top:8px; width:120px; height:19px; "/>
  132. <caption id="caption4" class="search_name" style="left:394px; top:9px; width:87px; height:17px; ">접수구분 :</caption>
  133. <select1 id="cmb_SrchAcptTypeCd" ref="/root/send/data/srchacpttypecd" class="combo_search" appearance="minimal" style="left:483px; top:8px; width:130px; height:19px; ">
  134. <choices>
  135. <itemset nodeset="/root/init/C0001list/C0001">
  136. <label ref="cdnm"/>
  137. <value ref="cdid"/>
  138. </itemset>
  139. </choices>
  140. </select1>
  141. <caption id="caption5" class="search_name" style="left:640px; top:9px; width:87px; height:17px; ">진행사항 :</caption>
  142. <select1 id="cmb_SrchPrcsStatCd" ref="/root/send/data/srchprcsstatcd" class="combo_search" appearance="minimal" style="left:730px; top:8px; width:130px; height:19px; ">
  143. <choices>
  144. <itemset nodeset="/root/init/C0002list/C0002">
  145. <label ref="cdnm"/>
  146. <value ref="cdid"/>
  147. </itemset>
  148. </choices>
  149. </select1>
  150. <caption id="caption6" class="search_name" style="left:15px; top:33px; width:87px; height:17px; ">해당부서 :</caption>
  151. <output id="ipt_SrchDeptCd" ref="/root/send/data/srchdeptcd" class="output_fix" style="left:105px; top:32px; width:80px; height:19px; "/>
  152. <button id="btnicon_search1" class="icon_search" style="left:190px; top:32px; width:16px; height:16px; ">
  153. <caption/>
  154. <script type="javascript" ev:event="DOMActivate">
  155. <![CDATA[
  156. var search_term = model.getValue("/root/send/data/srchdeptcd");
  157. if ( search_term != "") {
  158. var search_condition = "deptcd";
  159. } else {
  160. var search_condition = "deptnm";
  161. }
  162. var receive_deptcd_path = "/root/send/data/srchdeptcd";
  163. var receive_deptnm_path = "/root/send/data/srchdeptnm";
  164. setParameter("search_condition", search_condition);
  165. setParameter("search_term", search_term);
  166. setParameter("receive_deptcd_path", receive_deptcd_path);
  167. setParameter("receive_deptnm_path", receive_deptnm_path);
  168. modal("SPCCM00300")
  169. clearParameter("search_condition");
  170. clearParameter("search_term");
  171. clearParameter("receive_deptcd_path");
  172. clearParameter("receive_deptnm_path");
  173. ]]>
  174. </script>
  175. </button>
  176. <input id="ipt_SrchDeptNm" ref="/root/send/data/srchdeptnm" class="input_search" style="left:210px; top:32px; width:130px; height:19px; "/>
  177. <caption id="caption8" class="search_name" style="left:394px; top:33px; width:87px; height:17px; ">환 자 명 :</caption>
  178. <input id="ipt_SrchPatNm" ref="/root/send/data/srchpatnm" class="input_search" style="left:483px; top:32px; width:130px; height:19px; ">
  179. <script type="javascript" ev:event="onkeyup">
  180. <![CDATA[
  181. inputEnterKey("btn_search", "DOMActivate");
  182. ]]>
  183. </script>
  184. </input>
  185. <caption id="caption7" class="search_name" style="left:640px; top:33px; width:87px; height:17px; ">민 원 인 :</caption>
  186. <input id="ipt_SrchCintNm" ref="/root/send/data/srchcintnm" class="input_search" style="left:730px; top:32px; width:130px; height:19px; ">
  187. <script type="javascript" ev:event="onkeyup">
  188. <![CDATA[
  189. inputEnterKey("btn_search", "DOMActivate");
  190. ]]>
  191. </script>
  192. </input>
  193. <line id="line1" class="line_4" style="x1:883px; y1:7px; x2:883px; y2:53px; "/>
  194. <button id="btn_search" class="btn1_letter2" style="left:898px; top:17px; width:56px; height:22px; ">
  195. <caption>조회</caption>
  196. <script type="javascript" ev:event="DOMActivate">
  197. <![CDATA[
  198. var reSrchAcptDD1 = model.getValue("/root/send/data/srchacptdd1");
  199. var reSrchAcptDD2 = model.getValue("/root/send/data/srchacptdd2");
  200. var reSrchAcptTypeCd = model.getValue("/root/send/data/srchacpttypecd");
  201. var reSrchPrcsStatCd = model.getValue("/root/send/data/srchprcsstatcd");
  202. var reSrchDeptCd = model.getValue("/root/send/data/srchdeptcd");
  203. var reSrchDeptNm = model.getValue("/root/send/data/srchdeptnm");
  204. var reSrchCintNm = model.getValue("/root/send/data/srchcintnm");
  205. var reSrchPatNm = model.getValue("/root/send/data/srchpatnm");
  206. if ( (reSrchAcptDD1 == "" || reSrchAcptDD1 == null) && (reSrchAcptDD2 == "" || reSrchAcptDD2 == null) && (reSrchAcptTypeCd == "" || reSrchAcptTypeCd == null) && (reSrchPrcsStatCd == "" || reSrchPrcsStatCd == null) && (reSrchDeptCd == "" || reSrchDeptCd == null) && (reSrchDeptNm == "" || reSrchDeptNm == null) && (reSrchCintNm == "" || reSrchCintNm == null) && (reSrchPatNm == "" || reSrchPatNm == null ) ){
  207. messageBox("적어도 하나 이상의 조건을 ", "C002");
  208. } else {
  209. model.removeNodeset("/root/main/list/voclist");
  210. submit("TRCVA00103");
  211. model.SetFocus("grd_voclist");
  212. }
  213. ]]>
  214. </script>
  215. </button>
  216. </group>
  217. <group id="grp_customer" style="left:225px; top:82px; width:970px; height:669px; ">
  218. <caption id="caption9" class="tit_2" style="left:5px; top:10px; width:185px; height:13px; ">민원인별 VOC 이력 목록</caption>
  219. <button id="btn_excsave" class="btn2_letter4" style="left:903px; top:5px; width:64px; height:19px; ">
  220. <caption>엑셀저장</caption>
  221. <script type="javascript" ev:event="DOMActivate">
  222. <![CDATA[
  223. var fileName = window.fileDialog("save", ",", false, "민원인별목록엑셀", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  224. if (fileName != "")
  225. {
  226. grd_voclist.saveExcel(fileName);
  227. }
  228. ]]>
  229. </script>
  230. </button>
  231. <line id="line2" class="line_1" style="x1:0px; y1:25px; x2:970px; y2:25px; "/>
  232. <datagrid id="grd_voclist" nodeset="/root/main/list/voclist" allowselection="false" caption="민원인^생일^접수번호^접수일자^접수구분^제목^접수유형^진행상태^환자명^해당부서" colsep="^" colwidth="70, 70, 70, 70, 70, 300, 70, 70, 75, 75" dataheight="23" defaultrows="0" extendlastcol="scroll" mergecells="byrestriccol" mergecellsfixedrows="bycolrec" rowheader="reverseseq" rowheight="23" rowsep="|" style="left:0px; top:30px; width:970px; height:639px; ">
  233. <col ref="clntnm" style="text-align:center; "/>
  234. <col ref="resdnrgstno1" format="yy-mm-dd" style="text-align:center; "/>
  235. <col ref="acptseq" style="text-align:center; "/>
  236. <col ref="acptdd" style="text-align:center; "/>
  237. <col ref="acpttype" style="text-align:center; "/>
  238. <col ref="acpttitl"/>
  239. <col ref="acptkindlrg" style="text-align:center; "/>
  240. <col ref="prcsstat" style="text-align:center; "/>
  241. <col ref="patnm" style="text-align:center; "/>
  242. <col ref="deptnm"/>
  243. <script type="javascript" ev:event="ondblclick">
  244. <![CDATA[
  245. var row = grd_voclist.row;
  246. var receive_acptdd = grd_voclist.valueMatrix(row, grd_voclist.colRef("acptdd"));
  247. var receive_acptseq = grd_voclist.valueMatrix(row, grd_voclist.colRef("acptseq"));
  248. if ((grd_voclist.row > 0) && grd_voclist.isCell(event.target)){
  249. model.setValue("/root/send/key/sndacptdd", receive_acptdd);
  250. model.setValue("/root/send/key/sndacptseq", receive_acptseq);
  251. navigate("SMCVA00300", "", "", "", "SMCVA00300", "/root/send", "/root/main/temp");
  252. } else {
  253. }
  254. ]]>
  255. </script>
  256. </datagrid>
  257. </group>
  258. <group id="grp_btn" scroll="auto" style="left:225px; top:751px; width:970px; height:27px; ">
  259. <caption id="caption20" class="hand" style="left:100px; top:7px; width:600px; height:17px; ">민원인별 VOC 이력 조회에서는 VOC 접수 전체 내역을 민원인 이름 순으로 보실 수 있습니다.</caption>
  260. <button id="btn_list" class="btn4_letter5" style="left:819px; top:5px; width:92px; height:22px; ">
  261. <caption>정보 보기</caption>
  262. <script type="javascript" ev:event="DOMActivate">
  263. <![CDATA[
  264. var row = grd_voclist.row;
  265. var receive_acptdd = grd_voclist.valueMatrix(row, grd_voclist.colRef("acptdd"));
  266. var receive_acptseq = grd_voclist.valueMatrix(row, grd_voclist.colRef("acptseq"));
  267. if ((grd_voclist.row > 0) && (grd_voclist.col > 1)){
  268. model.setValue("/root/send/key/sndacptdd", receive_acptdd);
  269. model.setValue("/root/send/key/sndacptseq", receive_acptseq);
  270. navigate("SMCVA00300", "", "", "", "SMCVA00300", "/root/send", "/root/main/temp");
  271. } else {
  272. messageBox("조회하신 후 목록을 ","C002");
  273. model.SetFocus("grd_voclist");
  274. }
  275. ]]>
  276. </script>
  277. </button>
  278. <button id="btn_insert" class="btn4_letter2" style="left:914px; top:5px; width:56px; height:22px; ">
  279. <caption>등록</caption>
  280. <script type="javascript" ev:event="DOMActivate">
  281. <![CDATA[
  282. navigate("SMCVA00100");
  283. ]]>
  284. </script>
  285. </button>
  286. </group>
  287. <import id="import1" overflow="hidden" instancetype="merge" src="./SSCVA00100_LeftTree.xrw" style="left:0px; top:23px; width:215px; height:744px; "/>
  288. <shape id="rndrctlgnd" class="roundrect_legend" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:24px; top:529px; width:167px; height:200px; background-color:#f2f6ff; border-color:#c8c0fd; "/>
  289. <caption id="caption50" class="hand" style="left:35px; top:540px; width:144px; height:30px; ">VOC 진행 프로세스</caption>
  290. <caption id="caption51" style="left:60px; top:574px; width:115px; height:20px; font-weight:bold; vertical-align:top; line-spacing:7; ">
  291. <![CDATA[(1) 접수완료]]>
  292. <hint>
  293. <![CDATA[
  294. 민원담당부서에서 여러 경로를 통해 접수된 VOC를 민원인
  295. 정보와 함께 등록을 하게 되면【접수완료】상태가 된다.
  296. ]]>
  297. </hint>
  298. </caption>
  299. <caption id="caption52" style="left:60px; top:594px; width:115px; height:20px; font-weight:bold; vertical-align:top; line-spacing:7; ">
  300. <![CDATA[(2) 회신요청]]>
  301. <hint>
  302. <![CDATA[
  303. 민원담당부서 담당자가 "접수완료"된 VOC를 선택하여 담당부서를 정해
  304. 처리 요청을 하게 되면【회신요청】상태가 된다. 이 때 담당부서가 2개
  305. 이상인 경우에 담당부서를 계속해서 지정하여 처리 요청을 할 수 있다.
  306. ]]>
  307. </hint>
  308. </caption>
  309. <caption id="caption53" style="left:60px; top:614px; width:115px; height:20px; font-weight:bold; vertical-align:top; line-spacing:7; ">
  310. <![CDATA[(3) 부서처리중]]>
  311. <hint>
  312. <![CDATA[
  313. 각 부서 담당자가 "회신요청"된 VOC를 선택하여 그 내용을 읽고 『부서 접수 확인』
  314. 버튼을 눌러 해당 VOC 처리를 시작했음을 알리게 되면【부서처리중】상태가 된다.
  315. ]]>
  316. </hint>
  317. </caption>
  318. <caption id="caption54" style="left:60px; top:634px; width:115px; height:21px; font-weight:bold; vertical-align:top; line-spacing:7; ">
  319. <![CDATA[(4) 부서장결재]]>
  320. <hint>
  321. <![CDATA[
  322. 각 부서 담당자가 "부서처리중"인 VOC에 대하여 실제 업무처리를 하고
  323. 부서장에게 결재 요청을 하고 난 뒤 부서장이 의견을 적고 결재 버튼을
  324. 눌러 민원담당부서 담당자에게 회신하게 되면【부서장결재】상태가 된다.
  325. ]]>
  326. </hint>
  327. </caption>
  328. <caption id="caption55" style="left:60px; top:654px; width:115px; height:20px; font-weight:bold; vertical-align:top; line-spacing:7; ">
  329. <![CDATA[(5) 처리완료]]>
  330. <hint>
  331. <![CDATA[
  332. 민원담당부서 담당자가 "부서장결재"인 VOC에 대하여 부서의 처리결과를 판단하여
  333. 그 결과가 미진하거나 또 다른 부서와 관련된다고 판단되면 "재요청 처리"를 할 수 있고,
  334. 제대로 처리되었다고 판단되면 원인분석 및 개선활동을 적고 이후에도 지속적으로 관리
  335. 하여야 하는지 여부를 체크하고 완료처리 버튼을 누르게 되면【처리완료】상태가 된다.
  336. ]]>
  337. </hint>
  338. </caption>
  339. <caption id="caption56" style="left:60px; top:676px; width:115px; height:20px; vertical-align:top; line-spacing:7; ">
  340. <![CDATA[ * 접수취소]]>
  341. <hint>
  342. <![CDATA[
  343. "접수완료"된 VOC는 "회신 요청"을 하기 전에 "접수 취소"를 할 수 있다. 하지만 이미
  344. 프로세스가 진행되어 담당부서로 요청이 들어간 경우에는 접수 취소를 할 수 없게 된다.
  345. ]]>
  346. </hint>
  347. </caption>
  348. <caption id="caption57" style="left:60px; top:696px; width:115px; height:20px; vertical-align:top; line-spacing:7; ">
  349. <![CDATA[ * 자체처리]]>
  350. <hint>
  351. <![CDATA[
  352. "접수완료"된 VOC는 "회신 요청"을 하기 전에 민원담당부서에서 자체적으로 완료처리를 할 수 있다.
  353. 하지만 이미 프로세스가 진행되어 담당부서로 요청이 들어간 경우에는 자체처리를 할 수 없게 된다.
  354. ]]>
  355. </hint>
  356. </caption>
  357. </xhtml:body>
  358. </xhtml:html>