123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>세분변수 조회</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <list>
- <divvar>
- <lastupdtrid/>
- <usernm/>
- <divvarcd/>
- <divvarnm/>
- <divvardefine/>
- <relcdnm/>
- <histstatcd/>
- <stndagmtyn/>
- <itemcnt/>
- <kpicnt/>
- <reportcnt/>
- </divvar>
- </list>
- </main>
- <send>
- <searchterm/>
- <subjcd/>
- <searchgubun>-</searchgubun>
- <moveitem/>
- <fromdd/>
- <todd/>
- <lastupdtrid/>
- </send>
- <hidden>
- <fwdata/>
- </hidden>
- <init>
- <code>
- <usergrpcd/>
- </code>
- <tree>
- <item/>
- </tree>
- <S0002_list>
- <S0002>
- <cdid/>
- <cdnm/>
- </S0002>
- </S0002_list>
- </init>
- </root>
- </instance>
- <submission id="TRSOC01000" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" resultref="/root/init/code"/>
- <submission id="TRSMV00101" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" resultref="/root/main/list"/>
- <submission id="TRSMV00102" method="post" mediatype="application/x-www-form-urlencoded" resultref="/root/init/tree/item"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fGetUserSessionInfo(); //세션정보세팅
- // model.setValue("/root/hidden/session/userid", "95031902");
- model.setValue("/root/send/lastupdtrid", model.getValue("/root/hidden/session/userid"));
- submit("TRSOC01000"); //사용자권한그룹 가져온다.
- model.setValue("/root/send/searchgubun","dvname");
- model.setValue("/root/send/moveitem","V");
- fCondtionVisible("/root/send/searchgubun");
-
- model.refresh();
- submit("TRSMV00102");
- ]]>
- </script>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../sts/stsmngtweb/js/sts.js"/>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:744px; ">
- <group id="group2" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line13" style="x1:840px; y1:5px; x2:840px; y2:27px; border-color:#ffe4bb; border-left-style:solid; "/>
- <output id="opt_subj" ref="/root/init/code/usergrpcd" visibility="hidden" style="left:15px; top:5px; width:40px; height:19px; "/>
- <select1 id="radio1" ref="/root/send/moveitem" overflow="visible" appearance="full" rows="1" cols="3" cellspacing="10" style="left:180px; top:8px; width:210px; height:19px; border-style:none; ">
- <choices>
- <item>
- <label>KPI</label>
- <value>K</value>
- </item>
- <item>
- <label>세분변수</label>
- <value>V</value>
- </item>
- <item>
- <label>Report</label>
- <value>R</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fWindowLoad("/root/send/moveitem");
- ]]>
- </script>
- </select1>
- <button id="btn_search" class="btn1_letter2" style="left:850px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var searchVal = model.getValue("/root/send/searchgubun");
- if(searchVal != ""){
- /*
- if(model.getValue("/root/send/searchterm") == ""){
- messageBox("조회구분자를 ","C001")
- return;
- }*/
- model.setValue("/root/send/histstatcd","A"); //전체 다 조회
-
- submit("TRSMV00101");
- }
- ]]>
- </script>
- </button>
- <input id="ipt_fromdd" ref="/root/send/todd" visibility="hidden" inputtype="date" format="yyyy-mm-dd" style="left:735px; top:8px; width:90px; height:19px; "/>
- <input id="ipt_todd" ref="/root/send/fromdd" visibility="hidden" inputtype="date" format="yyyy-mm-dd" style="left:640px; top:8px; width:90px; height:19px; "/>
- <input id="searchterm" ref="/root/send/searchterm" visibility="hidden" imemode="hangul" style="left:640px; top:8px; width:150px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption1" class="search_name" style="left:445px; top:9px; width:100px; height:17px; ">조회구분 :</caption>
- <select1 id="combo1" ref="/root/send/searchgubun" class="combo_s_default" appearance="minimal" style="left:535px; top:8px; width:100px; height:19px; ">
- <choices>
- <item>
- <label>명칭</label>
- <value>dvname</value>
- </item>
- <item>
- <label>부서명</label>
- <value>suggdept</value>
- </item>
- <item>
- <label>작성자명</label>
- <value>fstrgstr</value>
- </item>
- <item>
- <label>등록일자</label>
- <value>rgstdd</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fCondtionVisible("/root/send/searchgubun");
- ]]>
- </script>
- </select1>
- </group>
- <caption id="caption20" class="tit_2" style="left:5px; top:55px; width:100px; height:14px; ">세분변수</caption>
- <line id="line8" class="line_1" style="x1:0px; y1:70px; x2:180px; y2:70px; "/>
- <treeview id="trv_divvartree" itemsettype="depth" expanddepth="2" image="../../../com/commonweb/images/icon_folder_close.gif" selectedimage="../../../com/commonweb/images/icon_folder_select.gif" expandedimage="../../../com/commonweb/images/icon_folder_open.gif" style="left:0px; top:74px; width:180px; height:663px; font-size:10pt; ">
- <itemset nodeset="/root/init/tree/item">
- <label ref="subjcdnm"/>
- <value ref="subjcd"/>
- <depth ref="lvl"/>
- </itemset>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var iRow = trv_divvartree.mouseRow + 1;
- var subjcd = model.getValue("/root/init/tree/item[" + iRow + "]/subjcd");
- model.setValue("/root/send/subjcd", subjcd);
-
- //초기화 추가
- model.setValue("/root/send/searchgubun","dvname");
- model.setValue("/root/send/searchterm","");
-
- fCondtionVisible("/root/send/searchgubun");
-
- submit("TRSMV00101", false);
- grd_divvar.refresh();
- group2.refresh();
- ]]>
- </script>
- </treeview>
- <line id="line3" class="line_1" style="x1:185px; y1:70px; x2:1195px; y2:70px; "/>
- <datagrid id="grd_divvar" nodeset="/root/main/list/divvar" caption="la^작성자^code^세분변수명^정 의^관련코드명^상태^표준화^항목수^KPI^Report" colwidth="30, 60, 50, 120, 405, 100, 60, 50, 50, 50, 50" dataheight="25" ellipsis="true" explorerbar="sort" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" colsep="^" tooltip="true" style="left:185px; top:75px; width:1009px; height:662px; ">
- <col ref="lastupdtrid" visibility="hidden"/>
- <col ref="usernm" style="text-align:center; "/>
- <col ref="divvarcd" visibility="hidden"/>
- <col ref="divvarnm"/>
- <col ref="divvardefine"/>
- <col ref="relcdnm"/>
- <col ref="histstatcd" style="text-align:center; "/>
- <col ref="stndagmtyn" style="text-align:center; "/>
- <col ref="itemcnt" style="text-align:right; "/>
- <col ref="kpicnt" style="text-align:right; "/>
- <col ref="reportcnt" style="text-align:right; "/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if( grd_divvar.isCell(event.target) && grd_divvar.row >= grd_divvar.fixedRows ){
- var cur_row = grd_divvar.row;
- model.setAttribute("iParam_new_on_off", "off");
- model.makeValue("/root/hidden/fwdata/divvarcd", model.getvalue("/root/main/list/divvar["+cur_row+"]/divvarcd") );
- model.makeValue("/root/hidden/fwdata/usergrpcd", model.getvalue("/root/init/code/usergrpcd") );
- window.load ("SMSMV00200_세분변수등록.xrw","xfm", "", "", "/root/hidden/fwdata", "/root/hidden/prevdata");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_divvar.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <button id="btn_excel" class="btn2_letter4" style="left:1129px; top:48px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "세분변수_리스트", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_divvar.saveExcel(fileName, "grd_divvar", true, false, "", "", "");
- }
- ]]>
- </script>
- </button>
- </group>
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">세분변수 List 조회</caption>
- <group id="grp_btn" style="left:0px; top:13px; width:1195px; height:27px; ">
- <button id="btn_init" class="btn4_letter3" style="left:1126px; top:3px; width:68px; height:22px; ">
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.reload();
- ]]>
- </script>
- <caption>초기화</caption>
- </button>
- <button id="btn_new" class="btn4_letter2" style="left:1067px; top:3px; width:56px; height:22px; ">
- <script type="javascript" ev:event="xforms-activate">
- <![CDATA[
- model.setAttribute("divvarcd", "" );
- model.setAttribute("iParam_new_on_off", "on"); //등록화면 저장버튼 비활성화
- navigate("SMSMV00200");
- ]]>
- </script>
- <caption>신규</caption>
- </button>
- <line id="line2" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
- </group>
- <caption id="caption23" style="left:973px; top:0px; width:217px; height:13px; vertical-align:middle; ">[ * 시스템 문의 : 박종택 (02-590-7891)]</caption>
- </xhtml:body>
- </xhtml:html>
|