SMCVA00300_VOC접수내용.xrw 56 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * Name : SMCVA00300_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. <vocdata>
  19. <customer>
  20. <clntnm/>
  21. <resdnrgstno1/>
  22. <resdnrgstno2/>
  23. <pid/>
  24. <patnm/>
  25. <patrela/>
  26. <patphonno/>
  27. <patresdnrgstno1/>
  28. <patresdnrgstno2/>
  29. <zipcd1/>
  30. <zipcd2/>
  31. <zipcdseq/>
  32. <zipcdaddr/>
  33. <detladdr/>
  34. <hometelno/>
  35. <mpphonno/>
  36. <etctelno/>
  37. <emailaddr/>
  38. <gndr/>
  39. </customer>
  40. <accept>
  41. <acptseq/>
  42. <acptdd/>
  43. <genrdd/>
  44. <acpttype/>
  45. <prcsstat/>
  46. <acptkindlrg/>
  47. <acptkindmdl/>
  48. <acptkindsml/>
  49. <acpttitl/>
  50. <acptcnts/>
  51. <selfcnts/>
  52. <acpviewdd/>
  53. <openallyn/>
  54. <selfyn/>
  55. <fstrgstrnm/>
  56. <lastupdtrnm/>
  57. </accept>
  58. <deptview>
  59. <deptnm/>
  60. <deptcd/>
  61. <empnm/>
  62. <empid/>
  63. <rgstseq/>
  64. </deptview>
  65. <deptlist/>
  66. <preself>
  67. <sndacptdd/>
  68. <sndacptseq/>
  69. </preself>
  70. </vocdata>
  71. <vocpopup>
  72. <title/>
  73. <contents/>
  74. <inputmode/>
  75. <receive_path/>
  76. </vocpopup>
  77. <area>
  78. <reqdeptnm/>
  79. <reqdeptcd/>
  80. <reqempnm/>
  81. <reqempid/>
  82. </area>
  83. <temp>
  84. <data>
  85. <srchacptdd1/>
  86. <srchacptdd2/>
  87. <srchacpttypecd/>
  88. <srchprcsstatcd/>
  89. <srchpatnm/>
  90. <srchpid/>
  91. <srchcintnm/>
  92. </data>
  93. <key>
  94. <sndacptdd/>
  95. <sndacptseq/>
  96. </key>
  97. </temp>
  98. </main>
  99. <temp>
  100. <piddata>
  101. <pid/>
  102. <hngnm/>
  103. <rrgstno/>
  104. <mpphontel/>
  105. <hometel/>
  106. <email/>
  107. <lastchosdt/>
  108. <rrgstno1/>
  109. <rrgstno2/>
  110. <sex/>
  111. <zipcd1/>
  112. <zipcd2/>
  113. <zipcdseq/>
  114. <zipcdaddr/>
  115. <detladdr/>
  116. <etctelno1/>
  117. </piddata>
  118. </temp>
  119. <send>
  120. <data>
  121. </data>
  122. </send>
  123. <init>
  124. <C0001list>
  125. <cdid/>
  126. <cdnm/>
  127. </C0001list>
  128. <C0003list>
  129. <cdid/>
  130. <cdnm/>
  131. </C0003list>
  132. <C0004list>
  133. <cdid/>
  134. <cdnm/>
  135. </C0004list>
  136. <C0005list>
  137. <cdid/>
  138. <cdnm/>
  139. </C0005list>
  140. <C0006list>
  141. <cdid/>
  142. <cdnm/>
  143. </C0006list>
  144. <C0007list>
  145. <cdid/>
  146. <cdnm/>
  147. </C0007list>
  148. <C0008list>
  149. <cdid/>
  150. <cdnm/>
  151. </C0008list>
  152. <C0009list>
  153. <cdid/>
  154. <cdnm/>
  155. </C0009list>
  156. <C0010list>
  157. <cdid/>
  158. <cdnm/>
  159. </C0010list>
  160. <C0011list>
  161. <cdid/>
  162. <cdnm/>
  163. </C0011list>
  164. </init>
  165. </root>
  166. </instance>
  167. <submission id="TRCVA00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/vocdata/customer" replace="instance" resultref="/root/temp/piddata"/>
  168. <submission id="TRCVA00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/temp/key" resultref="/root/main/vocdata"/>
  169. <submission id="TXCVA00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/vocdata"/>
  170. <submission id="TXCVA00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/vocdata"/>
  171. <submission id="TXCVA00301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/temp/key"/>
  172. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="urlencoded-post" replace="instance"/>
  173. </model>
  174. <script type="javascript" ev:event="xforms-ready">
  175. <![CDATA[
  176. var reAcptDD = model.getValue("/root/main/temp/key/sndacptdd")
  177. var reAcptSeq = model.getValue("/root/main/temp/key/sndacptseq")
  178. if (( reAcptDD == "" || reAcptDD == null ) || ( reAcptSeq == "" || reAcptSeq == null )) {
  179. var rtn = messageBox("조회에 필요한 항목이 전달되지", "E007");
  180. if(rtn == 1){
  181. navigate("SMCVA00200");
  182. }
  183. } else {
  184. submit("TRCVA00201");
  185. if( model.getValue("/root/main/vocdata/accept/acptkindlrg") == "C" ) {
  186. switch (model.getValue("/root/main/vocdata/accept/acptkindmdl")) {
  187. case "ES" :
  188. cmb_AcptKindSml.choices.itemset.attribute("nodeset") = "/root/init/C0005list/C0005";
  189. zbcfGetCodeList( new Array("C0001", "C0003", "C0004", "C0005", "C0011"), new Array("/root/init/C0001list", "/root/init/C0003list", "/root/init/C0004list", "/root/init/C0005list", "/root/init/C0011list"), true );
  190. break;
  191. case "PS" :
  192. cmb_AcptKindSml.choices.itemset.attribute("nodeset") = "/root/init/C0006list/C0006";
  193. zbcfGetCodeList( new Array("C0001", "C0003", "C0004", "C0006", "C0011"), new Array("/root/init/C0001list", "/root/init/C0003list", "/root/init/C0004list", "/root/init/C0006list", "/root/init/C0011list"), true );
  194. break;
  195. case "OS" :
  196. cmb_AcptKindSml.choices.itemset.attribute("nodeset") = "/root/init/C0007list/C0007";
  197. zbcfGetCodeList( new Array("C0001", "C0003", "C0004", "C0007", "C0011"), new Array("/root/init/C0001list", "/root/init/C0003list", "/root/init/C0004list", "/root/init/C0007list", "/root/init/C0011list"), true );
  198. break;
  199. case "NS" :
  200. cmb_AcptKindSml.choices.itemset.attribute("nodeset") = "/root/init/C0008list/C0008";
  201. zbcfGetCodeList( new Array("C0001", "C0003", "C0004", "C0008", "C0011"), new Array("/root/init/C0001list", "/root/init/C0003list", "/root/init/C0004list", "/root/init/C0008list", "/root/init/C0011list"), true );
  202. break;
  203. case "TS" :
  204. cmb_AcptKindSml.choices.itemset.attribute("nodeset") = "/root/init/C0009list/C0009";
  205. zbcfGetCodeList( new Array("C0001", "C0003", "C0004", "C0009", "C0011"), new Array("/root/init/C0001list", "/root/init/C0003list", "/root/init/C0004list", "/root/init/C0009list", "/root/init/C0011list"), true );
  206. break;
  207. default :
  208. zbcfGetCodeList( new Array("C0001", "C0003", "C0004", "C0011"), new Array("/root/init/C0001list", "/root/init/C0003list", "/root/init/C0004list", "/root/init/C0011list"), true );
  209. break;
  210. }
  211. } else {
  212. zbcfGetCodeList( new Array("C0001", "C0003", "C0011"), new Array("/root/init/C0001list", "/root/init/C0003list", "/root/init/C0011list"), true );
  213. }
  214. if( model.getValue("/root/main/vocdata/accept/prcsstat") != "접수완료" ) {
  215. btn_save.disabled = true;
  216. btn_del.disabled = true;
  217. btn_reqmove.disabled = true;
  218. btn_clear.disabled = true;
  219. }
  220. if( model.getValue("/root/main/vocdata/accept/prcsstat") != "자체처리" ) {
  221. model.makeValue("/root/main/vocdata/accept/selfyn", "");
  222. } else {
  223. model.makeValue("/root/main/vocdata/accept/selfyn", "Y");
  224. }
  225. }
  226. fCheckAuth();
  227. model.refresh();
  228. ]]>
  229. </script>
  230. <script type="javascript">
  231. <![CDATA[
  232. function fCheckAuth() {
  233. // 권한체크
  234. if (!checkAuth("r")) {
  235. btnicon_search2.disabled = true;
  236. btnicon_search3.disabled = true;
  237. btnicon_search4.disabled = true;
  238. btnicon_search5.disabled = true;
  239. btnicon_search6.disabled = true;
  240. btnicon_search7.disabled = true;
  241. }
  242. if (!checkAuth("x")) {
  243. btn_save.disabled = true;
  244. btn_reqmove.disabled = true;
  245. btn_del.disabled = true;
  246. }
  247. if (!checkAuth("p")) {
  248. }
  249. }
  250. ]]>
  251. </script>
  252. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  253. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  254. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  255. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  256. </xhtml:head>
  257. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  258. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  259. <caption id="caption1" class="tit_1" style="left:0px; top:0px; width:117px; height:13px; ">VOC 접수 내용</caption>
  260. </group>
  261. <group id="grp_customer" style="left:225px; top:23px; width:970px; height:197px; ">
  262. <caption id="caption9" class="tit_2" style="left:5px; top:0px; width:145px; height:13px; ">등록된 접수고객정보</caption>
  263. <line id="line2" class="line_1" style="x1:0px; y1:15px; x2:970px; y2:15px; "/>
  264. <line id="line3" class="line_3" style="x1:0px; y1:42px; x2:970px; y2:42px; "/>
  265. <caption id="caption10" class="cell_1" style="left:0px; top:20px; width:105px; height:23px; text-align:center; vertical-align:middle; ">접수번호</caption>
  266. <output id="opt_AcptNo" ref="/root/main/vocdata/accept/acptseq" class="output_fix" appearance="input" style="left:108px; top:21px; width:130px; height:19px; "/>
  267. <line id="line4" class="line_2" style="x1:0px; y1:71px; x2:970px; y2:71px; "/>
  268. <caption id="caption22" class="cell_1" style="left:0px; top:49px; width:105px; height:23px; text-align:center; vertical-align:middle; ">등록번호</caption>
  269. <input id="ipt_PID" ref="/root/main/vocdata/customer/pid" class="input_default" appearance="input" style="left:108px; top:50px; width:112px; height:19px; ">
  270. <script type="javascript" ev:event="onkeyup">
  271. <![CDATA[
  272. if (event.keyCode == '13') {
  273. model.setValue("/root/main/vocdata/customer/pid", ipt_PID.currentText);
  274. //환자등록번호 체크
  275. if(ipt_PID.currentText.length >= 1 ){
  276. if(submit("TRCVA00104")){
  277. if( getNodesetCount("/root/temp/piddata") > 0 ){
  278. var pid_pid = model.getValue("/root/temp/piddata/pid");
  279. var pid_hngnm = model.getValue("/root/temp/piddata/hngnm");
  280. var pid_rrgstno1 = model.getValue("/root/temp/piddata/rrgstno1");
  281. var pid_rrgstno2 = model.getValue("/root/temp/piddata/rrgstno2");
  282. var pid_mpphontel = model.getValue("/root/temp/piddata/mpphontel");
  283. model.setValue("/root/main/vocdata/customer/patnm", pid_hngnm);
  284. // model.setValue("/root/main/vocdata/customer/pid", pid_pid);
  285. model.setValue("/root/main/vocdata/customer/patresdnrgstno1", pid_rrgstno1);
  286. model.setValue("/root/main/vocdata/customer/patresdnrgstno2", pid_rrgstno2);
  287. model.setValue("/root/main/vocdata/customer/patphonno", pid_mpphontel);
  288. model.setFocus("cmb_PatRela");
  289. model.refresh();
  290. }else{
  291. messageBox("존재하지 않는 환자 등록번호 ", "E008");
  292. }
  293. }
  294. }else{
  295. messageBox("환자 등록번호를 정확히", "C001");
  296. }
  297. }
  298. ]]>
  299. </script>
  300. </input>
  301. <button id="btnicon_search3" class="icon_search" style="left:223px; top:50px; width:16px; height:16px; ">
  302. <caption/>
  303. <script type="javascript" ev:event="DOMActivate">
  304. <![CDATA[
  305. var search_condition = "pid";
  306. var search_term = model.getValue("/root/main/vocdata/customer/pid");
  307. var receive_pid_path = "/root/main/vocdata/customer/pid";
  308. var receive_patnm_path = "/root/main/vocdata/customer/patnm";
  309. var receive_resdnrgstno1_path = "/root/main/vocdata/customer/patresdnrgstno1";
  310. var receive_resdnrgstno2_path = "/root/main/vocdata/customer/patresdnrgstno2";
  311. var receive_mpphontel_path = "/root/main/vocdata/customer/patphonno";
  312. var receive_path = "voc";
  313. setParameter("search_condition", search_condition);
  314. setParameter("search_term", search_term);
  315. setParameter("receive_pid_path", receive_pid_path);
  316. setParameter("receive_patnm_path", receive_patnm_path);
  317. setParameter("receive_resdnrgstno1_path", receive_resdnrgstno1_path);
  318. setParameter("receive_resdnrgstno2_path", receive_resdnrgstno2_path);
  319. setParameter("receive_mpphontel_path", receive_mpphontel_path);
  320. setParameter("receive_path", receive_path);
  321. modal("SPCCM00100")
  322. clearParameter("search_condition");
  323. clearParameter("search_term");
  324. clearParameter("receive_pid_path");
  325. clearParameter("receive_patnm_path");
  326. clearParameter("receive_resdnrgstno1_path");
  327. clearParameter("receive_resdnrgstno2_path");
  328. clearParameter("receive_mpphontel_path");
  329. clearParameter("receive_path");
  330. ]]>
  331. </script>
  332. </button>
  333. <caption id="caption21" class="cell_1" style="left:241px; top:49px; width:105px; height:23px; text-align:center; vertical-align:middle; ">환자명</caption>
  334. <input id="ipt_PatNm" ref="/root/main/vocdata/customer/patnm" class="input_default" appearance="input" style="left:349px; top:50px; width:112px; height:19px; ">
  335. <script type="javascript" ev:event="onkeyup">
  336. <![CDATA[
  337. inputEnterKey("btnicon_search4", "DOMActivate");
  338. ]]>
  339. </script>
  340. </input>
  341. <button id="btnicon_search4" class="icon_search" style="left:464px; top:50px; width:16px; height:16px; ">
  342. <caption/>
  343. <script type="javascript" ev:event="DOMActivate">
  344. <![CDATA[
  345. var search_condition = "patnm";
  346. var search_term = model.getValue("/root/main/vocdata/customer/patnm");
  347. var receive_pid_path = "/root/main/vocdata/customer/pid";
  348. var receive_patnm_path = "/root/main/vocdata/customer/patnm";
  349. var receive_resdnrgstno1_path = "/root/main/vocdata/customer/patresdnrgstno1";
  350. var receive_resdnrgstno2_path = "/root/main/vocdata/customer/patresdnrgstno2";
  351. var receive_mpphontel_path = "/root/main/vocdata/customer/patphonno";
  352. var receive_path = "voc";
  353. setParameter("search_condition", search_condition);
  354. setParameter("search_term", search_term);
  355. setParameter("receive_pid_path", receive_pid_path);
  356. setParameter("receive_patnm_path", receive_patnm_path);
  357. setParameter("receive_resdnrgstno1_path", receive_resdnrgstno1_path);
  358. setParameter("receive_resdnrgstno2_path", receive_resdnrgstno2_path);
  359. setParameter("receive_mpphontel_path", receive_mpphontel_path);
  360. setParameter("receive_path", receive_path);
  361. modal("SPCCM00100")
  362. clearParameter("search_condition");
  363. clearParameter("search_term");
  364. clearParameter("receive_pid_path");
  365. clearParameter("receive_patnm_path");
  366. clearParameter("receive_resdnrgstno1_path");
  367. clearParameter("receive_resdnrgstno2_path");
  368. clearParameter("receive_mpphontel_path");
  369. clearParameter("receive_path");
  370. ]]>
  371. </script>
  372. </button>
  373. <caption id="caption4" class="cell_1" style="left:483px; top:49px; width:107px; height:23px; text-align:center; vertical-align:middle; ">환자 주민번호</caption>
  374. <input id="input2" ref="/root/main/vocdata/customer/patresdnrgstno1" class="input_default" maxlength="6" style="left:591px; top:50px; width:59px; height:19px; "/>
  375. <input id="input3" ref="/root/main/vocdata/customer/patresdnrgstno2" class="input_default" maxlength="7" style="left:652px; top:50px; width:69px; height:19px; "/>
  376. <caption id="caption3" class="cell_1" style="left:723px; top:49px; width:105px; height:23px; text-align:center; vertical-align:middle; ">환자 연락처</caption>
  377. <input id="input1" ref="/root/main/vocdata/customer/patphonno" class="input_default" appearance="input" style="left:832px; top:50px; width:130px; height:19px; "/>
  378. <line id="line8" class="line_3" style="x1:0px; y1:95px; x2:970px; y2:95px; "/>
  379. <caption id="caption20" class="cell_1" style="left:0px; top:73px; width:105px; height:23px; text-align:center; vertical-align:middle; ">환자와의 관계</caption>
  380. <select1 id="cmb_PatRela" ref="/root/main/vocdata/customer/patrela" class="combo_default" appearance="minimal" style="left:108px; top:74px; width:130px; height:19px; ">
  381. <choices>
  382. <itemset nodeset="/root/init/C0011list/C0011">
  383. <label ref="cdnm"/>
  384. <value ref="cdid"/>
  385. </itemset>
  386. </choices>
  387. <script type="javascript" ev:event="xforms-select">
  388. <![CDATA[
  389. var change_rela = model.getValue("/root/main/vocdata/customer/patrela");
  390. var rela_patnm = model.getValue("/root/main/vocdata/customer/patnm");
  391. var rela_clntnm = model.getValue("/root/main/vocdata/customer/clntnm");
  392. var pid_hngnm = model.getValue("/root/temp/piddata/hngnm");
  393. var pid_rrgstno1 = model.getValue("/root/temp/piddata/rrgstno1");
  394. var pid_rrgstno2 = model.getValue("/root/temp/piddata/rrgstno2");
  395. var pid_sex = model.getValue("/root/temp/piddata/sex");
  396. var pid_zipcd1 = model.getValue("/root/temp/piddata/zipcd1");
  397. var pid_zipcd2 = model.getValue("/root/temp/piddata/zipcd2");
  398. var pid_zipcdaddr = model.getValue("/root/temp/piddata/zipcdaddr");
  399. var pid_detladdr = model.getValue("/root/temp/piddata/detladdr");
  400. var pid_hometel = model.getValue("/root/temp/piddata/hometel");
  401. var pid_mpphontel = model.getValue("/root/temp/piddata/mpphontel");
  402. var pid_etctelno1 = model.getValue("/root/temp/piddata/etctelno1");
  403. var pid_email = model.getValue("/root/temp/piddata/email");
  404. if ( change_rela == "") {
  405. } else if ( change_rela == "A") {
  406. model.setValue("/root/main/vocdata/customer/clntnm", pid_hngnm);
  407. model.setValue("/root/main/vocdata/customer/resdnrgstno1", pid_rrgstno1);
  408. model.setValue("/root/main/vocdata/customer/resdnrgstno2", pid_rrgstno2);
  409. model.setValue("/root/main/vocdata/customer/gndr", pid_sex);
  410. model.setValue("/root/main/vocdata/customer/zipcd1", pid_zipcd1);
  411. model.setValue("/root/main/vocdata/customer/zipcd2", pid_zipcd2);
  412. model.setValue("/root/main/vocdata/customer/zipcdaddr", pid_zipcdaddr);
  413. model.setValue("/root/main/vocdata/customer/detladdr", pid_detladdr);
  414. model.setValue("/root/main/vocdata/customer/hometelno", pid_hometel);
  415. model.setValue("/root/main/vocdata/customer/mpphonno", pid_mpphontel);
  416. model.setValue("/root/main/vocdata/customer/etctelno", pid_etctelno1);
  417. model.setValue("/root/main/vocdata/customer/emailaddr", pid_email);
  418. model.refresh()
  419. } else {
  420. if ( rela_patnm != rela_clntnm ) {
  421. } else {
  422. model.setValue("/root/main/vocdata/customer/clntnm", "");
  423. model.setValue("/root/main/vocdata/customer/resdnrgstno1", "");
  424. model.setValue("/root/main/vocdata/customer/resdnrgstno2", "");
  425. model.setValue("/root/main/vocdata/customer/gndr", "M");
  426. model.setValue("/root/main/vocdata/customer/zipcd1", "");
  427. model.setValue("/root/main/vocdata/customer/zipcd2", "");
  428. model.setValue("/root/main/vocdata/customer/zipcdaddr", "");
  429. model.setValue("/root/main/vocdata/customer/detladdr", "");
  430. model.setValue("/root/main/vocdata/customer/hometelno", "");
  431. model.setValue("/root/main/vocdata/customer/mpphonno", "");
  432. model.setValue("/root/main/vocdata/customer/etctelno", "");
  433. model.setValue("/root/main/vocdata/customer/emailaddr", "");
  434. model.refresh()
  435. }
  436. ; }
  437. ]]>
  438. </script>
  439. </select1>
  440. <line id="line1" class="line_2" style="x1:0px; y1:124px; x2:970px; y2:124px; "/>
  441. <caption id="caption11" class="cell_1" style="left:0px; top:102px; width:105px; height:23px; text-align:center; vertical-align:middle; ">민원인</caption>
  442. <input id="ipt_CintNm" ref="/root/main/vocdata/customer/clntnm" class="input_essential" appearance="input" style="left:108px; top:103px; width:112px; height:19px; ">
  443. <script type="javascript" ev:event="onkeyup">
  444. <![CDATA[
  445. inputEnterKey("btnicon_search2", "DOMActivate");
  446. ]]>
  447. </script>
  448. </input>
  449. <button id="btnicon_search2" class="icon_search" style="left:223px; top:103px; width:16px; height:16px; ">
  450. <caption/>
  451. <script type="javascript" ev:event="DOMActivate">
  452. <![CDATA[
  453. var search_condition = "clntnm";
  454. var search_term = model.getValue("/root/main/vocdata/customer/clntnm");
  455. var receive_clntnm_path = "/root/main/vocdata/customer/clntnm";
  456. var receive_resdnrgstno1_path = "/root/main/vocdata/customer/resdnrgstno1";
  457. var receive_resdnrgstno2_path = "/root/main/vocdata/customer/resdnrgstno2";
  458. var receive_gndr_path = "/root/main/vocdata/customer/gndr";
  459. var receive_zipcd1_path = "/root/main/vocdata/customer/zipcd1";
  460. var receive_zipcd2_path = "/root/main/vocdata/customer/zipcd2";
  461. var receive_zipcdaddr_path = "/root/main/vocdata/customer/zipcdaddr";
  462. var receive_detladdr_path = "/root/main/vocdata/customer/detladdr";
  463. var receive_hometelno_path = "/root/main/vocdata/customer/hometelno";
  464. var receive_mpphonno_path = "/root/main/vocdata/customer/mpphonno";
  465. var receive_etctelno_path = "/root/main/vocdata/customer/etctelno";
  466. var receive_emailaddr_path = "/root/main/vocdata/customer/emailaddr";
  467. setParameter("search_condition", search_condition);
  468. setParameter("search_term", search_term);
  469. setParameter("receive_clntnm_path", receive_clntnm_path);
  470. setParameter("receive_resdnrgstno1_path", receive_resdnrgstno1_path);
  471. setParameter("receive_resdnrgstno2_path", receive_resdnrgstno2_path);
  472. setParameter("receive_gndr_path", receive_gndr_path);
  473. setParameter("receive_zipcd1_path", receive_zipcd1_path);
  474. setParameter("receive_zipcd2_path", receive_zipcd2_path);
  475. setParameter("receive_zipcdaddr_path", receive_zipcdaddr_path);
  476. setParameter("receive_detladdr_path", receive_detladdr_path);
  477. setParameter("receive_hometelno_path", receive_hometelno_path);
  478. setParameter("receive_mpphonno_path", receive_mpphonno_path);
  479. setParameter("receive_etctelno_path", receive_etctelno_path);
  480. setParameter("receive_emailaddr_path", receive_emailaddr_path);
  481. modal("SPCVZ00100");
  482. clearParameter("search_condition");
  483. clearParameter("search_term");
  484. clearParameter("receive_clntnm_path");
  485. clearParameter("receive_resdnrgstno1_path");
  486. clearParameter("receive_resdnrgstno2_path");
  487. clearParameter("receive_gndr_path");
  488. clearParameter("receive_zipcd1_path");
  489. clearParameter("receive_zipcd2_path");
  490. clearParameter("receive_zipcdaddr_path");
  491. clearParameter("receive_detladdr_path");
  492. clearParameter("receive_hometelno_path");
  493. clearParameter("receive_mpphonno_path");
  494. clearParameter("receive_etctelno_path");
  495. clearParameter("receive_emailaddr_path");
  496. ]]>
  497. </script>
  498. </button>
  499. <caption id="caption12" class="cell_1" style="left:242px; top:102px; width:105px; height:23px; text-align:center; vertical-align:middle; ">주민등록번호</caption>
  500. <input id="ipt_ResdnRgstNo1" ref="/root/main/vocdata/customer/resdnrgstno1" class="input_default" maxlength="6" style="left:350px; top:103px; width:59px; height:19px; "/>
  501. <input id="ipt_ResdnRgstNo2" ref="/root/main/vocdata/customer/resdnrgstno2" class="input_default" maxlength="7" style="left:411px; top:103px; width:69px; height:19px; "/>
  502. <caption id="caption13" class="cell_1" style="left:482px; top:102px; width:105px; height:23px; text-align:center; vertical-align:middle; ">성 별</caption>
  503. <select1 id="rdo_Gndr" ref="/root/main/vocdata/customer/gndr" appearance="full" overflow="visible" style="left:591px; top:104px; width:40px; height:19px; background-color:transparent; border-style:none; ">
  504. <choices>
  505. <item>
  506. <label>남</label>
  507. <value>M</value>
  508. </item>
  509. </choices>
  510. </select1>
  511. <select1 id="radio1" ref="/root/main/vocdata/customer/gndr" appearance="full" overflow="visible" style="left:632px; top:104px; width:40px; height:19px; background-color:transparent; border-style:none; ">
  512. <choices>
  513. <item>
  514. <label>여</label>
  515. <value>F</value>
  516. </item>
  517. </choices>
  518. </select1>
  519. <line id="line5" class="line_2" style="x1:0px; y1:148px; x2:970px; y2:148px; "/>
  520. <caption id="caption14" class="cell_1" style="left:0px; top:126px; width:105px; height:23px; text-align:center; vertical-align:middle; ">주소</caption>
  521. <output id="ipt_ZipCd1" ref="/root/main/vocdata/customer/zipcd1" class="output_fix" style="left:108px; top:127px; width:45px; height:19px; "/>
  522. <output id="ipt_ZipCd2" ref="/root/main/vocdata/customer/zipcd2" class="output_fix" style="left:155px; top:127px; width:45px; height:19px; "/>
  523. <button id="btnicon_search5" class="icon_search" style="left:203px; top:129px; width:16px; height:16px; ">
  524. <caption/>
  525. <script type="javascript" ev:event="DOMActivate">
  526. <![CDATA[
  527. var search_term1 = model.getValue("/root/main/vocdata/customer/zipcd1");
  528. var search_term2 = model.getValue("/root/main/vocdata/customer/zipcd2");
  529. var search_term = search_term1 + "-" + search_term2;
  530. if ( search_term1 != "") {
  531. var search_condition = "srchzipcd";
  532. } else {
  533. var search_condition = "srchcombination";
  534. }
  535. var receive_zipcd1_path = "/root/main/vocdata/customer/zipcd1";
  536. var receive_zipcd2_path = "/root/main/vocdata/customer/zipcd2";
  537. var receive_zipcdseq_path = "/root/main/vocdata/customer/zipcdseq";
  538. var receive_zipcdaddr_path = "/root/main/vocdata/customer/zipcdaddr";
  539. setParameter("search_condition", search_condition);
  540. setParameter("search_term", search_term);
  541. setParameter("receive_zipcd1_path", receive_zipcd1_path);
  542. setParameter("receive_zipcd2_path", receive_zipcd2_path);
  543. setParameter("receive_zipcdseq_path", receive_zipcdseq_path);
  544. setParameter("receive_zipcdaddr_path", receive_zipcdaddr_path);
  545. modal("SPCCM00200")
  546. clearParameter("search_condition");
  547. clearParameter("search_term");
  548. clearParameter("receive_zipcd1_path");
  549. clearParameter("receive_zipcd2_path");
  550. clearParameter("receive_zipcdseq_path");
  551. clearParameter("receive_zipcdaddr_path");
  552. ]]>
  553. </script>
  554. </button>
  555. <output id="ipt_ZipCdAddr" ref="/root/main/vocdata/customer/zipcdaddr" class="output_fix" style="left:222px; top:127px; width:320px; height:19px; "/>
  556. <input id="ipt_detladdr" ref="/root/main/vocdata/customer/detladdr" class="input_default" style="left:544px; top:127px; width:418px; height:19px; "/>
  557. <line id="line6" class="line_2" style="x1:0px; y1:172px; x2:970px; y2:172px; "/>
  558. <caption id="caption16" class="cell_1" style="left:0px; top:150px; width:105px; height:23px; text-align:center; vertical-align:middle; ">전화[자택]</caption>
  559. <input id="ipt_HomeTelNo" ref="/root/main/vocdata/customer/hometelno" class="input_default" appearance="input" style="left:108px; top:151px; width:130px; height:19px; "/>
  560. <caption id="caption17" class="cell_1" style="left:241px; top:150px; width:105px; height:23px; text-align:center; vertical-align:middle; ">전화[휴대]</caption>
  561. <input id="ipt_MPphonNo" ref="/root/main/vocdata/customer/mpphonno" class="input_default" appearance="input" style="left:349px; top:151px; width:130px; height:19px; "/>
  562. <caption id="caption18" class="cell_1" style="left:483px; top:150px; width:105px; height:23px; text-align:center; vertical-align:middle; ">전화[기타]</caption>
  563. <input id="ipt_EtcTelNo" ref="/root/main/vocdata/customer/etctelno" class="input_default" appearance="input" style="left:591px; top:151px; width:130px; height:19px; "/>
  564. <line id="line7" class="line_3" style="x1:0px; y1:196px; x2:970px; y2:196px; "/>
  565. <caption id="caption19" class="cell_1" style="left:0px; top:174px; width:105px; height:23px; text-align:center; vertical-align:middle; ">메일주소</caption>
  566. <input id="ipt_EmailAddr" ref="/root/main/vocdata/customer/emailaddr" class="input_default" style="left:108px; top:175px; width:371px; height:19px; "/>
  567. </group>
  568. <button id="btn_rgstclear" class="btn4_letter6" style="left:1091px; top:14px; width:104px; height:22px; ">
  569. <caption>등록 초기화</caption>
  570. <script type="javascript" ev:event="DOMActivate">
  571. <![CDATA[
  572. navigate("SMCVA00100");
  573. ]]>
  574. </script>
  575. </button>
  576. <group id="grp_Accept" style="left:225px; top:221px; width:970px; height:530px; ">
  577. <caption id="caption23" class="tit_2" style="left:5px; top:10px; width:119px; height:13px; ">등록된 접수내역</caption>
  578. <caption id="caption15" class="search_no_b" style="left:437px; top:6px; width:48px; height:17px; ">등록자</caption>
  579. <output id="opt_fstrgstrnm" ref="/root/main/vocdata/accept/fstrgstrnm" class="output_fix" style="left:483px; top:5px; width:80px; height:19px; text-align:center; "/>
  580. <caption id="caption2" class="search_no_b" style="left:571px; top:6px; width:74px; height:17px; ">최종수정자</caption>
  581. <output id="opt_lastupdtrnm" ref="/root/main/vocdata/accept/lastupdtrnm" class="output_fix" style="left:641px; top:5px; width:80px; height:19px; text-align:center; "/>
  582. <select id="chk_allopen" ref="/root/main/vocdata/accept/openallyn" overflow="visible" appearance="full" style="left:814px; top:7px; width:156px; height:19px; font-weight:bold; border-style:none; ">
  583. <choices>
  584. <item>
  585. <label>모든 부서에 내용 공개</label>
  586. <value>Y</value>
  587. </item>
  588. </choices>
  589. </select>
  590. <line id="line9" class="line_1" style="x1:0px; y1:25px; x2:970px; y2:25px; "/>
  591. <line id="line10" class="line_2" style="x1:0px; y1:52px; x2:970px; y2:52px; "/>
  592. <caption id="caption24" class="cell_1" style="left:0px; top:30px; width:105px; height:23px; text-align:center; vertical-align:middle; ">접수일자</caption>
  593. <input id="ipt_AcptViewDD" ref="/root/main/vocdata/accept/acpviewdd" class="input_essential" inputtype="date" style="left:108px; top:31px; width:130px; height:19px; "/>
  594. <caption id="caption25" class="cell_1" style="left:241px; top:30px; width:105px; height:23px; text-align:center; vertical-align:middle; ">발생일자</caption>
  595. <input id="ipt_GenrDD" ref="/root/main/vocdata/accept/genrdd" class="input_default" inputtype="date" style="left:349px; top:31px; width:130px; height:19px; "/>
  596. <caption id="caption26" class="cell_1" style="left:483px; top:30px; width:105px; height:23px; text-align:center; vertical-align:middle; ">접수구분</caption>
  597. <select1 id="cmb_AcptType" ref="/root/main/vocdata/accept/acpttype" class="combo_essential" appearance="minimal" style="left:591px; top:31px; width:130px; height:19px; ">
  598. <choices>
  599. <itemset nodeset="/root/init/C0001list/C0001">
  600. <label ref="cdnm"/>
  601. <value ref="cdid"/>
  602. </itemset>
  603. </choices>
  604. </select1>
  605. <caption id="caption6" class="cell_1" style="left:723px; top:30px; width:105px; height:23px; text-align:center; vertical-align:middle; ">전체 진행상태</caption>
  606. <output id="opt_PrcsStat" ref="/root/main/vocdata/accept/prcsstat" class="output_fix" style="left:832px; top:31px; width:130px; height:19px; "/>
  607. <line id="line11" class="line_2" style="x1:0px; y1:76px; x2:970px; y2:76px; "/>
  608. <caption id="caption28" class="cell_1" style="left:0px; top:54px; width:105px; height:23px; text-align:center; vertical-align:middle; ">접수유형</caption>
  609. <select1 id="cmb_AcptKindLrg" ref="/root/main/vocdata/accept/acptkindlrg" class="combo_essential" appearance="minimal" style="left:108px; top:55px; width:130px; height:19px; ">
  610. <choices>
  611. <itemset nodeset="/root/init/C0003list/C0003">
  612. <label ref="cdnm"/>
  613. <value ref="cdid"/>
  614. </itemset>
  615. </choices>
  616. <script type="javascript" ev:event="xforms-value-changed">
  617. <![CDATA[
  618. model.resetInstanceNode("/root/main/vocdata/accept/acptkindmdl");
  619. model.resetInstanceNode("/root/main/vocdata/accept/acptkindsml");
  620. if(cmb_AcptKindLrg.value == 'C') {
  621. model.removeNodeset("/root/init/C0004list/C0004");
  622. model.removeNodeset("/root/init/C0005list/C0005");
  623. model.removeNodeset("/root/init/C0006list/C0006");
  624. model.removeNodeset("/root/init/C0007list/C0007");
  625. model.removeNodeset("/root/init/C0008list/C0008");
  626. model.removeNodeset("/root/init/C0009list/C0009");
  627. zbcfGetCodeList( new Array("C0004"), new Array("/root/init/C0004list"), true );
  628. }else{
  629. model.removeNodeset("/root/init/C0004list/C0004");
  630. model.removeNodeset("/root/init/C0005list/C0005");
  631. model.removeNodeset("/root/init/C0006list/C0006");
  632. model.removeNodeset("/root/init/C0007list/C0007");
  633. model.removeNodeset("/root/init/C0008list/C0008");
  634. model.removeNodeset("/root/init/C0009list/C0009");
  635. }
  636. model.refresh();
  637. ]]>
  638. </script>
  639. </select1>
  640. <select1 id="cmb_AcptKindMdl" ref="/root/main/vocdata/accept/acptkindmdl" class="combo_default" appearance="minimal" style="left:240px; top:55px; width:130px; height:19px; ">
  641. <choices>
  642. <itemset nodeset="/root/init/C0004list/C0004">
  643. <label ref="cdnm"/>
  644. <value ref="cdid"/>
  645. </itemset>
  646. </choices>
  647. <script type="javascript" ev:event="xforms-value-changed">
  648. <![CDATA[
  649. model.resetInstanceNode("/root/main/vocdata/acptkindsml");
  650. if(cmb_AcptKindMdl.value == 'ES') {
  651. model.removeNodeset("/root/init/C0005list/C0005");
  652. model.removeNodeset("/root/init/C0006list/C0006");
  653. model.removeNodeset("/root/init/C0007list/C0007");
  654. model.removeNodeset("/root/init/C0008list/C0008");
  655. model.removeNodeset("/root/init/C0009list/C0009");
  656. cmb_AcptKindSml.choices.itemset.attribute("nodeset") = "/root/init/C0005list/C0005";
  657. zbcfGetCodeList( new Array("C0005"), new Array("/root/init/C0005list"), true );
  658. }else if(cmb_AcptKindMdl.value == 'PS') {
  659. model.removeNodeset("/root/init/C0005list/C0005");
  660. model.removeNodeset("/root/init/C0006list/C0006");
  661. model.removeNodeset("/root/init/C0007list/C0007");
  662. model.removeNodeset("/root/init/C0008list/C0008");
  663. model.removeNodeset("/root/init/C0009list/C0009");
  664. cmb_AcptKindSml.choices.itemset.attribute("nodeset") = "/root/init/C0006list/C0006";
  665. zbcfGetCodeList( new Array("C0006"), new Array("/root/init/C0006list"), true );
  666. }else if(cmb_AcptKindMdl.value == 'OS') {
  667. model.removeNodeset("/root/init/C0005list/C0005");
  668. model.removeNodeset("/root/init/C0006list/C0006");
  669. model.removeNodeset("/root/init/C0007list/C0007");
  670. model.removeNodeset("/root/init/C0008list/C0008");
  671. model.removeNodeset("/root/init/C0009list/C0009");
  672. cmb_AcptKindSml.choices.itemset.attribute("nodeset") = "/root/init/C0007list/C0007";
  673. zbcfGetCodeList( new Array("C0007"), new Array("/root/init/C0007list"), true );
  674. }else if(cmb_AcptKindMdl.value == 'NS') {
  675. model.removeNodeset("/root/init/C0005list/C0005");
  676. model.removeNodeset("/root/init/C0006list/C0006");
  677. model.removeNodeset("/root/init/C0007list/C0007");
  678. model.removeNodeset("/root/init/C0008list/C0008");
  679. model.removeNodeset("/root/init/C0009list/C0009");
  680. cmb_AcptKindSml.choices.itemset.attribute("nodeset") = "/root/init/C0008list/C0008";
  681. zbcfGetCodeList( new Array("C0008"), new Array("/root/init/C0008list"), true );
  682. }else if(cmb_AcptKindMdl.value == 'TS') {
  683. model.removeNodeset("/root/init/C0005list/C0005");
  684. model.removeNodeset("/root/init/C0006list/C0006");
  685. model.removeNodeset("/root/init/C0007list/C0007");
  686. model.removeNodeset("/root/init/C0008list/C0008");
  687. model.removeNodeset("/root/init/C0009list/C0009");
  688. cmb_AcptKindSml.choices.itemset.attribute("nodeset") = "/root/init/C0009list/C0009";
  689. zbcfGetCodeList( new Array("C0009"), new Array("/root/init/C0009list"), true );
  690. }else{
  691. model.removeNodeset("/root/init/C0005list/C0005");
  692. model.removeNodeset("/root/init/C0006list/C0006");
  693. model.removeNodeset("/root/init/C0007list/C0007");
  694. model.removeNodeset("/root/init/C0008list/C0008");
  695. model.removeNodeset("/root/init/C0009list/C0009");
  696. }
  697. model.refresh();
  698. ]]>
  699. </script>
  700. </select1>
  701. <select1 id="cmb_AcptKindSml" ref="/root/main/vocdata/accept/acptkindsml" class="combo_default" appearance="minimal" style="left:372px; top:55px; width:130px; height:19px; ">
  702. <choices>
  703. <itemset nodeset="/root/init/C0005list/C0005">
  704. <label ref="cdnm"/>
  705. <value ref="cdid"/>
  706. </itemset>
  707. </choices>
  708. </select1>
  709. <line id="line12" class="line_2" style="x1:0px; y1:195px; x2:970px; y2:195px; "/>
  710. <caption id="caption29" class="cell_1" style="left:0px; top:78px; width:105px; height:118px; text-align:center; vertical-align:middle; ">
  711. <![CDATA[민원이 제기된
  712. 부서 및 직원]]>
  713. </caption>
  714. <datagrid id="grd_dept" nodeset="/root/main/vocdata/deptview" caption="해당부서^부서코드^해당직원^직원ID^등록순서" colwidth="225, 40, 100, 50, 0" dataheight="23" defaultrows="0" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" style="left:108px; top:79px; width:450px; height:116px; ">
  715. <col class="text_center" ref="deptnm"/>
  716. <col class="text_center" ref="deptcd" visibility="hidden"/>
  717. <col class="text_center" ref="empnm"/>
  718. <col class="text_center" ref="empid" visibility="hidden"/>
  719. <col ref="rgstseq" visibility="hidden"/>
  720. </datagrid>
  721. <caption id="caption8" class="hand" style="left:560px; top:84px; width:207px; height:17px; ">부서 선택은 필수 사항입니다.</caption>
  722. <caption id="caption5" class="search_no_b" style="left:563px; top:104px; width:38px; height:17px; ">직원 :</caption>
  723. <input id="ipt_EmpNm" ref="/root/main/area/reqempnm" class="input_default" style="left:604px; top:104px; width:130px; height:19px; ">
  724. <script type="javascript" ev:event="onkeyup">
  725. <![CDATA[
  726. inputEnterKey("btnicon_search7", "DOMActivate");
  727. ]]>
  728. </script>
  729. </input>
  730. <button id="btnicon_search7" class="icon_search" style="left:738px; top:105px; width:16px; height:16px; ">
  731. <caption/>
  732. <script type="javascript" ev:event="DOMActivate">
  733. <![CDATA[
  734. var search_term1 = model.getValue("/root/main/area/reqempid");
  735. var search_term2 = model.getValue("/root/main/area/reqempnm");
  736. var search_term3 = model.getValue("/root/main/area/reqdeptcd");
  737. if ( search_term1 != "") {
  738. var search_condition = "empid";
  739. var search_term = search_term1;
  740. } else if ((search_term1 == "") && (search_term2 == "") && (search_term3 != "")) {
  741. var search_condition = "deptcd";
  742. var search_term = search_term3;
  743. } else {
  744. var search_condition = "empnm";
  745. var search_term = search_term2;
  746. }
  747. // var search_condition = "empid";
  748. // var search_term = model.getValue("/root/main/vocdata/deptview/area/EmpID");
  749. var receive_empid_path = "/root/main/area/reqempid";
  750. var receive_empnm_path = "/root/main/area/reqempnm";
  751. var receive_deptcd_path = "/root/main/area/reqdeptcd";
  752. var receive_deptnm_path = "/root/main/area/reqdeptnm";
  753. setParameter("search_condition", search_condition);
  754. setParameter("search_term", search_term);
  755. setParameter("receive_empid_path", receive_empid_path);
  756. setParameter("receive_empnm_path", receive_empnm_path);
  757. setParameter("receive_deptcd_path", receive_deptcd_path);
  758. setParameter("receive_deptnm_path", receive_deptnm_path);
  759. modal("SPCCM00400")
  760. clearParameter("search_condition");
  761. clearParameter("search_term");
  762. clearParameter("receive_empid_path");
  763. clearParameter("receive_empnm_path");
  764. clearParameter("receive_deptcd_path");
  765. clearParameter("receive_deptnm_path");
  766. ]]>
  767. </script>
  768. </button>
  769. <output id="ipt_EmpCD" ref="/root/main/area/reqempid" class="output_fix" visibility="hidden" style="left:757px; top:104px; width:100px; height:19px; "/>
  770. <caption id="caption30" class="search_no_b" style="left:563px; top:127px; width:38px; height:17px; ">부서 :</caption>
  771. <output id="ipt_DeptNm" ref="/root/main/area/reqdeptnm" class="output_fix" style="left:604px; top:126px; width:130px; height:19px; "/>
  772. <button id="btnicon_search6" class="icon_search" style="left:738px; top:128px; width:16px; height:16px; ">
  773. <caption/>
  774. <script type="javascript" ev:event="DOMActivate">
  775. <![CDATA[
  776. var search_condition = "deptcd";
  777. var search_term = model.getValue("/root/main/area/reqdeptcd");
  778. var receive_deptcd_path = "/root/main/area/reqdeptcd";
  779. var receive_deptnm_path = "/root/main/area/reqdeptnm";
  780. setParameter("search_condition", search_condition);
  781. setParameter("search_term", search_term);
  782. setParameter("receive_deptcd_path", receive_deptcd_path);
  783. setParameter("receive_deptnm_path", receive_deptnm_path);
  784. modal("SPCCM00300")
  785. clearParameter("search_condition");
  786. clearParameter("search_term");
  787. clearParameter("receive_deptcd_path");
  788. clearParameter("receive_deptnm_path");
  789. // zbcfOpenInstDeptCodeList(search_condition, search_term, receive_deptcd_path, receive_deptnm_path);
  790. ]]>
  791. </script>
  792. </button>
  793. <output id="ipt_DeptCd" ref="/root/main/area/reqdeptcd" class="output_fix" visibility="hidden" style="left:757px; top:126px; width:100px; height:19px; "/>
  794. <caption id="caption7" style="left:757px; top:127px; width:208px; height:17px; ">(해당 직원 없이 부서만 있는 경우)</caption>
  795. <button id="btn_insertDept" class="btn2_letter8" style="left:562px; top:150px; width:108px; height:19px; ">
  796. <caption>부서 및 직원 추가</caption>
  797. <script type="javascript" ev:event="DOMActivate">
  798. <![CDATA[
  799. if (( model.getValue("/root/main/area/reqempid") != "" ) && ( model.getValue("/root/main/area/reqempnm") == "" )){
  800. var rtn = messageBox("직원 선택을 하셨으나 임의로 직원 이름을 지웠습니다. \n직원 없이 부서만 등록 ", "S001");
  801. if(rtn == 6){
  802. model.setValue("/root/main/area/reqempid", "");
  803. } else {
  804. model.setFocus("ipt_EmpNm");
  805. return false;
  806. }
  807. }
  808. if ( model.getValue("/root/main/area/reqdeptcd") != "" ){
  809. grd_dept.additem();
  810. var receive_empid = model.getValue("/root/main/area/reqempid");
  811. var receive_empnm = model.getValue("/root/main/area/reqempnm");
  812. var receive_deptcd = model.getValue("/root/main/area/reqdeptcd");
  813. var receive_deptnm = model.getValue("/root/main/area/reqdeptnm");
  814. model.setValue("/root/main/vocdata/deptview[" + grd_dept.row + " ]/deptcd", receive_deptcd);
  815. model.setValue("/root/main/vocdata/deptview[" + grd_dept.row + " ]/deptnm", receive_deptnm);
  816. model.setValue("/root/main/vocdata/deptview[" + grd_dept.row + " ]/empid", receive_empid);
  817. model.setValue("/root/main/vocdata/deptview[" + grd_dept.row + " ]/empnm", receive_empnm);
  818. model.resetInstanceNode("/root/main/area");
  819. model.refresh();
  820. } else {
  821. messageBox("부서를","C002");
  822. model.setFocus("btnicon_search6");
  823. }
  824. ]]>
  825. </script>
  826. </button>
  827. <button id="btn_delDept" class="btn2_letter3" style="left:562px; top:173px; width:53px; height:19px; ">
  828. <caption>행 삭제</caption>
  829. <script type="javascript" ev:event="DOMActivate">
  830. <![CDATA[
  831. if ((grd_dept.row > 0) && (grd_dept.col > 1)){
  832. grd_dept.deleteRow(grd_dept.row);
  833. grd_dept.refresh();
  834. } else {
  835. messageBox("삭제할 행이 없거나 선택하지 ","E007");
  836. }
  837. ]]>
  838. </script>
  839. </button>
  840. <line id="line13" class="line_2" style="x1:0px; y1:219px; x2:970px; y2:219px; "/>
  841. <caption id="caption33" class="cell_1" style="left:0px; top:197px; width:105px; height:23px; text-align:center; vertical-align:middle; ">제 목</caption>
  842. <input id="ipt_AcptTitl" ref="/root/main/vocdata/accept/acpttitl" class="input_essential" style="left:108px; top:198px; width:850px; height:19px; "/>
  843. <line id="line15" class="line_2" style="x1:0px; y1:432px; x2:970px; y2:432px; "/>
  844. <line id="line14" class="line_3" style="x1:0px; y1:528px; x2:970px; y2:528px; "/>
  845. <caption id="caption34" class="cell_1" style="left:0px; top:221px; width:105px; height:212px; text-align:center; vertical-align:middle; ">
  846. <![CDATA[민원 내용]]>
  847. <script type="javascript" ev:event="ondblclick">
  848. <![CDATA[
  849. var s_contents = model.getValue("/root/main/vocdata/accept/acptcnts");
  850. var receive_path = "/root/main/vocdata/accept/acptcnts";
  851. model.setValue("/root/main/vocpopup/title", "민원 내용");
  852. model.setValue("/root/main/vocpopup/contents", s_contents);
  853. model.makeValue("/root/main/vocpopup/inputmode", "i");
  854. model.makeValue("/root/main/vocpopup/receive_path", receive_path);
  855. open("SPCVD00500", "", "", "", "SPCVD00500", "/root/main/vocpopup", "/root/main/vocpopup");
  856. model.setValue("/root/main/vocpopup/title", "");
  857. model.setValue("/root/main/vocpopup/contents", "");
  858. model.setValue("/root/main/vocpopup/inputmode", "");
  859. model.setValue("/root/main/vocpopup/receive_path", "");
  860. model.refresh();
  861. ]]>
  862. </script>
  863. </caption>
  864. <textarea id="tar_AcptCnts" ref="/root/main/vocdata/accept/acptcnts" scroll="vertical" style="left:108px; top:222px; width:850px; height:208px; "/>
  865. <line id="line16" style="x1:590px; y1:222px; x2:590px; y2:430px; border-color:#c0c0c0; border-style:dotted; "/>
  866. <caption id="caption27" class="cell_1" style="left:0px; top:434px; width:105px; height:95px; text-align:center; vertical-align:middle; ">
  867. <![CDATA[자체 처리에
  868. 대한 민원담당
  869. 부서의견]]>
  870. <script type="javascript" ev:event="ondblclick">
  871. <![CDATA[
  872. var s_contents = model.getValue("/root/main/vocdata/accept/selfcnts");
  873. var receive_path = "/root/main/vocdata/accept/selfcnts";
  874. model.setValue("/root/main/vocpopup/title", "자체처리 의견");
  875. model.setValue("/root/main/vocpopup/contents", s_contents);
  876. model.makeValue("/root/main/vocpopup/inputmode", "i");
  877. model.makeValue("/root/main/vocpopup/receive_path", receive_path);
  878. open("SPCVD00500", "", "", "", "SPCVD00500", "/root/main/vocpopup", "/root/main/vocpopup");
  879. model.setValue("/root/main/vocpopup/title", "");
  880. model.setValue("/root/main/vocpopup/contents", "");
  881. model.setValue("/root/main/vocpopup/inputmode", "");
  882. model.setValue("/root/main/vocpopup/receive_path", "");
  883. model.refresh();
  884. ]]>
  885. </script>
  886. </caption>
  887. <select id="chk_selfyn" ref="/root/main/vocdata/accept/selfyn" overflow="visible" appearance="full" style="left:110px; top:438px; width:96px; height:19px; font-weight:bold; border-style:none; ">
  888. <choices>
  889. <item>
  890. <label>자체 처리함</label>
  891. <value>Y</value>
  892. </item>
  893. </choices>
  894. <script type="javascript" ev:event="xforms-select">
  895. <![CDATA[
  896. tar_SelfCnts.disabled = "false";
  897. ]]>
  898. </script>
  899. <script type="javascript" ev:event="xforms-deselect">
  900. <![CDATA[
  901. tar_SelfCnts.disabled = "true";
  902. model.setValue("/root/main/vocdata/accept/selfcnts", "");
  903. model.refresh();
  904. ]]>
  905. </script>
  906. </select>
  907. <textarea id="tar_SelfCnts" ref="/root/main/vocdata/accept/selfcnts" disabled="true" scroll="vertical" style="left:108px; top:456px; width:850px; height:70px; "/>
  908. <line id="line17" style="x1:590px; y1:456px; x2:590px; y2:526px; border-color:#c0c0c0; border-style:dotted; "/>
  909. </group>
  910. <group id="grp_btn" scroll="auto" style="left:225px; top:751px; width:970px; height:27px; ">
  911. <button id="btn_prnt" class="btn6_letter2" style="left:0px; top:5px; width:56px; height:22px; ">
  912. <caption>목록</caption>
  913. <script type="javascript" ev:event="DOMActivate">
  914. <![CDATA[
  915. navigate("SMCVA00200", "", "", "", "SMCVA00200", "/root/main/temp", "/root/send");
  916. ]]>
  917. </script>
  918. </button>
  919. <caption id="caption31" class="hand" style="left:100px; top:7px; width:520px; height:17px; ">내용 가운데 있는 점선(- - -)은 보고서 출력시 다음 줄로 넘어가는 기준선입니다.</caption>
  920. <button id="btn_save" class="btn4_letter2" style="left:608px; top:5px; width:56px; height:22px; ">
  921. <caption>저장</caption>
  922. <script type="javascript" ev:event="DOMActivate">
  923. <![CDATA[
  924. var check_deptcd = grd_dept.valueMatrix(1, grd_dept.colRef("deptcd"));
  925. var check_deptnm = grd_dept.valueMatrix(1, grd_dept.colRef("deptnm"));
  926. var resultstate = grd_dept.getUpdateData()
  927. var s_acptkindlrg = model.getValue("/root/main/vocdata/accept/acptkindlrg");
  928. var s_acptkindmdl = model.getValue("/root/main/vocdata/accept/acptkindmdl");
  929. var s_acptkindsml = model.getValue("/root/main/vocdata/accept/acptkindsml");
  930. var s_pid = model.getValue("/root/main/vocdata/customer/pid");
  931. var s_patrela = model.getValue("/root/main/vocdata/customer/patrela");
  932. var s_clntnm = model.getValue("/root/main/vocdata/customer/clntnm");
  933. var s_patnm = model.getValue("/root/main/vocdata/customer/patnm");
  934. var s_genrdd = model.getValue("/root/main/vocdata/accept/genrdd");
  935. var s_acptdd = model.getValue("/root/main/vocdata/accept/acptdd");
  936. if (s_pid != ""){
  937. if (s_patrela == ""){
  938. messageBox("환자와의 관계를 ", "C002");
  939. model.setFocus("cmb_PatRela");
  940. return false;
  941. }
  942. } else if (s_pid == ""){
  943. if (s_patrela != ""){
  944. messageBox("환자 등록번호를 ", "C001");
  945. model.setFocus("ipt_PID");
  946. return false;
  947. }
  948. }
  949. if (s_patrela == "A"){
  950. if (s_patnm != s_clntnm){
  951. messageBox("환자와의 관계가 본인이면서 환자 이름과 민원인 이름이 ", "E004");
  952. model.setFocus("ipt_CintNm");
  953. return false;
  954. }
  955. }
  956. if (s_patrela != ""){
  957. if ((s_patrela != "A") && (s_clntnm == s_patnm)){
  958. messageBox("환자와의 관계가 본인이 아니면서 환자 이름과 민원인 이름이 일치 ", "E001");
  959. model.setFocus("ipt_CintNm");
  960. return false;
  961. }
  962. }
  963. if (s_genrdd != ""){
  964. if (s_genrdd > s_acptdd){
  965. messageBox("발생일자는 오늘 또는 접수일자 이후의 일자를 입력 ", "E001");
  966. model.setFocus("ipt_GenrDD");
  967. return false;
  968. }
  969. }
  970. if (s_acptkindlrg == "C"){
  971. if (s_acptkindmdl == "") {
  972. messageBox("불만 유형을 ", "C002");
  973. model.setFocus("cmb_AcptKindMdl");
  974. return false;
  975. } else if (s_acptkindsml == "") {
  976. messageBox("불만 상세 유형을 ", "C002");
  977. model.setFocus("cmb_AcptKindSml");
  978. return false;
  979. }
  980. }
  981. if (isRequiredControls("ipt_CintNm", "ipt_AcptViewDD", "cmb_AcptType", "cmb_AcptKindLrg", "ipt_AcptTitl", "tar_AcptCnts") ){
  982. model.makeValue("/root/main/vocdata/deptlist", resultstate);
  983. if (model.getValue("/root/main/vocdata/accept/selfyn") == "Y"){
  984. if (model.getValue("/root/main/vocdata/accept/selfcnts") == "") {
  985. messageBox("자체 처리에 대한 의견을 ", "C001");
  986. model.setFocus("tar_SelfCnts");
  987. } else {
  988. var r_sndacptdd = model.getValue("/root/main/temp/key/sndacptdd");
  989. var r_sndacptseq = model.getValue("/root/main/temp/key/sndacptseq");
  990. model.makeValue("/root/main/vocdata/preself/sndacptdd", r_sndacptdd);
  991. model.makeValue("/root/main/vocdata/preself/sndacptseq", r_sndacptseq);
  992. if(submit("TXCVA00202")){
  993. grd_dept.clearStatus();
  994. submit("TRCVA00201"); // 모든 정보를 다시 받아옴.
  995. model.refresh();
  996. messageBox("등록된 VOC 수정과 자체처리가 ", "I002");
  997. }
  998. }
  999. } else {
  1000. if (grd_dept.rows < 2){
  1001. messageBox("적어도 해당부서 1개 이상을 ", "C001");
  1002. model.setFocus("btnicon_search6");
  1003. } else if (check_deptnm == "") {
  1004. messageBox("해당부서 이름을 ", "C001");
  1005. model.setFocus("btnicon_search6");
  1006. } else if (check_deptcd == "") {
  1007. messageBox("해당부서 코드를 ", "C001");
  1008. model.setFocus("btnicon_search6");
  1009. } else if(submit("TXCVA00201")){
  1010. grd_dept.clearStatus();
  1011. submit("TRCVA00201"); // 모든 정보를 다시 받아옴.
  1012. model.refresh();
  1013. messageBox("등록된 VOC 수정이 ", "I002");
  1014. }
  1015. }
  1016. }
  1017. ]]>
  1018. </script>
  1019. </button>
  1020. <button id="btn_del" class="btn4_letter5" style="left:666px; top:5px; width:92px; height:22px; ">
  1021. <caption>접수 취소</caption>
  1022. <script type="javascript" ev:event="DOMActivate">
  1023. <![CDATA[
  1024. var rtn = messageBox(" 진행상태가 접수취소로 표기되며 통계에서 제외됩니다.", "Q001");
  1025. if(rtn == 6){
  1026. if(submit("TXCVA00301")){
  1027. model.setValue("/root/main/vocdata/accept/prcsstat", "접수취소");
  1028. btn_save.disabled = true;
  1029. btn_del.disabled = true;
  1030. btn_reqmove.disabled = true;
  1031. btn_clear.disabled = true;
  1032. messageBox("해당 VOC에 대한 접수취소 처리가 ", "I002");
  1033. }
  1034. }
  1035. ]]>
  1036. </script>
  1037. </button>
  1038. <button id="btn_reqmove" class="btn4_letter9" style="left:760px; top:5px; width:140px; height:22px; ">
  1039. <caption>처리요청 화면으로</caption>
  1040. <script type="javascript" ev:event="DOMActivate">
  1041. <![CDATA[
  1042. model.setValue("/root/main/temp/data/srchprcsstatcd", "E")
  1043. navigate("SMCVB00200", "", "", "", "SMCVB00200", "/root/main/temp", "/root/main/temp");
  1044. ]]>
  1045. </script>
  1046. </button>
  1047. <button id="btn_clear" class="btn4_letter3" style="left:902px; top:5px; width:68px; height:22px; ">
  1048. <caption>초기화</caption>
  1049. <script type="javascript" ev:event="DOMActivate">
  1050. <![CDATA[
  1051. model.removeNodeset("/root/init/C0011list/C0011");
  1052. model.removeNodeset("/root/init/C0001list/C0001");
  1053. model.removeNodeset("/root/init/C0003list/C0003");
  1054. model.removeNodeset("/root/init/C0004list/C0004");
  1055. model.removeNodeset("/root/init/C0005list/C0005");
  1056. model.removeNodeset("/root/init/C0006list/C0006");
  1057. model.removeNodeset("/root/init/C0007list/C0007");
  1058. model.removeNodeset("/root/init/C0008list/C0008");
  1059. model.removeNodeset("/root/init/C0009list/C0009");
  1060. model.dispatch("xforms-ready");
  1061. ]]>
  1062. </script>
  1063. </button>
  1064. </group>
  1065. <import id="import1" overflow="hidden" instancetype="merge" src="./SSCVA00100_LeftTree.xrw" style="left:0px; top:23px; width:215px; height:744px; "/>
  1066. <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; "/>
  1067. <caption id="caption50" class="hand" style="left:35px; top:540px; width:144px; height:30px; ">VOC 진행 프로세스</caption>
  1068. <caption id="caption51" style="left:60px; top:574px; width:115px; height:20px; font-weight:bold; vertical-align:top; line-spacing:7; ">
  1069. <![CDATA[(1) 접수완료]]>
  1070. <hint>
  1071. <![CDATA[
  1072. 민원담당부서에서 여러 경로를 통해 접수된 VOC를 민원인
  1073. 정보와 함께 등록을 하게 되면【접수완료】상태가 된다.
  1074. ]]>
  1075. </hint>
  1076. </caption>
  1077. <caption id="caption52" style="left:60px; top:594px; width:115px; height:20px; font-weight:bold; vertical-align:top; line-spacing:7; ">
  1078. <![CDATA[(2) 회신요청]]>
  1079. <hint>
  1080. <![CDATA[
  1081. 민원담당부서 담당자가 "접수완료"된 VOC를 선택하여 담당부서를 정해
  1082. 처리 요청을 하게 되면【회신요청】상태가 된다. 이 때 담당부서가 2개
  1083. 이상인 경우에 담당부서를 계속해서 지정하여 처리 요청을 할 수 있다.
  1084. ]]>
  1085. </hint>
  1086. </caption>
  1087. <caption id="caption53" style="left:60px; top:614px; width:115px; height:20px; font-weight:bold; vertical-align:top; line-spacing:7; ">
  1088. <![CDATA[(3) 부서처리중]]>
  1089. <hint>
  1090. <![CDATA[
  1091. 각 부서 담당자가 "회신요청"된 VOC를 선택하여 그 내용을 읽고 『부서 접수 확인』
  1092. 버튼을 눌러 해당 VOC 처리를 시작했음을 알리게 되면【부서처리중】상태가 된다.
  1093. ]]>
  1094. </hint>
  1095. </caption>
  1096. <caption id="caption54" style="left:60px; top:634px; width:115px; height:21px; font-weight:bold; vertical-align:top; line-spacing:7; ">
  1097. <![CDATA[(4) 부서장결재]]>
  1098. <hint>
  1099. <![CDATA[
  1100. 각 부서 담당자가 "부서처리중"인 VOC에 대하여 실제 업무처리를 하고
  1101. 부서장에게 결재 요청을 하고 난 뒤 부서장이 의견을 적고 결재 버튼을
  1102. 눌러 민원담당부서 담당자에게 회신하게 되면【부서장결재】상태가 된다.
  1103. ]]>
  1104. </hint>
  1105. </caption>
  1106. <caption id="caption55" style="left:60px; top:654px; width:115px; height:20px; font-weight:bold; vertical-align:top; line-spacing:7; ">
  1107. <![CDATA[(5) 처리완료]]>
  1108. <hint>
  1109. <![CDATA[
  1110. 민원담당부서 담당자가 "부서장결재"인 VOC에 대하여 부서의 처리결과를 판단하여
  1111. 그 결과가 미진하거나 또 다른 부서와 관련된다고 판단되면 "재요청 처리"를 할 수 있고,
  1112. 제대로 처리되었다고 판단되면 원인분석 및 개선활동을 적고 이후에도 지속적으로 관리
  1113. 하여야 하는지 여부를 체크하고 완료처리 버튼을 누르게 되면【처리완료】상태가 된다.
  1114. ]]>
  1115. </hint>
  1116. </caption>
  1117. <caption id="caption56" style="left:60px; top:676px; width:115px; height:20px; vertical-align:top; line-spacing:7; ">
  1118. <![CDATA[ * 접수취소]]>
  1119. <hint>
  1120. <![CDATA[
  1121. "접수완료"된 VOC는 "회신 요청"을 하기 전에 "접수 취소"를 할 수 있다. 하지만 이미
  1122. 프로세스가 진행되어 담당부서로 요청이 들어간 경우에는 접수 취소를 할 수 없게 된다.
  1123. ]]>
  1124. </hint>
  1125. </caption>
  1126. <caption id="caption57" style="left:60px; top:696px; width:115px; height:20px; vertical-align:top; line-spacing:7; ">
  1127. <![CDATA[ * 자체처리]]>
  1128. <hint>
  1129. <![CDATA[
  1130. "접수완료"된 VOC는 "회신 요청"을 하기 전에 민원담당부서에서 자체적으로 완료처리를 할 수 있다.
  1131. 하지만 이미 프로세스가 진행되어 담당부서로 요청이 들어간 경우에는 자체처리를 할 수 없게 된다.
  1132. ]]>
  1133. </hint>
  1134. </caption>
  1135. </xhtml:body>
  1136. </xhtml:html>