1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * Name : SMCVA00300_VOC 접수 내용
- * Summary : VOC 접수 내용
- * Programmer : 김준규
- * Date Written : 2007.01.22
- * History : 2007.03.19
- * Remark :
- -->
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <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">
- <xhtml:head>
- <xhtml:title>VOC 접수내용</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <vocdata>
- <customer>
- <clntnm/>
- <resdnrgstno1/>
- <resdnrgstno2/>
- <pid/>
- <patnm/>
- <patrela/>
- <patphonno/>
- <patresdnrgstno1/>
- <patresdnrgstno2/>
- <zipcd1/>
- <zipcd2/>
- <zipcdseq/>
- <zipcdaddr/>
- <detladdr/>
- <hometelno/>
- <mpphonno/>
- <etctelno/>
- <emailaddr/>
- <gndr/>
- </customer>
- <accept>
- <acptseq/>
- <acptdd/>
- <genrdd/>
- <acpttype/>
- <prcsstat/>
- <acptkindlrg/>
- <acptkindmdl/>
- <acptkindsml/>
- <acpttitl/>
- <acptcnts/>
- <selfcnts/>
- <acpviewdd/>
- <openallyn/>
- <selfyn/>
- <fstrgstrnm/>
- <lastupdtrnm/>
- </accept>
- <deptview>
- <deptnm/>
- <deptcd/>
- <empnm/>
- <empid/>
- <rgstseq/>
- </deptview>
- <deptlist/>
- <preself>
- <sndacptdd/>
- <sndacptseq/>
- </preself>
- </vocdata>
- <vocpopup>
- <title/>
- <contents/>
- <inputmode/>
- <receive_path/>
- </vocpopup>
- <area>
- <reqdeptnm/>
- <reqdeptcd/>
- <reqempnm/>
- <reqempid/>
- </area>
- <temp>
- <data>
- <srchacptdd1/>
- <srchacptdd2/>
- <srchacpttypecd/>
- <srchprcsstatcd/>
- <srchpatnm/>
- <srchpid/>
- <srchcintnm/>
- </data>
- <key>
- <sndacptdd/>
- <sndacptseq/>
- </key>
- </temp>
- </main>
- <temp>
- <piddata>
- <pid/>
- <hngnm/>
- <rrgstno/>
- <mpphontel/>
- <hometel/>
- <email/>
- <lastchosdt/>
- <rrgstno1/>
- <rrgstno2/>
- <sex/>
- <zipcd1/>
- <zipcd2/>
- <zipcdseq/>
- <zipcdaddr/>
- <detladdr/>
- <etctelno1/>
- </piddata>
- </temp>
- <send>
- <data>
- </data>
- </send>
- <init>
- <C0001list>
- <cdid/>
- <cdnm/>
- </C0001list>
- <C0003list>
- <cdid/>
- <cdnm/>
- </C0003list>
- <C0004list>
- <cdid/>
- <cdnm/>
- </C0004list>
- <C0005list>
- <cdid/>
- <cdnm/>
- </C0005list>
- <C0006list>
- <cdid/>
- <cdnm/>
- </C0006list>
- <C0007list>
- <cdid/>
- <cdnm/>
- </C0007list>
- <C0008list>
- <cdid/>
- <cdnm/>
- </C0008list>
- <C0009list>
- <cdid/>
- <cdnm/>
- </C0009list>
- <C0010list>
- <cdid/>
- <cdnm/>
- </C0010list>
- <C0011list>
- <cdid/>
- <cdnm/>
- </C0011list>
- </init>
- </root>
- </instance>
- <submission id="TRCVA00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/vocdata/customer" replace="instance" resultref="/root/temp/piddata"/>
- <submission id="TRCVA00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/temp/key" resultref="/root/main/vocdata"/>
- <submission id="TXCVA00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/vocdata"/>
- <submission id="TXCVA00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/vocdata"/>
- <submission id="TXCVA00301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/temp/key"/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="urlencoded-post" replace="instance"/>
- </model>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- var reAcptDD = model.getValue("/root/main/temp/key/sndacptdd")
- var reAcptSeq = model.getValue("/root/main/temp/key/sndacptseq")
-
- if (( reAcptDD == "" || reAcptDD == null ) || ( reAcptSeq == "" || reAcptSeq == null )) {
- var rtn = messageBox("조회에 필요한 항목이 전달되지", "E007");
- if(rtn == 1){
- navigate("SMCVA00200");
- }
- } else {
- submit("TRCVA00201");
-
- if( model.getValue("/root/main/vocdata/accept/acptkindlrg") == "C" ) {
- switch (model.getValue("/root/main/vocdata/accept/acptkindmdl")) {
- case "ES" :
- cmb_AcptKindSml.choices.itemset.attribute("nodeset") = "/root/init/C0005list/C0005";
- 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 );
- break;
- case "PS" :
- cmb_AcptKindSml.choices.itemset.attribute("nodeset") = "/root/init/C0006list/C0006";
- 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 );
- break;
- case "OS" :
- cmb_AcptKindSml.choices.itemset.attribute("nodeset") = "/root/init/C0007list/C0007";
- 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 );
- break;
- case "NS" :
- cmb_AcptKindSml.choices.itemset.attribute("nodeset") = "/root/init/C0008list/C0008";
- 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 );
- break;
- case "TS" :
- cmb_AcptKindSml.choices.itemset.attribute("nodeset") = "/root/init/C0009list/C0009";
- 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 );
- break;
- default :
- zbcfGetCodeList( new Array("C0001", "C0003", "C0004", "C0011"), new Array("/root/init/C0001list", "/root/init/C0003list", "/root/init/C0004list", "/root/init/C0011list"), true );
- break;
- }
- } else {
- zbcfGetCodeList( new Array("C0001", "C0003", "C0011"), new Array("/root/init/C0001list", "/root/init/C0003list", "/root/init/C0011list"), true );
- }
-
- if( model.getValue("/root/main/vocdata/accept/prcsstat") != "접수완료" ) {
- btn_save.disabled = true;
- btn_del.disabled = true;
- btn_reqmove.disabled = true;
- btn_clear.disabled = true;
- }
-
- if( model.getValue("/root/main/vocdata/accept/prcsstat") != "자체처리" ) {
- model.makeValue("/root/main/vocdata/accept/selfyn", "");
- } else {
- model.makeValue("/root/main/vocdata/accept/selfyn", "Y");
- }
- }
- fCheckAuth();
- model.refresh();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- function fCheckAuth() {
- // 권한체크
- if (!checkAuth("r")) {
- btnicon_search2.disabled = true;
- btnicon_search3.disabled = true;
- btnicon_search4.disabled = true;
- btnicon_search5.disabled = true;
- btnicon_search6.disabled = true;
- btnicon_search7.disabled = true;
- }
- if (!checkAuth("x")) {
- btn_save.disabled = true;
- btn_reqmove.disabled = true;
- btn_del.disabled = true;
- }
- if (!checkAuth("p")) {
- }
- }
- ]]>
- </script>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption1" class="tit_1" style="left:0px; top:0px; width:117px; height:13px; ">VOC 접수 내용</caption>
- </group>
- <group id="grp_customer" style="left:225px; top:23px; width:970px; height:197px; ">
- <caption id="caption9" class="tit_2" style="left:5px; top:0px; width:145px; height:13px; ">등록된 접수고객정보</caption>
- <line id="line2" class="line_1" style="x1:0px; y1:15px; x2:970px; y2:15px; "/>
- <line id="line3" class="line_3" style="x1:0px; y1:42px; x2:970px; y2:42px; "/>
- <caption id="caption10" class="cell_1" style="left:0px; top:20px; width:105px; height:23px; text-align:center; vertical-align:middle; ">접수번호</caption>
- <output id="opt_AcptNo" ref="/root/main/vocdata/accept/acptseq" class="output_fix" appearance="input" style="left:108px; top:21px; width:130px; height:19px; "/>
- <line id="line4" class="line_2" style="x1:0px; y1:71px; x2:970px; y2:71px; "/>
- <caption id="caption22" class="cell_1" style="left:0px; top:49px; width:105px; height:23px; text-align:center; vertical-align:middle; ">등록번호</caption>
- <input id="ipt_PID" ref="/root/main/vocdata/customer/pid" class="input_default" appearance="input" style="left:108px; top:50px; width:112px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if (event.keyCode == '13') {
- model.setValue("/root/main/vocdata/customer/pid", ipt_PID.currentText);
- //환자등록번호 체크
- if(ipt_PID.currentText.length >= 1 ){
- if(submit("TRCVA00104")){
- if( getNodesetCount("/root/temp/piddata") > 0 ){
- var pid_pid = model.getValue("/root/temp/piddata/pid");
- var pid_hngnm = model.getValue("/root/temp/piddata/hngnm");
- var pid_rrgstno1 = model.getValue("/root/temp/piddata/rrgstno1");
- var pid_rrgstno2 = model.getValue("/root/temp/piddata/rrgstno2");
- var pid_mpphontel = model.getValue("/root/temp/piddata/mpphontel");
-
- model.setValue("/root/main/vocdata/customer/patnm", pid_hngnm);
- // model.setValue("/root/main/vocdata/customer/pid", pid_pid);
- model.setValue("/root/main/vocdata/customer/patresdnrgstno1", pid_rrgstno1);
- model.setValue("/root/main/vocdata/customer/patresdnrgstno2", pid_rrgstno2);
- model.setValue("/root/main/vocdata/customer/patphonno", pid_mpphontel);
-
- model.setFocus("cmb_PatRela");
- model.refresh();
- }else{
- messageBox("존재하지 않는 환자 등록번호 ", "E008");
- }
- }
- }else{
- messageBox("환자 등록번호를 정확히", "C001");
- }
- }
- ]]>
- </script>
- </input>
- <button id="btnicon_search3" class="icon_search" style="left:223px; top:50px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var search_condition = "pid";
- var search_term = model.getValue("/root/main/vocdata/customer/pid");
- var receive_pid_path = "/root/main/vocdata/customer/pid";
- var receive_patnm_path = "/root/main/vocdata/customer/patnm";
- var receive_resdnrgstno1_path = "/root/main/vocdata/customer/patresdnrgstno1";
- var receive_resdnrgstno2_path = "/root/main/vocdata/customer/patresdnrgstno2";
- var receive_mpphontel_path = "/root/main/vocdata/customer/patphonno";
- var receive_path = "voc";
-
- setParameter("search_condition", search_condition);
- setParameter("search_term", search_term);
- setParameter("receive_pid_path", receive_pid_path);
- setParameter("receive_patnm_path", receive_patnm_path);
- setParameter("receive_resdnrgstno1_path", receive_resdnrgstno1_path);
- setParameter("receive_resdnrgstno2_path", receive_resdnrgstno2_path);
- setParameter("receive_mpphontel_path", receive_mpphontel_path);
- setParameter("receive_path", receive_path);
-
- modal("SPCCM00100")
-
- clearParameter("search_condition");
- clearParameter("search_term");
- clearParameter("receive_pid_path");
- clearParameter("receive_patnm_path");
- clearParameter("receive_resdnrgstno1_path");
- clearParameter("receive_resdnrgstno2_path");
- clearParameter("receive_mpphontel_path");
- clearParameter("receive_path");
- ]]>
- </script>
- </button>
- <caption id="caption21" class="cell_1" style="left:241px; top:49px; width:105px; height:23px; text-align:center; vertical-align:middle; ">환자명</caption>
- <input id="ipt_PatNm" ref="/root/main/vocdata/customer/patnm" class="input_default" appearance="input" style="left:349px; top:50px; width:112px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btnicon_search4", "DOMActivate");
- ]]>
- </script>
- </input>
- <button id="btnicon_search4" class="icon_search" style="left:464px; top:50px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var search_condition = "patnm";
- var search_term = model.getValue("/root/main/vocdata/customer/patnm");
- var receive_pid_path = "/root/main/vocdata/customer/pid";
- var receive_patnm_path = "/root/main/vocdata/customer/patnm";
- var receive_resdnrgstno1_path = "/root/main/vocdata/customer/patresdnrgstno1";
- var receive_resdnrgstno2_path = "/root/main/vocdata/customer/patresdnrgstno2";
- var receive_mpphontel_path = "/root/main/vocdata/customer/patphonno";
- var receive_path = "voc";
-
- setParameter("search_condition", search_condition);
- setParameter("search_term", search_term);
- setParameter("receive_pid_path", receive_pid_path);
- setParameter("receive_patnm_path", receive_patnm_path);
- setParameter("receive_resdnrgstno1_path", receive_resdnrgstno1_path);
- setParameter("receive_resdnrgstno2_path", receive_resdnrgstno2_path);
- setParameter("receive_mpphontel_path", receive_mpphontel_path);
- setParameter("receive_path", receive_path);
-
- modal("SPCCM00100")
-
- clearParameter("search_condition");
- clearParameter("search_term");
- clearParameter("receive_pid_path");
- clearParameter("receive_patnm_path");
- clearParameter("receive_resdnrgstno1_path");
- clearParameter("receive_resdnrgstno2_path");
- clearParameter("receive_mpphontel_path");
- clearParameter("receive_path");
- ]]>
- </script>
- </button>
- <caption id="caption4" class="cell_1" style="left:483px; top:49px; width:107px; height:23px; text-align:center; vertical-align:middle; ">환자 주민번호</caption>
- <input id="input2" ref="/root/main/vocdata/customer/patresdnrgstno1" class="input_default" maxlength="6" style="left:591px; top:50px; width:59px; height:19px; "/>
- <input id="input3" ref="/root/main/vocdata/customer/patresdnrgstno2" class="input_default" maxlength="7" style="left:652px; top:50px; width:69px; height:19px; "/>
- <caption id="caption3" class="cell_1" style="left:723px; top:49px; width:105px; height:23px; text-align:center; vertical-align:middle; ">환자 연락처</caption>
- <input id="input1" ref="/root/main/vocdata/customer/patphonno" class="input_default" appearance="input" style="left:832px; top:50px; width:130px; height:19px; "/>
- <line id="line8" class="line_3" style="x1:0px; y1:95px; x2:970px; y2:95px; "/>
- <caption id="caption20" class="cell_1" style="left:0px; top:73px; width:105px; height:23px; text-align:center; vertical-align:middle; ">환자와의 관계</caption>
- <select1 id="cmb_PatRela" ref="/root/main/vocdata/customer/patrela" class="combo_default" appearance="minimal" style="left:108px; top:74px; width:130px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/C0011list/C0011">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- var change_rela = model.getValue("/root/main/vocdata/customer/patrela");
- var rela_patnm = model.getValue("/root/main/vocdata/customer/patnm");
- var rela_clntnm = model.getValue("/root/main/vocdata/customer/clntnm");
-
- var pid_hngnm = model.getValue("/root/temp/piddata/hngnm");
- var pid_rrgstno1 = model.getValue("/root/temp/piddata/rrgstno1");
- var pid_rrgstno2 = model.getValue("/root/temp/piddata/rrgstno2");
- var pid_sex = model.getValue("/root/temp/piddata/sex");
- var pid_zipcd1 = model.getValue("/root/temp/piddata/zipcd1");
- var pid_zipcd2 = model.getValue("/root/temp/piddata/zipcd2");
- var pid_zipcdaddr = model.getValue("/root/temp/piddata/zipcdaddr");
- var pid_detladdr = model.getValue("/root/temp/piddata/detladdr");
- var pid_hometel = model.getValue("/root/temp/piddata/hometel");
- var pid_mpphontel = model.getValue("/root/temp/piddata/mpphontel");
- var pid_etctelno1 = model.getValue("/root/temp/piddata/etctelno1");
- var pid_email = model.getValue("/root/temp/piddata/email");
-
- if ( change_rela == "") {
- } else if ( change_rela == "A") {
- model.setValue("/root/main/vocdata/customer/clntnm", pid_hngnm);
- model.setValue("/root/main/vocdata/customer/resdnrgstno1", pid_rrgstno1);
- model.setValue("/root/main/vocdata/customer/resdnrgstno2", pid_rrgstno2);
- model.setValue("/root/main/vocdata/customer/gndr", pid_sex);
- model.setValue("/root/main/vocdata/customer/zipcd1", pid_zipcd1);
- model.setValue("/root/main/vocdata/customer/zipcd2", pid_zipcd2);
- model.setValue("/root/main/vocdata/customer/zipcdaddr", pid_zipcdaddr);
- model.setValue("/root/main/vocdata/customer/detladdr", pid_detladdr);
- model.setValue("/root/main/vocdata/customer/hometelno", pid_hometel);
- model.setValue("/root/main/vocdata/customer/mpphonno", pid_mpphontel);
- model.setValue("/root/main/vocdata/customer/etctelno", pid_etctelno1);
- model.setValue("/root/main/vocdata/customer/emailaddr", pid_email);
- model.refresh()
- } else {
- if ( rela_patnm != rela_clntnm ) {
- } else {
- model.setValue("/root/main/vocdata/customer/clntnm", "");
- model.setValue("/root/main/vocdata/customer/resdnrgstno1", "");
- model.setValue("/root/main/vocdata/customer/resdnrgstno2", "");
- model.setValue("/root/main/vocdata/customer/gndr", "M");
- model.setValue("/root/main/vocdata/customer/zipcd1", "");
- model.setValue("/root/main/vocdata/customer/zipcd2", "");
- model.setValue("/root/main/vocdata/customer/zipcdaddr", "");
- model.setValue("/root/main/vocdata/customer/detladdr", "");
- model.setValue("/root/main/vocdata/customer/hometelno", "");
- model.setValue("/root/main/vocdata/customer/mpphonno", "");
- model.setValue("/root/main/vocdata/customer/etctelno", "");
- model.setValue("/root/main/vocdata/customer/emailaddr", "");
- model.refresh()
- }
- ; }
- ]]>
- </script>
- </select1>
- <line id="line1" class="line_2" style="x1:0px; y1:124px; x2:970px; y2:124px; "/>
- <caption id="caption11" class="cell_1" style="left:0px; top:102px; width:105px; height:23px; text-align:center; vertical-align:middle; ">민원인</caption>
- <input id="ipt_CintNm" ref="/root/main/vocdata/customer/clntnm" class="input_essential" appearance="input" style="left:108px; top:103px; width:112px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btnicon_search2", "DOMActivate");
- ]]>
- </script>
- </input>
- <button id="btnicon_search2" class="icon_search" style="left:223px; top:103px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var search_condition = "clntnm";
- var search_term = model.getValue("/root/main/vocdata/customer/clntnm");
- var receive_clntnm_path = "/root/main/vocdata/customer/clntnm";
- var receive_resdnrgstno1_path = "/root/main/vocdata/customer/resdnrgstno1";
- var receive_resdnrgstno2_path = "/root/main/vocdata/customer/resdnrgstno2";
- var receive_gndr_path = "/root/main/vocdata/customer/gndr";
- var receive_zipcd1_path = "/root/main/vocdata/customer/zipcd1";
- var receive_zipcd2_path = "/root/main/vocdata/customer/zipcd2";
- var receive_zipcdaddr_path = "/root/main/vocdata/customer/zipcdaddr";
- var receive_detladdr_path = "/root/main/vocdata/customer/detladdr";
- var receive_hometelno_path = "/root/main/vocdata/customer/hometelno";
- var receive_mpphonno_path = "/root/main/vocdata/customer/mpphonno";
- var receive_etctelno_path = "/root/main/vocdata/customer/etctelno";
- var receive_emailaddr_path = "/root/main/vocdata/customer/emailaddr";
-
- setParameter("search_condition", search_condition);
- setParameter("search_term", search_term);
- setParameter("receive_clntnm_path", receive_clntnm_path);
- setParameter("receive_resdnrgstno1_path", receive_resdnrgstno1_path);
- setParameter("receive_resdnrgstno2_path", receive_resdnrgstno2_path);
- setParameter("receive_gndr_path", receive_gndr_path);
- setParameter("receive_zipcd1_path", receive_zipcd1_path);
- setParameter("receive_zipcd2_path", receive_zipcd2_path);
- setParameter("receive_zipcdaddr_path", receive_zipcdaddr_path);
- setParameter("receive_detladdr_path", receive_detladdr_path);
- setParameter("receive_hometelno_path", receive_hometelno_path);
- setParameter("receive_mpphonno_path", receive_mpphonno_path);
- setParameter("receive_etctelno_path", receive_etctelno_path);
- setParameter("receive_emailaddr_path", receive_emailaddr_path);
-
- modal("SPCVZ00100");
-
- clearParameter("search_condition");
- clearParameter("search_term");
- clearParameter("receive_clntnm_path");
- clearParameter("receive_resdnrgstno1_path");
- clearParameter("receive_resdnrgstno2_path");
- clearParameter("receive_gndr_path");
- clearParameter("receive_zipcd1_path");
- clearParameter("receive_zipcd2_path");
- clearParameter("receive_zipcdaddr_path");
- clearParameter("receive_detladdr_path");
- clearParameter("receive_hometelno_path");
- clearParameter("receive_mpphonno_path");
- clearParameter("receive_etctelno_path");
- clearParameter("receive_emailaddr_path");
- ]]>
- </script>
- </button>
- <caption id="caption12" class="cell_1" style="left:242px; top:102px; width:105px; height:23px; text-align:center; vertical-align:middle; ">주민등록번호</caption>
- <input id="ipt_ResdnRgstNo1" ref="/root/main/vocdata/customer/resdnrgstno1" class="input_default" maxlength="6" style="left:350px; top:103px; width:59px; height:19px; "/>
- <input id="ipt_ResdnRgstNo2" ref="/root/main/vocdata/customer/resdnrgstno2" class="input_default" maxlength="7" style="left:411px; top:103px; width:69px; height:19px; "/>
- <caption id="caption13" class="cell_1" style="left:482px; top:102px; width:105px; height:23px; text-align:center; vertical-align:middle; ">성 별</caption>
- <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; ">
- <choices>
- <item>
- <label>남</label>
- <value>M</value>
- </item>
- </choices>
- </select1>
- <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; ">
- <choices>
- <item>
- <label>여</label>
- <value>F</value>
- </item>
- </choices>
- </select1>
- <line id="line5" class="line_2" style="x1:0px; y1:148px; x2:970px; y2:148px; "/>
- <caption id="caption14" class="cell_1" style="left:0px; top:126px; width:105px; height:23px; text-align:center; vertical-align:middle; ">주소</caption>
- <output id="ipt_ZipCd1" ref="/root/main/vocdata/customer/zipcd1" class="output_fix" style="left:108px; top:127px; width:45px; height:19px; "/>
- <output id="ipt_ZipCd2" ref="/root/main/vocdata/customer/zipcd2" class="output_fix" style="left:155px; top:127px; width:45px; height:19px; "/>
- <button id="btnicon_search5" class="icon_search" style="left:203px; top:129px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var search_term1 = model.getValue("/root/main/vocdata/customer/zipcd1");
- var search_term2 = model.getValue("/root/main/vocdata/customer/zipcd2");
- var search_term = search_term1 + "-" + search_term2;
-
- if ( search_term1 != "") {
- var search_condition = "srchzipcd";
- } else {
- var search_condition = "srchcombination";
- }
-
- var receive_zipcd1_path = "/root/main/vocdata/customer/zipcd1";
- var receive_zipcd2_path = "/root/main/vocdata/customer/zipcd2";
- var receive_zipcdseq_path = "/root/main/vocdata/customer/zipcdseq";
- var receive_zipcdaddr_path = "/root/main/vocdata/customer/zipcdaddr";
-
- setParameter("search_condition", search_condition);
- setParameter("search_term", search_term);
- setParameter("receive_zipcd1_path", receive_zipcd1_path);
- setParameter("receive_zipcd2_path", receive_zipcd2_path);
- setParameter("receive_zipcdseq_path", receive_zipcdseq_path);
- setParameter("receive_zipcdaddr_path", receive_zipcdaddr_path);
-
- modal("SPCCM00200")
-
- clearParameter("search_condition");
- clearParameter("search_term");
- clearParameter("receive_zipcd1_path");
- clearParameter("receive_zipcd2_path");
- clearParameter("receive_zipcdseq_path");
- clearParameter("receive_zipcdaddr_path");
- ]]>
- </script>
- </button>
- <output id="ipt_ZipCdAddr" ref="/root/main/vocdata/customer/zipcdaddr" class="output_fix" style="left:222px; top:127px; width:320px; height:19px; "/>
- <input id="ipt_detladdr" ref="/root/main/vocdata/customer/detladdr" class="input_default" style="left:544px; top:127px; width:418px; height:19px; "/>
- <line id="line6" class="line_2" style="x1:0px; y1:172px; x2:970px; y2:172px; "/>
- <caption id="caption16" class="cell_1" style="left:0px; top:150px; width:105px; height:23px; text-align:center; vertical-align:middle; ">전화[자택]</caption>
- <input id="ipt_HomeTelNo" ref="/root/main/vocdata/customer/hometelno" class="input_default" appearance="input" style="left:108px; top:151px; width:130px; height:19px; "/>
- <caption id="caption17" class="cell_1" style="left:241px; top:150px; width:105px; height:23px; text-align:center; vertical-align:middle; ">전화[휴대]</caption>
- <input id="ipt_MPphonNo" ref="/root/main/vocdata/customer/mpphonno" class="input_default" appearance="input" style="left:349px; top:151px; width:130px; height:19px; "/>
- <caption id="caption18" class="cell_1" style="left:483px; top:150px; width:105px; height:23px; text-align:center; vertical-align:middle; ">전화[기타]</caption>
- <input id="ipt_EtcTelNo" ref="/root/main/vocdata/customer/etctelno" class="input_default" appearance="input" style="left:591px; top:151px; width:130px; height:19px; "/>
- <line id="line7" class="line_3" style="x1:0px; y1:196px; x2:970px; y2:196px; "/>
- <caption id="caption19" class="cell_1" style="left:0px; top:174px; width:105px; height:23px; text-align:center; vertical-align:middle; ">메일주소</caption>
- <input id="ipt_EmailAddr" ref="/root/main/vocdata/customer/emailaddr" class="input_default" style="left:108px; top:175px; width:371px; height:19px; "/>
- </group>
- <button id="btn_rgstclear" class="btn4_letter6" style="left:1091px; top:14px; width:104px; height:22px; ">
- <caption>등록 초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- navigate("SMCVA00100");
- ]]>
- </script>
- </button>
- <group id="grp_Accept" style="left:225px; top:221px; width:970px; height:530px; ">
- <caption id="caption23" class="tit_2" style="left:5px; top:10px; width:119px; height:13px; ">등록된 접수내역</caption>
- <caption id="caption15" class="search_no_b" style="left:437px; top:6px; width:48px; height:17px; ">등록자</caption>
- <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; "/>
- <caption id="caption2" class="search_no_b" style="left:571px; top:6px; width:74px; height:17px; ">최종수정자</caption>
- <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; "/>
- <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; ">
- <choices>
- <item>
- <label>모든 부서에 내용 공개</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <line id="line9" class="line_1" style="x1:0px; y1:25px; x2:970px; y2:25px; "/>
- <line id="line10" class="line_2" style="x1:0px; y1:52px; x2:970px; y2:52px; "/>
- <caption id="caption24" class="cell_1" style="left:0px; top:30px; width:105px; height:23px; text-align:center; vertical-align:middle; ">접수일자</caption>
- <input id="ipt_AcptViewDD" ref="/root/main/vocdata/accept/acpviewdd" class="input_essential" inputtype="date" style="left:108px; top:31px; width:130px; height:19px; "/>
- <caption id="caption25" class="cell_1" style="left:241px; top:30px; width:105px; height:23px; text-align:center; vertical-align:middle; ">발생일자</caption>
- <input id="ipt_GenrDD" ref="/root/main/vocdata/accept/genrdd" class="input_default" inputtype="date" style="left:349px; top:31px; width:130px; height:19px; "/>
- <caption id="caption26" class="cell_1" style="left:483px; top:30px; width:105px; height:23px; text-align:center; vertical-align:middle; ">접수구분</caption>
- <select1 id="cmb_AcptType" ref="/root/main/vocdata/accept/acpttype" class="combo_essential" appearance="minimal" style="left:591px; top:31px; width:130px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/C0001list/C0001">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption6" class="cell_1" style="left:723px; top:30px; width:105px; height:23px; text-align:center; vertical-align:middle; ">전체 진행상태</caption>
- <output id="opt_PrcsStat" ref="/root/main/vocdata/accept/prcsstat" class="output_fix" style="left:832px; top:31px; width:130px; height:19px; "/>
- <line id="line11" class="line_2" style="x1:0px; y1:76px; x2:970px; y2:76px; "/>
- <caption id="caption28" class="cell_1" style="left:0px; top:54px; width:105px; height:23px; text-align:center; vertical-align:middle; ">접수유형</caption>
- <select1 id="cmb_AcptKindLrg" ref="/root/main/vocdata/accept/acptkindlrg" class="combo_essential" appearance="minimal" style="left:108px; top:55px; width:130px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/C0003list/C0003">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.resetInstanceNode("/root/main/vocdata/accept/acptkindmdl");
- model.resetInstanceNode("/root/main/vocdata/accept/acptkindsml");
-
- if(cmb_AcptKindLrg.value == 'C') {
- model.removeNodeset("/root/init/C0004list/C0004");
- model.removeNodeset("/root/init/C0005list/C0005");
- model.removeNodeset("/root/init/C0006list/C0006");
- model.removeNodeset("/root/init/C0007list/C0007");
- model.removeNodeset("/root/init/C0008list/C0008");
- model.removeNodeset("/root/init/C0009list/C0009");
- zbcfGetCodeList( new Array("C0004"), new Array("/root/init/C0004list"), true );
- }else{
- model.removeNodeset("/root/init/C0004list/C0004");
- model.removeNodeset("/root/init/C0005list/C0005");
- model.removeNodeset("/root/init/C0006list/C0006");
- model.removeNodeset("/root/init/C0007list/C0007");
- model.removeNodeset("/root/init/C0008list/C0008");
- model.removeNodeset("/root/init/C0009list/C0009");
- }
- model.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_AcptKindMdl" ref="/root/main/vocdata/accept/acptkindmdl" class="combo_default" appearance="minimal" style="left:240px; top:55px; width:130px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/C0004list/C0004">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.resetInstanceNode("/root/main/vocdata/acptkindsml");
-
- if(cmb_AcptKindMdl.value == 'ES') {
- model.removeNodeset("/root/init/C0005list/C0005");
- model.removeNodeset("/root/init/C0006list/C0006");
- model.removeNodeset("/root/init/C0007list/C0007");
- model.removeNodeset("/root/init/C0008list/C0008");
- model.removeNodeset("/root/init/C0009list/C0009");
- cmb_AcptKindSml.choices.itemset.attribute("nodeset") = "/root/init/C0005list/C0005";
- zbcfGetCodeList( new Array("C0005"), new Array("/root/init/C0005list"), true );
- }else if(cmb_AcptKindMdl.value == 'PS') {
- model.removeNodeset("/root/init/C0005list/C0005");
- model.removeNodeset("/root/init/C0006list/C0006");
- model.removeNodeset("/root/init/C0007list/C0007");
- model.removeNodeset("/root/init/C0008list/C0008");
- model.removeNodeset("/root/init/C0009list/C0009");
- cmb_AcptKindSml.choices.itemset.attribute("nodeset") = "/root/init/C0006list/C0006";
- zbcfGetCodeList( new Array("C0006"), new Array("/root/init/C0006list"), true );
- }else if(cmb_AcptKindMdl.value == 'OS') {
- model.removeNodeset("/root/init/C0005list/C0005");
- model.removeNodeset("/root/init/C0006list/C0006");
- model.removeNodeset("/root/init/C0007list/C0007");
- model.removeNodeset("/root/init/C0008list/C0008");
- model.removeNodeset("/root/init/C0009list/C0009");
- cmb_AcptKindSml.choices.itemset.attribute("nodeset") = "/root/init/C0007list/C0007";
- zbcfGetCodeList( new Array("C0007"), new Array("/root/init/C0007list"), true );
- }else if(cmb_AcptKindMdl.value == 'NS') {
- model.removeNodeset("/root/init/C0005list/C0005");
- model.removeNodeset("/root/init/C0006list/C0006");
- model.removeNodeset("/root/init/C0007list/C0007");
- model.removeNodeset("/root/init/C0008list/C0008");
- model.removeNodeset("/root/init/C0009list/C0009");
- cmb_AcptKindSml.choices.itemset.attribute("nodeset") = "/root/init/C0008list/C0008";
- zbcfGetCodeList( new Array("C0008"), new Array("/root/init/C0008list"), true );
- }else if(cmb_AcptKindMdl.value == 'TS') {
- model.removeNodeset("/root/init/C0005list/C0005");
- model.removeNodeset("/root/init/C0006list/C0006");
- model.removeNodeset("/root/init/C0007list/C0007");
- model.removeNodeset("/root/init/C0008list/C0008");
- model.removeNodeset("/root/init/C0009list/C0009");
- cmb_AcptKindSml.choices.itemset.attribute("nodeset") = "/root/init/C0009list/C0009";
- zbcfGetCodeList( new Array("C0009"), new Array("/root/init/C0009list"), true );
- }else{
- model.removeNodeset("/root/init/C0005list/C0005");
- model.removeNodeset("/root/init/C0006list/C0006");
- model.removeNodeset("/root/init/C0007list/C0007");
- model.removeNodeset("/root/init/C0008list/C0008");
- model.removeNodeset("/root/init/C0009list/C0009");
- }
- model.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_AcptKindSml" ref="/root/main/vocdata/accept/acptkindsml" class="combo_default" appearance="minimal" style="left:372px; top:55px; width:130px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/C0005list/C0005">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <line id="line12" class="line_2" style="x1:0px; y1:195px; x2:970px; y2:195px; "/>
- <caption id="caption29" class="cell_1" style="left:0px; top:78px; width:105px; height:118px; text-align:center; vertical-align:middle; ">
- <![CDATA[민원이 제기된
- 부서 및 직원]]>
- </caption>
- <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; ">
- <col class="text_center" ref="deptnm"/>
- <col class="text_center" ref="deptcd" visibility="hidden"/>
- <col class="text_center" ref="empnm"/>
- <col class="text_center" ref="empid" visibility="hidden"/>
- <col ref="rgstseq" visibility="hidden"/>
- </datagrid>
- <caption id="caption8" class="hand" style="left:560px; top:84px; width:207px; height:17px; ">부서 선택은 필수 사항입니다.</caption>
- <caption id="caption5" class="search_no_b" style="left:563px; top:104px; width:38px; height:17px; ">직원 :</caption>
- <input id="ipt_EmpNm" ref="/root/main/area/reqempnm" class="input_default" style="left:604px; top:104px; width:130px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btnicon_search7", "DOMActivate");
- ]]>
- </script>
- </input>
- <button id="btnicon_search7" class="icon_search" style="left:738px; top:105px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var search_term1 = model.getValue("/root/main/area/reqempid");
- var search_term2 = model.getValue("/root/main/area/reqempnm");
- var search_term3 = model.getValue("/root/main/area/reqdeptcd");
-
- if ( search_term1 != "") {
- var search_condition = "empid";
- var search_term = search_term1;
- } else if ((search_term1 == "") && (search_term2 == "") && (search_term3 != "")) {
- var search_condition = "deptcd";
- var search_term = search_term3;
- } else {
- var search_condition = "empnm";
- var search_term = search_term2;
- }
-
- // var search_condition = "empid";
- // var search_term = model.getValue("/root/main/vocdata/deptview/area/EmpID");
- var receive_empid_path = "/root/main/area/reqempid";
- var receive_empnm_path = "/root/main/area/reqempnm";
- var receive_deptcd_path = "/root/main/area/reqdeptcd";
- var receive_deptnm_path = "/root/main/area/reqdeptnm";
-
- setParameter("search_condition", search_condition);
- setParameter("search_term", search_term);
- setParameter("receive_empid_path", receive_empid_path);
- setParameter("receive_empnm_path", receive_empnm_path);
- setParameter("receive_deptcd_path", receive_deptcd_path);
- setParameter("receive_deptnm_path", receive_deptnm_path);
-
- modal("SPCCM00400")
-
- clearParameter("search_condition");
- clearParameter("search_term");
- clearParameter("receive_empid_path");
- clearParameter("receive_empnm_path");
- clearParameter("receive_deptcd_path");
- clearParameter("receive_deptnm_path");
- ]]>
- </script>
- </button>
- <output id="ipt_EmpCD" ref="/root/main/area/reqempid" class="output_fix" visibility="hidden" style="left:757px; top:104px; width:100px; height:19px; "/>
- <caption id="caption30" class="search_no_b" style="left:563px; top:127px; width:38px; height:17px; ">부서 :</caption>
- <output id="ipt_DeptNm" ref="/root/main/area/reqdeptnm" class="output_fix" style="left:604px; top:126px; width:130px; height:19px; "/>
- <button id="btnicon_search6" class="icon_search" style="left:738px; top:128px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var search_condition = "deptcd";
- var search_term = model.getValue("/root/main/area/reqdeptcd");
- var receive_deptcd_path = "/root/main/area/reqdeptcd";
- var receive_deptnm_path = "/root/main/area/reqdeptnm";
-
- setParameter("search_condition", search_condition);
- setParameter("search_term", search_term);
- setParameter("receive_deptcd_path", receive_deptcd_path);
- setParameter("receive_deptnm_path", receive_deptnm_path);
-
- modal("SPCCM00300")
-
- clearParameter("search_condition");
- clearParameter("search_term");
- clearParameter("receive_deptcd_path");
- clearParameter("receive_deptnm_path");
- // zbcfOpenInstDeptCodeList(search_condition, search_term, receive_deptcd_path, receive_deptnm_path);
- ]]>
- </script>
- </button>
- <output id="ipt_DeptCd" ref="/root/main/area/reqdeptcd" class="output_fix" visibility="hidden" style="left:757px; top:126px; width:100px; height:19px; "/>
- <caption id="caption7" style="left:757px; top:127px; width:208px; height:17px; ">(해당 직원 없이 부서만 있는 경우)</caption>
- <button id="btn_insertDept" class="btn2_letter8" style="left:562px; top:150px; width:108px; height:19px; ">
- <caption>부서 및 직원 추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (( model.getValue("/root/main/area/reqempid") != "" ) && ( model.getValue("/root/main/area/reqempnm") == "" )){
- var rtn = messageBox("직원 선택을 하셨으나 임의로 직원 이름을 지웠습니다. \n직원 없이 부서만 등록 ", "S001");
- if(rtn == 6){
- model.setValue("/root/main/area/reqempid", "");
- } else {
- model.setFocus("ipt_EmpNm");
- return false;
- }
- }
-
- if ( model.getValue("/root/main/area/reqdeptcd") != "" ){
- grd_dept.additem();
-
- var receive_empid = model.getValue("/root/main/area/reqempid");
- var receive_empnm = model.getValue("/root/main/area/reqempnm");
- var receive_deptcd = model.getValue("/root/main/area/reqdeptcd");
- var receive_deptnm = model.getValue("/root/main/area/reqdeptnm");
-
- model.setValue("/root/main/vocdata/deptview[" + grd_dept.row + " ]/deptcd", receive_deptcd);
- model.setValue("/root/main/vocdata/deptview[" + grd_dept.row + " ]/deptnm", receive_deptnm);
- model.setValue("/root/main/vocdata/deptview[" + grd_dept.row + " ]/empid", receive_empid);
- model.setValue("/root/main/vocdata/deptview[" + grd_dept.row + " ]/empnm", receive_empnm);
- model.resetInstanceNode("/root/main/area");
- model.refresh();
- } else {
- messageBox("부서를","C002");
- model.setFocus("btnicon_search6");
- }
- ]]>
- </script>
- </button>
- <button id="btn_delDept" class="btn2_letter3" style="left:562px; top:173px; width:53px; height:19px; ">
- <caption>행 삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ((grd_dept.row > 0) && (grd_dept.col > 1)){
- grd_dept.deleteRow(grd_dept.row);
- grd_dept.refresh();
- } else {
- messageBox("삭제할 행이 없거나 선택하지 ","E007");
- }
- ]]>
- </script>
- </button>
- <line id="line13" class="line_2" style="x1:0px; y1:219px; x2:970px; y2:219px; "/>
- <caption id="caption33" class="cell_1" style="left:0px; top:197px; width:105px; height:23px; text-align:center; vertical-align:middle; ">제 목</caption>
- <input id="ipt_AcptTitl" ref="/root/main/vocdata/accept/acpttitl" class="input_essential" style="left:108px; top:198px; width:850px; height:19px; "/>
- <line id="line15" class="line_2" style="x1:0px; y1:432px; x2:970px; y2:432px; "/>
- <line id="line14" class="line_3" style="x1:0px; y1:528px; x2:970px; y2:528px; "/>
- <caption id="caption34" class="cell_1" style="left:0px; top:221px; width:105px; height:212px; text-align:center; vertical-align:middle; ">
- <![CDATA[민원 내용]]>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var s_contents = model.getValue("/root/main/vocdata/accept/acptcnts");
- var receive_path = "/root/main/vocdata/accept/acptcnts";
-
- model.setValue("/root/main/vocpopup/title", "민원 내용");
- model.setValue("/root/main/vocpopup/contents", s_contents);
- model.makeValue("/root/main/vocpopup/inputmode", "i");
- model.makeValue("/root/main/vocpopup/receive_path", receive_path);
-
- open("SPCVD00500", "", "", "", "SPCVD00500", "/root/main/vocpopup", "/root/main/vocpopup");
-
- model.setValue("/root/main/vocpopup/title", "");
- model.setValue("/root/main/vocpopup/contents", "");
- model.setValue("/root/main/vocpopup/inputmode", "");
- model.setValue("/root/main/vocpopup/receive_path", "");
- model.refresh();
- ]]>
- </script>
- </caption>
- <textarea id="tar_AcptCnts" ref="/root/main/vocdata/accept/acptcnts" scroll="vertical" style="left:108px; top:222px; width:850px; height:208px; "/>
- <line id="line16" style="x1:590px; y1:222px; x2:590px; y2:430px; border-color:#c0c0c0; border-style:dotted; "/>
- <caption id="caption27" class="cell_1" style="left:0px; top:434px; width:105px; height:95px; text-align:center; vertical-align:middle; ">
- <![CDATA[자체 처리에
- 대한 민원담당
- 부서의견]]>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var s_contents = model.getValue("/root/main/vocdata/accept/selfcnts");
- var receive_path = "/root/main/vocdata/accept/selfcnts";
-
- model.setValue("/root/main/vocpopup/title", "자체처리 의견");
- model.setValue("/root/main/vocpopup/contents", s_contents);
- model.makeValue("/root/main/vocpopup/inputmode", "i");
- model.makeValue("/root/main/vocpopup/receive_path", receive_path);
-
- open("SPCVD00500", "", "", "", "SPCVD00500", "/root/main/vocpopup", "/root/main/vocpopup");
-
- model.setValue("/root/main/vocpopup/title", "");
- model.setValue("/root/main/vocpopup/contents", "");
- model.setValue("/root/main/vocpopup/inputmode", "");
- model.setValue("/root/main/vocpopup/receive_path", "");
- model.refresh();
- ]]>
- </script>
- </caption>
- <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; ">
- <choices>
- <item>
- <label>자체 처리함</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- tar_SelfCnts.disabled = "false";
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-deselect">
- <![CDATA[
- tar_SelfCnts.disabled = "true";
- model.setValue("/root/main/vocdata/accept/selfcnts", "");
- model.refresh();
- ]]>
- </script>
- </select>
- <textarea id="tar_SelfCnts" ref="/root/main/vocdata/accept/selfcnts" disabled="true" scroll="vertical" style="left:108px; top:456px; width:850px; height:70px; "/>
- <line id="line17" style="x1:590px; y1:456px; x2:590px; y2:526px; border-color:#c0c0c0; border-style:dotted; "/>
- </group>
- <group id="grp_btn" scroll="auto" style="left:225px; top:751px; width:970px; height:27px; ">
- <button id="btn_prnt" class="btn6_letter2" style="left:0px; top:5px; width:56px; height:22px; ">
- <caption>목록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- navigate("SMCVA00200", "", "", "", "SMCVA00200", "/root/main/temp", "/root/send");
- ]]>
- </script>
- </button>
- <caption id="caption31" class="hand" style="left:100px; top:7px; width:520px; height:17px; ">내용 가운데 있는 점선(- - -)은 보고서 출력시 다음 줄로 넘어가는 기준선입니다.</caption>
- <button id="btn_save" class="btn4_letter2" style="left:608px; top:5px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var check_deptcd = grd_dept.valueMatrix(1, grd_dept.colRef("deptcd"));
- var check_deptnm = grd_dept.valueMatrix(1, grd_dept.colRef("deptnm"));
- var resultstate = grd_dept.getUpdateData()
-
- var s_acptkindlrg = model.getValue("/root/main/vocdata/accept/acptkindlrg");
- var s_acptkindmdl = model.getValue("/root/main/vocdata/accept/acptkindmdl");
- var s_acptkindsml = model.getValue("/root/main/vocdata/accept/acptkindsml");
- var s_pid = model.getValue("/root/main/vocdata/customer/pid");
- var s_patrela = model.getValue("/root/main/vocdata/customer/patrela");
- var s_clntnm = model.getValue("/root/main/vocdata/customer/clntnm");
- var s_patnm = model.getValue("/root/main/vocdata/customer/patnm");
- var s_genrdd = model.getValue("/root/main/vocdata/accept/genrdd");
- var s_acptdd = model.getValue("/root/main/vocdata/accept/acptdd");
-
- if (s_pid != ""){
- if (s_patrela == ""){
- messageBox("환자와의 관계를 ", "C002");
- model.setFocus("cmb_PatRela");
- return false;
- }
- } else if (s_pid == ""){
- if (s_patrela != ""){
- messageBox("환자 등록번호를 ", "C001");
- model.setFocus("ipt_PID");
- return false;
- }
- }
-
- if (s_patrela == "A"){
- if (s_patnm != s_clntnm){
- messageBox("환자와의 관계가 본인이면서 환자 이름과 민원인 이름이 ", "E004");
- model.setFocus("ipt_CintNm");
- return false;
- }
- }
-
- if (s_patrela != ""){
- if ((s_patrela != "A") && (s_clntnm == s_patnm)){
- messageBox("환자와의 관계가 본인이 아니면서 환자 이름과 민원인 이름이 일치 ", "E001");
- model.setFocus("ipt_CintNm");
- return false;
- }
- }
-
- if (s_genrdd != ""){
- if (s_genrdd > s_acptdd){
- messageBox("발생일자는 오늘 또는 접수일자 이후의 일자를 입력 ", "E001");
- model.setFocus("ipt_GenrDD");
- return false;
- }
- }
-
- if (s_acptkindlrg == "C"){
- if (s_acptkindmdl == "") {
- messageBox("불만 유형을 ", "C002");
- model.setFocus("cmb_AcptKindMdl");
- return false;
- } else if (s_acptkindsml == "") {
- messageBox("불만 상세 유형을 ", "C002");
- model.setFocus("cmb_AcptKindSml");
- return false;
- }
- }
-
- if (isRequiredControls("ipt_CintNm", "ipt_AcptViewDD", "cmb_AcptType", "cmb_AcptKindLrg", "ipt_AcptTitl", "tar_AcptCnts") ){
-
- model.makeValue("/root/main/vocdata/deptlist", resultstate);
-
- if (model.getValue("/root/main/vocdata/accept/selfyn") == "Y"){
- if (model.getValue("/root/main/vocdata/accept/selfcnts") == "") {
- messageBox("자체 처리에 대한 의견을 ", "C001");
- model.setFocus("tar_SelfCnts");
- } else {
- var r_sndacptdd = model.getValue("/root/main/temp/key/sndacptdd");
- var r_sndacptseq = model.getValue("/root/main/temp/key/sndacptseq");
-
- model.makeValue("/root/main/vocdata/preself/sndacptdd", r_sndacptdd);
- model.makeValue("/root/main/vocdata/preself/sndacptseq", r_sndacptseq);
-
- if(submit("TXCVA00202")){
- grd_dept.clearStatus();
- submit("TRCVA00201"); // 모든 정보를 다시 받아옴.
- model.refresh();
-
- messageBox("등록된 VOC 수정과 자체처리가 ", "I002");
- }
- }
- } else {
- if (grd_dept.rows < 2){
- messageBox("적어도 해당부서 1개 이상을 ", "C001");
- model.setFocus("btnicon_search6");
- } else if (check_deptnm == "") {
- messageBox("해당부서 이름을 ", "C001");
- model.setFocus("btnicon_search6");
- } else if (check_deptcd == "") {
- messageBox("해당부서 코드를 ", "C001");
- model.setFocus("btnicon_search6");
- } else if(submit("TXCVA00201")){
- grd_dept.clearStatus();
- submit("TRCVA00201"); // 모든 정보를 다시 받아옴.
- model.refresh();
-
- messageBox("등록된 VOC 수정이 ", "I002");
- }
- }
- }
- ]]>
- </script>
- </button>
- <button id="btn_del" class="btn4_letter5" style="left:666px; top:5px; width:92px; height:22px; ">
- <caption>접수 취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var rtn = messageBox(" 진행상태가 접수취소로 표기되며 통계에서 제외됩니다.", "Q001");
- if(rtn == 6){
- if(submit("TXCVA00301")){
- model.setValue("/root/main/vocdata/accept/prcsstat", "접수취소");
- btn_save.disabled = true;
- btn_del.disabled = true;
- btn_reqmove.disabled = true;
- btn_clear.disabled = true;
- messageBox("해당 VOC에 대한 접수취소 처리가 ", "I002");
- }
- }
- ]]>
- </script>
- </button>
- <button id="btn_reqmove" class="btn4_letter9" style="left:760px; top:5px; width:140px; height:22px; ">
- <caption>처리요청 화면으로</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/main/temp/data/srchprcsstatcd", "E")
- navigate("SMCVB00200", "", "", "", "SMCVB00200", "/root/main/temp", "/root/main/temp");
- ]]>
- </script>
- </button>
- <button id="btn_clear" class="btn4_letter3" style="left:902px; top:5px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset("/root/init/C0011list/C0011");
- model.removeNodeset("/root/init/C0001list/C0001");
- model.removeNodeset("/root/init/C0003list/C0003");
- model.removeNodeset("/root/init/C0004list/C0004");
- model.removeNodeset("/root/init/C0005list/C0005");
- model.removeNodeset("/root/init/C0006list/C0006");
- model.removeNodeset("/root/init/C0007list/C0007");
- model.removeNodeset("/root/init/C0008list/C0008");
- model.removeNodeset("/root/init/C0009list/C0009");
-
- model.dispatch("xforms-ready");
- ]]>
- </script>
- </button>
- </group>
- <import id="import1" overflow="hidden" instancetype="merge" src="./SSCVA00100_LeftTree.xrw" style="left:0px; top:23px; width:215px; height:744px; "/>
- <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; "/>
- <caption id="caption50" class="hand" style="left:35px; top:540px; width:144px; height:30px; ">VOC 진행 프로세스</caption>
- <caption id="caption51" style="left:60px; top:574px; width:115px; height:20px; font-weight:bold; vertical-align:top; line-spacing:7; ">
- <![CDATA[(1) 접수완료]]>
- <hint>
- <![CDATA[
- 민원담당부서에서 여러 경로를 통해 접수된 VOC를 민원인
- 정보와 함께 등록을 하게 되면【접수완료】상태가 된다.
- ]]>
- </hint>
- </caption>
- <caption id="caption52" style="left:60px; top:594px; width:115px; height:20px; font-weight:bold; vertical-align:top; line-spacing:7; ">
- <![CDATA[(2) 회신요청]]>
- <hint>
- <![CDATA[
- 민원담당부서 담당자가 "접수완료"된 VOC를 선택하여 담당부서를 정해
- 처리 요청을 하게 되면【회신요청】상태가 된다. 이 때 담당부서가 2개
- 이상인 경우에 담당부서를 계속해서 지정하여 처리 요청을 할 수 있다.
- ]]>
- </hint>
- </caption>
- <caption id="caption53" style="left:60px; top:614px; width:115px; height:20px; font-weight:bold; vertical-align:top; line-spacing:7; ">
- <![CDATA[(3) 부서처리중]]>
- <hint>
- <![CDATA[
- 각 부서 담당자가 "회신요청"된 VOC를 선택하여 그 내용을 읽고 『부서 접수 확인』
- 버튼을 눌러 해당 VOC 처리를 시작했음을 알리게 되면【부서처리중】상태가 된다.
- ]]>
- </hint>
- </caption>
- <caption id="caption54" style="left:60px; top:634px; width:115px; height:21px; font-weight:bold; vertical-align:top; line-spacing:7; ">
- <![CDATA[(4) 부서장결재]]>
- <hint>
- <![CDATA[
- 각 부서 담당자가 "부서처리중"인 VOC에 대하여 실제 업무처리를 하고
- 부서장에게 결재 요청을 하고 난 뒤 부서장이 의견을 적고 결재 버튼을
- 눌러 민원담당부서 담당자에게 회신하게 되면【부서장결재】상태가 된다.
- ]]>
- </hint>
- </caption>
- <caption id="caption55" style="left:60px; top:654px; width:115px; height:20px; font-weight:bold; vertical-align:top; line-spacing:7; ">
- <![CDATA[(5) 처리완료]]>
- <hint>
- <![CDATA[
- 민원담당부서 담당자가 "부서장결재"인 VOC에 대하여 부서의 처리결과를 판단하여
- 그 결과가 미진하거나 또 다른 부서와 관련된다고 판단되면 "재요청 처리"를 할 수 있고,
- 제대로 처리되었다고 판단되면 원인분석 및 개선활동을 적고 이후에도 지속적으로 관리
- 하여야 하는지 여부를 체크하고 완료처리 버튼을 누르게 되면【처리완료】상태가 된다.
- ]]>
- </hint>
- </caption>
- <caption id="caption56" style="left:60px; top:676px; width:115px; height:20px; vertical-align:top; line-spacing:7; ">
- <![CDATA[ * 접수취소]]>
- <hint>
- <![CDATA[
- "접수완료"된 VOC는 "회신 요청"을 하기 전에 "접수 취소"를 할 수 있다. 하지만 이미
- 프로세스가 진행되어 담당부서로 요청이 들어간 경우에는 접수 취소를 할 수 없게 된다.
- ]]>
- </hint>
- </caption>
- <caption id="caption57" style="left:60px; top:696px; width:115px; height:20px; vertical-align:top; line-spacing:7; ">
- <![CDATA[ * 자체처리]]>
- <hint>
- <![CDATA[
- "접수완료"된 VOC는 "회신 요청"을 하기 전에 민원담당부서에서 자체적으로 완료처리를 할 수 있다.
- 하지만 이미 프로세스가 진행되어 담당부서로 요청이 들어간 경우에는 자체처리를 할 수 없게 된다.
- ]]>
- </hint>
- </caption>
- </xhtml:body>
- </xhtml:html>
|