123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- # 이의신청 심사자 변경(SPPIR31200)
- # 수정이력 : 2008.11.24 / 최초작성 / 강종태
- # MAPS
- # - TRZBC00101 : 공통코드 - 부서
- # - TRPIR30202 : 심사자 리스트
- # - TRPIR30400 : 대상자 조회
- # - TXPIR31200 : 심사자 수정
- -->
- <?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>
- <obtmlist>
- <gridpirhobtm>
- <checkyn/>
- <obtappyn/>
- <orddeptcd/>
- <docuseqno/>
- <pid/>
- <patnm/>
- <judgdg/>
- <clamno/>
- <acptno/>
- <obtappflag/>
- <instcd/>
- </gridpirhobtm>
- <acptinfo>
- <claminfo/>
- <adjtamt/>
- <obtappamt/>
- <abdamt/>
- <obtappendflag/>
- </acptinfo>
- <deptinfo>
- <cd/>
- <nm/>
- </deptinfo>
- <doctinfo>
- <cd/>
- <nm/>
- </doctinfo>
- <judgrinfo>
- <cd/>
- <nm/>
- </judgrinfo>
- </obtmlist>
- </main>
- <send>
- <send_obtmlist>
- <judgdg/>
- <clamno/>
- <acptno/>
- <setno/>
- <obtappdocuno/>
- <obtappflag/>
- <orddeptcd/>
- <codegubun/>
- <cd/>
- <item/>
- <adjtresncd/>
- <orddrid/>
- <judgrid/>
- <adjtamt/>
- <notidd/>
- <rejudgflag/>
- </send_obtmlist>
- <send_chgjudgrid>
- <judgrid/>
- </send_chgjudgrid>
- <send_updatejudgrid/>
- </send>
- <popupdata>
- <popupmenu>
- <gridadjtord>
- <item>
- <name>삭감처방 의사전송</name>
- <func>fGridCutOrdRgst</func>
- </item>
- <item>
- <name>부제기사유</name>
- <func>fGridAbdResnCdRgst</func>
- </item>
- </gridadjtord>
- </popupmenu>
- </popupdata>
- <init>
- <P0287list>
- <P0287>
- <cdid/>
- <cdnm/>
- </P0287>
- </P0287list>
- </init>
- <searchinfo>
- <orddeptcd/>
- <orddrid/>
- <judgrid/>
- </searchinfo>
- </root>
- </instance>
- <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"/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRPIR30400" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send_obtmlist" resultref="/root/main/obtmlist"/>
- <submission id="TRPIR30202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/source_judgrinfo" resultref="/root/init/U0001list"/>
- <submission id="TXPIR31200" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send"/>
- </model>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- // ###########################
- // PopUp 테스트용 임시 값 설정
-
- // model.setValue("/root/send/send_obtmlist/clamno","2008092401");
- // model.setValue("/root/send/send_obtmlist/acptno","4142019");
- // model.setValue("/root/send/send_obtmlist/judgdg","20081005");
-
- // ###########################
-
- // 1. 공통코드 초기화
- CommCode_Load();
- // 2. 다른화면에서 팝업으로 이 화면을 열었을때 넘어온 파라미터로 대상목록을 조회한다.
- fSearch();
-
- if (grd_pirhobtm.rows > grd_pirhobtm.fixedrows) {
- grd_pirhobtm.row = 1;
- }
-
- // 3. 화면 초기화
- finitialize();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- // 공통코드 Load작업
- function CommCode_Load() {
- // 부서
- zbcfGetCodeList(new Array("P0287"), new Array("/root/init/P0287list"));
-
- // 심사자ID
- submit("TRPIR30202");
-
- model.refresh();
- }
-
- function fSearch() {
- // 조회필수 항목인 심사차수, 접수번호로 CHECK한다.
- if (ipt_judgdg.value != '' && ipt_acptno.value != '' ) {
- submit("TRPIR30400");
- var rowcnt = grd_pirhobtm.rows;
- for ( i = 1; i < rowcnt ; i++ ) {
- model.makeNode("/root/main/obtmlist/gridpirhobtm[" + i + "]/checkyn");
- }
- grd_pirhobtm.rebuild(); // rebuild 해야 이눔이 인식을 한다. 안 하면 지꺼 아닌 줄 안다.
- }
-
- // 조회조건 초기화(전체)
- model.setValue("/root/searchinfo/orddeptcd","A");
- model.setValue("/root/searchinfo/orddrid","A");
- model.setValue("/root/searchinfo/judgrid","A");
- model.refresh();
- }
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- // 초기화
- function finitialize() {
- // form load시에 Default 이신구분을 전체를 선택한다.
- // rdo_obtappflag.select(0);
-
- // 심사분류(의학적심사) 기본 세팅
- // rdo_judgflag.select(1);
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="630" pageheight="540" guideline="605;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:0px; width:605px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:155px; height:13px; ">이의신청 심사자 변경</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:605px; height:507px; ">
- <caption id="caption1" class="tit_2" style="left:5px; top:79px; width:60px; height:13px; ">대상자</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:121px; x2:290px; y2:121px; "/>
- <datagrid id="grd_pirhobtm" nodeset="/root/main/obtmlist/gridpirhobtm" class="datagrid2" caption="변경^과^진료의^명일련^등록번호^수진자^심사자^마감구분^^^^^^^^^^^^" colsep="^" colwidth="40, 55, 122, 60, 76, 75, 81, 37, 100, 100, 100, 100, 100" dataheight="25" defaultrows="0" explorerbar="sortshowmove" extendlastcol="scroll" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="32" rowsep="|" style="left:0px; top:99px; width:600px; height:401px; ">
- <col checkvalue="Y,N" ref="checkyn" type="checkbox"/>
- <col disabled="true" ref="orddeptcd" type="output" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/P0287list/P0287">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="atdoct" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/main/obtmlist/doctinfo">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="docuseqno" style="text-align:center; "/>
- <col disabled="true" ref="pid" style="left:140px; top:32px; width:62px; height:23px; text-align:center; "/>
- <col disabled="true" ref="patnm" style="left:202px; top:32px; width:65px; height:23px; text-align:center; "/>
- <col disabled="true" ref="judgrid" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/U0001list/U0001">
- <label ref="judgrnm"/>
- <value ref="judgrid"/>
- </itemset>
- </choices>
- </col>
- <col ref="obtappendflag" style="text-align:center; "/>
- <col ref="judgdg" visibility="hidden"/>
- <col ref="clamno" visibility="hidden"/>
- <col ref="acptno" visibility="hidden"/>
- <col ref="obtappflag" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_pirhobtm.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <group id="grp_sea" style="left:0px; top:10px; width:600px; height:60px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:600px; height:58px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption2" class="search_name" style="left:7px; top:9px; width:96px; height:17px; ">청구번호 :</caption>
- <button id="button1" class="btn1_letter2" style="left:530px; top:20px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var orddept = model.getValue("/root/searchinfo/orddeptcd");
- var orddrid = model.getValue("/root/searchinfo/orddrid");
- var judgrid = model.getValue("/root/searchinfo/judgrid");
-
- var hiddenyn
- var rowcnt = grd_pirhobtm.rows;
-
- for (var i = 1; i < rowcnt; i++ ) {
- hiddenyn = "N";
-
- if (hiddenyn == "N") {
- if (orddept != "A") {
- if (orddept == model.getValue("/root/main/obtmlist/gridpirhobtm[" + i + "]/orddeptcd")) {
- hiddenyn = "N";
- } else {
- hiddenyn = "Y";
- }
- }
- }
-
- if (hiddenyn == "N") {
- if (orddrid != "A") {
- if (orddrid == model.getValue("/root/main/obtmlist/gridpirhobtm[" + i + "]/atdoct")) {
- hiddenyn = "N";
- } else {
- hiddenyn = "Y";
- }
- }
- }
-
- if (hiddenyn == "N") {
- if (judgrid != "A") {
- if (judgrid == model.getValue("/root/main/obtmlist/gridpirhobtm[" + i + "]/judgrid")) {
- hiddenyn = "N";
- } else {
- hiddenyn = "Y";
- }
- }
- }
-
- if (hiddenyn == "Y") {
- grd_pirhobtm.rowhidden(i) = true;
- } else {
- grd_pirhobtm.rowhidden(i) = false;
- }
- }
-
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:513px; y1:20px; x2:513px; y2:42px; "/>
- <caption id="caption3" class="search_name" style="left:173px; top:9px; width:96px; height:17px; ">접수번호 :</caption>
- <caption id="caption4" class="search_name" style="left:335px; top:9px; width:88px; height:17px; ">심사차수 :</caption>
- <output id="ipt_clamno" ref="/root/send/send_obtmlist/clamno" class="output_search" style="left:93px; top:8px; width:73px; height:19px; "/>
- <output id="ipt_acptno" ref="/root/send/send_obtmlist/acptno" class="output_search" navindex="1" style="left:260px; top:8px; width:73px; height:19px; "/>
- <output id="ipt_judgdg" ref="/root/send/send_obtmlist/judgdg" class="output_search" navindex="2" style="left:422px; top:8px; width:73px; height:19px; "/>
- <select1 id="combo4" ref="/root/searchinfo/orddeptcd" class="combo_search" appearance="minimal" style="left:93px; top:35px; width:73px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/obtmlist/deptinfo">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption16" class="search_name" style="left:7px; top:36px; width:83px; height:17px; ">진 료 과 :</caption>
- <caption id="caption17" class="search_name" style="left:173px; top:36px; width:83px; height:17px; ">진 료 의 :</caption>
- <caption id="caption18" class="search_name" style="left:335px; top:36px; width:93px; height:17px; ">심 사 자 :</caption>
- <select1 id="combo1" ref="/root/searchinfo/orddrid" class="combo_search" appearance="minimal" style="left:260px; top:35px; width:73px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/obtmlist/doctinfo">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="combo2" ref="/root/searchinfo/judgrid" class="combo_search" appearance="minimal" style="left:422px; top:35px; width:73px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/obtmlist/judgrinfo">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="combo3" ref="/root/searchinfo/judgrid" class="combo_search" appearance="minimal" style="left:422px; top:35px; width:73px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/obtmlist/judgrinfo">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- </group>
- <select1 id="combo5" ref="/root/send/send_chgjudgrid/judgrid" class="combo_search" appearance="minimal" style="left:455px; top:76px; width:73px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/U0001list/U0001">
- <label ref="judgrnm"/>
- <value ref="judgrid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // 변경할 심사자ID
- var changeJudgrid = model.getValue("/root/send/send_chgjudgrid/judgrid");
-
- // 범위 선택시 체크박스를 체크하고 그리드의 값을 변경한다.(현재 선택되어 있는 행도 포함)
- for ( var i = 0 ; i < grd_pirhobtm.selectedRows ; i++ )
- {
- // 마감구분이 Y(심사자별 완료), S(최종마감)의 경우는 변경 금지
- if (model.getValue("/root/main/obtmlist/gridpirhobtm[" + (grd_pirhobtm.selectedRow(i) - grd_pirhobtm.fixedRows +1) + "]/obtappendflag") == "Y" ||
- model.getValue("/root/main/obtmlist/gridpirhobtm[" + (grd_pirhobtm.selectedRow(i) - grd_pirhobtm.fixedRows +1) + "]/obtappendflag") == "S") {
- messageBox("마감된 청구서는 변경 할 수 ","I004"); // 없습니다.
- return;
- } else {
- model.setValue("/root/main/obtmlist/gridpirhobtm[" + (grd_pirhobtm.selectedRow(i) - grd_pirhobtm.fixedRows +1) + "]/judgrid",changeJudgrid);
- model.setValue("/root/main/obtmlist/gridpirhobtm[" + (grd_pirhobtm.selectedRow(i) - grd_pirhobtm.fixedRows +1) + "]/checkyn","Y");
- }
- }
-
- // 그리드 전체를 돌아 댕기면서 체크된 행을 update 설정
- for ( var j = 1 ; j < grd_pirhobtm.rows ; j++ ) {
- // 마감구분이 Y(심사자별 완료), S(최종마감)의 경우는 변경 금지
- if ( model.getValue("/root/main/obtmlist/gridpirhobtm[" + j + "]/checkyn") == "Y" ) {
- if (model.getValue("/root/main/obtmlist/gridpirhobtm[" + (grd_pirhobtm.selectedRow(i) - grd_pirhobtm.fixedRows +1) + "]/obtappendflag") == "Y" ||
- model.getValue("/root/main/obtmlist/gridpirhobtm[" + (grd_pirhobtm.selectedRow(i) - grd_pirhobtm.fixedRows +1) + "]/obtappendflag") == "S") {
- messageBox("마감된 청구서는 변경 할 수 ","I004"); // 없습니다.
- return;
- } else {
- model.setValue("/root/main/obtmlist/gridpirhobtm[" + j + "]/judgrid",changeJudgrid);
- grd_pirhobtm.addStatus(j,"update");
- }
- }
- }
- ]]>
- </script>
- </select1>
- <button id="button2" class="btn4_letter2" style="left:540px; top:75px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(!grd_pirhobtm.getUpdateDataXml("update"))
- {
- messageBox("변경 할 심사자가 ","I004"); // 없습니다.
- return;
- } else {
- model.setValue("/root/send/send_updatejudgrid",grd_pirhobtm.getUpdateData());
- if(submit("TXPIR31200")) {
- fSearch();
- }
- }
- ]]>
- </script>
- </button>
- <caption id="caption5" class="search_name" style="left:335px; top:77px; width:112px; height:17px; ">변경 할 심사자</caption>
- </group>
- </xhtml:body>
- </xhtml:html>
|