123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : 사용자별 검사그룹 관리.xrw
- * 설 명 : 사용자별 검사그룹 관리
- * 설 계 자 : (주)에이씨케이 - 박정은
- * 작 성 자 : (주)에이씨케이 - 박정은
- * 작 성 일 : 2007.04.20
- * 수정이력 :
- * 기 타 :
- -->
- <?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>과/개인별 SET 관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root>
- <main>
- <gruplist>
- <testgrupnm/>
- </gruplist>
- <testgruplist>
- <cd/>
- <nm/>
- <etc01/>
- <etc02/>
- <etc03/>
- </testgruplist>
- <testgrupdetl>
- <chk/>
- <tclsnm/>
- <delimeter/>
- <unit/>
- <tclscd/>
- <spccd/>
- </testgrupdetl>
- <tclscdlist>
- <ptclscd/>
- <tclsnm/>
- <tclscd/>
- <spccd/>
- <lvl/>
- </tclscdlist>
- </main>
- <send>
- <codeflag/>
- <testmdlcd/>
- <testgrupnm/>
- <grddata/>
- <gruprow/>
- <detlrow/>
- <flag1>1</flag1>
- <flag2/>
- </send>
- <init>
- </init>
- <hidden>
- <extrdt/>
- <testgrupnm/>
- <testitem/>
- <mdlcd>00</mdlcd>
- <testgruplist>
- <testgrupcd/>
- <testgrupnm/>
- <etc01/>
- <etc02/>
- <etc03/>
- </testgruplist>
- <testgrupdetl>
- <chk/>
- <tclsnm/>
- <tclscd/>
- </testgrupdetl>
- <temp/>
- <tclscdlist>
- <tclscdlist/>
- <tclsnmlist/>
- <tclscdlist2/>
- </tclscdlist>
- </hidden>
- <codedata>
- <popupmenu>
- <grid>
- <item>
- <name>한꺼번에 옮기기</name>
- <func>fSetTestGrupDetlAll</func>
- </item>
- <item>
- <name>하나씩 옮기기</name>
- <func>fSetTestGrupDetl</func>
- </item>
- </grid>
- </popupmenu>
- </codedata>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
- <script type="javascript" ev:event="xforms-model-construct-done">
- <![CDATA[
- // 초기정보 Get
- aezfSetSuppDeptcd();
-
-
- // 2. 중분류 리스트 조회
- model.setValue("/root/send/codeflag", "0102|0103|"); // 0102= 중분류 // 0103 검사그룹
- submit("TRLZZ00101");
-
- // 검사그룹 목록 초기화
- grd_testgruplist.deleteRow(1);
-
- // 상세정보 목록 초기화
- grd_testgrupdetl.deleteRow(1);
-
- // 1. 사용자별 검사그룹 목록 조회
- fSettestgrup();
-
- // 3. 검사항목 리스트 조회
- fGetTclscdList("00");
-
-
-
- ]]>
- </script>
- <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/LB0103"/>
- <submission id="TRLLF90402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/tclscdlist"/>
- <submission id="TRLLF90401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/testgrupdetl"/>
- <submission id="TXLLF90401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance"/>
- <submission id="TXLLF90402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance"/>
- </model>
- <script type="javascript">
- <![CDATA[
- var iudGbn = null;
-
- // 검사그룹 목록 조회
- function fSettestgrup(){
-
- var vInstance = document.models(0).instances(0);
- var cntCR = vInstance.selectNodes("/root/init/LB0103").length;
- NodeCnt = 1;
-
- for(i=1; i<= cntCR; i++){
- model.makeNode("/root/hidden/testgruplist["+NodeCnt+"]/testgrupcd");
- model.makeNode("/root/hidden/testgruplist["+NodeCnt+"]/testgrupnm");
- model.makeNode("/root/hidden/testgruplist["+NodeCnt+"]/etc01");
- model.makeNode("/root/hidden/testgruplist["+NodeCnt+"]/etc02");
- model.makeNode("/root/hidden/testgruplist["+NodeCnt+"]/etc03");
-
- model.setValue("/root/hidden/testgruplist["+NodeCnt+"]/testgrupcd", model.getValue("/root/init/LB0103["+i+"]/cd"));
- model.setValue("/root/hidden/testgruplist["+NodeCnt+"]/testgrupnm", model.getValue("/root/init/LB0103["+i+"]/nm"));
- model.setValue("/root/hidden/testgruplist["+NodeCnt+"]/etc01", model.getValue("/root/init/LB0103["+i+"]/etc01"));
- model.setValue("/root/hidden/testgruplist["+NodeCnt+"]/etc02", model.getValue("/root/init/LB0103["+i+"]/etc02"));
- model.setValue("/root/hidden/testgruplist["+NodeCnt+"]/etc03", model.getValue("/root/init/LB0103["+i+"]/etc03"));
-
- NodeCnt++;
-
- }
- }
-
- // 검사항목 리스트 조회
- function fGetTclscdList(cd){
-
- var cd = model.getValue("/root/hidden/mdlcd");
- model.setValue("/root/send/testmdlcd", cd);
-
- submit("TRLLF90402");
-
- //fSetMakeTree();
- }
-
- // 트리구조 만들기
- function fSetMakeTree(){
-
- for(var i = 1; i<grd_testitemlist.rows; i++) {
- grd_testitemlist.IsSubtotal(i) = true; //그리드의 모든 row를 subtotal 속성을 가진 row로 변경 해주셔야 합니다..
- grd_testitemlist.outlinelevel(i) = grd_testitemlist.TextMatrix(i, 4); //인스턴스H_DEPTH 값임 (이넘이 그리드에서 각 로우가 트리상 어떤 Depth를 갖는지 결정하는 넘입니다..)
- }
- grd_testitemlist.OutlineCol = 1; // 트리 만들 col
- grd_testitemlist.OutlineBar = 4; //+ , - , 사각형 안보이게 하려면 0 으로 세팅 //4가 정상
- grd_testitemlist.TreeColor = "gray";
-
- }
-
-
- // 검사항목에서 더블클릭시 검사그룹 상세 정보 목록으로 보내기
- function fSetTestGrupDetl(){
- var detlrow = grd_testgrupdetl.rows;
- var sTclscd = model.getValue("/root/main/tclscdlist["+grd_testitemlist.row+"]/tclscd");
- var findrow = grd_testgrupdetl.findRow(sTclscd , 1,3 , true,true);
-
- if(findrow >0 ) {
- alert("이미 선택된 검사코드입니다.");
- return;
- }
-
- grd_testgrupdetl.addItem();
-
- model.makeNode("/root/main/testgrupdetl["+detlrow+"]/chk");
- model.makeNode("/root/main/testgrupdetl["+detlrow+"]/tclsnm");
- model.makeNode("/root/main/testgrupdetl["+detlrow+"]/tclscd");
- model.makeNode("/root/main/testgrupdetl["+detlrow+"]/spccd");
-
- model.setValue("/root/main/testgrupdetl["+detlrow+"]/tclsnm", model.getValue("/root/main/tclscdlist["+grd_testitemlist.row+"]/tclsnm"));
- model.setValue("/root/main/testgrupdetl["+detlrow+"]/tclscd", model.getValue("/root/main/tclscdlist["+grd_testitemlist.row+"]/tclscd"));
- model.setValue("/root/main/testgrupdetl["+detlrow+"]/spccd", model.getValue("/root/main/tclscdlist["+grd_testitemlist.row+"]/spccd"));
-
- grd_testgrupdetl.rowStatus(detlrow) = 1;
-
- detlrow++;
- iudGbn = 0;
- }
-
- // 검사항목에서 더블클릭시 검사그룹 상세 정보 목록으로 보내기(배터리 같은거 한꺼번에)
- function fSetTestGrupDetlAll(){
-
- var tclscd = model.getValue("/root/main/tclscdlist["+grd_testitemlist.row+"]/tclscd");
- var detlrow = grd_testgrupdetl.rows;
-
- for(i=1; i<grd_testitemlist.rows; i++){
- if(tclscd == model.getValue("/root/main/tclscdlist["+i+"]/ptclscd")){
- grd_testgrupdetl.addItem();
-
- model.makeNode("/root/main/testgrupdetl["+detlrow+"]/chk");
- model.makeNode("/root/main/testgrupdetl["+detlrow+"]/tclsnm");
- model.makeNode("/root/main/testgrupdetl["+detlrow+"]/tclscd");
- model.makeNode("/root/main/testgrupdetl["+detlrow+"]/spccd");
-
- model.setValue("/root/main/testgrupdetl["+detlrow+"]/tclsnm", model.getValue("/root/main/tclscdlist["+i+"]/tclsnm"));
- model.setValue("/root/main/testgrupdetl["+detlrow+"]/tclscd", model.getValue("/root/main/tclscdlist["+i+"]/tclscd"));
- model.setValue("/root/main/testgrupdetl["+detlrow+"]/spccd", model.getValue("/root/main/tclscdlist["+i+"]/spccd"));
-
- grd_testgrupdetl.rowStatus(detlrow) = 1;
-
- detlrow++;
- }
- }
-
- iudGbn = 0;
-
- }
-
- // 검사그룹명 엔터
- function fKeyEvent(){
- if(event.keyCode == "13"){
- if(event.target == "ipt_testgrup"){
- model.setvalue("/root/hidden/testgrupnm", ipt_testgrup.currentText);
- var testgrup = model.getValue("/root/hidden/testgrupnm");
-
- var grupRow = grd_testgruplist.findRow(testgrup, 1,1, false, true);
-
- for(i=0; i< grd_testgruplist.rows;i++){
- grd_testgruplist.rowStyle(i, "data", "background-color") = "#ffffff";
- //grd_testgruplist.rebuild();
- }
- grd_testgruplist.rebuild();
- if(grupRow < "1"){
- // 행추가 + 그룹명 set
- var grupRS = grd_testgruplist.rows;
-
- grd_testgruplist.addItem(grupRS);
- model.setValue("/root/hidden/testgruplist["+grupRS+"]/testgrupnm", model.getValue("/root/hidden/testgrupnm"));
- grd_testgrupdetl.select(grupRS,1,grupRS,1) = true;
-
- model.resetInstanceNode("/root/main/testgrupdetl");
- grd_testgrupdetl.rebuild();
- grd_testgrupdetl.deleteItem(1);
-
- }else{
- // 검사그룹에서 조회
- grd_testgruplist.rowStyle(grupRow, "data", "background-color") = "#f3e1bf";
-
- }
-
- }
- }
- }
-
- // 검사항목 검색
- function fGetTestItemList(){
- var testitem = model.getValue("/root/hidden/testitem");
- var itemRow = grd_testitemlist.findRow(testitem, 1,1, false, false);
-
- for(i=0; i< grd_testitemlist.rows;i++){
- grd_testitemlist.rowStyle(i, "data", "background-color") = "#ffffff";
- //grd_testgruplist.rebuild();
- }
- if(itemRow > 0){
- grd_testitemlist.rowStyle(itemRow, "data", "background-color") = "#f3e1bf";
- grd_testitemlist.select(itemRow,1,itemRow,1) = true;
- }
- }
-
- // 검사그룹 등록, 수정
- function fExeTestGrup(){
- //alert("grd_testgrupdetl= " + grd_testgrupdetl.rows);
- // 상세목록 없으면 등록 안되게
- if(grd_testgrupdetl.rows < 2){
- messageBox("검사그룹 상세 정보를", "C001");
- return;
- }else{ // 검사그룹 상세 정보 있을때 지워주기
- fTestGrupDelete();
- }
-
- // 검사그룹 목록 row
- //var grupRow = null;
- //if(model.getValue("/root/hidden/testgruplist["+grd_testgruplist.row+"]/testgrupcd")==""){ // 하나도 없을때
- //grupRow = model.getValue("/root/hidden/testgruplist["+(grd_testgruplist.row-1)+"]/testgrupcd");
- //grupRow = parseInt(grupRow) +1;
- //grupRow = 1;
- //}else{
- // grupRow = model.getValue("/root/hidden/testgruplist["+grd_testgruplist.row+"]/testgrupcd");
- //}
-
- var detldata = grd_testgrupdetl.getUpdateDataAll("i");
- var testGrupnm = model.getValue("/root/hidden/testgruplist["+grd_testgruplist.row+"]/testgrupnm");
-
- model.setValue("/root/send/grddata", detldata);
- model.setValue("/root/send/testgrupnm", testGrupnm);
- //model.setValue("/root/send/gruprow", grupRow);
- if(submit("TXLLF90401")==true){
- model.reset();
- }
- }
-
- // 검사그룹 삭제
- function fTestGrupDelete(){
-
- var delgrupnm = model.getValue("/root/hidden/testgruplist["+grd_testgruplist.row+"]/testgrupnm");
- model.setValue("/root/send/testgrupnm", delgrupnm);
-
- if(submit("TXLLF90402")==true){
- model.reset();
- }
- }
-
- // 검사그룹 상세 정보 목록
- function fGetTestGrupDetlList(){
-
- var grupRow = grd_testgruplist.row;
- model.setValue("/root/send/testgrupnm", model.getValue("/root/hidden/testgruplist["+grd_testgruplist.row+"]/testgrupnm"));
- submit("TRLLF90401");
-
-
- }
-
- // 검사그룹 상세정보 목록 위치 이동
- function fSetDetlListMode(gbn){
-
- var row = grd_testgrupdetl.row;
-
- if(gbn =="1"){
- if(row == grd_testgrupdetl.rows-1){
- return;
- }
- pRow = parseInt(row) +1;
- model.copyNode("/root/hidden/testgrupdetl", "/root/main/testgrupdetl["+pRow+"]");
- model.copyNode("/root/main/testgrupdetl["+pRow+"]", "/root/main/testgrupdetl["+row+"]" );
- model.copyNode("/root/main/testgrupdetl["+row+"]", "/root/hidden/testgrupdetl");
-
- }else{
-
- if(row < 1 || row == 1 ){
- return;
- }
- mRow = parseInt(row) -1;
- model.copyNode("/root/hidden/testgrupdetl", "/root/main/testgrupdetl["+mRow+"]");
- model.copyNode("/root/main/testgrupdetl["+mRow+"]", "/root/main/testgrupdetl["+row+"]" );
- model.copyNode("/root/main/testgrupdetl["+row+"]", "/root/hidden/testgrupdetl");
- }
-
- grd_testgrupdetl.rebuild();
-
- if(gbn == 1){
- //grd_testgrupdetl.select(pRow,1,pRow,1) = true;
-
- grd_testgrupdetl.row= pRow;
- }else{
- grd_testgrupdetl.row= mRow;
- //grd_testgrupdetl.select(mRow,1,mRow,1) = true;
- }
-
- iudGbn = 1;
- fSetdetlrowstatus();
- }
-
-
- // 행삭제
- function fSetdeleterow(){
-
- var gRow = grd_testgrupdetl.row;
-
- grd_testgrupdetl.deleteItem(gRow);
-
- iudGbn = 1;
- fSetdetlrowstatus();
- }
-
- // 검사그룹 상세 정보 목록 row 상태 변경
- function fSetdetlrowstatus(){
-
- for(i=1; i<grd_testgrupdetl.rows; i++){
- grd_testgrupdetl.rowStatus(i) = 1;
- }
-
- }
-
- // 검사항목 그리드 팝업
- function fGridPopup(){
- if(event.button == 3){
- if(grd_testitemlist.isCell(event.target) && grd_testitemlist.mouseRow >= grd_testitemlist.fixedrows){
- window.setPopupMenu(true, "/root/codedata/popupmenu/grid/item", "name", "func", false);
- }else{
- window.setPopupMenu(false);
- }
- }
- }
-
- // 검사그룹 상세 정보 목록 메인으로 넘기기
- function fSetPopUpTclscdList(){
-
- var sendtclsnm = model.getValue("/root/main/testgrupdetl[1]/tclsnm");
- var sendtclscd = model.getValue("/root/main/testgrupdetl[1]/tclscd");
- var sendtclscd2 = model.getValue("/root/main/testgrupdetl[1]/tclscd");
-
-
- // 검사그룹 상세 목록 없을때
- if(sendtclsnm == ""){
- model.setValue("/root/hidden/tclscdlist/tclscdlist", "");
- model.setValue("/root/hidden/tclscdlist/tclsnmlist", "");
-
- }else{ // 검사그룹 상세 목록 있을때
- for(i=2; i<grd_testgrupdetl.rows; i++){
- sendtclsnm = sendtclsnm + ", " + model.getValue("/root/main/testgrupdetl["+i+"]/tclsnm");
- //sendtclscd = sendtclscd + "▦" + model.getValue("/root/main/testgrupdetl["+i+"]/tclscd");
- sendtclscd = sendtclscd + "','" + model.getValue("/root/main/testgrupdetl["+i+"]/tclscd");
- sendtclscd2 = sendtclscd2 + "▦" + model.getValue("/root/main/testgrupdetl["+i+"]/tclscd");
- }
- model.setValue("/root/hidden/tclscdlist/tclsnmlist", sendtclsnm);
- model.setValue("/root/hidden/tclscdlist/tclscdlist", "'" + sendtclscd + "'");
- model.setValue("/root/hidden/tclscdlist/tclscdlist2", sendtclscd2);
-
- }
- model.copyNode(opener.root.hidden.ref.tclscdlist, root.hidden.tclscdlist);
- opener.ipt_tclscdlist.refresh();
- window.close();
-
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="820" pageheight="625" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:810px; height:605px; ">
- <line id="line10" class="line_2" style="x1:3px; y1:53px; x2:243px; y2:53px; "/>
- <caption id="caption1" class="tit_2" style="left:566px; top:10px; width:100px; height:13px; ">SET 등록</caption>
- <line id="line1" class="line_1" style="x1:561px; y1:25px; x2:791px; y2:25px; "/>
- <caption id="caption2" class="cell_1" style="left:245px; top:31px; width:100px; height:23px; ">SET상세</caption>
- <caption id="caption3" class="cell_1" style="left:3px; top:31px; width:100px; height:23px; ">분류명</caption>
- <caption id="caption7" class="cell_1" style="left:561px; top:30px; width:100px; height:23px; ">그룹명</caption>
- <button id="button53" class="btn2_letter3" style="left:502px; top:32px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetdeleterow();
- ]]>
- </script>
- </button>
- <select1 id="combo4" ref="/root/hidden/mdlcd" class="combo_essential" appearance="minimal" itemcount="20" style="left:106px; top:32px; width:137px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/LB0102">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fGetTclscdList();
- ]]>
- </script>
- </select1>
- <line id="line2" class="line_1" style="x1:561px; y1:108px; x2:791px; y2:108px; "/>
- <caption id="caption4" class="tit_2" style="left:250px; top:11px; width:131px; height:13px; ">SET 수정</caption>
- <line id="line3" class="line_1" style="x1:245px; y1:26px; x2:555px; y2:26px; "/>
- <line id="line4" class="line_1" style="x1:245px; y1:108px; x2:555px; y2:108px; "/>
- <line id="line5" class="line_3" style="x1:245px; y1:53px; x2:555px; y2:53px; "/>
- <caption id="caption5" class="tit_2" style="left:8px; top:11px; width:151px; height:13px; ">검사항목 조회</caption>
- <line id="line6" class="line_1" style="x1:3px; y1:26px; x2:243px; y2:26px; "/>
- <line id="line9" class="line_1" style="x1:3px; y1:108px; x2:243px; y2:108px; "/>
- <caption id="caption6" class="cell_1" style="left:3px; top:55px; width:100px; height:23px; ">검색</caption>
- <line id="line7" class="line_3" style="x1:3px; y1:77px; x2:243px; y2:77px; "/>
- <button id="button61" class="icon_search" style="left:223px; top:57px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 검사항목 검색
- fGetTestItemList();
- ]]>
- </script>
- </button>
- <input id="input3" ref="/root/hidden/testitem" class="input_default" style="left:106px; top:56px; width:110px; height:19px; "/>
- <caption id="caption8" class="tit_2" style="left:561px; top:93px; width:100px; height:13px; ">SET 목록</caption>
- <caption id="caption9" class="tit_2" style="left:250px; top:93px; width:162px; height:13px; ">SET 상세 정보 목록</caption>
- <caption id="caption10" class="tit_2" style="left:8px; top:92px; width:151px; height:13px; ">검사 항목</caption>
- <button id="button104" class="icon_top" style="left:444px; top:32px; width:26px; height:19px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetDetlListMode("2");
- ]]>
- </script>
- </button>
- <button id="button105" class="icon_bottom" style="left:473px; top:32px; width:26px; height:19px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetDetlListMode("1");
- ]]>
- </script>
- </button>
- <datagrid id="grd_testitemlist" nodeset="/root/main/tclscdlist" caption="검사명^kind^tclscd^lvl^ptclscd^spccd" colsep="^" colwidth="200, 30, 30, 30, 30, 30" dataheight="23" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:3px; top:113px; width:240px; height:450px; ">
- <col ref="tclsnm"/>
- <col ref="tclskind"/>
- <col ref="tclscd"/>
- <col ref="lvl"/>
- <col ref="ptclscd"/>
- <col ref="spccd"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- // 검사항목 목록 더블클릭시
- fSetTestGrupDetl();
- ]]>
- </script>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- // 검사항목 그리드에서 팝메뉴 보이게
- fGridPopup();
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- // 검사항목 그리드 아니면 팝메뉴 안보이게
- window.setPopupMenu(false);
- ]]>
- </script>
- </datagrid>
- <datagrid id="grd_testgrupdetl" nodeset="/root/main/testgrupdetl" caption="^검사명^참고치^단위^검사코드^검체코드" colsep="^" colwidth="20, 109, 50, 34, 78, 16" dataheight="23" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" style="left:245px; top:113px; width:310px; height:450px; ">
- <col ref="chk" type="checkbox"/>
- <col ref="tclsnm"/>
- <col ref="delimeter" type="input"/>
- <col ref="unit" type="input"/>
- <col ref="tclscd"/>
- <col ref="spccd"/>
- </datagrid>
- <datagrid id="grd_testgruplist" nodeset="/root/hidden/testgruplist" caption="그룹명" colsep="^" colwidth="205" dataheight="23" defaultrows="0" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:561px; top:113px; width:230px; height:450px; ">
- <col ref="testgrupnm"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fGetTestGrupDetlList();
- ]]>
- </script>
- </datagrid>
- <input id="ipt_testgrup" ref="/root/hidden/testgrupnm" class="input_button" inputtype="button" style="left:664px; top:31px; width:127px; height:19px; "/>
- <line id="line12" class="line_3" style="x1:561px; y1:77px; x2:791px; y2:77px; "/>
- <caption id="caption11" class="cell_1" style="left:561px; top:55px; width:100px; height:23px; ">구분</caption>
- <line id="line13" class="line_2" style="x1:561px; y1:53px; x2:795px; y2:53px; "/>
- <select1 id="radio1" ref="/root/send/flag1" appearance="full" overflow="visible" style="left:663px; top:57px; width:55px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>과별</label>
- <value>1</value>
- </item>
- </choices>
- </select1>
- <select1 id="radio2" ref="/root/send/flag2" appearance="full" overflow="visible" selected="true" style="left:729px; top:57px; width:55px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>개인별</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <button id="button1" class="btn4_letter2" style="left:619px; top:570px; width:56px; height:22px; ">
- <caption>등록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 검사그룹 등록, 수정
- fExeTestGrup();
- ]]>
- </script>
- </button>
- <button id="button2" class="btn4_letter2" style="left:560px; top:570px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 검사그룹 상세 정보목록 화면에 뿌리기
- fSetPopUpTclscdList();
- ]]>
- </script>
- </button>
- <button id="button4" class="btn4_letter2" style="left:678px; top:570px; width:56px; height:22px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fTestGrupDelete();
- ]]>
- </script>
- </button>
- <button id="button9" class="btn4_letter2" style="left:737px; top:570px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- </group>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- fKeyEvent();
- ]]>
- </script>
- </xhtml:body>
- </xhtml:html>
|