123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453 |
- <?xml version="1.0" encoding="utf-8" standalone="no"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SSMNA00300" position="absolute 0 0 1192 736" titletext="성분헌혈실 치료현황" onload="SSMNA00300_onload">
- <Layouts>
- <Layout>
- <Div id="grp_sea" position="absolute 0 26 1189 61" style="align: top;" class="div_SA" anchor="left top right">
- <Layouts>
- <Layout>
- <Shape id="line13" class="line_4" linetype="vertical" position="absolute 1107 7 1110 29" style="" anchor="top right"/>
- <Button id="btn_select" class="btn1" position="absolute 1123 7 1179 29" style="" text="조회" onclick="grp_sea_btn_select_onclick" anchor="top right"/>
- <Static id="caption3" class="search_name" position="absolute 285 9 360 26" style="align: middle;" text="구분 :" anchor="left top"/>
- <Radio datacolumn="datacolumn" codecolumn="codecolumn" columncount="-1" rowcount="-1" id="rdo_ioflag" position="absolute 368 8 533 28" style="" onclick="grp_sea_rdo_ioflag_onclick" anchor="left top">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">A</Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">I</Col>
- <Col id="datacolumn">입원</Col>
- </Row>
- <Row>
- <Col id="codecolumn">O</Col>
- <Col id="datacolumn">외래</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static id="cap_dept" class="search_name" position="absolute 540 10 618 27" style="align: middle;" text="진료과 :" anchor="left top"/>
- <Combo innerdataset="ds_hidden_deptinfo_indeptinfo_deptlist" datacolumn="deptnm" codecolumn="deptcd" columncount="-1" rowcount="-1" id="cmb_dept" position="absolute 620 8 715 27" style="" onitemclick="grp_sea_cmb_dept_onitemclick" anchor="left top"/>
- <Static id="cap_dr" class="search_name" position="absolute 735 10 821 27" style="align: middle;" text="주치의 :" anchor="left top"/>
- <Combo innerdataset="ds_hidden_userinfo_drlist" datacolumn="usernm" codecolumn="userid" columncount="-1" rowcount="-1" id="cmb_dr" position="absolute 825 8 920 27" style="" anchor="left top"/>
- <Static id="cmb_yymm" class="search_name" position="absolute 15 9 79 26" style="" text="기간 :" anchor="left top"/>
- <Calendar id="input2" class="input_search" mask="yyyy-mm" position="absolute 80 8 165 27" style="" anchor="left top"/>
- <Combo innerdataset="ds_hidden_wardinfo_deptlist" datacolumn="deptnm" codecolumn="deptcd" columncount="-1" rowcount="-1" id="cmb_ward" position="absolute 1000 8 1095 27" style="" anchor="left top"/>
- <Static id="cap_ward" class="search_name" position="absolute 935 10 1001 27" style="align: middle;" text="병동 :" anchor="left top"/>
- <Calendar id="input1" class="input_search" mask="yyyy-mm" position="absolute 190 8 275 27" style="" anchor="left top"/>
- <Static id="caption1" position="absolute 170 10 185 30" style="" text="~" anchor="left top"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption6" text="성분헌혈실 치료현황" class="tit_1" position="absolute 0 0 185 26"/>
- <Grid id="datagrid1" class="datagrid2" taborder="1" binddataset="ds_main_treatinfo_treatlist" useinputpanel="false" position="absolute 0 64 1189 729" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="71"/>
- <Column size="82"/>
- <Column size="68"/>
- <Column size="112"/>
- <Column size="67"/>
- <Column size="73"/>
- <Column size="42"/>
- <Column size="100"/>
- <Column size="84"/>
- <Column size="90"/>
- <Column size="133"/>
- <Column size="36"/>
- <Column size="37"/>
- <Column size="34"/>
- <Column size="34"/>
- <Column size="65"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell rowspan="2" text="구분" taborder="undefined"/>
- <Cell col="1" rowspan="2" text="치료명" taborder="undefined"/>
- <Cell col="2" colspan="5" text="치료목적" taborder="undefined"/>
- <Cell col="7" colspan="4" text="혈관확보" taborder="undefined"/>
- <Cell col="11" colspan="2" text="이동병실" taborder="undefined"/>
- <Cell col="13" colspan="2" text="부작용" taborder="undefined"/>
- <Cell col="15" rowspan="2" text="계" taborder="undefined"/>
- <Cell col="16" text="구분"/>
- <Cell col="17" text="치료명"/>
- <Cell col="18" text="Pre BMT"/>
- <Cell col="19" text="Post BMT 합병증"/>
- <Cell col="20" text="세포공여"/>
- <Cell col="21" text="Depletion"/>
- <Cell col="22" text="기타"/>
- <Cell col="23" text="Peripheral Vein"/>
- <Cell col="24" text="Central Cath"/>
- <Cell col="25" text="Femoral Cath"/>
- <Cell col="26" text="Pheripheral + Central"/>
- <Cell col="27" text="유"/>
- <Cell col="28" text="무"/>
- <Cell col="29" text="유"/>
- <Cell col="30" text="무"/>
- <Cell col="31" text="계"/>
- <Cell row="1" col="2" text="Pre BMT"/>
- <Cell row="1" col="3" text="Post BMT 합병증"/>
- <Cell row="1" col="4" text="세포공여"/>
- <Cell row="1" col="5" text="Depletion"/>
- <Cell row="1" col="6" text="기타"/>
- <Cell row="1" col="7" text="Peripheral Vein"/>
- <Cell row="1" col="8" text="Central Cath"/>
- <Cell row="1" col="9" text="Femoral Cath"/>
- <Cell row="1" col="10" text="Pheripheral + Central"/>
- <Cell row="1" col="11" text="유"/>
- <Cell row="1" col="12" text="무"/>
- <Cell row="1" col="13" text="유"/>
- <Cell row="1" col="14" text="무"/>
- </Band>
- <Band id="body">
- <Cell text="bind:lrgnm"/>
- <Cell col="1" text="bind:mdlnm"/>
- <Cell col="2" text="bind:cg01"/>
- <Cell col="3" text="bind:cg02"/>
- <Cell col="4" text="bind:cg03"/>
- <Cell col="5" text="bind:cg04"/>
- <Cell col="6" text="bind:cg05"/>
- <Cell col="7" text="bind:vs01"/>
- <Cell col="8" text="bind:vs02"/>
- <Cell col="9" text="bind:vs03"/>
- <Cell col="10" text="bind:vs04"/>
- <Cell col="11" text="bind:mvy"/>
- <Cell col="12" text="bind:mvn"/>
- <Cell col="13" text="bind:efy"/>
- <Cell col="14" text="bind:efn"/>
- <Cell col="15" text="bind:totdd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_hidden_wardinfo_deptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="deptcd" type="STRING" size="256"/>
- <Column id="deptnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="deptcd"/>
- <Col id="deptnm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </Dataset>
- <Dataset id="ds_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="ioflag" type="STRING" size="256"/>
- <Column id="deptcd" type="STRING" size="256"/>
- <Column id="wardcd" type="STRING" size="256"/>
- <Column id="drid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="fromdd"/>
- <Col id="todd"/>
- <Col id="ioflag"/>
- <Col id="deptcd"/>
- <Col id="wardcd"/>
- <Col id="drid"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_userinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="send" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden_indeptinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </Dataset>
- <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </Dataset>
- <Dataset id="ds_hidden_indeptinfo_deptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="deptcd" type="STRING" size="256"/>
- <Column id="deptnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="deptcd"/>
- <Col id="deptnm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_outdeptinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </Dataset>
- <Dataset id="ds_hidden_wardinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </Dataset>
- <Dataset id="ds_main_treatinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="treatlist" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="treatlist"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_outdeptinfo_deptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="deptcd" type="STRING" size="256"/>
- <Column id="deptnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="deptcd"/>
- <Col id="deptnm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_userinfo_drlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="userid" type="STRING" size="256"/>
- <Column id="usernm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="userid"/>
- <Col id="usernm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_deptinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_drinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_deptinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp_sea.rdo_ioflag" propid="value" datasetid="ds_cond" columnid="ioflag"/>
- <BindItem id="item1" compid="grp_sea.cmb_dept" propid="value" datasetid="ds_cond" columnid="deptcd"/>
- <BindItem id="item2" compid="grp_sea.cmb_dr" propid="value" datasetid="ds_cond" columnid="drid"/>
- <BindItem id="item3" compid="grp_sea.input2" propid="value" datasetid="ds_cond" columnid="fromdd"/>
- <BindItem id="item4" compid="grp_sea.cmb_ward" propid="value" datasetid="ds_cond" columnid="wardcd"/>
- <BindItem id="item5" compid="grp_sea.input1" propid="value" datasetid="ds_cond" columnid="todd"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2016-05-24
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2016-05-24 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "sts_stsenrxp::MNA001.xjs";
- function SSMNA00300_onload(obj:Form, e:LoadEventInfo) {
- frmf_initForm(obj);
- //grdf_initGrid(grd_XXX);
- //grdf_setGridSort(grd_XXX);
- //grdf_setRowTypeIcon(grd_XXX, 0_컬럼위치값);
- fInit();
- fSearchApuTreatList();
- }
- // header파일 중 SSMNA00300.js 파일 시작
- /********************************************************************************
- * _group : APU 치료현황
- * _ver : 2008.09.23
- * _by : dhkim
- * _desc : 성분헌혈실 치료현황 조회
- *********************************************************************************/
- var curYYYYMMStr = utlf_getCurrentDate().substring(0, 6);
- /**
- * create : 2008.09.23
- * desc : 화면을 초기화한다.
- */
- function fInit(){
- //노드 초기화
- ds_cond.clearData();
- ds_main_treatinfo.clearData();
- ds_hidden_deptinfo.clearData();
- ds_hidden_wardinfo.clearData();
- ds_hidden_drinfo.clearData();
- //노드 재생성
- dsf_makeValue( ds_main, "treatinfo", "string", "" );
- dsf_makeValue( ds_hidden, "deptinfo", "string", "" );
- dsf_makeValue( ds_hidden, "wardinfo", "string", "" );
- dsf_makeValue( ds_hidden, "drinfo", "string", "" );
- var yyyymm = curYYYYMMStr; //default
- var ioflag = 'A'; //default
- fShowCondition("grp_sea.cap_ward", "grp_sea.cmb_ward", "grp_sea.cap_dept", "grp_sea.cmb_dept", "grp_sea.cap_dr", "grp_sea.cmb_dr", ioflag);//조건 hidden_visible
- //진료과, 병동리스트조회
- fGetDeptInfo('O', yyyymm, ds_send, ds_hidden_outdeptinfo);//외래진료과
- fGetDeptInfo('I', yyyymm, ds_send, ds_hidden_indeptinfo); //입원진료과
- fGetDeptInfo('W', yyyymm, ds_send, ds_hidden_wardinfo); //병동
- //조회조건 default 세팅
- //dsf_makeValue( ds_cond, "yyyymm", "string", curYYYYMMStr);//조회년월 : 현재년월
- //20081230
- dsf_makeValue( ds_cond, "fromdd", "string", curYYYYMMStr);//조회시작년월 : 현재년월
- dsf_makeValue( ds_cond, "todd", "string", curYYYYMMStr);//조회종료년월 : 현재년월
- dsf_makeValue( ds_cond, "ioflag", "string", 'A');//외래입원구분 : 전체
- dsf_makeValue( ds_cond, "deptcd", "string", '');//진료과 : 전체
- dsf_makeValue( ds_cond, "wardcd", "string", '');//병동 : 전체
- dsf_makeValue( ds_cond, "drid", "string", '');//주치의 : 전체
- //model.refresh();
- }
- /**
- * create : 2008.09.23
- * desc : 성분헌혈실 치료현황 조회
- */
- function fSearchApuTreatList(){
- //조회조건
- //var stdym = ds_cond.getColumn(0, "yyyymm");
- //20081230
- var fromdd = ds_cond.getColumn(0, "fromdd");
- var todd = ds_cond.getColumn(0, "todd");
- var ioflag = ds_cond.getColumn(0, "ioflag");
- var deptcd = ds_cond.getColumn(0, "deptcd");
- var drid = ds_cond.getColumn(0, "drid");
- var wardcd = ds_cond.getColumn(0, "wardcd");
- //조회조건 널처리
- /*
- if(stdym == null || stdym == ''){
- stdym = curYYYYMMStr;
- }
- */
- //20081230
- if(fromdd == null || fromdd == ''){
- fromdd = curYYYYMMStr;
- }
- if(todd == null || todd == ''){
- todd = curYYYYMMStr;
- }
- if(ioflag == null || ioflag == ''){
- ioflag = 'A';
- }
- if(deptcd == null){
- deptcd = '';
- }
- if(drid == null){
- drid = '';
- }
- if(wardcd == null){
- wardcd == '';
- }
- if(ioflag == 'O'){
- if(wardcd != null || wardcd != ''){
- wardcd == '';
- }
- }
- if(ioflag == 'A'){
- deptcd = '';
- drid = '';
- wardcd = '';
- }
- if(deptcd == ''){
- drid = '';
- }
- //request전 parameter send처리
- ds_send.clearData();
- //dsf_makeValue( ds_send, "stdym", "string", stdym + '%');
- //20081230
- dsf_makeValue( ds_send, "fromdd", "string", fromdd + '01');
- dsf_makeValue( ds_send, "todd", "string", todd + '31');
- dsf_makeValue( ds_send, "ioflag", "string", ioflag);
- dsf_makeValue( ds_send, "deptcd", "string", deptcd);
- dsf_makeValue( ds_send, "drid", "string", drid);
- dsf_makeValue( ds_send, "wardcd", "string", wardcd);
- var oParam = {};
- oParam.id = "TRSNA00301";
- oParam.service = "stsenrapp.StsApuMngt";
- oParam.method = "reqGetApuTreatList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_treatinfo_treatlist=treatlist";
- oParam.async = false;
- //oParam.callback = "cf_TRSNA00301";
- tranf_submit(oParam);
- //화면display변경
- //fShowTotal(grp_dnorSum.datagrid1, grp_dnorSum.datagrid1.cols, 3);
- }
- // header파일 중 SSMNA00300.js 파일 끝
- function grp_sea_btn_select_onclick(obj:Button, e:ClickEventInfo) {
- fSearchApuTreatList();
- }
- function grp_sea_rdo_ioflag_onclick(obj:Radio, e:ClickEventInfo) {
- fShowCondition("grp_sea.cap_ward", "grp_sea.cmb_ward", "grp_sea.cap_dept", "grp_sea.cmb_dept", "grp_sea.cap_dr", "grp_sea.cmb_dr", grp_sea.rdo_ioflag.value);
- }
- function grp_sea_cmb_dept_onitemclick(obj:Combo, e:ListBoxClickEventInfo) {
- var yyyymm = ds_cond.getColumn(0, "yyyymm");
- if(yyyymm == null || yyyymm == '' ){
- yyyymm = curYYYYMMStr;
- }
- fGetUserInfo(grp_sea.cmb_dept.value, yyyymm, 'ds_send', 'ds_hidden_userinfo');
- //model.refresh();
- }
- ]]></Script>
- </Form>
- </FDL>
|