123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514 |
- <?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>
- <result/>
- <handcappat>
- <handcappatlist/>
- </handcappat>
- </main>
- <send>
- <pid/>
- <update>
- <datalist/>
- </update>
- </send>
- <init>
- <P0307list>
- <P0307>
- <cdnm/>
- <cdid/>
- </P0307>
- </P0307list>
- <P0308list>
- <P0308>
- <cdnm/>
- <cdid/>
- </P0308>
- </P0308list>
- <P0016list>
- <P0016>
- <cdnm/>
- <cdid/>
- </P0016>
- </P0016list>
- <P6578list/>
- </init>
- <hidden/>
- </root>
- </instance>
- <submission id="TRPMC01701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/handcappat"/>
- <submission id="TXPMC01702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/update" resultref="/root/main/result"/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRPAM00105" mediatype="application/x-www-form-urlencoded" method="post"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- zbcfGetCodeList(
- new Array("P0307","P0308","P0016"),
- new Array("/root/init/P0307list","/root/init/P0308list","/root/init/P0016list")
- );
-
- // //2007.7.23 - 이동식 추가
- // //다른곳에서 화면 호출 조회
- // var pid = model.getValue("/root/source/pid");
- // if( pid != ""){
- // ipt_pid.currentText = pid;
- // fSearchPatInfo();
- // }
- //2015/09/14 이정택(과코드 체크하여 행추가, 행삭제, 장애인내역저장 버튼 히든 처리)
- pamfGetCodeList(new Array("P6578"), new Array("/root/init/P6578list"));
- var user_deptcd = getUserInfo("dutplcecd");
- var cnt = getNodesetCount("/root/init/P6578list/P6578[cdid='"+user_deptcd+"' and cdnm='Y']");
- if(cnt>0){
- button8.visible=true; //행추가
- button14.visible=true; //행삭제
- button16.visible=true; //장애인내역저장
- }else{
- button8.visible=false; //행추가
- button14.visible=false; //행삭제
- button16.visible=false; //장애인내역저장
- }
- //2015/09/14 이정택
- ]]>
- </script>
- </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/stringHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../pam/pamcomnweb/js/PAM001.js"/>
- <script type="javascript">
- <![CDATA[
- //장애인환자내역 리스트 submission
- function fSearch(){
-
- // if( model.getValue("/root/main/popupendflag") == "ok" ){
- // model.setValue("/root/send/pid", model.getValue("/root/main/patinfo/patinfolist/pid"));
- // submit("TRPMC01701");
- // var rowCnt = grd_handcappat.rows - grd_handcappat.fixedRows + 1;
-
- // var rowCnt=grd_handcappat.rows
- // alert(rowCnt);
- // if (rowCnt<3){
- // grd_handcappat.deleteItem(rowCnt-1)
- // model.removenode("/root/handcappat/handcappatlist");
- // }
- // }else model.refresh();
- if( model.getValue("/root/main/popupendflag") == "ok" ){
- var pid = model.getValue("/root/main/patinfo/patinfolist/pid");
- /*
- if( pid.length < 6 ){
- messageBox("환자번호가 정확이 입력되지", "E007");
- return false;
- }
- */
- model.setValue("/root/send/pid", pid);
- submit("TRPMC01701");
-
- // var rowCnt = grd_handcappat.rows - grd_handcappat.fixedRows + 1;
- // if(rowCnt < 2){
- // fAddRow();
- // }
- // 차상위2종 장애인정보는 수정불가능하도록 제어 추가
- var cnt = getNodesetCount("/root/main/handcappat/handcappatlist");
-
- for (var i = 1; i <= cnt; i++) {
-
- if (model.getValue("/root/main/handcappat/handcappatlist[" + i + "]/gubun") == "1") {
- grd_handcappat.isReadOnly(i, 0, i, 17) = true;
- }
- }
- }
-
- model.refresh();
- }
-
- //장애인화자내역 그리드에 한 행을 추가하고 숨긴 컬럼 값을 세팅한다.
- function fAddRow(){
-
- var pid = model.getValue("/root/main/patinfo/patinfolist/pid");
- var hngnm = model.getValue("/root/main/patinfo/patinfolist/hngnm");
- grd_handcappat.addRow();
- var bottom = grd_handcappat.bottomRow;
-
- model.setValue("/root/main/handcappat/handcappatlist[" + bottom + "]/pid" , pid);
- model.setValue("/root/main/handcappat/handcappatlist[" + bottom + "]/fromdd" , getCurrentDate());
- // 2015/07/15 행추가시 종료일자가 자동으로 2년이 설정되도록 수정
- // model.setValue("/root/main/handcappat/handcappatlist[" + bottom + "]/todd" , "99991231");
- model.setValue("/root/main/handcappat/handcappatlist[" + bottom + "]/todd" , getDateTime(getCurrentDate().toDate().getAddDate(-1, "D").getAddDate(2, "Y"), "D"));
- // 2015/07/15 행추가시 종료일자가 자동으로 2년이 설정되도록 수정
- model.setValue("/root/main/handcappat/handcappatlist[" + bottom + "]/apppsnnm" , hngnm);
- model.setValue("/root/main/handcappat/handcappatlist[" + bottom + "]/rela" , '1');
- model.setValue("/root/main/handcappat/handcappatlist[" + bottom + "]/bslvflag", 'N');
- return true;
- /*
- if( pid.length >= 5 ){
- grd_handcappat.addRow();
- var bottom = grd_handcappat.bottomRow;
-
- model.setValue("/root/main/handcappat/handcappatlist[" + bottom + "]/pid" , pid);
- return true;
- }
- else{
- messageBox("환자번호가 정확이 입력되지", "E007");
- return false;
- }
- */
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1195;" 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:5px; top:0px; width:189px; height:13px; ">장애인환자관리</caption>
- <caption id="caption4" class="patient_text_black" style="left:922px; top:0px; width:272px; "/>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <line id="line5" class="line_2" style="x1:0px; y1:200px; x2:1194px; y2:200px; "/>
- <line id="line4" class="line_2" style="x1:0px; y1:176px; x2:1194px; y2:176px; "/>
- <line id="line3" class="line_2" style="x1:0px; y1:152px; x2:1194px; y2:152px; "/>
- <line id="line2" class="line_2" style="x1:0px; y1:128px; x2:1194px; y2:128px; "/>
- <line id="line6" class="line_2" style="x1:0px; y1:104px; x2:1194px; y2:104px; "/>
- <caption id="caption1" class="tit_2" style="left:5px; top:56px; width:95px; height:13px; ">전표등록</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:71px; x2:1194px; y2:71px; "/>
- <caption id="caption7" class="cell_1" style="left:0px; top:76px; width:100px; height:23px; vertical-align:middle; ">약품코드</caption>
- <caption id="caption8" class="cell_1" style="left:428px; top:76px; width:100px; height:23px; vertical-align:middle; ">전표종류</caption>
- <button id="button12" class="btn2_letter4" style="left:1085px; top:50px; width:64px; height:19px; ">
- <caption>임시저장</caption>
- </button>
- <button id="button13" class="btn2_letter2" style="left:1152px; top:50px; width:42px; height:19px; ">
- <caption>삭제</caption>
- </button>
- <select1 id="radio1" appearance="full" overflow="visible" style="left:103px; top:79px; width:44px; height:16px; border-style:none; ">
- <choices>
- <item>
- <label>대체</label>
- <value>radio1</value>
- </item>
- </choices>
- </select1>
- <select1 id="radio2" appearance="full" overflow="visible" style="left:203px; top:79px; width:44px; height:16px; border-style:none; ">
- <choices>
- <item>
- <label>입금</label>
- <value>radio1</value>
- </item>
- </choices>
- </select1>
- <select1 id="radio3" appearance="full" overflow="visible" style="left:303px; top:79px; width:44px; height:16px; border-style:none; ">
- <choices>
- <item>
- <label>출금</label>
- <value>radio1</value>
- </item>
- </choices>
- </select1>
- <select1 id="combo1" class="combo_default" appearance="minimal" style="left:531px; top:77px; width:322px; height:19px; ">
- <choices>
- <item>
- <label>combo1</label>
- <value>combo1</value>
- </item>
- </choices>
- </select1>
- <caption id="caption3" class="cell_1" style="left:0px; top:100px; width:100px; height:23px; vertical-align:middle; ">사용부서</caption>
- <caption id="caption5" class="cell_1" style="left:428px; top:100px; width:100px; height:23px; vertical-align:middle; ">작성자</caption>
- <input id="input1" class="input_essential" style="left:103px; top:101px; width:100px; height:19px; "/>
- <button id="button2" class="icon_search" style="left:206px; top:102px; width:16px; height:16px; ">
- <caption/>
- </button>
- <input id="input2" class="input_default" appearance="input" style="left:225px; top:101px; width:200px; height:19px; "/>
- <button id="button3" class="icon_search" style="left:634px; top:102px; width:16px; height:16px; ">
- <caption/>
- </button>
- <input id="input3" class="input_essential" style="left:531px; top:101px; width:100px; height:19px; "/>
- <input id="input4" class="input_default" appearance="input" style="left:653px; top:101px; width:200px; height:19px; "/>
- <select1 id="radio4" appearance="full" overflow="visible" style="left:103px; top:127px; width:44px; height:16px; border-style:none; ">
- <choices>
- <item>
- <label>차변</label>
- <value>radio1</value>
- </item>
- </choices>
- </select1>
- <select1 id="radio5" appearance="full" overflow="visible" style="left:203px; top:127px; width:44px; height:16px; border-style:none; ">
- <choices>
- <item>
- <label>대변</label>
- <value>radio1</value>
- </item>
- </choices>
- </select1>
- <caption id="caption9" class="cell_1" style="left:0px; top:124px; width:100px; height:23px; vertical-align:middle; ">차대구분</caption>
- <caption id="caption10" class="cell_1" style="left:428px; top:124px; width:100px; height:23px; vertical-align:middle; ">계정코드</caption>
- <button id="button6" class="icon_search" style="left:634px; top:126px; width:16px; height:16px; ">
- <caption/>
- </button>
- <input id="input5" class="input_essential" style="left:531px; top:125px; width:100px; height:19px; "/>
- <input id="input6" class="input_default" appearance="input" style="left:653px; top:125px; width:200px; height:19px; "/>
- <button id="button7" class="icon_search" style="left:408px; top:150px; width:16px; height:16px; ">
- <caption/>
- </button>
- <caption id="caption11" class="cell_1" style="left:0px; top:148px; width:100px; height:23px; vertical-align:middle; ">상대처구분</caption>
- <input id="input7" class="input_essential" style="left:256px; top:149px; width:149px; height:19px; "/>
- <input id="input8" class="input_default" appearance="input" style="left:427px; top:149px; width:426px; height:19px; "/>
- <caption id="caption12" class="cell_1" style="left:856px; top:124px; width:100px; height:23px; vertical-align:middle; "/>
- <caption id="caption13" class="cell_1" style="left:856px; top:100px; width:100px; height:23px; vertical-align:middle; "/>
- <caption id="caption14" class="cell_1" style="left:856px; top:76px; width:100px; height:23px; vertical-align:middle; ">금액</caption>
- <input id="input9" class="input_default" appearance="input" style="left:959px; top:101px; width:235px; height:19px; "/>
- <input id="input10" class="input_default" appearance="input" style="left:959px; top:77px; width:235px; height:19px; "/>
- <input id="input11" class="input_default" appearance="input" style="left:959px; top:125px; width:235px; height:19px; "/>
- <select1 id="combo2" class="combo_essential" appearance="minimal" style="left:103px; top:149px; width:150px; height:19px; ">
- <choices>
- <item>
- <label>combo1</label>
- <value>combo1</value>
- </item>
- </choices>
- </select1>
- <caption id="caption15" class="cell_1" style="left:856px; top:148px; width:100px; height:23px; vertical-align:middle; "/>
- <input id="input12" class="input_default" appearance="input" style="left:103px; top:173px; width:321px; height:19px; "/>
- <caption id="caption16" class="cell_1" style="left:0px; top:172px; width:100px; height:23px; vertical-align:middle; ">적요</caption>
- <caption id="caption17" class="cell_1" style="left:856px; top:172px; width:100px; height:23px; vertical-align:middle; ">증빙구분</caption>
- <input id="input13" class="input_default" appearance="input" style="left:959px; top:149px; width:235px; height:19px; "/>
- <button id="button15" class="icon_search" style="left:634px; top:174px; width:16px; height:16px; ">
- <caption/>
- </button>
- <caption id="caption18" class="cell_1" style="left:428px; top:172px; width:100px; height:23px; vertical-align:middle; ">계좌번호</caption>
- <input id="input15" class="input_default" style="left:531px; top:173px; width:100px; height:19px; "/>
- <input id="input16" class="input_default" appearance="input" style="left:653px; top:173px; width:200px; height:19px; "/>
- <caption id="caption19" class="cell_1" style="left:0px; top:196px; width:100px; height:47px; vertical-align:middle; ">기재사항</caption>
- <textarea id="textarea1" style="left:103px; top:197px; width:750px; height:43px; "/>
- <caption id="caption20" class="tit_2" style="left:5px; top:254px; width:100px; height:13px; ">전표 등록내역</caption>
- <line id="line8" class="line_1" style="x1:0px; y1:269px; x2:1194px; y2:269px; "/>
- <input id="output3" class="input_default" inputtype="date" appearance="input" style="left:959px; top:221px; width:235px; height:19px; "/>
- <datagrid id="datagrid1" caption="연번^계정명^상대처^기재사항1^기재사항2^기재사항3^기재사항4^적요^증빙^차변금액^대변금액" colsep="^" colwidth="48, 100, 100, 100, 100, 100, 100, 100, 100, 100, 154" dataheight="25" defaultrows="17" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:274px; width:1194px; height:425px; ">
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- <col/>
- </datagrid>
- <select1 id="combo3" class="combo_default" appearance="minimal" style="left:959px; top:173px; width:235px; height:19px; ">
- <choices>
- <item>
- <label>combo1</label>
- <value>combo1</value>
- </item>
- </choices>
- </select1>
- <input id="input14" class="input_default" appearance="input" style="left:958px; top:705px; width:116px; height:19px; "/>
- <caption id="caption24" class="cell_1" style="left:855px; top:704px; width:100px; height:23px; vertical-align:middle; ">금액합계</caption>
- <line id="line9" class="line_3" style="x1:855px; y1:726px; x2:1194px; y2:726px; "/>
- <line id="line10" class="line_3" style="x1:855px; y1:702px; x2:1194px; y2:702px; "/>
- <output id="input17" class="output_fix" appearance="output" style="left:1077px; top:705px; width:117px; height:19px; "/>
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:702px; width:305px; height:30px; background-color:transparent; border-color:#7cbbdd; border-style:solid; "/>
- <caption id="caption25" class="cell_2" style="left:5px; top:707px; width:70px; height:20px; vertical-align:middle; ">범 례</caption>
- <caption id="caption26" class="color_1" style="left:95px; top:709px; width:15px; height:15px; vertical-align:middle; "/>
- <caption id="caption27" style="left:113px; top:710px; width:50px; height:14px; vertical-align:middle; ">차대구분</caption>
- <caption id="caption30" class="color_3" style="left:180px; top:708px; width:15px; height:15px; vertical-align:middle; "/>
- <caption id="caption31" style="left:198px; top:709px; width:26px; height:14px; vertical-align:middle; ">차변</caption>
- <caption id="caption32" class="color_4" style="left:245px; top:708px; width:15px; height:15px; vertical-align:middle; "/>
- <caption id="caption33" style="left:263px; top:709px; width:26px; height:14px; vertical-align:middle; ">대변</caption>
- <line id="line11" class="line_2" style="x1:856px; y1:224px; x2:1194px; y2:224px; "/>
- <caption id="caption29" class="cell_1" style="left:856px; top:220px; width:100px; height:23px; vertical-align:middle; ">전표승인일자</caption>
- <line id="line7" class="line_3" style="x1:0px; y1:242px; x2:1194px; y2:242px; "/>
- <caption id="caption28" class="cell_1" style="left:856px; top:196px; width:100px; height:23px; vertical-align:middle; ">승인정보</caption>
- <output id="output4" class="output_fix" style="left:959px; top:197px; width:235px; height:19px; "/>
- </group>
- <group id="group2" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <group id="group6" style="left:0px; top:200px; width:1195px; height:544px; ">
- <datagrid id="grd_handcappat" nodeset="/root/main/handcappat/handcappatlist" visibility="visible" autoresize="true" caption="구분^취득일자^종료일자^장애구분^장애급수^관계^신청자명^장애인카드번호^참고사항^최초등록정보^최초등록정보^최종수정일시^최종수정일시^기초생활수급^순번^환자등록번호^old장애구분^old종료일자^신청자명^관계" colsep="^" colwidth="83, 90, 90, 80, 80, 60, 70, 120, 220, 120, 60, 120, 60, 80, 46, 100, 100, 100" dataheight="25" defaultrows="2" mergecellsfixedrows="byrowrec" rowheader="update" rowheight="25" rowsep="|" style="left:1px; top:30px; width:1194px; height:508px; ">
- <col disabled="true" ref="gubun" type="combo" visibility="hidden" style="text-align:center; ">
- <choices>
- <item>
- <label>차상위</label>
- <value>1</value>
- </item>
- <item>
- <label>급여</label>
- <value>2</value>
- </item>
- <item>
- <label>기타</label>
- <value>3</value>
- </item>
- </choices>
- </col>
- <col ref="fromdd" type="inputdate" style="text-align:center; "/>
- <col ref="todd" type="inputdate" style="text-align:center; "/>
- <col ref="handcapflag" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/P0307list/P0307">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="handcapgrde" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/P0308list/P0308">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="rela" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/P0016list/P0016">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="apppsnnm" type="input" style="text-align:center; "/>
- <col ref="handcapcardno" type="input"/>
- <col imemode="hangul" ref="remfact" type="input"/>
- <col ref="fstrgstdt" visibility="hidden" format="yyyy-mm-dd hh:nn:ss" style="text-align:center; "/>
- <col ref="fstrgstrnm" visibility="hidden" style="text-align:center; "/>
- <col ref="lastupdtdt" format="yyyy-mm-dd-hh:nn:ss" style="left:941px; top:23px; width:150px; height:23px; text-align:center; "/>
- <col ref="lastupdtrnm" style="left:1091px; top:23px; width:100px; height:23px; text-align:center; "/>
- <col ref="bslvflag" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>예</label>
- <value>Y</value>
- </item>
- <item>
- <label>아니오</label>
- <value>N</value>
- </item>
- </choices>
- </col>
- <col ref="seqno" visibility="hidden"/>
- <col ref="pid" visibility="hidden"/>
- <col ref="oldhandcapflag" visibility="hidden"/>
- <col ref="oldtodd" visibility="hidden"/>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- var curRow=grd_handcappat.row;
- var curCol=grd_handcappat.col;
- if( curCol == grd_handcappat.colRef("rela") ){
- var strValue=grd_handcappat.textmatrix(curRow,curCol);
-
- if (strValue=="1" )
- {
- var varhngnm = model.getValue("/root/main/patinfo/patinfolist/hngnm");
- grd_handcappat.textmatrix(curRow,curCol+1)=varhngnm;
- }else
- {
- grd_handcappat.textmatrix(curRow,curCol+1)="";
- }
- }
-
- ]]>
- </script>
- <script type="javascript" ev:event="onentercell">
- <![CDATA[
- // col@type = "input" 일 경우 onentercell시점에 EditMode 상태 만들기
- if (grd_handcappat.colType(grd_handcappat.col) == "input") {
- grd_handcappat.editCell();
- }
- ]]>
- </script>
- </datagrid>
- <caption id="caption46" class="tit_2" style="left:5px; top:10px; width:152px; height:14px; ">장애인환자내역 리스트</caption>
- <line id="line18" class="line_1" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
- <button id="button8" class="btn2_letter3" style="left:984px; top:5px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fAddRow();
- ]]>
- </script>
- </button>
- <button id="button14" class="btn5_letter3" style="left:1040px; top:5px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(messageBox("선택한 장애인 내역을", "Q001") != 6) return;
-
- var cur_row = grd_handcappat.row;
- if( cur_row > 0 ){
- //디비에 저장되지 않은 데이타는 그냥 삭제한다.
- if (grd_handcappat.rowStatus(cur_row) == "1" || grd_handcappat.rowStatus(cur_row) == "3" ){
- grd_handcappat.deleteItem(cur_row);
-
- model.refresh();
- return;
- }
-
- // 차상위2종 장애인의 경우 삭제불가
- if (model.getValue("/root/main/handcappat/handcappatlist[" + cur_row + "]/gubun") == "1") {
- messageBox("차상위2종 장애인정보는 삭제할 수 없습니다.", "E999");
- return;
- }
-
- grd_handcappat.addStatus( cur_row, "delete");
- model.setValue("/root/send/update/datalist", grd_handcappat.getUpdateData("delete"));
-
- if ( submit("TXPMC01702") ) {
- grd_handcappat.deleteItem( cur_row );
- grd_handcappat.rebuild();
- }else grd_handcappat.removeStatus( cur_row, "delete");
-
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <button id="button16" class="btn5_letter7" style="left:1095px; top:5px; width:97px; height:19px; ">
- <caption>장애인내역저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- model.setValue("/root/send/update/datalist",grd_handcappat.getUpdateData());
-
- if ( submit("TXPMC01702") ) {
- // grd_handcappat.clearStatus(); // submit() 성공하면 그리드의 i,u,d 상태 제거
- // model.refresh();
- var pid = model.getValue("/root/main/patinfo/patinfolist/pid");
- model.setValue("/root/send/pid", pid);
-
- submit("TRPMC01701");
- }
- ]]>
- </script>
- </button>
- <caption id="caption2" style="left:180px; top:9px; width:760px; height:20px; color:#ff0000; ">* 2015년 10월 1일자로 차상위2종 / 의료급여2종에 대한 장애인여부만 자격조회를 통해 조회가능합니다. 세부내용 장애인 등록증 확인 필요!!!</caption>
- </group>
- <import id="import1" src="../../../pam/patinfomngtweb/xrw/SSPMC00100_인적사항.xrw" style="left:0px; top:0px; width:1195px; height:199px; "/>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:757px; width:1195px; height:27px; ">
- <button id="button10" class="btn4_letter3" style="left:1126px; top:5px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.resetInstanceNode("/root/main/handcappat/handcappatlist");
- model.resetInstanceNode("/root/main/patinfo/patinfolist");
-
- model.setFocus("ipt_pid");
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|