123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMAHB03100.xrw
- * 설 명 : 자동판정관리
- * 설 계 자 : 손주연
- * 작 성 자 : 손주연
- * 작 성 일 : 2007.03.13
- * 수정이력 : 2007.10.04 김다영 화면권한추가
- * 기 타 :
- -->
- <?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>Untitle</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <autocdlist>
- <item>
- <useyn/>
- <healexamflag/>
- <testcd/>
- <testcdseq/>
- <testdesc/>
- <rsltflag/>
- <lowvalue/>
- <highvalue/>
- <cjdgdesc/>
- </item>
- </autocdlist>
- <autocdinfo>
- <item>
- <healexamflag/>
- <testcd/>
- <testcdseq/>
- <testdesc/>
- <rsltflag/>
- <lowvalue/>
- <highvalue/>
- <cjdgdesc/>
- <useyn/>
- <mode/>
- </item>
- </autocdinfo>
- </main>
- <init>
- <baseinfo>
- <srchhealexamflag>
- <cdid/>
- <cdnm/>
- </srchhealexamflag>
- <healexamflag>
- <cdid/>
- <cdnm/>
- </healexamflag>
- </baseinfo>
- </init>
- <send>
- <srchtestcd/>
- <srchhealexamflag/>
- <srchuseyn/>
- </send>
- <hidden>
- <item>
- <count/>
- </item>
- </hidden>
- <autocdinfosend>
- <healexamflag/>
- <testcd/>
- <testcdseq/>
- </autocdinfosend>
- </root>
- </instance>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRAHA03100" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/autocdlist"/>
- <submission id="TRAHA03101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/autocdinfo/item"/>
- <submission id="TRAHA03102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/autocdinfosend" resultref="/root/main/autocdinfo"/>
- <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/utilHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../ast/healexamweb/js/AHA001.js"/>
- <script type="javascript" src="../../../ast/healthexambaseweb/js/healcombolist.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInit();
- fGetBasicCdList();
- fGetAutocdList();
- //fUseynColor();
- ]]>
- </script>
- </model>
- <script type="javascript">
- <![CDATA[
- /**========================================================================================================================================
- * 공통코드 및 검사실 코드 조회
- =========================================================================================================================================*/
- function fGetBasicCdList(){
- //공통코드 콤보 호출
- zbcfGetCodeList(new Array("A0068", "A0068"),new Array("/root/init/baseinfo/srchhealexamflag" ,"/root/init/baseinfo/healexamflag"));
- addComboItem("cmb_srchhealexamflag","전체","","above");
- }
-
- function fGetAutocdList(){
- submit("TRAHA03100");
- fInit(true);
- }
-
- function fInit(vInput){
- if( vInput == false ) {
- model.removeNodeset("/root/main/autocdlist/item");
- }
- model.resetInstanceNode("/root/main/autocdinfo/item");
- cmd_healexamflag.select(0);
- cmb_rsltflag.select(0);
- ipt_testcd.disabled = false;
- ipt_testcdseq.disabled = false;
- cmd_healexamflag.disabled = false;
- // chk_useyn.selected = true;
- model.setFocus("srchtestcd");
- model.refresh();
- }
-
- function fUseynColor(){
- var i = 0;
- if(grd_autocdlist.rows > 1 ) {
- for(var i = 1 ; i < grd_autocdlist.rows ; i++ ) {
- if(model.getValue("/root/main/autocdlist/item["+i+"]/useyn") != "") {
- if( model.getValue("/root/main/autocdlist/item["+i+"]/useyn") == "Y" ) {
- grd_autocdlist.cellStyle("color" , i , grd_autocdlist.colRef("useyn") , i , grd_autocdlist.colRef("useyn")) = "#ff7a85";
- }
- }
- model.refresh();
- }
- }
- }
-
- function fGetAutoCnts(bCopy){
- var idx = grd_autocdlist.Row;
- if( idx < 1) return ;
-
- ipt_testcd.disabled = !bCopy ;
- ipt_testcdseq.disabled = !bCopy;
- cmd_healexamflag.disabled = !bCopy;
-
- model.setValue("/root/autocdinfosend/healexamflag", model.getValue("/root/main/autocdlist/item["+idx+"]/healexamflag"));
- model.setValue("/root/autocdinfosend/testcd", model.getValue("/root/main/autocdlist/item["+idx+"]/testcd"));
- model.setValue("/root/autocdinfosend/testcdseq", model.getValue("/root/main/autocdlist/item["+idx+"]/testcdseq"));
- submit("TRAHA03102");
-
- model.refresh();
- if(bCopy == true ) {
- fInit(true);
- }
- }
-
- function fSaveAutoCD(){
- if (model.getValue("/root/main/autocdinfo/item/healexamflag") == ""){
- messageBox("건진구분은", "I003", "");
- model.setFocus("cmd_healexamflag");
- return;
- }
-
- if (model.getValue("/root/main/autocdinfo/item/testcd") == ""){
- messageBox("검사코드는", "I003", "");
- model.setFocus("ipt_testcd");
- return;
- }
-
- if (model.getValue("/root/main/autocdinfo/item/testcdseq") == ""){
- messageBox("검사Seq는", "I003", "");
- model.setFocus("ipt_testcdseq");
- return;
- }
-
- var vMode = "/root/main/autocdinfo/item/mode";
- model.makeNode(vMode);
- model.setValue(vMode, "i");
-
- if ( messageBox("자동판정 기준정보를", "Q002") != 6) return;
-
- submit("TRAHA03101");
- fInit(true);
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1195;1,0;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <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:119px; height:14px; ">자동판정관리</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <group id="grp_search" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
- <shape id="roundrect3" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; "/>
- <caption id="caption21" class="search_name" style="left:16px; top:8px; width:86px; height:17px; ">건진구분</caption>
- <button id="btn_search" class="btn1_letter2" style="left:1122px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetAutocdList();
- //fUseynColor();
- ]]>
- </script>
- </button>
- <line id="line18" class="line_4" style="x1:1104px; y1:7px; x2:1104px; y2:29px; border-left-style:solid; "/>
- <caption id="caption10" class="search_name" style="left:286px; top:8px; width:86px; height:17px; ">검사코드 :</caption>
- <select1 id="cmb_healexamflag" ref="/root/send/srchhealexamflag" class="combo_search" appearance="minimal" style="left:100px; top:8px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/healexamflaglst/A0068">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption12" class="search_name" style="left:16px; top:8px; width:86px; height:17px; ">건진구분</caption>
- <select1 id="cmb_srchhealexamflag" ref="/root/send/srchhealexamflag" class="combo_search" appearance="minimal" style="left:100px; top:8px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/srchhealexamflag/A0068">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_srchtestcd" ref="/root/send/srchtestcd" class="input_search" style="left:375px; top:8px; width:165px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <select id="chk_srchuseyn" ref="/root/send/srchuseyn" overflow="visible" appearance="full" style="left:620px; top:10px; width:85px; height:20px; font-weight:bold; border-style:none; ">
- <choices>
- <item>
- <label>전체보기</label>
- <value>A</value>
- </item>
- </choices>
- </select>
- </group>
- <caption id="caption1" class="tit_2" style="left:720px; top:55px; width:95px; height:14px; ">자동판정입력</caption>
- <datagrid id="grd_autocdlist" nodeset="/root/main/autocdlist/item" autoresize="true" caption="사용^건진구분^검사코드^검사SEQ^검사소견^결과구분^최소값^최대값^판정내용 및 조치" colsep="^" colwidth="40, 62, 73, 59, 150, 38, 88, 88, 162" defaultrows="1" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" selectionmode="listbox" style="left:0px; top:70px; width:710px; height:650px; font-size:10pt; ">
- <col ref="useyn" style="text-align:center; "/>
- <col disabled="true" ref="healexamflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/srchhealexamflag/A0068">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="testcd" style="text-align:center; "/>
- <col ref="testcdseq" style="text-align:center; "/>
- <col ref="testdesc"/>
- <col disabled="true" ref="rsltflag" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>수치</label>
- <value>N</value>
- </item>
- <item>
- <label>선택</label>
- <value>T</value>
- </item>
- </choices>
- </col>
- <col ref="lowvalue" style="text-align:center; "/>
- <col ref="highvalue" style="left:650px; top:23px; width:120px; height:23px; text-align:center; "/>
- <col ref="cjdgdesc" style="text-align:center; "/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- fGetAutoCnts(false);
- ]]>
- </script>
- </datagrid>
- <line id="line10" class="line_3" style="x1:715px; y1:725px; x2:1194px; y2:725px; "/>
- <line id="line1" class="line_1" style="x1:715px; y1:70px; x2:1194px; y2:70px; "/>
- <line id="line2" class="line_2" style="x1:715px; y1:122px; x2:1194px; y2:122px; "/>
- <line id="line3" class="line_2" style="x1:715px; y1:146px; x2:1194px; y2:146px; "/>
- <caption id="caption11" class="cell_1" style="left:715px; top:148px; width:79px; height:23px; vertical-align:middle; ">검사소견</caption>
- <caption id="caption7" class="cell_1" style="left:715px; top:75px; width:79px; height:23px; font-family:돋움; vertical-align:middle; ">건진구분</caption>
- <caption id="caption3" class="tit_2" style="left:5px; top:55px; width:121px; height:14px; ">자동판정내역</caption>
- <line id="line4" class="line_1" style="x1:0px; y1:70px; x2:710px; y2:70px; "/>
- <line id="line5" class="line_2" style="x1:715px; y1:170px; x2:1194px; y2:170px; "/>
- <caption id="caption9" class="cell_1" style="left:715px; top:246px; width:79px; height:234px; vertical-align:middle; ">
- <![CDATA[판정내용 및 조치]]>
- </caption>
- <line id="line8" class="line_2" style="x1:716px; y1:510px; x2:1195px; y2:510px; "/>
- <caption id="caption14" class="cell_1" style="left:715px; top:172px; width:79px; height:23px; vertical-align:middle; ">결과구분</caption>
- <line id="line9" class="line_2" style="x1:716px; y1:482px; x2:1195px; y2:482px; "/>
- <caption id="caption2" class="cell_1" style="left:715px; top:124px; width:79px; height:23px; font-family:돋움; vertical-align:middle; ">검사Seq</caption>
- <caption id="caption4" class="cell_1" style="left:715px; top:485px; width:79px; height:23px; vertical-align:middle; ">사용여부</caption>
- <caption id="caption5" class="cell_1" style="left:715px; top:196px; width:79px; height:23px; font-family:돋움; text-align:left; vertical-align:middle; ">최 소 값</caption>
- <caption id="caption8" class="cell_1" style="left:715px; top:220px; width:79px; height:23px; font-family:돋움; vertical-align:middle; ">최 대 값</caption>
- <line id="line7" class="line_2" style="x1:716px; y1:194px; x2:1195px; y2:194px; "/>
- <line id="line11" class="line_2" style="x1:716px; y1:218px; x2:1195px; y2:218px; "/>
- <line id="line12" class="line_2" style="x1:716px; y1:243px; x2:1195px; y2:243px; "/>
- <input id="ipt_testcdseq" ref="/root/main/autocdinfo/item/testcdseq" class="input" style="left:797px; top:125px; width:123px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if( event.keyCode == 13) {
- model.setFocus("ipt_testdesc");
- }
- ]]>
- </script>
- </input>
- <input id="ipt_testdesc" ref="/root/main/autocdinfo/item/testdesc" class="input" style="left:797px; top:149px; width:392px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if( event.keyCode == 13) {
- model.setFocus("cmb_rsltflag");
- }
- ]]>
- </script>
- </input>
- <input id="ipt_lowvalue" ref="/root/main/autocdinfo/item/lowvalue" class="input" style="left:797px; top:197px; width:178px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if( event.keyCode == 13) {
- model.setFocus("ipt_lowvalue");
- }
- ]]>
- </script>
- </input>
- <input id="ipt_highvalue" ref="/root/main/autocdinfo/item/highvalue" class="input" style="left:797px; top:222px; width:178px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if( event.keyCode == 13) {
- model.setFocus("tar_cjdgdesc");
- }
- ]]>
- </script>
- </input>
- <textarea id="tar_cjdgdesc" ref="/root/main/autocdinfo/item/cjdgdesc" scroll="vertical" style="left:797px; top:246px; width:392px; height:234px; "/>
- <select1 id="combo1" ref="/root/main/autocdinfo/item/useyn" class="combo_search" appearance="minimal" style="left:800px; top:486px; width:123px; height:24px; ">
- <choices>
- <item>
- <label>사용</label>
- <value>Y</value>
- </item>
- <item>
- <label>사용안함</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <input id="ipt_testcd" ref="/root/main/autocdinfo/item/testcd" class="input_essential" style="left:797px; top:101px; width:123px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if( event.keyCode == 13) {
- model.setFocus("ipt_testcdseq");
- }
- ]]>
- </script>
- </input>
- <select1 id="cmb_rsltflag" ref="/root/main/autocdinfo/item/rsltflag" class="combo_search" appearance="minimal" style="left:797px; top:174px; width:123px; height:19px; ">
- <choices>
- <item>
- <label>선택검사 T</label>
- <value>T</value>
- </item>
- <item>
- <label>수치검사 N</label>
- <value>N</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- model.setFocus("ipt_lowvalue");
- ]]>
- </script>
- </select1>
- <line id="line6" class="line_2" style="x1:716px; y1:99px; x2:1195px; y2:99px; "/>
- <caption id="caption13" class="cell_1" style="left:715px; top:99px; width:79px; height:23px; font-family:돋움; vertical-align:middle; ">검사코드</caption>
- <select1 id="cmd_healexamflag" ref="/root/main/autocdinfo/item/healexamflag" class="combo_search" appearance="minimal" style="left:797px; top:75px; width:118px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/healexamflag/A0068">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- model.setFocus("ipt_testcd");
- ]]>
- </script>
- </select1>
- </group>
- <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; ">
- <button id="btn_save" class="btn4_letter2" style="left:1067px; top:5px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSaveAutoCD();
- fGetAutocdList();
- ]]>
- </script>
- </button>
- <button id="btn_clear" class="btn4_letter3" style="left:1126px; top:5px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInit(true);
- ]]>
- </script>
- </button>
- </group>
- <script type="javascript" ev:event="onmenu">
- <![CDATA[
- if(event.description == "addjudgegrp") {
- fSetJudgeGrp("A");
- }
- if(event.description == "deljudgegrp") {
- fSetJudgeGrp("D");
- }
- ]]>
- </script>
- </xhtml:body>
- </xhtml:html>
|