123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678 |
- <?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>
- <![CDATA[]]>
- <xhtml:title>타기관채취스케쥴</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <patientscheinfo>
- <patientscheinfo>
- <pid/>
- <hngnm/>
- <sex/>
- <age/>
- <boneassocd/>
- <trnptschedd/>
- <trnptscherem/>
- <updttrnptschedd/>
- <flag/>
- </patientscheinfo>
- </patientscheinfo>
- <patientlist>
- <patientlist>
- <pid/>
- <hngnm/>
- <boneassocd/>
- <trnptscherem/>
- </patientlist>
- </patientlist>
- <popupendflag/>
- <patinfo>
- <patinfolist>
- <pid/>
- <hngnm/>
- <rrgstno1/>
- <rrgstno2/>
- <sex/>
- <cntctel/>
- <mpphontel/>
- <zipcd1/>
- <zipcd2/>
- <zipcdseq/>
- <cntcaddr/>
- <email/>
- <age/>
- <addr/>
- <dethdd/>
- <indschacptstat/>
- <procernm/>
- <pcntctel/>
- </patinfolist>
- </patinfo>
- <trnptdairymemo>
- <trnptdairymemo>
- <memoiptdt/>
- <memocnts/>
- </trnptdairymemo>
- </trnptdairymemo>
- </main>
- <send>
- <patientscheinfo>
- <patientscheinfo>
- <pid/>
- <hngnm/>
- <sex/>
- <age/>
- <boneassocd/>
- <trnptschedd/>
- <trnptsrchrem/>
- <updttrnptschedd/>
- <flag/>
- </patientscheinfo>
- </patientscheinfo>
- <srchinfo>
- <trnptschedd/>
- <pid/>
- </srchinfo>
- <flag/>
- <schememo>
- <memolist/>
- </schememo>
- </send>
- <init>
- <cmbinfo>
- <boneassocd>
- <A0164>
- <cdid/>
- <cdnm/>
- </A0164>
- </boneassocd>
- <sex>
- <P0313>
- <cdid/>
- <cdnm/>
- </P0313>
- </sex>
- </cmbinfo>
- </init>
- <hidden>
- <calendar>
- <year/>
- <month/>
- <weeklist>
- <list>
- <sun/>
- <mon/>
- <tue/>
- <wed/>
- <thu/>
- <fri/>
- <sat/>
- <sun_memo/>
- <mon_memo/>
- <tue_memo/>
- <wed_memo/>
- <thu_memo/>
- <fri_memo/>
- <sat_memo/>
- </list>
- </weeklist>
- </calendar>
- <message>
- <str1/>
- </message>
- <item>
- <count/>
- </item>
- <convey>
- <pamcombo>1</pamcombo>
- </convey>
- </hidden>
- <temp>
- <templist>
- <calendarlist>
- </calendarlist>
- </templist>
- <selectrow/>
- <tempcodeinfo/>
- <tempcodeinfo2/>
- </temp>
- <out/>
- </root>
- </instance>
- <script type="javascript" src="../../../ast/hsctweb/js/bmtcommon.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- initCalendar();
- //zbcfGetCodeList( new Array("A0164", "P0313"), new Array("/root/init/cmbinfo/boneassocd", "/root/init/cmbinfo/sex") );
- zbcfGetCodeList( new Array("P0313"), new Array("/root/init/cmbinfo/sex") );
- //BMT 코드성 데이터 조회.(기존의 공통코드로 사용했던것들을 BMT에서 관리하도록 수정 후)
- aboGetCodeList(new Array("A0164"), new Array("/root/init/cmbinfo/boneassocd") );
- fGetMonthRecipientList();
-
- btn_save.disabled = !checkAuth("X");
- btn_del.disabled = !checkAuth("X");
-
- submit("TRABO02004"); //메모 조회(날짜에 상관없이 모든 메모를 보여준다.
- ]]>
- </script>
- <submission id="TRABO02001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchinfo" replace="instance" resultref="/root/temp/templist"/>
- <submission id="TRABO02002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchinfo" replace="instance" resultref="/root/main/patientlist"/>
- <submission id="TRABO02004" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchinfo" replace="instance" resultref="/root/main/trnptdairymemo"/>
- <submission id="TXABO02002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/schememo" replace="instance" resultref="/root/out"/>
- <submission id="TXABO02001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/patientscheinfo" replace="instance" resultref="root/out"/>
- <submission id="TRABO02003" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchinfo" replace="instance" resultref="/root/main/patientscheinfo"/>
- <submission id="TRABO02103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/tempcodeinfo"/>
- </model>
- <script type="javascript">
- <![CDATA[
- /* @group : 타기관 채취 스케줄관리
- * @ver : 2007.11.20
- * @by : 남수현
- * @type : function
- * @access : public
- * @desc : 달력 초기화
- * @param :
- */
- function initCalendar() {
- var curDate = getCurrentDate().toDate();
- model.setValue("/root/hidden/calendar/year", curDate.getDateFormat('YYYY'));
- model.setValue("/root/hidden/calendar/month", curDate.getDateFormat('MM'));
- model.refresh();
- setCalendar(curDate);
- }
- /* @group : 타기관 채취 스케줄관리
- * @ver : 2007.11.20
- * @by : 남수현
- * @type : function
- * @access : public
- * @desc : 달력 처리
- * @param :
- */
- function setCalendar(dateObj) {
- // 그리드 초기화
- model.removeNodeset("/root/hidden/calendar/weeklist/list");
- dateObj.setDate(1);
- var startDay = dateObj.getDay();
- var days = dateObj.getMonthDay();
- var rows = Math.ceil( ( startDay + days ) / 7 );
- for( var i = 0; i < rows; i++ ) {
- grd_calendar.addRow(false);
- }
- grd_calendar.rebuild();
- var rowIndex = grd_calendar.fixedRows;
- var colIndex = startDay;
- for( var i = 1; i <= days; i++ ) {
- grd_calendar.valueMatrix(rowIndex, colIndex) = i;
- colIndex++;
- if( colIndex == 7 ) {
- colIndex = 0;
- rowIndex++;
- }
- }
- }
- /* @group : 타기관 채취 스케줄관리
- * @ver : 2007.11.20
- * @by : 남수현
- * @type : function
- * @access : public
- * @desc : 달력 연/월 변경시 처리
- * @param : flagValue( -1, 1 ), flagMonthYear( 'M', 'Y')
- */
- function setCalendarDate(flagValue, flagMonthYear) {
- var isMonth = model.getValue("/root/hidden/calendar/month");
- var isYear = model.getValue("/root/hidden/calendar/year");
- var isDate = (isYear+isMonth+1).toDate().getAddDate(flagValue, flagMonthYear);
- model.setValue("/root/hidden/calendar/year", isDate.getDateFormat('YYYY'));
- model.setValue("/root/hidden/calendar/month", isDate.getDateFormat('MM'));
- model.refresh();
- setCalendar(isDate);
- fGetMonthRecipientList();
- }
- function setCellColor(gridObj) {
-
- var calRow = gridObj.row;
- var calCol = gridObj.col;
-
- if( calCol < 7 )
- calCol += 7;
- else
- calCol -= 7;
-
- gridObj.rebuildStyle();
-
- gridObj.cellStyle("background-color", calRow, calCol) = "#daa7d9";
- }
-
- /* @group : 타기관 채취 스케줄관리
- * @ver : 2007.11.20
- * @by : 남수현
- * @type : function
- * @access : public
- * @desc : 달력에 월별 이식환자정보 표시
- * @param :
- */
- function fGetMonthRecipientList(){
- model.removeNodeset("/root/temp/templist");
- model.resetInstanceNode("/root/main/patientlist/patientlist");
- model.resetInstanceNode("/root/main/patientscheinfo/patientscheinfo");
- var sRsrvMon = model.getValue("/root/hidden/calendar/year") + model.getValue("/root/hidden/calendar/month") ;
- model.setValue("/root/send/srchinfo/trnptschedd", sRsrvMon+"%" );
- submit("TRABO02001");
- sNode = instance1.selectSingleNode("/root/temp/templist/calendarlist");
- if( sNode != null ){
- var dd = null ;
- var iCol = null;
- var iRow = null;
- var firstDay = (sRsrvMon+ "01").toDate().getDay();
- sNode = instance1.selectNodes("/root/temp/templist/calendarlist");
- for( var i = 1 ; i <= sNode.length ; i++){
- dd = model.getValue("/root/temp/templist/calendarlist[" +i+ "]/trnptschedd" ) ;
- dd = dd.substring(6,8);
- iCol = ( sRsrvMon + dd).toDate().getDay();
- iRow = Math.ceil( ( firstDay + Number(dd) ) / 7 );
- grd_calendar.valueMatrix(iRow , iCol + 7) = "";
- }
- for( var i = 1 ; i <= sNode.length ; i++){
- dd = model.getValue("/root/temp/templist/calendarlist[" +i+ "]/trnptschedd]/trnptschedd" ) ;
- dd = dd.substring(6,8);
- iCol = ( sRsrvMon + dd).toDate().getDay();
- iRow = Math.ceil( ( firstDay + Number(dd) ) / 7 );
- if( grd_calendar.valueMatrix(iRow , iCol + 7) == ""){
- grd_calendar.valueMatrix(iRow , iCol + 7) = model.getValue("/root/temp/templist/calendarlist[" +i+ "]/hngnm") + " " +
- model.getValue("/root/temp/templist/calendarlist[" +i+ "]/boneassonm") + " " +
- model.getValue("/root/temp/templist/calendarlist[" +i+ "]/trnptscherem");
- } else {
- grd_calendar.valueMatrix(iRow , iCol + 7) = grd_calendar.valueMatrix(iRow , iCol + 7) +"\n"+ model.getValue("/root/temp/templist/calendarlist[" +i+ "]/hngnm" ) + " " +
- model.getValue("/root/temp/templist/calendarlist[" +i+ "]/boneassonm") + " " +
- model.getValue("/root/temp/templist/calendarlist[" +i+ "]/trnptscherem");
- }
- }
- }
- // model.copyNode ("/root/main/monthschedulecnt/monthschedulecnt", "/root/temp/templist/monthschedulecnt");
- model.refresh();
- grd_calendar.rebuild();
- }
- /* @group : 타기관 채취 스케줄관리
- * @ver : 2007.11.20
- * @by : 남수현
- * @type : function
- * @access : public
- * @desc : 일자별 이식예정환자 조회
- * @param :
- */
- function fGetPatientList(){
- var seldate = fGetCalendarDate(grd_calendar);
- model.setValue("/root/send/srchinfo/trnptschedd",seldate);
- model.setValue("/root/send/srchinfo/pid", "");
-
- model.resetInstanceNode("/root/main/patientlist/patientlist");
- model.resetInstanceNode("/root/main/patientscheinfo/patientscheinfo");
- submit("TRABO02002");
- // model.makeValue("/root/main/trnptdairymemo/trnptdairymemo/memocnts", model.getValue("/root/temp/trnptdairymemo/trnptdairymemo/memocnts"));
- cap_seldate.value = seldate + "스케쥴";
- model.refresh();
- }
-
- /* @group : 타기관 채취 스케줄관리
- * @ver : 2007.11.20
- * @by : 남수현
- * @type : function
- * @access : public
- * @desc : 선택한 일자 얻기
- * @param : grdObj( calendar grid control )
- */
- function fGetCalendarDate(grdObj){
- var cal_row = grdObj.row;
- var cal_col = grdObj.col;
- if( cal_col > 6) cal_col -= 7;
- var rsrvdd = "";
- if( cal_row > 0 ){
- var dd = model.getValue( grdObj.nodeset + "[" + cal_row + "]/" + grdObj.colAttribute( cal_col,"ref") ) ;
- if( dd.length < 2 ) {
- dd = "0" + dd;
- }
- rsrvdd = model.getValue("/root/hidden/calendar/year") + model.getValue("/root/hidden/calendar/month") + dd ;
- }
- return rsrvdd;
- }
-
- /* @group : 타기관 채취 스케줄관리
- * @ver : 2007.11.20
- * @by : 남수현
- * @type : function
- * @access : public
- * @desc : 일자별 이식예정환자에서 선택한 환자의 상세정보 SELECT
- * @param :
- */
- function fGetSelectPatientInfo(){
- var idx = grd_patientlist.row ;
- if(idx < 1){
- messageBox("환자를 선택하세요","E999");
- return;
- }
- var vPid = model.getValue("/root/main/patientlist/patientlist[" + idx+ "]/pid");
- if( vPid == "" ){
- messageBox("환자를 선택하세요","E999");
- return ;
- }
- model.setValue("/root/temp/selectrow", idx);
- model.setValue("/root/send/srchinfo/pid" , vPid);
- model.setValue("/root/send/srchinfo/trnptschedd" , model.getValue("/root/main/patientlist/patientlist[" + idx +"]/trnptschedd"));
- submit("TRABO02003");
- // 등록된 리스트에서 선택하면 수정이다.
- model.setValue("/root/main/patientscheinfo/patientscheinfo/flag" , "U");
- model.setValue("/root/main/patientscheinfo/patientscheinfo/updttrnptschedd", model.getValue("/root/main/patientscheinfo/patientscheinfo/trnptschedd"));
- }
- function fGetBaseInfo(){
- //협회
- zbcfGetCodeList( new Array("A0166"),
- new Array("/root/init/baseinfo/asso"));
- submit("TRZBC00101");
- var cur_dt = getCurrentDate() ;
- model.setValue(ipt_asso.attribute("ref"), cur_dt);
-
- model.refresh();
- }
- ]]>
- </script>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- </xhtml:head>
- <xhtml:body guideline="1,1194;2,757;2,784;" style="border-left-style:none; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_biz" scroll="auto" style="left:0px; top:40px; width:1195px; height:744px; ">
- <caption id="caption1" class="tit_2" style="left:5px; top:55px; width:100px; height:13px; ">월별 스케쥴</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:885px; y2:70px; "/>
- <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line13" class="line_4" style="x1:1107px; y1:7px; x2:1107px; y2:29px; "/>
- <button id="btn_sea" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetMonthRecipientList();
- ]]>
- </script>
- </button>
- </group>
- <input id="input21" ref="/root/main/patientscheinfo/patientscheinfo/hngnm" class="input_default" disabled="true" style="left:1019px; top:245px; width:86px; height:19px; "/>
- <line id="line15" class="line_1" style="x1:905px; y1:70px; x2:1194px; y2:70px; "/>
- <caption id="caption4" class="tit_2" style="left:910px; top:200px; width:100px; height:13px; ">스케쥴 관리</caption>
- <line id="line2" class="line_1" style="left:907px; x1:905px; y1:215px; x2:1194px; y2:215px; "/>
- <input id="input2" ref="/root/main/patientscheinfo/patientscheinfo/pid" class="input_essential" style="left:1019px; top:221px; width:86px; height:19px; "/>
- <button id="button33" class="icon_search" style="left:1108px; top:221px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 환자를 검색하면 신규 입력이다.
- model.setValue("/root/main/patientscheinfo/patientscheinfo/flag", "I");
- // 원무의 환자 검색창을 띄운다. (검색조건 디폴트를 등록번호로 해주기 위해 /root/hidden/convey/pamcombo노드에 '1'을 담아 전달.)
- modal("SPPMC02500",0,100,150,"SPPMC02500", "/root/hidden/convey/pamcombo", "/root/send/srchcond");
- if ( model.getValue("/root/main/popupendflag") == "ok" ) {
- model.setValue( "/root/main/patientscheinfo/patientscheinfo/pid" , model.getValue("/root/main/patinfo/patinfolist/pid"));
- model.setValue( "/root/main/patientscheinfo/patientscheinfo/hngnm", model.getValue("/root/main/patinfo/patinfolist/hngnm"));
- model.setValue( "/root/main/patientscheinfo/patientscheinfo/sex" , model.getValue("/root/main/patinfo/patinfolist/sex"));
- model.setValue( "/root/main/patientscheinfo/patientscheinfo/age" , model.getValue("/root/main/patinfo/patinfolist/age"));
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <line id="line4" class="line_2" style="left:907px; x1:905px; y1:242px; x2:1194px; y2:242px; "/>
- <line id="line5" class="line_2" style="left:907px; x1:905px; y1:266px; x2:1194px; y2:266px; "/>
- <line id="line6" class="line_2" style="left:907px; x1:905px; y1:314px; x2:1194px; y2:314px; "/>
- <textarea id="textarea1" ref="/root/main/patientscheinfo/patientscheinfo/trnptscherem" style="left:1019px; top:317px; width:174px; height:167px; "/>
- <group id="grp_calendar" style="left:0px; top:76px; width:885px; height:40px; ">
- <shape id="rectangle1" class="calendar_header" appearance="rectangle" style="left:0px; top:0px; width:885px; height:40px; "/>
- <button id="button31" class="icon_pre_year" style="left:340px; top:12px; width:16px; height:16px; text-align:center; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- setCalendarDate(-1, 'Y');
- ]]>
- </script>
- </button>
- <button id="button32" class="icon_next_year" style="left:515px; top:12px; width:16px; height:16px; text-align:center; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- setCalendarDate(1, 'Y');
- ]]>
- </script>
- </button>
- <button id="btn_premonth" class="icon_pre_month" style="left:359px; top:12px; width:16px; height:16px; text-align:center; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- setCalendarDate(-1, 'M');
- ]]>
- </script>
- </button>
- <button id="button34" class="icon_next_month" style="left:496px; top:12px; width:16px; height:16px; text-align:center; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- setCalendarDate(1, 'M');
- ]]>
- </script>
- </button>
- <output id="opt_year" ref="/root/hidden/calendar/year" class="calendar_output" style="left:385px; top:9px; width:30px; height:19px; text-align:center; "/>
- <output id="opt_month" ref="/root/hidden/calendar/month" class="calendar_output" style="left:435px; top:9px; width:30px; height:19px; text-align:center; "/>
- <caption id="caption2" class="calendar_output" style="left:415px; top:9px; width:20px; height:19px; text-align:center; ">년</caption>
- <caption id="caption3" class="calendar_output" style="left:465px; top:9px; width:20px; height:19px; text-align:center; ">월</caption>
- </group>
- <multilinegrid id="grd_calendar" nodeset="/root/hidden/calendar/weeklist/list" class="gridcalendar" overflow="hidden" autoresize="true" caption="일^월^화^수^목^금^토" colsep="^" colwidth="126, 126, 126, 126, 126, 126, 126" dataheight="48" extendlastcol="noscroll" rowsep="|" selectionmode="free" mergecellsfixedrows="bycolrec" style="left:0px; top:115px; width:885px; height:629px; border-width:1px; ">
- <row>
- <col class="color_sun" ref="sun" style="border-bottom-width:0px; "/>
- <col ref="mon" style="border-bottom-width:0px; "/>
- <col ref="tue" style="border-bottom-width:0px; "/>
- <col ref="wed" style="border-bottom-width:0px; "/>
- <col ref="thu" style="border-bottom-width:0px; "/>
- <col ref="fri" style="border-bottom-width:0px; "/>
- <col class="color_sat" ref="sat" style="border-bottom-width:0px; "/>
- </row>
- <row>
- <col ref="sun_memo" type="input" style="border-top-width:0px; "/>
- <col ref="mon_memo" type="input" style="border-top-width:0px; "/>
- <col ref="tue_memo" type="input" style="border-top-width:0px; "/>
- <col ref="wed_memo" type="input" style="border-top-width:0px; "/>
- <col ref="thu_memo" type="input" style="border-top-width:0px; "/>
- <col ref="fri_memo" type="input" style="border-top-width:0px; "/>
- <col ref="sat_memo" type="input" style="border-top-width:0px; "/>
- </row>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var seldate = fGetCalendarDate(grd_calendar);
- // 날짜가 없는 빈 곳을 클릭하면 처리하지 않는다
- if ( seldate.length == 7 ) {
- return
- }
- setCellColor(grd_calendar);
- fGetPatientList();
-
- ]]>
- </script>
- <script type="javascript" ev:event="onrowchanged">
- <![CDATA[
- setCellColor(grd_calendar);
- ]]>
- </script>
- <script type="javascript" ev:event="oncolchanged">
- <![CDATA[
- setCellColor(grd_calendar);
- ]]>
- </script>
- </multilinegrid>
- <select1 id="combo7" ref="/root/main/patientscheinfo/patientscheinfo/boneassocd" class="combo_default" appearance="minimal" style="left:1019px; top:269px; width:174px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmbinfo/boneassocd/A0164">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <input id="input10" ref="/root/main/patientscheinfo/patientscheinfo/age" class="input_default" disabled="true" style="left:1169px; top:245px; width:25px; height:19px; "/>
- <select1 id="combo10" ref="/root/main/patientscheinfo/patientscheinfo/sex" class="combo_default" disabled="true" appearance="minimal" style="left:1108px; top:245px; width:58px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmbinfo/sex/P0313">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_trnptschedd" ref="/root/main/patientscheinfo/patientscheinfo/trnptschedd" class="input_default" inputtype="date" style="left:1019px; top:293px; width:174px; height:19px; "/>
- <line id="line3" class="line_2" style="left:907px; x1:905px; y1:290px; x2:1194px; y2:290px; "/>
- <caption id="caption13" class="cell_1" style="left:905px; top:292px; width:111px; height:23px; text-align:left; vertical-align:middle; ">이식예정일</caption>
- <caption id="caption7" class="cell_1" style="left:905px; top:220px; width:111px; height:23px; text-align:left; vertical-align:middle; ">등록번호</caption>
- <caption id="caption16" class="cell_1" style="left:905px; top:316px; width:111px; height:170px; text-align:left; vertical-align:middle; ">비고</caption>
- <caption id="caption8" class="cell_1" style="left:905px; top:268px; width:111px; height:23px; text-align:left; vertical-align:middle; ">협회</caption>
- <caption id="caption18" class="cell_1" style="left:905px; top:244px; width:111px; height:23px; text-align:left; vertical-align:middle; ">공여자명</caption>
- <line id="line12" class="line_3" style="left:907px; x1:905px; y1:487px; x2:1194px; y2:487px; "/>
- <caption id="cap_seldate" ref="/root/main/patientlist/seldate" class="tit_2" format="yyyy-mm-dd" style="left:910px; top:55px; width:130px; height:13px; "/>
- <caption id="caption22" style="left:1004px; top:52px; width:40px; height:20px; ">스케쥴</caption>
- <datagrid id="grd_patientlist" nodeset="/root/main/patientlist/patientlist" caption="등록번호^공여자명" colsep="^" colwidth="120, 120" dataheight="23" defaultrows="1" extendlastcol="scroll" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:905px; top:75px; width:289px; height:115px; text-align:center; ">
- <col ref="pid" type="output"/>
- <col ref="hngnm" type="output"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fGetSelectPatientInfo();
- ]]>
- </script>
- </datagrid>
- <caption id="caption5" class="tit_2" style="left:910px; top:497px; width:100px; height:14px; ">memo</caption>
- <line id="line7" class="line_1" style="left:907px; x1:905px; y1:512px; x2:1194px; y2:512px; "/>
- <datagrid id="grd_memo" nodeset="/root/main/trnptdairymemo/trnptdairymemo" caption="등록일자^메모" colsep="^" colwidth="80, 172" dataheight="23" defaultrows="0" extendlastcol="scroll" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:905px; top:517px; width:289px; height:227px; ">
- <col ref="memoiptdt" type="output" format="yyyy-mm-dd"/>
- <col ref="memocnts" type="input"/>
- </datagrid>
- </group>
- <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:200px; height:14px; ">타기관 채취 스케쥴</caption>
- </group>
- <group id="grp_btn" style="left:0px; top:13px; width:1195px; height:27px; ">
- <button id="btn_del" class="btn4_letter2" style="left:1067px; top:5px; width:56px; height:22px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/send/flag", "D");
- model.copyNode("/root/send/patientscheinfo/patientscheinfo", "/root/main/patientscheinfo/patientscheinfo");
- model.setValue("/root/send/patientscheinfo/patientscheinfo/flag", "D");
- if(model.getValue("/root/send/patientscheinfo/patientscheinfo/pid") != ""){
- submit("TXABO02001");
- model.resetInstanceNode("/root/send/patientscheinfo/patientscheinfo");
- }
- setCalendarDate(0, 'M');
- ]]>
- </script>
- </button>
- <button id="btn_save" class="btn4_letter2" style="left:1008px; top:5px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( model.getValue( "/root/main/patientscheinfo/patientscheinfo/trnptschedd") == "" ) {
- messageBox("이식예정일은 반드시 선택해야 합니다", "E999", "");
- return false;
- }
- if ( model.getValue( "/root/main/patientscheinfo/patientscheinfo/pid") == "" ) {
- messageBox("등록번호는 반드시 선택해야 합니다. ", "E999", "");
- return false;
- }
- model.copyNode("/root/send/patientscheinfo/patientscheinfo", "/root/main/patientscheinfo/patientscheinfo");
- submit("TXABO02001");
- fGetMonthRecipientList();
- ]]>
- </script>
- </button>
- <button id="button1" class="btn4_letter3" style="left:1126px; top:5px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- initCalendar();
- ]]>
- </script>
- </button>
- </group>
- <button id="btn_memosave" class="btn5_letter2" style="left:1150px; top:532px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var saveData = grd_memo.getUpdateData();
-
- model.setValue("/root/send/schememo/memolist", saveData);
- submit("TXABO02002");
-
- submit("TRABO02004");
- ]]>
- </script>
- </button>
- <button id="btn_grddel" class="btn2_letter3" style="left:1094px; top:532px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_memo.deleteRow(grd_memo.row);
- ]]>
- </script>
- </button>
- <button id="btn_grdadd" class="btn2_letter3" style="left:1038px; top:532px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(model.getValue("/root/main/trnptdairymemo/trnptdairymemo[" + (grd_memo.rows - 1) + "]/memoiptdt") != (getCurrentDate()+getCurrentTime())){
- grd_memo.addRow();
- model.setValue("/root/main/trnptdairymemo/trnptdairymemo[" + (grd_memo.rows - 1) + "]/memoiptdt", (getCurrentDate()+getCurrentTime()));
- grd_memo.refresh();
- }
- else{
- }
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|