123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698 |
- <?xml version="1.0" encoding="UTF-8"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:my="http://www.comsquare.co.kr/example" xmlns:ms="urn:schemas-microsoft-com:xslt" 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" xmlns:cs="http://www.comsquare.co.kr/xforms">
- <xhtml:head>
- <xhtml:title>서버관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <servinfo>
- <servlist>
- <servcd/>
- <instcd/>
- <servnm/>
- <comptype/>
- <compnm/>
- <ostype/>
- <svctype/>
- </servlist>
- </servinfo>
- <servdetlinfo>
- <servdetl>
- </servdetl>
- </servdetlinfo>
- <saveresultinfo>
- <servlist>
- <servcd/>
- </servlist>
- </saveresultinfo>
- <swinfo>
- <swlist>
- <swnm/>
- <swver/>
- <usge/>
- <servcd/>
- <oldswnm/>
- <oldswver/>
- </swlist>
- </swinfo>
- <ipinfo>
- <iplist>
- <ip/>
- <usge/>
- <servcd/>
- <oldip/>
- </iplist>
- </ipinfo>
- <partinfo>
- <partlist>
- <partnm/>
- <setvol/>
- <usevol/>
- <useper/>
- <colldd/>
- <storservcd/>
- <storservnm/>
- <servcd/>
- <oldpartnm/>
- </partlist>
- </partinfo>
- </main>
- <send>
- <search>
- <compnm/>
- <servnm/>
- <servtype/>
- <ostype/>
- <dispnm/>
- <hostnm/>
- <svctype/>
- <os/>
- </search>
- <save>
- <servdata/>
- <swdata/>
- <ipdata/>
- <partdata/>
- </save>
- <searchdetl>
- <servcd/>
- </searchdetl>
- </send>
- <init>
- <codeinfo/>
- </init>
- <hidden>
- <instcds>
- <instcd>
- <label>본원</label>
- <value>031</value>
- </instcd>
- <instcd>
- <label>칠곡</label>
- <value>032</value>
- </instcd>
- </instcds>
- <ostypes>
- <ostype>
- <label>Windows</label>
- <value>W</value>
- </ostype>
- <ostype>
- <label>Unix</label>
- <value>U</value>
- </ostype>
- <ostype>
- <label>Linux</label>
- <value>L</value>
- </ostype>
- </ostypes>
- <servdetl>
- <servcd/>
- <servnm/>
- <instcd/>
- <dispnm/>
- <hostnm/>
- <svctype/>
- <servtype/>
- <ostype/>
- <os/>
- <spec/>
- <cpucnt/>
- <corecnt/>
- <memvol/>
- <storvol/>
- <compcd/>
- <comptype/>
- <compnm/>
- <bigo/>
- </servdetl>
- </hidden>
- </root>
- </instance>
- <submission id="TRZHI02101" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/init/codeinfo"/>
- <submission id="TRZHI02102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/servinfo"/>
- <submission id="TRZHI02103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchdetl" resultref="/root/main/servdetlinfo"/>
- <submission id="TXZHI02101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save/servdata" resultref="/root/main/saveresultinfo"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript">
- <![CDATA[
- var smflag;
- var vflag;
- var caseflag = "case1";
- function fInitialize(){
- model.removeNodeset("/root/main/servinfo");
- model.makeNode("/root/main/servinfo");
-
- submit("TRZHI02101");
-
- model.refresh();
- }
-
- function fSearchDetl(){
- if(grd_servlist.rows-grd_servlist.fixedRows == 0){
- return;
- }
-
- // var updtdata = getGridUpdateData(grd_servlist);
- // if ( updtdata != "")
- // {
- // var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 조회 작업을","Q003");
- // if (ret == 7) { // not OK
- // return;
- // }
- // }
-
- model.setValue("/root/send/searchdetl/servcd",model.getValue("/root/main/servinfo/servlist["+grd_servlist.row+"]/servcd"));
- submit("TRZHI02103");
-
-
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body>
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:186px; height:13; ">
- <![CDATA[서버관리]]>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- grp_copy.visible = true;
- ]]>
- </script>
- </caption>
- </group>
- <group id="group1" style="left:0px; top:13; width:1195px; height:27px; ">
- <button id="btn_print" class="btn3_letter2" navindex="97" visibility="hidden" style="left:3px; top:3px; width:56px; height:22px; ">
- <caption>출력</caption>
- </button>
- <button id="btn_init" class="btn4_letter3" navindex="101" style="left:1119px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.resetInstanceNode("/root/send");
- fInitialize();
- ]]>
- </script>
- </button>
- <button id="btn_save" class="btn4_letter2" navindex="100" style="left:1061px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.copyNode("/root/send/save/servdata","/root/main/servdetlinfo/servdetl");
- model.setValue("/root/send/save/swdata",grd_sw.getUpdateData());
- model.setValue("/root/send/save/ipdata",grd_ip.getUpdateData());
- model.setValue("/root/send/save/partdata",grd_part.getUpdateData());
-
-
- model.makeValue("/root/send/save/servdata/sm",smflag);
-
-
-
-
-
- submit("TXZHI02101");
-
- if(smflag == "i"){
- model.setValue("/root/main/servdetlinfo/servdetl/servcd",model.getValue("/root/main/saveresultinfo/servlist/servcd"));
- smflag = "u";
-
- }
-
- model.refresh();
-
-
- ]]>
- </script>
- </button>
- <line id="line14" class="line_2" style="x1:0; y1:25; x2:1194; y2:25; "/>
- <button id="btn_new" class="btn4_letter2" navindex="101" style="left:1003px; top:3px; width:56px; height:22px; ">
- <caption>신규</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- //model.resetInstanceNode("/root/main/servdetlinfo/servdetl");
- model.copyNode("/root/main/servdetlinfo/servdetl","/root/hidden/servdetl");
-
-
- smflag = "i";
-
- model.refresh();
-
- ]]>
- </script>
- </button>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:735px; font-family:돋움체; ">
- <group id="group2" style="left:0px; top:5px; width:480px; height:125px; font-family:돋움체; vertical-align:top; ">
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:480px; height:125px; font-family:돋움체; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="cap_lrgcd_search" class="search_name" style="left:215px; top:10px; width:93px; height:17px; font-family:돋움체; ">표 시 명 :</caption>
- <button id="btn_search" class="btn1_letter2" navindex="20" style="left:420px; top:45px; width:56px; height:22px; font-family:돋움체; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- /* 수정중이거나 입력 중인 데이터가 있는지 확인 */
- // misfGridRowStatusChange(grd_fixasettmplist, "/root/main/list/fixasetdet" , "/root/main/fixasetdet");
- //
- var updtdata = getGridUpdateData(grd_servlist);
-
- if ( updtdata != "")
- {
- var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 조회 작업을","Q003");
-
- if (ret == 7) { // not OK
- return;
- }
- }
-
- //model.removeNodeset("/root/main/list/fixaset/fixasetlist");
-
- //rszfComboUnitList (cmb_fixasetunit,model.getValue(cmb_instcd_search.attribute("ref")),model.getValue(cmb_goodflag_search.attribute("ref")));
-
- // misfMsterDetailRetrieve();
- if(submit("TRZHI02102")){
-
- vflag = "";
- }
- ]]>
- </script>
- </button>
- <line id="line15" class="line_4" style="x1:415px; y1:5px; x2:415px; y2:113px; font-family:돋움체; border-color:#ffd799; "/>
- <caption id="caption8" class="search_name" style="left:215px; top:35px; width:95px; height:17px; font-family:돋움체; ">호스트명 :</caption>
- <caption id="caption4" class="search_name" style="left:5px; top:87px; width:95px; height:17px; font-family:돋움체; ">OS 타입 :</caption>
- <caption id="caption10" class="search_name" style="left:215px; top:87px; width:92px; height:17px; font-family:돋움체; ">OS 종류 :</caption>
- <select1 id="combo12" ref="/root/send/search/os" appearance="minimal" style="left:310px; top:86px; width:100px; height:19px; ">
- <choices>
- <item>
- <label>combo3</label>
- <value>combo3</value>
- </item>
- </choices>
- </select1>
- <input id="input1" ref="/root/send/search/dispnm" style="left:310px; top:9px; width:100px; height:19px; "/>
- <select1 id="combo1" ref="/root/send/search/ostype" appearance="minimal" style="left:100px; top:86px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/ostypes/ostype">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <input id="input2" ref="/root/send/search/hostnm" style="left:310px; top:34px; width:100px; height:19px; "/>
- <caption id="caption1" class="search_name" style="left:5px; top:10px; width:117px; height:17px; font-family:돋움체; ">전산장비명:</caption>
- <input id="input3" ref="/root/send/search/compnm" class="input_default" navindex="10" visibility="visible" style="left:100px; top:9px; width:100px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_installplcecd_search.value.length == 0)
- ipt_installplcenm_search.value = "";
- else
- rszfValidationCheck("TRRAC90701", "custlist", "refcond,retrnm",
- "deptcd," + ipt_installplcecd_search.value, "", "installplcecd_search,installplcenm_search",
- ipt_installplcecd_search, "PPRAC00700", "","");
- installplcecd_search.refresh();
- installplcenm_search.refresh();
- ]]>
- </script>
- </input>
- <input id="input14" ref="/root/send/search/servnm" style="left:100px; top:35px; width:100px; height:19px; "/>
- <caption id="caption2" class="search_name" style="left:5px; top:35px; width:99px; height:17px; font-family:돋움체; ">서 버 명 :</caption>
- <caption id="caption3" class="search_name" style="left:5px; top:60px; width:97px; height:17px; font-family:돋움체; ">서버분류 :</caption>
- <select1 id="combo2" ref="/root/send/search/servtype" appearance="minimal" style="left:100px; top:60px; width:100px; height:19px; ">
- <choices>
- <item>
- <label>combo1</label>
- <value>combo1</value>
- </item>
- </choices>
- </select1>
- <caption id="caption5" class="search_name" style="left:215px; top:60px; width:103px; height:17px; font-family:돋움체; ">서비스분류:</caption>
- <select1 id="combo3" ref="/root/send/search/svctype" appearance="minimal" style="left:310px; top:60px; width:100px; height:19px; ">
- <choices>
- <item>
- <label>combo1</label>
- <value>combo1</value>
- </item>
- </choices>
- </select1>
- </group>
- <caption id="caption34" class="tit_2" style="left:0px; top:135px; width:130px; height:14px; font-family:돋움체; ">서버리스트</caption>
- <datagrid id="grd_servlist" nodeset="/root/main/servinfo/servlist" class="datagrid2" scroll="auto" caption="서버코드^기관^서버명^장비분류^장비명^OS타입^서비스분류" colsep="^" colwidth="23, 56, 123, 60, 69, 53, 73" dataheight="25" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" selectionmode="byrow" tooltip="true" navindex="21" style="left:0px; top:155px; width:480px; height:570px; font-family:돋움체; ">
- <col ref="servcd" visibility="hidden"/>
- <col ref="instcd" type="combo">
- <choices>
- <itemset nodeset="/root/hidden/instcds/instcd">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </col>
- <col ref="servnm"/>
- <col ref="comptype"/>
- <col ref="compnm"/>
- <col ref="ostype"/>
- <col ref="svctype" type="combo">
- <choices>
- <itemset nodeset="/root/init/codeinfo/C0201">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- vflag = "Y";
- ]]>
- </script>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
- if (isNull(vflag))
- {
- fSearchDetl();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_servlist.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
-
- if (isNull(vflag))
- {
- fSearchDetl();
- }
- ]]>
- </script>
- </datagrid>
- <line id="line3" class="line_1" style="x1:0px; y1:150px; x2:480px; y2:150px; font-family:돋움체; "/>
- <line id="line9" class="line_1" style="x1:485px; y1:23px; x2:1192px; y2:23px; font-family:돋움체; "/>
- <line id="line1" class="line_2" style="x1:485px; y1:50px; x2:1024px; y2:50px; font-family:돋움체; "/>
- <caption id="caption18" class="tit_2" style="left:485px; top:9px; width:130px; height:14px; font-family:돋움체; ">서버상세내역</caption>
- <caption id="cap_goodflagengnm" class="cell_1" style="left:485px; top:28px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">서버코드</caption>
- <line id="line11" class="line_2" style="x1:485px; y1:170px; x2:1024px; y2:170px; font-family:돋움체; "/>
- <line id="line12" class="line_2" style="x1:485px; y1:215px; x2:1189px; y2:215px; font-family:돋움체; "/>
- <caption id="caption31" class="cell_1" style="left:485px; top:124px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">전산장비</caption>
- <line id="line13" class="line_2" style="x1:485px; y1:146px; x2:1024px; y2:146px; font-family:돋움체; "/>
- <caption id="caption21" class="cell_1" style="left:485px; top:100px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">CPU수</caption>
- <caption id="caption7" class="cell_1" style="left:485px; top:52px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">서비스분류</caption>
- <caption id="caption13" class="cell_1" style="left:485px; top:76px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">OS타입</caption>
- <line id="line2" class="line_2" style="x1:485px; y1:122px; x2:1024px; y2:122px; font-family:돋움체; "/>
- <caption id="caption27" class="cell_1" style="left:485px; top:148px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">규격</caption>
- <line id="line4" class="line_2" style="x1:485px; y1:74px; x2:1024px; y2:74px; font-family:돋움체; "/>
- <line id="line5" class="line_2" style="x1:485px; y1:98px; x2:1024px; y2:98px; font-family:돋움체; "/>
- <line id="line6" class="line_3" style="x1:485px; y1:216px; x2:1189px; y2:216px; font-family:돋움체; "/>
- <caption id="caption26" class="cell_1" style="left:664px; top:28px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">기관</caption>
- <input id="ipt_servcd" ref="/root/main/servdetlinfo/servdetl/servcd" editable="false" style="left:567px; top:29px; width:95px; height:19px; font-family:돋움체; background-color:#ecebec; "/>
- <select1 id="cmb_instcd" ref="/root/main/servdetlinfo/servdetl/instcd" appearance="minimal" style="left:746px; top:29px; width:65px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/instcds/instcd">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption20" class="cell_1" style="left:844px; top:76px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">표시명</caption>
- <caption id="caption23" class="cell_1" style="left:844px; top:124px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">저장용량</caption>
- <select1 id="comptype" ref="/root/main/servdetlinfo/servdetl/comptype" disabled="true" appearance="minimal" style="left:565px; top:125px; width:95px; height:19px; font-family:돋움체; background-color:#ecebec; ">
- <choices>
- <item>
- <label>combo1</label>
- <value>combo1</value>
- </item>
- </choices>
- </select1>
- <caption id="caption9" class="cell_1" style="left:844px; top:52px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">호스트명</caption>
- <caption id="caption25" class="cell_1" style="left:844px; top:100px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">메모리용량</caption>
- <caption id="caption19" class="cell_1" style="left:844px; top:28px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">서버명</caption>
- <caption id="caption11" class="cell_1" style="left:664px; top:52px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">서버분류</caption>
- <select1 id="cmb_ostype" ref="/root/main/servdetlinfo/servdetl/ostype" appearance="minimal" style="left:567px; top:77px; width:95px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/ostypes/ostype">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption12" class="cell_1" style="left:664px; top:76px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">OS</caption>
- <input id="ipt_spec" ref="/root/main/servdetlinfo/servdetl/spec" style="left:567px; top:149px; width:454px; height:19px; "/>
- <caption id="caption15" class="cell_1" style="left:664px; top:100px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">CORE수</caption>
- <caption id="caption16" class="cell_1" style="left:485px; top:172px; width:80px; height:43px; font-family:돋움체; vertical-align:middle; ">비고</caption>
- <textarea id="ta_bigo" ref="/root/main/servdetlinfo/servdetl/bigo" style="left:567px; top:173px; width:455px; height:40px; "/>
- <input id="ipt_corecnt" ref="/root/main/servdetlinfo/servdetl/corecnt" style="left:746px; top:101px; width:95px; height:19px; font-family:돋움체; "/>
- <input id="ipt_storvol" ref="/root/main/servdetlinfo/servdetl/storvol" style="left:926px; top:125px; width:95px; height:19px; font-family:돋움체; "/>
- <select1 id="cmb_os" ref="/root/main/servdetlinfo/servdetl/os" appearance="minimal" style="left:746px; top:77px; width:95px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/codeinfo/C0203">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_cpucnt" ref="/root/main/servdetlinfo/servdetl/cpucnt" style="left:567px; top:101px; width:95px; height:19px; font-family:돋움체; "/>
- <input id="ipt_memvol" ref="/root/main/servdetlinfo/servdetl/memvol" style="left:926px; top:101px; width:95px; height:19px; font-family:돋움체; "/>
- <input id="ipt_compnm" ref="/root/main/servdetlinfo/servdetl/compnm" editable="false" style="left:665px; top:125px; width:120px; height:19px; font-family:돋움체; "/>
- <input id="ipt_dispnm" ref="/root/main/servdetlinfo/servdetl/dispnm" style="left:926px; top:77px; width:95px; height:19px; font-family:돋움체; "/>
- <input id="ipt_servnm" ref="/root/main/servdetlinfo/servdetl/servnm" style="left:926px; top:29px; width:95px; height:19px; font-family:돋움체; "/>
- <input id="ipt_hostnm" ref="/root/main/servdetlinfo/servdetl/hostnm" style="left:926px; top:53px; width:95px; height:19px; font-family:돋움체; "/>
- <button id="btn_sw" class="btn_sw" group="tab" selected="true" style="left:491px; top:223px; width:80px; height:22px; font-family:돋움체; ">
- <caption>S/W</caption>
- <toggle case="case1" ev:event="DOMActivate"/>
- </button>
- <button id="btn_ip" class="btn_sw" group="tab" style="left:571px; top:223px; width:90px; height:22px; font-family:돋움체; ">
- <caption>IP현황</caption>
- <toggle case="case2" ev:event="DOMActivate"/>
- </button>
- <button id="btn_part" class="btn_sw" group="tab" style="left:661px; top:223px; width:90px; height:22px; font-family:돋움체; ">
- <caption>파티션현황</caption>
- <toggle case="case3" ev:event="DOMActivate"/>
- </button>
- <switch id="switch1" style="left:485px; top:245px; width:705px; height:485px; font-family:돋움체; border-color:#c7a3cf; border-style:solid; ">
- <case id="case1" selected="true">
- <datagrid id="grd_sw" caption="servcd^SW명^SW버전^사용용도" colsep="^" colwidth="34, 138, 150, 365" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:5px; width:700px; height:471px; ">
- <col ref="servcd" visibility="hidden"/>
- <col ref="swnm" type="inputbutton" style="text-align:center; "/>
- <col ref="swver" type="input"/>
- <col ref="usge" type="input"/>
- </datagrid>
- <line id="line45" class="line_1" style="x1:1px; y1:2px; x2:700px; y2:2px; "/>
- </case>
- <case id="case2">
- <line id="line46" class="line_1" style="x1:0px; y1:2px; x2:700px; y2:2px; "/>
- <datagrid id="grd_ip" caption="servcd^IP^사용용도" colsep="^" colwidth="23, 105, 545" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:7px; width:700px; height:471px; ">
- <col ref="servcd"/>
- <col ref="ip" type="input" style="text-align:center; "/>
- <col ref="usge" type="input"/>
- </datagrid>
- </case>
- <case id="case3">
- <line id="line52" class="line_1" style="x1:0px; y1:2px; x2:700px; y2:2px; "/>
- <datagrid id="grd_part" nodeset="/root/main/list/rfchmandlist" caption="servcd^파티션명^할당량(MB)^사용량(MB)^사용률(%)^수집일자^스토리지^스토리지|servcd^파티션명^할당량(MB)^사용량(MB)^사용률(%)^수집일자^서버코드^서버명" colsep="^" colwidth="23, 132, 87, 82, 64, 90, 100, 100" dataheight="60" explorerbar="sortmove" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:0px; top:7px; width:700px; height:471px; ">
- <col ref="servcd" visibility="hidden"/>
- <col class="input_essential" ref="partnm" type="input" format="yyyy-mm-dd" _key="true"/>
- <col ref="setvol" type="input" format="#,###"/>
- <col ref="usevol" type="input" format="#,###" style="text-align:right; "/>
- <col ref="useper" type="output"/>
- <col ref="colldd" type="inputdate"/>
- <col ref="servcd" type="inputbutton"/>
- <col ref="servnm"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- // if (grd_rfchmandlist.col == grd_rfchmandlist.colRef("suplplcecd")) {//물품코드 버튼을 눌렀을 때
- // rszfOpenPopUpListByWndName(grd_rfchmandlist,"",
- // "suplplcecd,suplplcenm","SPRSD00220","instcd,goodflag",
- // "cmb_instcd_search,cmb_goodflag_search","Y");
- // }
-
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // if(grd_rfchmandlist.col == grd_rfchmandlist.colRef("suplplcenm") && grd_rfchmandlist.valueMatrix(grd_rfchmandlist.row, grd_rfchmandlist.colRef("suplplcenm")).length> 0)
- // {
- // if(grd_rfchmandlist.valueMatrix(grd_rfchmandlist.row, grd_rfchmandlist.colRef("suplplcenm")).length == 0)
- // grd_rfchmandlist.valueMatrix(grd_rfchmandlist.row, grd_rfchmandlist.colRef("suplplcecd")) = "";
- // else
- // rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm",
- // cmb_instcd_search.value + "," + "custnm," + grd_rfchmandlist.valueMatrix(grd_rfchmandlist.row, grd_rfchmandlist.colRef("suplplcenm")), "", "suplplcecd,suplplcenm",
- // grd_rfchmandlist, "SPRSD00220", "instcd","cmb_instcd_search");
- // }
- // else if(grd_rfchmandlist.col == grd_rfchmandlist.colRef("suplplcecd") && grd_rfchmandlist.valueMatrix(grd_rfchmandlist.row, grd_rfchmandlist.colRef("suplplcecd")).length> 0)
- // {
- // if(grd_rfchmandlist.valueMatrix(grd_rfchmandlist.row, grd_rfchmandlist.colRef("suplplcecd")).length == 0)
- // grd_rfchmandlist.valueMatrix(grd_rfchmandlist.row, grd_rfchmandlist.colRef("suplplcenm")) = "";
- // else
- // rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm",
- // cmb_instcd_search.value + "," + "entrregno," + grd_rfchmandlist.valueMatrix(grd_rfchmandlist.row, grd_rfchmandlist.colRef("suplplcecd")), "", "suplplcecd,suplplcenm",
- // grd_rfchmandlist, "SPRSD00220", "instcd","cmb_instcd_search");
- // }
- ]]>
- </script>
- </datagrid>
- </case>
- </switch>
- <button id="btn_addrow_" class="btn2_letter3" navindex="94" style="left:1080px; top:224px; width:53px; height:19px; font-family:돋움체; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(btn_sw.selected == true){
- grd_sw.addRow();
- grd_sw.select(grd_sw.row, grd_sw.col) = true;
-
- }else if(btn_ip.selected == true){
- grd_ip.addRow();
- grd_ip.select(grd_ip.row, grd_ip.col) = true;
-
- }else if(btn_part.selected == true){
- grd_part.addRow();
- grd_part.select(grd_part.row, grd_part.col) = true;
-
- var cur_row = grd_part.row;
-
- //행추가를 누를시 기간코드,고정자산 값을 자동으로 저장한다.
- model.setValue(grd_part.attribute("nodeset")+"["+cur_row+"]/storservcd",ipt_servcd.value);
- model.setValue(grd_part.attribute("nodeset")+"["+cur_row+"]/storservnm",ipt_servnm.value);
-
- }
-
- model.refresh();
-
-
- if(btn_rfchmandlist.selected == true)
- {
- misfGridIUD(grd_rfchmandlist, "A");
-
- var cur_row = grd_rfchmandlist.row;
-
- //행추가를 누를시 기간코드,고정자산 값을 자동으로 저장한다.
- model.setValue(grd_rfchmandlist.attribute("nodeset")+"["+cur_row+"]/instcd",cmb_instcd_search.value);
- model.setValue(grd_rfchmandlist.attribute("nodeset")+"["+cur_row+"]/fixasetcd",ipt_fixasetcd.value);
-
- model.refresh();
- return;
- }
- else if(btn_comps.selected == true)
- {
-
- misfGridIUD(grd_comps, "A");
-
- var cur_row = grd_comps.row;
-
- //행추가를 누를시 기간코드,고정자산 값을 자동으로 저장한다.
- model.setValue(grd_comps.attribute("nodeset")+"["+cur_row+"]/instcd",cmb_instcd_search.value);
- model.setValue(grd_comps.attribute("nodeset")+"["+cur_row+"]/fixasetcd",ipt_fixasetcd.value);
-
- model.refresh();
- return;
- }
- ]]>
- </script>
- </button>
- <button id="btn_excel" class="btn5_letter3" navindex="93" style="left:1024px; top:224px; width:53px; height:19px; font-family:돋움체; ">
- <caption>Excel</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(btn_rfchmandlist.selected == true)
- {
- var fileName = window.fileDialog("save", ",", false, "보수계약정보", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_rfchmandlist.saveExcel(fileName, "보수계약정보List",true,true, "");
- }
- return;
- }
- else if(btn_comps.selected == true)
- {
- var fileName = window.fileDialog("save", ",", false, "구성품", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_comps.saveExcel(fileName, "구성품List",true,true, "");
- }
- return;
- }
-
- ]]>
- </script>
- </button>
- <button id="btn_delrow_" class="btn2_letter3" navindex="95" style="left:1136px; top:224px; width:53px; height:19px; font-family:돋움체; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(btn_rfchmandlist.selected == true)
- {
- misfGridIUD(grd_rfchmandlist, "D");
- model.refresh();
- return;
- }
- else if(btn_comps.selected == true)
- {
- misfGridIUD(grd_comps, "D");
- model.refresh();
- return;
- }
- ]]>
- </script>
- </button>
- <img id="img_view" ref="/root/main/newElement" src="..\..\..\com\commonweb\images\no_image2.gif" style="left:1026px; top:31px; width:163px; height:181px; vertical-align:middle; background-stretch:stretch; "/>
- <select1 id="cmb_svctype" ref="/root/main/servdetlinfo/servdetl/svctype" appearance="minimal" style="left:567px; top:53px; width:95px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/codeinfo/C0201">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_servtype" ref="/root/main/servdetlinfo/servdetl/servtype" appearance="minimal" style="left:746px; top:53px; width:95px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/codeinfo/C0202">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <button id="btn_userid" class="icon_search" navindex="5" style="left:790px; top:125px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //misfOpenPopUpList("01", ipt_reqmannm, "", "reqmanid,reqmannm","","instcd");
-
- modal("SPZSU10103_사용자부서조회", "1", "200", "200", "SPZSU10103","","/root/tmp/popup");
- var iParam = getParameter("SPZSU10103_");
- if(iParam != ""){
- model.removeNodeset("/root/hidden/onerowselect");
- model.makeNode("/root/hidden/onerowselect");
- setCSVToNode("/root/hidden/onerowselect", iParam);
-
- model.setValue("/root/main/confdetlinfo/selected/confuserid", model.getValue("/root/hidden/onerowselect/list/userid") );
- model.setValue("/root/main/confdetlinfo/selected/confusernm", model.getValue("/root/hidden/onerowselect/list/usernm") );
-
- var rtn = messageBox("기관과 부서까지 ", "Q009");
- if(rtn == 6){
- model.setValue("/root/main/confdetlinfo/selected/confinstcd", model.getValue("/root/hidden/onerowselect/list/dutplceinstcd") );
- model.setValue("/root/main/confdetlinfo/selected/confdeptcd", model.getValue("/root/hidden/onerowselect/list/dutplcecd") );
- model.setValue("/root/main/confdetlinfo/selected/confdeptnm", model.getValue("/root/hidden/onerowselect/list/dutplcenm") );
-
- }
-
- clearParameter("SPZSU10103_");
- }
- model.refresh();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|