123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445 |
- <?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>
- <userlinkcallbacklist>
- </userlinkcallbacklist>
- </list>
- </main>
- <send>
- <userid/>
- <fromdd/>
- <userkindcd/>
- <usernm/>
- <pwd/>
- <todd/>
- <posinstcd/>
- <posdeptcd/>
- <orginstcd/>
- <orgdeptcd/>
- <email/>
- <mpphonno/>
- <rrgstno/>
- <entcodd/>
- <pdano/>
- <anouserid/>
- <dutinstcd/>
- <dutunitcd/>
- <dutplceinstcd/>
- <dutplcecd/>
- <psnworkyn/>
- <licnsno/>
- <medispclno/>
- <specordyn/>
- <majorfild/>
- <prfshipflagcd/>
- <jobkindcd/>
- <jobposcd/>
- <jobrespcd/>
- <grupjoblncd/>
- <apntflag/>
- <tempyn/>
- <spnm/>
- <userlinknm/>
- <logstatus/>
- <serial/>
- <status/>
- <userengnm/>
- </send>
- <search>
- <userlinknm/>
- <logstatus/>
- </search>
- <hidden>
- <result/>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- model.setValue("/root/search/logstatus", "N");
- model.refresh();
- ]]>
- </script>
- <submission id="TRZSU10112" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/list/userlinkcallbacklist"/>
- <submission id="TXZSU10114" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden"/>
- <submission id="TXZSU10115" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden/result"/>
- </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="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/userdeptinfoweb/js/ZSU001.js"/>
- <script type="javascript" src="../../../com/userdeptinfoweb/js/ZSU002.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- </xhtml:head>
- <xhtml:body guideline="1,1195;2,236;2,237;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:0px; width:1194px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">사용자연계에러로그관리</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:36px; width:1195px; height:744px; ">
- <group id="grp_sea" style="left:0px; top:10px; width:1195px; height:40px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var userlinknm = model.getValue("/root/search/userlinknm");
- var logstatus = model.getValue("/root/search/logstatus");
-
- model.setValue("/root/send/userlinknm", userlinknm);
- model.setValue("/root/send/logstatus", logstatus);
-
- submit("TRZSU10112");
- /*
- for(var i=0; i<grd_userlinkcallbacklist.rows; i++){
- var delyn = grd_userlinkcallbacklist.valueMatrix(i, grd_userlinkcallbacklist.colRef("delyn"));
- if(delyn=="Y"){
- grd_userlinkcallbacklist.rowStyle(i, "data", "background-color" ) = "#b9e5fb";
- }else{
- grd_userlinkcallbacklist.rowStyle(i, "data", "background-color" ) = "#c8e67b";
- }
-
- }
- */
- model.refresh();
-
- ]]>
- </script>
- </button>
- <select1 id="rd_logstatus" ref="/root/search/logstatus" appearance="full" cols="3" rows="1" overflow="visible" style="left:855px; top:10px; width:205px; height:20px; font-weight:bold; border-style:none; ">
- <choices>
- <item>
- <label>재처리필요항목</label>
- <value>N</value>
- </item>
- <item>
- <label>처리된항목</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- model.removenode("/root/main/list/userlinkcallbacklist");
- model.makenode("/root/main/list/userlinkcallbacklist");
- model.refresh();
- ]]>
- </script>
- </select1>
- </group>
- <line id="line12" class="line_1" style="x1:0px; y1:725px; x2:1194px; y2:725px; "/>
- <line id="line1" class="line_1" style="x1:0px; y1:75px; x2:1194px; y2:75px; "/>
- <line id="line9" class="line_3" style="x1:0px; y1:395px; x2:1194px; y2:395px; "/>
- <line id="line2" class="line_3" style="x1:0px; y1:724px; x2:1194px; y2:724px; "/>
- <caption id="caption17" class="tit_2" style="left:0px; top:55px; width:160px; height:14px; ">사용자연계에러로그목록</caption>
- <button id="btn_save_excel" class="btn2_letter4" navindex="15" style="left:1127px; top:54px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "사용자부서정보", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- if (fileName != "")
- {
- grd_userlinkcallbacklist.saveExcel(fileName);
- }
- ]]>
- </script>
- </button>
- <line id="line4" class="line_3" style="x1:0px; y1:723px; x2:1195px; y2:723px; "/>
- <button id="btn_adduserdept" class="btn2_letter2" navindex="58" style="left:1145px; top:402px; width:42px; height:88px; ">
- <caption>선택</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var retrived = model.getValue("/root/main/search/retrived");
- if(retrived!="true"){
- alert("조회가 되지 않았습니다.");
- return;
- }
-
- var process = model.getValue("/root/main/item/process");
- if(process!="retrive"){
- var operation = model.getValue("/root/main/search/operation");
- alert("사용자부서정보를 목록에서 선택하세요.");
- return;
- }
-
- var operation = model.getValue("/root/main/search/operation");
-
- var iRow = grd_userdeptinfo.row;
-
- if(iRow>0){
- copyNodeType("/root/main/item", "/root/main/list/userlist["+iRow+"]");
- model.setValue("/root/main/item/dutplceinstcd", "");
- model.setValue("/root/main/item/dutplceinstnm", "");
- model.setValue("/root/main/item/dutplcecd", "");
- model.setValue("/root/main/item/dutplcenm", "");
- model.makeValue("/root/main/item/label","사용자부서정보추가(이력추가)");
- fDisableProcessControl("true");
- ipt_licnsno.disabled = "false";
- ipt_medispclno.disabled = "false";
- cmb_specord.disabled = "false";
- ipt_majorfild.disabled = "false";
- cmb_psnwork.disabled = "false";
- cmb_dutplceinstcd.disabled = "false";
- opt_dutplcenm.disabled = "false";
- btn_dutplce_search.disabled = "false";
- cmb_apntflag.disabled = "false";
- cmb_jobkind.disabled = "false";
- cmb_jobpos.disabled = "false";
- cmb_jobresp.disabled = "false";
- cmb_prfshipflag.disabled = "false";
- cmb_tempyn.disabled = "false";
- ipt_fromdd.disabled = "false";
- ipt_todd.disabled = "false";
- model.setValue("/root/main/item/process", "create");
- model.refresh();
- }else{
- alert("사용자부서정보 추가시 목록에서 기존이력을 선택한후 기능을 수행하세요.");
- return;
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <multilinegrid id="grd_userlinkcallbacklist" nodeset="/root/main/list/userlinkcallbacklist/userlinkcallback" caption="연계명^연계명^사용자ID^사용자명^적용시작일자^사용자유형코드^사용자유형명^패스워드^적용종료일자^소속기관코드^소속기관명^소속부서코드|소속부서명^원소속기관코드^원소속기관명^원소속부서코드^원소속부서명^이메일^핸드폰번호^주민등록번호^입사일자^PDA번호^타사용자ID^근무기관코드|근무기관명^근무부서코드^근무부서명^근무지기관코드^근무지기관명^근무지코드^근무지명^인사연동여부^의사면허번호^전문의번호^선택진료여부^전공분야|교직구분코드^교직구분명^직종코드^직종명^직위코드^직위명^직책코드^직책명^발령구분코드^발령구분명^임시여부^직군코드|직군명^일련번호^처리형태^삭제여부^사용자영문명^메세지^메세지^메세지^메세지^메세지^메세지^메세지|최초등록자ID^최초등록자명^최초등록일시^최종수정자ID^최종수정자명^최종수정일시^연계프로시져명^연계프로시져명^연계프로시져명^^^" colsep="^" colwidth="100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" rowsep="|" mergecellsfixedrows="bycolrec" style="left:0px; top:78px; width:1195px; height:646px; ">
- <row>
- <col colspan="2" ref="spdesc"/>
- <col ref="userid"/>
- <col ref="usernm"/>
- <col ref="fromdd"/>
- <col ref="userkindcd"/>
- <col ref="userkindnm"/>
- <col ref="pwd"/>
- <col ref="todd"/>
- <col ref="posinstcd"/>
- <col ref="posinstnm"/>
- <col ref="posdeptcd"/>
- </row>
- <row>
- <col ref="posdeptnm"/>
- <col ref="orginstcd"/>
- <col ref="orginstnm"/>
- <col ref="orgdeptcd"/>
- <col ref="orgdeptnm"/>
- <col ref="email"/>
- <col ref="mpphonno"/>
- <col ref="rrgstno"/>
- <col ref="entcodd"/>
- <col ref="pdano"/>
- <col ref="anouserid"/>
- <col ref="dutinstcd"/>
- </row>
- <row>
- <col ref="dutinstnm"/>
- <col ref="dutunitcd"/>
- <col ref="dutunitnm"/>
- <col ref="dutplceinstcd"/>
- <col ref="dutplceinstnm"/>
- <col ref="dutplcecd"/>
- <col ref="dutplcenm"/>
- <col ref="psnworkyn"/>
- <col ref="licnsno"/>
- <col ref="medispclno"/>
- <col ref="specordyn"/>
- <col ref="majorfild"/>
- </row>
- <row>
- <col ref="prfshipflagcd"/>
- <col ref="prfshipflagnm"/>
- <col ref="jobkindcd"/>
- <col ref="jobkindnm"/>
- <col ref="jobposcd"/>
- <col ref="jobposnm"/>
- <col ref="jobrespcd"/>
- <col ref="jobrespnm"/>
- <col ref="apntflag"/>
- <col ref="apntflagnm"/>
- <col ref="tempyn"/>
- <col ref="grupjoblncd"/>
- </row>
- <row ref="/root/main/list/userlinkcallbacklist/userlinkcallback">
- <col ref="grupjoblnnm"/>
- <col ref="serial"/>
- <col ref="status"/>
- <col ref="delyn"/>
- <col ref="userengnm"/>
- <col colspan="7" ref="msg"/>
- </row>
- <row>
- <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"/>
- <col colspan="3" ref="spnm"/>
- <col colspan="3"/>
- </row>
- </multilinegrid>
- </group>
- <group id="grp_btn" style="left:0px; top:13px; width:1195px; height:27px; ">
- <button id="btn_save" class="btn4_letter3" style="left:1120px; top:0px; width:68px; height:22px; ">
- <caption>재처리</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var row = grd_userlinkcallbacklist.row;
- var delyn = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("delyn"));
- if(delyn=="Y"){
- messageBox("이미 처리된 항목은 삭제만 가능합니다.", "I");
- return;
- }else if(row<grd_userlinkcallbacklist.fixedRows){
- messageBox("처리할 항목을 선택하세요.", "I");
- return;
- }
-
- var serial = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("serial"));
- var userid = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("userid"));
- var fromdd = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("fromdd"));
- var userkindcd = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("userkindcd"));
- var usernm = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("usernm"));
- var userengnm = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("userengnm"));
- var pwd = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("pwd"));
- var todd = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("todd"));
- var posinstcd = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("posinstcd"));
- var posdeptcd = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("posdeptcd"));
- var orginstcd = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("orginstcd"));
- var orgdeptcd = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("orgdeptcd"));
- var email = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("email"));
- var mpphonno = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("mpphonno"));
- var rrgstno = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("rrgstno"));
- var entcodd = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("entcodd"));
- var pdano = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("pdano"));
- var anouserid = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("anouserid"));
- var dutinstcd = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("dutinstcd"));
- var dutunitcd = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("dutunitcd"));
- var dutplceinstcd = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("dutplceinstcd"));
- var dutplcecd = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("dutplcecd"));
- var psnworkyn = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("psnworkyn"));
- var licnsno = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("licnsno"));
- var medispclno = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("medispclno"));
- var specordyn = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("specordyn"));
- var majorfild = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("majorfild"));
- var prfshipflagcd = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("prfshipflagcd"));
- var jobkindcd = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("jobkindcd"));
- var jobposcd = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("jobposcd"));
- var jobrespcd = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("jobrespcd"));
- var grupjoblncd = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("grupjoblncd"));
- var apntflag = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("apntflag"));
- var tempyn = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("tempyn"));
- var spnm = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("spnm"));
- var status = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("status"));
- var serial = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("serial"));
-
- model.setValue("/root/send/userid", userid);
- model.setValue("/root/send/fromdd", fromdd);
- model.setValue("/root/send/userkindcd", userkindcd);
- model.setValue("/root/send/usernm", usernm);
- model.setValue("/root/send/userengnm", userengnm);
- model.setValue("/root/send/pwd", pwd);
- model.setValue("/root/send/todd", todd);
- model.setValue("/root/send/posinstcd", posinstcd);
- model.setValue("/root/send/posdeptcd", posdeptcd);
- model.setValue("/root/send/orginstcd", orginstcd);
- model.setValue("/root/send/orgdeptcd", orgdeptcd);
- model.setValue("/root/send/email", email);
- model.setValue("/root/send/mpphonno", mpphonno);
- model.setValue("/root/send/rrgstno", rrgstno);
- model.setValue("/root/send/entcodd", entcodd);
- model.setValue("/root/send/pdano", pdano);
- model.setValue("/root/send/anouserid", anouserid);
- model.setValue("/root/send/dutinstcd", dutinstcd);
- model.setValue("/root/send/dutunitcd", dutunitcd);
- model.setValue("/root/send/dutplceinstcd", dutplceinstcd);
- model.setValue("/root/send/dutplcecd", dutplcecd);
- model.setValue("/root/send/psnworkyn", psnworkyn);
- model.setValue("/root/send/licnsno", licnsno);
- model.setValue("/root/send/medispclno", medispclno);
- model.setValue("/root/send/specordyn", specordyn);
- model.setValue("/root/send/majorfild", majorfild);
- model.setValue("/root/send/prfshipflagcd", prfshipflagcd);
- model.setValue("/root/send/jobkindcd", jobkindcd);
- model.setValue("/root/send/jobposcd", jobposcd);
- model.setValue("/root/send/jobrespcd", jobrespcd);
- model.setValue("/root/send/grupjoblncd", grupjoblncd);
- model.setValue("/root/send/apntflag", apntflag);
- model.setValue("/root/send/tempyn", tempyn);
- model.setValue("/root/send/spnm", spnm);
- model.setValue("/root/send/status", status);
- model.setValue("/root/send/serial", serial);
-
- var success = submit("TXZSU10114");
- if(!success){
- messageBox("서버측 장애로 인해 재처리에 실패하였습니다.", "C");
- }else{
- var retstatus = model.getValue("/root/hidden/result/retstatus");
- var retmessage = model.getValue("/root/hidden/result/retmessage");
- var pcode = null;
- if(retstatus>=0){
- pcode = "I";
- messageBox(retmessage, pcode);
- }else{
- pcode = "C";
- messageBox(retmessage, pcode);
- return;
- }
- }
-
- success = submit("TRZSU10112");
-
- if(!success){
- messageBox("재처리후 조회에 실패하였습니다.", "C");
- return;
- }
-
- for(var i=grd_userlinkcallbacklist.fixedRows; i<grd_userlinkcallbacklist.rows; i++){
- var delyn = grd_userlinkcallbacklist.valueMatrix(i, grd_userlinkcallbacklist.colRef("delyn"));
- var comp_serial = grd_userlinkcallbacklist.valueMatrix(i, grd_userlinkcallbacklist.colRef("serial"));
- if(delyn=="Y"){
- grd_userlinkcallbacklist.rowStyle(i, "data", "background-color" ) = "#b9e5fb";
- }else{
- grd_userlinkcallbacklist.rowStyle(i, "data", "background-color" ) = "#c8e67b";
- }
- if(serial==comp_serial){
- grd_userlinkcallbacklist.row = i;
- grd_userlinkcallbacklist.topRow = i;
- model.setFocus("grd_userlinkcallbacklist");
- }
- }
-
- ]]>
- </script>
- </button>
- <line id="line3" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
- <button id="button1" class="btn4_letter2" style="left:1064px; top:0px; width:56px; height:22px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var row = grd_userlinkcallbacklist.row;
- if(row>0){
- var delyn = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("delyn"));
- if("Y"==delyn){
- messageBox("이미 삭제된 항목은 삭제 처리할수 없습니다.", "I");
- return;
- }else{
- var serial = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("serial"));
- model.setValue("/root/send/serial", serial);
- var success = submit("TXZSU10115");
- }
- }else{
- messageBox('처리할 항목을 선택하세요', "I");
- }
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|