12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * Name : SMCVA00100_VOC 접수 등록
- * Summary : VOC 접수 등록
- * Programmer : 김준규
- * Date Written : 2007.01.22
- * History : 2007.03.19
- * Remark :
- -->
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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>M</gndr>
- </customer>
- <accept>
- <acptdd/>
- <genrdd/>
- <acpttype/>
- <acptkindlrg/>
- <acptkindmdl/>
- <acptkindsml/>
- <deptview>
- <grid>
- <deptnm/>
- <deptcd/>
- <empnm/>
- <empid/>
- </grid>
- <area>
- <reqdeptcd/>
- <reqdeptnm/>
- <reqempid/>
- <reqempnm/>
- </area>
- </deptview>
- <acpttitl/>
- <acptcnts/>
- <selfcnts/>
- <acpviewdd/>
- <openallyn/>
- <selfyn/>
- </accept>
- <endbase>
- <reqacptdd/>
- <reqacptseq/>
- </endbase>
- <preself>
- <sndacptdd/>
- <sndacptseq/>
- </preself>
- </vocdata>
- <vocpopup>
- <title/>
- <contents/>
- <inputmode/>
- <receive_path/>
- </vocpopup>
- <search>
- <srchpid/>
- <srchpatnm/>
- <srchcintnm/>
- </search>
- <temp>
- <key>
- <sndacptdd/>
- <sndacptseq/>
- </key>
- </temp>
- </main>
- <send>
- <data>
- <srchacptdd1/>
- <srchacptdd2/>
- <srchacpttypecd/>
- <srchprcsstatcd/>
- <srchdeptcd/>
- <srchdeptnm/>
- <srchcintnm/>
- <srchpatnm/>
- </data>
- <key>
- <sndacptdd/>
- <sndacptseq/>
- </key>
- </send>
- <temp>
- <piddata>
- <pid/>
- <hngnm/>
- <rrgstno/>
- <mpphontel/>
- <hometel/>
- <email/>
- <lastchosdt/>
- <rrgstno1/>
- <rrgstno2/>
- <sex/>
- <zipcd1/>
- <zipcd2/>
- <zipcdseq/>
- <zipcdaddr/>
- <detladdr/>
- <etctelno1/>
- </piddata>
- </temp>
- <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>
- <C0011list>
- <C0011>
- <cdid/>
- <cdnm/>
- </C0011>
- </C0011list>
- </init>
- </root>
- </instance>
- <submission id="TXCVA00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/vocdata"/>
- <submission id="TXCVA00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/vocdata"/>
- <submission id="TRCVA00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/vocdata/customer" replace="instance" resultref="/root/temp/piddata"/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="urlencoded-post" replace="instance"/>
- </model>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- model.setValue("/root/main/vocdata/accept/acptdd",getCurrentDate());
- model.setValue("/root/main/vocdata/accept/acpviewdd",getCurrentDate());
- zbcfGetCodeList( new Array("C0001", "C0003", "C0011"), new Array("/root/init/C0001list", "/root/init/C0003list", "/root/init/C0011list"), true );
- model.removeNodeset("/root/main/vocdata/accept/deptview/grid");
- 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;
- }
- if (!checkAuth("p")) {
- }
- }
- // 컨트롤을 초기화한다.
- function fInitControl(){
- 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/pid", "");
- model.setValue("/root/main/vocdata/customer/patnm", "");
- model.setValue("/root/main/vocdata/customer/patrela", "");
- 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.setValue("/root/main/vocdata/customer/patresdnrgstno1", "");
- model.setValue("/root/main/vocdata/customer/patresdnrgstno2", "");
- model.setValue("/root/main/vocdata/customer/patphonno", "");
-
- model.setValue("/root/main/vocdata/accept/openallyn", "");
-
- model.setValue("/root/main/vocdata/accept/acptdd",getCurrentDate());
- model.setValue("/root/main/vocdata/accept/acpviewdd",getCurrentDate());
- model.setValue("/root/main/vocdata/accept/genrdd", "");
- model.setValue("/root/main/vocdata/accept/acpttype", "");
- model.setValue("/root/main/vocdata/accept/acptkindlrg", "");
- model.setValue("/root/main/vocdata/accept/acptkindmdl", "");
- model.setValue("/root/main/vocdata/accept/acptkindsml", "");
- model.removeNodeset("/root/main/vocdata/accept/deptview/grid");
- model.setValue("/root/main/vocdata/accept/deptview/area/reqdeptcd", "");
- model.setValue("/root/main/vocdata/accept/deptview/area/reqdeptnm", "");
- model.setValue("/root/main/vocdata/accept/deptview/area/reqempid", "");
- model.setValue("/root/main/vocdata/accept/deptview/area/reqempnm", "");
- model.setValue("/root/main/vocdata/accept/acpttitl", "");
- model.setValue("/root/main/vocdata/accept/acptcnts", "");
- model.setValue("/root/main/vocdata/accept/selfcnts", "");
- model.setValue("/root/main/vocdata/accept/selfyn", "");
- tar_SelfCnts.disabled = "true";
-
- model.refresh();
- }
- ]]>
- </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:106px; 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:126px; height:14px; ">접수고객정보 등록</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" class="output_fix" appearance="input" style="left:108px; top:21px; width:130px; height:19px; "/>
- <caption id="caption2" style="left:240px; top:20px; width:175px; height:23px; text-align:center; vertical-align:middle; ">(접수번호는 자동 생성 됩니다.)</caption>
- <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");
- model.makeNode("/root/temp/piddata");
- }
- }
- }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" navindex="5" 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_pid = model.getValue("/root/main/vocdata/customer/pid");
- var rela_clntnm = model.getValue("/root/main/vocdata/customer/clntnm");
-
- 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_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 ( pid_pid == "" ) {
- if ( ( change_rela =! "" ) && ( rela_pid == "" ) ) {
- messageBox("환자의 등록번호를 입력하지 않고 환자와의 관계를 선택하셨습니다. ","I099");
- model.setValue("/root/main/vocdata/customer/patrela", "");
- model.setFocus("ipt_PID");
- model.refresh();
- } else if ( ( change_rela =! "" ) && ( rela_patnm == "" ) && ( pid_pid == "" ) ) {
- messageBox("환자의 이름을 입력하지 않고 환자와의 관계를 선택하셨습니다. ","I099");
- model.setValue("/root/main/vocdata/customer/patrela", "");
- model.setFocus("ipt_PatNm");
- model.refresh();
- } else if ( ( change_rela =! "" ) && ( pid_pid == "" ) ) {
- messageBox("환자의 정보는 검색을 통해 입력하시는 것이 좋습니다. ","I099");
- model.setValue("/root/main/vocdata/customer/patrela", "");
- model.setFocus("ipt_PID");
- model.refresh();
- }
- } 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>
- <caption id="caption5" style="left:242px; top:73px; width:361px; height:23px; text-align:justify; vertical-align:middle; ">(환자가 익명인 경우 환자정보, 관계를 입력하지 않으시면 됩니다.)</caption>
- <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" navindex="6" 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" overflow="visible" appearance="full" 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" overflow="visible" appearance="full" 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" navindex="7" 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>
- <group id="group2" style="left:554px; top:5px; width:640px; height:30px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" style="left:0px; top:0px; width:640px; height:30px; "/>
- <caption id="caption6" class="search_name" style="left:10px; top:7px; width:77px; height:17px; ">환자명 :</caption>
- <input id="ipt_srchpatnm" ref="/root/main/search/srchpatnm" class="input_search" navindex="1" style="left:90px; top:6px; width:90px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption7" class="search_name" style="left:192px; top:7px; width:86px; height:17px; ">등록번호 :</caption>
- <input id="ipt_srchpid" ref="/root/main/search/srchpid" class="input_search" navindex="2" imemode="disabled" format="9999999999" style="left:282px; top:6px; width:90px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption8" class="search_name" style="left:383px; top:7px; width:77px; height:17px; ">민원인 :</caption>
- <input id="ipt_srchcintnm" ref="/root/main/search/srchcintnm" class="input_search" navindex="3" style="left:463px; top:6px; width:90px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <line id="line9" style="x1:563px; y1:7px; x2:563px; y2:26px; border-color:#ffe4bb; border-left-style:solid; "/>
- <button id="btn_search" class="btn1_letter2" navindex="4" style="left:573px; top:5px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( ( ipt_srchpatnm.value.length == 0 ) && (ipt_srchpid.value.length == 0) && (ipt_srchcintnm.value.length == 0) ){
- messageBox("환자 이름, 등록번호, 민원인 중에 적어도 하나는 ", "C001");
- model.setFocus("ipt_srchpatnm");
- } else if ( ( ipt_srchpatnm.value.length > 0 ) && (ipt_srchpatnm.value.length < 2) ){
- messageBox("환자 이름 검색은 최소 2글자 이상 ", "C001");
- model.setFocus("ipt_srchpatnm");
- } else if ( ( ipt_srchcintnm.value.length > 0 ) && (ipt_srchcintnm.value.length < 2) ){
- messageBox("민원인 검색은 최소 2글자 이상 ", "C001");
- model.setFocus("ipt_srchcintnm");
- } else {
- model.copyNode("/root/main/temp", "/root/send");
- open("SPCVA00700", "", "460", "120", "SPCVA00700", "/root/main/search", "/root/main/search");
- }
- ]]>
- </script>
- </button>
- </group>
- <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:111px; height:13px; ">접수내역 등록</caption>
- <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="line10" class="line_1" style="x1:0px; y1:25px; x2:970px; y2:25px; "/>
- <line id="line11" 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>
- <output id="ipt_AcptDD" ref="/root/main/vocdata/accept/acptdd" class="output_fix" style="left:832px; top:31px; width:70px; height:19px; "/>
- <input id="ipt_AcptViewDD" ref="/root/main/vocdata/accept/acpviewdd" class="input_essential" navindex="8" 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" navindex="9" 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="caption90" class="cell_1" style="left:723px; top:30px; width:105px; height:23px; text-align:center; vertical-align:middle; ">등록일</caption>
- <line id="line12" 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" navindex="10" 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/accept/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="line13" 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/accept/deptview/grid" caption="해당부서^부서코드^해당직원^직원ID" colwidth="225, 40, 100, 50" dataheight="23" defaultrows="0" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:108px; top:79px; width:450px; height:116px; ">
- <col class="text_center" ref="deptnm" _key="true"/>
- <col class="text_center" ref="deptcd" visibility="hidden" _key="true"/>
- <col class="text_center" ref="empnm"/>
- <col class="text_center" ref="empid" visibility="hidden"/>
- </datagrid>
- <output id="ipt_DeptCd" ref="/root/main/vocdata/accept/deptview/area/reqdeptcd" class="output_fix" visibility="hidden" style="left:757px; top:126px; width:100px; 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_term = model.getValue("/root/main/vocdata/accept/deptview/area/reqdeptcd");
-
- if ( search_term != "") {
- var search_condition = "deptcd";
- } else {
- var search_condition = "deptnm";
- }
-
- var receive_deptcd_path = "/root/main/vocdata/accept/deptview/area/reqdeptcd";
- var receive_deptnm_path = "/root/main/vocdata/accept/deptview/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_DeptNm" ref="/root/main/vocdata/accept/deptview/area/reqdeptnm" class="output_fix" style="left:604px; top:127px; width:130px; height:19px; "/>
- <output id="ipt_EmpCD" ref="/root/main/vocdata/accept/deptview/area/reqempid" class="output_fix" visibility="hidden" style="left:757px; top:104px; width:100px; height:19px; "/>
- <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/vocdata/accept/deptview/area/reqempid");
- var search_term2 = model.getValue("/root/main/vocdata/accept/deptview/area/reqempnm");
- var search_term3 = model.getValue("/root/main/vocdata/accept/deptview/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/accept/DeptView/area/EmpID");
- var receive_empid_path = "/root/main/vocdata/accept/deptview/area/reqempid";
- var receive_empnm_path = "/root/main/vocdata/accept/deptview/area/reqempnm";
- var receive_deptcd_path = "/root/main/vocdata/accept/deptview/area/reqdeptcd";
- var receive_deptnm_path = "/root/main/vocdata/accept/deptview/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>
- <input id="ipt_EmpNm" ref="/root/main/vocdata/accept/deptview/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>
- <caption id="caption15" class="search_no_b" style="left:563px; top:104px; width:38px; 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/vocdata/accept/deptview/area/reqempid") != "" ) && ( model.getValue("/root/main/vocdata/accept/deptview/area/reqempnm") == "" )){
- var rtn = messageBox("직원 선택을 하셨으나 임의로 직원 이름을 지웠습니다. \n직원 없이 부서만 등록 ", "S001");
- if(rtn == 6){
- model.setValue("/root/main/vocdata/accept/deptview/area/reqempid", "");
- } else {
- model.setFocus("ipt_EmpNm");
- return false;
- }
- }
-
- if ( model.getValue("/root/main/vocdata/accept/deptview/area/reqdeptcd") != "" ){
- grd_dept.additem();
-
- var receive_empid = model.getValue("/root/main/vocdata/accept/deptview/area/reqempid");
- var receive_empnm = model.getValue("/root/main/vocdata/accept/deptview/area/reqempnm");
- var receive_deptcd = model.getValue("/root/main/vocdata/accept/deptview/area/reqdeptcd");
- var receive_deptnm = model.getValue("/root/main/vocdata/accept/deptview/area/reqdeptnm");
-
- model.setValue("/root/main/vocdata/accept/deptview/grid[" + grd_dept.row + " ]/deptcd", receive_deptcd);
- model.setValue("/root/main/vocdata/accept/deptview/grid[" + grd_dept.row + " ]/deptnm", receive_deptnm);
- model.setValue("/root/main/vocdata/accept/deptview/grid[" + grd_dept.row + " ]/empid", receive_empid);
- model.setValue("/root/main/vocdata/accept/deptview/grid[" + grd_dept.row + " ]/empnm", receive_empnm);
- model.resetInstanceNode("/root/main/vocdata/accept/deptview/area");
- model.refresh();
- } else {
- messageBox("부서를","C002");
- model.setFocus("btnicon_search6");
- }
- ]]>
- </script>
- </button>
- <caption id="caption27" class="hand" style="left:560px; top:84px; width:207px; height:17px; ">부서 선택은 필수 사항입니다.</caption>
- <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="line14" 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="line16" 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>
- <caption id="caption30" class="search_no_b" style="left:563px; top:127px; width:38px; height:17px; ">부서 :</caption>
- <caption id="caption31" style="left:757px; top:127px; width:208px; height:17px; ">(해당 직원 없이 부서만 있는 경우)</caption>
- <textarea id="tar_AcptCnts" ref="/root/main/vocdata/accept/acptcnts" class="input_essential" scroll="vertical" style="left:108px; top:222px; width:850px; height:208px; "/>
- <line id="line17" style="x1:590px; y1:222px; x2:590px; y2:430px; border-color:#c0c0c0; border-style:dotted; "/>
- <caption id="caption32" 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="line18" 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; ">
- <caption id="caption35" class="hand" style="left:100px; top:7px; width:520px; height:17px; ">내용 가운데 있는 점선(- - -)은 보고서 출력시 다음 줄로 넘어가는 기준선입니다.</caption>
- <button id="btn_save" class="btn4_letter2" style="left:843px; 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 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") ){
- if (model.getValue("/root/main/vocdata/accept/selfyn") == "Y"){
- if (model.getValue("/root/main/vocdata/accept/selfcnts") == "") {
- messageBox("자체 처리에 대한 의견을 ", "C001");
- model.setFocus("tar_SelfCnts");
- } else {
- if(submit("TXCVA00102")){
- var rtn = messageBox("VOC 등록과 자체 처리가 완료되었습니다. \n 새로운 VOC 등록을 ", "Q003");
- if(rtn == 6){
- fInitControl();
- } else {
- navigate("SMCVA00200");
- }
- }
- }
- } else {
- model.setValue("/root/main/vocdata/accept/selfcnts", "");
-
- 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("TXCVA00101")){
- var rtn = messageBox("VOC 등록이 완료되었습니다. \n 새로운 VOC 등록을 ", "Q003");
- if(rtn == 6){
- fInitControl();
- } else {
- navigate("SMCVA00200");
- }
- }
- }
- }
- ]]>
- </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[
- fInitControl();
- ]]>
- </script>
- </button>
- </group>
- <import id="import1" overflow="hidden" src="./SSCVA00100_LeftTree.xrw" instancetype="merge" 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>
|