123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158 |
- <?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>SET수정/등록</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <prmsprcpsetinfo>
- <prmsprcpsetlist>
- <levl/>
- <setno/>
- <supsetno/>
- <sortno/>
- <setkindcd/>
- <setclscd/>
- <settrgtcd/>
- <setnm/>
- <settypecd/>
- </prmsprcpsetlist>
- </prmsprcpsetinfo>
- <testgrupdetl>
- <chk/>
- <tclsnm/>
- <tclscd/>
- <spccd/>
- <setno/>
- <tclscddispseq/>
- <iudgb/>
- <delgb/>
- </testgrupdetl>
- <tclscdlist>
- <ptclscd/>
- <tclsnm/>
- <tclscd/>
- <spccd/>
- <lvl/>
- </tclscdlist>
- <iptbox>
- <setnm/>
- </iptbox>
- </main>
- <send>
- <codeflag/>
- <setkindcd>D</setkindcd>
- <deptsetcd/>
- <deptcd/>
- <deptnm/>
- <foldernm/>
- <testmdlcd/>
- <testgrupnm/>
- <grddata/>
- <gruprow/>
- <detlrow/>
- <globalinstance>
- <instance1/>
- </globalinstance>
- <setno/>
- <savedata/>
- <userdeptflagcd/>
- <searchflag/>
- </send>
- <hidden>
- <prmsprcpsetinfo>
- <prmsprcpsetlist>
- <status/>
- <levl/>
- <setno/>
- <supsetno/>
- <sortno/>
- <setkindcd/>
- <setclscd/>
- <settrgtcd/>
- <setnm/>
- <settypecd/>
- </prmsprcpsetlist>
- </prmsprcpsetinfo>
- <menu>
- <menu>
- <label>새폴더</label>
- <func>fAddPrmsDiagSet</func>
- </menu>
- <menu>
- <label>폴더이름 바꾸기</label>
- <func>fUpdtPrmsDiagSet</func>
- </menu>
- <menu>
- <label>폴더삭제</label>
- <func>fDelPrmsDiagSet</func>
- </menu>
- <menu>
- <label/>
- <func/>
- </menu>
- <!--
- <menu>
- <label>붙여넣기</label>
- <func>fPasteCD</func>
- </menu>
- -->
- </menu>
- <extrdt/>
- <testgrupnm/>
- <testitem/>
- <mdlcd>00</mdlcd>
- <nuflag>1</nuflag>
- <testgruplist>
- <testgrupcd/>
- <testgrupnm/>
- <etc01/>
- <etc02/>
- <etc03/>
- </testgruplist>
- <testgrupdetl>
- <chk/>
- <tclsnm/>
- <tclscd/>
- <spccd/>
- <setno/>
- <tclscddispseq/>
- <iudgb/>
- <delgb/>
- </testgrupdetl>
- <temp/>
- <tclscdlist>
- <tclscdlist/>
- <tclsnmlist/>
- <tclscdlist2/>
- <tclsnmlist2/>
- </tclscdlist>
- <popupmenu>
- <grid01>
- <item>
- <name>행 삭제</name>
- <func>fTestGrupDelete</func>
- </item>
- </grid01>
- </popupmenu>
- </hidden>
- <init>
- <today/>
- <deptlist>
- <deptlist/>
- </deptlist>
- </init>
- <temp>
- <trvprmsprcpsetlist/>
- </temp>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- group1.attribute("height") = 0;
-
- grd_testgrupdetl.fixedcellcheckbox(0,1)=true;
-
- aezfSetSuppDeptcd();
- model.setValue("/root/send/deptcd", model.getValue("/root/send/data/singdata/deptcd"));
- // 2. 중분류 리스트 조회
- model.setValue("/root/send/codeflag", "0102|+"); // 0102= 중분류 // 0103 검사그룹
- submit("TRLZZ00101");
- // 검사그룹 목록 초기화
- //grd_testgruplist.deleteRow(1);
- model.removeNodeset("/root/main/testgruplist");
- // 상세정보 목록 초기화
- //grd_testgrupdetl.deleteRow(1);
- model.removeNodeset("/root/main/testgrupdetl");
- model.setValue("/root/send/searchflag", "2");
- readfunc();
- // 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="TRLLF90403" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/testgruplist"/>
- <submission id="TRAER00813" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/prmsprcpsetinfo"/>
- <submission id="TRAER00814" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/testgrupdetl"/>
- <submission id="TRAER00815" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/deptlist"/>
- <submission id="TXAER00813" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/prmsprcpsetinfo"/>
- <submission id="TXAER00814" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance"/>
- <submission id="TXAER00815" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance"/>
- <submission id="TXMMB00603" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/prmsprcpsetinfo"/>
- <submission id="TXMMB00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/etcprmsprcpsetdetlinfo"/>
- <submission id="TRMMB00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/etcprmsprcpsetdetlinfo"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../ast/examcureweb/js/SMAER00803.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
- <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
- <script type="javascript">
- <![CDATA[
- var iudGbn = null;
-
- function readfunc(){
-
- var setkindcd = model.getValue("/root/send/setkindcd") ;
-
- if (setkindcd == "P" || setkindcd == "D"){
- cmb_deptset.disabled = true;
- }
-
- if (setkindcd == "D") {
- model.setValue("/root/send/deptsetcd", getUserInfo("dutplcecd"));
- model.setValue("/root/send/deptnm", getUserInfo("dutplcenm"));
- }
-
- submit("TRAER00813");
-
- if(setkindcd =="T" && isNull(model.getValue("/root/send/deptsetcd"))) {
- model.setValue("/root/send/deptsetcd", "-");
- }
-
- model.setValue("/root/send/foldernm", "");
- model.setValue(trv_prmsprcpsetlist.attribute("ref"), "");
- trv_prmsprcpsetlist.rebuild();
- }
- // 검사그룹 목록 조회
- function fGetTestGrupList(ref){
-
- submit("TRLLF90403");
-
- grd_testgruplist.row = ref;
- fGetTestGrupDetlList();
- }
-
- // 검사항목 리스트 조회
- function fGetTclscdList(cd){
- model.removeNodeset("/root/main/tclscdlist");
- if (isNull(cd)) {
- model.setValue("/root/hidden/testitem", "");
- model.makeValue("/root/send/searchtext", "");
- cd = model.getValue("/root/hidden/mdlcd");
- }
- if (cd == "00") {
- model.setValue("/root/hidden/mdlcd", "00");
- }
- model.setValue("/root/send/testmdlcd", cd);
- model.setValue("/root/send/userdeptflagcd", "1");
-
- submit("TRLLF90402");
-
- //fSetMakeTree();
- // 공통팀에서 만든 SetTree를 사용한다.
- if (model.getValue("/root/hidden/mdlcd") != "00") {
- model.setValue("/root/hidden/testitem", "");
- setTree(grd_testitemlist, 4, 1, false);
- } else if (isNull(model.getValue("/root/hidden/testitem")) ) {
- model.setValue("/root/hidden/mdlcd", "00");
- setTree(grd_testitemlist, 4, 1, true);
- } else {
- model.setValue("/root/hidden/mdlcd", "00");
- cmb_mdl.refresh();
- setTree(grd_testitemlist, 4, 1, false);
- }
- }
-
- // 트리구조 만들기
- 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 ) {
- 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.makeNode("/root/main/testgrupdetl["+detlrow+"]/setno");
- model.makeNode("/root/main/testgrupdetl["+detlrow+"]/tclscddispseq");
-
- 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"));
- model.setValue("/root/main/testgrupdetl["+detlrow+"]/tclscddispseq", grd_testgrupdetl.row);
- model.setValue("/root/main/testgrupdetl["+detlrow+"]/setno", model.getValue("/root/send/setno"));
- model.setValue("/root/main/testgrupdetl["+detlrow+"]/iudgb", "I");
-
- //grd_testgrupdetl.rowStatus(detlrow) = 1;
-
- detlrow++;
- iudGbn = 0;
- }
- }
-
- // 검사항목에서 더블클릭시 검사그룹 상세 정보 목록으로 보내기(배터리 같은거 한꺼번에)
- function fSetTestGrupDetlAll(){
- var tclscd = model.getValue("/root/main/tclscdlist["+grd_testitemlist.row+"]/tclscd");
- var tlvl = model.getValue("/root/main/tclscdlist["+grd_testitemlist.row+"]/lvl");
- var detlrow = grd_testgrupdetl.rows;
- var itemrow = grd_testitemlist.row;
- var rr = itemrow;
- }
-
- // 검사그룹명 엔터
- 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);
-
- grd_testgruplist.rebuild();
-
- if(grupRow < 1){
- // 행추가 + 그룹명 set
- var grupRS = grd_testgruplist.rows;
-
- //grd_testgruplist.addItem(grupRS);
- grd_testgruplist.addRow(grupRS);
-
- 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;
- }
- }
- }
-
- // 검사항목 검색 , 사용안함
- 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;
- //grd_testitemlist.isselected(itemRow) = true;
- }
- }
-
- // 검사그룹 등록, 수정
- function fExeTestGrup(){
-
- // 상세목록 없으면 등록 안되게
- if(grd_testgrupdetl.rows < 1){
- messageBox("검사그룹 상세 정보를", "C001");
- return;
- }
-
- var chk = "";
- var loopcnt = 0;
- for( var i = 1 ; i <= grd_testgrupdetl.rows ; i++ ) {
- chk = model.getValue("/root/main/testgrupdetl[" + i + "]/chk");
- if ( chk == "Y" ) {
- loopcnt++;
- }
- }
- if ( loopcnt == 0 ) {
- messageBox("저장할 [검사그룹 상세 정보 목록]을 선택해 주십시오.","I999");
- return;
- }
-
- // tclscddispseq 사용자가 지정하는 조회 순서로 변경하기 위해 수정 : 김건기 2008.10.24
- for (var i = 1; i < grd_testgrupdetl.rows; i++){
- var tclscddispseq = model.getValue("/root/main/testgrupdetl[" + i + "]/tclscddispseq");
-
- if (tclscddispseq == "") {
- model.setValue("/root/main/testgrupdetl[" + i + "]/tclscddispseq", i);
- }
- }
-
- /* var detldata = grd_testgrupdetl.getUpdateDataAll("i"); */
- //var update = getGridUpdateData(grd_testgrupdetl);
- var nodeList = instance1.selectNodes("/root/main/testgrupdetl[chk='Y']");
- var detldata = getNodeListCSV(nodeList);
- //alert(detldata);
- if ( detldata == null ) {
- messageBox("처방내역을 선택해 주십시오.","I999");
- return;
- }
-
- model.setValue("/root/send/grddata", detldata);
- //return;
- if(submit("TXAER00814")==true){
- fGetTestGrupDetlList();
- }
- }
-
-
- // 검사그룹 상세 정보 목록
- function fGetTestGrupDetlList(){
-
- //model.removeNodeset("/root/hidden/testgrupdetl");
-
- var item = trv_prmsprcpsetlist.item(trv_prmsprcpsetlist.selectedIndex);
- var rowpos = item.index + 1;
-
- model.setValue("/root/send/setno", model.getValue("/root/main/prmsprcpsetinfo/prmsprcpsetlist[" + rowpos + "]/setno"));
- submit("TRAER00814");
- //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);
- }
- }
- }
-
- // 검사그룹 상세 정보 목록 메인으로 넘기기
-
- // 검사그룹 삭제 2007-07-31 누가지웠어???
- function fTestGrupDelete(){
-
- //messageBox("[SET코드 삭제]를 하실 수 없습니다. 담당부서에 문의 바랍니다.","I999");
- //return;
- // 상세목록 없으면 등록 안되게
- if(grd_testgrupdetl.rows < 1){
- messageBox("검사그룹 상세 정보를", "C001");
- return;
- }
-
- model.setValue("/root/main/testgrupdetl[" + grd_testgrupdetl.row + "]/chk","Y");
-
- var k = "0";
- for (var i = 1; i < grd_testgrupdetl.rows; i++){
- if (model.getValue("/root/main/testgrupdetl[" + i + "]/chk") == "Y"){
- }else{
- k = parseInt(k) + 1;
- model.setValue("/root/main/testgrupdetl[" + i + "]/tclscddispseq", k);
- }
- model.setValue("/root/main/testgrupdetl[" + i + "]/delgb", "Y");
- }
- var detldata = grd_testgrupdetl.getUpdateDataAll("i");
- //var update = getGridUpdateData(grd_testgrupdetl);
-
- model.setValue("/root/send/grddata", detldata);
-
- if(submit("TXAER00814")==true){
- fGetTestGrupDetlList();
- }
- }
-
-
- // 순서변경 하는 함수
- function fSetMenuGroupSeq(toSeq, type) { // 순서 변경 함수
- var isSeq = grd_testgrupdetl.row; //클릭한 로우
- var fixRow = grd_testgrupdetl.fixedRows;
-
- if(isSeq > 0){ // 클릭한 로우가 존재할 때
- var srcSeq = (isSeq > toSeq) ? isSeq+1 : isSeq; //클릭한 행과 이동할 행을 비교하여 클릭한 행이 클 때는
-
- grd_testgrupdetl.insertRow(toSeq, type, false); // 이동할 위치에 행을 하나 삽입한다.
- model.copyNode("/root/main/testgrupdetl["+grd_testgrupdetl.row+"]", "/root/main/testgrupdetl["+srcSeq+"]");
- grd_testgrupdetl.deleteRow(srcSeq, false);
-
- if(isSeq > toSeq) {
- startRow = toSeq;
- endRow = isSeq;
- grd_testgrupdetl.row = startRow; //위로 올릴때 포커스는 시작점
- } else {
- startRow = isSeq;
- endRow = toSeq;
- grd_testgrupdetl.row = endRow; //밑으로 내릴 때 포커스는 끝나는점
- }
- model.refresh();
- }else{
- messageBox("변경할 메뉴그룹을","C002");
- }
- }
-
- function fOrdPatWaitSeqChng() { //대기환자 순서 변경 함수
- var idxRows=grd_ordschelistinfo.rows;
- var idxFixRows=grd_ordschelistinfo.fixedRows;
- var idxRow=grd_ordschelistinfo.row; //클릭한 행 반환
- var upRow=idxRow-1; //클릭한 행 윗 행
- var downRow=idxRow+1; //클릭한 행 아래 행
- if(isNull(upordrsrvtm)) {
- upordrsrvtm = downordrsrvtm -1;
- }
- if (isNull(upordrsrvseqno) || upordrsrvseqno == "1.#Q") {
- upordrsrvseqno = "0000";
- }
- if (isNull(downordrsrvseqno) || downordrsrvseqno == "1.#Q") {
- downordrsrvseqno = "0000";
- }
- //alert(upordrsrvseqno+".."+upordrsrvseqno+".."+downordrsrvseqno);
- // ordrsrvtm이 위 아래 같으면 down+up/2, 다르면 up+10000/2
- if(upordrsrvseqno=='0000'&& downordrsrvseqno=='0000')
- {
- model.makeValue("/root/send/savedata/ordrsrvseqno",'5000');
- //alert('5000');
- }
- else if(upordrsrvseqno>downordrsrvseqno) {
- var midseqno=(parseInt(10000)+parseInt(upordrsrvseqno))/2;
- //var subordrsrvseqno=round(midseqno);
- var subordrsrvseqno=Math.round(midseqno);
- //alert(subordrsrvseqno);
- model.makeValue("/root/send/savedata/ordrsrvseqno",subordrsrvseqno);
- //alert("1:"+upordrsrvseqno+".."+parseInt(upordrsrvseqno)+".."+(parseInt(10000)+parseInt(upordrsrvseqno))+".."+(parseInt(10000)+parseInt(upordrsrvseqno))/2);
- }
- else if(upordrsrvseqno<downordrsrvseqno) {
- var midseqno2=(parseInt(upordrsrvseqno)+parseInt(downordrsrvseqno))/2;
- //var subordrsrvseqno=round(midseqno2,0);
- var subordrsrvseqno=Math.round(midseqno2);
- //alert(subordrsrvseqno);
- model.makeValue("/root/send/savedata/ordrsrvseqno",subordrsrvseqno);
- //alert(upordrsrvseqno+downordrsrvseqno);
- //alert("2:"+(parseInt(upordrsrvseqno)+parseInt(downordrsrvseqno))+".."+(parseInt(upordrsrvseqno)+parseInt(downordrsrvseqno))/2);
- } else if (upordrsrvseqno ==downordrsrvseqno) {
- model.makeValue("/root/send/savedata/ordrsrvseqno",'5000');
- }
-
- var pid=model.getValue("/root/main/ordschelist/ordschelistinfo"+"["+idxRow+"]/pid");
- var orddd=model.getValue("/root/main/ordschelist/ordschelistinfo"+"["+idxRow+"]/orddd");
- var cretno=model.getValue("/root/main/ordschelist/ordschelistinfo"+"["+idxRow+"]/cretno");
- var orddrid=model.getValue("/root/main/ordschelist/ordschelistinfo"+"["+idxRow+"]/orddrid");
- var orddeptcd=model.getValue("/root/main/ordschelist/ordschelistinfo"+"["+idxRow+"]/orddeptcd");
- var patstat=model.getValue("/root/main/ordschelist/ordschelistinfo"+"["+idxRow+"]/patstat");
- // alert(idxRow+"idxrow"+pid+"pid"+orddd+"orddd"+cretno+"cretno"+orddrid+"orddrid"+orddeptcd+"orddeptcd"+patstat+"patstat");
- model.makeValue("/root/send/savedata/ordrsrvtm",upordrsrvtm);
- model.makeValue("/root/send/savedata/pid",pid);
- model.makeValue("/root/send/savedata/orddd",orddd);
- model.makeValue("/root/send/savedata/cretno",cretno);
- model.makeValue("/root/send/savedata/orddrid",orddrid);
- model.makeValue("/root/send/savedata/orddeptcd",orddeptcd);
- model.makeValue("/root/send/savedata/patstat","D"); //환자 대기 상태로 셋팅
- model.makeValue("/root/send/savedata/dspflag","O"); //진료구분 (O - 외래, T-검사)';
-
- if(submit("TXMNV07003")==true)
- {
- //messageBox("순서변경이","I002");
- fOrdScheList();
- model.removeNodeset("/root/chkvalue/chk"); //체크값 리셋
- }
- model.refresh();
-
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body visibility="visible" pagewidth="850px" pageheight="755px" guideline="1,230;1,1193;2,751;" style="border-color:#c7a3cf; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:106px; height:14px; ">SET수정/등록</caption>
- <treeview id="trv_prmsprcpsetlist" ref="/root/temp/trvprmsprcpsetlist" dragmode="true" dropmode="true" expanddepth="5" fullrowselect="false" itemsettype="depth" style="left:0px; top:148px; width:230px; height:582px; border-color:#c7a3cf; border-style:solid; ">
- <itemset nodeset="/root/main/prmsprcpsetinfo/prmsprcpsetlist">
- <label ref="setnm"/>
- <value ref="setno"/>
- <depth ref="levl"/>
- </itemset>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- var setkindcd = model.getValue("/root/send/setkindcd")
- if (setkindcd != "T") {
-
- setPopupMenu("trv_prmsprcpsetlist", false , "/root/hidden/menu/menu", "label", "func");
- }
- //alert('check->'+check);
-
- //rdo_setflag.dispatch("onclick");
- //fMouseRghtBtnPopup();
- ]]>
- </script>
- <script type="javascript" ev:event="ondragstart">
- <![CDATA[
- fPrmsDiagSetDrag();
- ]]>
- </script>
- <script type="javascript" ev:event="ondrop">
- <![CDATA[
- fOndrop();
- ]]>
- </script>
- <script type="javascript" ev:event="ondragover">
- <![CDATA[
- fOnDragMouseOver();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fGetTestGrupDetlList();
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- fGetTestGrupDetlList();
- ]]>
- </script>
- </treeview>
- <switch id="switch1" style="left:0px; top:45px; width:230px; height:101px; border-color:#c7a3cf; ">
- <case id="protocol">
- <shape id="roundrect4" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:4px; top:5px; width:222px; height:90px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption5" class="search_name" style="left:15px; top:19px; width:156px; height:17px; ">약속프로토콜 SET명 :</caption>
- <button id="button2" class="btn2_letter2" style="left:169px; top:70px; width:42px; height:19px; ">
- <caption>검색</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSrchDiagSetNM();
- ]]>
- </script>
- </button>
- <input id="ipt_protofoldnm" ref="/root/main/cond/foldernm" style="left:15px; top:45px; width:197px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- inputEnterKey("btn_srchprcp", "DOMActivate");
- ]]>
- </script>
- </input>
- </case>
- <case id="prmscomn" selected="true">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:5px; top:5px; width:221px; height:90px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption1" class="search_name" style="left:10px; top:66px; width:86px; height:17px; ">폴더명 :</caption>
- <select1 id="cmb_deptset" ref="/root/send/deptsetcd" disabled="true" appearance="minimal" style="left:21px; top:39px; width:164px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/deptlist/deptlist">
- <label ref="deptnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //fSelectDeptCmb();
- //model.setValue("/root/send/deptnm", cmb_deptset.label);
- //readfunc();
-
- var index = cmb_deptset.focusIndex+1;
- model.setValue("/root/send/deptsetcd", model.getValue("/root/init/deptlist/deptlist["+index+"]/deptcd"));
- model.setValue("/root/send/deptnm", model.getValue("/root/init/deptlist/deptlist["+index+"]/deptnm"));
- //model.refresh();
-
- //alert(model.getValue("/root/send/deptsetcd"));
- //alert(model.getValue("/root/send/deptnm"));
- if (model.getValue("/root/send/deptsetcd") == "-") {
- model.setValue("/root/send/deptsetcd", "-");
- model.setValue("/root/send/deptnm", "");
- }
- readfunc();
- // model.setValue("/root/send/deptsetcd", "");
- // model.setValue("/root/send/deptnm", "");
- model.refresh();
-
- ]]>
- </script>
- </select1>
- <input id="ipt_foldnm" ref="/root/send/foldernm" style="left:85px; top:65px; width:85px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- inputEnterKey("btn_srch", "DOMActivate");
- ]]>
- </script>
- </input>
- <select1 id="rdo_setflag" ref="/root/send/setkindcd" appearance="full" cellspacing="15" cols="3" rows="1" overflow="visible" style="left:21px; top:13px; width:179px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>개인</label>
- <value>P</value>
- </item>
- <item>
- <label>과</label>
- <value>D</value>
- </item>
- <item>
- <label>타과</label>
- <value>T</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if (model.getValue("/root/send/setkindcd") == "P" || model.getValue("/root/send/setkindcd") == "D"){
- submit("TRAER00815");
- readfunc();
- cmb_deptset.disabled = true;
- btn_insert.disabled = false;
- btn_del.disabled = false;
- grd_testitemlist.disabled = false;
- button12.disabled = false;
- btn_to_up.disabled = false;
- btn_to_enddown.disabled = false;
- btn_to_topup.disabled = false;
- btn_to_down.disabled = false;
- }else{
- submit("TRAER00815");
- cmb_deptset.disabled = false;
- btn_insert.disabled = true;
- btn_del.disabled = true;
- grd_testitemlist.disabled = true;
- button12.disabled = true;
- btn_to_up.disabled = true;
- btn_to_enddown.disabled = true;
- btn_to_topup.disabled = true;
- btn_to_down.disabled = true;
- readfunc();
- model.setValue("/root/send/deptsetcd", "-");
- }
- model.refresh();
- ]]>
- </script>
- </select1>
- <caption id="caption2" visibility="hidden" style="left:36px; top:12px; width:43px; height:20px; font-weight:bold; color:#ff0000; ">개인</caption>
- <caption id="caption3" visibility="hidden" style="left:96px; top:12px; width:29px; height:20px; font-weight:bold; color:#ff0000; ">과</caption>
- <caption id="caption7" visibility="hidden" style="left:142px; top:12px; width:43px; height:20px; font-weight:bold; color:#ff0000; border-color:transparent; ">타과</caption>
- <button id="btn_srch" class="btn2_letter2" style="left:174px; top:65px; width:42px; height:19px; ">
- <caption>검색</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSrchFolderNM();
- ]]>
- </script>
- </button>
- </case>
- </switch>
- <group id="group1" style="left:6px; top:195px; width:218px; height:55px; background-color:#99ccff; border-color:#3366ff; border-style:solid; ">
- <caption id="caption4" style="left:5px; top:5px; width:41px; height:20px; font-weight:bold; vertical-align:middle; ">폴더명</caption>
- <input id="ipt_setnm" ref="/root/main/iptbox/setnm" class="input_default" style="left:55px; top:5px; width:154px; height:19px; border-color:#3366ff; border-style:solid; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- inputEnterKey("btn_cnfm", "DOMActivate");
- var keycode = event.keyCode;
- if(keycode == 27){
- group1.attribute("height") = 0;
- model.setFocus("trv_etcprmsprcpsetlist");
- return;
- }
- ]]>
- </script>
- </input>
- <button id="btn_cnfm" class="btn2_letter2" style="left:122px; top:26px; width:42px; height:19px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- group1.attribute("height") = 0;
- model.setFocus("trv_etcprmsprcpsetlist");
- model.refresh();
- fSavePrmsDiagSet();
- ]]>
- </script>
- </button>
- <button id="button3" class="btn2_letter2" style="left:166px; top:26px; width:42px; height:19px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- group1.attribute("height") = 0;
- ]]>
- </script>
- </button>
- </group>
- <caption id="caption22" class="tit_2" style="left:3px; top:30px; width:82px; height:13px; ">폴더관리</caption>
- <button id="btn_down" class="icon_bottom" visibility="hidden" style="left:288px; top:171px; width:26px; height:19px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetDetlListMode("1");
- ]]>
- </script>
- </button>
- <line id="line9" class="line_1" style="x1:556px; y1:115px; x2:826px; y2:115px; "/>
- <datagrid id="grd_testitemlist" nodeset="/root/main/tclscdlist" caption="검사명^kind^tclscd^lvl^ptclscd^spccd" colsep="^" colwidth="235, 0, 0, 0, 0, 0" dataheight="23" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="select" rowheight="23" rowsep="|" tooltip="true" style="left:556px; top:120px; width:270px; height:610px; ">
- <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[
- if ( grd_testitemlist.isCell(event.target) && grd_testitemlist.row >= grd_testitemlist.fixedRows ) {
- // 검사항목 목록 더블클릭시
- if (trv_prmsprcpsetlist.selectedIndex < 1){
- messageBox("작성할 폴더를 선택한 후 작업하시기 바랍니다.", "E999", "");
- return;
- }
- 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="^검사명^검사코드^검체코드^setno^조회순서^iudgb^delgb" colsep="^" colwidth="30, 150, 105, 36, 23, 19, 28, 25" dataheight="23" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="100" rowsep="|" style="left:238px; top:70px; width:310px; height:660px; ">
- <col checkvalue="Y,N" ref="chk" type="checkbox"/>
- <col ref="tclsnm" type="input"/>
- <col ref="tclscd"/>
- <col ref="spccd"/>
- <col ref="setno" visibility="hidden"/>
- <col ref="tclscddispseq" type="input"/>
- <col ref="iudgb" visibility="hidden"/>
- <col ref="delgb" visibility="hidden"/>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- var setkindcd = model.getValue("/root/send/setkindcd")
- if (setkindcd != "T") {
- setPopupMenu("grd_testgrupdetl", false, "/root/hidden/popupmenu/grid01/item", "name", "func");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- initPopupMenu();
- ]]>
- </script>
- </datagrid>
- <caption id="caption10" class="tit_2" style="left:561px; top:99px; width:151px; height:13px; ">검사항목 목록</caption>
- <caption id="caption8" class="cell_1" visibility="hidden" style="left:5px; top:170px; width:100px; height:23px; ">그룹상세</caption>
- <caption id="caption9" class="cell_1" style="left:556px; top:72px; width:85px; height:23px; ">검사분류선택</caption>
- <caption id="caption11" class="tit_2" visibility="hidden" style="left:10px; top:150px; width:131px; height:13px; ">검사결과 SET 수정</caption>
- <caption id="caption12" class="tit_2" style="left:556px; top:30px; width:151px; height:13px; ">검사항목 조회</caption>
- <caption id="caption13" class="cell_1" visibility="hidden" style="left:610px; top:5px; width:100px; height:23px; ">검색</caption>
- <select1 id="cmb_mdl" ref="/root/hidden/mdlcd" class="combo_essential" appearance="minimal" itemcount="20" style="left:646px; top:73px; width:180px; 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="line3" class="line_1" visibility="hidden" style="x1:5px; y1:165px; x2:315px; y2:165px; "/>
- <line id="line4" class="line_1" style="x1:238px; y1:45px; x2:548px; y2:45px; "/>
- <button id="btn_ref" class="icon_search" style="left:810px; top:50px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 검사항목 검색
- var searchflag = model.getValue("/root/send/searchflag");
- model.makeValue("/root/send/searchtext", model.getValue("/root/hidden/testitem"));
- if (isNull(searchflag)) {
- messageBox("코드나 검사명은 필수 선택입니다.", "I");
- return;
- }
- fGetTclscdList("00");
- ]]>
- </script>
- </button>
- <input id="ipt_tclscd" ref="/root/hidden/testitem" class="input_default" style="left:655px; top:50px; width:150px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- // 검사항목 검색
- inputEnterKey("btn_ref", "DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption14" class="tit_2" style="left:243px; top:30px; width:162px; height:13px; ">검사그룹 상세 정보 목록</caption>
- <line id="line5" class="line_3" visibility="hidden" style="x1:5px; y1:192px; x2:315px; y2:192px; "/>
- <button id="btn_up" class="icon_top" visibility="hidden" style="left:259px; top:171px; width:26px; height:19px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetDetlListMode("2");
- ]]>
- </script>
- </button>
- <line id="line6" class="line_1" style="x1:556px; y1:45px; x2:826px; y2:45px; "/>
- <line id="line7" class="line_3" style="x1:556px; y1:96px; x2:826px; y2:96px; "/>
- <iviewer id="iviewer1" visibility="hidden" style="left:105px; top:20px; width:65px; height:19px; border-color:transparent; border-style:solid; "/>
- <button id="btn_del" class="btn4_letter2" visibility="hidden" style="left:491px; top:20px; width:56px; height:22px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fTestGrupDelete();
- ]]>
- </script>
- </button>
- <button id="btn_reset" class="btn4_letter2" style="left:770px; top:20px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var setkind = opener.javascript.getParameter("SPAER00803_setkind");
- if (setkind != "400" ) {
- opener.btn_case3.selected = true;
-
- opener.grp_makedset.visible = false; // SET전체항목조회 비활성화
- opener.datagrid2.visible = true;
- opener.grd_subresultdetail1.visible = false;
-
- opener.javascript.readfunc();
- window.close();
- } else {
- window.close();
- }
-
- ]]>
- </script>
- </button>
- <button id="btn_insert" class="btn4_letter2" style="left:489px; top:20px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 검사그룹 등록, 수정
- fExeTestGrup();
- ]]>
- </script>
- </button>
- <select1 id="radio1" ref="/root/hidden/nuflag" appearance="full" cellspacing="20" cols="2" overflow="visible" style="left:720px; top:99px; 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>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var mdlcd = model.getValue("/root/hidden/mdlcd");
- if (mdlcd != "") {
- fGetTclscdList();
- }
- ]]>
- </script>
- </select1>
- <button id="btn_to_topup" class="icon_top" style="left:360px; top:50px; width:26px; height:19px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(grd_testgrupdetl.row<=0) {
- messageBox("검사명을 선택","I008");
- return;
- }
- if ( grd_testgrupdetl.row == "1") {
- messageBox("최상위 검사입니다.", "I");
- return;
- } else {
- fSetMenuGroupSeq("1", "above");
- }
- ]]>
- </script>
- <hint>
- <![CDATA[맨위로]]>
- </hint>
- </button>
- <button id="btn_to_enddown" class="icon_bottom" style="left:450px; top:50px; width:26px; height:19px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(grd_testgrupdetl.row<=0) {
- messageBox("검사를 선택","I008");
- return;
- }
- if( grd_testgrupdetl.rows-grd_testgrupdetl.fixedRows > grd_testgrupdetl.row ) {
- fSetMenuGroupSeq(grd_testgrupdetl.rows-grd_testgrupdetl.fixedRows, "below");
- }
- else {
- messageBox("최하위 메뉴그룹이","E005");
- }
- ]]>
- </script>
- <hint>
- <![CDATA[맨아래로]]>
- </hint>
- </button>
- <button id="btn_to_up" class="icon_top_direction" disable.background-image="../../../com/commonweb/images/dis_btn2_letter3.gif" style="left:390px; top:50px; width:26px; height:19px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(grd_testgrupdetl.row<=0) {
- messageBox("검사를 선택","I008");
- return;
- }
- if (grd_testgrupdetl.row <= 1 ) {
- messageBox("최상위입니다.","I");
- } else {
- fSetMenuGroupSeq(grd_testgrupdetl.row-1, "above");
- }
- ]]>
- </script>
- <hint>
- <![CDATA[위로]]>
- </hint>
- </button>
- <button id="btn_to_down" class="icon_bottom_direction" disable.background-image="../../../com/commonweb/images/dis_btn2_letter3.gif" style="left:420px; top:50px; width:26px; height:19px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(grd_testgrupdetl.row<=0) {
- messageBox("검사를 선택","I008");
- return;
- }
- if( grd_testgrupdetl.rows-grd_testgrupdetl.fixedRows > grd_testgrupdetl.row ) {
- fSetMenuGroupSeq(grd_testgrupdetl.row+1, "below");
- }
- else {
- messageBox("최하위 메뉴그룹이","E005");
- }
- ]]>
- </script>
- <hint>
- <![CDATA[아래로]]>
- </hint>
- </button>
- <button id="button12" class="btn2_letter4" style="left:480px; top:50px; width:64px; height:19px; ">
- <caption>순서저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var i = 0;
- for (i =1; i < grd_testgrupdetl.rows; i++ ) {
- model.setValue("/root/main/testgrupdetl[" + i + "]/tclscddispseq", i);
- model.setValue("/root/main/testgrupdetl[" + i + "]/chk", "Y");
- grd_testgrupdetl.rowStatus(i) = 2;
- }
- model.refresh();
- fExeTestGrup();
- ]]>
- </script>
- </button>
- <line id="line1" class="line_3" style="x1:555px; y1:70px; x2:825px; y2:70px; "/>
- <select1 id="radio2" ref="/root/send/searchflag" appearance="full" cols="2" overflow="visible" style="left:555px; top:50px; width:105px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>코드</label>
- <value>1</value>
- </item>
- <item>
- <label>검사명</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <caption id="caption15" style="left:5px; top:730px; width:410px; height:20px; font-weight:bold; ">*코드 및 검사명 검사항목 조회는 대문자로만 검색이 가능합니다.</caption>
- </xhtml:body>
- </xhtml:html>
|