123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * Name : SPCVO00900_VOC자체처리의견
- * Summary : VOC 자체처리의견
- * Programmer : 김준규
- * Date Written : 2007.10.23
- * History :
- * 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>
- <accept>
- <acptseq/>
- <acptdd/>
- <prcsstat/>
- <selfcnts/>
- <selfyn/>
- <selfdeptnotiyn/>
- <selfnoticnts/>
- </accept>
- </vocdata>
- <temp>
- <data>
- <srchacptdd1/>
- <srchacptdd2/>
- <srchacpttypecd/>
- <srchprcsstatcd/>
- <srchdeptcd/>
- <srchdeptnm/>
- <srchpatnm/>
- <srchpid/>
- <srchfstrgstrnm/>
- <reqacptdd/>
- <reqacptseq/>
- <reqrgstseq/>
- <reqdeptcd/>
- <reqdeptnm/>
- <reqempid/>
- <reqempnm/>
- <reqcsteamreqcnts/>
- </data>
- <key>
- <sndacptdd/>
- <sndacptseq/>
- <sndrgstseq/>
- <sndexeflag/>
- <deptnm/>
- </key>
- </temp>
- </main>
- <temp/>
- <send>
- <data>
- </data>
- </send>
- <init/>
- </root>
- </instance>
- <submission id="TRCVO00901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/temp/key" resultref="/root/main/vocdata"/>
- <submission id="TXCVO00901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/vocdata/accept"/>
- </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")
- var reExeflag = model.getValue("/root/main/temp/key/sndexeflag")
- var check_deptview = model.getValue("/root/main/temp/key/deptnm");
-
- if (( reAcptDD == "" || reAcptDD == null ) || ( reAcptSeq == "" || reAcptSeq == null )) {
- var rtn = messageBox("조회에 필요한 항목이 전달되지", "E007");
- if(rtn == 1){
- window.close();
- }
- } else {
- submit("TRCVO00901");
-
- if( model.getValue("/root/main/vocdata/accept/prcsstat") != "자체처리" ) {
- model.makeValue("/root/main/vocdata/accept/selfyn", "");
- } else {
- model.makeValue("/root/main/vocdata/accept/selfyn", "Y");
- }
- }
- if ( reExeflag != "Y" ) {
- btn_save.visible = false;
- } else {
- btn_save.visible = true;
- model.setValue("/root/main/vocdata/accept/selfyn", "Y");
- }
- if (model.getValue("/root/main/vocdata/accept/selfdeptnotiyn") == "Y"){
- chk_selfdeptnotiyn.disabled = true;
- tar_SelfNotiCnts.disabled = false;
- tar_SelfNotiCnts.attribute("editable") = "false";
- } else {
- tar_SelfNotiCnts.disabled = true;
- }
- fCheckAuth();
- model.refresh();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- function fCheckAuth() {
- // 권한체크
- if (!checkAuth("r")) {
- }
- if (!checkAuth("x")) {
- }
- if (!checkAuth("p")) {
- }
- }
- ]]>
- </script>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="630" pageheight="370" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="grp_tle" style="left:0px; top:0px; width:610px; height:13px; ">
- <caption id="caption1" class="tit_1" style="left:0px; top:0px; width:132px; height:14px; ">VOC 자체처리 정보</caption>
- </group>
- <group id="grp_customer" style="left:0px; top:13px; width:610px; height:307px; ">
- <line id="line2" class="line_1" style="x1:0px; y1:5px; x2:610px; y2:5px; "/>
- <line id="line7" class="line_2" visibility="hidden" style="x1:0px; y1:202px; x2:610px; y2:202px; "/>
- <line id="line1" class="line_3" style="x1:0px; y1:304px; x2:610px; y2:304px; "/>
- <caption id="caption10" class="cell_1" style="left:0px; top:10px; width:105px; height:296px; text-align:center; vertical-align:middle; ">
- <![CDATA[민원담당부서
- 의견]]>
- </caption>
- <select id="chk_selfyn" ref="/root/main/vocdata/accept/selfyn" disabled="true" overflow="visible" appearance="full" disable.background-color="transparent" style="left:110px; top:14px; width:91px; height:19px; font-weight:bold; border-style:none; ">
- <choices>
- <item>
- <label>자체 처리함</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="chk_selfdeptnotiyn" ref="/root/main/vocdata/accept/selfdeptnotiyn" visibility="hidden" overflow="visible" appearance="full" style="left:206px; top:14px; width:171px; 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[
- var check_deptview = model.getValue("/root/main/temp/key/deptnm");
-
- if (check_deptview !=null) {
- tar_SelfNotiCnts.disabled = "false";
-
- var r_selfyn = model.getValue("/root/main/vocdata/accept/selfyn");
- if (r_selfyn == ""){
- model.setValue("/root/main/vocdata/accept/selfyn", "Y");
- tar_SelfCnts.disabled = "false";
- model.refresh();
- }
- } else {
- messageBox("해당부서가 없어 자체 처리 내용 부서 알림을 선택 ", "E001");
- model.setValue("/root/main/vocdata/accept/selfdeptnotiyn", "");
- model.refresh();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-deselect">
- <![CDATA[
- tar_SelfNotiCnts.disabled = "true";
- model.setValue("/root/main/vocdata/accept/selfnoticnts", "");
- model.refresh();
- ]]>
- </script>
- </select>
- <caption id="caption6" class="cell_1" style="left:379px; top:10px; 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:488px; top:11px; width:122px; height:19px; "/>
- <textarea id="tar_SelfCnts" ref="/root/main/vocdata/accept/selfcnts" scroll="vertical" style="left:108px; top:34px; width:502px; height:270px; "/>
- <caption id="caption2" class="cell_1" visibility="hidden" style="left:0px; top:205px; width:105px; height:100px; text-align:center; vertical-align:middle; ">부서알림내용</caption>
- <textarea id="tar_SelfNotiCnts" ref="/root/main/vocdata/accept/selfnoticnts" visibility="hidden" scroll="vertical" style="left:108px; top:207px; width:500px; height:95px; "/>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:320px; width:610px; height:27px; ">
- <button id="btn_save" class="btn4_letter2" visibility="hidden" style="left:494px; top:5px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- 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 ( (model.getValue("/root/main/vocdata/accept/selfdeptnotiyn") == "Y") && (model.getValue("/root/main/vocdata/accept/selfnoticnts") == "") ) {
- messageBox("자체 처리 부서 알림 내용을 ", "C001");
- model.setFocus("tar_SelfNotiCnts");
- } else {
- if(submit("TXCVO00901")){
- var rtn = messageBox("자체 처리가 ", "I002");
- model.removenode("/root/main/temp/key/sndexeflag");
- model.removenode("/root/main/temp/key/deptnm");
- model.refresh();
-
- parent.javaScript.fNavigateX();
-
- window.close();
- }
- }
- } else {
-
- }
- ]]>
- </script>
- </button>
- <button id="btn_close" class="btn4_letter2" style="left:554px; top:5px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <close ev:event="DOMActivate"/>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|