12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMLPC10700_통합검사그룹항목등록.xrw
- * 설 명 : 검사그룹항목등록 화면
- * 설 계 자 : (주)평화이즈 - 박상환
- * 작 성 자 : (주)평화이즈 - 박상환
- * 작 성 일 : 2010.01.08
- * 수정이력 :
- * 기 타 : existflag - 0 : 현재일자를 기준으로 사용중, 사용종료된 항목이 아닌경우
- 1 : 현재일자를 기준으로 사용중인 항목
- 2 : 현재일자를 기준으로 사용중, 사용종료된 항목이 아니면서 선택된 항목
- 3 : 현재일자를 기준으로 사용종료된 항목
- -->
- <?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/>
- <model id="model1">
- <instance id="instance1">
- <root>
- <main>
- <testgrupcnts>
- <testgruplist>
- <grupchoi/>
- <testgrupcd/>
- <fromdd/>
- <todd/>
- <testgrupnm/>
- <testcd/>
- <testnm/>
- <delflagcd/>
- <ptnocd/>
- <ptnocdflagcd/>
- <stdyptnocd/>
- <stdyptnocdflagcd/>
- <trustptnocd/>
- <trustptnocdflagcd/>
- <trusttestflagcd/>
- <dispseqno/>
- </testgruplist>
- </testgrupcnts>
- <testgrupinfo>
- <testgrupcd/>
- <testgrupnm/>
- <testgrupabbr/>
- <todd/>
- <fromdd/>
- <basepartcd/>
- <basepartnm/>
- <detlpartcd/>
- <detlpartnm/>
- <delflagcd/>
- <fstrgstdt/>
- <fstrgstrid/>
- <lastupdtdt/>
- <lastupdtrid/>
- </testgrupinfo>
- <detltestgrup>
- <testitemlist>
- <choi/>
- <testcd/>
- <testnm/>
- <ptnocd/>
- <ptnocdflagcd/>
- <stdyptnocd/>
- <stdyptnocdflagcd/>
- <trustptnocd/>
- <trustptnocdflagcd/>
- <trusttestflagcd/>
- <dispseqno/>
- <fromdd/>
- <todd/>
- <existflag/>
- </testitemlist>
- </detltestgrup>
- </main>
- <send>
- </send>
- <init>
- </init>
- <hidden>
- <userinfo>
- <instcd/>
- </userinfo>
- <delflagcd>0</delflagcd>
- <refflag>1</refflag>
- <refval/>
- <cdupdtflag>1</cdupdtflag>
- <scrndata/>
- <tempptnocd/>
- <sendnode/>
- <temptestitem/>
- </hidden>
- <temp>
- <testcdlist>
- <testgrupcd/>
- <testcd/>
- </testcdlist>
- </temp>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../lis/commonweb/js/LPZ001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- <script type="javascript" src="../../../lis/commonweb/js/LPZ001.js"/>
- <script type="javascript" src="../../../lis/commonweb/js/LZZ001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fExeInitialize();
- ]]>
- </script>
- <!-- public Script Start -->
- <script type="javascript">
- <![CDATA[
-
- /* @group : 통합검사그룹항목등록 화면
- * @ver : 2010.01.21 (CMCDEV-0001)
- * @by : 박상환(평화이즈)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 화면초기화 함수
- */
- function fExeInitialize(){
-
- model.removeNodeset("/root/main/testgrupcnts/testgruplist");
- model.removeNodeset("/root/main/detltestgrup/testitemlist");
-
- model.setValue("/root/hidden/delflagcd", "0");
- model.setValue("/root/hidden/refval", "");
- model.setValue("/root/hidden/cdupdtflag", "1");
-
- fExeControlChng("false");
- model.setValue("/root/hidden/userinfo/instcd", getUserInfo("dutplceinstcd")); //instcd
-
- grp_testgruplist.fixedcellcheckbox(0, 1) = true;
- model.refresh();
- }
-
- /* @group : 통합검사그룹항목등록 화면
- * @ver : 2010.01.21 (CMCDEV-0001)
- * @by : 박상환(평화이즈)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 조회/수정/신규 컨트롤 사용여부 변경 함수
- * iGbn : 입력구분 - true/false
- */
- function fExeControlChng(iGbn){
-
- var vCtrSelArr = new Array();
- var sGbn = "";
-
- if(iGbn == "true"){
- sGbn = "false";
- }else{
- sGbn = "true";
- }
-
- vCtrSelArr[0] = document.controls("btn_testgrup"); //검사그룹조회 버튼
- vCtrSelArr[1] = document.controls("btn_basepart"); //기본파트조회 버튼
- vCtrSelArr[2] = document.controls("btn_detlpart"); //세부파트조회 버튼
- vCtrSelArr[3] = document.controls("rdo_delflagcd"); //사용구분 라디오버튼
-
- //Control 사용여부 설정
- for(var idx = 0; idx < vCtrSelArr.length; idx++){
- vCtrSelArr[idx].disabled = sGbn;
- }
- }
-
- /* @group : 통합검사그룹항목등록 화면
- * @ver : 2010.01.21 (CMCDEV-0001)
- * @by : 박상환(평화이즈)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 조회, 수정, 신규 작업 구분 함수
- */
- function fExeCodeUpdtFlag(){
- var updtGbn = model.getValue("/root/hidden/cdupdtflag");
-
- //updtGbn - 1:조회, 2:수정, 3:신규
- if(updtGbn == "1"){
- fExeControlChng("false");
- }else if(updtGbn == "2"){
-
- //수정시 선택된 검사그룹코드가 없을경우
- if(model.getValue("/root/main/testgrupinfo/testgrupcd") == ""){
- messageBox("검사그룹코드를", "C002");
- model.resetInstanceNode("/root/main/testgrupinfo");
- model.setValue("/root/hidden/cdupdtflag", "1");
- fExeControlChng("false");
- model.refresh();
- return;
- }
-
- fExeControlChng("true");
- document.controls("btn_testgrup").disabled = "true";
- }else{
-
- //조회부조건이 미사용일 경우
- if(model.getValue("/root/hidden/delflagcd") == "1"){
- messageBox("미사용 조회조건에서는 신규작업을", "E001");
- model.setValue("/root/hidden/cdupdtflag", "1");
- fExeControlChng("false");
- model.refresh();
- return;
- }
-
- fExeControlChng("true");
- fExeInsWork();
- }
- model.refresh();
- }
-
- /* @group : 통합검사그룹항목등록 화면
- * @ver : 2010.01.21 (CMCDEV-0001)
- * @by : 박상환(평화이즈)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 신규 작업 시 기본 Setting 함수
- */
- function fExeInsWork(){
-
- model.resetInstanceNode("/root/main/testgrupinfo");
-
- model.setValue("/root/main/testgrupinfo/delflagcd", "0");
- document.controls("rdo_delflagcd").disabled = "true";
-
- fGetRefData("testcdlist");
-
- model.refresh();
- }
-
- /* @group : 통합검사그룹항목등록 화면
- * @ver : 2010.01.21 (CMCDEV-0001)
- * @by : 박상환(평화이즈)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 검사그룹항목 리스트 조회 함수
- */
- function fGetRefData(ref_work_flag){
-
- //---------------------------------------------------------------
- if(ref_work_flag == "testgrupinfo" && grp_testgruplist.row < 1) {
- return;
- }
-
- //lpzfExeRemakeSendNode(5); //send data reset function
-
- if(ref_work_flag != "testcdlist" && model.getValue("/root/hidden/cdupdtflag") != "1"){
-
- if(lpzfExeBfChkMsg("R") == true){
- model.setValue("/root/hidden/cdupdtflag", "1");
- fExeControlChng("false");
- }else{
- return;
- }
- }
-
- //--------------------------------
- model.removeNodeset("/root/send");
-
- //----------------------
- switch (ref_work_flag) {
-
- case "testcdlist":
-
- if (model.getValue("/root/hidden/cdupdtflag") == "3") {
- model.removeNodeset("/root/main/detltestgrup/testitemlist");
- grd_testlist.refresh();
- }
-
- model.makeValue("/root/send/delflagcd", model.getValue("/root/hidden/delflagcd")); // 조회조건 사용여부구분
- model.makeValue("/root/send/testgrupcd", model.getValue("/root/main/testgrupinfo/testgrupcd")); // 검사그룹코드
- model.makeValue("/root/send/basepartcd", model.getValue("/root/main/testgrupinfo/basepartcd")); // 기본파트코드
- model.makeValue("/root/send/detlpartcd", model.getValue("/root/main/testgrupinfo/detlpartcd")); // 세부파트코드
-
- submit("TRLPC10701");
- model.removeNodeset("/root/main/detltestgrup/message");
-
- if(model.getValue("/root/hidden/cdupdtflag") == "3" &&
- model.getValue("/root/main/detltestgrup/testitemlist[choi = 'true']/testcd") != ""){
- messageBox("이미 검사그룹이 존재하여\n신규작업을 할 수", "I004");
- model.setValue("/root/hidden/cdupdtflag", "1");
- fExeControlChng("false");
-
- model.setValue("/root/hidden/refflag", "1");
- model.setValue("/root/hidden/refval", model.getValue("/root/main/testgrupinfo/testgrupcd"));
- fGetRefData("testgruplist");
- model.setValue("/root/hidden/refval", "");
-
- return;
- }
-
- if(model.getValue("/root/hidden/cdupdtflag") == "3" &&
- model.getValue("/root/main/detltestgrup/testitemlist[existflag = '3']/testcd") != ""){
-
- messageBox("사용종료된 검사항목이 있습니다.\n검사그룹 수정작업을 하십시오", "I");
- model.setValue("/root/hidden/cdupdtflag", "1");
- fExeControlChng("false");
-
- //검사그룹 리스트 조회
- model.setValue("/root/hidden/delflagcd", "1");
- model.setValue("/root/hidden/refflag", "1");
- model.setValue("/root/hidden/refval", model.getValue("/root/main/testgrupinfo/testgrupcd"));
- fGetRefData("testgruplist");
- model.setValue("/root/hidden/refval", "");
-
- return;
- }
-
- break;
-
- case "testgruplist":
-
- model.resetInstanceNode("/root/main/testgrupinfo");
- model.resetInstanceNode("/root/main/detltestgrup");
- model.removeNodeset("/root/main/detltestgrup/testitemlist");
- grd_testlist.rebuild();
-
- model.makeValue("/root/send/delflagcd", model.getValue("/root/hidden/delflagcd")); //조회조건 사용여부구분
- model.makeValue("/root/send/refflag", model.getValue("/root/hidden/refflag")); //조회구분
- model.makeValue("/root/send/refval", model.getValue("/root/hidden/refval")); //조회값
-
- submit("TRLPC10702");
- model.removeNodeset("/root/main/testgrupcnts/message");
-
- break;
-
- case "testgrupinfo":
-
- var prest_row = grp_testgruplist.row;
-
- model.makeValue("/root/send/delflagcd", model.getValue("/root/hidden/delflagcd")); //사용여부구분
- model.makeValue("/root/send/testgrupcd", model.getValue("/root/main/testgrupcnts/testgruplist[" + prest_row + "]/testgrupcd")); //검사그룹코드
-
-
- submit("TRLPC10703");
- model.removeNodeset("/root/main/message");
-
- fGetRefData("testcdlist");
-
- break;
- default:
- break;
- }
-
- model.refresh();
- }
-
- /* @group : 통합검사그룹항목등록 화면
- * @ver : 2010.01.21 (CMCDEV-0001)
- * @by : 박상환(평화이즈)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 초기 조회된 검사항목 리스트의 원본정보를 저장/비교한다.
- */
- function fExeOrgData(flag){
-
- //화면초기화 및 저장된 항목 insert ********************
- var prest_test_cd = new Array();
- var choi_test_cd = new Array();
- var cnt_choi_test_item = 0;
- var cnt_prest_test_item = 0;
- var prest_row; //추가나 수정이 시작될 row
-
- //검사그룹리스트
- for(var i = 1; i < grp_testgruplist.rows; i++){
- if(model.getValue("/root/main/testgrupcnts/testgruplist[" + i + "]/testgrupcd") ==
- model.getValue("/root/main/testgrupinfo/testgrupcd")){
- prest_test_cd[cnt_prest_test_item++] = model.getValue("/root/main/testgrupcnts/testgruplist[" + i + "]/testcd");
- }
- }
-
- //검사항목리스트
- for(var i = 1; i < grd_testlist.rows; i++){
- if(model.getValue("/root/main/detltestgrup/testitemlist[" + i + "]/choi") == "true"){
- choi_test_cd[cnt_choi_test_item++] = model.getValue("/root/main/detltestgrup/testitemlist[" + i + "]/testcd");
- }
- }
-
- //1. 새로 추가된 항목들
- var j = 0;
- for(var i = 0; i < choi_test_cd.length; i++){
- for(j = 0; j < prest_test_cd.length; j++){
- if(choi_test_cd[i] == prest_test_cd[j]){
- break;
- }
- }
- if(j >= prest_test_cd.length){
- return true;
- }
- }
-
- //2. 새로 제거된 항목들
- j = 0;
- for(var i = 0; i < prest_test_cd.length; i++){
- for(j = 0; j < choi_test_cd.length; j++){
- if(choi_test_cd[i] == prest_test_cd[j]){
- break;
- }
- }
- if(j >= choi_test_cd.length){
- return true;
- }
- }
- return false;
- }
-
- /* @group : 통합검사그룹항목등록 화면
- * @ver : 2010.01.21 (CMCDEV-0001)
- * @by : 박상환(평화이즈)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 처리부영역 항목 선택시 처리 함수
- * gbn : 선택된 처리값
- */
- function fExeCheckItem(flag){
-
- //수정 or 신규작업시에만 Check
- if(flag != "refval" && flag != "choiitem" && model.getValue("/root/hidden/cdupdtflag") == "1"){
- return;
- }else if(model.getValue("/root/hidden/cdupdtflag") == "2" && model.getValue("/root/main/testgrupinfo/testgrupcd") == ""){
- return;
- }
-
- var arr_flag = flag.split("_");
-
- if(arr_flag.length > 1){
- flag = arr_flag[0];
- }
- switch(flag){
-
- case "basepart": //기본파트 선택 팝업호출
-
- lpzfExeComnOpenScrn("basepart", "/root/main/testgrupinfo");
-
- model.resetInstanceNode("/root/main/testgrupinfo/detlpartcd");
- model.resetInstanceNode("/root/main/testgrupinfo/detlpartnm");
-
- fGetRefData("testcdlist"); //검사항목리스트 재조회
-
- break;
-
- case "detlpart": //세부파트 선택 팝업호출
-
- lpzfExeComnOpenScrn("detlpart", "/root/main/testgrupinfo");
-
- fGetRefData("testcdlist"); //검사항목리스트 재조회
-
- break;
-
- case "testgrup": //검사그룹 선택 팝업호출
-
- lpzfExeComnOpenScrn("testgrup", "/root/main/testgrupinfo");
-
- fGetRefData("testcdlist"); //검사항목리스트 재조회
-
- break;
-
- case "ptnocode":
-
- model.setValue("/root/hidden/tempptnocd", "");
-
- lpzfExeComnOpenScrn("ptnocode");
-
- if(model.getValue("/root/hidden/tempptnocd") != ""){
- if(arr_flag[1] == "1"){
- model.setValue("/root/main/detltestgrup/testitemlist[" + (grd_testlist.row-1) + "]/ptnocd", model.getValue("/root/hidden/tempptnocd"));
- }else if(arr_flag[1] == "2"){
- model.setValue("/root/main/detltestgrup/testitemlist[" + (grd_testlist.row-1) + "]/stdyptnocd", model.getValue("/root/hidden/tempptnocd"));
- }else if(arr_flag[1] == "3"){
- model.setValue("/root/main/detltestgrup/testitemlist[" + (grd_testlist.row-1) + "]/trustptnocd", model.getValue("/root/hidden/tempptnocd"));
- }
- }
- break;
-
- case "choiitem":
-
- if(grd_testlist.col == 0){
- if(model.getValue("/root/hidden/cdupdtflag") == "1"){
- messageBox("조회작업 중", "E008");
-
- if(model.getValue("/root/main/detltestgrup/testitemlist[" + (grd_testlist.row-1) + "]/existflag") == "0" ||
- model.getValue("/root/main/detltestgrup/testitemlist[" + (grd_testlist.row-1) + "]/existflag") == "3"){
- model.setValue("/root/main/detltestgrup/testitemlist[" + (grd_testlist.row-1) + "]/choi", "false");
- }else{
- model.setValue("/root/main/detltestgrup/testitemlist[" + (grd_testlist.row-1) + "]/choi", "true");
- }
- }else{
- if(model.getValue("/root/main/detltestgrup/testitemlist[" + (grd_testlist.row-1) + "]/choi") == "true" &&
- model.getValue("/root/main/detltestgrup/testitemlist[" + (grd_testlist.row-1) + "]/existflag") == "0"){
- model.setValue("/root/main/detltestgrup/testitemlist[" + (grd_testlist.row-1) + "]/existflag", "2");
- }else if(model.getValue("/root/main/detltestgrup/testitemlist[" + (grd_testlist.row-1) + "]/choi") == "false" &&
- model.getValue("/root/main/detltestgrup/testitemlist[" + (grd_testlist.row-1) + "]/existflag") == "2"){
- model.setValue("/root/main/detltestgrup/testitemlist[" + (grd_testlist.row-1) + "]/existflag", "0");
- }
- }
- }
-
- break;
-
- case "refval":
-
- if(model.getValue("/root/hidden/refval") != ""){
- lpzfExeLrgChar("/root/hidden/refval");
- }
-
- break;
-
- default:
- break;
- }
-
- model.refresh();
- }
-
- /* @group : 통합검사그룹항목등록 화면
- * @ver : 2010.01.21 (CMCDEV-0001)
- * @by : 박상환(평화이즈)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 검사항목코드정보 수정/신규 함수
- */
- function fSetUpdtData(){
-
- var updt_flag = model.getValue("/root/hidden/cdupdtflag");
- var totcnt = grd_testlist.rows;
- var next_row = 1;
- var save_type = "";
- var sel_item = 0;
-
- if(updt_flag == "1"){
- messageBox("조회작업 중", "E008");
- return;
- }
-
- //선택된 항목이 있는지 확인 ********************************
- for(var i = 1; i < grd_testlist.rows; i++){
- if(model.getValue("/root/main/detltestgrup/testitemlist[" + i + "]/choi") == "true"){
- sel_item++;
- }
- }
- if(sel_item < 1){
- messageBox("검사항목을 선택 ", "C002");
- return;
- }
- //********************************************************
-
- //필수 입력항목 및 자리수 확인
- if(model.getValue("/root/main/testgrupinfo/testgrupcd") == ""){
-
- messageBox("검사그룹 코드를", "C002");
- return;
-
- }
-
- //저장여부 확인Message
- if(lpzfExeBfChkMsg("UI") == false){
- //6:예, 7:아니오, 2:취소
- return;
- }
-
- lpzfExeRemakeSendNode(4); //send node reset
-
- for(var idx = 1; idx < totcnt; idx++){
-
- if(model.getValue("/root/main/detltestgrup/testitemlist[" + idx + "]/existflag") != "0"){
- model.makeNode("/root/hidden/sendnode/testinfo[" + next_row + "]");
-
- model.copyNode("/root/hidden/sendnode/testinfo[" + (next_row++) + "]",
- "/root/main/detltestgrup/testitemlist[" + idx + "]");
- }
- }
-
- var testgrupcd = model.getValue("/root/main/testgrupinfo/testgrupcd");
- model.setValue("/root/send/data1", updt_flag); //수정/신규구분
- model.copyNode("/root/send/data2", "/root/main/testgrupinfo"); //검사그룹정보
- model.copyNode("/root/send/data3", "/root/hidden/sendnode"); //검사코드정보
- model.setValue("/root/send/data4", model.getValue("/root/main/testgrupcnts/testgruplist[testgrupcd = '" + testgrupcd + "']/delflagcd"));
-
-
- if(submit("TXLPC10701")){
-
- messageBox("저장이", "I002");
- model.resetInstanceNode("/root/main/testgrupinfo");
- model.setValue("/root/hidden/cdupdtflag", "1");
- fExeControlChng("false");
- model.removeNodeset("/root/main/detltestgrup/testitemlist");
-
- model.setValue("/root/hidden/cdupdtflag", "1");
- fExeControlChng("false");
-
- fGetRefData("testgruplist");
-
- }else{
- messageBox("저장이", "E009");
- }
-
- model.removeNodeset("/root/hidden/sendnode/testinfo");
- model.refresh();
-
- }
-
- /* @group : 통합검사그룹항목등록 화면
- * @ver : 2010.01.21 (CMCDEV-0001)
- * @by : 박상환(평화이즈)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 검사항목 그리드 클릭 처리 함수
- */
- function fExeTestClick() {
-
- //------------------------------------------------------------------------------------
- if (grd_testlist.isCell(event.target) && grd_testlist.row >= grd_testlist.fixedRows) {
- fExeCheckItem("ptnocode_1");
- }
- }
-
- /* @group : 검사그룹항목등록 화면
- * @ver : 2010.01.21 (CMCDEV-0001)
- * @by : 박상환(평화이즈)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 검사그룹항목 그리드 클릭 처리 함수
- */
- function fExeGroupClick() {
-
- //------------------------------------------------------------------------------------------------
- if (grp_testgruplist.isCell(event.target) && grp_testgruplist.row >= grp_testgruplist.fixedRows) {
- fGetRefData("testgrupinfo");
- }
- }
-
- function fExePtNoPopupCall() {
-
- switch (grd_testlist.col) {
- case 3 : fExeCheckItem("ptnocode_1");
- break;
- case 5 : fExeCheckItem("ptnocode_2");
- break;
- case 7 : fExeCheckItem("ptnocode_3");
- break;
-
- }
- }
-
- /* @group : 통합검사그룹항목등록
- * @ver : 2009.10.26 (CMCDEV-0001)
- * @by : 박상환(평화이즈)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 병원별 내려받기 Function
- */
- function fSetDownData()
- {
- //--------------------------------
- model.removeNodeset("/root/send");
-
- var strSrcNode = "/root/main/testgrupcnts/testgruplist";
-
- var sSendMsg = "";
- var sChecktestcd = "";
- var sMcheck = "";
- sSendMsg = "m▦instcd▦testgrupcd▦todd▦testcd▩";
-
- //------------------------------------------------------------------- 체크한 항목을 담음
- for (var iRowNo=1; iRowNo <= getNodesetCount(strSrcNode); iRowNo++) {
-
- if (model.getValue(strSrcNode+"["+iRowNo+"]/grupchoi") == "true") {
-
- sSendMsg += "i" + "▦"; //m
- sSendMsg += getUserInfo("dutplceinstcd") + "▦"; //instcd
- sSendMsg += model.getValue( strSrcNode + "[" + iRowNo + "]/testgrupcd") + "▦"; //TESTGRUPCD
- sSendMsg += model.getValue( strSrcNode + "[" + iRowNo + "]/todd") + "▦"; //todd
- sSendMsg += model.getValue( strSrcNode + "[" + iRowNo + "]/testcd") + "▩"; //testcd
-
- }
- }
- model.makeValue("/root/send/hosplist", sSendMsg);
-
- model.resetInstanceNode("/root/temp/testcdlist");
- submit("TRLPC10704"); // 체크한 항목중 이미 내려 받은 것을 조회
-
-
- var nodelist = instance1.selectNodes("/root/temp/testcdlist");
- model.resetInstanceNode("/root/send/hosplist");
-
- for( var i = 1; i <= nodelist.length ; i++){
- sChecktestcd += model.getValue("/root/temp/testcdlist[" + i + "]/testgrupcd") + "(" + model.getValue("/root/temp/testcdlist[" + i + "]/testcd") + ")" + " ,";
- }
-
- if(nodelist.length > 0){
- // 이미 내려받은 코드에 대해 확인 여부
- if ( messageBox(sChecktestcd + "그룹코드(검사코드)는 이미 존재합니다. 바꾸는 것을 ", "Q004") != 6 ) {
- return;
- }else{
-
- //-------------------------------- 이미 내려 받은 것은 "u" 로 하기위해 다시 셋팅함.
- model.removeNodeset("/root/send");
- sSendMsg = "";
- sSendMsg = "m▦instcd▦testgrupcd▦testcd▦ptnocd▦ptnocdflagcd▦stdyptnocd▦stdyptnocdflagcd▦trustptnocd▦trustptnocdflagcd▦trusttestflagcd▦dispseqno▦delflagcd▩";
-
- //-------------------------------------------------------------------
- for (var iRowNo=1; iRowNo <= getNodesetCount(strSrcNode); iRowNo++) {
-
- if (model.getValue(strSrcNode+"["+iRowNo+"]/grupchoi") == "true") {
- sMcheck = "i";
- for(var j = 1; j <=nodelist.length ; j++){
- if(model.getValue( strSrcNode + "[" + iRowNo + "]/testgrupcd") == model.getValue("/root/temp/testcdlist[" + j + "]/testgrupcd") && model.getValue( strSrcNode + "[" + iRowNo + "]/testcd") == model.getValue("/root/temp/testcdlist[" + j + "]/testcd")){
-
- sMcheck = "u";
- }
- }
- sSendMsg += sMcheck + "▦"; //m
- sSendMsg += getUserInfo("dutplceinstcd") + "▦"; //instcd
- sSendMsg += model.getValue( strSrcNode + "[" + iRowNo + "]/testgrupcd") + "▦"; //testgrupcd
- sSendMsg += model.getValue( strSrcNode + "[" + iRowNo + "]/testcd") + "▦"; //testcd
- sSendMsg += model.getValue( strSrcNode + "[" + iRowNo + "]/ptnocd") + "▦"; //ptnocd
- sSendMsg += model.getValue( strSrcNode + "[" + iRowNo + "]/ptnocdflagcd") + "▦"; //ptnocdflagcd
- sSendMsg += model.getValue( strSrcNode + "[" + iRowNo + "]/stdyptnocd") + "▦"; //stdyptnocd
- sSendMsg += model.getValue( strSrcNode + "[" + iRowNo + "]/stdyptnocdflagcd") + "▦"; //stdyptnocdflagcd
- sSendMsg += model.getValue( strSrcNode + "[" + iRowNo + "]/trustptnocd") + "▦"; //trustptnocd
- sSendMsg += model.getValue( strSrcNode + "[" + iRowNo + "]/trustptnocdflagcd") + "▦"; //trustptnocdflagcd
- sSendMsg += model.getValue( strSrcNode + "[" + iRowNo + "]/trusttestflagcd") + "▦"; //trusttestflagcd
- sSendMsg += model.getValue( strSrcNode + "[" + iRowNo + "]/dispseqno") + "▦"; //dispseqno
- sSendMsg += model.getValue( strSrcNode + "[" + iRowNo + "]/delflagcd") + "▩"; //delflagcd
- }
- }
- model.makeValue("/root/send/hosplist", sSendMsg);
- }
- }else {
- //-------------------------------- 이미 내려 받은 것은 "u" 로 하기위해 다시 셋팅함.
- model.removeNodeset("/root/send");
- sSendMsg = "";
- sSendMsg = "m▦instcd▦testgrupcd▦testcd▦ptnocd▦ptnocdflagcd▦stdyptnocd▦stdyptnocdflagcd▦trustptnocd▦trustptnocdflagcd▦trusttestflagcd▦dispseqno▦delflagcd▩";
-
- //-------------------------------------------------------------------
- for (var iRowNo=1; iRowNo <= getNodesetCount(strSrcNode); iRowNo++) {
-
- if (model.getValue(strSrcNode+"["+iRowNo+"]/grupchoi") == "true") {
- sMcheck = "i";
- sSendMsg += sMcheck + "▦"; //m
- sSendMsg += getUserInfo("dutplceinstcd") + "▦"; //instcd
- sSendMsg += model.getValue( strSrcNode + "[" + iRowNo + "]/testgrupcd") + "▦"; //testgrupcd
- sSendMsg += model.getValue( strSrcNode + "[" + iRowNo + "]/testcd") + "▦"; //testcd
- sSendMsg += model.getValue( strSrcNode + "[" + iRowNo + "]/ptnocd") + "▦"; //ptnocd
- sSendMsg += model.getValue( strSrcNode + "[" + iRowNo + "]/ptnocdflagcd") + "▦"; //ptnocdflagcd
- sSendMsg += model.getValue( strSrcNode + "[" + iRowNo + "]/stdyptnocd") + "▦"; //stdyptnocd
- sSendMsg += model.getValue( strSrcNode + "[" + iRowNo + "]/stdyptnocdflagcd") + "▦"; //stdyptnocdflagcd
- sSendMsg += model.getValue( strSrcNode + "[" + iRowNo + "]/trustptnocd") + "▦"; //trustptnocd
- sSendMsg += model.getValue( strSrcNode + "[" + iRowNo + "]/trustptnocdflagcd") + "▦"; //trustptnocdflagcd
- sSendMsg += model.getValue( strSrcNode + "[" + iRowNo + "]/trusttestflagcd") + "▦"; //trusttestflagcd
- sSendMsg += model.getValue( strSrcNode + "[" + iRowNo + "]/dispseqno") + "▦"; //dispseqno
- sSendMsg += model.getValue( strSrcNode + "[" + iRowNo + "]/delflagcd") + "▩"; //delflagcd
- }
- }
- model.makeValue("/root/send/hosplist", sSendMsg);
-
- }
-
-
- //------------------- 내려 받음.
- if(submit("TXLPC10702") == true){
- messageBox("저장이", "I002");
- }else{
- messageBox("저장이", "E009");
- }
-
- }
- ]]>
- </script>
- <!-- public Script end -->
- <submission id="TRLPC10701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/detltestgrup/testitemlist"/>
- <submission id="TRLPC10702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/testgrupcnts/testgruplist"/>
- <submission id="TRLPC10703" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/testgrupinfo"/>
- <submission id="TXLPC10701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/msg"/>
- <submission id="TRLPC10704" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp/testcdlist"/>
- <submission id="TXLPC10702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/msg"/>
- </model>
- </xhtml:head>
- <xhtml:body guideline="1,1194;2,784;2,58;2,757;1,565;" 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:800px; height:15px; ">통합검사그룹관리</caption>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
- <button id="button11" class="btn4_letter2" navindex="12" style="left:1138px; top:3px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fSetUpdtData();
- ]]>
- </script>
- </button>
- <line id="line17" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
- <button id="button1" class="btn4_letter4" style="left:1055px; top:3px; width:80px; height:22px; ">
- <caption>내려받기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetDownData();
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:40px; width:1195px; height:744px; ">
- <group id="group1" style="left:0px; top:10px; width:1194px; height:35px; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="button3" class="btn1_letter2" navindex="4" style="left:1123px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fGetRefData("testgruplist");
- ]]>
- </script>
- </button>
- <line id="line14" class="line_4" style="x1:1108px; y1:6px; x2:1108px; y2:28px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption2" class="search_name" style="left:15px; top:9px; width:90px; height:17px; vertical-align:middle; background-image:../../../com/commonweb/images/search_bullet1.gif; ">사용여부 :</caption>
- <input id="input1" ref="/root/hidden/refval" class="input_search" navindex="3" imemode="alpha" maxlength="10" style="left:974px; top:8px; width:120px; height:19px; ">
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- fExeCheckItem("refval");
- ]]>
- </script>
- </input>
- <select1 id="combo1" ref="/root/hidden/refflag" class="combo_search" navindex="2" appearance="minimal" style="left:851px; top:8px; width:120px; height:19px; ">
- <choices>
- <item>
- <label>검사그룹코드</label>
- <value>1</value>
- </item>
- <item>
- <label>검사코드</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <caption id="caption22" class="search_name" style="left:773px; top:9px; width:75px; height:17px; vertical-align:middle; background-image:../../../com/commonweb/images/search_bullet1.gif; ">조회값 :</caption>
- <select1 id="rdo_s_delflagcd" ref="/root/hidden/delflagcd" class="radio_search" navindex="1" appearance="full" cellspacing="20" cols="3" overflow="visible" style="left:108px; top:10px; width:122px; height:16px; border-style:none; ">
- <choices>
- <item>
- <label>사용</label>
- <value>0</value>
- </item>
- <item>
- <label>미사용</label>
- <value>1</value>
- </item>
- </choices>
- </select1>
- </group>
- <group id="group2" style="left:0px; top:55px; width:560px; height:689px; ">
- <caption id="caption1" class="tit_2" style="left:5px; top:0px; width:131px; height:14px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">검사그룹</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:15px; x2:560px; y2:15px; "/>
- <datagrid id="grp_testgruplist" nodeset="/root/main/testgrupcnts/testgruplist" caption="선택^그룹코드^시작일자^종료일자^그룹명칭^검사코드^검사명칭^delflagcd^ptnocd^ptnocdflagcd^stdyptnocd^stdyptnocdflagcd^trustptnocd^trustptnocdflagcd^trusttestflagcd^dispseqno^사용여부" colsep="^" colwidth="60, 80, 75, 75, 120, 80, 105, 100, 100, 100, 100, 100, 100, 100, 100, 100" dataheight="23" ellipsis="true" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" navindex="5" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:20px; width:560px; height:660px; border-color:#c0c0c0; ">
- <col ref="grupchoi" type="checkbox"/>
- <col ref="testgrupcd" type="output"/>
- <col ref="fromdd" type="output" format="yyyy-mm-dd"/>
- <col ref="todd" type="output" format="yyyy-mm-dd"/>
- <col ref="testgrupnm" type="output"/>
- <col ref="testcd" type="output"/>
- <col ref="testnm" type="output"/>
- <col ref="delflagcd" type="output" visibility="hidden"/>
- <col ref="ptnocd" type="output" visibility="hidden"/>
- <col ref="ptnocdflagcd" type="output" visibility="hidden"/>
- <col ref="stdyptnocd" type="output" visibility="hidden"/>
- <col ref="stdyptnocdflagcd" type="output" visibility="hidden"/>
- <col ref="trustptnocd" type="output" visibility="hidden"/>
- <col ref="trustptnocdflagcd" type="output" visibility="hidden"/>
- <col ref="trusttestflagcd" type="output" visibility="hidden"/>
- <col ref="dispseqno" type="output" visibility="hidden"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fExeGroupClick();
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grp_testgruplist.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var sNode = "/root/main/testgrupcnts/testgruplist";
- var sTestgrupcd = "";
-
- if ((grp_testgruplist.col == grp_testgruplist.colRef("grupchoi")) && (grp_testgruplist.row >= grp_testgruplist.fixedRows) && (grp_testgruplist.isCell(event.target))){
-
- sTestgrupcd = model.getValue(sNode+"["+ grp_testgruplist.row +"]/testgrupcd");
-
- for (var iNo=1; iNo <= getNodesetCount(sNode); iNo++) {
- if(model.getValue(sNode+"["+ iNo +"]/testgrupcd") == sTestgrupcd) {
- model.setValue(sNode+"["+iNo+"]/grupchoi", model.getValue(sNode+"["+ grp_testgruplist.row +"]/grupchoi"));
- if(model.getValue(sNode+"["+ grp_testgruplist.row +"]/grupchoi") == "false") {
- } else {
- }
- }
- }
-
- grp_testgruplist.refresh();
- }
-
- ]]>
- </script>
- </datagrid>
- </group>
- <group id="group5" style="left:565px; top:55px; width:629px; height:689px; ">
- <caption id="caption3" class="tit_2" style="left:5px; top:5px; width:98px; height:13px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">검사그룹정보</caption>
- <line id="line2" class="line_1" style="x1:0px; y1:20px; x2:629px; y2:20px; "/>
- <line id="line10" class="line_2" style="x1:0px; y1:47px; x2:629px; y2:47px; "/>
- <line id="line11" class="line_2" style="x1:0px; y1:71px; x2:629px; y2:71px; "/>
- <line id="line12" class="line_2" style="x1:0px; y1:95px; x2:629px; y2:95px; "/>
- <line id="line13" class="line_2" style="x1:0px; y1:119px; x2:629px; y2:119px; "/>
- <caption id="caption13" class="cell_1" style="left:0px; top:25px; width:130px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">검사그룹코드</caption>
- <caption id="caption14" class="cell_1" style="left:0px; top:73px; width:130px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">시작일자</caption>
- <caption id="caption16" class="cell_1" style="left:316px; top:73px; width:130px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">종료일자</caption>
- <caption id="caption17" class="cell_1" style="left:0px; top:49px; width:130px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">그룹명칭</caption>
- <line id="line4" class="line_2" style="x1:0px; y1:143px; x2:629px; y2:143px; "/>
- <caption id="caption4" class="cell_1" style="left:316px; top:49px; width:130px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">그룹약칭</caption>
- <caption id="caption5" class="cell_1" style="left:0px; top:97px; width:130px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">기본파트</caption>
- <caption id="caption7" class="cell_1" style="left:316px; top:97px; width:130px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">세부파트</caption>
- <caption id="caption8" class="cell_1" style="left:316px; top:25px; width:130px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">사용여부</caption>
- <caption id="caption12" class="cell_1" style="left:316px; top:145px; width:130px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">최종등록자</caption>
- <select1 id="rdo_lendflag" ref="/root/hidden/cdupdtflag" navindex="6" appearance="full" cellspacing="10" cols="3" overflow="visible" style="left:106px; top:4px; width:155px; height:13px; border-style:none; ">
- <choices>
- <item>
- <label>조회</label>
- <value>1</value>
- </item>
- <item>
- <label>수정</label>
- <value>2</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fExeCodeUpdtFlag();
- ]]>
- </script>
- </select1>
- <caption id="caption15" class="cell_1" style="left:0px; top:121px; width:130px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">최초등록일시</caption>
- <caption id="caption18" class="cell_1" style="left:316px; top:121px; width:130px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">최초등록자</caption>
- <caption id="caption19" class="cell_1" style="left:0px; top:145px; width:130px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">최종등록일시</caption>
- <select1 id="rdo_delflagcd" ref="/root/main/testgrupinfo/delflagcd" navindex="10" appearance="full" cellspacing="30" cols="2" overflow="visible" style="left:449px; top:29px; width:132px; height:13px; border-style:none; ">
- <choices>
- <item>
- <label>사용</label>
- <value>0</value>
- </item>
- <item>
- <label>미사용</label>
- <value>1</value>
- </item>
- </choices>
- </select1>
- <output id="opt_fstrgstdt" ref="/root/main/testgrupinfo/fstrgstdt" class="output_fix" format="yyyy-mm-dd hh:mm:ss" appearance="output" style="left:133px; top:122px; width:180px; height:19px; border-color:#c0c0c0; "/>
- <output id="opt_fstrgstrid" ref="/root/main/testgrupinfo/fstrgstrid" class="output_fix" appearance="output" style="left:449px; top:122px; width:180px; height:19px; border-color:#c0c0c0; "/>
- <output id="opt_lastupdtdt" ref="/root/main/testgrupinfo/lastupdtdt" class="output_fix" format="yyyy-mm-dd hh:mm:ss" appearance="output" style="left:133px; top:146px; width:180px; height:19px; border-color:#c0c0c0; "/>
- <output id="opt_lastupdtrid" ref="/root/main/testgrupinfo/lastupdtrid" class="output_fix" appearance="output" style="left:449px; top:146px; width:180px; height:19px; border-color:#c0c0c0; "/>
- <caption id="caption9" class="tit_2" style="left:5px; top:178px; width:70px; height:13px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">검사항목</caption>
- <line id="line8" class="line_1" style="x1:0px; y1:193px; x2:629px; y2:193px; "/>
- <output id="opt_testgrupabbr" ref="/root/main/testgrupinfo/testgrupabbr" class="output_fix" appearance="output" style="left:449px; top:50px; width:180px; height:19px; border-color:#c0c0c0; "/>
- <output id="opt_testgrupnm" ref="/root/main/testgrupinfo/testgrupnm" class="output_fix" appearance="output" style="left:133px; top:50px; width:180px; height:19px; border-color:#c0c0c0; "/>
- <output id="opt_uedd" ref="/root/main/testgrupinfo/todd" class="output_fix" format="yyyy-mm-dd" appearance="output" style="left:449px; top:74px; width:180px; height:19px; border-color:#c0c0c0; "/>
- <output id="ipt_usdd" ref="/root/main/testgrupinfo/fromdd" class="output_fix" format="yyyy-mm-dd" appearance="output" style="left:133px; top:74px; width:180px; height:19px; border-color:#c0c0c0; "/>
- <output id="opt_testgrupcd" ref="/root/main/testgrupinfo/testgrupcd" class="output_fix" appearance="output" style="left:133px; top:26px; width:161px; height:19px; border-color:#c0c0c0; "/>
- <button id="btn_basepart" class="icon_search" navindex="8" visibility="hidden" style="left:176px; top:101px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fExeCheckItem("basepart");
- ]]>
- </script>
- </button>
- <button id="btn_detlpart" class="icon_search" navindex="9" visibility="hidden" style="left:492px; top:101px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fExeCheckItem("detlpart");
- ]]>
- </script>
- </button>
- <output id="opt_basepartcd" ref="/root/main/testgrupinfo/basepartcd" class="output_fix" appearance="output" style="left:133px; top:98px; width:58px; height:19px; border-color:#c0c0c0; "/>
- <output id="opt_detlpartcd" ref="/root/main/testgrupinfo/detlpartcd" class="output_fix" appearance="output" style="left:449px; top:98px; width:58px; height:19px; border-color:#c0c0c0; "/>
- <output id="opt_basepartnm" ref="/root/main/testgrupinfo/basepartnm" class="output_fix" appearance="output" style="left:194px; top:98px; width:119px; height:19px; padding-left:10px; border-color:#c0c0c0; "/>
- <output id="opt_detlpartnm" ref="/root/main/testgrupinfo/detlpartnm" class="output_fix" appearance="output" style="left:510px; top:98px; width:119px; height:19px; padding-left:10px; border-color:#c0c0c0; "/>
- <button id="btn_testgrup" class="icon_search" navindex="7" style="left:297px; top:26px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fExeCheckItem("testgrup");
- ]]>
- </script>
- </button>
- <datagrid id="grd_testlist" nodeset="/root/main/detltestgrup/testitemlist" class="datagrid1" caption="선택^검사코드^검사명칭^병리번호^병리번호^연구병리번호^연구병리번호^수탁병리번호^수탁병리번호^위탁검사
구분^표시
순서^fromdd^todd^기존데이터여부|선택^검사코드^검사명칭^코드^구분^코드^구분^코드^구분^위탁검사
구분^표시
순서^fromdd^todd^기존데이터여부" colsep="^" colwidth="30, 65, 90, 60, 55, 60, 55, 60, 55, 55, 40, 0, 0, 0" dataheight="23" ellipsis="true" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheight="23" rowsep="|" navindex="11" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:198px; width:629px; height:477px; border-color:#c0c0c0; ">
- <col ref="choi" type="checkbox"/>
- <col ref="testcd" type="output"/>
- <col ref="testnm" type="output"/>
- <col ref="ptnocd" type="inputbutton"/>
- <col ref="ptnocdflagcd" type="combo">
- <choices>
- <item>
- <label>불포함</label>
- <value>1</value>
- </item>
- <item>
- <label>포함</label>
- <value>0</value>
- </item>
- </choices>
- </col>
- <col ref="stdyptnocd" type="inputbutton"/>
- <col ref="stdyptnocdflagcd" type="combo">
- <choices>
- <item>
- <label>불포함</label>
- <value>1</value>
- </item>
- <item>
- <label>포함</label>
- <value>0</value>
- </item>
- </choices>
- </col>
- <col ref="trustptnocd" type="inputbutton"/>
- <col ref="trustptnocdflagcd" type="combo">
- <choices>
- <item>
- <label>불포함</label>
- <value>1</value>
- </item>
- <item>
- <label>포함</label>
- <value>0</value>
- </item>
- </choices>
- </col>
- <col ref="trusttestflagcd" type="combo">
- <choices>
- <item>
- <label>비위탁</label>
- <value>0</value>
- </item>
- <item>
- <label>위탁</label>
- <value>1</value>
- </item>
- </choices>
- </col>
- <col ref="dispseqno" type="input" format="9999"/>
- <col ref="fromdd" type="output"/>
- <col ref="todd" type="output"/>
- <col ref="existflag" type="output"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if (grd_testlist.row > "1"){
- fExeCheckItem("choiitem");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_testlist.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- fExePtNoPopupCall();
- ]]>
- </script>
- </datagrid>
- <line id="line3" class="line_3" style="x1:0px; y1:167px; x2:629px; y2:167px; "/>
- </group>
- </group>
- </xhtml:body>
- </xhtml:html>
|