123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * Name : SMCVT00200_부서그룹관리
- * Summary : VOC 부서그룹관리
- * Programmer : 김준규
- * Date Written : 2007.11.29
- * History :
- * 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>
- <list>
- <voclist>
- <instnm/>
- <groupnm/>
- <deptnm/>
- <groupcd/>
- <deptno/>
- <deptcd/>
- <psnworksupdeptnm/>
- <fstrgstrnm/>
- <lastupdtrnm/>
- </voclist>
- </list>
- <deptdata>
- <groupnm/>
- <groupcd/>
- <deptno/>
- <deptnm/>
- <deptcd/>
- <fstrgstrnm/>
- <lastupdtrnm/>
- <savemode>i</savemode>
- </deptdata>
- </main>
- <send>
- <data>
- <srchgroupcd/>
- <srchdeptnm/>
- <instcd/>
- </data>
- </send>
- <init/>
- <temp>
- <grpcd>
- <label>선택</label>
- <value/>
- </grpcd>
- <grpcd>
- <label>진료부서</label>
- <value>AA</value>
- </grpcd>
- <grpcd>
- <label>간호부서</label>
- <value>BB</value>
- </grpcd>
- <grpcd>
- <label>행정부서</label>
- <value>CC</value>
- </grpcd>
- </temp>
- </root>
- </instance>
- <submission id="TRCVT00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data" resultref="/root/main/list"/>
- <submission id="TXCVT00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/deptdata"/>
- <submission id="TXCVT00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/deptdata"/>
- <submission id="TXCVT00203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/deptdata"/>
- </model>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- model.removeNodeset("/root/main/list");
- submit("TRCVT00201");
- model.SetFocus("grd_voclist");
- fCheckAuth();
- model.refresh();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- function fCheckAuth() {
- // 권한체크
- if (!checkAuth("r")) {
- btn_search.disabled = true;
- }
- if (!checkAuth("x")) {
- btn_save.disabled = true;
- }
- if (!checkAuth("p")) {
- btn_excsave.disabled = true;
- }
- }
- // 컨트롤을 초기화한다.
- function fInitControl(){
- model.setValue("/root/main/deptdata/groupnm", "");
- model.setValue("/root/main/deptdata/groupcd", "");
- model.setValue("/root/main/deptdata/deptno", "");
- model.setValue("/root/main/deptdata/deptnm", "");
- model.setValue("/root/main/deptdata/deptcd", "");
- model.setValue("/root/main/deptdata/fstrgstrnm", "");
- model.setValue("/root/main/deptdata/lastupdtrnm", "");
- model.setValue("/root/main/deptdata/savemode", "i");
- 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:171px; height:14px; ">VOC 부서 그룹 관리</caption>
- </group>
- <group id="grp_johe" style="left:225px; top:23px; width:970px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:970px; height:35px; "/>
- <caption id="caption8" class="search_name" style="left:15px; top:9px; width:86px; height:17px; ">그룹부서 :</caption>
- <select1 id="ipt_searchterm" ref="/root/send/data/srchgroupcd" class="combo_default" appearance="minimal" style="left:105px; top:8px; width:140px; height:19px; ">
- <choices>
- <item>
- <label>선 택</label>
- <value/>
- </item>
- <item>
- <label>진료부서</label>
- <value>AA</value>
- </item>
- <item>
- <label>간호부서</label>
- <value>BB</value>
- </item>
- <item>
- <label>행정부서</label>
- <value>CC</value>
- </item>
- </choices>
- </select1>
- <caption id="caption7" class="search_name" style="left:321px; top:9px; width:86px; height:17px; ">하위부서 :</caption>
- <input id="ipt_searchempnm" ref="/root/send/data/srchdeptnm" class="input_search" imemode="hangul" style="left:410px; top:8px; width:140px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <line id="line1" class="line_4" style="x1:883px; y1:7px; x2:883px; y2:28px; "/>
- <button id="btn_search" class="btn1_letter2" style="left:898px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( ( ipt_searchempnm.value.length > 0 ) && (ipt_searchempnm.value.length < 2) ){
- messageBox("하위부서명 검색은 최소 2글자 이상 ", "C001");
- model.setFocus("ipt_searchempnm");
- } else if ( ( ipt_searchterm.value.length == 0 ) && (ipt_searchempnm.value.length == 0) ){
- messageBox("그룹부서를 선택하거나 하위부서명을 ", "C001");
- model.setFocus("ipt_searchterm");
- } else {
- fInitControl();
- model.removeNodeset("/root/main/list/voclist");
- submit("TRCVT00201");
- model.SetFocus("grd_voclist");
- }
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_customer" style="left:225px; top:58px; width:612px; height:707px; ">
- <caption id="caption10" class="tit_2" style="left:5px; top:10px; width:134px; height:14px; ">부서 그룹 목록</caption>
- <button id="btn_excsave" class="btn2_letter4" style="left:543px; top:5px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "부서그룹엑셀", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- if (fileName != "")
- {
- grd_voclist.saveExcel(fileName);
- }
- ]]>
- </script>
- </button>
- <line id="line2" class="line_1" style="x1:0px; y1:25px; x2:610px; y2:25px; "/>
- <datagrid id="grd_voclist" nodeset="/root/main/list/voclist" allowselection="false" caption="기관명^그룹명^하위부서^그룹번호^부서번호^하위부서코드^상위부서^등록자^수정자" colsep="^" colwidth="120, 120, 180, 0, 0, 0, 169, 0, 0" dataheight="23" defaultrows="0" explorerbar="sort" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:30px; width:610px; height:671px; ">
- <col class="text_center" ref="instnm"/>
- <col class="text_center" ref="groupnm"/>
- <col class="text_center" ref="deptnm"/>
- <col class="text_center" ref="groupcd" visibility="hidden"/>
- <col class="text_center" ref="deptno" visibility="hidden"/>
- <col class="text_center" ref="deptcd" visibility="hidden"/>
- <col class="text_center" ref="psnworksupdeptnm"/>
- <col class="text_center" ref="fstrgstrnm" visibility="hidden"/>
- <col class="text_center" ref="lastupdtrnm" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var row = grd_voclist.row;
- var receive_groupnm = grd_voclist.valueMatrix(row, grd_voclist.colRef("groupnm"));
- var receive_groupcd = grd_voclist.valueMatrix(row, grd_voclist.colRef("groupcd"));
- var receive_deptnm = grd_voclist.valueMatrix(row, grd_voclist.colRef("deptnm"));
- var receive_deptcd = grd_voclist.valueMatrix(row, grd_voclist.colRef("deptcd"));
- var receive_deptno = grd_voclist.valueMatrix(row, grd_voclist.colRef("deptno"));
- var receive_fstrgstrnm = grd_voclist.valueMatrix(row, grd_voclist.colRef("fstrgstrnm"));
- var receive_lastupdtrnm = grd_voclist.valueMatrix(row, grd_voclist.colRef("lastupdtrnm"));
- if ((grd_voclist.row > 0) && grd_voclist.isCell(event.target)){
- model.setValue("/root/main/deptdata/groupnm", receive_groupnm);
- model.setValue("/root/main/deptdata/groupcd", receive_groupcd);
- model.setValue("/root/main/deptdata/deptnm", receive_deptnm);
- model.setValue("/root/main/deptdata/deptcd", receive_deptcd);
- model.setValue("/root/main/deptdata/deptno", receive_deptno);
- model.setValue("/root/main/deptdata/fstrgstrnm", receive_fstrgstrnm);
- model.setValue("/root/main/deptdata/lastupdtrnm", receive_lastupdtrnm);
-
- model.refresh();
- } else {
- }
- ]]>
- </script>
- </datagrid>
- </group>
- <group id="grp_PID" style="left:845px; top:58px; width:350px; height:127px; ">
- <caption id="caption2" class="tit_2" style="left:5px; top:10px; width:134px; height:14px; ">하위부서 추가</caption>
- <line id="line3" class="line_1" style="x1:0px; y1:25px; x2:350px; y2:25px; "/>
- <select1 id="cmb_group" ref="/root/main/deptdata/groupcd" class="combo_essential" appearance="minimal" style="left:108px; top:31px; width:130px; height:19px; ">
- <choices>
- <itemset nodeset="/root/temp/grpcd">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // 콤보에 선택된 값을 가져온다
- var index = cmb_group.focusIndex + 1;
- // XPath 식을 이용하여 선택된 내용을 뿌려준다.
- opt_groupnm.value = model.getValue("/root/temp/grpcd[" + index + "]/label");
- model.refresh();
- ]]>
- </script>
- </select1>
- <caption id="caption22" class="cell_1" style="left:0px; top:30px; width:105px; height:23px; text-align:center; vertical-align:middle; ">그룹명</caption>
- <line id="line4" class="line_2" style="x1:0px; y1:52px; x2:350px; y2:52px; "/>
- <caption id="caption14" class="cell_1" style="left:0px; top:54px; width:105px; height:23px; text-align:center; vertical-align:middle; ">하위부서</caption>
- <line id="line5" class="line_2" style="x1:0px; y1:76px; x2:350px; y2:76px; "/>
- <caption id="caption9" class="cell_1" style="left:0px; top:78px; width:105px; height:23px; text-align:center; vertical-align:middle; ">등록자</caption>
- <caption id="caption3" class="cell_1" style="left:0px; top:102px; width:105px; height:23px; text-align:center; vertical-align:middle; ">최종수정자</caption>
- <input id="input2" ref="/root/main/deptdata/fstrgstrnm" class="output_fix" editable="false" appearance="input" style="left:108px; top:79px; width:130px; height:19px; "/>
- <input id="input6" ref="/root/main/deptdata/lastupdtrnm" class="output_fix" editable="false" appearance="input" style="left:108px; top:103px; width:130px; height:19px; "/>
- <line id="line16" class="line_2" style="x1:0px; y1:100px; x2:350px; y2:100px; "/>
- <line id="line6" class="line_3" style="x1:0px; y1:124px; x2:350px; y2:124px; "/>
- <input id="ipt_DeptNm" ref="/root/main/deptdata/deptnm" class="input_essential" editable="false" imemode="hangul" style="left:108px; top:55px; width:130px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btnicon_search6", "DOMActivate");
- ]]>
- </script>
- </input>
- <output id="ipt_DeptCd" ref="/root/main/deptdata/deptcd" class="output_fix" visibility="hidden" style="left:260px; top:55px; width:40px; height:19px; "/>
- <button id="btnicon_search6" class="icon_search" style="left:240px; top:55px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var search_term = model.getValue("/root/main/deptdata/deptnm");
- var search_condition = "deptnm";
-
- var receive_deptcd_path = "/root/main/deptdata/deptcd";
- var receive_deptnm_path = "/root/main/deptdata/deptnm";
-
- 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("SPCVO00600")
-
- 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="opt_deptno" ref="/root/main/deptdata/deptno" class="output_fix" visibility="hidden" style="left:260px; top:32px; width:40px; height:19px; "/>
- <output id="opt_groupnm" ref="/root/main/deptdata/groupnm" class="output_fix" visibility="hidden" style="left:260px; top:80px; width:40px; height:19px; "/>
- </group>
- <group id="grp_btn" scroll="auto" style="left:845px; top:270px; width:350px; height:300px; ">
- <caption id="caption4" style="left:20px; top:50px; width:320px; height:210px; font-weight:bold; vertical-align:top; ">
- <![CDATA[부서그룹 관리에서는
- 진료부원장, 간호부장, 행정부원장 등의 경우처럼
- 여러 부서의 VOC 내용을 볼 필요가 있는 경우에
- 보기를 원하는 부서를 지정하는 기능입니다.
- 이 경우 기능을 단순히 조회만 할 수 있도록
- 지정해놓았습니다.]]>
- </caption>
- <caption id="caption5" class="hand" style="left:20px; top:15px; width:102px; height:17px; ">
- <![CDATA[알리는 글]]>
- </caption>
- </group>
- <import id="import1" overflow="hidden" instancetype="merge" src="./SSCVO00100_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:485px; width:167px; height:244px; background-color:#f2f6ff; border-color:#c8c0fd; "/>
- <caption id="caption50" class="hand" style="left:35px; top:500px; width:144px; height:20px; ">VOC 진행 프로세스</caption>
- <caption id="caption51" style="left:60px; top:524px; width:115px; height:16px; font-weight:bold; vertical-align:top; line-spacing:7; ">
- <![CDATA[(1) 접수]]>
- <hint>
- <![CDATA[
- 민원담당부서에서 여러 경로를 통해 접수된 VOC를 민원인
- 정보와 함께 접수 등록을 하게 되면【접수】상태가 된다.
- ]]>
- </hint>
- </caption>
- <caption id="caption52" style="left:60px; top:540px; width:115px; height:15px; font-weight:bold; vertical-align:top; line-spacing:7; ">
- <![CDATA[(2) 회신요청]]>
- <hint>
- <![CDATA[
- 민원담당부서 담당자가 "접수"된 VOC를 선택하여 처리 요청을
- 하게 되면【회신요청】상태가 된다. 이 때 담당부서가 2개 이상인
- 경우에 미리 입력한 담당부서에 대하여 처리 요청을 할 수 있다.
- ]]>
- </hint>
- </caption>
- <caption id="caption53" style="left:60px; top:556px; width:115px; height:15px; font-weight:bold; vertical-align:top; line-spacing:7; ">
- <![CDATA[(3) 부서처리중]]>
- <hint>
- <![CDATA[
- 각 부서 담당자가 "회신요청"된 VOC를 선택하여 그 내용을 읽고 『부서 접수 확인』
- 버튼을 눌러 해당 VOC 처리를 시작했음을 알리게 되면【부서처리중】상태가 된다.
- ]]>
- </hint>
- </caption>
- <caption id="caption54" style="left:60px; top:572px; width:115px; height:16px; font-weight:bold; vertical-align:top; line-spacing:7; ">
- <![CDATA[(4) 담당자회신]]>
- <hint>
- <![CDATA[
- 각 부서 담당자가 "부서처리중"인 VOC에 대하여 실제 업무처리를 하고
- 부서장에게 결재 요청을 하고 난 뒤 부서장의 결재를 받아 부서 담당자가
- 민원담당부서 담당자에게 회신하게 되면【담당자회신】상태가 된다.
- ]]>
- </hint>
- </caption>
- <caption id="caption55" style="left:60px; top:588px; width:115px; height:16px; font-weight:bold; vertical-align:top; line-spacing:7; ">
- <![CDATA[(5) 승인요청]]>
- <hint>
- <![CDATA[
- 민원담당부서 담당자가 "담당자회신"인 VOC에 대하여 민원담당부서장
- 에게 종결을 위한 부서장 승인 요청을 하면【승인요청】상태가 된다.
- ]]>
- </hint>
- </caption>
- <caption id="caption56" style="left:60px; top:604px; width:115px; height:16px; font-weight:bold; vertical-align:top; line-spacing:7; ">
- <![CDATA[(6) 부서장승인]]>
- <hint>
- <![CDATA[
- 민원담당부서장은 "승인요청"인 VOC에 대하여 담당 부서별로
- 종결을 위한 부서장 승인을 하면【부서장승인】상태가 된다.
- ]]>
- </hint>
- </caption>
- <caption id="caption57" style="left:60px; top:620px; width:115px; height:16px; font-weight:bold; vertical-align:top; line-spacing:7; ">
- <![CDATA[(7) 종결]]>
- <hint>
- <![CDATA[
- 민원담당부서 담당자가 "부서장승인"인 VOC에 대하여 종결 확인
- 버튼을 눌러 부서에 대하여 종결처리를 하면【종결】상태가 된다.
- ]]>
- </hint>
- </caption>
- <caption id="caption58" style="left:60px; top:636px; width:115px; height:16px; font-weight:bold; vertical-align:top; line-spacing:7; ">
- <![CDATA[(8) 고객회신]]>
- <hint>
- <![CDATA[
- 민원담당부서 담당자가 모든 해당 부서가 종결 또는 임의종결된
- 상태에서 민원인에게 그 결과를 알려주고 경과 내용을 입력하고
- 고객회신 완료 버튼을 누르게 되면【고객회신】상태가 된다.
- ]]>
- </hint>
- </caption>
- <caption id="caption59" style="left:60px; top:652px; width:115px; height:16px; font-weight:bold; vertical-align:top; line-spacing:7; ">
- <![CDATA[(9) 처리완료]]>
- <hint>
- <![CDATA[
- 민원담당부서 담당자가 "고객회신"인 VOC에 대하여 처리 경과 등 처리내용을
- 적은 후 원인분석 및 개선활동을 적고 이후에도 지속적으로 관리하여야 하는지
- 여부를 체크하고 완료처리 버튼을 누르게 되면【처리완료】상태가 된다.
- ]]>
- </hint>
- </caption>
- <caption id="caption60" style="left:60px; top:672px; width:115px; height:15px; vertical-align:top; line-spacing:7; ">
- <![CDATA[ * 접수취소]]>
- <hint>
- <![CDATA[
- "접수"된 VOC는 "회신 요청"을 하기 전에 "접수 취소"를 할 수 있다. 하지만 이미
- 프로세스가 진행되어 담당부서로 요청한 경우에는 접수 취소를 할 수 없게 된다.
- ]]>
- </hint>
- </caption>
- <caption id="caption61" style="left:60px; top:688px; width:115px; height:15px; vertical-align:top; line-spacing:7; ">
- <![CDATA[ * 자체처리]]>
- <hint>
- <![CDATA[
- "접수"된 VOC는 "회신 요청"을 하기 전에 민원담당부서에서 자체적으로 완료처리를 할 수 있다.
- 하지만 이미 프로세스가 진행되어 담당부서로 요청한 경우에는 자체처리를 할 수 없게 된다.
- ]]>
- </hint>
- </caption>
- <caption id="caption62" style="left:60px; top:704px; width:115px; height:16px; vertical-align:top; line-spacing:7; ">
- <![CDATA[ * 임의종결]]>
- <hint>
- <![CDATA[
- 민원담당부서 담당자가 해당 부서에 "회신요청"을 했음에도 불구하고
- 그 부서에서 답변이 없을 때 업무 진행의 효율을 위해서 임의종결 처리를
- 하여 그 부서에 대해 종결 처리한 효과와 같은 효과를 줄 수 있다.
- ]]>
- </hint>
- </caption>
- <group id="group1" scroll="auto" style="left:845px; top:185px; width:350px; height:27px; ">
- <button id="btn_clear" class="btn4_letter2" style="left:162px; top:5px; width:56px; height:22px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var s_groupcd = model.getValue("/root/main/deptdata/groupcd");
- var s_deptno = model.getValue("/root/main/deptdata/deptno");
-
- if (( s_groupcd == "" ) || ( s_deptno == "" )){
- messageBox("조회 후 삭제할 하위부서를.", "C002");
- } else {
- var rtn = messageBox("선택된 하위부서를 ", "Q001");
- if(rtn == 6){
- if(submit("TXCVT00202")){
- messageBox("선택된 하위부서 삭제가 ", "I002");
-
- fInitControl();
-
- model.removeNodeset("/root/main/list");
- submit("TRCVT00201");
- }
- }
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_save" class="btn4_letter2" style="left:222px; top:5px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var s_groupcd = model.getValue("/root/main/deptdata/groupcd");
- var s_deptno = model.getValue("/root/main/deptdata/deptno");
- var s_deptnm = model.getValue("/root/main/deptdata/deptnm");
- var s_deptcd = model.getValue("/root/main/deptdata/deptcd");
- var s_savemode= model.getValue("/root/main/deptdata/savemode");
-
- if ( s_groupcd == "" ) {
- messageBox("그룹명을 ", "C002");
- model.setFocus("cmb_group");
- return false;
- } else if ( ( s_deptnm == "" ) && ( s_deptcd != "" ) ) {
- messageBox("하위부서는 검색을 통해 입력하셔야 합니다. ","I099");
- model.setValue("/root/main/deptdata/deptcd", "");
- model.setFocus("btnicon_search6");
- model.refresh();
- } else if ( ( s_deptnm == "" ) ) {
- messageBox("하위부서 이름을 ", "C001");
- model.setFocus("ipt_DeptNm");
- return false;
- } else if ( ( s_deptnm != "" ) && ( s_deptcd == "" ) ) {
- messageBox("하위부서는 검색을 통해 입력하셔야 합니다. ","I099");
- model.setFocus("btnicon_search6");
- model.refresh();
- }
-
- if (( s_savemode == "i" ) && ( s_deptno == "" )){
- if(submit("TXCVT00201")){
- messageBox("하위부서 내용이 등록 ", "I002");
- fInitControl();
-
- model.removeNodeset("/root/main/list");
- submit("TRCVT00201");
- }
- } else if (( s_savemode != "i" ) && ( s_deptno != "" )){
- if(submit("TXCVT00202")){
- messageBox("하위부서 내용이 저장 ", "I002");
- model.removeNodeset("/root/main/list");
- submit("TRCVT00201");
- }
- }
-
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button2" class="btn4_letter3" style="left:282px; top:5px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInitControl();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|