123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524 |
- <?xml version="1.0" encoding="UTF-8"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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:ms="urn:schemas-microsoft-com:xslt" xmlns:my="http://www.comsquare.co.kr/example" 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>
- <servcd/>
- <servnm/>
- <instcd/>
- <dispnm/>
- <hostnm/>
- <svctype/>
- <servtype/>
- <ostype/>
- <os/>
- <spec/>
- <cpucnt/>
- <corecnt/>
- <memvol/>
- <storvol/>
- <compcd/>
- <comptype/>
- <compnm/>
- <bigo/>
- </servdetl>
- </servdetlinfo>
- </main>
- <send>
- <search/>
- <save/>
- </send>
- <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>
- </hidden>
- </root>
- </instance>
- </model>
- </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[
-
- ]]>
- </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[
- var row;
- if(grd_servlist.rows-grd_servlist.fixedRows == 0){ // 데이타가 없으면
- row = grd_servlist.addRow();
- }else{
- row = grd_servlist.insertRow(1);
- }
-
- model.resetInstanceNode("/root/main/servdetlinfo/servdetl");
-
-
-
- smflag = "I";
-
- ]]>
- </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_fixasettmplist);
- //
- // 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("TRRFC00202")){
-
- if(grd_fixasetlist.rows - grd_fixasetlist.fixedRows > 0 )
- {
- for (var currow = grd_fixasetlist.fixedRows ; currow < grd_fixasetlist.rows ; currow++)
- {
- if (grd_fixasetlist.valueMatrix(currow, grd_fixasetlist.colRef("dsplflag")) == "1") {
- grd_fixasetlist.cellstyle("background-color", currow, grd_fixasetlist.colRef("fixasetcd")) = "#ffff99";
- }
- }
-
- grd_fixasetlist.row = grwlow;
- grd_fixasetlist.dispatch("onrowchanged");
- }
- }
- ]]>
- </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" 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" style="left:310px; top:9px; width:100px; height:19px; "/>
- <select1 id="combo1" 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" 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/fixasetlist/installplcecd_search" 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" 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" 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" 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="false" 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"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ipt_vFlag.value = "Y";
- ]]>
- </script>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
- if (ipt_vFlag.value == "" && false)
- {
- fSearchInfo();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_fixasetlist.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if (ipt_vFlag.value == "")
- {
- fSearchInfo();
- }
- ]]>
- </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:926px; top:101px; 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:455px; height:19px; "/>
- <caption id="caption14" class="cell_1" style="left:664px; top:124px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">저장공간용량</caption>
- <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:746px; 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>
- <item>
- <label>combo4</label>
- <value>combo4</value>
- </item>
- </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:567px; top:125px; width:95px; height:19px; font-family:돋움체; "/>
- <input id="ipt_compnm" ref="/root/main/servdetlinfo/servdetl/compnm" editable="false" style="left:926px; top:125px; width:95px; height:19px; font-family:돋움체; background-color:#ecebec; "/>
- <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_comps" 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_addinfo" 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_rfchmandlist" 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="datagrid1" caption="SW명^SW버전^사용용도" colsep="^" colwidth="138, 150, 365" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:7px; width:700px; height:471px; ">
- <col type="inputbutton" style="text-align:center; "/>
- <col type="input"/>
- <col/>
- </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="datagrid2" caption="IP^사용용도" colsep="^" colwidth="122, 565" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:7px; width:700px; height:471px; ">
- <col type="input"/>
- <col 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_rfchmandlist" nodeset="/root/main/list/rfchmandlist" caption="파티션명^할당량(MB)^사용량(MB)^사용률(%)^수집일자^스토리지^스토리지|파티션명^할당량(MB)^사용량(MB)^사용률(%)^수집일자^서버코드^서버명" colsep="^" colwidth="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 class="input_essential" ref="rpirconfromdd" type="input" format="yyyy-mm-dd" _key="true"/>
- <col ref="rpircontodd" type="input" format="#,###"/>
- <col ref="conamt" type="input" format="#,###" style="text-align:right; "/>
- <col type="output"/>
- <col ref="suplplcecd" type="inputdate"/>
- <col ref="fixasetcd" visibility="hidden"/>
- <col/>
- <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_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>
- <item>
- <label>combo4</label>
- <value>combo4</value>
- </item>
- </choices>
- </select1>
- <select1 id="cmb_servtype" ref="/root/main/servdetlinfo/servdetl/servtype" appearance="minimal" style="left:746px; top:53px; width:95px; height:19px; ">
- <choices>
- <item>
- <label>combo4</label>
- <value>combo4</value>
- </item>
- </choices>
- </select1>
- </group>
- </xhtml:body>
- </xhtml:html>
|