123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMAHA03230_사용자별기본정보관리.xrw
- * 설 명 : 사용자별 기본정보 관리
- * 설 계 자 :
- * 작 성 자 :
- * 작 성 일 : 2012.10.10
- * 수정이력 :
- * 기 타 :
- -->
- <?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="">
- <send>
- <savedata/>
- <srchstduser>
- <srchhealexamflag/>
- <srchhealexamgubun/>
- </srchstduser>
- </send>
- <main>
- <stduserInfo>
- <item>
- <healexamflag/>
- <userid/>
- <olduserid/>
- <usernm/>
- <healexamgubun/>
- <orddeptcd/>
- </item>
- </stduserInfo>
- </main>
- <init>
- <baseinfo>
- <healexamflaglst/>
- <healexamgubunlst/>
- <orddeptcdlst/>
- </baseinfo>
- </init>
- </root>
- </instance>
- <submission id="TRZBC00101"/>
- <submission id="TRAHB00606"/>
- <submission id="TRAHA03230" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchstduser" replace="instance" resultref="/root/main/stduserInfo"/>
- <submission id="TXAHA03230" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/hidden"/>
- <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/zipcodeweb/js/ZBP001.js"/>
- <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
- <script type="javascript" src="../../../ast/healexamweb/js/healexam.js"/>
- <script type="javascript" src="../../../ast/healexamweb/js/AHA001.js"/>
- <script type="javascript" src="../../../ast/healthexambaseweb/js/healcombolist.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fGetBaseInfo();
- fInitInfo();
- fGetStdUser();
- model.refresh();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- /*
- * 기본 코드 조회(콤보박스)
- */
- function fGetBaseInfo(){
- zbcfGetCodeList( new Array("A0068", "A0088"),
- new Array("/root/init/baseinfo/healexamflaglst" //건진구분
- ,"/root/init/baseinfo/healexamgubunlst" //건진분류
- ));
- submit("TRZBC00101");
-
- /*
- * 공통코드 조회
- * 진료과 (G, G26)
- */
- healGetComboList("G", new Array("G26"), new Array("/root/init/baseinfo/orddeptcdlst"), false);
- }
-
- /*
- * 초기화
- */
- function fInitInfo(){
- model.removeNodeset("/root/main/stduser");
- }
-
- /*
- * 조회
- */
- function fGetStdUser(){
- model.removeNodeset("/root/main/stduser");
- submit("TRAHA03230");
- }
-
- /*
- * 저장
- */
- function fSaveStdUser(){
- if(messageBox("기준정보를","Q002") == 6){
- model.setValue("/root/send/savedata", grd_stduser.getUpdateData());
- if (submit("TXAHA03230")){
- fInitInfo();
- fGetStdUser();
- return true;
- }
- }
- }
- ]]>
- </script>
- </model>
- </xhtml:head>
- <xhtml:body guideline="1,1196;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <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:210px; height:13px; ">사용자별 기본정보 관리</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <group id="grp_sea" 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; "/>
- <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[
- fGetStdUser();
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1107px; y1:7px; x2:1107px; y2:29px; "/>
- <select1 id="cmb_srchhealexamgubun" ref="/root/send/srchstduser/srchhealexamflag" appearance="minimal" style="left:100px; top:8px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/healexamflaglst/A0068">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption45" class="search_name" style="left:10px; top:8px; width:89px; height:17px; ">건진구분 :</caption>
- <select1 id="combo1" ref="/root/send/srchstduser/srchhealexamgubun" appearance="minimal" style="left:320px; top:10px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/healexamgubunlst/A0088">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption1" class="search_name" style="left:230px; top:10px; width:89px; height:17px; ">건진분류 :</caption>
- </group>
- <line id="line3" class="line_1" style="x1:0px; y1:70px; x2:1194px; y2:70px; "/>
- <datagrid id="grd_stduser" nodeset="/root/main/stduserInfo/item" caption="건진구분^사용자ID^olduserid^사용자명^건진분류^진료과" colsep="^" colwidth="80, 90, 10, 120, 120, 100" defaultrows="0" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:75px; width:1194px; height:655px; ">
- <col ref="healexamflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/healexamflaglst/A0068">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="userid" type="input" style="text-align:left; padding-left:5; "/>
- <col ref="olduserid" type="input" visibility="hidden" style="text-align:left; padding-left:5; "/>
- <col ref="usernm" type="output" style="text-align:center; "/>
- <col ref="healexamgubun" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/healexamgubunlst/A0088">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="orddeptcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/orddeptcdlst/G26">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- </datagrid>
- <button id="btn_grddel" class="btn2_letter3" style="left:1140px; top:50px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- deleteSelectedRows(grd_stduser, true);
- ]]>
- </script>
- </button>
- <button id="btn_grdadd" class="btn2_letter3" style="left:1085px; top:50px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_stduser.addRow();
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; ">
- <button id="btn_save" class="btn4_letter2" style="left:1138px; top:5px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(fSaveStdUser()){
- messageBox("저장", "I002");
- }
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|