123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344 |
- <?xml version="1.0" encoding="UTF-8"?>
- <?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>요청사항입력</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <list>
- <new>
- <instcd/>
- <reqseqe/>
- <reqdate/>
- <requser/>
- <reqkind>1</reqkind>
- <reqcont>1</reqcont>
- <reqpart>1</reqpart>
- <reqdesc/>
- <reqerro/>
- <reqtelp/>
- <reprecv/>
- <rephand/>
- <repchkd/>
- <rependd/>
- <reppros>1</reppros>
- <reptitl/>
- <repdesc/>
- </new>
- <update>
- </update>
- </list>
- </main>
- <send>
- <retrparams>
- <instcd/>
- <seqnum/>
- </retrparams>
- <req>
- </req>
- <reqparm/>
- <save/>
- </send>
- <init/>
- <hidden>
- <ddaylist/>
- </hidden>
- <target/>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- if( checkOpener() ){
- copyNodesetType("/root/send/reqparm" , "/root/main/list/new", "replace");
- var reqDate = model.getValue("/root/main/list/new/reqdate");
- var repChkd = model.getValue("/root/main/list/new/repchkd");
-
- var cur_date = getCurrentDate();
- if ( reqDate == "") {
- model.setValue( input1.attribute("ref"), cur_date);
- }else {
- reqDate = reqDate.substr(0, 8);
- model.setValue( "/root/main/list/new/reqdate", reqDate);
- }
- if ( repChkd == "") {
- model.setValue( input10.attribute("ref"), cur_date);
- }else {
- repChkd = repChkd.substr(0, 8);
- model.setValue( "/root/main/list/new/repchkd", repChkd);
- }
-
- model.setValue( input11.attribute("ref"), cur_date);
-
- model.refresh();
- }
- ]]>
- </script>
- <submission id="TXZHA00211" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqparm" resultref="/root/main/list/new"/>
- </model>
- <script type="javascript">
- <![CDATA[
- /*
- var cur_date = getCurrentDate();
- var cur_time = getCurrentTime();
- model.setValue( input6.attribute("ref") , cur_date + cur_time.substring(0,4,10));
- model.refresh();
- */
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="705" pageheight="685" guideline="1,1194;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="group3" scroll="auto" style="left:0px; top:20px; width:690px; height:625px; ">
- <group id="group2" style="left:0px; top:10px; width:685px; height:30px; text-align:center; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:1px; top:0px; width:682px; height:25px; text-align:center; vertical-align:middle; background-color:#fffbf2; border-color:#ffd799; "/>
- </group>
- <caption id="caption20" class="cell_1" style="left:0px; top:129px; width:100px; height:125px; text-align:center; vertical-align:middle; ">요청내용(*)</caption>
- <line id="line46" class="line_2" style="x1:0px; y1:75px; x2:335px; y2:75px; "/>
- <caption id="caption11" class="cell_1" style="left:0px; top:51px; width:100px; height:23px; text-align:center; vertical-align:middle; ">요청일(*)</caption>
- <caption id="caption12" class="cell_1" style="left:0px; top:77px; width:100px; height:23px; text-align:center; vertical-align:middle; ">요청자(*)</caption>
- <caption id="caption13" class="cell_1" style="left:0px; top:103px; width:100px; height:23px; text-align:center; vertical-align:middle; ">연락처(*)</caption>
- <caption id="caption14" class="cell_1" style="left:349px; top:51px; width:100px; height:23px; text-align:center; vertical-align:middle; ">요청사항(*)</caption>
- <caption id="caption15" class="cell_1" style="left:349px; top:77px; width:100px; height:23px; text-align:center; vertical-align:middle; ">요청파트(*)</caption>
- <caption id="caption16" class="cell_1" style="left:349px; top:103px; width:100px; height:23px; text-align:center; vertical-align:middle; ">요청부문(*)</caption>
- <line id="line11" class="line_2" style="x1:0px; y1:101px; x2:335px; y2:101px; "/>
- <line id="line12" class="line_2" style="x1:0px; y1:127px; x2:335px; y2:127px; "/>
- <group id="group1" style="left:0px; top:325px; width:685px; height:30px; text-align:center; vertical-align:top; ">
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:1px; top:0px; width:682px; height:25px; text-align:center; vertical-align:middle; background-color:#fffbf2; border-color:#ffd799; "/>
- </group>
- <line id="line2" class="line_2" style="x1:0px; y1:313px; x2:685px; y2:313px; "/>
- <line id="line26" class="line_1" style="x1:0px; y1:46px; x2:683px; y2:46px; "/>
- <line id="line10" class="line_1" style="x1:0px; y1:361px; x2:683px; y2:361px; "/>
- <input id="input1" ref="/root/main/list/new/reqdate" class="input_default" inputtype="date" style="left:106px; top:53px; width:228px; height:19px; "/>
- <input id="input2" ref="/root/main/list/new/requser" class="input_default" navindex="2" style="left:106px; top:79px; width:228px; height:19px; "/>
- <input id="input3" ref="/root/main/list/new/reqtelp" class="input_default" navindex="3" style="left:106px; top:105px; width:228px; height:19px; "/>
- <select1 id="combo3" ref="/root/main/list/new/reqkind" navindex="6" appearance="minimal" style="left:455px; top:105px; width:228px; height:19px; ">
- <choices>
- <item>
- <label>와스</label>
- <value>1</value>
- </item>
- <item>
- <label>웹서버</label>
- <value>2</value>
- </item>
- <item>
- <label>프레임워크</label>
- <value>3</value>
- </item>
- <item>
- <label>UI</label>
- <value>4</value>
- </item>
- <item>
- <label>DB</label>
- <value>5</value>
- </item>
- <item>
- <label>기술검토</label>
- <value>6</value>
- </item>
- <item>
- <label>로컬환경셋팅</label>
- <value>7</value>
- </item>
- <item>
- <label>프로그램셋팅</label>
- <value>8</value>
- </item>
- <item>
- <label>버그리포트</label>
- <value>9</value>
- </item>
- </choices>
- </select1>
- <textarea id="textarea1" ref="/root/main/list/new/reqdesc" navindex="7" maxlength="1000" style="left:105px; top:130px; width:578px; height:124px; ">
- <script type="javascript" ev:event="onmaxlength">
- <![CDATA[
- alert(" 입력하실 내용을 초과 하셨습니다. MAX(1000)자");
- ]]>
- </script>
- </textarea>
- <line id="line13" class="line_2" style="x1:350px; y1:101px; x2:685px; y2:101px; "/>
- <line id="line14" class="line_2" style="x1:350px; y1:127px; x2:685px; y2:127px; "/>
- <line id="line15" class="line_2" style="x1:350px; y1:75px; x2:685px; y2:75px; "/>
- <caption id="caption3" class="cell_1" style="left:0px; top:257px; width:100px; height:55px; text-align:center; vertical-align:middle; ">오류내용</caption>
- <textarea id="textarea4" ref="/root/main/list/new/reqerro" navindex="8" maxlength="500" style="left:105px; top:258px; width:578px; height:54px; ">
- <script type="javascript" ev:event="onmaxlength">
- <![CDATA[
- alert(" 입력하실 내용을 초과 하셨습니다. MAX(500)자");
- ]]>
- </script>
- </textarea>
- <line id="line8" class="line_2" style="x1:1px; y1:255px; x2:686px; y2:255px; "/>
- <line id="line3" class="line_2" style="x1:0px; y1:420px; x2:335px; y2:420px; "/>
- <line id="line5" class="line_2" style="x1:350px; y1:420px; x2:685px; y2:420px; "/>
- <line id="line6" class="line_2" style="x1:0px; y1:394px; x2:335px; y2:394px; "/>
- <caption id="caption4" class="cell_1" style="left:0px; top:370px; width:100px; height:23px; text-align:center; vertical-align:middle; ">접수일</caption>
- <line id="line16" class="line_2" style="x1:350px; y1:394px; x2:685px; y2:394px; "/>
- <caption id="caption5" class="cell_1" style="left:0px; top:396px; width:100px; height:23px; text-align:center; vertical-align:middle; ">접수자</caption>
- <caption id="caption7" class="cell_1" style="left:0px; top:422px; width:100px; height:23px; text-align:center; vertical-align:middle; ">처리자</caption>
- <caption id="caption8" class="cell_1" style="left:349px; top:370px; width:100px; height:23px; text-align:center; vertical-align:middle; ">완료일</caption>
- <input id="input6" ref="/root/main/list/new/reprecv" class="input_default" navindex="10" style="left:106px; top:398px; width:228px; height:19px; "/>
- <caption id="caption17" class="cell_1" style="left:349px; top:396px; width:100px; height:23px; text-align:center; vertical-align:middle; ">진행상태</caption>
- <input id="input7" ref="/root/main/list/new/rephand" class="input_default" navindex="11" style="left:106px; top:424px; width:228px; height:19px; "/>
- <input id="input10" ref="/root/main/list/new/repchkd" class="input_default" navindex="9" inputtype="date" style="left:106px; top:372px; width:228px; height:19px; "/>
- <input id="input11" ref="/root/main/list/new/rependd" class="input_default" navindex="13" inputtype="date" style="left:455px; top:372px; width:228px; height:19px; "/>
- <line id="line1" class="line_2" style="x1:1px; y1:472px; x2:686px; y2:472px; "/>
- <caption id="caption9" class="cell_1" style="left:0px; top:448px; width:100px; height:23px; text-align:center; vertical-align:middle; ">내용 Title</caption>
- <caption id="caption10" class="cell_1" style="left:0px; top:474px; width:100px; height:146px; text-align:center; vertical-align:middle; ">처리내역</caption>
- <line id="line7" class="line_2" style="x1:0px; y1:622px; x2:685px; y2:622px; "/>
- <textarea id="textarea2" ref="/root/main/list/new/reptitl" navindex="12" maxlength="500" style="left:105px; top:450px; width:578px; height:19px; ">
- <script type="javascript" ev:event="onmaxlength">
- <![CDATA[
- alert(" 입력하실 내용을 초과 하셨습니다. MAX(500)자");
- ]]>
- </script>
- </textarea>
- <textarea id="textarea3" ref="/root/main/list/new/repdesc" navindex="15" maxlength="1000" style="left:105px; top:475px; width:578px; height:145px; ">
- <script type="javascript" ev:event="onmaxlength">
- <![CDATA[
- alert(" 입력하실 내용을 초과 하셨습니다. MAX(1000)자");
- ]]>
- </script>
- </textarea>
- <line id="line4" class="line_2" style="x1:0px; y1:446px; x2:685px; y2:446px; "/>
- <select1 id="combo2" ref="/root/main/list/new/reqpart" navindex="5" appearance="minimal" style="left:455px; top:79px; width:228px; height:19px; ">
- <choices>
- <item>
- <label>기반기술</label>
- <value>1</value>
- </item>
- <item>
- <label>프레임워크</label>
- <value>2</value>
- </item>
- <item>
- <label>DBA</label>
- <value>3</value>
- </item>
- </choices>
- </select1>
- <select1 id="combo1" ref="/root/main/list/new/reqcont" navindex="4" appearance="minimal" style="left:455px; top:53px; width:228px; height:19px; ">
- <choices>
- <item>
- <label>단순문의</label>
- <value>1</value>
- </item>
- <item>
- <label>Source오류</label>
- <value>2</value>
- </item>
- <item>
- <label>설정오류</label>
- <value>3</value>
- </item>
- <item>
- <label>Data오류</label>
- <value>4</value>
- </item>
- <item>
- <label>사용미숙</label>
- <value>5</value>
- </item>
- <item>
- <label>개발미숙</label>
- <value>6</value>
- </item>
- </choices>
- </select1>
- <select1 id="combo4" ref="/root/main/list/new/reppros" navindex="14" appearance="minimal" style="left:455px; top:398px; width:228px; height:19px; ">
- <choices>
- <item>
- <label>접수</label>
- <value>1</value>
- </item>
- <item>
- <label>진행 중</label>
- <value>2</value>
- </item>
- <item>
- <label>추후처리</label>
- <value>3</value>
- </item>
- <item>
- <label>완료</label>
- <value>4</value>
- </item>
- </choices>
- </select1>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:648px; width:685px; height:28px; ">
- <button id="button9" class="btn4_letter2" navindex="17" style="left:629px; top:3px; width:56px; height:22px; ">
- <caption>종료</caption>
- <close ev:event="onclick"/>
- </button>
- <button id="button2" class="btn4_letter2" visibility="hidden" style="left:567px; top:3px; width:56px; height:22px; ">
- <caption>삭제</caption>
- <!--
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- ]]>
- </script>
- -->
- </button>
- <button id="button3" class="btn4_letter2" navindex="16" style="left:568px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- copyNodesetType("/root/send/reqparm" , "/root/main/list/new", "replace");
-
- var reqSeqe = model.getValue("/root/main/list/new/reqseqe");
-
- if (model.getValue("/root/main/list/new/reqdate") == "" ) {
- messageBox("요청일이 입력되지", "E007");
- return;
- }
-
- if (model.getValue("/root/main/list/new/requser") == "" ) {
- messageBox("요청자가 입력되지", "E007");
- return;
- }
-
- if (model.getValue("/root/main/list/new/reqtelp") == "" ) {
- messageBox("연락처가 입력되지", "E007");
- return;
- }
-
- if (model.getValue("/root/main/list/new/reqdesc") == "" ) {
- messageBox("요청내용이 입력되지", "E007");
- return;
- }
-
- if(reqSeqe==""){
- var savechk = messageBox('저장', 'S001'); // 예. 6, 아니오. 7, 취소. 2
- model.makeNode("/root/send/reqparm/savetype");
- model.setValue("/root/send/reqparm/savetype", "i");
- }else{
- var savechk = messageBox('수정', 'S001'); // 예. 6, 아니오. 7, 취소. 2
- model.makeNode("/root/send/reqparm/savetype");
- model.setValue("/root/send/reqparm/savetype", "u");
- }
-
- if(savechk=="6"){
- if(submit("TXZHA00211")) {
- opener.javascript.getReqList();
- alert("정상적으로 입력되었습니다");
- model.close();
- }
- }
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_tle" style="left:0px; top:0px; width:680px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:144px; height:14px; ">지원 요청사항입력</caption>
- </group>
- <caption id="caption18" class="search_name" style="left:10px; top:35px; width:117px; height:17px; ">요청사항 입력 :</caption>
- <caption id="caption2" class="search_name" style="left:10px; top:350px; width:117px; height:17px; ">처리사항 입력 :</caption>
- </xhtml:body>
- </xhtml:html>
|