123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181 |
- <?xml version="1.0" encoding="UTF-8"?>
- <?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>
- <drlist>
- <drlist>
- <trgtcd/>
- <trgtnm/>
- <valifromdd/>
- <valitodd/>
- <trgtcdnm/>
- <cdseqno/>
- <hardcdno>9948</hardcdno>
- </drlist>
- </drlist>
- <drinfo>
- <trgtcd/>
- <valifromdd/>
- <valitodd/>
- <trgtcdnm/>
- <hardcdno>9948</hardcdno>
- </drinfo>
- </main>
- <send>
- <endshowyn/>
- <drlist/>
- <drinfo/>
- <hardcdno>9948</hardcdno>
- </send>
- <temp>
- <drlist/>
- <drinfo/>
- </temp>
- <tempchkrec>
- <rtndata>
- <checkmsg/>
- </rtndata>
- </tempchkrec>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- model.setValue("/root/main/drinfo/valifromdd", getCurrentDate());
- model.setValue("/root/main/drinfo/valitodd", "999912312359");
-
- btn_srch.dispatch("DOMActivate"); //조회
-
- model.refresh();
- ]]>
- </script>
- <submission id="TRMRI04100" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp/drlist"/>
- <submission id="TRMRI04101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/drinfo" resultref="/root/tempchkrec"/>
- <submission id="TXMRI04100" mediatype="application/x-www-form-urlencoded" ref="/root/send/drinfo" resultref="/root/main/drlist/drlist"/>
- <submission id="TXMRI04101" mediatype="application/x-www-form-urlencoded" ref="/root/send/drlist" resultref="/root/main/drlist/drlist"/>
- </model>
- </xhtml:head>
- <xhtml:body pagewidth="850" pageheight="500">
- <caption id="caption1" class="tit_2" style="left:0px; top:10px; width:130px; height:13px; ">예외의사등록</caption>
- <line id="line2" class="line_1" style="x1:0px; y1:25px; x2:810px; y2:25px; "/>
- <caption id="caption3" class="cell_1" style="left:0px; top:30px; width:100px; height:20px; ">의사ID</caption>
- <input id="ipt_trgtcd" ref="/root/main/drinfo/trgtcd" class="input_essential" style="left:102px; top:30px; width:100px; height:19px; "/>
- <line id="line6" class="line_3" style="x1:0px; y1:73px; x2:809px; y2:73px; "/>
- <caption id="caption4" class="cell_1" style="left:203px; top:30px; width:100px; height:20px; ">적용시작일자</caption>
- <caption id="caption5" class="cell_1" style="left:405px; top:30px; width:100px; height:20px; ">적용종료일자</caption>
- <input id="ipt_valifromdd" ref="/root/main/drinfo/valifromdd" class="input_essential" inputtype="date" style="left:304px; top:30px; width:100px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/main/drinfo/valifromdd", model.getValue("/root/main/drinfo/valifromdd")+getCurrentTime().substr(0,4));
- ipt_valifromdd.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_valitodd" ref="/root/main/drinfo/valitodd" class="input_essential" inputtype="date" style="left:506px; top:30px; width:100px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/main/drinfo/valitodd", model.getValue("/root/main/drinfo/valitodd")+getCurrentTime().substr(0,4));
- ipt_valitodd.refresh();
- ]]>
- </script>
- </input>
- <caption id="caption6" class="cell_1" style="left:0px; top:52px; width:100px; height:20px; ">비고</caption>
- <line id="line3" class="line_2" style="x1:0px; y1:50px; x2:809px; y2:50px; "/>
- <input id="ipt_hardspec" ref="/root/main/drinfo/trgtcdnm" style="left:102px; top:53px; width:708px; height:19px; "/>
- <caption id="caption7" class="tit_2" style="left:0px; top:100px; width:158px; height:13px; ">예외의사리스트</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:115px; x2:810px; y2:115px; "/>
- <datagrid id="grd_drlist" nodeset="/root/main/drlist/drlist" autoresize="true" caption="의사ID^의사명^적용시작일자^적용종료일자^비고^cdseqno^hardcdno^환자별seq^적용시작일자^적용마감일자" colsep="^" colwidth="60, 60, 90, 90, 465, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:120px; width:810px; height:365px; ">
- <col ref="trgtcd" style="text-align:center; "/>
- <col ref="trgtnm" style="text-align:center; "/>
- <col ref="valifromdd" type="inputdate" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="valitodd" type="inputdate" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="trgtcdnm" type="input"/>
- <col ref="cdseqno" visibility="hidden"/>
- <col ref="hardcdno" visibility="hidden"/>
- </datagrid>
- <button id="btn_save" class="btn4_letter2" style="left:754px; top:3px; width:56px; height:22px; ">
- <caption>등록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //저장항목 필수체크
- if( model.getValue("/root/main/drinfo/trgtcd") == ""){
- messageBox("의사ID는","I003"); //필수입력입니다.
- return;
- }else if( model.getValue("/root/main/drinfo/valifromdd") == "" ){
- messageBox("적용시작일자","I003");
- return;
- }else if( model.getValue("/root/main/drinfo/valitodd") == ""){
- messageBox("적용종료일자","I003");
- return;
- }else{
- if( messageBox("","Q002") == "6"){ //저장하시겠습니까? / 예
- submit("TRMRI04101"); // ID체크
- if( model.getValue("/root/tempchkrec/rtndata/checkmsg") != ''){
- messageBox(model.getValue("/root/tempchkrec/rtndata/checkmsg"),"E");
- return;
- }else{
- model.copyNode("/root/send/drinfo","/root/main/drinfo");
- submit("TXMRI04100");
- model.refresh();
- }
- }
- }
- ]]>
- </script>
- </button>
- <button id="btn_set" class="btn4_letter2" style="left:698px; top:93px; width:56px; height:22px; ">
- <caption>수정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/send/drlist","");
- model.setValue("/root/send/drlist", grd_drlist.getUpdateData());
- submit("TXMRI04101");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_del" class="btn4_letter2" style="left:755px; top:93px; width:56px; height:22px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_drlist.addStatus(grd_drlist.row, "delete");
- model.setValue("/root/send/drlist", grd_drlist.getUpdateData());
- submit("TXMRI04101");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_srch" class="btn1_letter2" style="left:640px; top:93px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- submit("TRMRI04100");
- model.copyNode("/root/main/drlist","/root/temp/drlist");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <select id="chk_endshowyn" ref="/root/send/endshowyn" visibility="visible" overflow="visible" appearance="full" style="left:536px; top:96px; width:95px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>종료된사용자</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <line id="line4" class="line_3" style="x1:0px; y1:486px; x2:809px; y2:486px; "/>
- <caption id="caption2" class="cell_1" style="left:607px; top:30px; width:203px; height:20px; "/>
- </xhtml:body>
- </xhtml:html>
|