123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPMNR03800" position="absolute 0 0 670 564" titletext="검사기록 등록" oninit="model1_oninit" onload="SPMNR03800_onload">
- <Layouts>
- <Layout>
- <Div id="group00" taborder="16" class="div_SA" position="absolute 12 32 658 63">
- <Layouts>
- <Layout/>
- </Layouts>
- </Div>
- <Div id="group2" taborder="3" position="absolute 12 -5 658 37">
- <Layouts>
- <Layout>
- <Static id="Static06" class="div_SA" position="absolute 204 9 522 35"/>
- <Static id="caption4" text="환자정보" class="cell_1" position="absolute 207 11 292 35"/>
- <Edit id="opt_pid" taborder="1" readonly="true" position="absolute 295 13 388 33"/>
- <Edit id="opt_pname" taborder="2" readonly="true" position="absolute 391 13 474 33"/>
- <Edit id="opt_age" taborder="3" readonly="true" position="absolute 477 13 520 33"/>
- <Button id="button4" taborder="4" text="인증저장" onclick="button4_onclick" class="btn2" position="absolute 526 11 594 31"/>
- <Button id="btn_closediag" taborder="5" text="닫기" onclick="btn_closediag_onclick" class="btn2" visible="true" position="absolute 596 11 646 31"/>
- </Layout>
- </Layouts>
- </Div>
- <Shape id="line3" class="line_2" position="absolute 0 2 653 2" anchor="default" positiontype="position" linetype="horizontal"/>
- <Static id="stt_titleText2" class="tit_1" position="absolute 12 4 142 29" anchor="default" positiontype="position" text="검사기록 등록"/>
- <Grid id="grd_carerecspec" taborder="13" binddataset="ds_grid_grd_carerecspec" useinputpanel="false" oncellclick="grd_carerecspec_oncellclick" position="absolute 12 64 658 557" onclick="grd_carerecspec_onclick" cellsizingtype="col" autosizingtype="row" extendsizetype="both">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="24"/>
- <Column size="77"/>
- <Column size="49"/>
- <Column size="495"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="22" band="head"/>
- <Row size="20"/>
- </Rows>
- <Band id="head">
- <Cell displaytype="checkbox" edittype="checkbox"/>
- <Cell col="1" colspan="2" text="Acting 일시"/>
- <Cell col="3" text="간호기록"/>
- <Cell col="4" text="stmtcd"/>
- <Cell col="5" text="origincd"/>
- </Band>
- <Band id="body">
- <Cell displaytype="checkbox" edittype="checkbox" text="bind:chk"/>
- <Cell col="1" style="align:center middle;" text="bind:recdd" mask="####-##-##"/>
- <Cell col="2" style="align:center middle;" text="bind:rectm" mask="##:##"/>
- <Cell col="3" style="align:left;padding:2 2 2 2;" text="bind:stmtspec" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="4" text="bind:prcpcd"/>
- <Cell col="5" text="bind:reclnkkey"/>
- <Cell col="6"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption49" text="조회일자" class="search_name" position="absolute 16 38 90 58"/>
- <cp_periodCal id="cp_periodCal00" titletext="Period Calendar" taborder="14" text="cp_periodCal00" scrollbars="none" position="absolute 91 38 308 58" style="background:transparent; "/>
- <Button id="button2" taborder="15" text="조회" onclick="button2_onclick" class="btn1" position="absolute 594 38 650 58"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_grid_grd_carerecspec" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="check" type="STRING"/>
- <Column id="recdd" type="STRING"/>
- <Column id="rectm" type="STRING"/>
- <Column id="stmtspec" type="STRING"/>
- <Column id="prcpcd" type="STRING"/>
- <Column id="reclnkkey" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_paminfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="pname" type="STRING" size="256"/>
- <Column id="age" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="fromdd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_data_nursingrecordlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_data_recddlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_data_totnursingrecordlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_signSaveData" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item2" compid="group2.opt_pid" propid="value" datasetid="ds_cond" columnid="pid"/>
- <BindItem id="item3" compid="group2.opt_pname" propid="value" datasetid="ds_cond" columnid="pname"/>
- <BindItem id="item4" compid="group2.opt_age" propid="value" datasetid="ds_cond" columnid="age"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * File Name : SPMNR03800_간호일지검사기록등록.xfdl
- * Creator :
- *
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // xjs Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- include "emr_carecomxp::CareCom.xjs";
- include "emr_carecomxp::ENRSignEngine.xjs";
- var sPid = ""; // 환자번호
- var sIndd = ""; // 입원일자
- var sOrdDD = ""; // 진료일자
- var sCretNo = ""; // 환자 일자별 일련번호
- var sInstcd = ""; // 기관코드
- var sIOFlag = ""; // 입원/외래 구분
- var sOrdDeptCd = ""; // 진료과코드
- var sOrdDrId = ""; // 진료의사ID
- var sHngNm = ""; //환자명
- var sAge = ""; //환자나이
- var sRecFlag = "-"; // 기록 구분
- var sOriginRecFlag = "A"; // 기록 출처 구분 검사기록 A : AST
- var sAcptuniqno = ""; //인증저장no
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Argument :
- * Description : 화면 초기화
- ****************************************************************************************/
- function fInitialize()
- {
- var sParamInfo = "";
- grdf_setAllCheck(grd_carerecspec);
-
- // 환자정보 조회
- var sPamInfo = sysf_getGlobalVariable("paminfo");
- if(utlf_isNull(sPamInfo)){
- sysf_messageBox("환자를 먼저","C002");
- return;
- }else{
-
- dsf_setCSVToDs("ds_paminfo",sPamInfo);
- }
-
- if( utlf_isNull(ds_paminfo.getColumnInfo("acptuniqno")) ){
- ds_paminfo.addColumn("acptuniqno", "string");
- }
-
- //환자정보 세팅
- sPid = ds_paminfo.getColumn(0,"pid");
- sHngNm = ds_paminfo.getColumn(0,"hngnm");
- sAge = ds_paminfo.getColumn(0,"age");
- sIOFlag = ds_paminfo.getColumn(0,"ioflag"); // 입원/외래 구분
-
- if(sIOFlag == "I" || sIOFlag == "E" || sIOFlag == "D"){ // 입원
- sIndd = ds_paminfo.getColumn(0,"indd"); // 진료일자
- sOrdDD = "-";
- }else if(sIOFlag == "O"){ // 외래
- sOrdDD = ds_paminfo.getColumn(0,"orddd"); // 진료일자
- sIndd = "-";
- }
- sCretNo = ds_paminfo.getColumn(0,"cretno"); // 환자 일자별 일련번호
- sInstcd = ds_paminfo.getColumn(0,"instcd"); // 기관코드
- sOrdDeptCd = ds_paminfo.getColumn(0,"orddeptcd"); // 진료과코드
- sOrdDrId = ds_paminfo.getColumn(0,"medispclid"); // 진료의사ID
-
- ds_cond.setColumn(0,"pid",sPid);
- ds_cond.setColumn(0,"pname",sHngNm);
- ds_cond.setColumn(0,"age",sAge);
-
- var aData = cp_periodCal00.getData();
- ds_cond.setColumn(0,"fromdd",aData[0]);
- ds_cond.setColumn(0,"todd",aData[1]);
-
- fSelectRecInfo();
- }
-
- /****************************************************************************************
- * Argument :
- * Description : 검사내역 조회
- ****************************************************************************************/
- function fSelectRecInfo(sFlag)
- {
-
-
- ds_grid_grd_carerecspec.clearData();
- var aData = cp_periodCal00.getData();
- var ds_temp = dsf_createDsRow("ds_temp" ,[{col: "pid", val:sPid }
- ,{col: "indd", val:sIndd }
- ,{col: "cretno", val:sCretNo }
- ,{col: "ioflag", val:sIOFlag }
- ,{col: "fromdd", val:aData[0] }
- ,{col: "todd", val:aData[1] }
- ]);
-
- tranf_submit({id : "TRMNR03899"
- , service : "carerecapp.NursingRecord"
- , method : "reqGetTestRecList"
- , inds : "srchinfo="+ds_temp
- , outds : "ds_grid_grd_carerecspec=nursingrecordlist"
- , async : false
- //, callback: "cbk_TRMNR08501"
- });
-
- ds_grid_grd_carerecspec.addColumn("chk","string");
- //submit("TRMNR03899");
- }
-
- /****************************************************************************************
- * Argument :
- * Description : 검사기록 저장
- ****************************************************************************************/
- function fSaveCareRec()
- {
- dsf_createDs("ds_temp_RecInfo", [{col: "stmtspec", type:"string" }
- ,{col: "attrinfo", type:"string" }
- ,{col: "status", type:"string" }
- ,{col: "origincd", type:"string" }
- ,{col: "stmtcd", type:"string" }
- ,{col: "dnarflag", type:"string" }
- ,{col: "recoriginflag", type:"string" }
- ,{col: "recdtflag", type:"string" }
- ,{col: "recdt", type:"string" }
- ,{col: "pid", type:"string" }
- ,{col: "indd", type:"string" }
- ,{col: "cretno", type:"string" }
- ,{col: "instcd", type:"string" }
- ,{col: "ioflag", type:"string" }
- ,{col: "orddeptcd", type:"string" }
- ,{col: "recflag", type:"string" }
- ,{col: "reclnkkey", type:"string" }
- ,{col: "orddd", type:"string" }
- ,{col: "diagstmtcd", type:"string" }
- ,{col: "usernm", type:"string" }]);
-
- var sRecInfo = ""; // 저장 정보
-
- frmf_modal("SMMNR01300","SMMNR01300","","","","","","","","","","","M");
- var sRtnMsg = frmf_getParameter("SMMNR01300_Return");
- if(utlf_isNull(sRtnMsg)) return;
- var sTmpInfo = sRtnMsg.split("▩");
- var sRecDTInfo = sTmpInfo[1].split("▦");
- var rowchk = 0;
-
- for(var iRow=0; iRow<ds_grid_grd_carerecspec.rowcount; iRow++)
- {
- if(ds_grid_grd_carerecspec.getColumn(iRow,"chk") == 1)
- {
- ds_temp_RecInfo.addRow();
- ds_temp_RecInfo.setColumn(rowchk,"stmtspec",ds_grid_grd_carerecspec.getColumn(iRow,"stmtspec"));
- ds_temp_RecInfo.setColumn(rowchk,"attrinfo","");
- ds_temp_RecInfo.setColumn(rowchk,"status","I");
- ds_temp_RecInfo.setColumn(rowchk,"origincd","");
- ds_temp_RecInfo.setColumn(rowchk,"stmtcd",ds_grid_grd_carerecspec.getColumn(iRow,"prcpcd"));
- ds_temp_RecInfo.setColumn(rowchk,"dnarflag","-");
- ds_temp_RecInfo.setColumn(rowchk,"recoriginflag","A");
- ds_temp_RecInfo.setColumn(rowchk,"recdtflag",sRecDTInfo[0]);
- ds_temp_RecInfo.setColumn(rowchk,"recdt",sRecDTInfo[1]);
- ds_temp_RecInfo.setColumn(rowchk,"pid",sPid);
- ds_temp_RecInfo.setColumn(rowchk,"indd",sIndd);
- ds_temp_RecInfo.setColumn(rowchk,"cretno",sCretNo);
- ds_temp_RecInfo.setColumn(rowchk,"instcd",sInstcd);
- ds_temp_RecInfo.setColumn(rowchk,"ioflag",sIOFlag);
- ds_temp_RecInfo.setColumn(rowchk,"orddeptcd",sOrdDeptCd);
- ds_temp_RecInfo.setColumn(rowchk,"recflag","-");
- ds_temp_RecInfo.setColumn(rowchk,"reclnkkey",ds_grid_grd_carerecspec.getColumn(iRow,"reclnkkey"));
- ds_temp_RecInfo.setColumn(rowchk,"orddd",sOrdDD);
- ds_temp_RecInfo.setColumn(rowchk,"diagstmtcd","");
- ds_temp_RecInfo.setColumn(rowchk,"usernm",sysf_getUserName());
- rowchk++;
- }
- }
-
- if(ds_temp_RecInfo.rowcount < 1){
- sysf_messageBox("선택된 진술문이","I004");
- return;
- }
- var aData = cp_periodCal00.getData();
- var ds_temp = dsf_createDsRow("ds_temp", [{col: "pid", val:sPid }
- ,{col: "indd", val:sIndd }
- ,{col: "orddd", val:sOrdDD }
- ,{col: "cretno", val:sCretNo }
- ,{col: "ioflag", val:sIOFlag }
- ,{col: "recsrchflag", val:"AST" }
- ,{col: "fromdd", val:aData[0] }
- ,{col: "todd", val:aData[1] }]);
-
- //인증저장
- var msg = sysf_messageBox('검사 기록내역의 인증저장을', 'Q004');//실행 하시겠습니까? yes=6, no=7
-
- if(Number(msg) == 6){ //예
- if (!fSign()) return;
- tranf_submit({id : "TXMNR03801"
- , service : "carerecapp.NursingRecord"
- , method : "reqExeStmtList"
- , inds : "srchinfo=ds_temp saveData=ds_temp_RecInfo signinfo=ds_temp_signdata"
- , outds : "ds_data_nursingrecordlist=nursingrecordlist ds_data_recddlist=recddlist ds_data_totnursingrecordlist=totnursingrecordlist"
- , async : false
- //, callback: "cbk_TRMNR08501"
- });
- //submit("TXMNR03801");
- fViewSign();
- }else{
- return;
- }
- }
- /****************************************************************************************
- * Argument :
- * Description : 통합기록용인증로직
- ****************************************************************************************/
- function fViewSign()
- {
- Sign.certreload = false ; // 전자서명 호출시 인증저장 버튼을 누를때마다 인증서가 뜨도록 처리
- var signRecDD = "";
-
- for( var idx = 0 ; idx < ds_data_recddlist.rowcount; idx++ ){
- signRecDD = ds_data_recddlist.getColumn(idx,"recdd");
- ds_temp_signSaveData.clearData();
-
- ds_data_totnursingrecordlist.filter("recdd=='"+signRecDD +"'");
-
- if(ds_data_totnursingrecordlist.rowcount>0 )
- {
- ds_temp_signSaveData.copyData(ds_data_totnursingrecordlist);
- ds_temp_signSaveData.addColumn("usernm","string");
-
- for(var i=0; i<ds_temp_signSaveData.rowcount; i++){
- ds_temp_signSaveData.setColumn(i,"usernm",ds_temp_signSaveData.getColumn(i,"fstrgstrnm"));
- }
- if(Sign.signprocess() == true)
- {
- ds_temp_signdata.addRow();
- var sSignDataRowCnt = ds_temp_signdata.rowcount-1;
- // 전자인증 관련 환자 인적 정보를 보내줌.
- ds_temp_signdata.setColumn(sSignDataRowCnt,"pid",sPid);
-
- if(sIOFlag == "O"){
- ds_temp_signdata.setColumn(sSignDataRowCnt,"orddd",sOrddd);
- }else{
- ds_temp_signdata.setColumn(sSignDataRowCnt,"orddd",sIndd);
- }
-
-
- ds_temp_signdata.setColumn(sSignDataRowCnt,"signno","");
- ds_temp_signdata.setColumn(sSignDataRowCnt,"cretno",sCretNo);
- ds_temp_signdata.setColumn(sSignDataRowCnt,"recdd",signRecDD);
- ds_temp_signdata.setColumn(sSignDataRowCnt,"rectm","000000");
- ds_temp_signdata.setColumn(sSignDataRowCnt,"recsaveflag","Y");
- ds_temp_signdata.setColumn(sSignDataRowCnt,"signflag","02");
- ds_temp_signdata.setColumn(sSignDataRowCnt,"signgenrflag",sIOFlag);
- ds_temp_signdata.setColumn(sSignDataRowCnt,"formcd","0000002432");
- ds_temp_signdata.setColumn(sSignDataRowCnt,"orddeptcd",sOrdDeptCd);
- ds_temp_signdata.setColumn(sSignDataRowCnt,"orddrid",sOrdDrId);
- ds_temp_signdata.setColumn(sSignDataRowCnt,"signbfcnts",Sign.signedInfos[1]);
- ds_temp_signdata.setColumn(sSignDataRowCnt,"acptuniqno", sAcptuniqno);//접수고유번호
- ds_temp_signdata.setColumn(sSignDataRowCnt,"screenid",frmf_getScreenID());
-
- }else{
- return;
- }
- ds_data_totnursingrecordlist.filter("");
- }else{
- ds_data_totnursingrecordlist.filter("");
- return;
- }
- }
-
- tranf_submit({
- id: "TXMNR00904"
- , service: "carerecapp.ClincObsRec"
- , method: "reqExeSaveViewData"
- , inds: "signinfo=ds_temp_signdata"
- //, outds: "ds_grid_grd_druginfo=druginfolist"
- , async: false
- //, callback: "cbk_TRMNR08501"
- });
-
- fSelectRecInfo(); //재조회
- }
- /****************************************************************************************
- * Argument :
- * Description : 인증로직
- ****************************************************************************************/
- function fSign()
- {
- Sign.certreload = true ; // 전자서명 호출시 인증저장 버튼을 누늘때마다 인증서가 뜨도록 처리
-
- if(Sign.signprocess() == true)
- {
- sAcptuniqno = utlf_transNullToEmpty(ds_paminfo.getColumn(0,"acptuniqno"));
- var ds_temp = dsf_createDsRow("ds_temp_signdata", [{col: "pid", val:sPid }
- ,{col: "orddd", val:sIOFlag == "O"? sOrdDD:sIndd }
- ,{col: "signno", val:"" }
- ,{col: "cretno", val:sCretNo }
- ,{col: "recdd", val:utlf_getCurrentDate() }
- ,{col: "rectm", val:utlf_getCurrentTime() }
- ,{col: "recsaveflag", val:"Y" }
- ,{col: "signflag", val:"02" }
- ,{col: "signgenrflag",val:sIOFlag }
- ,{col: "formcd", val:"0000002432" }
- ,{col: "orddeptcd", val:sOrdDeptCd }
- ,{col: "orddrid", val:sOrdDrId }
- ,{col: "dispyn", val:"N" }
- ,{col: "acptuniqno", val:sAcptuniqno }//접수고유번호
- ,{col: "signbfcnts", val:Sign.signedInfos[1] }
- ,{col: "signaftcnts", val:Sign.signedInfos[2] }
- ,{col: "screenid", val:frmf_getScreenID() }]);
- }else{
- return false;
- }
- return true;
- }
- /****************************************************************************************
- * Argument :
- * Description : 인증데이터 생성함수
- ****************************************************************************************/
- function fMake_SignData()
- {
- Sign.addnode("/signSaveData/saveDataList",ds_temp_signSaveData.saveXML());
- }
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components :
- * Components ID : SPMNR03800
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function SPMNR03800_onload(obj:Form, e:LoadEventInfo)
- {
- frmf_initForm(obj);
-
- zesf_InitSign(); // 전자서명관련 모듈 생성 및 초기화
- fInitialize();
- }
- /****************************************************************************************
- * Components :
- * Components ID : grd_carerecspec
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function grd_carerecspec_onclick(obj:Grid, e:ClickEventInfo)
- {
- if( grd_carerecspec.row > 0 && grd_carerecspec.row <= grd_carerecspec.rows - grd_carerecspec.fixedRows ){
- fClick();
- }
- }
- /****************************************************************************************
- * Components :
- * Components ID : button4
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function button4_onclick(obj:Button, e:ClickEventInfo)
- {
- fSaveCareRec();
- }
- /****************************************************************************************
- * Components :
- * Components ID : button2
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function button2_onclick(obj:Button, e:ClickEventInfo)
- {
- fSelectRecInfo();
- }
- /****************************************************************************************
- * Components :
- * Components ID : Button00
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function Button00_onclick(obj:Button, e:ClickEventInfo)
- {
- this.close();
- }
- /****************************************************************************************
- * Components :
- * Components ID : grd_carerecspec
- * Event : oncellclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function grd_carerecspec_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- if(e.col != 0){
- if(ds_grid_grd_carerecspec.getColumn(e.row,"chk") == "true" || ds_grid_grd_carerecspec.getColumn(e.row,"chk") == 1){
- ds_grid_grd_carerecspec.setColumn(e.row,"chk",0);
- }else{
- ds_grid_grd_carerecspec.setColumn(e.row,"chk",1);
- }
- }
- }
- /****************************************************************************************
- * Components :
- * Components ID : tab
- * Event : onchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function tab_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
- {
- if(e.postindex == 1) grd_carerecspec.setCellProperty( "Head",1, "text", "의뢰/회신 일자" );
- else grd_carerecspec.setCellProperty( "Head",1, "text", "Acting 일자" );
-
- fSelectRecInfo(); //조회
- }
- /****************************************************************************************
- * Components :
- * Components ID : SMMNW13900
- * Event :
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 상단화면 변경시 화면 재설정
- ****************************************************************************************/
- function lf_initPageByBroadcast()
- {
- // this.setFocus();
- // fInitialize() ;
- }
- function btn_closediag_onclick(obj:Button, e:ClickEventInfo)
- {
- close();
- }
- ]]></Script>
- </Form>
- </FDL>
|