123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?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>변경요청 확인및 처리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <data>
- <boardseqno/>
- <boardrelacd/>
- <usernm/>
- <subjtypecd/>
- <boardtitl/>
- <appcnts/>
- <appresncnts/>
- <mngerremfact/>
- <suggdeptcd/>
- <lastupdtrid/>
- <lastupdtdt/>
- <tretcd/>
- </data>
- <hidden>
- <session/>
- <dept>
- <userid/>
- </dept>
- <define/>
- </hidden>
- <send>
- <savedata>
- <data/>
- </savedata>
- <sessuserid/>
- </send>
- <temp/>
- </main>
- <send>
- <savedata>
- <data/>
- </savedata>
- <sessuserid/>
- </send>
- <temp/>
- </root>
- </instance>
- <submission id="TXSOC00402" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" resultref="/root/temp"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../sts/stsmngtweb/js/SOC004.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- fGetUserSessionInfo();
- //ITC 관리자만 버튼을 열어준다.
- if(model.getValue("/root/hidden/session/userid") == "95031902" ||
- model.getValue("/root/hidden/session/userid") == "94010034" ||
- model.getValue("/root/hidden/session/userid") == "sts") {
-
- btn_update.visible = true; //저장처리버튼
- tar_admin_comment.disabled = false; //관리자 메모
- } else {
- btn_update.visible = false; //저장처리버튼
- tar_admin_comment.disabled = true;
- }
- model.setvalue("/root/main/data/boardseqno", model.getAttribute("boardseqno"));
- model.setvalue("/root/main/data/boardrelacd", model.getAttribute("boardrelacd"));
- model.setvalue("/root/main/data/usernm", model.getAttribute("usernm"));
- model.setvalue("/root/main/data/subjtypecd", model.getAttribute("subjtypecd"));
- model.setvalue("/root/main/data/boardtitl", model.getAttribute("boardtitl"));
- model.setvalue("/root/main/data/appcnts", model.getAttribute("appcnts"));
- model.setvalue("/root/main/data/appresncnts", model.getAttribute("appresncnts"));
- model.setvalue("/root/main/data/mngerremfact", model.getAttribute("mngerremfact"));
- model.setvalue("/root/main/data/suggdeptcd", model.getAttribute("suggdeptcd"));
- model.setvalue("/root/main/data/lastupdtrid", model.getAttribute("lastupdtrid"));
- model.setvalue("/root/main/data/tretcd", model.getAttribute("tretcd"));
- model.refresh();
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="718" pageheight="485" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="grp_biz" scroll="auto" style="left:0px; top:0px; width:700px; height:450px; ">
- <caption id="caption1" class="tit_2" style="left:5px; top:9px; width:103px; height:14px; ">변경요청 사항</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:25px; x2:700px; y2:25px; "/>
- <textarea id="tar_cnts" ref="/root/main/data/appcnts" class="output_default" disabled="true" scroll="vertical" style="left:132px; top:149px; width:565px; height:143px; "/>
- <caption id="caption2" class="cell_1" style="left:0px; top:148px; width:130px; height:145px; ">변경요청 내용</caption>
- <caption id="caption32" class="cell_1" style="left:0px; top:54px; width:130px; height:23px; text-align:left; vertical-align:middle; ">변경 요청자</caption>
- <caption id="caption12" class="cell_1" style="left:0px; top:30px; width:130px; height:23px; text-align:left; vertical-align:middle; ">항목 구분</caption>
- <caption id="caption5" class="cell_1" style="left:0px; top:78px; width:130px; height:23px; text-align:left; vertical-align:middle; ">명 칭</caption>
- <textarea id="tar_resn" ref="/root/main/data/appresncnts" class="output_default" disabled="true" scroll="vertical" style="left:132px; top:295px; width:565px; height:78px; "/>
- <caption id="caption3" class="cell_1" style="left:0px; top:294px; width:130px; height:80px; ">변경 사유</caption>
- <output id="opt_title" ref="/root/main/data/boardtitl" style="left:132px; top:80px; width:565px; height:19px; text-align:left; "/>
- <output id="opt_usernm" ref="/root/main/data/usernm" style="left:132px; top:56px; width:123px; height:19px; text-align:left; "/>
- <caption id="caption6" class="cell_1" style="left:445px; top:30px; width:130px; height:23px; text-align:left; vertical-align:middle; ">현재 상태</caption>
- <select1 id="cbo_statcd" ref="/root/main/data/tretcd" disabled="false" appearance="minimal" style="left:577px; top:32px; width:120px; height:19px; text-align:left; ">
- <choices>
- <item>
- <label>요청접수</label>
- <value>01</value>
- </item>
- <item>
- <label>처리완료</label>
- <value>02</value>
- </item>
- <item>
- <label>반려</label>
- <value>03</value>
- </item>
- </choices>
- </select1>
- <select1 id="rdo_gubun" ref="/root/main/data/subjtypecd" overflow="visible" appearance="full" rows="1" cols="3" cellspacing="50" style="left:140px; top:33px; width:290px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>KPI</label>
- <value>K</value>
- </item>
- <item>
- <label>세분변수</label>
- <value>V</value>
- </item>
- <item>
- <label>Report</label>
- <value>R</value>
- </item>
- </choices>
- </select1>
- <output id="opt_code" ref="/root/main/data/lastupdtrid" visibility="hidden" style="left:285px; top:56px; width:55px; height:19px; text-align:left; "/>
- <caption id="caption4" class="cell_1" style="left:0px; top:102px; width:130px; height:45px; ">정 의</caption>
- <textarea id="tar_define" ref="/root/main/hidden/define" class="output_default" disabled="true" maxlength="240" style="left:132px; top:103px; width:565px; height:43px; "/>
- <textarea id="tar_admin_comment" ref="/root/main/data/mngerremfact" scroll="vertical" style="left:132px; top:376px; width:565px; height:68px; "/>
- <caption id="caption7" class="cell_1" style="left:0px; top:375px; width:130px; height:70px; ">관리자 답변</caption>
- <output id="opt_relacd" ref="/root/main/data/boardrelacd" visibility="hidden" style="left:365px; top:56px; width:60px; height:19px; text-align:left; "/>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:450px; width:700px; height:27px; ">
- <button id="btn_delete" class="btn4_letter2" style="left:582px; top:2px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.copyNode("/root/send/savedata/data", "/root/main/data");
-
- var rslt = submit("TXSOC00402");
-
- if (rslt) {
- model.alert("내역이 저장되었습니다.");
- opener.btn_search.dispatch("DOMActivate");
- window.close();
- }else{
- model.alert("저장에 실패하였습니다.");
- }
- ]]>
- </script>
- </button>
- <button id="button9" class="btn4_letter2" style="left:641px; top:2px; width:56px; height:22px; ">
- <script type="javascript" ev:event="xforms-activate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- <caption>닫기</caption>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|