123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283 |
- <?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>
- <bizlist>
- <biz/>
- </bizlist>
- </main>
- <send>
- <data>
- </data>
- </send>
- <hidden>
- <temp/>
- </hidden>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC004.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- ]]>
- </script>
- <submission id="TRZBC00115" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data" replace="instance" resultref="/root/main/bizlist"/>
- <submission id="TXZBC00112" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data" replace="instance" resultref="/root/main/bizlist"/>
- <submission id="TXZBC00113" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data" replace="instance" resultref="/root/hidden/temp"/>
- <submission id="TXZBC00114" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data" replace="instance" resultref="/root/hidden/temp"/>
- <submission id="TXZBC00121" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data" replace="instance"/>
- <submission id="TXZBC00123" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data" replace="instance" resultref="/root/hidden/temp"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript">
- <![CDATA[
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1198;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">유형코드일괄등록</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:744px; ">
- <line id="line5" class="line_2" style="x1:0px; y1:598px; x2:1194px; y2:598px; "/>
- <group id="group4" style="left:1045px; top:10px; width:145px; height:32px; ">
- <button id="button10" class="btn2_letter4" style="left:73px; top:11px; width:64px; height:19px; ">
- <caption>엑셀입력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("open", "", false);
- datagrid2.loadExcel(fileName);
- for (i=datagrid2.fixedRows; i<datagrid2.rows; i++){
- datagrid2.rowStatus(i) = 1;
- }
- ]]>
- </script>
- </button>
- <button id="button11" class="btn2_letter4" style="left:6px; top:11px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- if (fileName != "")
- {
- datagrid2.saveExcel();
-
- }
- ]]>
- </script>
- </button>
- </group>
- <output id="opt_modellabel" ref="/root/main/mode/modelabel" class="tit_2" style="left:0px; top:555px; width:269px; height:13px; "/>
- <caption id="caption7" class="cell_1" style="left:0px; top:575px; width:100px; height:23px; vertical-align:middle; ">우편번호 앞자리</caption>
- <caption id="caption20" class="tit_2" style="left:6px; top:35px; width:118px; height:13px; ">업무규칙 목록</caption>
- <line id="line8" class="line_1" style="x1:0px; y1:50px; x2:1194px; y2:50px; "/>
- <caption id="caption22" class="cell_1" style="left:0px; top:600px; width:100px; height:135px; vertical-align:middle; ">
- <![CDATA[업무규칙
- 상세설명]]>
- </caption>
- <caption id="caption24" class="cell_1" style="left:0px; top:575px; width:100px; height:23px; vertical-align:middle; ">업무규칙 ID</caption>
- <textarea id="tar_bizdesc" ref="/root/main/data/detldesc" style="left:105px; top:605px; width:1080px; height:125px; "/>
- <select1 id="cmb_delyn" ref="/root/main/data/delyn" class="combo_essential" appearance="minimal" style="left:495px; top:576px; width:45px; height:19px; ">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <caption id="caption1" class="cell_1" style="left:195px; top:575px; width:100px; height:23px; vertical-align:middle; ">업무규칙 이름</caption>
- <input id="ipt_biznm" ref="/root/main/data/biznm" class="input_essential" style="left:300px; top:576px; width:85px; height:19px; "/>
- <caption id="caption3" class="cell_1" style="left:390px; top:575px; width:100px; height:23px; vertical-align:middle; ">삭제여부</caption>
- <input id="ipt_bizid" ref="/root/main/data/bizid" class="input_essential" style="left:105px; top:576px; width:85px; height:19px; "/>
- <line id="line7" class="line_3" style="x1:0px; y1:735px; x2:1194px; y2:735px; "/>
- <datagrid id="datagrid2" nodeset="/root/main/bizlist/biz" caption="업무규칙 ID^업무규칙 이름^업무규칙 상세설명^삭제여부^권한기관코드^권한기관명^권한부서코드^권한부서명^최초등록자ID^최초등록자이름^최초등록일시^최종수정자ID^최종수정자이름^최종수정일시" colwidth="100, 150, 200, 68, 100, 100, 100, 100, 99, 100, 150, 101, 100, 150" dataheight="25" defaultrows="0" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" tootip="true" style="left:0px; top:55px; width:1194px; height:457px; border-color:#808080; ">
- <col ref="bizid"/>
- <col ref="biznm"/>
- <col ref="detldesc"/>
- <col ref="delyn"/>
- <col ref="authinstcd"/>
- <col ref="authinstnm"/>
- <col ref="authdeptcd"/>
- <col ref="authdeptnm"/>
- <col ref="fstrgstrid"/>
- <col ref="fstrgstrnm"/>
- <col ref="fstrgstdt" format="yyyy-mm-dd hh:nn:ss"/>
- <col ref="lastupdtrid"/>
- <col ref="lastupdtrnm"/>
- <col ref="lastupdtdt" format="yyyy-mm-dd hh:nn:ss"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- fGetBiz();
- ]]>
- </script>
- </datagrid>
- </group>
- <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; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.dispatch("xforms-ready");
- ]]>
- </script>
- </button>
- <button id="btn_save" class="btn4_letter2" style="left:1067px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var update_data = grd_kindcodelist.getUpdateData();
- alert("update_data : "+update_data);
- model.setValue("/root/send/data", update_data);
- var success = submit("TXZBC00123");
- if(success){
- alert("성공적으로 처리되었습니다.");
- for(var i=datagrid2.fixedRows; i<datagrid2.rows; i++){
- datagrid2.rowStatus(i) = 0;
- }
- }
- ]]>
- </script>
- </button>
- <line id="line14" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
- </group>
- <group id="group2" scroll="auto" style="left:0px; top:40px; width:1195px; height:744px; ">
- <group id="group5" style="left:1045px; top:10px; width:145px; height:32px; ">
- <button id="button1" class="btn2_letter4" style="left:73px; top:11px; width:64px; height:19px; ">
- <caption>엑셀입력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("open", "", false);
- datagrid2.loadExcel(fileName);
- for (i=datagrid2.fixedRows; i<datagrid2.rows; i++){
- datagrid2.rowStatus(i) = 1;
- }
- ]]>
- </script>
- </button>
- <button id="button2" class="btn2_letter4" style="left:6px; top:11px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- if (fileName != "")
- {
- datagrid2.saveExcel();
-
- }
- ]]>
- </script>
- </button>
- </group>
- <caption id="caption4" class="tit_2" style="left:6px; top:35px; width:118px; height:13px; ">업무규칙 목록</caption>
- <line id="line2" class="line_1" style="x1:0px; y1:50px; x2:1194px; y2:50px; "/>
- <line id="line3" class="line_3" style="x1:0px; y1:735px; x2:1194px; y2:735px; "/>
- <datagrid id="datagrid1" nodeset="/root/main/bizlist/biz" caption="업무규칙 ID^업무규칙 이름^업무규칙 상세설명^삭제여부^권한기관코드^권한기관명^권한부서코드^권한부서명^최초등록자ID^최초등록자이름^최초등록일시^최종수정자ID^최종수정자이름^최종수정일시" colwidth="100, 150, 200, 68, 100, 100, 100, 100, 99, 100, 150, 101, 100, 150" dataheight="25" defaultrows="0" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" tootip="true" style="left:0px; top:55px; width:1194px; height:457px; border-color:#808080; ">
- <col ref="bizid"/>
- <col ref="biznm"/>
- <col ref="detldesc"/>
- <col ref="delyn"/>
- <col ref="authinstcd"/>
- <col ref="authinstnm"/>
- <col ref="authdeptcd"/>
- <col ref="authdeptnm"/>
- <col ref="fstrgstrid"/>
- <col ref="fstrgstrnm"/>
- <col ref="fstrgstdt" format="yyyy-mm-dd hh:nn:ss"/>
- <col ref="lastupdtrid"/>
- <col ref="lastupdtrnm"/>
- <col ref="lastupdtdt" format="yyyy-mm-dd hh:nn:ss"/>
- </datagrid>
- </group>
- <group id="group6" scroll="auto" style="left:0px; top:40px; width:1195px; height:744px; ">
- <group id="group7" style="left:1045px; top:15px; width:145px; height:32px; ">
- <button id="button3" class="btn2_letter4" style="left:73px; top:11px; width:64px; height:19px; ">
- <caption>엑셀입력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("open", "", false);
- if(fileName==""||fileName==null){
- alert("입력할 엑셀파일을 선택하세요.");
- return;
- }
- grd_kindcodelist.loadExcel(fileName);
- var nodeList = instance1.selectNodes("/root/main/bizlist/biz");
- var node;
- var process;
- while( node = nodeList.nextNode() ) {
- process = node.process.text;
- if(process != "수정" && process != "변경" && process != "추가" && process != "등록" && process != "입력" && process != "제거" && process != "삭제") {
- model.removenode(node);
- }
- }
- grd_kindcodelist.refresh();
- for (i=grd_kindcodelist.fixedRows; i<grd_kindcodelist.rows; i++){
- var status = grd_kindcodelist.valueMatrix(i, 1);
- if(status=="수정"||status=="변경"){
- grd_kindcodelist.rowStatus(i) = 2;
- }else if(status=="추가"||status=="입력"||status=="등록"){
- grd_kindcodelist.rowStatus(i) = 1;
- }else if(status=="제거"||status=="삭제"){
- grd_kindcodelist.rowStatus(i) = 4;
- }
- }
- ]]>
- </script>
- </button>
- <button id="button4" class="btn2_letter4" style="left:6px; top:11px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- if (fileName != "")
- {
- grd_kindcodelist.saveExcel(fileName);
-
- }
- ]]>
- </script>
- </button>
- </group>
- <caption id="caption2" class="tit_2" style="left:6px; top:35px; width:118px; height:14px; ">유형코드목록</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:50px; x2:1194px; y2:50px; "/>
- <line id="line4" class="line_3" style="x1:0px; y1:735px; x2:1194px; y2:735px; "/>
- <datagrid id="grd_kindcodelist" nodeset="/root/main/bizlist/biz" caption="처리형태^기관코드^기관명^업무규칙ID^업무규칙명^코드군ID^코드군명^코드ID^코드명^출력순서^최초등록자ID^최초등록자명^최종수정자ID^최종수정자명^권한기관코드^권한기관명^권한부서코드^권한부서명^적용시작일자^적용종료일자" colwidth="100, 100, 100, 100, 100, 100, 100, 100, 100, 68, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" dataheight="25" defaultrows="0" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" tootip="true" style="left:0px; top:55px; width:1194px; height:670px; border-color:#808080; ">
- <col ref="process"/>
- <col ref="instcd"/>
- <col ref="instnm"/>
- <col ref="bizid"/>
- <col ref="biznm"/>
- <col ref="cdgrupid"/>
- <col ref="cdgrupnm"/>
- <col ref="cdid"/>
- <col ref="cdnm"/>
- <col ref="dispseq"/>
- <col ref="fstrgstrid"/>
- <col ref="fstrgstrnm"/>
- <col ref="lastupdtrid"/>
- <col ref="lastupdtrnm"/>
- <col ref="authinstcd"/>
- <col ref="authinstnm"/>
- <col ref="authdeptcd"/>
- <col ref="authdeptnm"/>
- <col ref="valifromdd"/>
- <col ref="valitodd"/>
- </datagrid>
- </group>
- </xhtml:body>
- </xhtml:html>
|