123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPAER01000" position="absolute 0 0 1196 732" titletext="환자별 입원촬영 현황조회" oninit="SPAER01000_oninit" onload="SPAER01000_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 13 1195 731" id="group3" scrollbars="autoboth" anchor="all">
- <Layouts>
- <Layout>
- <Shape position="absolute 0 52 1195 58" linetype="horizontal" id="line2" class="line_1" style="strokepen:3 solid #33bbbbff;" anchor="left top right"/>
- <Grid position="absolute 0 57 1195 718" align="align:center middle;" id="grd_mainordlist" class="datagrid2" binddataset="ds_main_subordlist_subordlist1" anchor="all" cellsizingtype="col" onrbuttonup="group3_grd_mainordlist_onrbuttonup">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="65"/>
- <Column size="60"/>
- <Column size="38"/>
- <Column size="65"/>
- <Column size="65"/>
- <Column size="65"/>
- <Column size="65"/>
- <Column size="65"/>
- <Column size="190"/>
- <Column size="67"/>
- <Column size="73"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="55"/>
- <Column size="55"/>
- <Column size="40"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="80"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="35" band="head"/>
- <Row size="25"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="등록번호"/>
- <Cell col="2" text="환자명"/>
- <Cell col="3" text="구분"/>
- <Cell col="4" text="처방일시"/>
- <Cell col="5" text="접수일시"/>
- <Cell col="6" text="촬영시작"/>
- <Cell col="7" text="촬영일시"/>
- <Cell col="8" text="판독일시"/>
- <Cell col="9" text="처방명"/>
- <Cell col="10" text="촬영실"/>
- <Cell col="11" text="처방과"/>
- <Cell col="12" text="처방의"/>
- <Cell col="13" text="판독기간"/>
- <Cell col="14" text="검사 대기시간"/>
- <Cell col="15" text="검사시간"/>
- <Cell col="16" text="일수"/>
- <Cell col="17" text="입원일자"/>
- <Cell col="18" text="퇴원일자"/>
- <Cell col="19" text="퇴원통보일자"/>
- <Cell col="20" text="실시자"/>
- <Cell col="21" text="execprcpuniqno_h"/>
- <Cell col="22" text="hisorderid_h"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow+1"/>
- <Cell col="1" text="bind:pid"/>
- <Cell col="2" text="bind:patnm"/>
- <Cell col="3" displaytype="combo" edittype="combo" text="bind:prcpgenrflag" combodataset="ds_init_M0010" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="4" style="align:center;padding:0 0 0 2;" text="bind:prcpdt" wordwrap="char" mask="@@@@-@@-@@ @@:@@:@@"/>
- <Cell col="5" style="align:center;padding:0 0 0 2;" text="bind:acptdt" wordwrap="char" mask="@@@@-@@-@@ @@:@@:@@"/>
- <Cell col="6" style="align:center;padding:0 0 0 2;" text="bind:arvdt" wordwrap="char" mask="@@@@-@@-@@ @@:@@:@@"/>
- <Cell col="7" style="align:center;padding:0 0 0 2;" text="bind:excuexectodt" wordwrap="char" mask="@@@@-@@-@@ @@:@@:@@"/>
- <Cell col="8" style="align:center;padding:0 0 0 2;" text="bind:cnfmdt" wordwrap="char" mask="@@@@-@@-@@ @@:@@:@@"/>
- <Cell col="9" style="align:left;padding:0 0 0 2;" text="bind:prcpnm"/>
- <Cell col="10" text="bind:examroomnm"/>
- <Cell col="11" text="bind:rgstdepthngnm"/>
- <Cell col="12" text="bind:rgstridnm"/>
- <Cell col="13" text="bind:cnfmwait"/>
- <Cell col="14" text="bind:execwait" mask="@@:@@:@@"/>
- <Cell col="15" text="bind:phowait" mask="@@:@@:@@"/>
- <Cell col="16" text="bind:inddcnt"/>
- <Cell col="17" text="bind:indd"/>
- <Cell col="18" text="bind:dschdd"/>
- <Cell col="19" text="bind:dschnotidt"/>
- <Cell col="20" text="bind:execrid1"/>
- <Cell col="21" text="bind:execprcpuniqno"/>
- <Cell col="22" text="bind:hisorderid"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption6" text="개인별 입원촬영 현황조회" class="tit_1" position="absolute 0 0 200 25"/>
- <Div id="group2" taborder="1" position="absolute 0 25 1195 65" class="div_SA" anchor="left top right">
- <Layouts>
- <Layout>
- <Static id="caption7" text="등록번호 :" class="search_name" position="absolute 10 14 102 31" anchor="default"/>
- <Edit id="input6" taborder="1" class="input_search" position="absolute 99 12 179 31" anchor="default" onkeydown="group2_input6_onkeydown"/>
- <Button id="btn_sea" taborder="2" text="조회" class="btn1" position="absolute 1058 10 1114 32" anchor="top right" onclick="group2_btn_sea_onclick"/>
- <Button id="button2" taborder="3" text="Excel" class="btn4" position="absolute 1118 10 1186 32" anchor="top right" onclick="group2_button2_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_subordlist_subordlist1" 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="patnm" type="STRING" size="256"/>
- <Column id="prcpgenrflag" type="STRING" size="256"/>
- <Column id="prcpdt" type="STRING" size="256"/>
- <Column id="acptdt" type="STRING" size="256"/>
- <Column id="arvdt" type="STRING" size="256"/>
- <Column id="excuexectodt" type="STRING" size="256"/>
- <Column id="cnfmdt" type="STRING" size="256"/>
- <Column id="prcpnm" type="STRING" size="256"/>
- <Column id="examroomnm" type="STRING" size="256"/>
- <Column id="rgstdepthngnm" type="STRING" size="256"/>
- <Column id="rgstridnm" type="STRING" size="256"/>
- <Column id="cnfmwait" type="STRING" size="256"/>
- <Column id="execwait" type="STRING" size="256"/>
- <Column id="inddcnt" type="STRING" size="256"/>
- <Column id="indd" type="STRING" size="256"/>
- <Column id="dschdd" type="STRING" size="256"/>
- <Column id="dschnotidt" type="STRING" size="256"/>
- <Column id="execrid1" type="STRING" size="256"/>
- <Column id="execprcpuniqno" type="STRING" size="256"/>
- <Column id="hisorderid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="pid"/>
- <Col id="patnm"/>
- <Col id="prcpgenrflag"/>
- <Col id="prcpdt"/>
- <Col id="acptdt"/>
- <Col id="arvdt"/>
- <Col id="excuexectodt"/>
- <Col id="cnfmdt"/>
- <Col id="prcpnm"/>
- <Col id="examroomnm"/>
- <Col id="rgstdepthngnm"/>
- <Col id="rgstridnm"/>
- <Col id="cnfmwait"/>
- <Col id="execwait"/>
- <Col id="inddcnt"/>
- <Col id="indd"/>
- <Col id="dschdd"/>
- <Col id="dschnotidt"/>
- <Col id="execrid1"/>
- <Col id="execprcpuniqno"/>
- <Col id="hisorderid"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send" 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="cdgrupid" type="STRING" size="256"/>
- <Column id="offset" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="pid"/>
- <Col id="cdgrupid"/>
- <Col id="offset"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_cmb_info2_initexecroom" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="excuroomcdid" type="STRING" size="256"/>
- <Column id="excuroomcdnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="excuroomcdid"/>
- <Col id="excuroomcdnm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_cmb_lrgcd_lrgcdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cdid"/>
- <Col id="cdnm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_cmb_mdlcd_mdlcdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="mdlcdid" type="STRING" size="256"/>
- <Column id="mdlcdnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="mdlcdid"/>
- <Col id="mdlcdnm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_cmb_smlcd_smlcdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="smlcdid" type="STRING" size="256"/>
- <Column id="smlcdnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="smlcdid"/>
- <Col id="smlcdnm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_comcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_comcd2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_comcd3" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_userinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_userpopupinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="param" type="STRING" size="256"/>
- <Column id="flag" type="STRING" size="256"/>
- <Column id="searchitem" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="param"/>
- <Col id="flag"/>
- <Col id="searchitem"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_M0011" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_M0010" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group2.input6" propid="value" datasetid="ds_send" columnid="pid"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-11-13
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-11-13 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs"
- include "ast_examcurexp::AEZ0001.xjs"
- include "com_pacsxp::ZEP001.xjs"
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- var arErrorCode = new HashArray();
- var gSuppdeptcd = "";
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Argument : N/A
- * Description :
- ****************************************************************************************/
- // /* @group : 촬영현황조회
- // * @ver : 2007.06.14
- // * @by : 장준원
- // * @-----------------------------------
- // * @type : function
- // * @access : public
- // * @desc : 대량조회를 위한 Grid Scroll 제어 Function
- // */
- // function fSubmitOnScroll() {
- // if(grd_mainordlist.vscroll.attribute("max") == grd_mainordlist.vscroll.attribute("pos")) {
- // // end of scroll
- // model.setValue("/root/send/offset", grd_mainordlist.rows-1); // grid의 header row는 제외
- // //alert('offset->'+model.getValue("/root/send/offset"));
- // //if ( messageBox("미조회된 건수가 존재합니다. 추가 조회를 하시겠습니까?","Q001")==6 ) {
- // submit("TRAER01005");
- // grd_mainordlist.dispatch("onmouseup");
- // //}else {
- // //}
- // }
- // }
-
- /****************************************************************************************
- * Argument : N/A
- * Description : 실시와 결과상태 PACS 결과 조회 Function (등록번호 사용)
- ****************************************************************************************/
- function fPACSInfo() {
- if ( ds_main_subordlist_subordlist1.rowposition < 0 ) return;
-
- fClickPACSPatResultList(ds_main_subordlist_subordlist1);
- }
- /****************************************************************************************
- * Argument : N/A
- * Description : 실시와 결과상태 PACS 결과 조회 Function (PRCPDD + EXECPRCPUNIQNO = HISORDERID 사용)
- ****************************************************************************************/
- function fPACSPrcpInfo() {
- var cRow = ds_main_subordlist_subordlist1.rowposition;
-
- if ( cRow < 0 ) return;
-
- if ( utlf_isNull(ds_main_subordlist_subordlist1.getColumn(cRow,"excuexectodt")) || ds_main_subordlist_subordlist1.getColumn(cRow,"excuexectodt") == "-") {
- sysf_messageBox("미실시된 검사 " , "E008");
- return;
- }
- fClickPACSPrcpResultList(ds_main_subordlist_subordlist1);
- }
-
- /****************************************************************************************
- * Argument : N/A
- * Description : 실시와 결과상태 PACS 결과 조회 Function (등록번호 사용 구현부분)
- ****************************************************************************************/
- function fClickPACSPatResultList(dsObj) {
- var rowidx = dsObj.rowposition;
- if ( rowidx >= 0 ) {
- var pid = dsObj.getColumn(rowidx,"pid");
- zepfpacsPatientID(pid);
- }
- }
- /****************************************************************************************
- * Argument : N/A
- * Description : 실시와 결과상태 PACS 결과 조회 Function (PRCPDD + EXECPRCPUNIQNO = HISORDERID 사용 구현부분)
- ****************************************************************************************/
- function fClickPACSPrcpResultList(dsObj) {
- var rowidx = dsObj.rowposition;
- if ( rowidx >= 0 ) {
- var pid = dsObj.getColumn(rowidx,"pid");
- var pacsorderid = dsObj.getColumn(rowidx,"prcpdt") + dsObj.getColumn(rowidx,"execprcpuniqno");
- zepfpacsAll(pacsorderid, pid);
- }
- }
-
- /****************************************************************************************
- * Argument : N/A
- * Description : 대분류 조회
- ****************************************************************************************/
- function call_TRAER01002(){
- var oParam = {};
- oParam.id = "TRAER01002";
- oParam.service = "examcurebaseapp.ComCode";
- oParam.method = "reqGetSubstrComCdList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_init_cmb_lrgcd_lrgcdlist=item";
- oParam.async = false;
- oParam.callback = "cf_TRAER01002";
- tranf_submit(oParam);
- }
- function cf_TRAER01002(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- ds_init_cmb_lrgcd_lrgcdlist.updateColID("comcdid","cdid");
- ds_init_cmb_lrgcd_lrgcdlist.updateColID("comcdnm","cdnm");
- }
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Components ID : SPAER01000
- * Event : oninit
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 처음 초기화시 폼초기화
- ****************************************************************************************/
- function SPAER01000_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); // 폼 초기화
- }
- /****************************************************************************************
- * Components : Form
- * Components ID : SPAER01000
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 처음 초기화시 폼초기화
- ****************************************************************************************/
- function SPAER01000_onload(obj:Form, e:LoadEventInfo)
- {
- lf_aezfSetSuppDeptcd(); //AEZ0001.xjs
- gSuppdeptcd = frmf_getParameter("AST_DEPTCD");
-
- // zbcfGetCodeList( new Array("M0011","M0010"), new Array("/root/init/baseinfo/initexecprcpstatcd", "/root/init/baseinfo/initprcpgenrflagcd") );
- // submit("TRZBC00101");
- var arrParam = [{dsNm: "ds_init_M0011", cdGrpId: "M0011"}
- ,{dsNm: "ds_init_M0010", cdGrpId: "M0010"}
- ]
- appf_getCodeList(arrParam);
- aezfInsertInstance2("ds_hidden_comcd2", "M0011", "전체", "", ds_init_M0011);
- aezfInsertInstance2("ds_hidden_comcd" , "M0010", "전체", "", ds_init_M0010);
-
- ds_hidden_comcd.deleteRow(ds_hidden_comcd.findRow("cdid","-")); // 외래,입원구분 : 공통
- ds_hidden_comcd.deleteRow(ds_hidden_comcd.findRow("cdnm","전체")); // 외래,입원구분 : 공통
- ds_hidden_comcd2.deleteRow(ds_hidden_comcd2.findRow("cdid","150")); // 상태구분 : 처방전출력
- ds_hidden_comcd2.deleteRow(ds_hidden_comcd2.findRow("cdid","160")); // 상태구분 : 처방전미출력
- ds_hidden_comcd2.deleteRow(ds_hidden_comcd2.findRow("cdid","170")); // 상태구분 : 검수완료
- ds_hidden_comcd2.deleteRow(ds_hidden_comcd2.findRow("cdid","180")); // 상태구분 : 처방보류
- ds_hidden_comcd2.deleteRow(ds_hidden_comcd2.findRow("cdid","200")); // 상태구분 : 부분계산
- ds_hidden_comcd2.deleteRow(ds_hidden_comcd2.findRow("cdid","210")); // 상태구분 : 수납대기
- ds_hidden_comcd2.deleteRow(ds_hidden_comcd2.findRow("cdid","220")); // 상태구분 : 계산(입원용)
- ds_hidden_comcd2.deleteRow(ds_hidden_comcd2.findRow("cdid","300")); // 상태구분 : 조제보류
- ds_hidden_comcd2.deleteRow(ds_hidden_comcd2.findRow("cdid","310")); // 상태구분 : 조제완료
- ds_hidden_comcd2.deleteRow(ds_hidden_comcd2.findRow("cdid","320")); // 상태구분 : 불출
- ds_hidden_comcd2.deleteRow(ds_hidden_comcd2.findRow("cdid","330")); // 상태구분 : 미불출
- ds_hidden_comcd2.deleteRow(ds_hidden_comcd2.findRow("cdid","400")); // 상태구분 : 바코드발행
- ds_hidden_comcd2.deleteRow(ds_hidden_comcd2.findRow("cdid","410")); // 상태구분 : 채취/채혈
- ds_hidden_comcd2.deleteRow(ds_hidden_comcd2.findRow("cdid","420")); // 상태구분 : 전달/확인
- ds_hidden_comcd2.deleteRow(ds_hidden_comcd2.findRow("cdid","430")); // 상태구분 : 검체접수
- ds_hidden_comcd2.deleteRow(ds_hidden_comcd2.findRow("cdid","500")); // 상태구분 : 접수
- ds_hidden_comcd2.deleteRow(ds_hidden_comcd2.findRow("cdid","510")); // 상태구분 : 검사중
- ds_hidden_comcd2.deleteRow(ds_hidden_comcd2.findRow("cdid","505")); // 상태구분 : 준비
- ds_hidden_comcd2.deleteRow(ds_hidden_comcd2.findRow("cdid","520")); // 상태구분 : 검사완료
- ds_hidden_comcd2.deleteRow(ds_hidden_comcd2.findRow("cdid","530")); // 상태구분 : 출고
- ds_hidden_comcd2.deleteRow(ds_hidden_comcd2.findRow("cdid","525")); // 상태구분 : 불출요청
- ds_hidden_comcd2.deleteRow(ds_hidden_comcd2.findRow("cdid","540")); // 상태구분 : 반납의뢰
- ds_hidden_comcd2.deleteRow(ds_hidden_comcd2.findRow("cdid","550")); // 상태구분 : 반납완료
- ds_hidden_comcd2.deleteRow(ds_hidden_comcd2.findRow("cdid","560")); // 상태구분 : 폐기의뢰
- ds_hidden_comcd2.deleteRow(ds_hidden_comcd2.findRow("cdid","570")); // 상태구분 : 폐기완료
- ds_hidden_comcd2.deleteRow(ds_hidden_comcd2.findRow("cdid","700")); // 상태구분 : 판독중
- ds_hidden_comcd2.deleteRow(ds_hidden_comcd2.findRow("cdid","720")); // 상태구분 : 중간결과
- ds_hidden_comcd2.deleteRow(ds_hidden_comcd2.findRow("cdid","305")); // 상태구분 : 조제중
- ds_hidden_comcd2.deleteRow(ds_hidden_comcd2.findRow("cdid","315")); // 상태구분 : 특조완료
- ds_hidden_comcd2.deleteRow(ds_hidden_comcd2.findRow("cdid","725")); // 상태구분 : Confirm확인
-
- //공통코드 테이블에서 영상구분정보 가져오기
- ds_send.setColumn(0,"cdgrupid", "A0463");
-
- call_TRAER01002();
-
- aezfInsertInstance2("ds_hidden_comcd3", "lrgcdlist", "전체", "", ds_init_cmb_lrgcd_lrgcdlist);
-
- if (frmf_checkOpener()) { //opener 검사
- var param = opener.frmf_getParameter("opener_parameter_id"); //opener parameter value를 get
- if(!utlf_isNull(param)) { // opener parameter value가 있는 경우
- //두번째 방법 parameter value를 이용하여 프로그램 수행
- condarray = param.split("▦");
- ds_send.setColumn(0,"pid", condarray[0]);
- }
- }
-
- // 부모창에서 등록번호 받아서 바로 조회하기
- frmf_inputEnterKey("group2.btn_sea", "onclick", new ClickEventInfo);
-
- frmf_createPopupMenu("popupmenu","popupmenu_onmenuclick"
- ,[{id: "fPACSInfo" , level: "0", title: "PACS조회(등록번호)"}
- ,{id: "fPACSPrcpInfo" , level: "0", title: "PACS조회(처방기준)"}]
- );
- }
- // ds에 생성된 id별 함수 실행
- function popupmenu_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
- {
- eval(e.id + "()");
- }
- /****************************************************************************************
- * Components : Edit
- * Components ID : group2.input6
- * Event : onkeydown
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 등록번호 입력후 조회
- ****************************************************************************************/
- function group2_input6_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13) {
- obj.updateToDataset();
- frmf_inputEnterKey("group2.btn_sea", "onclick", new ClickEventInfo);
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group2.btn_sea
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 조회
- ****************************************************************************************/
- function group2_btn_sea_onclick(obj:Button, e:ClickEventInfo)
- {
- // 대량조회-offset초기화
- ds_main_subordlist_subordlist1.clearData();
- ds_send.setColumn(0,"offset","0");
- dsf_createDsRow("ds_reqparam", [
- {col:"basesuppdeptcd", type:"STRING", size:256, val:gSuppdeptcd}
- , {col:"pid", type:"STRING", size:256, val:ds_send.getColumn(0,"pid")}
- ]);
- var oParam = {};
- oParam.id = "TRAER01005";
- oParam.service = "examcureacptexecapp.ExamCurePrcs";
- oParam.method = "reqGetPhotoInExamPrcsList";
- oParam.inds = "reqparam=ds_reqparam";
- oParam.outds = "ds_main_subordlist_subordlist1=item";
- oParam.async = false;
- oParam.callback = "cf_TRAER01005";
- tranf_submit(oParam);
- }
- function cf_TRAER01005(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- dsf_setTypeFormat(ds_main_subordlist_subordlist1, "inddcnt:INT");
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : group3.grd_mainordlist
- * Event : onrbuttonup
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 그리드 우클릭 팝업메뉴 띄움
- ****************************************************************************************/
- function group3_grd_mainordlist_onrbuttonup(obj:Grid, e:GridMouseEventInfo)
- {
- if(e.row > -1){
- grdf_setSelectedCell(obj, e); // 선택된 행 확실히 선택해줌
- popupmenu.trackPopup(e.screenX,e.screenY);
- }
-
- return true;
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group2.button2
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 엑셀저장
- ****************************************************************************************/
- function group2_button2_onclick(obj:Button, e:ClickEventInfo)
- {
- if( ds_main_subordlist_subordlist1.rowcount > 0 ){
- grdf_exportExcel(group3.grd_mainordlist, "개인별입원촬영현황", "개인별입원촬영현황", false, "", "user", false);
- } else {
- sysf_messageBox("조회된 데이터가 ", "I004");
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|