SMCVT00200_부서그룹관리.xrw 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * Name : SMCVT00200_부서그룹관리
  4. * Summary : VOC 부서그룹관리
  5. * Programmer : 김준규
  6. * Date Written : 2007.11.29
  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. <list>
  19. <voclist>
  20. <instnm/>
  21. <groupnm/>
  22. <deptnm/>
  23. <groupcd/>
  24. <deptno/>
  25. <deptcd/>
  26. <psnworksupdeptnm/>
  27. <fstrgstrnm/>
  28. <lastupdtrnm/>
  29. </voclist>
  30. </list>
  31. <deptdata>
  32. <groupnm/>
  33. <groupcd/>
  34. <deptno/>
  35. <deptnm/>
  36. <deptcd/>
  37. <fstrgstrnm/>
  38. <lastupdtrnm/>
  39. <savemode>i</savemode>
  40. </deptdata>
  41. </main>
  42. <send>
  43. <data>
  44. <srchgroupcd/>
  45. <srchdeptnm/>
  46. <instcd/>
  47. </data>
  48. </send>
  49. <init/>
  50. <temp>
  51. <grpcd>
  52. <label>선택</label>
  53. <value/>
  54. </grpcd>
  55. <grpcd>
  56. <label>진료부서</label>
  57. <value>AA</value>
  58. </grpcd>
  59. <grpcd>
  60. <label>간호부서</label>
  61. <value>BB</value>
  62. </grpcd>
  63. <grpcd>
  64. <label>행정부서</label>
  65. <value>CC</value>
  66. </grpcd>
  67. </temp>
  68. </root>
  69. </instance>
  70. <submission id="TRCVT00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data" resultref="/root/main/list"/>
  71. <submission id="TXCVT00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/deptdata"/>
  72. <submission id="TXCVT00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/deptdata"/>
  73. <submission id="TXCVT00203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/deptdata"/>
  74. </model>
  75. <script type="javascript" ev:event="xforms-ready">
  76. <![CDATA[
  77. model.removeNodeset("/root/main/list");
  78. submit("TRCVT00201");
  79. model.SetFocus("grd_voclist");
  80. fCheckAuth();
  81. model.refresh();
  82. ]]>
  83. </script>
  84. <script type="javascript">
  85. <![CDATA[
  86. function fCheckAuth() {
  87. // 권한체크
  88. if (!checkAuth("r")) {
  89. btn_search.disabled = true;
  90. }
  91. if (!checkAuth("x")) {
  92. btn_save.disabled = true;
  93. }
  94. if (!checkAuth("p")) {
  95. btn_excsave.disabled = true;
  96. }
  97. }
  98. // 컨트롤을 초기화한다.
  99. function fInitControl(){
  100. model.setValue("/root/main/deptdata/groupnm", "");
  101. model.setValue("/root/main/deptdata/groupcd", "");
  102. model.setValue("/root/main/deptdata/deptno", "");
  103. model.setValue("/root/main/deptdata/deptnm", "");
  104. model.setValue("/root/main/deptdata/deptcd", "");
  105. model.setValue("/root/main/deptdata/fstrgstrnm", "");
  106. model.setValue("/root/main/deptdata/lastupdtrnm", "");
  107. model.setValue("/root/main/deptdata/savemode", "i");
  108. model.refresh();
  109. }
  110. ]]>
  111. </script>
  112. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  113. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  114. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  115. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  116. </xhtml:head>
  117. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  118. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  119. <caption id="caption1" class="tit_1" style="left:0px; top:0px; width:171px; height:14px; ">VOC 부서 그룹 관리</caption>
  120. </group>
  121. <group id="grp_johe" style="left:225px; top:23px; width:970px; height:35px; vertical-align:top; ">
  122. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:970px; height:35px; "/>
  123. <caption id="caption8" class="search_name" style="left:15px; top:9px; width:86px; height:17px; ">그룹부서 :</caption>
  124. <select1 id="ipt_searchterm" ref="/root/send/data/srchgroupcd" class="combo_default" appearance="minimal" style="left:105px; top:8px; width:140px; height:19px; ">
  125. <choices>
  126. <item>
  127. <label>선 택</label>
  128. <value/>
  129. </item>
  130. <item>
  131. <label>진료부서</label>
  132. <value>AA</value>
  133. </item>
  134. <item>
  135. <label>간호부서</label>
  136. <value>BB</value>
  137. </item>
  138. <item>
  139. <label>행정부서</label>
  140. <value>CC</value>
  141. </item>
  142. </choices>
  143. </select1>
  144. <caption id="caption7" class="search_name" style="left:321px; top:9px; width:86px; height:17px; ">하위부서 :</caption>
  145. <input id="ipt_searchempnm" ref="/root/send/data/srchdeptnm" class="input_search" imemode="hangul" style="left:410px; top:8px; width:140px; height:19px; ">
  146. <script type="javascript" ev:event="onkeyup">
  147. <![CDATA[
  148. inputEnterKey("btn_search", "DOMActivate");
  149. ]]>
  150. </script>
  151. </input>
  152. <line id="line1" class="line_4" style="x1:883px; y1:7px; x2:883px; y2:28px; "/>
  153. <button id="btn_search" class="btn1_letter2" style="left:898px; top:7px; width:56px; height:22px; ">
  154. <caption>조회</caption>
  155. <script type="javascript" ev:event="DOMActivate">
  156. <![CDATA[
  157. if ( ( ipt_searchempnm.value.length > 0 ) && (ipt_searchempnm.value.length < 2) ){
  158. messageBox("하위부서명 검색은 최소 2글자 이상 ", "C001");
  159. model.setFocus("ipt_searchempnm");
  160. } else if ( ( ipt_searchterm.value.length == 0 ) && (ipt_searchempnm.value.length == 0) ){
  161. messageBox("그룹부서를 선택하거나 하위부서명을 ", "C001");
  162. model.setFocus("ipt_searchterm");
  163. } else {
  164. fInitControl();
  165. model.removeNodeset("/root/main/list/voclist");
  166. submit("TRCVT00201");
  167. model.SetFocus("grd_voclist");
  168. }
  169. ]]>
  170. </script>
  171. </button>
  172. </group>
  173. <group id="grp_customer" style="left:225px; top:58px; width:612px; height:707px; ">
  174. <caption id="caption10" class="tit_2" style="left:5px; top:10px; width:134px; height:14px; ">부서 그룹 목록</caption>
  175. <button id="btn_excsave" class="btn2_letter4" style="left:543px; top:5px; width:64px; height:19px; ">
  176. <caption>엑셀저장</caption>
  177. <script type="javascript" ev:event="DOMActivate">
  178. <![CDATA[
  179. var fileName = window.fileDialog("save", ",", false, "부서그룹엑셀", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  180. if (fileName != "")
  181. {
  182. grd_voclist.saveExcel(fileName);
  183. }
  184. ]]>
  185. </script>
  186. </button>
  187. <line id="line2" class="line_1" style="x1:0px; y1:25px; x2:610px; y2:25px; "/>
  188. <datagrid id="grd_voclist" nodeset="/root/main/list/voclist" allowselection="false" caption="기관명^그룹명^하위부서^그룹번호^부서번호^하위부서코드^상위부서^등록자^수정자" colsep="^" colwidth="120, 120, 180, 0, 0, 0, 169, 0, 0" dataheight="23" defaultrows="0" explorerbar="sort" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:30px; width:610px; height:671px; ">
  189. <col class="text_center" ref="instnm"/>
  190. <col class="text_center" ref="groupnm"/>
  191. <col class="text_center" ref="deptnm"/>
  192. <col class="text_center" ref="groupcd" visibility="hidden"/>
  193. <col class="text_center" ref="deptno" visibility="hidden"/>
  194. <col class="text_center" ref="deptcd" visibility="hidden"/>
  195. <col class="text_center" ref="psnworksupdeptnm"/>
  196. <col class="text_center" ref="fstrgstrnm" visibility="hidden"/>
  197. <col class="text_center" ref="lastupdtrnm" visibility="hidden"/>
  198. <script type="javascript" ev:event="ondblclick">
  199. <![CDATA[
  200. var row = grd_voclist.row;
  201. var receive_groupnm = grd_voclist.valueMatrix(row, grd_voclist.colRef("groupnm"));
  202. var receive_groupcd = grd_voclist.valueMatrix(row, grd_voclist.colRef("groupcd"));
  203. var receive_deptnm = grd_voclist.valueMatrix(row, grd_voclist.colRef("deptnm"));
  204. var receive_deptcd = grd_voclist.valueMatrix(row, grd_voclist.colRef("deptcd"));
  205. var receive_deptno = grd_voclist.valueMatrix(row, grd_voclist.colRef("deptno"));
  206. var receive_fstrgstrnm = grd_voclist.valueMatrix(row, grd_voclist.colRef("fstrgstrnm"));
  207. var receive_lastupdtrnm = grd_voclist.valueMatrix(row, grd_voclist.colRef("lastupdtrnm"));
  208. if ((grd_voclist.row > 0) && grd_voclist.isCell(event.target)){
  209. model.setValue("/root/main/deptdata/groupnm", receive_groupnm);
  210. model.setValue("/root/main/deptdata/groupcd", receive_groupcd);
  211. model.setValue("/root/main/deptdata/deptnm", receive_deptnm);
  212. model.setValue("/root/main/deptdata/deptcd", receive_deptcd);
  213. model.setValue("/root/main/deptdata/deptno", receive_deptno);
  214. model.setValue("/root/main/deptdata/fstrgstrnm", receive_fstrgstrnm);
  215. model.setValue("/root/main/deptdata/lastupdtrnm", receive_lastupdtrnm);
  216. model.refresh();
  217. } else {
  218. }
  219. ]]>
  220. </script>
  221. </datagrid>
  222. </group>
  223. <group id="grp_PID" style="left:845px; top:58px; width:350px; height:127px; ">
  224. <caption id="caption2" class="tit_2" style="left:5px; top:10px; width:134px; height:14px; ">하위부서 추가</caption>
  225. <line id="line3" class="line_1" style="x1:0px; y1:25px; x2:350px; y2:25px; "/>
  226. <select1 id="cmb_group" ref="/root/main/deptdata/groupcd" class="combo_essential" appearance="minimal" style="left:108px; top:31px; width:130px; height:19px; ">
  227. <choices>
  228. <itemset nodeset="/root/temp/grpcd">
  229. <label ref="label"/>
  230. <value ref="value"/>
  231. </itemset>
  232. </choices>
  233. <script type="javascript" ev:event="xforms-value-changed">
  234. <![CDATA[
  235. // 콤보에 선택된 값을 가져온다
  236. var index = cmb_group.focusIndex + 1;
  237. // XPath 식을 이용하여 선택된 내용을 뿌려준다.
  238. opt_groupnm.value = model.getValue("/root/temp/grpcd[" + index + "]/label");
  239. model.refresh();
  240. ]]>
  241. </script>
  242. </select1>
  243. <caption id="caption22" class="cell_1" style="left:0px; top:30px; width:105px; height:23px; text-align:center; vertical-align:middle; ">그룹명</caption>
  244. <line id="line4" class="line_2" style="x1:0px; y1:52px; x2:350px; y2:52px; "/>
  245. <caption id="caption14" class="cell_1" style="left:0px; top:54px; width:105px; height:23px; text-align:center; vertical-align:middle; ">하위부서</caption>
  246. <line id="line5" class="line_2" style="x1:0px; y1:76px; x2:350px; y2:76px; "/>
  247. <caption id="caption9" class="cell_1" style="left:0px; top:78px; width:105px; height:23px; text-align:center; vertical-align:middle; ">등록자</caption>
  248. <caption id="caption3" class="cell_1" style="left:0px; top:102px; width:105px; height:23px; text-align:center; vertical-align:middle; ">최종수정자</caption>
  249. <input id="input2" ref="/root/main/deptdata/fstrgstrnm" class="output_fix" editable="false" appearance="input" style="left:108px; top:79px; width:130px; height:19px; "/>
  250. <input id="input6" ref="/root/main/deptdata/lastupdtrnm" class="output_fix" editable="false" appearance="input" style="left:108px; top:103px; width:130px; height:19px; "/>
  251. <line id="line16" class="line_2" style="x1:0px; y1:100px; x2:350px; y2:100px; "/>
  252. <line id="line6" class="line_3" style="x1:0px; y1:124px; x2:350px; y2:124px; "/>
  253. <input id="ipt_DeptNm" ref="/root/main/deptdata/deptnm" class="input_essential" editable="false" imemode="hangul" style="left:108px; top:55px; width:130px; height:19px; ">
  254. <script type="javascript" ev:event="onkeyup">
  255. <![CDATA[
  256. inputEnterKey("btnicon_search6", "DOMActivate");
  257. ]]>
  258. </script>
  259. </input>
  260. <output id="ipt_DeptCd" ref="/root/main/deptdata/deptcd" class="output_fix" visibility="hidden" style="left:260px; top:55px; width:40px; height:19px; "/>
  261. <button id="btnicon_search6" class="icon_search" style="left:240px; top:55px; width:16px; height:16px; ">
  262. <caption/>
  263. <script type="javascript" ev:event="DOMActivate">
  264. <![CDATA[
  265. var search_term = model.getValue("/root/main/deptdata/deptnm");
  266. var search_condition = "deptnm";
  267. var receive_deptcd_path = "/root/main/deptdata/deptcd";
  268. var receive_deptnm_path = "/root/main/deptdata/deptnm";
  269. setParameter("search_condition", search_condition);
  270. setParameter("search_term", search_term);
  271. setParameter("receive_deptcd_path", receive_deptcd_path);
  272. setParameter("receive_deptnm_path", receive_deptnm_path);
  273. modal("SPCVO00600")
  274. clearParameter("search_condition");
  275. clearParameter("search_term");
  276. clearParameter("receive_deptcd_path");
  277. clearParameter("receive_deptnm_path");
  278. // zbcfOpenInstDeptCodeList(search_condition, search_term, receive_deptcd_path, receive_deptnm_path);
  279. ]]>
  280. </script>
  281. </button>
  282. <output id="opt_deptno" ref="/root/main/deptdata/deptno" class="output_fix" visibility="hidden" style="left:260px; top:32px; width:40px; height:19px; "/>
  283. <output id="opt_groupnm" ref="/root/main/deptdata/groupnm" class="output_fix" visibility="hidden" style="left:260px; top:80px; width:40px; height:19px; "/>
  284. </group>
  285. <group id="grp_btn" scroll="auto" style="left:845px; top:270px; width:350px; height:300px; ">
  286. <caption id="caption4" style="left:20px; top:50px; width:320px; height:210px; font-weight:bold; vertical-align:top; ">
  287. <![CDATA[부서그룹 관리에서는
  288. 진료부원장, 간호부장, 행정부원장 등의 경우처럼
  289. 여러 부서의 VOC 내용을 볼 필요가 있는 경우에
  290. 보기를 원하는 부서를 지정하는 기능입니다.
  291. 이 경우 기능을 단순히 조회만 할 수 있도록
  292. 지정해놓았습니다.]]>
  293. </caption>
  294. <caption id="caption5" class="hand" style="left:20px; top:15px; width:102px; height:17px; ">
  295. <![CDATA[알리는 글]]>
  296. </caption>
  297. </group>
  298. <import id="import1" overflow="hidden" instancetype="merge" src="./SSCVO00100_LeftTree.xrw" style="left:0px; top:23px; width:215px; height:744px; "/>
  299. <shape id="rndrctlgnd" class="roundrect_legend" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:24px; top:485px; width:167px; height:244px; background-color:#f2f6ff; border-color:#c8c0fd; "/>
  300. <caption id="caption50" class="hand" style="left:35px; top:500px; width:144px; height:20px; ">VOC 진행 프로세스</caption>
  301. <caption id="caption51" style="left:60px; top:524px; width:115px; height:16px; font-weight:bold; vertical-align:top; line-spacing:7; ">
  302. <![CDATA[(1) 접수]]>
  303. <hint>
  304. <![CDATA[
  305. 민원담당부서에서 여러 경로를 통해 접수된 VOC를 민원인
  306. 정보와 함께 접수 등록을 하게 되면【접수】상태가 된다.
  307. ]]>
  308. </hint>
  309. </caption>
  310. <caption id="caption52" style="left:60px; top:540px; width:115px; height:15px; font-weight:bold; vertical-align:top; line-spacing:7; ">
  311. <![CDATA[(2) 회신요청]]>
  312. <hint>
  313. <![CDATA[
  314. 민원담당부서 담당자가 "접수"된 VOC를 선택하여 처리 요청을
  315. 하게 되면【회신요청】상태가 된다. 이 때 담당부서가 2개 이상인
  316. 경우에 미리 입력한 담당부서에 대하여 처리 요청을 할 수 있다.
  317. ]]>
  318. </hint>
  319. </caption>
  320. <caption id="caption53" style="left:60px; top:556px; width:115px; height:15px; font-weight:bold; vertical-align:top; line-spacing:7; ">
  321. <![CDATA[(3) 부서처리중]]>
  322. <hint>
  323. <![CDATA[
  324. 각 부서 담당자가 "회신요청"된 VOC를 선택하여 그 내용을 읽고 『부서 접수 확인』
  325. 버튼을 눌러 해당 VOC 처리를 시작했음을 알리게 되면【부서처리중】상태가 된다.
  326. ]]>
  327. </hint>
  328. </caption>
  329. <caption id="caption54" style="left:60px; top:572px; width:115px; height:16px; font-weight:bold; vertical-align:top; line-spacing:7; ">
  330. <![CDATA[(4) 담당자회신]]>
  331. <hint>
  332. <![CDATA[
  333. 각 부서 담당자가 "부서처리중"인 VOC에 대하여 실제 업무처리를 하고
  334. 부서장에게 결재 요청을 하고 난 뒤 부서장의 결재를 받아 부서 담당자가
  335. 민원담당부서 담당자에게 회신하게 되면【담당자회신】상태가 된다.
  336. ]]>
  337. </hint>
  338. </caption>
  339. <caption id="caption55" style="left:60px; top:588px; width:115px; height:16px; font-weight:bold; vertical-align:top; line-spacing:7; ">
  340. <![CDATA[(5) 승인요청]]>
  341. <hint>
  342. <![CDATA[
  343. 민원담당부서 담당자가 "담당자회신"인 VOC에 대하여 민원담당부서장
  344. 에게 종결을 위한 부서장 승인 요청을 하면【승인요청】상태가 된다.
  345. ]]>
  346. </hint>
  347. </caption>
  348. <caption id="caption56" style="left:60px; top:604px; width:115px; height:16px; font-weight:bold; vertical-align:top; line-spacing:7; ">
  349. <![CDATA[(6) 부서장승인]]>
  350. <hint>
  351. <![CDATA[
  352. 민원담당부서장은 "승인요청"인 VOC에 대하여 담당 부서별로
  353. 종결을 위한 부서장 승인을 하면【부서장승인】상태가 된다.
  354. ]]>
  355. </hint>
  356. </caption>
  357. <caption id="caption57" style="left:60px; top:620px; width:115px; height:16px; font-weight:bold; vertical-align:top; line-spacing:7; ">
  358. <![CDATA[(7) 종결]]>
  359. <hint>
  360. <![CDATA[
  361. 민원담당부서 담당자가 "부서장승인"인 VOC에 대하여 종결 확인
  362. 버튼을 눌러 부서에 대하여 종결처리를 하면【종결】상태가 된다.
  363. ]]>
  364. </hint>
  365. </caption>
  366. <caption id="caption58" style="left:60px; top:636px; width:115px; height:16px; font-weight:bold; vertical-align:top; line-spacing:7; ">
  367. <![CDATA[(8) 고객회신]]>
  368. <hint>
  369. <![CDATA[
  370. 민원담당부서 담당자가 모든 해당 부서가 종결 또는 임의종결된
  371. 상태에서 민원인에게 그 결과를 알려주고 경과 내용을 입력하고
  372. 고객회신 완료 버튼을 누르게 되면【고객회신】상태가 된다.
  373. ]]>
  374. </hint>
  375. </caption>
  376. <caption id="caption59" style="left:60px; top:652px; width:115px; height:16px; font-weight:bold; vertical-align:top; line-spacing:7; ">
  377. <![CDATA[(9) 처리완료]]>
  378. <hint>
  379. <![CDATA[
  380. 민원담당부서 담당자가 "고객회신"인 VOC에 대하여 처리 경과 등 처리내용을
  381. 적은 후 원인분석 및 개선활동을 적고 이후에도 지속적으로 관리하여야 하는지
  382. 여부를 체크하고 완료처리 버튼을 누르게 되면【처리완료】상태가 된다.
  383. ]]>
  384. </hint>
  385. </caption>
  386. <caption id="caption60" style="left:60px; top:672px; width:115px; height:15px; vertical-align:top; line-spacing:7; ">
  387. <![CDATA[ * 접수취소]]>
  388. <hint>
  389. <![CDATA[
  390. "접수"된 VOC는 "회신 요청"을 하기 전에 "접수 취소"를 할 수 있다. 하지만 이미
  391. 프로세스가 진행되어 담당부서로 요청한 경우에는 접수 취소를 할 수 없게 된다.
  392. ]]>
  393. </hint>
  394. </caption>
  395. <caption id="caption61" style="left:60px; top:688px; width:115px; height:15px; vertical-align:top; line-spacing:7; ">
  396. <![CDATA[ * 자체처리]]>
  397. <hint>
  398. <![CDATA[
  399. "접수"된 VOC는 "회신 요청"을 하기 전에 민원담당부서에서 자체적으로 완료처리를 할 수 있다.
  400. 하지만 이미 프로세스가 진행되어 담당부서로 요청한 경우에는 자체처리를 할 수 없게 된다.
  401. ]]>
  402. </hint>
  403. </caption>
  404. <caption id="caption62" style="left:60px; top:704px; width:115px; height:16px; vertical-align:top; line-spacing:7; ">
  405. <![CDATA[ * 임의종결]]>
  406. <hint>
  407. <![CDATA[
  408. 민원담당부서 담당자가 해당 부서에 "회신요청"을 했음에도 불구하고
  409. 그 부서에서 답변이 없을 때 업무 진행의 효율을 위해서 임의종결 처리를
  410. 하여 그 부서에 대해 종결 처리한 효과와 같은 효과를 줄 수 있다.
  411. ]]>
  412. </hint>
  413. </caption>
  414. <group id="group1" scroll="auto" style="left:845px; top:185px; width:350px; height:27px; ">
  415. <button id="btn_clear" class="btn4_letter2" style="left:162px; top:5px; width:56px; height:22px; ">
  416. <caption>삭제</caption>
  417. <script type="javascript" ev:event="DOMActivate">
  418. <![CDATA[
  419. var s_groupcd = model.getValue("/root/main/deptdata/groupcd");
  420. var s_deptno = model.getValue("/root/main/deptdata/deptno");
  421. if (( s_groupcd == "" ) || ( s_deptno == "" )){
  422. messageBox("조회 후 삭제할 하위부서를.", "C002");
  423. } else {
  424. var rtn = messageBox("선택된 하위부서를 ", "Q001");
  425. if(rtn == 6){
  426. if(submit("TXCVT00202")){
  427. messageBox("선택된 하위부서 삭제가 ", "I002");
  428. fInitControl();
  429. model.removeNodeset("/root/main/list");
  430. submit("TRCVT00201");
  431. }
  432. }
  433. }
  434. model.refresh();
  435. ]]>
  436. </script>
  437. </button>
  438. <button id="btn_save" class="btn4_letter2" style="left:222px; top:5px; width:56px; height:22px; ">
  439. <caption>저장</caption>
  440. <script type="javascript" ev:event="DOMActivate">
  441. <![CDATA[
  442. var s_groupcd = model.getValue("/root/main/deptdata/groupcd");
  443. var s_deptno = model.getValue("/root/main/deptdata/deptno");
  444. var s_deptnm = model.getValue("/root/main/deptdata/deptnm");
  445. var s_deptcd = model.getValue("/root/main/deptdata/deptcd");
  446. var s_savemode= model.getValue("/root/main/deptdata/savemode");
  447. if ( s_groupcd == "" ) {
  448. messageBox("그룹명을 ", "C002");
  449. model.setFocus("cmb_group");
  450. return false;
  451. } else if ( ( s_deptnm == "" ) && ( s_deptcd != "" ) ) {
  452. messageBox("하위부서는 검색을 통해 입력하셔야 합니다. ","I099");
  453. model.setValue("/root/main/deptdata/deptcd", "");
  454. model.setFocus("btnicon_search6");
  455. model.refresh();
  456. } else if ( ( s_deptnm == "" ) ) {
  457. messageBox("하위부서 이름을 ", "C001");
  458. model.setFocus("ipt_DeptNm");
  459. return false;
  460. } else if ( ( s_deptnm != "" ) && ( s_deptcd == "" ) ) {
  461. messageBox("하위부서는 검색을 통해 입력하셔야 합니다. ","I099");
  462. model.setFocus("btnicon_search6");
  463. model.refresh();
  464. }
  465. if (( s_savemode == "i" ) && ( s_deptno == "" )){
  466. if(submit("TXCVT00201")){
  467. messageBox("하위부서 내용이 등록 ", "I002");
  468. fInitControl();
  469. model.removeNodeset("/root/main/list");
  470. submit("TRCVT00201");
  471. }
  472. } else if (( s_savemode != "i" ) && ( s_deptno != "" )){
  473. if(submit("TXCVT00202")){
  474. messageBox("하위부서 내용이 저장 ", "I002");
  475. model.removeNodeset("/root/main/list");
  476. submit("TRCVT00201");
  477. }
  478. }
  479. model.refresh();
  480. ]]>
  481. </script>
  482. </button>
  483. <button id="button2" class="btn4_letter3" style="left:282px; top:5px; width:68px; height:22px; ">
  484. <caption>초기화</caption>
  485. <script type="javascript" ev:event="DOMActivate">
  486. <![CDATA[
  487. fInitControl();
  488. ]]>
  489. </script>
  490. </button>
  491. </group>
  492. </xhtml:body>
  493. </xhtml:html>