123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPMNB00202" position="absolute 0 0 700 575" titletext="카덱스 팀별메모" oninit="SPMNB00202_oninit" onload="SPMNB00202_onload">
- <Layouts>
- <Layout>
- <Shape position="absolute 5 30 690 36" linetype="horizontal" id="line1" class="line_10"/>
- <Static text="메모이력" position="absolute 10 14 110 30" id="caption1" class="tit_2"/>
- <Grid position="absolute 5 35 690 565" id="grd_memo" class="datagrid2" binddataset="ds_main_kardexinfo_memolist" cellsizingtype="both" autosizingtype="row" extendsizetype="row" autoenter="select" onheadclick="grd_memo_onheadclick" scrollpixel="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="22"/>
- <Column size="37"/>
- <Column size="100"/>
- <Column size="48"/>
- <Column size="287"/>
- <Column size="48"/>
- <Column size="104"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="35" 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="수정/ 삭제자"/>
- <Cell col="5" text="메모내용(CTRL + ENTER시 다음줄에 기입가능)"/>
- <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="기관코드"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:chkyn" expr="expr:(chkyn == "Y" || chkyn == 1) ? 1 : 0"/>
- <Cell col="2" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:status" combodataset="ds_inner_status" combocodecol="value" combodatacol="label"/>
- <Cell col="3" style="linetype: ;" text="bind:cncldt" mask="####-##-## ##:##"/>
- <Cell col="4" style="align:center middle;" text="bind:cnclid"/>
- <Cell col="5" displaytype="text" edittype="textarea" text="bind:memocnts" wordwrap="word" editlimit="666" editimemode="hangul" autosizerow="limitmin"/>
- <Cell col="6" style="align:center middle;" text="bind:writ"/>
- <Cell col="7" style="align:center middle;" text="bind:recdt" mask="####-##-## ##:##"/>
- <Cell col="8" text="bind:rectm"/>
- <Cell col="9" text="bind:pid"/>
- <Cell col="10" text="bind:memoitemflag"/>
- <Cell col="11" text="bind:seqno"/>
- <Cell col="12" text="bind:recdd"/>
- <Cell col="13" text="bind:recdd_b"/>
- <Cell col="14" text="bind:rectm_b"/>
- <Cell col="15" text="bind:indd"/>
- <Cell col="16" text="bind:cretno"/>
- <Cell col="17" text="bind:instcd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button position="absolute 645 10 687 29" id="btn_ref" class="btn2" text="조회" onclick="btn_ref_onclick"/>
- <Button position="absolute 600 10 642 29" id="button1" class="btn5" text="복구" onclick="button1_onclick"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_kardexinfo_memolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_kardexinfo_memolist_oncolumnchanged"/>
- <Dataset id="ds_inner_status" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">추가</Col>
- <Col id="value">i</Col>
- </Row>
- <Row>
- <Col id="label">수정</Col>
- <Col id="value">u</Col>
- </Row>
- <Row>
- <Col id="label">삭제</Col>
- <Col id="value">d</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_savedata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <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
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- /*SPMNB00202_oninit*/
- function SPMNB00202_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- /*SPMNB00202_onload*/
- function SPMNB00202_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_setRowTypeIcon(grd_memo,0);
- fInitialize();
- }
- /*fInitialize*/
- function fInitialize()
- {
- fSearch();
- }
- /*fSearch*/
- function fSearch() {
-
- var pid = opener.frmf_getParameter("SPMNB00202_pid");
- var indd = opener.frmf_getParameter("SPMNB00202_indd");
- var cretno = opener.frmf_getParameter("SPMNB00202_cretno");
- var memoitemflag = opener.frmf_getParameter("SPMNB00202_memoitemflag");
-
- dsf_makeValue(ds_send_reqdata,"pid","string", pid);
- dsf_makeValue(ds_send_reqdata,"indd","string", indd);
- dsf_makeValue(ds_send_reqdata,"cretno","string", cretno);
- dsf_makeValue(ds_send_reqdata,"memoitemflag","string", memoitemflag);
-
- var oParam = {};
- oParam.id = "TRMNB00211";
- oParam.service = "wardcareapp.WardCardexMngt";
- oParam.method = "reqGetMemoInfo";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_main_kardexinfo_memolist=memolist";
- oParam.async = false;
- tranf_submit(oParam);
-
- ds_main_kardexinfo_memolist.enableevent = false;
- ds_main_kardexinfo_memolist.updatecontrol =false;
-
- dsf_setFixVal(ds_main_kardexinfo_memolist, "chkyn:N");
-
- ds_main_kardexinfo_memolist.enableevent = true;
- ds_main_kardexinfo_memolist.updatecontrol =true;
-
- ds_main_kardexinfo_memolist.rowposition = -1;
- }
- /*ds_main_kardexinfo_memolist_oncolumnchanged*/
- function ds_main_kardexinfo_memolist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if ( e.columnid == "chkyn" ) {
- var currow = e.row;
- obj.setColumn(currow, e.columnid, (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
- }
- }
- /*btn_ref_onclick*/
- function btn_ref_onclick(obj:Button, e:ClickEventInfo)
- {
- fSearch();
- }
- /*button1_onclick*/
- function button1_onclick(obj:Button, e:ClickEventInfo)
- {
- var rtn = sysf_messageBox("해당항목을 복귀하시겠습니까?", "Q");
- if(rtn == "6") {
- var updateData = grdf_getGridUpdateData(grd_memo);
- grdf_setStatusColumn(updateData, "status");
-
- dsf_createDs("ds_send_savedata");
- ds_send_savedata.copyData(updateData, true);
- var oParam = {};
- oParam.id = "TXMNB00211";
- oParam.service = "wardcareapp.WardCardexMngt";
- oParam.method = "reqExeRecvMemoList";
- oParam.inds = "req=ds_send_savedata";
- oParam.outds = "";
- oParam.async = false;
- tranf_submit(oParam);
-
- fSearch();
-
- var curNurKadexObj = frmf_findPopup("SMMNB00200");
-
- if( !utlf_isNull(curNurKadexObj) ){//카덱스]
-
- curNurKadexObj.fInitialize();
- }
- }
- }
- /*grd_memo_onheadclick*/
- function grd_memo_onheadclick(obj:Grid, e:GridClickEventInfo)
- {
- grdf_gridSort(grd_memo,e);
- }
- ]]></Script>
- </Form>
- </FDL>
|