123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : 사용자별 검사그룹 관리.xrw
- * 설 명 : 사용자별 검사그룹 관리
- * 설 계 자 : (주)에이씨케이 - 박정은
- * 작 성 자 : (주)에이씨케이 - 박정은
- * 작 성 일 : 2007.04.20
- * 수정이력 : 2007-08-03 박정은 코드인스펙션
- * 기 타 :
- -->
- <?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>
- <gruplist>
- <testgrupnm/>
- </gruplist>
- <testgruplist>
- <cd/>
- <nm/>
- <etc01/>
- <etc02/>
- <etc03/>
- </testgruplist>
- <testgrupdetl>
- <chk/>
- <tclsnm/>
- <tclscd/>
- <spccd/>
- </testgrupdetl>
- <tclscdlist>
- <ptclscd/>
- <tclsnm/>
- <tclscd/>
- <spccd/>
- <lvl/>
- </tclscdlist>
- </main>
- <send>
- <codeflag/>
- <testmdlcd/>
- <testgrupnm/>
- <grddata/>
- <gruprow/>
- <detlrow/>
- <searchflag/>
- <searchtext/>
- <userdeptflagcd/>
- <nuflag/>
- </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/>
- <tclsnmlist2/>
- <testgrup/>
- </tclscdlist>
- <search>
- <searchtext/>
- <searchgbn>1</searchgbn>
- </search>
- <nuflag>1</nuflag>
- </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/tfHelper.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- // 초기정보 Get
-
- if( model.getValue("/root/properties/menu/menuparam")=="C" ){ // 핵의학 진검메뉴에 메뉴파라미터 S 지정
-
- btn_cnfm.visible = false;
- }
-
-
- // 2. 중분류 리스트 조회
- model.setValue("/root/send/codeflag", "0102|0000|0403|"); // 0102= 중분류 // 0103 검사그룹
- submit("TRLZZ00101");
-
- var codechangeYN = model.getValue("/root/init/LB0403/nm");
-
- if(codechangeYN == "Y"){
- radio1.visible = true;
- }
-
- // 검사그룹 목록 초기화
- //grd_testgruplist.deleteRow(1);
- model.removeNodeset("/root/main/testgruplist");
-
- // 상세정보 목록 초기화
- //grd_testgrupdetl.deleteRow(1);
- model.removeNodeset("/root/main/testgrupdetl");
-
- // 검사그룹 조회
- //submit("TRLLF90403");
- fGetTestGrupList(0);
-
- if(model.getValue("/root/hidden/tclscdlist/testgrup") != "") {
- var grup = model.getValue("/root/hidden/tclscdlist/testgrup");
-
- for(i = 1; i <= getNodesetCount("/root/main/testgruplist"); i++) {
- var find = grd_testgruplist.findRow(grup, i, 2);
-
- if(find < 0) {
- break;
- }
-
- grd_testgruplist.row = find;
-
- fGetTestGrupDetlList();
-
- i = find;
- }
- }
- // 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="TRLLF90401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/testgrupdetl"/>
- <submission id="TRLLF90402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/tclscdlist"/>
- <submission id="TXLLF90401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance"/>
- <submission id="TRLLF90403" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/testgruplist"/>
- <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 fGetTestGrupList(ref){
-
- submit("TRLLF90403");
-
- if(ref != 0) {
- grd_testgruplist.row = ref;
-
- fGetTestGrupDetlList();
- }
- model.refresh();
- }
-
- // 검사항목 리스트 조회
- function fGetTclscdList(cd){
- model.removeNodeset("/root/main/tclscdlist");
-
- var cd = model.getValue("/root/hidden/mdlcd");
- var nuflag = model.getValue("/root/hidden/nuflag");
- model.setValue("/root/send/testmdlcd", cd);
- model.setValue("/root/send/searchflag", model.getValue("/root/hidden/search/searchgbn"));
- model.setValue("/root/send/searchtext", model.getValue("/root/hidden/search/searchtext"));
- model.setValue("/root/send/nuflag", nuflag);
- model.setValue("/root/send/userdeptflagcd", model.getValue("/root/init/LB0000/nm"));
-
- submit("TRLLF90402");
-
- fSetMakeTree();
- fSetTextColor();
-
- model.refresh();
- }
-
- // 트리구조 만들기
- 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";*/
-
-
- setTree(grd_testitemlist, 4, 1, true);
-
- }
-
- //Group, Panel의 글자색 바꾸기
- function fSetTextColor(){
- var kind = "";
- for(i = 1; i < grd_testitemlist.rows; i++) {
- kind = grd_testitemlist.labelMatrix(i, 2);
-
- if(kind == "0" || kind == "1") {
- grd_testitemlist.cellStyle("color", i, 1) = "#0066FF";
- } else {
- grd_testitemlist.cellStyle("color", i, 1) = "#000000";
- }
- }
-
- model.refresh();
- }
-
- // 검사항목에서 더블클릭시 검사그룹 상세 정보 목록으로 보내기
- 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 ) {
- messageBox("이미 선택된 검사코드 ", "E008"); //이미 선택된 검사코드입니다.
- return;
- }
-
- if(model.getValue("/root/main/tclscdlist["+grd_testitemlist.row+"]/lvl") != "1"){
-
- grd_testgrupdetl.addRow();
-
- 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 selectlvl = model.getValue("/root/main/tclscdlist["+grd_testitemlist.row+"]/lvl");
- var detlrow = grd_testgrupdetl.rows;
- var lrow = grd_testitemlist.row +1;
- var sTclscd = "";
- var findrow = "";
-
- for(i=1; i<grd_testitemlist.rows; i++){
-
- // 선택 레벨값보다 큰거
- if(selectlvl < model.getValue("/root/main/tclscdlist["+lrow+"]/lvl")){
- sTclscd = model.getValue("/root/main/tclscdlist["+lrow+"]/tclscd");
- findrow = grd_testgrupdetl.findRow(sTclscd , 1,3 , true, true);
-
- if(findrow >0 ) {
- messageBox("이미 선택된 검사코드 ", "E008"); //이미 선택된 검사코드입니다.
- return;
- }
-
- grd_testgrupdetl.addRow();
-
- 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["+lrow+"]/tclsnm"));
- model.setValue("/root/main/testgrupdetl["+detlrow+"]/tclscd", model.getValue("/root/main/tclscdlist["+lrow+"]/tclscd"));
- model.setValue("/root/main/testgrupdetl["+detlrow+"]/spccd", model.getValue("/root/main/tclscdlist["+lrow+"]/spccd"));
-
- lrow++;
- detlrow++;
-
- grd_testgrupdetl.rowStatus(detlrow) = 1;
- }
-
- }
-
- }
-
- // 검사그룹명 엔터
- function fKeyEvent(){
- if(event.keyCode == "13"){
- if(event.target == "ipt_testgrup"){
- model.setvalue("/root/hidden/testgrupnm", ipt_testgrup.currentText);
- // alert(ipt_testgrup.currentText);
- var testgrup = model.getValue("/root/hidden/testgrupnm");
-
- var grupRow = grd_testgruplist.findRow(testgrup, 1,1, false, true);
-
- grd_testgruplist.rebuild();
-
- if(grupRow < 1){
- // 행추가 + 그룹명 set
- var grupRS = grd_testgruplist.rows;
-
- //grd_testgruplist.addItem(grupRS);
- grd_testgruplist.addRow(grupRS);
-
- var grupNM = model.getValue("/root/hidden/testgrupnm");
- // alert(grupNM);
- if( grupNM == ""){
- // alert("!!!!!!");
- messageBox("검사그룹명을", "C001");
- grd_testgruplist.deleteRow(grupRS);
- return;
- }
- else{
-
- model.setValue("/root/main/testgruplist["+grupRS+"]/nm", model.getValue("/root/hidden/testgrupnm"));
- grd_testgrupdetl.select(grupRS,1,grupRS,1) = true;
-
- }
- //model.resetInstanceNode("/root/main/testgrupdetl");
- model.removeNodeset("/root/main/testgrupdetl");
-
- grd_testgrupdetl.rebuild();
- //grd_testgrupdetl.deleteItem(1);
- //grd_testgrupdetl.deleteRow(1);
- }else{
- // 검사그룹에서 조회
- grd_testgruplist.row = grupRow;
- fGetTestGrupDetlList();
- }
-
- ipt_testgrup.selBegin = 0;
- ipt_testgrup.selEnd = ipt_testgrup.currentText.length;
- }else if(event.target == "ipt_refgbn"){
- var text = ipt_refgbn.currentText;
-
- model.setValue("/root/hidden/search/searchtext", text.toUpperCase());
-
- fGetTclscdList("00");
- }
- }
- }
-
- // 검사항목 검색
- 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(){
-
- // 상세목록 없으면 등록 안되게
- if(grd_testgrupdetl.rows < 2){
- messageBox("검사그룹 상세 정보를", "C001");
- return;
- }
-
- var detldata = grd_testgrupdetl.getUpdateDataAll("i");
- var testGrupnm = model.getValue("/root/main/testgruplist["+grd_testgruplist.row+"]/nm");
-
- model.setValue("/root/send/grddata", detldata);
- model.setValue("/root/send/testgrupnm", testGrupnm);
-
- if(submit("TXLLF90401")==true){
- model.removeNodeset("/root/main/testgruplist");
- model.removeNodeset("/root/main/testgrupdetl");
-
- model.setValue("/root/hidden/tclscdlist/testgrup", "");
- // 사용자별 검사그룹 등록
- //submit("TRLLF90403");
- fGetTestGrupList(0);
- }
- }
-
-
- // 검사그룹 상세 정보 목록
- function fGetTestGrupDetlList(){
-
- var grupRow = grd_testgruplist.row;
- model.setValue("/root/send/testgrupnm", model.getValue("/root/main/testgruplist["+grd_testgruplist.row+"]/nm"));
- submit("TRLLF90401");
- fSetdetlrowstatus();
-
- }
-
- // 검사그룹 상세정보 목록 위치 이동
- 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);
- grd_testgrupdetl.deleteRow(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 sendtclsnm2 = 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");
- sendtclsnm2 = sendtclsnm2 + "▦" + 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.setValue("/root/hidden/tclscdlist/tclsnmlist2", sendtclsnm2);
- model.setValue("/root/hidden/tclscdlist/testgrup", model.getValue("/root/main/testgruplist["+ grd_testgruplist.row +"]/cd"));
-
- }
-
- model.copyNode(opener.root.hidden.ref.tclscdlist, root.hidden.tclscdlist);
- //opener.ipt_tclscdlist.refresh();
-
- opener.model.refresh();
- window.opener.javascript.fSetInit(2);
- window.close();
-
- }
-
- // 검사그룹 삭제 2007-07-31 누가지웠어???
- function fTestGrupDelete(){
-
- model.setValue("/root/send/testgrupnm", model.getValue("/root/main/testgruplist["+grd_testgruplist.row+"]/nm"));
-
- if(submit("TXLLF90402")==true){
-
- fGetTestGrupList(1);
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="850" pageheight="590" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:830px; height:540px; ">
- <line id="line10" class="line_2" style="x1:555px; y1:53px; x2:825px; y2:53px; "/>
- <caption id="caption1" class="tit_2" style="left:10px; top:11px; width:100px; height:14px; ">검사그룹 등록</caption>
- <line id="line1" class="line_1" style="x1:5px; y1:26px; x2:235px; y2:26px; "/>
- <caption id="caption2" class="cell_1" style="left:240px; top:31px; width:100px; height:23px; ">그룹상세</caption>
- <caption id="caption3" class="cell_1" style="left:555px; top:31px; width:100px; height:23px; ">중분류</caption>
- <caption id="caption7" class="cell_1" style="left:5px; top:31px; width:100px; height:23px; ">그룹명</caption>
- <line id="line2" class="line_1" style="x1:5px; y1:80px; x2:235px; y2:80px; "/>
- <caption id="caption4" class="tit_2" style="left:245px; top:11px; width:131px; height:14px; ">검사그룹 수정</caption>
- <line id="line3" class="line_1" style="x1:240px; y1:26px; x2:550px; y2:26px; "/>
- <line id="line4" class="line_1" style="x1:240px; y1:80px; x2:550px; y2:80px; "/>
- <line id="line5" class="line_3" style="x1:240px; y1:53px; x2:550px; y2:53px; "/>
- <line id="line8" class="line_3" style="x1:5px; y1:53px; x2:235px; y2:53px; "/>
- <caption id="caption5" class="tit_2" style="left:560px; top:11px; width:151px; height:14px; ">검사항목 조회</caption>
- <line id="line6" class="line_1" style="x1:555px; y1:26px; x2:825px; y2:26px; "/>
- <line id="line9" class="line_1" style="x1:555px; y1:105px; x2:825px; y2:105px; "/>
- <caption id="caption6" class="cell_1" style="left:555px; top:55px; width:59px; height:23px; ">검색</caption>
- <line id="line7" class="line_3" style="x1:555px; y1:77px; x2:825px; y2:77px; "/>
- <caption id="caption8" class="tit_2" style="left:5px; top:65px; width:100px; height:13px; ">검사그룹 목록</caption>
- <caption id="caption9" class="tit_2" style="left:245px; top:65px; width:162px; height:14px; ">검사그룹 상세 정보 목록</caption>
- <caption id="caption10" class="tit_2" style="left:560px; top:89px; width:115px; height:13px; ">검사항목 목록</caption>
- <datagrid id="grd_testitemlist" nodeset="/root/main/tclscdlist" caption="검사명^kind^tclscd^lvl^ptclscd^spccd" colsep="^" colwidth="220, 0, 0, 0, 0, 0" dataheight="23" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" style="left:555px; top:110px; width:270px; height:425px; ">
- <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="30, 150, 90, 0" dataheight="23" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" style="left:240px; top:85px; width:310px; height:450px; ">
- <col ref="chk" type="checkbox"/>
- <col ref="tclsnm"/>
- <col ref="tclscd"/>
- <col ref="spccd"/>
- </datagrid>
- <datagrid id="grd_testgruplist" nodeset="/root/main/testgruplist" caption="그룹명^cd" colsep="^" colwidth="190, 0" dataheight="23" defaultrows="0" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:5px; top:85px; width:230px; height:450px; ">
- <col ref="nm"/>
- <col ref="cd"/>
- <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:108px; top:32px; width:127px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- fKeyEvent();
- ]]>
- </script>
- </input>
- <button id="btn_up" class="icon_top" style="left:439px; top:32px; width:26px; height:19px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetDetlListMode("2");
- ]]>
- </script>
- </button>
- <button id="btn_down" class="icon_bottom" style="left:468px; top:32px; width:26px; height:19px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetDetlListMode("1");
- ]]>
- </script>
- </button>
- <button id="btn_delrow" class="btn2_letter3" style="left:497px; top:32px; width:53px; height:19px; font-weight:bold; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetdeleterow();
- ]]>
- </script>
- </button>
- <select1 id="cmb_mdl" ref="/root/hidden/mdlcd" class="combo_essential" appearance="minimal" itemcount="20" style="left:658px; top:32px; width:167px; 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>
- <input id="ipt_refgbn" ref="/root/hidden/search/searchtext" inputtype="button" style="left:705px; top:56px; width:120px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- fKeyEvent();
- ]]>
- </script>
- </input>
- <select1 id="cmb_refgbn" ref="/root/hidden/search/searchgbn" appearance="minimal" style="left:617px; top:56px; width:85px; height:19px; ">
- <choices>
- <item>
- <label>검사코드</label>
- <value>1</value>
- </item>
- <item>
- <label>검사명</label>
- <value>2</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- //fHiddenTodd();
- ]]>
- </script>
- </select1>
- <select1 id="radio1" ref="/root/hidden/nuflag" visibility="hidden" appearance="full" cellspacing="20" cols="2" overflow="visible" style="left:721px; top:88px; width:104px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>Nu</label>
- <value>1</value>
- </item>
- <item>
- <label>OCS</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- </group>
- <group id="group2" style="left:0px; top:540px; width:830px; height:27px; ">
- <line id="line11" class="line_6" style="x1:0px; y1:0px; x2:830px; y2:0px; "/>
- <button id="btn_cnfm" class="btn4_letter2" style="left:544px; top:5px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 검사그룹 상세 정보목록 화면에 뿌리기
- fSetPopUpTclscdList();
- ]]>
- </script>
- </button>
- <button id="btn_insert" class="btn4_letter4" style="left:603px; top:5px; width:80px; height:22px; ">
- <caption>그룹등록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 검사그룹 등록, 수정
- fExeTestGrup();
- ]]>
- </script>
- </button>
- <button id="btn_del" class="btn4_letter4" style="left:686px; top:5px; width:80px; height:22px; ">
- <caption>그룹삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fTestGrupDelete();
- ]]>
- </script>
- </button>
- <button id="btn_reset" class="btn4_letter2" style="left:769px; top:5px; 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>
|