123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?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>TEST 확인</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <list>
- <testmngt>
- <testno/>
- <reqdd/>
- <requserid/>
- <requsernm/>
- <statcd/>
- <statnm/>
- <emgflag/>
- <blplandt/>
- <testteamconfyn/>
- <itcconfyn/>
- <bldtitl/>
- <blddesc/>
- <bldlist/>
- <label/>
- <bldinst/>
- <testuserid/>
- <testuser/>
- <testdt/>
- <testdesc/>
- <pluserid/>
- <pluser/>
- <pldate/>
- <plconfdesc/>
- <pmuserid/>
- <pmuser/>
- <pmdate/>
- <pmconfdesc/>
- <bldyn/>
- <bldresult/>
- <bldt/>
- <filegrpno/>
- <fstrgstrid/>
- <fstrgstrnm/>
- <fstrgstdt/>
- <lastupdtrid/>
- <lastupdtrnm/>
- <lastupdtdt/>
- <itcuserid/>
- <itcuser/>
- <itcconfdt/>
- <itcconfdesc/>
- </testmngt>
- </list>
- <data>
- <testno/>
- <reqdd/>
- <requserid/>
- <requsernm/>
- <statcd/>
- <statnm/>
- <emgflag/>
- <blplandt/>
- <bldtitl/>
- <blddesc/>
- <bldlist/>
- <label/>
- <bldinst/>
- <testuserid/>
- <testuser/>
- <testdt/>
- <testdesc/>
- <itcuserid/>
- <itcuser/>
- <itcconfdt/>
- <itcconfdesc/>
- <pluserid/>
- <pluser/>
- <pldate/>
- <plconfdesc/>
- <pmuserid/>
- <pmuser/>
- <pmdate/>
- <pmconfdesc/>
- <bldyn/>
- <bldresult/>
- <bldt/>
- <filegrpno/>
- <fstrgstrid/>
- <fstrgstrnm/>
- <fstrgstdt/>
- <lastupdtrid/>
- <lastupdtrnm/>
- <lastupdtdt/>
- <posinstnm/>
- <posdeptnm/>
- <usernm/>
- </data>
- <mode>
- <modestatus/>
- <modelabel/>
- </mode>
- <ftpfilelist>
- <filelist>
- </filelist>
- <itcconffilelist/>
- <infomngfilelist/>
- </ftpfilelist>
- <newfilegrpno>
- <filegrpno/>
- </newfilegrpno>
- <newfileno>
- <fileno/>
- </newfileno>
- <reqdata>
- <list>
- <prcscd/>
- <instnm/>
- <reqdeptnm/>
- <requsernm/>
- <prcstitl/>
- <reqdd/>
- </list>
- </reqdata>
- </main>
- <send>
- <plnfromdd/>
- <plntodd/>
- <reqfromdd/>
- <reqtodd/>
- <statcd/>
- <gpcd/>
- <data>
- </data>
- <filegrpno/>
- <req>
- <filelist/>
- <itcconffilelist/>
- <infomngfilelist/>
- </req>
- <prcscd/>
- </send>
- <hidden>
- <temp>
- </temp>
- </hidden>
- <init>
- <list>
- <C0018>
- <cdid/>
- <cdnm/>
- </C0018>
- <C0008>
- <cdid/>
- <cdnm/>
- </C0008>
- <C0001>
- <cdid/>
- <cdnm/>
- </C0001>
- <C0010>
- <cdid/>
- <cdnm/>
- </C0010>
- <C0015>
- <cdid/>
- <cdnm/>
- </C0015>
- <I0008>
- <cdid/>
- <cdnm/>
- </I0008>
- <I0010>
- <cdid/>
- <cdnm/>
- </I0010>
- <I0003>
- <cdid/>
- <cdnm/>
- </I0003>
- <I0015>
- <cdid/>
- <cdnm/>
- </I0015>
- </list>
- <itcstat/>
- <ftppath>
- <pathid/>
- <host/>
- <port/>
- <usr/>
- <passwd/>
- <path/>
- </ftppath>
- <userauth>
- <auth/>
- </userauth>
- </init>
- </root>
- </instance>
- <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/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/reqmngtweb/js/ZRM002.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- // 조회 조건의 콤보박스 출력
- model.setValue("/root/send/gpcd","0001|0008|0010|0003|0015|0018");
- submit("TRZRM00102");
-
- // 조회일자 초기화 - 디폴트로 당일만 조회되도록 수정
- //ipt_plnfromdd.value = fnAddMonth(getCurrentDate(), -1);
- ipt_plnfromdd.value = getCurrentDate();
- ipt_plntodd.value = getCurrentDate();
-
- //ipt_reqfromdd.value = fnAddMonth(getCurrentDate(), -1);
- ipt_reqfromdd.value = getCurrentDate();
- ipt_reqtodd.value = getCurrentDate();
-
- // 파일 첨부 경로 가져오기
- submit("TRZRM00105");
-
- // 추가할 수 있는 상태로 초기화
- fInsertMode();
-
- switch1.selectedIndex = 0
-
- //사용자의 권한 셋팅..
- model.makeValue("/root/send/userid", getUserInfo("userid"));
- submit("TRZRM00108");
-
- /*
- if(strauth == "0010" && strauth != "" ){
- button2.disabled = false;
- combo2.select(1);
- } else {
- button2.disabled = true;
- combo2.select(2);
- }
-
- if(strauth <= "0010" && strauth != "" ){
- button3.disabled = false;
- button4.disabled = false;
- } else {
- button3.disabled = true;
- button4.disabled = true;
- }
-
- if(strauth == "0002" && strauth != "" ){
- button1.disabled = false;
- } else {
- button1.disabled = true;
- }
- */
-
- var strauth = model.getValue("/root/init/userauth/auth");
-
- switch (strauth) {
- case "0001":
- case "0002":
- combo2.select(4);
- break;
- case "0010":
- combo2.select(1);
- break;
- case "0006":
- case "0007":
- case "0008":
- case "0009":
- combo2.select(2);
- break;
- default:
- combo2.select(0);
- break;
- }
-
- //버튼초기화
- button1.disabled = true;
- button2.disabled = true;
- button3.disabled = true;
- button4.disabled = true;
-
- model.refresh();
-
- ]]>
- </script>
- <submission id="TRZRM00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list"/>
- <submission id="TRZRM00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/list"/>
- <submission id="TRZRM00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main"/>
- <submission id="TRZRM00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/ftpfilelist"/>
- <submission id="TRZRM00105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/ftppath"/>
- <submission id="TRZRM00106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/newfilegrpno"/>
- <submission id="TRZRM00108" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/userauth"/>
- <submission id="TRZRM00110" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list"/>
- <submission id="TRZRM00111" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list"/>
- <submission id="TRZRM00112" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/reqdata"/>
- <submission id="TXZRM00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data" replace="instance" resultref="/root/hidden/temp"/>
- <submission id="TXZRM00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data" replace="instance" resultref="/root/hidden/temp"/>
- <submission id="TXZRM00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/newfileno"/>
- <submission id="TXZRM00110" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data"/>
- <submission id="TXZRM00111" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data"/>
- <submission id="TXZRM00112" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data"/>
- <submission id="TXZRM00113" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data"/>
- </model>
- <object id="objSFT" visibility="hidden" clsid="{2831e72c-9640-44ea-87dc-ddb462d5796c}" visible="false" style="left:0px; top:0px; width:40px; height:20px; "/>
- <script type="javascript">
- <![CDATA[
- // 화면 초기화
- function fInitMainData(disabled){
- model.removeNodeset("/root/main/ftpfilelist/filelist");
- model.removeNodeset("/root/main/ftpfilelist/itcconffilelist");
- model.removeNodeset("/root/main/ftpfilelist/infomngfilelist");
-
- model.makeValue("/root/main/data/testno", "");
- model.makeValue("/root/main/data/reqdd","");
- model.makeValue("/root/main/data/requserid","");
- model.makeValue("/root/main/data/usernm","");
- model.makeValue("/root/main/data/statcd","");
- model.makeValue("/root/main/data/statnm","");
- model.makeValue("/root/main/data/emgflag","");
- model.makeValue("/root/main/data/blplandt","");
- model.makeValue("/root/main/data/bldtitl","");
- model.makeValue("/root/main/data/blddesc","");
- model.makeValue("/root/main/data/bldlist","");
- model.makeValue("/root/main/data/label","");
- model.makeValue("/root/main/data/bldinst","");
- model.makeValue("/root/main/data/testuserid","");
- model.makeValue("/root/main/data/testuser","");
- model.makeValue("/root/main/data/testdt","");
- model.makeValue("/root/main/data/testdesc","");
- model.makeValue("/root/main/data/pluserid","");
- model.makeValue("/root/main/data/pluser","");
- model.makeValue("/root/main/data/pldate","");
- model.makeValue("/root/main/data/plconfdesc", "");
- model.makeValue("/root/main/data/pmuserid", "");
- model.makeValue("/root/main/data/pmuser", "");
- model.makeValue("/root/main/data/pmdate", "");
- model.makeValue("/root/main/data/pmconfdesc", "");
- model.makeValue("/root/main/data/bldyn", "");
- model.makeValue("/root/main/data/bldresult", "");
- model.makeValue("/root/main/data/bldt", "");
- model.makeValue("/root/main/data/filegrpno", "");
- model.makeValue("/root/main/data/fstrgstrid", "");
- model.makeValue("/root/main/data/fstrgstrnm", "");
- model.makeValue("/root/main/data/fstrgstdt", "");
- model.makeValue("/root/main/data/lastupdtrid", "");
- model.makeValue("/root/main/data/lastupdtrnm", "");
- model.makeValue("/root/main/data/lastupdtdt", "");
- model.makeValue("/root/main/data/itcuserid", "");
- model.makeValue("/root/main/data/itcuser", "");
- model.makeValue("/root/main/data/itcconfdt", "");
- model.makeValue("/root/main/data/itcconfdesc", "");
-
- model.removeNodeset("/root/send/data");
- model.makeValue("/root/send/data", "");
- model.refresh();
- fDisableMainDataControls(disabled);
-
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="2,783;1,1192;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <object id="objSFT" clsid="{2831e72c-9640-44ea-87dc-ddb462d5796c}" style="left:5px; top:91px; width:10px; height:0px; "/>
- <line id="line2" class="line_2" style="x1:595px; y1:315px; x2:1192px; y2:315px; "/>
- <group id="group3" scroll="auto" style="left:0px; top:0px; width:1192px; height:771px; ">
- <group id="grp_sea" style="left:0px; top:15px; width:1192px; height:60px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:1px; width:1192px; height:54px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption8" class="search_name" style="left:15px; top:5px; width:104px; height:17px; ">배포적용일 :</caption>
- <caption id="caption7" class="search_no_b" style="left:220px; top:6px; width:12px; height:17px; ">~</caption>
- <input id="ipt_plnfromdd" ref="/root/send/plnfromdd" class="input_search" navindex="2" inputtype="date" style="left:133px; top:5px; width:85px; height:19px; "/>
- <input id="ipt_plntodd" ref="/root/send/plntodd" class="input_search" navindex="3" inputtype="date" style="left:233px; top:5px; width:85px; height:19px; "/>
- <button id="btn_search" class="btn1_letter2" navindex="10" style="left:1125px; top:5px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.makeValue("/root/send/fstrgstrid", getUserInfo("userid"));
- submit("TRZRM00110");
- ]]>
- </script>
- </button>
- <caption id="caption4" class="search_name" style="left:345px; top:5px; width:90px; height:17px; ">진행상태 :</caption>
- <select1 id="combo2" ref="/root/send/statcd" class="combo_search" navindex="7" appearance="minimal" style="left:435px; top:5px; width:185px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/list/C0018">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_reqtodd" ref="/root/send/reqtodd" class="input_search" navindex="3" inputtype="date" style="left:233px; top:30px; width:85px; height:19px; "/>
- <caption id="caption1" class="search_name" style="left:15px; top:30px; width:115px; height:17px; ">테스트요청일 :</caption>
- <input id="ipt_reqfromdd" ref="/root/send/reqfromdd" class="input_search" navindex="2" inputtype="date" style="left:133px; top:30px; width:85px; height:19px; "/>
- <button id="button8" class="btn1_letter2" navindex="10" style="left:1125px; top:30px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.makeValue("/root/send/fstrgstrid", getUserInfo("userid"));
- submit("TRZRM00111");
- ]]>
- </script>
- </button>
- <caption id="caption2" class="search_no_b" style="left:220px; top:31px; width:12px; height:17px; ">~</caption>
- <input id="input1" ref="/root/send/prcscd" class="input_search" style="left:435px; top:30px; width:185px; height:15px; "/>
- <caption id="caption33" class="search_name" style="left:345px; top:30px; width:90px; height:17px; ">요청번호 :</caption>
- </group>
- <line id="line1" class="line_1" style="x1:1px; y1:116px; x2:585px; y2:116px; "/>
- <button id="btn_excel" class="btn2_letter4" style="left:475px; top:95px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "요구사항관리_" + getCurrentDate(), "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_testmngtlist.saveExcel(fileName, "SheetName", true, true, "", "", "false");
- }
- ]]>
- </script>
- </button>
- <input id="ipt_requsernm" ref="/root/main/data/requserid" class="input_essential" style="left:785px; top:202px; width:85px; height:19px; "/>
- <textarea id="tar_prcsmsg" ref="/root/main/data/blddesc" class="input_essential" style="left:660px; top:365px; width:375px; height:130px; "/>
- <input id="ipt_bld" ref="/root/main/data/blplandt" class="input_essential" style="left:1098px; top:232px; width:90px; height:19px; "/>
- <output id="opt_modellabel" ref="/root/main/mode/modelabel" class="tit_2" style="left:595px; top:100px; width:269px; height:13px; "/>
- <caption id="caption20" class="cell_1" style="left:595px; top:338px; width:61px; height:23px; vertical-align:middle; ">배포제목</caption>
- <caption id="caption10" class="cell_1" style="left:1020px; top:140px; width:50px; height:23px; vertical-align:middle; ">성명</caption>
- <caption id="caption22" class="cell_1" style="left:595px; top:365px; width:61px; height:130px; vertical-align:middle; ">배포내용</caption>
- <caption id="caption12" class="cell_1" style="left:1018px; top:200px; width:80px; height:23px; vertical-align:middle; ">테스트요청일</caption>
- <upload id="upload_attach" nodeset="/root/main/data/attach/file" filecount="5" filesize="100000000" validate="true" style="left:1040px; top:485px; width:25px; height:20px; "/>
- <input id="ipt_prcstitl" ref="/root/main/data/bldtitl" class="input_essential" style="left:660px; top:340px; width:375px; height:19px; "/>
- <caption id="caption13" class="cell_1" style="left:595px; top:200px; width:60px; height:23px; vertical-align:middle; ">배포번호</caption>
- <caption id="caption24" class="cell_1" style="left:595px; top:140px; width:60px; height:23px; vertical-align:middle; ">소속기관</caption>
- <caption id="caption25" class="cell_1" style="left:1018px; top:230px; width:75px; height:23px; vertical-align:middle; ">배포적용일</caption>
- <caption id="caption14" class="cell_1" style="left:595px; top:230px; width:61px; height:23px; vertical-align:middle; ">라벨</caption>
- <input id="ipt_cdid" ref="/root/main/data/posdeptnm" class="input_essential" disabled="true" style="left:875px; top:142px; width:140px; height:19px; "/>
- <input id="ipt_instcd" ref="/root/main/data/posinstnm" class="input_essential" disabled="true" style="left:660px; top:142px; width:144px; height:19px; "/>
- <caption id="caption9" class="cell_1" style="left:810px; top:140px; width:60px; height:23px; vertical-align:middle; ">소속부서</caption>
- <caption id="caption19" class="cell_1" style="left:725px; top:200px; width:55px; height:23px; vertical-align:middle; ">요청부서</caption>
- <input id="ipt_cdnm" ref="/root/main/data/usernm" class="input_essential" disabled="true" style="left:1075px; top:142px; width:115px; height:19px; "/>
- <datagrid id="grd_attach" nodeset="/root/main/ftpfilelist/filelist" caption="status^경로^첨부파일^host^port^usr^passwd^pathid^remotepath^ext^fstrgstrid^lastupdtrid^filegrpno^fileno" colwidth="0,0,150,0,0,0,0,0,0,0,0,0,0,0" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" tooltip="true" style="left:1040px; top:340px; width:150px; height:155px; ">
- <col ref="status"/>
- <col ref="localpath"/>
- <col ref="filename"/>
- <col ref="host"/>
- <col ref="port"/>
- <col ref="usr"/>
- <col ref="passwd"/>
- <col ref="pathid"/>
- <col ref="remotepath"/>
- <col ref="ext"/>
- <col ref="fstrgstrid"/>
- <col ref="lastupdtrid"/>
- <col ref="filegrpno"/>
- <col ref="fileno"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if (grd_attach.row <= 0) { return;}
- if (grd_attach.col <= 0) { return;}
-
- // 해당파일 다운로드 정보 셋팅
- var row = grd_attach.row;
- var host = model.getValue("/root/main/ftpfilelist/filelist["+row+"]/host");
- var port = model.getValue("/root/main/ftpfilelist/filelist["+row+"]/port");
- var user = model.getValue("/root/main/ftpfilelist/filelist["+row+"]/usr");
- var pass = model.getValue("/root/main/ftpfilelist/filelist["+row+"]/passwd");
- var pathRemote = model.getValue("/root/main/ftpfilelist/filelist["+row+"]/remotepath");
- var filename = model.getValue("/root/main/ftpfilelist/filelist["+row+"]/localpath");
-
- fFileExcute(host, port, user, pass, pathRemote, filename);
-
- //fFilePreview();
- ]]>
- </script>
- </datagrid>
- <line id="line6" class="line_1" style="x1:595px; y1:116px; x2:1192px; y2:116px; "/>
- <line id="line7" class="line_3" style="x1:595px; y1:137px; x2:1192px; y2:137px; "/>
- <line id="line8" class="line_3" style="x1:595px; y1:165px; x2:1192px; y2:165px; "/>
- <line id="line10" class="line_3" style="x1:595px; y1:198px; x2:1192px; y2:198px; "/>
- <caption id="caption27" style="left:748px; top:230px; width:30px; height:23px; ">긴급</caption>
- <bool id="bool4" checkvalue="Y,N" ref="/root/main/data/emgflag" style="left:731px; top:232px; width:15px; height:20px; "/>
- <caption id="caption28" class="tit_2" style="left:595px; top:120px; width:126px; height:14px; vertical-align:middle; ">TEST확인자 정보</caption>
- <caption id="caption29" class="tit_2" style="left:595px; top:180px; width:126px; height:14px; vertical-align:middle; ">요청 내용</caption>
- <button id="btn_expan" class="btn2_letter2" style="left:540px; top:95px; width:42px; height:19px; ">
- <caption>
- <![CDATA[>>]]>
- </caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //alert(grd_testmngtlist.attribute ( "width" ));
- var tmp = btn_expan.text
- //alert(tmp);
- if ( tmp == ">>"){
- grd_testmngtlist.attribute ( "width" ) = 1190;
- btn_expan.text = "<<";
- } else {
- grd_testmngtlist.attribute ( "width" ) = 585;
- btn_expan.text = ">>"
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <select1 id="combo3" ref="/root/main/data/statcd" class="combo_search" disabled="true" visibility="hidden" appearance="minimal" style="left:1040px; top:500px; width:152px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/list/C0018">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var tmp = model.getValue("/root/main/data/statcd");
- model.setValue("/root/init/itcstat", tmp);
-
- model.refresh();
-
- ]]>
- </script>
- </select1>
- <switch id="switch1" style="left:590px; top:626px; width:602px; height:144px; ">
- <case id="rpt" selected="true" style="left:0px; top:0px; width:602px; height:213px; ">
- <button id="button2" class="btn5_letter2" style="left:555px; top:4px; width:42px; height:19px; ">
- <caption>승인</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- /*
- var stat = model.getValue("/root/main/data/statcd");
- if (stat <= "0010") {
- messageBox("처리상태가 지정되지", "I004");
- return;
- }
- */
-
- var mode = model.getValue("/root/main/mode/modestatus");
- model.makeValue("/root/main/data/updateuserid", getUserInfo("userid"));
- model.copyNode("/root/send/data", "/root/main/data");
-
- model.refresh();
-
- // ztrmprcs 테이블 insert
- submit("TXZRM00110");
-
- btn_search.dispatch("DOMActivate");
-
- grd_testmngtlist.row = 1;
- fInitMainData(true);
-
- ]]>
- </script>
- </button>
- <caption id="caption31" class="tit_2" style="left:5px; top:6px; width:70px; height:13px; vertical-align:middle; ">테스트팀</caption>
- <line id="line14" class="line_3" style="x1:5px; y1:25px; x2:597px; y2:25px; "/>
- <caption id="caption17" class="cell_1" style="left:5px; top:30px; width:61px; height:105px; vertical-align:middle; ">확인내용</caption>
- <textarea id="tar_fstrpttxt" ref="/root/main/data/testdesc" navindex="14" editable="true" style="left:70px; top:30px; width:525px; height:105px; "/>
- <caption id="caption34" ref="/root/main/data/testdt" style="left:80px; top:5px; width:152px; height:15px; "/>
- <caption id="caption11" ref="/root/main/data/testuser" style="left:235px; top:4px; width:215px; height:15px; "/>
- </case>
- <case id="confirm" style="left:0px; top:0px; width:940px; height:769px; ">
- <button id="button3" class="btn5_letter2" style="left:555px; top:4px; width:42px; height:19px; ">
- <caption>승인</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- var mode = model.getValue("/root/main/mode/modestatus");
- model.makeValue("/root/main/data/updateuserid", getUserInfo("userid"));
- model.copyNode("/root/send/data", "/root/main/data");
-
- model.refresh();
-
- submit("TXZRM00111");
-
- btn_search.dispatch("DOMActivate");
-
- grd_testmngtlist.row = 1;
- fInitMainData(true);
-
- ]]>
- </script>
- </button>
- <caption id="caption32" class="tit_2" style="left:5px; top:6px; width:65px; height:13px; vertical-align:middle; ">ITC</caption>
- <line id="line16" class="line_3" style="x1:5px; y1:25px; x2:597px; y2:25px; "/>
- <textarea id="tar_rpttxt" ref="/root/main/data/itcconfdesc" navindex="12" editable="true" style="left:70px; top:30px; width:525px; height:105px; "/>
- <caption id="caption18" class="cell_1" style="left:5px; top:30px; width:61px; height:105px; vertical-align:middle; ">확인내용</caption>
- <caption id="caption5" ref="/root/main/data/itcconfdt" style="left:80px; top:5px; width:152px; height:15px; "/>
- <caption id="caption15" ref="/root/main/data/itcuser" style="left:235px; top:4px; width:215px; height:15px; "/>
- <button id="button4" class="btn2_letter2" style="left:508px; top:4px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- var mode = model.getValue("/root/main/mode/modestatus");
- model.makeValue("/root/main/data/updateuserid", getUserInfo("userid"));
- model.copyNode("/root/send/data", "/root/main/data");
-
- model.refresh();
-
- submit("TXZRM00113");
-
- btn_search.dispatch("DOMActivate");
-
- grd_testmngtlist.row = 1;
- fInitMainData(true);
-
- ]]>
- </script>
- </button>
- </case>
- <case id="pm_confirm">
- <button id="button1" class="btn5_letter2" style="left:555px; top:4px; width:42px; height:19px; ">
- <caption>승인</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- var mode = model.getValue("/root/main/mode/modestatus");
- model.makeValue("/root/main/data/updateuserid", getUserInfo("userid"));
- model.copyNode("/root/send/data", "/root/main/data");
-
- model.refresh();
-
- // ztrmprcs 테이블 insert
- submit("TXZRM00112");
-
- btn_search.dispatch("DOMActivate");
-
- grd_testmngtlist.row = 1;
- fInitMainData(true);
-
- ]]>
- </script>
- </button>
- <caption id="caption21" class="tit_2" style="left:5px; top:6px; width:70px; height:14px; vertical-align:middle; ">PM</caption>
- <line id="line12" class="line_3" style="x1:5px; y1:25px; x2:597px; y2:25px; "/>
- <caption id="caption23" ref="/root/main/data/pmuser" style="left:235px; top:4px; width:215px; height:15px; "/>
- <caption id="caption26" ref="/root/main/data/pmdate" style="left:80px; top:5px; width:152px; height:15px; "/>
- <caption id="caption30" class="cell_1" style="left:5px; top:30px; width:61px; height:105px; vertical-align:middle; ">확인내용</caption>
- <textarea id="textarea2" ref="/root/main/data/pmconfdesc" navindex="14" editable="true" style="left:70px; top:30px; width:525px; height:105px; "/>
- </case>
- </switch>
- <button id="btn_rpt" class="btn_sw" group="tab" selected="true" style="left:590px; top:605px; width:80px; height:22px; ">
- <caption>테스트팀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- switch1.selectedIndex = 0
- ]]>
- </script>
- </button>
- <button id="btn_confirm" class="btn_sw" visibility="visible" group="tab" style="left:670px; top:605px; width:80px; height:22px; ">
- <caption>ITC</caption>
- <toggle case="confirm" ev:event="onclick"/>
- </button>
- <line id="line17" class="line_2" style="x1:595px; y1:336px; x2:1192px; y2:336px; "/>
- <input id="input3" ref="/root/main/data/bldinst" class="input_essential" imemode="hangul" maxlength="85" style="left:661px; top:261px; width:527px; height:19px; "/>
- <caption id="caption39" class="cell_1" style="left:595px; top:259px; width:61px; height:23px; vertical-align:middle; ">적용병원</caption>
- <input id="input4" ref="/root/main/data/testno" class="input_essential" disabled="true" editable="false" style="left:660px; top:202px; width:60px; height:19px; "/>
- <input id="input5" ref="/root/main/data/reqdd" class="input_search" inputtype="date" style="left:1103px; top:202px; width:85px; height:19px; "/>
- <input id="input6" ref="/root/main/data/label" class="input_essential" editable="false" style="left:660px; top:232px; width:60px; height:19px; "/>
- <textarea id="textarea1" ref="/root/main/data/bldlist" class="input_essential" style="left:661px; top:287px; width:527px; height:45px; "/>
- <caption id="caption3" class="cell_1" style="left:595px; top:287px; width:62px; height:45px; vertical-align:middle; ">
- <![CDATA[배 포
- 리스트]]>
- </caption>
- <line id="line3" class="line_3" style="x1:595px; y1:497px; x2:1192px; y2:497px; "/>
- <line id="line5" class="line_2" style="x1:595px; y1:283px; x2:1192px; y2:283px; "/>
- <line id="line9" class="line_2" style="x1:595px; y1:225px; x2:1192px; y2:225px; "/>
- <line id="line11" class="line_2" style="x1:595px; y1:255px; x2:1192px; y2:255px; "/>
- <datagrid id="datagrid1" nodeset="/root/main/reqdata/list" caption="요청번호^발의기관^요청부서^요청자^요청제목^요청일" colsep="^" colwidth="79, 97, 62, 62, 296, 135" mergecellsfixedrows="bycolrec" rowsep="|" style="left:660px; top:500px; width:532px; height:95px; ">
- <col ref="prcscd"/>
- <col ref="instnm"/>
- <col ref="reqdeptnm"/>
- <col ref="requsernm"/>
- <col ref="prcstitl"/>
- <col ref="reqdd"/>
- </datagrid>
- <caption id="caption16" class="cell_1" style="left:595px; top:500px; width:61px; height:95px; vertical-align:middle; ">관련요청</caption>
- <line id="line4" class="line_3" style="x1:595px; y1:598px; x2:1192px; y2:598px; "/>
- <button id="btn_pm" class="btn_sw" visibility="visible" group="tab" style="left:750px; top:605px; width:80px; height:22px; ">
- <caption>PM</caption>
- <toggle case="pm_confirm" ev:event="onclick"/>
- </button>
- <caption id="caption35" class="cell_1" style="left:788px; top:230px; width:57px; height:23px; vertical-align:middle; ">요청번호</caption>
- <input id="input2" ref="/root/main/data/bldresult" class="input_essential" style="left:850px; top:232px; width:160px; height:19px; "/>
- <input id="input7" ref="/root/main/data/requsernm" class="input_essential" style="left:925px; top:202px; width:85px; height:19px; "/>
- <caption id="caption36" class="cell_1" style="left:877px; top:200px; width:44px; height:23px; vertical-align:middle; ">요청자</caption>
- <datagrid id="grd_testmngtlist" nodeset="/root/main/list/testmngt" allowselection="true" caption="번호^테스트
요청일^요청부서^요청자^상태코드^상태^긴급^배포적용일^TST^ITC^배포제목^배포내용^배포리스트^라벨^배포적용서버^테스트ID^테스터^테스트일시^테스트내용^팀장ID^팀장명^팀장확인일시^팀장확인내용^PM ID^PM 이름^PM확인일자^PM확인내용^배포여부^요청번호^배포일시^첨부파일^최초입력자ID^최초입력자^최초입력일^최종수정자ID^최종수정자^최종수정일자^ITC ID^ITC이름^ITC확인일자^ITC확인내용" colsep="^" colwidth="37, 57, 66, 79, 3, 67, 30, 82, 28, 27, 183, 201, 188, 77, 117, 70, 57, 104, 198, 72, 71, 94, 151, 60, 69, 110, 168, 70, 69, 70, 80, 100, 100, 130, 100, 100, 120, 100, 100, 100, 100" explorerbar="sort" frozencols="7" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="50" rowsep="|" tooltip="true" style="left:0px; top:120px; width:585px; height:651px; text-align:center; ">
- <col ref="testno" type="output"/>
- <col ref="reqdd"/>
- <col ref="requserid" style="text-align:left; "/>
- <col ref="requsernm" style="text-align:left; "/>
- <col ref="statcd" visibility="hidden"/>
- <col ref="statnm" style="text-align:left; "/>
- <col ref="emgflag"/>
- <col ref="blplandt" style="left:410px; top:23px; width:100px; height:23px; "/>
- <col ref="testteamconfyn"/>
- <col ref="itcconfyn"/>
- <col ref="bldtitl" style="left:522px; top:23px; width:183px; height:23px; text-align:left; "/>
- <col ref="blddesc" style="text-align:left; "/>
- <col ref="bldlist" style="text-align:left; "/>
- <col ref="label"/>
- <col ref="bldinst"/>
- <col ref="testuserid" visibility="hidden"/>
- <col ref="testuser"/>
- <col ref="testdt"/>
- <col ref="testdesc"/>
- <col ref="pluserid" visibility="hidden"/>
- <col ref="pluser"/>
- <col ref="pldate"/>
- <col ref="plconfdesc"/>
- <col ref="pmuserid" visibility="hidden"/>
- <col ref="pmuser"/>
- <col ref="pmdate"/>
- <col ref="pmconfdesc"/>
- <col ref="bldyn"/>
- <col ref="bldresult" style="text-align:left; "/>
- <col ref="bldt"/>
- <col ref="filegrpno"/>
- <col ref="fstrgstrid" visibility="hidden" style="left:2801px; top:23px; width:100px; height:23px; "/>
- <col ref="fstrgstrnm" style="left:2901px; top:23px; width:100px; height:23px; "/>
- <col ref="fstrgstdt" style="left:3001px; top:23px; width:100px; height:23px; "/>
- <col ref="lastupdtrid" visibility="hidden"/>
- <col ref="lastupdtrnm"/>
- <col ref="lastupdtdt"/>
- <col ref="itcuserid" visibility="hidden"/>
- <col ref="itcuser"/>
- <col ref="itcconfdt"/>
- <col ref="itcconfdesc"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_testmngtlist.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
-
- // 클릭한 요청번호로 db select한다.
- var row = grd_testmngtlist.row;
- var testno = grd_testmngtlist.valueMatrix(row, grd_testmngtlist.colRef("testno"));
- // 비정상적인 조회금지
- if (row <=0) { return;}
- if(grd_testmngtlist.col < 0 ) {return;}
- if(testno == "" ) {return;}
-
- // 수정할수 있는 상태로 초기화
- fUpdateMode();
- model.copyNode ("/root/main/data","/root/main/list/testmngt["+row+"]");
-
- model.makeValue("/root/main/data/posinstnm",getUserInfo("posinstnm"));
- model.makeValue("/root/main/data/posdeptnm", getUserInfo("posdeptnm"));
- model.makeValue("/root/main/data/usernm", getUserInfo("usernm"));
- model.makeValue("/root/main/data/userid", getUserInfo("userid"));
-
- //각 첨부파일 초기화
- model.makeValue("/root/send/filegrpno", "");
- model.makeValue("/root/send/itc_filegrpno", "");
- model.makeValue("/root/send/infomng_filegrpno", "");
- model.makeValue("/root/send/testno", testno);
-
- // 첨부파일 있으면 목록 읽어오기
- var tmpGrpNo = model.getValue("/root/main/data/filegrpno");
- if (tmpGrpNo >0 ) {
- model.makeValue("/root/send/filegrpno", tmpGrpNo);
- }
-
- submit("TRZRM00104");
- submit("TRZRM00112");
-
- /*
- if(strauth == "0010" && strauth != "" ){
- button2.disabled = false;
- } else {
- button2.disabled = true;
- }
-
- if(strauth <= "0010" && strauth != "" ){
- button3.disabled = false;
- button4.disabled = false;
- } else {
- button3.disabled = true;
- button4.disabled = true;
- }
-
- if (tmpstus >= "0004"){
- button3.disabled = true;
- button4.disabled = true;
- } else {
- button3.disabled = false;
- button4.disabled = false;
- }
- */
- //버튼초기화
- button1.disabled = true;
- button2.disabled = true;
- button3.disabled = true;
- button4.disabled = true;
-
- var strauth = model.getValue("/root/init/userauth/auth");
- var tmpstus = model.getValue("/root/main/data/statcd");
- switch (tmpstus) {
- case "0001":
- if(strauth == "0010" && strauth != "" ){
- button2.disabled = false;
- }
- break;
- case "0002":
- case "0003":
- if(strauth < "0010" && strauth != "" ){
- button3.disabled = false;
- button4.disabled = false;
- }
- break;
- }
-
- if(tmpstus < "0005" && tmpstus != ""){
- if(strauth < "0003" && strauth != "" ){
- button1.disabled = false;
- }
- }
-
- /*
- // ITC첨부파일 있으면 목록 읽어오기
- var tmpGrpNo = model.getValue("/root/main/data/itcconfgrpno");
- if (tmpGrpNo >0 ) {
- model.makeValue("/root/send/itc_filegrpno", tmpGrpNo);
- }
-
- // 정보관리 첨부파일 있으면 목록 읽어오기
- var tmpGrpNo = model.getValue("/root/main/data/infomnggrpno");
- if (tmpGrpNo >0 ) {
- model.makeValue("/root/send/infomng_filegrpno", tmpGrpNo);
- }
-
- var tmp = btn_expan.text
- //alert(tmp);
- if ( tmp == "<<"){
- grd_testmngtlist.attribute ( "width" ) = 585;
- btn_expan.text = ">>"
- }
-
- var tmp = model.getValue("/root/main/data/statcd");
- model.setValue("/root/init/itcstat", tmp);
-
- if( tmp >= 50){
- opt_itcstat.disabled = true;
- } else {
- opt_itcstat.disabled = false;
- }
-
- if(tmp >= 90){
- opt_infomng.disabled = true;
- } else {
- opt_infomng.disabled = false;
- }
- */
- model.refresh();
-
- ]]>
- </script>
- </datagrid>
- </group>
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">TEST요청확인</caption>
- </xhtml:body>
- </xhtml:html>
|