123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403 |
- <?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>Untitle</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <lrgcdlist>
- <partgrupcd>
- <basecd/>
- <basecdflagdesc/>
- </partgrupcd>
- </lrgcdlist>
- <mdlcdlist>
- <partcd>
- <basecdflagdesc/>
- <basecd/>
- </partcd>
- </mdlcdlist>
- <smlcdlist>
- <diagcd>
- <diagcd/>
- <termengnm/>
- <partgrupcd/>
- <partcd/>
- <partdetlcd/>
- <partdetlnm/>
- <suppdeptcd/>
- </diagcd>
- <partdetlcd>
- <basecd/>
- <basecdflagdesc/>
- </partdetlcd>
- </smlcdlist>
- </main>
- <send>
- <lrgcd/>
- <mdlcd/>
- <globalinstance>
- <instance1/>
- </globalinstance>
- <req>
- <data/>
- </req>
- <partdetlcd/>
- </send>
- <init/>
- <hidden>
- <diaglist>
- <diagcd/>
- </diaglist>
- </hidden>
- <temp>
- <diagcdlist>
- <diagcd/>
- <diagnm/>
- </diagcdlist>
- </temp>
- </root>
- </instance>
- <submission id="TRAOB00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/lrgcdlist"/>
- <submission id="TRAOB00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/mdlcdlist"/>
- <submission id="TRAOB00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/smlcdlist"/>
- <submission id="TRAOB00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/smlcdlist"/>
- <submission id="TXAOB00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden"/>
- <submission id="TXAOB00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- aezfSetSuppDeptcd();
-
- model.removeNodeset("/root/main/lrgcdlist/partgrupcd");
- model.removeNodeset("/root/main/mdlcdlist/partcd");
- model.removeNodeset("/root/main/smlcdlist/diagcd");
- model.refresh();
- ]]>
- </script>
- </model>
- </xhtml:head>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
- <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:1194px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:137px; height:14px; background-image:../../../com/commonweb/images/tit_bullet1.gif; ">상병분류관리</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <group id="grp_sea" style="left:0px; top:10px; width:1154px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1151; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_sea" class="btn1_letter2" style="left:1072px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset("/root/main/mdlcdlist");
- model.removeNodeset("/root/main/smlcdlist");
- model.removeNodeset("/root/main/lrgcdlist/partgrupcd");
- model.removeNodeset("/root/main/mdlcdlist/partcd");
- model.removeNodeset("/root/main/smlcdlist/diagcd");
- model.removeNodeset("/root/main/smlcdlist/partdetlcd");
- grd_partcd.cellStyle("background-image", grd_partcd.row, 1) = "../../../com/commonweb/images/icon_n.gif";
- submit("TRAOB00101");
-
- grd_partgrupcd.isReadOnly(grd_partgrupcd.topRow,1, grd_partgrupcd.bottomRow, 1) = true;
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1062px; y1:7px; x2:1062px; y2:29px; "/>
- <caption id="caption2" class="search_name" style="left:15px; top:8px; width:99px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">대분류코드 :</caption>
- <input id="ipt_basecd" ref="/root/send/lrgcd" class="input_search" imemode="alpha" _chartype="upper" style="left:120px; top:8px; width:135px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- inputEnterKey("btn_sea","DOMActivate");
- ]]>
- </script>
- </input>
- </group>
- <line id="line1" class="line_1" style="x1:0px; y1:72px; x2:254; y2:71px; "/>
- <line id="line2" class="line_1" style="x1:565px; y1:387px; x2:1155px; y2:387px; "/>
- <caption id="caption1" class="tit_2" style="left:5px; top:55px; width:120px; height:14px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">상병코드 대분류</caption>
- <caption id="caption3" class="tit_2" style="left:564px; top:371px; width:120px; height:14px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">상병명 소분류</caption>
- <datagrid id="grd_diagcd" nodeset="/root/main/smlcdlist/diagcd" caption="상병코드^상병명^소분류^partdetlcd^대분류^일련번호^suppdeptcd" colsep="^" colwidth="102, 345, 100, 100, 0" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:564px; top:391px; width:591px; height:324px; ">
- <col ref="diagcd" type="inputbutton" _key="true"/>
- <col ref="diagnm"/>
- <col ref="partdetlnm"/>
- <col ref="partdetlcd" visibility="hidden"/>
- <col ref="suppdeptcd"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- /*
- var image = grd_diagcd.cellStyle("background-image", grd_diagcd.row, 1);
- image = image.substr(image.length - 10, image.length);
- if(image != "icon_i.gif" && image != "icon_d.gif")
- grd_diagcd.cellStyle("background-image", grd_diagcd.row, 1) = "../../../com/commonweb/images/icon_u.gif";
- */
- ]]>
- </script>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- if(grd_diagcd.rowStatus(grd_diagcd.row) == 1) {
-
- if (grd_diagcd.col == grd_diagcd.colRef("partdetlcd")) {
-
- }else if (grd_diagcd.col == grd_diagcd.colRef("diagcd")) {
-
- model.makeNode("/root/temp/diagcdlist/diagcd");
- modal( "SPAOB00200");
-
- if ( model.getValue("/root/temp/diagcdlist/diagcd") != "") {
- grd_diagcd.valueMatrix(grd_diagcd.row, grd_diagcd.colRef("diagcd")) = model.getValue("/root/temp/diagcdlist/diagcd");
- grd_diagcd.valueMatrix(grd_diagcd.row, grd_diagcd.colRef("diagnm")) = model.getValue("/root/temp/diagcdlist/diagnm");
- grd_diagcd.valueMatrix(grd_diagcd.row, grd_diagcd.colRef("suppdeptcd")) = model.getValue("/root/send/globalinstance/instance1");
- model.refresh();
- }
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_diagcd.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <line id="line3" class="line_1" style="x1:258px; y1:72px; x2:557px; y2:71px; "/>
- <caption id="caption4" class="tit_2" style="left:258px; top:55px; width:127px; height:13px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">상병코드 중분류</caption>
- <datagrid id="grd_partgrupcd" nodeset="/root/main/lrgcdlist/partgrupcd" caption="대분류" colsep="^" colwidth="230" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:75px; width:255px; height:640px; ">
- <col ref="basecdflagdesc" type="input"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if (grd_partgrupcd.isCell(event.target) && grd_partgrupcd.row >= grd_partgrupcd.fixedRows) {
- var partgrupcd = model.getValue("/root/main/lrgcdlist/partgrupcd[" + grd_partgrupcd.row + "]/basecd");
- var partcd = model.getValue("/root/main/mdlcdlist/partcd[" + grd_partcd.row + "]/basecd");
-
- model.setValue("/root/send/lrgcd",partgrupcd);
- model.setValue("/root/send/mdlcd",partcd);
-
- model.removeNodeset("/root/main/mdlcdlist/partcd");
- model.removeNodeset("/root/main/smlcdlist/diagcd");
- model.removeNodeset("/root/main/smlcdlist/partdetlcd");
- submit("TRAOB00102");
-
- model.setValue("/root/send/lrgcd","");
- grd_partcd.isReadOnly(grd_partcd.topRow,1, grd_partcd.bottomRow, 1) = true;
- model.refresh();
-
- }
- ]]>
- </script>
- </datagrid>
- <datagrid id="grd_partcd" nodeset="/root/main/mdlcdlist/partcd" caption="중분류^caption1" colsep="^" colwidth="255, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:258px; top:75px; width:300px; height:640px; ">
- <col ref="basecdflagdesc" type="input"/>
- <col ref="basecd" visibility="hidden"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if (grd_partcd.isCell(event.target) && grd_partcd.row >= grd_partcd.fixedRows) {
- var partgrupcd = model.getValue("/root/main/lrgcdlist/partgrupcd[" + grd_partgrupcd.row + "]/basecd");
- var partcd = model.getValue("/root/main/mdlcdlist/partcd[" + grd_partcd.row + "]/basecd");
-
- model.setValue("/root/send/lrgcd",partgrupcd);
- model.setValue("/root/send/mdlcd",partcd);
-
- model.removeNodeset("/root/main/smlcdlist/diagcd");
- model.removeNodeset("/root/main/smlcdlist/partdetlcd");
- submit("TRAOB00103");
-
- //model.setValue("/root/send/lrgcd", "");
- //model.setValue("/root/send/mdlcd", "");
- grd_diagcd.isReadOnly(grd_diagcd.topRow,2, grd_diagcd.bottomRow, 2) = true;
-
- model.refresh();
- }
- ]]>
- </script>
- </datagrid>
- <button id="btn_grdadd" class="btn2_letter3" disable.background-image="../../../com/commonweb/images/dis_btn2_letter3.gif" style="left:1046px; top:366px; width:53px; height:19px; background-image:../../../com/commonweb/images/btn2_letter3.gif; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(grd_partdetlcd.row < 1)
- {
- messageBox("상세부위를 선택하신후에 행추가가 가능합니다.", "I");
- return;
- }
-
- grd_diagcd.addRow();
- grd_diagcd.row = grd_diagcd.bottomRow;
-
- var partdetlcd = model.getValue("/root/main/smlcdlist/partdetlcd[" + grd_partdetlcd.row + "]/basecd");
- var partdetlnm = model.getValue("/root/main/smlcdlist/partdetlcd[" + grd_partdetlcd.row + "]/basecdflagdesc");
-
- model.setValue("/root/main/smlcdlist/diagcd[" + grd_diagcd.row + "]/partdetlcd",partdetlcd);
- model.setValue("/root/main/smlcdlist/diagcd[" + grd_diagcd.row + "]/partdetlnm",partdetlnm);
-
- model.refresh();
- //model.setValue("/root/main/bodypartlist2/diagcdlist["+grd_diagcd.row+"]/partcd",model.getValue("/root/main/bodypartlist1/partcdlist["+grd_partcd.row+"]/partcd"));
- //grd_diagcd.cellStyle("background-image", grd_diagcd.row, 1) = "../../../com/commonweb/images/icon_i.gif";
- ]]>
- </script>
- </button>
- <button id="btn_grddel" class="btn2_letter3" disable.background-image="../../../com/commonweb/images/dis_btn2_letter3.gif" style="left:1102px; top:366px; width:53px; height:19px; background-image:../../../com/commonweb/images/btn2_letter3.gif; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- deleteSelectedRows(grd_diagcd, true);
- //var row = grd_diagcd.row;
- //grd_diagcd.addStatus(row, "delete");
- //grd_diagcd.cellStyle("background-image", grd_diagcd.row, 1) = "../../../com/commonweb/images/icon_d.gif";
- ]]>
- </script>
- </button>
- <datagrid id="grd_partdetlcd" nodeset="/root/main/smlcdlist/partdetlcd" caption="소분류" colsep="^" colwidth="544" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:565px; top:76px; width:590px; height:287px; ">
- <col ref="basecdflagdesc"/>
- <col ref="basecd" visibility="hidden"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- if(!(grd_partdetlcd.row > 0))
- {
- return;
- }
- if (grd_partdetlcd.isCell(event.target) > 0) {
- var row = grd_partdetlcd.row;
- var partdetlcd = model.getValue("/root/main/smlcdlist/partdetlcd[" + grd_partdetlcd.row + "]/basecd");
- var partdetlnm = model.getValue("/root/main/smlcdlist/partdetlcd[" + grd_partdetlcd.row + "]/basecdflagdesc");
-
- model.setValue("/root/send/partdetlcd",partdetlcd);
-
- model.removeNodeset("/root/main/smlcdlist/diagcd");
- submit("TRAOB00103");
- grd_partdetlcd.row = row;
- model.setValue("/root/send/partdetlcd","");
- model.refresh();
-
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_partdetlcd.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <caption id="caption5" class="tit_2" style="left:565px; top:53px; width:127px; height:14px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">상병코드 소분류</caption>
- <line id="line4" class="line_1" style="x1:565px; y1:70px; x2:1154px; y2:70px; "/>
- <button id="btn_save" class="btn4_letter2" disable.background-image="../../../com/commonweb/images/dis_btn4_letter2.gif" style="left:1100px; top:720px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMFocusIn">
- <![CDATA[
- checkKeyColumn("grd_diagcd");
- ]]>
- </script>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- /*
- var i;
-
- if ( messageBox("","Q002")==6 )
- {
- //대분류만 수정
- if(getGridUpdateData(grd_partcd) != "" && getGridUpdateData(grd_diagcd) == "" )
- {
-
- model.setValue("/root/send/data", grd_partcd.getUpdateData());
-
- submit("TXAOB00101");
-
-
- submit("TRAOB00101");
-
- for(i=1; i < grd_partcd.rows ; i++)
- {
- grd_partcd.cellStyle("background-image", i, 1) = "../../../com/commonweb/images/icon_n.gif";
- }
-
- model.refresh();
- }
- //소분류만 수정
- else if( getGridUpdateData(grd_partcd) == "" && getGridUpdateData(grd_diagcd) != "" )
- {
-
-
- model.setValue("/root/send/data", grd_diagcd.getUpdateData());
-
- submit("TXAOB00102");
-
- submit("TRAOB00102");
- for(i=1; i < grd_diagcd.rows ; i++)
- {
- grd_diagcd.cellStyle("background-image", i, 1) = "../../../com/commonweb/images/icon_n.gif";
- }
- model.refresh();
- }
- //대분류,소분류 수정
- else if( getGridUpdateData(grd_partcd) != "" && getGridUpdateData(grd_diagcd) != "" )
- {
-
- model.setValue("/root/send/data", grd_partcd.getUpdateData());
- submit("TXAOB00101");
-
- submit("TRAOB00101");
-
- model.setValue("/root/send/data", grd_diagcd.getUpdateData());
-
- submit("TXAOB00102");
-
- submit("TRAOB00102");
-
- for(i=1; i < grd_diagcd.rows ; i++)
- {
- grd_diagcd.cellStyle("background-image", i, 1) = "../../../com/commonweb/images/icon_n.gif";
-
- }
- for(i=1; i < grd_partcd.rows ; i++)
- {
- grd_partcd.cellStyle("background-image", i, 1) = "../../../com/commonweb/images/icon_n.gif";
-
- }
- model.refresh();
-
-
- }
- }
- else {
- submit("TRAEB00102");
- model.refresh();
- return;
- } */
-
- var update = getGridUpdateData(grd_diagcd);
-
- if(update == ""){
- messageBox("업데이트 정보가 없습니다.", "I");
- } else {
- model.setValue("/root/send/req/data",update);
-
- submit("TXAOB00101");
- }
-
-
- var row = grd_partdetlcd.row;
- var partdetlcd = model.getValue("/root/main/smlcdlist/partdetlcd[" + grd_partdetlcd.row + "]/basecd");
- var partdetlnm = model.getValue("/root/main/smlcdlist/partdetlcd[" + grd_partdetlcd.row + "]/basecdflagdesc");
-
- model.setValue("/root/send/partdetlcd",partdetlcd);
-
- model.removeNodeset("/root/main/smlcdlist/diagcd");
- submit("TRAOB00103");
- grd_partdetlcd.row = row;
- model.setValue("/root/send/partdetlcd","");
- model.refresh();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|