123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMLBD02000" position="absolute 0 0 1196 780" titletext="헌혈정도관리" oninit="SMLBD02000_oninit" onload="SMLBD02000_onload">
- <Layouts>
- <Layout>
- <Static id="caption6" text="헌혈 정도관리" class="tit_1" position="absolute 0 0 120 25"/>
- <Shape id="line17" linetype="horizontal" class="line_6" position="absolute 0 38 1194 44" style="strokepen:3 solid #9ebed4ff;"/>
- <Button id="btn_init" taborder="1" text="초기화" class="btn4" position="absolute 1127 15 1195 37" onclick="btn_init_onclick"/>
- <Button id="btn_save" taborder="2" text="전문의확인" class="btn4" position="absolute 1035 15 1127 37" onclick="btn_save_onclick"/>
- <Button id="button1" taborder="3" text="책임자확인" class="btn4" position="absolute 943 15 1035 37" onclick="button1_onclick"/>
- <Shape id="line1" linetype="horizontal" class="line_1" position="absolute 0 103 1194 109" style="strokepen:3 solid #33bbbbff;"/>
- <Button id="button2" taborder="4" text="엑셀" class="btn7" position="absolute 1140 81 1193 100"/>
- <Grid id="datagrid1" class="datagrid2" taborder="5" binddataset="ds_datagrid1" useinputpanel="false" position="absolute 0 107 1193 777" autofittype="none">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="25"/>
- <Column size="80"/>
- <Column size="120"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="80"/>
- <Column size="0"/>
- <Column size="80"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="100"/>
- <Column size="120"/>
- <Column size="125"/>
- <Column size="134"/>
- </Columns>
- <Rows>
- <Row size="26" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1"/>
- <Cell col="2" text="검사일"/>
- <Cell col="3" text="헌혈증 번호"/>
- <Cell col="4" text="Collect Vol.(ml) (10^3/nL)"/>
- <Cell col="5" text="3/nL)"/>
- <Cell col="6" text="측정 Yield"/>
- <Cell col="7" text="PH"/>
- <Cell col="8" text="배양"/>
- <Cell col="9" text="백혈구수 (10^3/nL)"/>
- <Cell col="10" text="3/nL)"/>
- <Cell col="11" text="Pheresis Procedure점검"/>
- <Cell col="12" text="혈액관리 책임자확인"/>
- <Cell col="13" text="전문의"/>
- <Cell col="14" text="전문의확인일시"/>
- </Band>
- <Band id="body">
- <Cell text="expr:currow + 1"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:chk"/>
- <Cell col="2" displaytype="date" edittype="date" text="bind:prcpdd" mask="yyyy-MM-dd"/>
- <Cell col="3" text="bind:natno" mask="99-99-999999"/>
- <Cell col="4" text="bind:donvol"/>
- <Cell col="5" text="bind:reptrslt"/>
- <Cell col="6" text="bind:ph"/>
- <Cell col="7" text="bind:cul"/>
- <Cell col="8" text="bind:wbc"/>
- <Cell col="9" displaytype="combo" edittype="combo" text="bind:dmdeliveyn"/>
- <Cell col="10" displaytype="combo" edittype="combo" text="bind:retestyn" enable="false"/>
- <Cell col="11" text="bind:readdoctid"/>
- <Cell col="12" displaytype="date" edittype="date" text="bind:refdt" mask="yyyy-MM-dd hh:mm:ss"/>
- <Cell col="13" text="bind:readdoctid"/>
- <Cell col="14" text="bind:refdt"/>
- </Band>
- </Format>
- <Format id="format_copy"/>
- </Formats>
- </Grid>
- <Div id="group2" taborder="6" position="absolute 0 42 1195 77" class="div_SA">
- <Layouts>
- <Layout>
- <Shape id="line11" linetype="vertical" class="line_4" position="absolute 1111 7 1117 29"/>
- <Button id="btn_search" taborder="1" text="조회" class="btn1" position="absolute 1126 7 1182 29" onclick="group2_btn_search_onclick"/>
- <Static id="caption7" text="시행일자 :" class="search_name" position="absolute 15 9 101 26"/>
- <Calendar id="input8" taborder="2" class="input_s_essential" position="absolute 89 8 193 27"/>
- <Calendar id="input9" taborder="3" class="input_s_essential" position="absolute 213 8 319 27"/>
- <Static id="caption11" text="~" class="search_n_b" position="absolute 198 9 210 26"/>
- <Static id="caption8" text="조회구분 :" class="search_name" position="absolute 415 9 501 26"/>
- <Radio id="rdo_1" taborder="4" columncount="3" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" class="radio_search" position="absolute 505 9 610 27" onitemchanged="group2_rdo_1_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">DGI</Col>
- </Row>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">HPC</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption1" text="정도관리 상세 내역" class="tit_2" position="absolute 0 85 140 102"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_datagrid1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="chk" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="natno" type="STRING"/>
- <Column id="donvol" type="STRING"/>
- <Column id="reptrslt" type="STRING"/>
- <Column id="ph" type="STRING"/>
- <Column id="cul" type="STRING"/>
- <Column id="wbc" type="STRING"/>
- <Column id="dmdeliveyn" type="STRING"/>
- <Column id="retestyn" type="STRING"/>
- <Column id="readdoctid" type="STRING"/>
- <Column id="refdt" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="donflag" type="STRING" size="256"/>
- <Column id="cmfmlist" type="STRING" size="256"/>
- <Column id="cmfmflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="donflag">2</Col>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group2.input8" propid="value" datasetid="ds_send" columnid="fromdd"/>
- <BindItem id="item1" compid="group2.input9" propid="value" datasetid="ds_send" columnid="todd"/>
- <BindItem id="item2" compid="group2.rdo_1" propid="value" datasetid="ds_send" columnid="donflag"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-05-01
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-05-01 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "emr_carecomxp::ENRSignEngine.xjs";
- function SMLBD02000_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMLBD02000_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(datagrid1);
- fInit();
- }
- function fInit()
- {
- ds_send.setColumn(0, "fromdd", utlf_getCurrentDate());
- ds_send.setColumn(0, "todd", utlf_getCurrentDate());
- }
- //조회
- function fGetQCList()
- {
- var oParam = {};
- oParam.id = "TRLBD02001";
- oParam.service = "donmngtapp.DonRgst";
- oParam.method = "reqGetQCList";
- oParam.inds = "cond=ds_send";
- oParam.outds = "ds_datagrid1=qclist";
- oParam.async = false;
- //oParam.callback = "cf_TRLBD02001";
- tranf_submit(oParam);
-
- fSetGrid();
- }
-
- function group2_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetQCList();
- }
- //조회구분에 따른 그리드 colhidden
- function fSetGrid()
- {
-
- if(group2.rdo_1.value == 1) //HPC
- {
- datagrid1.setFormatColProperty(7, "size", 80);
- datagrid1.setFormatColProperty(9, "size", 100);
- }
- else //DGI
- {
-
- datagrid1.setFormatColProperty(7, "size", 0);
- datagrid1.setFormatColProperty(9, "size", 0);
- }
- }
- function group2_rdo_1_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- fSetGrid();
- }
- //책임자확인
- function button1_onclick(obj:Button, e:ClickEventInfo)
- {
- fExeCnfm(1);
- }
- //전문의확인
- function btn_save_onclick(obj:Button, e:ClickEventInfo)
- {
- fExeCnfm(2);
- }
- //초기화
- function btn_init_onclick(obj:Button, e:ClickEventInfo)
- {
- this.reload();
- }
- //확인 1:책임자, 2:헌혈실장
- function fExeCnfm(pRef)
- {
- for(i = 0; i < ds_datagrid1.rowcount; i++)
- {
- if(ds_datagrid1.getColumn(i, "chk") == 1)
- {
- var arrRow = new Array();
- grdf_setStatus(datagrid1 , "U", i);
- }
- else
- {
- grdf_setStatus(datagrid1, "", i);
- }
- }
-
- if(ds_datagrid1.rowcount <= 0)
- {
- sysf_messageBox("저장할 자료가 존재하지 않아 실행", "E001");
- return;
- }
-
- //model.setValue("/root/send/cnfmlist", datagrid1.getUpdateData());
- ds_send.setColumn(0, "cmfmflag", pRef);
- if(pRef == 2)
- {
- if(Sign.signprocess())
- {
- }
- else
- {
- alert("인증실패");
- return;
- }
- }
- var oParam = {};
- oParam.id = "TXLBD02001";
- oParam.service = "donmngtapp.DonRgst";
- oParam.method = "reqExeQCList";
- oParam.inds = "req=ds_datagrid1:U cond=ds_send";
- oParam.async = false;
- //oParam.callback = "cf_TXLBD02001";
- tranf_submit(oParam);
-
- fGetQCList();
- }
- ]]></Script>
- </Form>
- </FDL>
|