SMCVB00400_VOC처리재요청내용.xrw 34 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * Name : SMCVB00400_VOC 처리재요청내용
  4. * Summary : VOC 처리재요청내용
  5. * Programmer : 김준규
  6. * Date Written : 2007.10.19
  7. * History :
  8. * Remark :
  9. -->
  10. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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. <vocdata>
  19. <accept>
  20. <clntnm/>
  21. <acptseq/>
  22. <acptdd/>
  23. <genrdd/>
  24. <acpttype/>
  25. <prcsstat/>
  26. <acptkindlrg/>
  27. <acptkindmdl/>
  28. <acptkindsml/>
  29. <acpttitl/>
  30. <acptcnts/>
  31. <acpviewdd/>
  32. <openallyn/>
  33. </accept>
  34. <deptview>
  35. <deptnm/>
  36. <deptcd/>
  37. <empnm/>
  38. <empid/>
  39. </deptview>
  40. </vocdata>
  41. <reqdata>
  42. <list>
  43. <reqlist>
  44. <deptnm/>
  45. <empnm/>
  46. <prcsstat/>
  47. <acptdd/>
  48. <replreqdd/>
  49. <replacptdd/>
  50. <innraprvreqdd/>
  51. <innraprvdd/>
  52. <endreqyn/>
  53. <rereqyn/>
  54. <rereqreasoncd/>
  55. <deptcd/>
  56. <empid/>
  57. <csteamreqcnts/>
  58. <rgstseq/>
  59. <acptseq/>
  60. </reqlist>
  61. </list>
  62. <area>
  63. <reqdeptnm/>
  64. <reqdeptcd/>
  65. <reqempnm/>
  66. <reqempid/>
  67. <reqreplreqdd/>
  68. <reqcsteamreqcnts/>
  69. <reqrereqyn>Y</reqrereqyn>
  70. <reqrereqreasoncd/>
  71. <reqacptdd/>
  72. <reqacptseq/>
  73. <reqrgstseq/>
  74. <savemode>I</savemode>
  75. </area>
  76. </reqdata>
  77. <vocpopup>
  78. <title/>
  79. <contents/>
  80. <inputmode/>
  81. <receive_path/>
  82. </vocpopup>
  83. <vocdeltemp>
  84. <delacptdd/>
  85. <delacptseq/>
  86. <delrgstseq/>
  87. </vocdeltemp>
  88. <temp>
  89. <data>
  90. <srchacptdd1/>
  91. <srchacptdd2/>
  92. <srchacpttypecd/>
  93. <srchprcsstatcd/>
  94. <srchdeptcd/>
  95. <srchdeptnm/>
  96. <srchcintnm/>
  97. <srchpatnm/>
  98. </data>
  99. <key>
  100. <sndacptdd/>
  101. <sndacptseq/>
  102. </key>
  103. </temp>
  104. </main>
  105. <send>
  106. <data/>
  107. </send>
  108. <init>
  109. <C0003list>
  110. <cdid/>
  111. <cdnm/>
  112. </C0003list>
  113. <C0004list>
  114. <cdid/>
  115. <cdnm/>
  116. </C0004list>
  117. <C0005list>
  118. <cdid/>
  119. <cdnm/>
  120. </C0005list>
  121. <C0006list>
  122. <cdid/>
  123. <cdnm/>
  124. </C0006list>
  125. <C0007list>
  126. <cdid/>
  127. <cdnm/>
  128. </C0007list>
  129. <C0008list>
  130. <cdid/>
  131. <cdnm/>
  132. </C0008list>
  133. <C0009list>
  134. <cdid/>
  135. <cdnm/>
  136. </C0009list>
  137. </init>
  138. </root>
  139. </instance>
  140. <submission id="TRCVB00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/temp/key" resultref="/root/main/vocdata"/>
  141. <submission id="TRCVB00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/temp/key" resultref="/root/main/reqdata/list"/>
  142. <submission id="TXCVB00204" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/reqdata/area"/>
  143. <submission id="TXCVB00205" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/vocdeltemp"/>
  144. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="urlencoded-post" replace="instance"/>
  145. </model>
  146. <script type="javascript" ev:event="xforms-ready">
  147. <![CDATA[
  148. submit("TRCVB00201");
  149. if( model.getValue("/root/main/vocdata/accept/acptkindlrg") == "C" ) {
  150. switch (model.getValue("/root/main/vocdata/accept/acptkindmdl")) {
  151. case "ES" :
  152. cmb_AcptKindSml.choices.itemset.attribute("nodeset") = "/root/init/C0005list/C0005";
  153. zbcfGetCodeList( new Array("C0003", "C0004", "C0005"), new Array("/root/init/C0003list", "/root/init/C0004list", "/root/init/C0005list"), true );
  154. break;
  155. case "PS" :
  156. cmb_AcptKindSml.choices.itemset.attribute("nodeset") = "/root/init/C0006list/C0006";
  157. zbcfGetCodeList( new Array("C0003", "C0004", "C0006"), new Array("/root/init/C0003list", "/root/init/C0004list", "/root/init/C0006list"), true );
  158. break;
  159. case "OS" :
  160. cmb_AcptKindSml.choices.itemset.attribute("nodeset") = "/root/init/C0007list/C0007";
  161. zbcfGetCodeList( new Array("C0003", "C0004", "C0007"), new Array("/root/init/C0003list", "/root/init/C0004list", "/root/init/C0007list"), true );
  162. break;
  163. case "NS" :
  164. cmb_AcptKindSml.choices.itemset.attribute("nodeset") = "/root/init/C0008list/C0008";
  165. zbcfGetCodeList( new Array("C0003", "C0004", "C0008"), new Array("/root/init/C0003list", "/root/init/C0004list", "/root/init/C0008list"), true );
  166. break;
  167. case "TS" :
  168. cmb_AcptKindSml.choices.itemset.attribute("nodeset") = "/root/init/C0009list/C0009";
  169. zbcfGetCodeList( new Array("C0003", "C0004", "C0009"), new Array("/root/init/C0003list", "/root/init/C0004list", "/root/init/C0009list"), true );
  170. break;
  171. default :
  172. zbcfGetCodeList( new Array("C0003", "C0004"), new Array("/root/init/C0003list", "/root/init/C0004list"), true );
  173. break;
  174. }
  175. } else {
  176. zbcfGetCodeList( new Array("C0003"), new Array("/root/init/C0003list"), true );
  177. }
  178. if( model.getValue("/root/main/vocdata/accept/prcsstat") != "회신요청" ) {
  179. btn_req.disabled = true;
  180. btn_reqall.disabled = true;
  181. btn_clear.disabled = true;
  182. }
  183. submit("TRCVB00202");
  184. if (grd_reqlist.rows < 2){
  185. btn_reqall.disabled = true;
  186. } else {
  187. }
  188. fCheckAuth();
  189. model.refresh();
  190. ]]>
  191. </script>
  192. <script type="javascript">
  193. <![CDATA[
  194. function fCheckAuth() {
  195. // 권한체크
  196. if (!checkAuth("r")) {
  197. btn_list.disabled = true;
  198. btnsearch_dept.disabled = true;
  199. btnsearch_emp.disabled = true;
  200. btn_clear.disabled = true;
  201. }
  202. if (!checkAuth("x")) {
  203. btn_req.disabled = true;
  204. btn_reqall.disabled = true;
  205. }
  206. if (!checkAuth("p")) {
  207. }
  208. }
  209. ]]>
  210. </script>
  211. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  212. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  213. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  214. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  215. </xhtml:head>
  216. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  217. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  218. <caption id="caption1" class="tit_1" style="left:0px; top:0px; width:151px; height:14px; ">VOC 처리재요청 내용</caption>
  219. </group>
  220. <group id="grp_Accept" style="left:225px; top:23px; width:970px; height:311px; ">
  221. <caption id="caption23" class="tit_2" style="left:5px; top:0px; width:119px; height:13px; ">등록된 접수내역</caption>
  222. <select id="chk_allopen" ref="/root/main/vocdata/accept/openallyn" disabled="true" overflow="visible" appearance="full" disable.background-color="transparent" style="left:814px; top:0px; width:156px; height:19px; font-weight:bold; border-style:none; ">
  223. <choices>
  224. <item>
  225. <label>모든 부서에 내용 공개</label>
  226. <value>Y</value>
  227. </item>
  228. </choices>
  229. </select>
  230. <line id="line8" class="line_1" style="x1:0px; y1:15px; x2:970px; y2:15px; "/>
  231. <line id="line9" class="line_2" style="x1:0px; y1:42px; x2:970px; y2:42px; "/>
  232. <caption id="caption24" class="cell_1" style="left:0px; top:20px; width:105px; height:23px; text-align:center; vertical-align:middle; ">접수일자</caption>
  233. <output id="ipt_AcptViewDD" ref="/root/main/vocdata/accept/acpviewdd" class="output_fix" inputtype="date" style="left:108px; top:21px; width:130px; height:19px; "/>
  234. <caption id="caption25" class="cell_1" style="left:241px; top:20px; width:105px; height:23px; text-align:center; vertical-align:middle; ">접수번호</caption>
  235. <output id="opt_AcptNo" ref="/root/main/vocdata/accept/acptseq" class="output_fix" inputtype="date" style="left:349px; top:21px; width:130px; height:19px; "/>
  236. <caption id="caption26" class="cell_1" style="left:483px; top:20px; width:105px; height:23px; text-align:center; vertical-align:middle; ">접수형태</caption>
  237. <output id="ipt_GenrDD" ref="/root/main/vocdata/accept/genrdd" class="output_fix" style="left:591px; top:21px; width:130px; height:19px; "/>
  238. <caption id="caption2" class="cell_1" style="left:723px; top:20px; width:105px; height:23px; text-align:center; vertical-align:middle; ">민원인</caption>
  239. <output id="ipt_CintNm" ref="/root/main/vocdata/accept/clntnm" class="output_fix" style="left:832px; top:21px; width:130px; height:19px; "/>
  240. <line id="line10" class="line_2" style="x1:0px; y1:66px; x2:970px; y2:66px; "/>
  241. <caption id="caption28" class="cell_1" style="left:0px; top:44px; width:105px; height:23px; text-align:center; vertical-align:middle; ">접수유형</caption>
  242. <select1 id="cmb_AcptKindLrg" ref="/root/main/vocdata/accept/acptkindlrg" class="combo_default" disabled="true" appearance="minimal" style="left:108px; top:45px; width:120px; height:19px; ">
  243. <choices>
  244. <itemset nodeset="/root/init/C0003list/C0003">
  245. <label ref="cdnm"/>
  246. <value ref="cdid"/>
  247. </itemset>
  248. </choices>
  249. </select1>
  250. <select1 id="cmb_AcptKindMdl" ref="/root/main/vocdata/accept/acptkindmdl" class="combo_default" disabled="true" appearance="minimal" style="left:230px; top:45px; width:120px; height:19px; ">
  251. <choices>
  252. <itemset nodeset="/root/init/C0004list/C0004">
  253. <label ref="cdnm"/>
  254. <value ref="cdid"/>
  255. </itemset>
  256. </choices>
  257. </select1>
  258. <select1 id="cmb_AcptKindSml" ref="/root/main/vocdata/accept/acptkindsml" class="combo_default" disabled="true" appearance="minimal" style="left:352px; top:45px; width:127px; height:19px; ">
  259. <choices>
  260. <itemset nodeset="/root/init/C0005list/C0005">
  261. <label ref="cdnm"/>
  262. <value ref="cdid"/>
  263. </itemset>
  264. </choices>
  265. </select1>
  266. <caption id="caption3" class="cell_1" style="left:723px; top:44px; width:105px; height:23px; text-align:center; vertical-align:middle; ">진행상태</caption>
  267. <output id="opt_PrcsStat" ref="/root/main/vocdata/accept/prcsstat" class="output_fix" style="left:832px; top:45px; width:130px; height:19px; "/>
  268. <line id="line12" class="line_2" style="x1:0px; y1:162px; x2:970px; y2:162px; "/>
  269. <caption id="caption29" class="cell_1" style="left:0px; top:68px; width:105px; height:95px; text-align:center; vertical-align:middle; ">
  270. <![CDATA[민원이 제기된
  271. 부서 및 직원]]>
  272. </caption>
  273. <datagrid id="grd_dept" nodeset="/root/main/vocdata/deptview" caption="해당부서^부서코드^해당직원^직원ID^등록순서" colwidth="150, 80, 100, 90, 0" dataheight="23" defaultrows="0" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:108px; top:69px; width:450px; height:93px; ">
  274. <col class="text_center" ref="deptnm"/>
  275. <col class="text_center" ref="deptcd"/>
  276. <col class="text_center" ref="empnm"/>
  277. <col class="text_center" ref="empid"/>
  278. <col ref="rgstseq" visibility="hidden"/>
  279. <script type="javascript" ev:event="ondblclick">
  280. <![CDATA[
  281. var row = grd_dept.row;
  282. var s_deptnm = grd_dept.valueMatrix(row, grd_dept.colRef("deptnm"));
  283. var s_deptcd = grd_dept.valueMatrix(row, grd_dept.colRef("deptcd"));
  284. if ((grd_dept.row > 0) && grd_dept.isCell(event.target)){
  285. model.resetInstanceNode("/root/main/reqdata/area");
  286. model.setValue("/root/main/reqdata/area/savemode", "I");
  287. model.setValue("/root/main/reqdata/area/reqrereqyn", "Y");
  288. model.setValue("/root/main/reqdata/area/reqdeptnm", s_deptnm);
  289. model.setValue("/root/main/reqdata/area/reqdeptcd", s_deptcd);
  290. btn_req.disabled = false;
  291. model.refresh();
  292. } else {
  293. }
  294. ]]>
  295. </script>
  296. </datagrid>
  297. <line id="line13" class="line_2" style="x1:0px; y1:186px; x2:970px; y2:186px; "/>
  298. <caption id="caption33" class="cell_1" style="left:0px; top:164px; width:105px; height:23px; text-align:center; vertical-align:middle; ">제 목</caption>
  299. <output id="ipt_AcptTitl" ref="/root/main/vocdata/accept/acpttitl" class="output_fix" style="left:108px; top:165px; width:850px; height:19px; "/>
  300. <line id="line14" class="line_3" style="x1:0px; y1:309px; x2:970px; y2:309px; "/>
  301. <caption id="caption34" class="cell_1" style="left:0px; top:188px; width:105px; height:122px; text-align:center; vertical-align:middle; ">
  302. <![CDATA[민원 내용]]>
  303. <script type="javascript" ev:event="ondblclick">
  304. <![CDATA[
  305. var s_contents = model.getValue("/root/main/vocdata/accept/acptcnts");
  306. model.setValue("/root/main/vocpopup/title", "민원 내용");
  307. model.setValue("/root/main/vocpopup/contents", s_contents);
  308. open("SPCVD00500", "", "", "", "SPCVD00500", "/root/main/vocpopup", "/root/main/vocpopup");
  309. model.setValue("/root/main/vocpopup/title", "");
  310. model.setValue("/root/main/vocpopup/contents", "");
  311. model.refresh();
  312. ]]>
  313. </script>
  314. </caption>
  315. <textarea id="tar_AcptCnts" ref="/root/main/vocdata/accept/acptcnts" scroll="vertical" editable="false" style="left:108px; top:189px; width:850px; height:118px; "/>
  316. <line id="line16" style="x1:590px; y1:189px; x2:590px; y2:307px; border-color:#c0c0c0; border-style:dotted; "/>
  317. <caption id="caption4" class="cell_1" style="left:483px; top:20px; width:105px; height:23px; text-align:center; vertical-align:middle; ">발생일자</caption>
  318. <caption id="caption5" class="cell_1" style="left:483px; top:44px; width:105px; height:23px; text-align:center; vertical-align:middle; ">접수구분</caption>
  319. <output id="cmb_AcptType" ref="/root/main/vocdata/accept/acpttype" class="output_fix" style="left:591px; top:45px; width:130px; height:19px; "/>
  320. </group>
  321. <group id="grp_reqlist" style="left:225px; top:334px; width:970px; height:155px; ">
  322. <caption id="caption21" class="tit_2" style="left:5px; top:10px; width:341px; height:14px; ">민원담당부서에서 부서 담당자에게 처리요청을 한 목록</caption>
  323. <button id="btn_delReq" class="btn2_letter9" style="left:357px; top:4px; width:119px; height:19px; ">
  324. <caption>임시저장 부서 삭제</caption>
  325. <script type="javascript" ev:event="DOMActivate">
  326. <![CDATA[
  327. var row = grd_reqlist.row;
  328. var check_acptdd = model.getValue("/root/main/vocdata/accept/acptdd") ;
  329. var check_acptseq = model.getValue("/root/main/vocdata/accept/acptseq") ;
  330. var check_rgstseq = grd_reqlist.valueMatrix(row, grd_reqlist.colRef("rgstseq"));
  331. var check_replreqdd = grd_reqlist.valueMatrix(row, grd_reqlist.colRef("replreqdd"));
  332. if ((grd_reqlist.row > 0) && (grd_reqlist.col > 1)){
  333. if (check_rgstseq == ""){
  334. messageBox("선택된 부서가 ","I004");
  335. model.SetFocus("grd_reqlist");
  336. return false;
  337. } else if ((check_rgstseq != "") && (check_replreqdd != "")){
  338. messageBox("선택한 부서는 이미 처리요청을 하였으므로 삭제하실 수 ","I004");
  339. model.SetFocus("grd_reqlist");
  340. return false;
  341. } else {
  342. model.makeValue("/root/main/vocdeltemp/delacptdd", check_acptdd);
  343. model.makeValue("/root/main/vocdeltemp/delacptseq", check_acptseq);
  344. model.makeValue("/root/main/vocdeltemp/delrgstseq", check_rgstseq);
  345. if (submit("TXCVB00205")){
  346. messageBox("선택한 부서에 대한 임시저장내용 삭제가 ", "I002");
  347. submit("TRCVB00202");
  348. model.resetInstanceNode("/root/main/vocdeltemp");
  349. }
  350. model.refresh();
  351. }
  352. } else {
  353. messageBox("선택된 부서가 ","I004");
  354. model.SetFocus("grd_reqlist");
  355. return false;
  356. }
  357. ]]>
  358. </script>
  359. </button>
  360. <button id="btn_reqall" class="btn5_letter9" style="left:848px; top:4px; width:119px; height:19px; ">
  361. <caption>관련 부서 요청 완료</caption>
  362. <script type="javascript" ev:event="DOMActivate">
  363. <![CDATA[
  364. messageBox("처리 재요청의 경우 별도의 관련부서 요청완료 처리를 하실 필요가", "I004");
  365. ]]>
  366. </script>
  367. </button>
  368. <line id="line1" class="line_1" style="x1:0px; y1:25px; x2:970px; y2:25px; "/>
  369. <datagrid id="grd_reqlist" nodeset="/root/main/reqdata/list/reqlist" allowselection="false" caption="담당부서^담당직원^진행상태^접수일자^회신요청일^부서확인일^결재요청일^부서장결재^부서종결^재요청^재요청사유^부서코드^직원ID^의견^등록순서^접수순서" colsep="^" colwidth="150, 85, 90, 90, 90, 90, 90, 90, 75, 60, 0, 0, 0, 0, 0, 0" dataheight="23" defaultrows="0" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:30px; width:970px; height:125px; ">
  370. <col class="text_center" ref="deptnm"/>
  371. <col class="text_center" ref="empnm"/>
  372. <col class="text_center" ref="prcsstat"/>
  373. <col class="text_center" ref="acptdd" format="yyyy-mm-dd"/>
  374. <col class="text_center" ref="replreqdd" format="yyyy-mm-dd"/>
  375. <col class="text_center" ref="replacptdd" format="yyyy-mm-dd"/>
  376. <col class="text_center" ref="innraprvreqdd" format="yyyy-mm-dd"/>
  377. <col class="text_center" ref="innraprvdd" format="yyyy-mm-dd"/>
  378. <col class="text_center" ref="endreqyn"/>
  379. <col class="text_center" ref="rereqyn"/>
  380. <col ref="rereqreasoncd" visibility="hidden"/>
  381. <col class="text_center" ref="deptcd" visibility="hidden"/>
  382. <col class="text_center" ref="empid" visibility="hidden"/>
  383. <col ref="csteamreqcnts" visibility="hidden"/>
  384. <col ref="rgstseq" visibility="hidden"/>
  385. <col ref="acptseq" visibility="hidden"/>
  386. <script type="javascript" ev:event="ondblclick">
  387. <![CDATA[
  388. var row = grd_reqlist.row;
  389. var receive_replreqdd = grd_reqlist.valueMatrix(row, grd_reqlist.colRef("replreqdd"));
  390. var receive_deptnm = grd_reqlist.valueMatrix(row, grd_reqlist.colRef("deptnm"));
  391. var receive_deptcd = grd_reqlist.valueMatrix(row, grd_reqlist.colRef("deptcd"));
  392. var receive_empnm = grd_reqlist.valueMatrix(row, grd_reqlist.colRef("empnm"));
  393. var receive_empid = grd_reqlist.valueMatrix(row, grd_reqlist.colRef("empid"));
  394. var receive_csteamreqcnts = grd_reqlist.valueMatrix(row, grd_reqlist.colRef("csteamreqcnts"));
  395. var receive_rgstseq = grd_reqlist.valueMatrix(row, grd_reqlist.colRef("rgstseq"));
  396. var receive_prcsstat = grd_reqlist.valueMatrix(row, grd_reqlist.colRef("prcsstat"));
  397. var receive_rereqyn = grd_reqlist.valueMatrix(row, grd_reqlist.colRef("rereqyn"));
  398. var receive_rereqreasoncd = grd_reqlist.valueMatrix(row, grd_reqlist.colRef("rereqreasoncd"));
  399. if ((grd_reqlist.row > 0) && grd_reqlist.isCell(event.target)){
  400. model.setValue("/root/main/reqdata/area/reqreplreqdd", receive_replreqdd);
  401. model.setValue("/root/main/reqdata/area/reqdeptnm", receive_deptnm);
  402. model.setValue("/root/main/reqdata/area/reqdeptcd", receive_deptcd);
  403. model.setValue("/root/main/reqdata/area/reqempnm", receive_empnm);
  404. model.setValue("/root/main/reqdata/area/reqempid", receive_empid);
  405. model.setValue("/root/main/reqdata/area/reqcsteamreqcnts", receive_csteamreqcnts);
  406. model.setValue("/root/main/reqdata/area/reqrereqyn", receive_rereqyn);
  407. model.setValue("/root/main/reqdata/area/reqrereqreasoncd", receive_rereqreasoncd);
  408. model.setValue("/root/main/reqdata/area/reqrgstseq", receive_rgstseq);
  409. model.setValue("/root/main/reqdata/area/savemode", "U");
  410. btn_req.disabled = true;
  411. model.refresh();
  412. } else {
  413. }
  414. ]]>
  415. </script>
  416. </datagrid>
  417. </group>
  418. <group id="grp_req" style="left:225px; top:491px; width:970px; height:260px; ">
  419. <caption id="caption11" class="tit_2" style="left:5px; top:10px; width:344px; height:13px; ">민원담당부서에서 부서 담당자에게 처리요청을 한 내용</caption>
  420. <line id="line5" class="line_1" style="x1:0px; y1:25px; x2:970px; y2:25px; "/>
  421. <line id="line6" class="line_2" style="x1:0px; y1:51px; x2:970px; y2:51px; "/>
  422. <caption id="caption12" class="cell_1" style="left:0px; top:30px; width:105px; height:23px; text-align:center; vertical-align:middle; ">요청일자</caption>
  423. <output id="opt_ReplReq" ref="/root/main/reqdata/area/reqreplreqdd" class="output_fix" format="yyyy-mm-dd" appearance="output" style="left:108px; top:31px; width:130px; height:19px; "/>
  424. <caption id="caption13" class="cell_1" style="left:241px; top:30px; width:105px; height:23px; text-align:center; vertical-align:middle; ">담당부서</caption>
  425. <caption id="caption14" class="cell_1" style="left:597px; top:30px; width:105px; height:23px; text-align:center; vertical-align:middle; ">담당직원</caption>
  426. <button id="btnsearch_dept" class="icon_search" style="left:473px; top:33px; width:16px; height:16px; ">
  427. <caption/>
  428. <script type="javascript" ev:event="DOMActivate">
  429. <![CDATA[
  430. var search_term1 = model.getValue("/root/main/reqdata/area/reqdeptcd");
  431. var search_term2 = model.getValue("/root/main/reqdata/area/reqdeptnm");
  432. if (( search_term2 != "") && ( search_term1 == "")) {
  433. var search_condition = "deptnm";
  434. var search_term = search_term2;
  435. } else if ( search_term1 != "") {
  436. var search_condition = "deptcd";
  437. var search_term = search_term1;
  438. } else {
  439. var search_condition = "deptnm";
  440. var search_term = "";
  441. }
  442. var receive_deptcd_path = "/root/main/reqdata/area/reqdeptcd";
  443. var receive_deptnm_path = "/root/main/reqdata/area/reqdeptnm";
  444. setParameter("search_condition", search_condition);
  445. setParameter("search_term", search_term);
  446. setParameter("receive_deptcd_path", receive_deptcd_path);
  447. setParameter("receive_deptnm_path", receive_deptnm_path);
  448. modal("SPCCM00300")
  449. clearParameter("search_condition");
  450. clearParameter("search_term");
  451. clearParameter("receive_deptcd_path");
  452. clearParameter("receive_deptnm_path");
  453. // zbcfOpenInstDeptCodeList(search_condition, search_term, receive_deptcd_path, receive_deptnm_path);
  454. ]]>
  455. </script>
  456. </button>
  457. <input id="ipt_DeptNm" ref="/root/main/reqdata/area/reqdeptnm" class="input_essential" style="left:349px; top:31px; width:120px; height:19px; ">
  458. <script type="javascript" ev:event="onkeyup">
  459. <![CDATA[
  460. inputEnterKey("btnsearch_dept", "DOMActivate");
  461. ]]>
  462. </script>
  463. </input>
  464. <output id="ipt_DeptCd" ref="/root/main/reqdata/area/reqdeptcd" class="output_fix" style="left:492px; top:31px; width:100px; height:19px; "/>
  465. <button id="btnsearch_emp" class="icon_search" style="left:829px; top:32px; width:16px; height:16px; ">
  466. <caption/>
  467. <script type="javascript" ev:event="DOMActivate">
  468. <![CDATA[
  469. if ( model.getValue("/root/main/reqdata/area/reqempid") != "" ){
  470. var search_condition = "empid";
  471. var search_term = model.getValue("/root/main/reqdata/area/reqempid");
  472. } else if ( model.getValue("/root/main/reqdata/area/reqdeptcd") != "" ){
  473. var search_condition = "deptcd";
  474. var search_term = model.getValue("/root/main/reqdata/area/reqdeptcd");
  475. } else {
  476. var search_condition = "empnm";
  477. var search_term = model.getValue("/root/main/reqdata/area/reqempid");
  478. }
  479. // var search_condition = "empid";
  480. // var search_term = model.getValue("/root/main/vocdata/deptview/area/EmpID");
  481. var receive_empid_path = "/root/main/reqdata/area/reqempid";
  482. var receive_empnm_path = "/root/main/reqdata/area/reqempnm";
  483. var receive_deptcd_path = "/root/main/reqdata/area/reqdeptcd";
  484. var receive_deptnm_path = "/root/main/reqdata/area/reqdeptnm";
  485. setParameter("search_condition", search_condition);
  486. setParameter("search_term", search_term);
  487. setParameter("receive_empid_path", receive_empid_path);
  488. setParameter("receive_empnm_path", receive_empnm_path);
  489. setParameter("receive_deptcd_path", receive_deptcd_path);
  490. setParameter("receive_deptnm_path", receive_deptnm_path);
  491. modal("SPCCM00400")
  492. clearParameter("search_condition");
  493. clearParameter("search_term");
  494. clearParameter("receive_empid_path");
  495. clearParameter("receive_empnm_path");
  496. clearParameter("receive_deptcd_path");
  497. clearParameter("receive_deptnm_path");
  498. ]]>
  499. </script>
  500. </button>
  501. <input id="ipt_EmpNm" ref="/root/main/reqdata/area/reqempnm" class="input_essential" editable="false" style="left:705px; top:31px; width:120px; height:19px; ">
  502. <script type="javascript" ev:event="onkeyup">
  503. <![CDATA[
  504. inputEnterKey("btnsearch_emp", "DOMActivate");
  505. ]]>
  506. </script>
  507. </input>
  508. <output id="ipt_EmpId" ref="/root/main/reqdata/area/reqempid" class="output_fix" style="left:848px; top:31px; width:100px; height:19px; "/>
  509. <line id="line11" class="line_3" style="x1:0px; y1:258px; x2:970px; y2:258px; "/>
  510. <line id="line2" class="line_2" style="x1:0px; y1:208px; x2:970px; y2:208px; "/>
  511. <caption id="caption19" class="cell_1" style="left:0px; top:54px; width:105px; height:155px; text-align:center; vertical-align:middle; ">
  512. <![CDATA[민원담당부서
  513. 처리요청의견]]>
  514. <script type="javascript" ev:event="ondblclick">
  515. <![CDATA[
  516. var s_contents = model.getValue("/root/main/reqdata/area/reqcsteamreqcnts");
  517. var receive_path = "/root/main/reqdata/area/reqcsteamreqcnts";
  518. model.setValue("/root/main/vocpopup/title", "민원담당부서\n처리요청의견");
  519. model.setValue("/root/main/vocpopup/contents", s_contents);
  520. model.makeValue("/root/main/vocpopup/inputmode", "i");
  521. model.makeValue("/root/main/vocpopup/receive_path", receive_path);
  522. open("SPCVD00500", "", "", "", "SPCVD00500", "/root/main/vocpopup", "/root/main/vocpopup");
  523. model.setValue("/root/main/vocpopup/title", "");
  524. model.setValue("/root/main/vocpopup/contents", "");
  525. model.setValue("/root/main/vocpopup/inputmode", "");
  526. model.setValue("/root/main/vocpopup/receive_path", "");
  527. model.refresh();
  528. ]]>
  529. </script>
  530. </caption>
  531. <textarea id="tar_Cnts" ref="/root/main/reqdata/area/reqcsteamreqcnts" scroll="vertical" style="left:108px; top:54px; width:850px; height:152px; "/>
  532. <line id="line17" style="x1:590px; y1:54px; x2:590px; y2:206px; border-color:#c0c0c0; border-style:dotted; "/>
  533. <caption id="caption6" class="cell_1" style="left:0px; top:210px; width:105px; height:48px; text-align:center; vertical-align:middle; ">
  534. <![CDATA[재요청 사유
  535. (내부관리용)]]>
  536. <script type="javascript" ev:event="ondblclick">
  537. <![CDATA[
  538. var s_contents = model.getValue("/root/main/reqdata/area/reqrereqreasoncd");
  539. var receive_path = "/root/main/reqdata/area/reqrereqreasoncd";
  540. model.setValue("/root/main/vocpopup/title", "재요청 사유");
  541. model.setValue("/root/main/vocpopup/contents", s_contents);
  542. model.makeValue("/root/main/vocpopup/inputmode", "i");
  543. model.makeValue("/root/main/vocpopup/receive_path", receive_path);
  544. open("SPCVD00500", "", "", "", "SPCVD00500", "/root/main/vocpopup", "/root/main/vocpopup");
  545. model.setValue("/root/main/vocpopup/title", "");
  546. model.setValue("/root/main/vocpopup/contents", "");
  547. model.setValue("/root/main/vocpopup/inputmode", "");
  548. model.setValue("/root/main/vocpopup/receive_path", "");
  549. model.refresh();
  550. ]]>
  551. </script>
  552. </caption>
  553. <select id="chk_rereqyn" ref="/root/main/reqdata/area/reqrereqyn" disabled="true" overflow="visible" appearance="full" disable.background-color="transparent" style="left:110px; top:213px; width:61px; height:15px; font-weight:bold; border-style:none; ">
  554. <choices>
  555. <item>
  556. <label>재요청</label>
  557. <value>Y</value>
  558. </item>
  559. </choices>
  560. </select>
  561. <textarea id="tar_ReReqReasoncd" ref="/root/main/reqdata/area/reqrereqreasoncd" scroll="vertical" maxlength="600" style="left:178px; top:211px; width:780px; height:46px; "/>
  562. </group>
  563. <group id="grp_btn" scroll="auto" style="left:225px; top:751px; width:970px; height:27px; ">
  564. <button id="btn_list" class="btn6_letter2" style="left:0px; top:5px; width:56px; height:22px; ">
  565. <caption>목록</caption>
  566. <script type="javascript" ev:event="DOMActivate">
  567. <![CDATA[
  568. navigate("SMCVB00300", "", "", "", "SMCVB00300", "/root/main/temp", "/root/send");
  569. ]]>
  570. </script>
  571. </button>
  572. <caption id="caption31" class="hand" style="left:100px; top:7px; width:520px; height:17px; ">내용 가운데 있는 점선(- - -)은 보고서 출력시 다음 줄로 넘어가는 기준선입니다.</caption>
  573. <button id="btn_req" class="btn4_letter5" style="left:808px; top:5px; width:92px; height:22px; ">
  574. <caption>처리재요청</caption>
  575. <script type="javascript" ev:event="DOMActivate">
  576. <![CDATA[
  577. var check_acptdd = model.getValue("/root/main/vocdata/accept/acptdd") ;
  578. var check_acptseq = model.getValue("/root/main/vocdata/accept/acptseq") ;
  579. var check_reqdeptcd = model.getValue("/root/main/reqdata/area/reqdeptcd") ;
  580. if (isRequiredControls("ipt_DeptNm", "ipt_DeptCd", "ipt_EmpNm", "ipt_EmpId", "tar_Cnts", "tar_ReReqReasoncd") ){
  581. if (grd_reqlist.rows > 1){
  582. for ( i = 1; i < grd_reqlist.rows; i++) {
  583. if ((grd_reqlist.valueMatrix(i, grd_reqlist.colRef("deptcd")) = check_reqdeptcd) && (grd_reqlist.valueMatrix(i, grd_reqlist.colRef("endreqyn")) != "Y")){
  584. messageBox(i+" 번째 요청 부서와 같은 부서에 대하여 부서종결되지 않은 상태로 처리재요청을 ","E001");
  585. model.SetFocus("ipt_DeptNm");
  586. return false;
  587. }
  588. }
  589. model.setValue("/root/main/reqdata/area/reqacptdd", check_acptdd);
  590. model.setValue("/root/main/reqdata/area/reqacptseq", check_acptseq);
  591. if (submit("TXCVB00204")){
  592. messageBox("담당부서에 대한 처리재요청이 ", "I002");
  593. submit("TRCVB00202");
  594. model.resetInstanceNode("/root/main/reqdata/area");
  595. model.setValue("/root/main/reqdata/area/savemode", "I");
  596. model.setValue("/root/main/reqdata/area/reqrereqyn", "Y");
  597. btn_reqall.disabled = false;
  598. }
  599. } else {
  600. model.setValue("/root/main/reqdata/area/reqacptdd", check_acptdd);
  601. model.setValue("/root/main/reqdata/area/reqacptseq", check_acptseq);
  602. if (submit("TXCVB00204")){
  603. messageBox("담당부서에 대한 처리재요청이 ", "I002");
  604. submit("TRCVB00202");
  605. model.resetInstanceNode("/root/main/reqdata/area");
  606. model.setValue("/root/main/reqdata/area/savemode", "I");
  607. model.setValue("/root/main/reqdata/area/reqrereqyn", "Y");
  608. btn_reqall.disabled = false;
  609. }
  610. }
  611. model.refresh();
  612. }
  613. ]]>
  614. </script>
  615. </button>
  616. <button id="btn_clear" class="btn4_letter3" style="left:902px; top:5px; width:68px; height:22px; ">
  617. <caption>초기화</caption>
  618. <script type="javascript" ev:event="DOMActivate">
  619. <![CDATA[
  620. model.resetInstanceNode("/root/main/reqdata/area");
  621. model.setValue("/root/main/reqdata/area/savemode", "I");
  622. model.setValue("/root/main/reqdata/area/reqrereqyn", "Y");
  623. btn_req.disabled = false;
  624. model.refresh();
  625. ]]>
  626. </script>
  627. </button>
  628. </group>
  629. <import id="import1" overflow="hidden" instancetype="merge" src="./SSCVA00100_LeftTree.xrw" style="left:0px; top:23px; width:215px; height:744px; "/>
  630. <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; "/>
  631. <caption id="caption50" class="hand" style="left:35px; top:540px; width:144px; height:30px; ">VOC 진행 프로세스</caption>
  632. <caption id="caption51" style="left:60px; top:574px; width:115px; height:20px; font-weight:bold; vertical-align:top; line-spacing:7; ">
  633. <![CDATA[(1) 접수완료]]>
  634. <hint>
  635. <![CDATA[
  636. 민원담당부서에서 여러 경로를 통해 접수된 VOC를 민원인
  637. 정보와 함께 등록을 하게 되면【접수완료】상태가 된다.
  638. ]]>
  639. </hint>
  640. </caption>
  641. <caption id="caption52" style="left:60px; top:594px; width:115px; height:20px; font-weight:bold; vertical-align:top; line-spacing:7; ">
  642. <![CDATA[(2) 회신요청]]>
  643. <hint>
  644. <![CDATA[
  645. 민원담당부서 담당자가 "접수완료"된 VOC를 선택하여 담당부서를 정해
  646. 처리 요청을 하게 되면【회신요청】상태가 된다. 이 때 담당부서가 2개
  647. 이상인 경우에 담당부서를 계속해서 지정하여 처리 요청을 할 수 있다.
  648. ]]>
  649. </hint>
  650. </caption>
  651. <caption id="caption53" style="left:60px; top:614px; width:115px; height:20px; font-weight:bold; vertical-align:top; line-spacing:7; ">
  652. <![CDATA[(3) 부서처리중]]>
  653. <hint>
  654. <![CDATA[
  655. 각 부서 담당자가 "회신요청"된 VOC를 선택하여 그 내용을 읽고 『부서 접수 확인』
  656. 버튼을 눌러 해당 VOC 처리를 시작했음을 알리게 되면【부서처리중】상태가 된다.
  657. ]]>
  658. </hint>
  659. </caption>
  660. <caption id="caption54" style="left:60px; top:634px; width:115px; height:21px; font-weight:bold; vertical-align:top; line-spacing:7; ">
  661. <![CDATA[(4) 부서장결재]]>
  662. <hint>
  663. <![CDATA[
  664. 각 부서 담당자가 "부서처리중"인 VOC에 대하여 실제 업무처리를 하고
  665. 부서장에게 결재 요청을 하고 난 뒤 부서장이 의견을 적고 결재 버튼을
  666. 눌러 민원담당부서 담당자에게 회신하게 되면【부서장결재】상태가 된다.
  667. ]]>
  668. </hint>
  669. </caption>
  670. <caption id="caption55" style="left:60px; top:654px; width:115px; height:20px; font-weight:bold; vertical-align:top; line-spacing:7; ">
  671. <![CDATA[(5) 처리완료]]>
  672. <hint>
  673. <![CDATA[
  674. 민원담당부서 담당자가 "부서장결재"인 VOC에 대하여 부서의 처리결과를 판단하여
  675. 그 결과가 미진하거나 또 다른 부서와 관련된다고 판단되면 "재요청 처리"를 할 수 있고,
  676. 제대로 처리되었다고 판단되면 원인분석 및 개선활동을 적고 이후에도 지속적으로 관리
  677. 하여야 하는지 여부를 체크하고 완료처리 버튼을 누르게 되면【처리완료】상태가 된다.
  678. ]]>
  679. </hint>
  680. </caption>
  681. <caption id="caption56" style="left:60px; top:676px; width:115px; height:20px; vertical-align:top; line-spacing:7; ">
  682. <![CDATA[ * 접수취소]]>
  683. <hint>
  684. <![CDATA[
  685. "접수완료"된 VOC는 "회신 요청"을 하기 전에 "접수 취소"를 할 수 있다. 하지만 이미
  686. 프로세스가 진행되어 담당부서로 요청이 들어간 경우에는 접수 취소를 할 수 없게 된다.
  687. ]]>
  688. </hint>
  689. </caption>
  690. <caption id="caption57" style="left:60px; top:696px; width:115px; height:20px; vertical-align:top; line-spacing:7; ">
  691. <![CDATA[ * 자체처리]]>
  692. <hint>
  693. <![CDATA[
  694. "접수완료"된 VOC는 "회신 요청"을 하기 전에 민원담당부서에서 자체적으로 완료처리를 할 수 있다.
  695. 하지만 이미 프로세스가 진행되어 담당부서로 요청이 들어간 경우에는 자체처리를 할 수 없게 된다.
  696. ]]>
  697. </hint>
  698. </caption>
  699. </xhtml:body>
  700. </xhtml:html>