123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020 |
- <?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>
- <list>
- <reqmngt>
- <prcscd/>
- <fstrgstdt/>
- <usernm/>
- <reqnm/>
- <reqdd/>
- <instnm/>
- <reqdeptnm/>
- <requsernm/>
- <telno/>
- <prcstitl/>
- <itcconf/>
- <infomngconf/>
- <prcsmsg/>
- <statnm/>
- <itcagryn/>
- <deptagryn/>
- <reqpart/>
- <impnm/>
- <secuflag/>
- <emgflag/>
- <projcd/>
- <filegrpno/>
- <tftno/>
- <statcd/>
- <fstrpttxt/>
- <rpttxt/>
- <fstrnm/>
- <fstrdt/>
- <lastnm/>
- <lastdt/>
- <userid/>
- <instcd/>
- <reqgubun/>
- <updateuserid/>
- <posdeptnm/>
- <posinstnm/>
- <attach/>
- <itcconftxt/>
- <infomngconftxt/>
- <itcconfnm/>
- <infomngconfnm/>
- <preprcscd/>
- <appinst/>
- <priocd/>
- <prionm/>
- <impcd/>
- <deptagrlst/>
- </reqmngt>
- </list>
- <data>
- <prcscd/>
- <reqdd/>
- <reqdeptnm/>
- <requsernm/>
- <telno/>
- <prcstitl/>
- <prcsmsg/>
- <itcagryn/>
- <deptagryn/>
- <reqpart/>
- <secuflag/>
- <emgflag/>
- <filegrpno/>
- <statcd/>
- <fstrpttxt/>
- <rpttxt/>
- <reqgubun/>
- <impcd/>
- <fstrgstrid/>
- <instcd/>
- <posinstnm/>
- <posdeptnm/>
- <usernm/>
- <userid/>
- <updateuserid/>
- <attach/>
- <itcconftxt/>
- <infomngconftxt/>
- <itcconfnm/>
- <infomngconfnm/>
- <preprcscd/>
- <appinst/>
- <priocd/>
- <deptagrlst/>
- <projcd/>
- </data>
- <mode>
- <modestatus/>
- <modelabel/>
- </mode>
- <ftpfilelist>
- <filelist>
- </filelist>
- </ftpfilelist>
- <newfilegrpno>
- <filegrpno/>
- </newfilegrpno>
- <newfileno>
- <fileno/>
- </newfileno>
- </main>
- <send>
- <fromdd/>
- <todd/>
- <instcd/>
- <reqdeptnm/>
- <requsernm/>
- <statcd/>
- <reqgubun/>
- <ismine/>
- <searchtxt/>
- <fstrgstrid/>
- <gpcd/>
- <prcscd/>
- <userid/>
- <priocd/>
- <data>
- </data>
- <filegrpno/>
- <req>
- <filelist/>
- </req>
- </send>
- <hidden>
- <temp>
- </temp>
- </hidden>
- <init>
- <list>
- <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>
- <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/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/reqmngtweb/js/ZRM001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- // 조회 조건의 콤보박스 출력
- model.setValue("/root/send/gpcd","0001|0008|0010|0003|0015");
- submit("TRZRM00102");
-
- combo1.select(0);
- combo2.select(0);
- radio1.select(0);
- combo4.select(0);
- combo5.select(0);
- combo6.select(0);
- combo7.select(0);
- combo8.select(0);
-
- // 조회일자 초기화
- ipt_fromdd.value = getCurrentDate();
- ipt_todd.value = getCurrentDate();
- ipt_reqdd.value = getCurrentDate();
-
- // 파일 첨부 경로 가져오기
- submit("TRZRM00105");
-
- // 추가할 수 있는 상태로 초기화
- fInsertMode();
-
-
- model.makeValue("/root/send/userid", getUserInfo("userid"));
- submit("TRZRM00108");
-
- var strauth = model.getValue("/root/init/userauth/auth");
-
- if(strauth <= "0010" && strauth != "" ){
- btn_update.disabled = false;
- } else {
- btn_update.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="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="TXZRM00106" 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:375px; top:0px; width:40px; height:20px; "/>
- <script type="javascript">
- <![CDATA[
- // 화면 초기화
- function fInitMainData(disabled){
- model.makeValue("/root/main/data/prcscd", "");
- ipt_reqdd.value = getCurrentDate();
- //model.makeValue("/root/main/data/reqdd", "");
- model.makeValue("/root/main/data/reqdeptnm", "");
- model.makeValue("/root/main/data/requsernm", "");
- model.makeValue("/root/main/data/telno", "");
- model.makeValue("/root/main/data/prcstitl", "");
- model.makeValue("/root/main/data/prcsmsg", "");
- model.makeValue("/root/main/data/itcagryn", "");
- model.makeValue("/root/main/data/deptagryn", "");
- model.makeValue("/root/main/data/reqpart", "");
- model.makeValue("/root/main/data/secuflag", "");
- model.makeValue("/root/main/data/emgflag", "");
- model.makeValue("/root/main/data/filegrpno", "");
- model.makeValue("/root/main/data/statcd", "");
- model.makeValue("/root/main/data/fstrpttxt", "");
- model.makeValue("/root/main/data/rpttxt", "");
- model.makeValue("/root/main/data/reqgubun", "");
- model.makeValue("/root/main/data/impcd", "");
- model.makeValue("/root/main/data/fstrgstrid", "");
- model.makeValue("/root/main/data/instcd", "");
- 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/main/data/updateuserid", "");
- model.makeValue("/root/main/data/appinst", "");
- model.makeValue("/root/main/data/preprcscd", "");
- model.makeValue("/root/main/data/priocd", "");
- //model.makeValue("/root/send/data/filegrpno", "");
-
- model.removeNodeset("/root/main/ftpfilelist/filelist");
- model.refresh();
- fDisableMainDataControls(disabled);
- }
-
-
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="2,784;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:0px; top:0px; width:5px; height:30px; "/>
- <line id="line2" class="line_2" style="x1:595px; y1:315px; x2:1192px; y2:315px; "/>
- <group id="group3" scroll="auto" style="left:0px; top:13px; width:1192px; height:771px; ">
- <line id="line1" class="line_1" style="x1:1px; y1:121px; x2:585px; y2:121px; "/>
- <group id="grp_sea" style="left:0px; top:5px; width:1192px; height:85px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1192px; height:85px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption8" class="search_name" style="left:15px; top:10px; width:104px; height:17px; ">등록일자 :</caption>
- <caption id="caption7" class="search_no_b" style="left:192px; top:11px; width:12px; height:17px; ">~</caption>
- <caption id="caption1" class="search_name" style="left:300px; top:10px; width:100px; height:17px; ">발의기관 :</caption>
- <input id="ipt_fromdd" ref="/root/send/fromdd" class="input_search" navindex="1" inputtype="date" style="left:105px; top:10px; width:85px; height:19px; "/>
- <input id="ipt_todd" ref="/root/send/todd" class="input_search" navindex="2" inputtype="date" style="left:205px; top:10px; width:85px; height:19px; "/>
- <button id="btn_search" class="btn1_letter2" navindex="9" style="left:1125px; top:10px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.makeValue("/root/send/fstrgstrid", getUserInfo("userid"));
- submit("TRZRM00101");
- ]]>
- </script>
- </button>
- <select1 id="combo1" ref="/root/send/instcd" class="combo_search" navindex="3" appearance="minimal" style="left:390px; top:10px; width:170px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/list/C0008">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption2" class="search_name" style="left:575px; top:10px; width:100px; height:17px; ">요청부서 :</caption>
- <select1 id="combo2" ref="/root/send/statcd" class="combo_search" navindex="6" appearance="minimal" style="left:105px; top:35px; width:185px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/list/C0001">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption3" class="search_name" style="left:845px; top:10px; width:100px; height:17px; ">요청자 :</caption>
- <caption id="caption4" class="search_name" style="left:15px; top:35px; width:100px; height:17px; ">진행상태 :</caption>
- <caption id="caption5" class="search_name" style="left:300px; top:35px; width:100px; height:17px; ">요청구분 :</caption>
- <input id="input2" ref="/root/send/requsernm" class="input_search" navindex="5" style="left:940px; top:10px; width:150px; height:19px; "/>
- <input id="input1" ref="/root/send/reqdeptnm" class="input_search" navindex="4" style="left:665px; top:10px; width:145px; height:19px; "/>
- <select1 id="radio1" ref="/root/send/reqgubun" navindex="7" overflow="visible" appearance="full" cols="10" style="left:390px; top:35px; width:385px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/list/C0010">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select id="chk_ismine" ref="/root/send/ismine" navindex="8" overflow="visible" appearance="full" style="left:1067px; top:35px; width:125px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>본인이 등록한것만</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <caption id="caption40" class="search_name" style="left:845px; top:35px; width:100px; height:17px; ">우선순위 :</caption>
- <select1 id="combo7" ref="/root/send/priocd" class="combo_search" navindex="4" appearance="minimal" style="left:940px; top:35px; width:75px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/list/C0015">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption42" class="search_name" style="left:15px; top:60px; width:100px; height:17px; ">요청번호 :</caption>
- <caption id="caption43" class="search_name" style="left:300px; top:60px; width:166px; height:17px; ">요청제목 or 요청내용 :</caption>
- <input id="input4" ref="/root/send/prcscd" class="input_search" style="left:105px; top:60px; width:185px; height:19px; "/>
- <input id="input5" ref="/root/send/searchtxt" class="input_search" style="left:465px; top:60px; width:345px; height:19px; "/>
- </group>
- <button id="btn_excel" class="btn2_letter4" style="left:475px; top:100px; 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_reqmngtlist.saveExcel(fileName, "SheetName", true, true, "", "", "false");
- }
- ]]>
- </script>
- </button>
- <group id="grd_general_process" style="left:1062px; top:93px; width:126px; height:23px; ">
- <button id="btn_add" class="btn4_letter3" style="left:0px; top:0px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 추가할 수 있는 상태로 초기화
- fInsertMode();
-
- ]]>
- </script>
- </button>
- <button id="btn_update" class="btn4_letter2" style="left:70px; top:0px; width:68px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var mode = model.getValue("/root/main/mode/modestatus");
- var strauth = model.getValue("/root/init/userauth/auth");
-
- model.makeValue("/root/main/data/updateuserid", getUserInfo("userid"));
- model.makeValue("/root/main/data/userid", getUserInfo("userid"));
- model.copyNode("/root/send/data", "/root/main/data");
-
-
- // 필수 항목 체크
- if (fValueCheck() == false) { return; }
-
- // 삽입 --------------------------------------------------------------------------------------------------
- if (mode == "insert" ) {
-
- // 첨부파일이 있는가?
- if (grd_attach.rows > 1 ) {
-
- // filegrpno 읽기
- submit("TRZRM00106");
- model.makeValue("/root/send/data/filegrpno", model.getValue("/root/main/newfilegrpno/filegrpno"));
-
- // 첨부파일 수만큼 테이블에 insert시키고, 파일 업로드
- for (var i=1; i< grd_attach.rows; i++) {
-
- // ztrmfile 테이블 insert
- model.copyNode("/root/send/req/filelist", "/root/main/ftpfilelist/filelist[" + i + "]");
- model.setValue("/root/send/req/filelist/filegrpno", model.getValue("/root/main/newfilegrpno/filegrpno"));
- submit("TXZRM00103");
-
- // 업로드 파일 정보 set
- var host = model.getValue("/root/main/ftpfilelist/filelist[" + i + "]/host");
- var port= model.getValue("/root/main/ftpfilelist/filelist[" + i + "]/port");
- var user = model.getValue("/root/main/ftpfilelist/filelist[" + i + "]/usr");
- var pass = model.getValue("/root/main/ftpfilelist/filelist[" + i + "]/passwd");
- var fileno = model.getValue("/root/main/newfileno/fileno");
- var dirstr = flpad(fileno, 3, "0");
-
- var pathRemote = model.getValue("/root/main/ftpfilelist/filelist[" + i + "]/remotepath") + "\\" + dirstr + "\\" + fileno + "." + model.getValue("/root/main/ftpfilelist/filelist[" + i + "]/ext");
- var pathLocal = model.getValue("/root/main/ftpfilelist/filelist[" + i + "]/localpath");
- //alert (" host = " + host + "\n port = " + port + "\n user = " + user + "\n pass = " + pass + "\n pathRemote = " + pathRemote + "\n pathLocal = " + pathLocal );
-
- // 파일 업로드
- //var ret = putFiles("160.1.18.111", "2002", "cmc", "cmc", "F:\\TEST\\316\\316.xml", "C:\\aaa.xml");
- var ret = putFiles(host, port, user, pass, pathRemote, pathLocal);
-
- if (ret == false) {
- messageBox("파일 업로드에 ", "E009");
- return;
- }
-
- }
-
-
- } else {
- model.makeValue("/root/send/data/filegrpno", "0");
- }
-
- // ztrmprcs 테이블 insert
- submit("TXZRM00101");
-
- // 수정 --------------------------------------------------------------------------------------------------
- } else if (mode == "update") {
-
- // 사용자 체크 ( 본인만 수정가능하게 처리?)
- var fuser = model.getValue("/root/main/data/userid");
- if (fuser != getUserInfo("userid")) {
- messageBox("처음 등록한 사용자만 수정" , "I006");
- return;
- }
-
- // 진행상태 체크 (접수 상태가 아니면 수정 못함)
- var tmpstat = model.getValue("/root/main/data/statnm");
- var tmpstatcd = model.getValue("/root/main/data/statcd");
-
- //등록상태인 경우만 수정가능 - 단, 변경협의체 예외
- if (tmpstatcd != "0010") {
- //변경협의체가 아닌경우 수정불가
- if (strauth != "0006") {
- messageBox(tmpstat + "상태이므로 수정","E001");
- return;
- //변경협의체의 경우에도 전산접수이상일 경우엔 수정불가
- } else {
- if (tmpstatcd >= 100) {
- messageBox(tmpstat + "상태이므로 수정","E001");
- return;
- }
- }
- }
-
-
- // 첨부파일이 있는가?
- if (grd_attach.rows >0 ) {
- var grpno = model.getValue("/root/main/data/filegrpno");
-
- if (grpno == 0 || grpno == null ){
- submit("TRZRM00106");
- model.makeValue("/root/send/data/filegrpno", model.getValue("/root/main/newfilegrpno/filegrpno"));
-
- } else {
- //alert(grpno);
- model.makeValue("/root/send/data/infomnggrpno", grpno);
- model.makeValue("/root/main/newfilegrpno/filegrpno", grpno)
- }
-
-
- // 첨부파일 수만큼 테이블에 insert시키고, 파일 업로드
- for (var i=1; i< grd_attach.rows; i++) {
-
- var status = model.getValue("/root/main/ftpfilelist/filelist[" + i + "]/status");
-
- if(status == "I") {
-
- // ztrmfile 테이블 insert
- model.copyNode("/root/send/req/filelist", "/root/main/ftpfilelist/filelist[" + i + "]");
- model.setValue("/root/send/req/filelist/filegrpno", model.getValue("/root/main/newfilegrpno/filegrpno"));
- submit("TXZRM00103");
-
- // 업로드 파일 정보 set
- var host = model.getValue("/root/main/ftpfilelist/filelist[" + i + "]/host");
- var port= model.getValue("/root/main/ftpfilelist/filelist[" + i + "]/port");
- var user = model.getValue("/root/main/ftpfilelist/filelist[" + i + "]/usr");
- var pass = model.getValue("/root/main/ftpfilelist/filelist[" + i + "]/passwd");
- var fileno = model.getValue("/root/main/newfileno/fileno");
- var dirstr = flpad(fileno, 3, "0");
-
- var pathRemote = model.getValue("/root/main/ftpfilelist/filelist[" + i + "]/remotepath") + "\\" + dirstr + "\\" + fileno + "." + model.getValue("/root/main/ftpfilelist/filelist[" + i + "]/ext");
- var pathLocal = model.getValue("/root/main/ftpfilelist/filelist[" + i + "]/localpath");
- //alert (" host = " + host + "\n port = " + port + "\n user = " + user + "\n pass = " + pass + "\n pathRemote = " + pathRemote + "\n pathLocal = " + pathLocal );
-
- // 파일 업로드
- //var ret = putFiles("160.1.18.111", "2002", "cmc", "cmc", "F:\\TEST\\316\\316.xml", "C:\\aaa.xml");
- var ret = putFiles(host, port, user, pass, pathRemote, pathLocal);
-
- if (ret == false) {
- messageBox("파일 업로드에 ", "E009");
- return;
- }
- }
-
- }
-
-
- }
-
-
- // ztrmprcs 테이블 update
- submit("TXZRM00102");
- }
-
- btn_search.dispatch("DOMActivate");
- //inputEnterKey("btn_search", "DOMActivate");
- grd_reqmngtlist.row = 1;
- fInitMainData(true);
-
-
- // 삽입 및 수정 후 그리드 새로고침
- //submit("TRZRM00101");
-
- ]]>
- </script>
- </button>
- </group>
- <button id="button1" class="btn2_letter7" style="left:1090px; top:187px; width:97px; height:19px; ">
- <caption>등록자와 동일</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.setValue("/root/main/data/reqdeptnm", model.getValue("/root/main/data/posdeptnm"));
- model.setValue("/root/main/data/requsernm", model.getValue("/root/main/data/usernm"));
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_fileattach" class="btn2_letter4" style="left:1055px; top:541px; width:64px; height:19px; ">
- <caption>파일첨부</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var pos;
- var filename;
- var n;
- var temp;
- var fs = new ActiveXObject("Scripting.FileSystemObject");
-
-
- files = window.fileDialog("open", "|", true);
- filelist = files.split("|");
- for(var i = 0 ; i < filelist.length ; i++ ) {
- if(filelist[i] != "")
- {
- pos=filelist[i].lastIndexOf("\\");
- filename=filelist[i].substring(pos+1);
-
- if (fCheckFileOpen(filelist[i]) == false){
- return;
- }
-
- grd_attach.addItem();
- n = grd_attach.rows - 1;
-
- grd_attach.valueMatrix(n, 1) = "I";
- grd_attach.valueMatrix(n, 2) = filelist[i];
- grd_attach.valueMatrix(n, 3) = filename;
- grd_attach.valueMatrix(n, 4) = model.getValue("/root/init/ftppath/host");
- grd_attach.valueMatrix(n, 5) = model.getValue("/root/init/ftppath/port");
- grd_attach.valueMatrix(n, 6) = model.getValue("/root/init/ftppath/usr");
- grd_attach.valueMatrix(n, 7) = model.getValue("/root/init/ftppath/passwd");
- grd_attach.valueMatrix(n, 8) = model.getValue("/root/init/ftppath/pathid");
- grd_attach.valueMatrix(n, 9) = model.getValue("/root/init/ftppath/path");
-
- if (fs != null){
- grd_attach.valueMatrix(n, 10) = fs.GetExtensionName (filelist[i]);
- }
-
- //grd_attach.valueMatrix(n, 10) = filename.substring(filename.indexOf(".")+1);
- grd_attach.valueMatrix(n, 11) = getUserInfo("userid");
- grd_attach.valueMatrix(n, 12) = getUserInfo("userid");
- grd_attach.valueMatrix(n, 13) = model.getValue("/root/main/data/filegrpno");
- grd_attach.valueMatrix(n, 14) = "0";
- }
- }
-
- fs = null;
-
- ]]>
- </script>
- </button>
- <input id="ipt_requsernm" ref="/root/main/data/requsernm" class="input_essential" navindex="12" imemode="hangul" style="left:700px; top:240px; width:210px; height:19px; "/>
- <textarea id="tar_prcsmsg" ref="/root/main/data/prcsmsg" class="input_essential" navindex="23" imemode="hangul" style="left:660px; top:375px; width:375px; height:160px; "/>
- <input id="ipt_telno" ref="/root/main/data/telno" class="input_essential" navindex="13" style="left:1010px; top:240px; width:178px; height:19px; "/>
- <output id="opt_modellabel" ref="/root/main/mode/modelabel" class="tit_2" style="left:595px; top:105px; width:269px; height:13px; "/>
- <input id="ipt_reqdd" ref="/root/main/data/reqdd" class="input_search" navindex="14" inputtype="date" style="left:660px; top:300px; width:90px; height:19px; "/>
- <caption id="caption20" class="cell_1" style="left:595px; top:348px; width:61px; height:23px; vertical-align:middle; ">요청제목</caption>
- <caption id="caption21" class="cell_1" style="left:595px; top:540px; width:61px; height:23px; vertical-align:middle; ">요청분야</caption>
- <caption id="caption10" class="cell_1" style="left:1020px; top:150px; width:50px; height:23px; vertical-align:middle; ">성명</caption>
- <caption id="caption22" class="cell_1" style="left:595px; top:375px; width:61px; height:160px; vertical-align:middle; ">요청내용</caption>
- <img id="img_cdgrup_search_popup" class="icon_search" visibility="hidden" style="left:1019px; top:542px; width:16px; height:16px; background-stretch:stretch; ">
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- modal("SSZRM00100", 1, 0, 0 ,"", "", "");
- ]]>
- </script>
- </img>
- <caption id="caption12" class="cell_1" style="left:915px; top:210px; width:90px; 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:540px; width:25px; height:20px; "/>
- <input id="ipt_prcstitl" ref="/root/main/data/prcstitl" class="input_essential" navindex="22" imemode="hangul" style="left:660px; top:350px; width:375px; height:19px; "/>
- <caption id="caption13" class="cell_1" style="left:595px; top:210px; width:100px; height:23px; vertical-align:middle; ">요청자 발의기관</caption>
- <caption id="caption24" class="cell_1" style="left:595px; top:150px; width:60px; height:23px; vertical-align:middle; ">소속기관</caption>
- <button id="btn_filedelete" class="btn2_letter4" style="left:1125px; top:541px; width:64px; height:19px; ">
- <caption>파일삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- 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");
- var fileno = model.getValue("/root/main/ftpfilelist/filelist["+row+"]/fileno");
-
- model.makeValue("/root/main/data/updateuserid", getUserInfo("userid"));
- model.copyNode("/root/send/data", "/root/main/data");
-
- model.makeValue("/root/send/data/fileno", fileno);
- model.refresh();
-
- submit("TXZRM00106");
-
- deleteSelectedRows(grd_attach, false);
-
- ]]>
- </script>
- </button>
- <select1 id="combo4" ref="/root/main/data/instcd" class="combo_essential" navindex="10" appearance="minimal" style="left:700px; top:212px; width:210px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/list/I0008">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var instcd = model.getValue("/root/main/data/instcd");
- model.makeValue("/root/main/data/priocd", "0004");
- /*
- if (instcd == "011"){
- model.makeValue("/root/main/data/priocd", "0006");
- } else {
- model.makeValue("/root/main/data/priocd", "0004");
- }
- */
- model.refresh();
-
- ]]>
- </script>
- </select1>
- <caption id="caption25" class="cell_1" style="left:915px; top:238px; width:90px; height:23px; vertical-align:middle; ">전화번호</caption>
- <caption id="caption14" class="cell_1" style="left:595px; top:298px; width:61px; height:23px; vertical-align:middle; ">요청일자</caption>
- <select1 id="combo5" ref="/root/main/data/reqgubun" class="combo_essential" navindex="15" appearance="minimal" style="left:815px; top:300px; width:80px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/list/I0010">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- var tmp = model.getValue("/root/main/data/reqgubun");
- if(tmp == "0003" || tmp == "0004"){
- model.makeValue("/root/main/data/impcd", "0004");
-
- }
-
- model.refresh();
-
- ]]>
- </script>
- </select1>
- <caption id="caption15" class="cell_1" style="left:755px; top:298px; width:58px; height:23px; vertical-align:middle; ">요청구분</caption>
- <input id="ipt_cdid" ref="/root/main/data/posdeptnm" class="input_essential" disabled="true" style="left:875px; top:152px; width:140px; height:19px; "/>
- <select1 id="combo6" ref="/root/main/data/impcd" class="combo_essential" navindex="17" appearance="minimal" style="left:1115px; top:300px; width:75px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/list/I0003">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_reqpart" ref="/root/main/data/reqpart" class="input_essential" navindex="24" editable="true" imemode="hangul" style="left:660px; top:542px; width:355px; height:19px; ">
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- modal("SSZRM00100", 1, event.screenX-20, event.screenY-250);
- var reqpart = getParameter("SSZRM00100_REQPART");
-
- model.setValue("/root/main/data/reqpart", reqpart);
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="caption16" class="cell_1" style="left:1060px; top:298px; width:50px; height:23px; vertical-align:middle; ">중요도</caption>
- <input id="ipt_instcd" ref="/root/main/data/posinstnm" class="input_essential" disabled="true" style="left:660px; top:152px; width:144px; height:19px; "/>
- <input id="ipt_reqdeptnm" ref="/root/main/data/reqdeptnm" class="input_essential" navindex="11" imemode="hangul" style="left:1010px; top:212px; width:178px; height:19px; "/>
- <caption id="caption9" class="cell_1" style="left:810px; top:150px; width:60px; height:23px; vertical-align:middle; ">소속부서</caption>
- <caption id="caption19" class="cell_1" style="left:595px; top:238px; width:100px; height:23px; vertical-align:middle; ">요청자명</caption>
- <input id="ipt_cdnm" ref="/root/main/data/usernm" class="input_essential" disabled="true" style="left:1075px; top:152px; 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:375px; width:150px; height:160px; ">
- <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[
- var fs;
-
- if (grd_attach.row <= 0) { return;}
- if (grd_attach.col <= 0) { return;}
-
- // 해당파일 다운로드 정보 셋팅
- var row = grd_attach.row;
-
- var localpath = model.getValue("/root/main/ftpfilelist/filelist["+row+"]/localpath");
-
- fs = new ActiveXObject("Scripting.FileSystemObject");
-
- if (fs.FileExists(localpath) == false){
-
- 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);
- } else {
- window.exec(localpath, "");
-
- }
- fs = null;
- //fFilePreview();
- ]]>
- </script>
- </datagrid>
- <line id="line9" class="line_2" style="x1:595px; y1:323px; x2:1192px; y2:323px; "/>
- <line id="line5" class="line_2" style="x1:595px; y1:205px; x2:1192px; y2:205px; "/>
- <line id="line4" class="line_2" style="x1:595px; y1:537px; x2:1192px; y2:537px; "/>
- <caption id="caption30" class="tit_2" style="left:595px; top:278px; width:126px; height:13px; vertical-align:middle; ">요청 내용</caption>
- <line id="line6" class="line_1" style="x1:595px; y1:121px; x2:1192px; y2:121px; "/>
- <line id="line8" class="line_3" style="x1:595px; y1:175px; x2:1192px; y2:175px; "/>
- <line id="line10" class="line_3" style="x1:595px; y1:208px; x2:1192px; y2:208px; "/>
- <line id="line11" class="line_3" style="x1:595px; y1:262px; x2:1192px; y2:262px; "/>
- <line id="line12" class="line_3" style="x1:595px; y1:295px; x2:1192px; y2:295px; "/>
- <line id="line13" class="line_3" style="x1:595px; y1:590px; x2:1192px; y2:590px; "/>
- <bool id="bool1" navindex="18" checkvalue="Y,N" ref="/root/main/data/itcagryn" style="left:600px; top:325px; width:15px; height:20px; "/>
- <bool id="bool2" navindex="19" checkvalue="Y,N" ref="/root/main/data/deptagryn" style="left:775px; top:325px; width:15px; height:20px; ">
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var tmp = model.getValue ("/root/main/data/deptagryn");
-
- if(tmp != "Y" ){
- modal("SSZRM00100", 1, event.screenX-20, event.screenY-250);
- var reqpart = getParameter("SSZRM00100_REQPART");
-
- model.makeValue("/root/main/data/deptagrlst", reqpart);
- model.refresh();
- } else {
- model.makeValue("/root/main/data/deptagrlst", "");
- model.refresh();
- }
- ]]>
- </script>
- </bool>
- <caption id="caption11" style="left:620px; top:325px; width:80px; height:20px; ">ITC협의여부</caption>
- <caption id="caption23" style="left:790px; top:325px; width:105px; height:20px; ">연계부서협의여부</caption>
- <caption id="caption27" style="left:710px; top:325px; width:50px; height:20px; ">응급여부</caption>
- <caption id="caption26" visibility="hidden" style="left:700px; top:275px; width:50px; height:20px; ">비공개</caption>
- <bool id="bool3" navindex="21" visibility="hidden" checkvalue="Y,N" ref="/root/main/data/secuflag" style="left:680px; top:275px; width:15px; height:20px; "/>
- <bool id="bool4" navindex="20" checkvalue="Y,N" ref="/root/main/data/emgflag" style="left:695px; top:325px; width:15px; height:20px; "/>
- <caption id="caption28" class="tit_2" style="left:595px; top:130px; width:126px; height:13px; vertical-align:middle; ">등록자 정보</caption>
- <caption id="caption29" class="tit_2" style="left:595px; top:190px; width:126px; height:13px; vertical-align:middle; ">요청자 정보</caption>
- <line id="line3" class="line_2" style="x1:595px; y1:372px; x2:1192px; y2:372px; "/>
- <line id="line15" class="line_2" style="x1:595px; y1:345px; x2:1192px; y2:345px; "/>
- <switch id="switch1" style="left:590px; top:625px; width:602px; height:146px; ">
- <case id="rpt" selected="true">
- <caption id="caption31" class="tit_2" style="left:5px; top:3px; width:126px; height:13px; vertical-align:middle; ">처리 내용</caption>
- <line id="line14" class="line_3" style="x1:3px; y1:20px; x2:595px; y2:20px; "/>
- <textarea id="tar_rpttxt" ref="/root/main/data/rpttxt" editable="false" style="left:303px; top:43px; width:290px; height:95px; "/>
- <caption id="caption17" class="cell_1" style="left:5px; top:23px; width:295px; height:18px; vertical-align:middle; ">처리내용 1차 답변</caption>
- <caption id="caption18" class="cell_1" style="left:303px; top:23px; width:290px; height:18px; vertical-align:middle; ">처리내용</caption>
- <textarea id="tar_fstrpttxt" ref="/root/main/data/fstrpttxt" editable="false" style="left:5px; top:43px; width:295px; height:95px; "/>
- </case>
- <case id="confirm" style="left:0px; top:0px; width:940px; height:769px; ">
- <caption id="caption37" class="cell_1" style="left:305px; top:23px; width:285px; height:18px; vertical-align:middle; ">확인내용 :</caption>
- <caption id="caption36" class="cell_1" style="left:5px; top:23px; width:295px; height:18px; vertical-align:middle; ">확인내용 :</caption>
- <caption id="caption32" class="tit_2" style="left:5px; top:3px; width:126px; height:13px; vertical-align:middle; ">대표ITC</caption>
- <caption id="caption33" class="tit_2" style="left:305px; top:3px; width:165px; height:13px; vertical-align:middle; ">변경관리실무협의체</caption>
- <caption id="caption34" ref="/root/main/data/itcconfnm" style="left:70px; top:24px; width:220px; height:15px; "/>
- <line id="line16" class="line_3" style="x1:5px; y1:20px; x2:592px; y2:20px; "/>
- <caption id="caption35" ref="/root/main/data/infomngconfnm" style="left:375px; top:24px; width:227px; height:15px; "/>
- <textarea id="textarea1" ref="/root/main/data/infomngconftxt" editable="true" style="left:305px; top:43px; width:285px; height:95px; "/>
- <textarea id="textarea2" ref="/root/main/data/itcconftxt" editable="true" style="left:5px; top:43px; width:295px; height:95px; "/>
- </case>
- </switch>
- <button id="btn_confirm" class="btn_sw" group="tab" style="left:670px; top:603px; width:80px; height:22px; ">
- <caption>확인내용</caption>
- <toggle case="confirm" ev:event="onclick"/>
- </button>
- <button id="btn_expan" class="btn2_letter2" style="left:540px; top:100px; width:42px; height:19px; ">
- <caption>
- <![CDATA[>>]]>
- </caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //alert(grd_reqmngtlist.attribute ( "width" ));
- var tmp = btn_expan.text
- //alert(tmp);
- if ( tmp == ">>"){
- grd_reqmngtlist.attribute ( "width" ) = 1190;
-
- btn_expan.text = "<<";
- } else {
- grd_reqmngtlist.attribute ( "width" ) = 585;
-
- btn_expan.text = ">>"
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_rpt" class="btn_sw" group="tab" selected="true" style="left:590px; top:603px; width:80px; height:22px; ">
- <caption>처리내용</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- switch1.selectedIndex = 0
- ]]>
- </script>
- </button>
- <caption id="caption38" class="cell_1" style="left:899px; top:297px; width:91px; height:23px; vertical-align:middle; ">기존요청번호</caption>
- <input id="ipt_preprcs" ref="/root/main/data/preprcscd" class="input_essential" navindex="16" style="left:994px; top:300px; width:60px; height:19px; "/>
- <line id="line17" class="line_2" style="x1:595px; y1:564px; x2:1192px; y2:564px; "/>
- <caption id="caption39" class="cell_1" style="left:595px; top:566px; width:61px; height:23px; vertical-align:middle; ">적용병원</caption>
- <input id="input3" ref="/root/main/data/appinst" class="input_essential" navindex="25" editable="false" imemode="hangul" maxlength="85" style="left:660px; top:568px; width:530px; height:19px; ">
- <script type="javascript" ev:event="DOMFocusIn">
- <![CDATA[
-
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- modal("SSZRM00101", 1, event.screenX-20, event.screenY-250);
- var appinst = getParameter("SSZRM00101_APPINSTCD");
-
- model.setValue("/root/main/data/appinst", appinst);
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="caption41" class="cell_1" style="left:1040px; top:348px; width:65px; height:23px; vertical-align:middle; ">우선순위</caption>
- <select1 id="combo8" ref="/root/main/data/priocd" class="combo_essential" disabled="true" appearance="minimal" style="left:1110px; top:350px; width:80px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/list/I0015">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption44" class="cell_1" style="left:900px; top:321px; width:91px; height:23px; vertical-align:middle; ">협의연계부서</caption>
- <input id="input6" ref="/root/main/data/deptagrlst" class="input_essential" navindex="24" editable="false" imemode="hangul" style="left:995px; top:325px; width:195px; height:19px; "/>
- <input id="input7" ref="/root/main/data/projcd" class="input_essential" navindex="16" style="left:1111px; top:597px; width:79px; height:19px; "/>
- <caption id="caption45" class="cell_1" style="left:1038px; top:595px; width:70px; height:23px; vertical-align:middle; ">완료예정일</caption>
- <datagrid id="grd_reqmngtlist" nodeset="/root/main/list/reqmngt" autoresize="false" caption="번호^우선순위^발의기관^요청부서^요청자^상태^구분^요청일자^전화번호^요청제목^ITC^정보관리^요청내용^ITC협의^연계부서협의^업무범위^중요도^비밀여부^응급여부^1차답변내용^최종전달사항^최초등록자^최초등록일^최종수정자^최종수정일^완료예정일^caption2^caption3^caption4^caption5^caption6^caption7^caption8^caption9^caption10^caption11^caption12^caption13^caption14^caption15^caption16^caption17^caption18^caption19^caption20" colsep="^" colwidth="39, 61, 70, 70, 53, 45, 39, 77, 52, 164, 42, 59, 362, 65, 83, 132, 133, 57, 60, 116, 122, 70, 115, 100, 100, 70, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" explorerbar="sort" frozencols="11" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="29" rowsep="|" tooltip="true" style="left:0px; top:130px; width:585px; height:640px; text-align:center; ">
- <col ref="prcscd" style="text-align:right; "/>
- <col ref="prionm" style="text-align:center; "/>
- <col ref="instnm" style="text-align:left; "/>
- <col ref="reqdeptnm" style="text-align:left; "/>
- <col ref="requsernm" style="text-align:left; "/>
- <col ref="statnm" style="text-align:center; "/>
- <col ref="reqnm" style="text-align:center; "/>
- <col ref="reqdd" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="telno" visibility="hidden"/>
- <col ref="prcstitl" style="text-align:left; "/>
- <col checkvalue="Y,N" disabled="true" ref="itcconf" style="text-align:center; "/>
- <col checkvalue="Y,N" disabled="true" ref="infomngconf" style="text-align:center; "/>
- <col ref="prcsmsg" style="text-align:left; "/>
- <col ref="itcagryn" style="text-align:center; "/>
- <col ref="deptagryn" style="text-align:center; "/>
- <col ref="reqpart" style="text-align:left; "/>
- <col ref="impnm" style="text-align:left; "/>
- <col ref="secuflag" style="text-align:center; "/>
- <col ref="emgflag" style="text-align:center; "/>
- <col ref="fstrpttxt" style="text-align:left; "/>
- <col ref="rpttxt" style="text-align:left; "/>
- <col ref="fstrnm" style="left:2096px; top:23px; width:70px; height:23px; text-align:left; "/>
- <col ref="fstrdt" format="yyyy-mm-dd hh:nn:ss" style="text-align:center; "/>
- <col ref="lastnm" style="text-align:left; "/>
- <col ref="lastdt" format="yyyy-mm-dd hh:nn:ss" style="text-align:center; "/>
- <col ref="projcd" style="text-align:center; "/>
- <col ref="filegrpno" visibility="hidden" style="text-align:left; "/>
- <col ref="tftno" visibility="hidden" style="text-align:left; "/>
- <col ref="statcd" visibility="hidden" style="text-align:left; "/>
- <col ref="userid" visibility="hidden" style="text-align:left; "/>
- <col ref="instcd" visibility="hidden" style="text-align:left; "/>
- <col ref="reqgubun" visibility="hidden" style="text-align:left; "/>
- <col ref="updateuserid" visibility="hidden" style="text-align:left; "/>
- <col ref="posdeptnm" visibility="hidden" style="text-align:left; "/>
- <col ref="posinstnm" visibility="hidden" style="text-align:left; "/>
- <col ref="attach" visibility="hidden" style="text-align:left; "/>
- <col ref="itcconftxt" visibility="hidden" style="text-align:left; "/>
- <col ref="infomngconftxt" visibility="hidden" style="text-align:left; "/>
- <col ref="itcconfnm" visibility="hidden" style="text-align:left; "/>
- <col ref="infomngconfnm" visibility="hidden" style="text-align:left; "/>
- <col ref="preprcscd" visibility="hidden" style="text-align:left; "/>
- <col ref="appinst" visibility="hidden" style="text-align:left; "/>
- <col ref="priocd" visibility="hidden" style="text-align:left; "/>
- <col ref="impcd" visibility="hidden" style="text-align:left; "/>
- <col ref="deptagrlst" visibility="hidden" style="text-align:left; "/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
-
- // 클릭한 요청번호로 db select한다.
- var row = grd_reqmngtlist.row;
- var prcscd = grd_reqmngtlist.valueMatrix(row, grd_reqmngtlist.colRef("prcscd"));
-
- if (row <= 0) { return;}
- if (grd_reqmngtlist.col < 0 ) {return;}
- // 수정할수 있는 상태로 초기화
- fUpdateMode();
-
- /*
- // select 하기전에 그냥 copy로 처리
- model.makeValue("/root/send/prcscd", prcscd);
- submit("TRZRM00103");
- */
-
-
- model.copyNode ("/root/main/data","/root/main/list/reqmngt["+row+"]");
- model.setValue("/root/main/data/prcscd", prcscd);
- model.copyNode ("/root/send/data","/root/main/data");
-
- //각 첨부파일 초기화
- model.makeValue("/root/send/filegrpno", "");
- model.makeValue("/root/send/itc_filegrpno", "");
- model.makeValue("/root/send/infomng_filegrpno", "");
-
-
- // 첨부파일 있으면 목록 읽어오기
- var tmpGrpNo = model.getValue("/root/main/data/filegrpno");
- if (tmpGrpNo > 0 ) {
- model.makeValue("/root/send/filegrpno", tmpGrpNo);
- submit("TRZRM00104");
- }
-
- var tmp = btn_expan.text
- //alert(tmp);
- if ( tmp == "<<"){
- grd_reqmngtlist.attribute ( "width" ) = 585;
- btn_expan.text = ">>"
- }
-
- model.refresh();
-
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_reqmngtlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- </group>
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">요구사항등록 및 조회</caption>
- </xhtml:body>
- </xhtml:html>
|