123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMPPI01000" position="absolute 0 0 1175 746" titletext="사전신청요법등록 화면" onload="SMPPI01000_onload" oninit="SMPPI01000_oninit">
- <Layouts>
- <Layout>
- <Div position="absolute 1 23 1169 737" id="grp_biz" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <Grid position="absolute 1 77 1161 698" id="grd_dpcdlist" class="datagrid3" binddataset="ds_main_dpcdlist" anchor="default" autofittype="none" autosizingtype="row" cellmovingtype="none" cellsizingtype="both" cellclickbound="control" selecttype="row" autoenter="select" oncellclick="grp_biz_grd_dpcdlist_oncellclick" extendsizetype="row">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="21"/>
- <Column size="45"/>
- <Column size="66"/>
- <Column size="110"/>
- <Column size="82"/>
- <Column size="205"/>
- <Column size="387"/>
- <Column size="100"/>
- <Column size="107"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="92"/>
- <Column size="91"/>
- <Column size="68"/>
- <Column size="100"/>
- <Column size="69"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="40" band="head"/>
- <Row size="24"/>
- </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="flag"/>
- <Cell col="18" text="pid"/>
- <Cell col="19" text="execdd"/>
- <Cell col="20" text="ioflag"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:useyn" autosizerow="limitmin"/>
- <Cell col="2" displaytype="normal" edittype="none" text="bind:regmcd" autosizerow="limitmin" enable="false"/>
- <Cell col="3" displaytype="normal" edittype="none" style="align:left;" text="bind:cncrkind" autosizerow="limitmin"/>
- <Cell col="4" displaytype="normal" edittype="none" style="align:left middle;" text="bind:cncrdetl" autosizerow="limitmin" enable="true"/>
- <Cell col="5" displaytype="normal" edittype="none" style="align:left middle;" text="bind:antichem" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="6" displaytype="normal" edittype="none" style="align:left middle;" text="bind:drugtrgt" wordwrap="word" autosizerow="limitmin" autosizecol="default"/>
- <Cell col="7" displaytype="normal" edittype="none" style="align:left middle;" text="bind:drugstage" autosizerow="limitmin"/>
- <Cell col="8" displaytype="normal" edittype="none" style="align:left middle;" text="bind:drugregm" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="9" displaytype="normal" edittype="none" style="align:left middle;" text="bind:paydetl" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="10" displaytype="normal" edittype="none" style="align:left middle;" text="bind:etcdetl" autosizerow="limitmin"/>
- <Cell col="11" displaytype="date" edittype="none" text="bind:fromdd" mask="yyyy-MM-dd" autosizerow="limitmin"/>
- <Cell col="12" displaytype="date" edittype="none" text="bind:todd" mask="yyyy-MM-dd" autosizerow="limitmin"/>
- <Cell col="13" displaytype="normal" edittype="none" text="bind:fstrgstrid" autosizerow="limitmin"/>
- <Cell col="14" displaytype="date" edittype="none" text="bind:fstrgstdt" mask="yyyy-MM-dd hh:mm" autosizerow="limitmin"/>
- <Cell col="15" displaytype="normal" text="bind:lastupdtrid" autosizerow="limitmin"/>
- <Cell col="16" displaytype="date" text="bind:lastupdtdt" mask="yyyy-MM-dd hh:mm" autosizerow="limitmin"/>
- <Cell col="17" displaytype="normal" text="bind:flag" autosizerow="limitmin"/>
- <Cell col="18" text="bind:pid"/>
- <Cell col="19" text="bind:execdd"/>
- <Cell col="20" text="bind:ioflag"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static text="사전신청요법기준 리스트" position="absolute 4 56 214 79" id="cap_judgtrgtman" class="tit_2" anchor="default"/>
- <Shape position="absolute 1 72 1161 78" linetype="horizontal" id="line1" class="line_1" anchor="default" style="strokepen:3 solid #33bbbbff;"/>
- <Div position="absolute 0 2 1160 42" align="align:center top;" id="group1" class="div_SA" anchor="default">
- <Layouts>
- <Layout>
- <Button position="absolute 1095 10 1151 32" id="btn_select" class="btn1" taborder="32" visible="false" text="조회" anchor="default" onclick="grp_biz_group1_btn_select_onclick"/>
- <Static text="환자번호:" position="absolute 8 11 95 28" id="caption30" class="search_name" anchor="default"/>
- <Edit position="absolute 100 10 200 29" id="ipt_diagcd" enable="false" anchor="default"/>
- <Static text="내원구분:" position="absolute 223 11 310 28" id="caption1" class="search_name" anchor="default"/>
- <Static text="시행일 :" position="absolute 413 11 525 28" id="caption2" class="search_name" anchor="default"/>
- <Calendar position="absolute 490 10 605 29" id="input2" enable="false" mask="yyyy-mm-dd" anchor="default" dateformat="yyyy-MM-dd" value="null"/>
- <Combo position="absolute 310 10 385 29" id="combo1" enable="false" innerdataset="@ds_init_genrflagcd" datacolumn="cdnm" codecolumn="cdid" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Button position="absolute 1115 53 1157 72" id="button1" class="btn5" text="저장" anchor="default" onclick="grp_biz_button1_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="cap_title" text="사전신청요법등록 화면" class="tit_1" position="absolute 1 1 217 24"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_dpcdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="useyn" type="STRING"/>
- <Column id="regmcd" type="STRING"/>
- <Column id="cncrkind" type="STRING"/>
- <Column id="cncrdetl" type="STRING"/>
- <Column id="antichem" type="STRING"/>
- <Column id="drugtrgt" type="STRING"/>
- <Column id="drugstage" type="STRING"/>
- <Column id="drugregm" type="STRING"/>
- <Column id="paydetl" type="STRING"/>
- <Column id="etcdetl" type="STRING"/>
- <Column id="fromdd" type="STRING"/>
- <Column id="todd" type="STRING"/>
- <Column id="fstrgstrid" type="STRING"/>
- <Column id="fstrgstdt" type="STRING"/>
- <Column id="lastupdtrid" type="STRING"/>
- <Column id="lastupdtdt" type="STRING"/>
- <Column id="flag" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="execdd" type="STRING"/>
- <Column id="ioflag" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_genrflagcd" 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/>
- </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="execdd" type="STRING" size="256"/>
- <Column id="ioflag" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp_biz.group1.ipt_diagcd" propid="value" datasetid="ds_send" columnid="pid"/>
- <BindItem id="item1" compid="grp_biz.group1.combo1" propid="value" datasetid="ds_send" columnid="ioflag"/>
- <BindItem id="item2" compid="grp_biz.group1.input2" propid="value" datasetid="ds_send" columnid="execdd"/>
- </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 "pam_pamcomnxp::PAM001.xjs";
- include "pam_pamcomnxp::PAM.xjs";
- function SMPPI01000_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMPPI01000_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(grp_biz.grd_dpcdlist);
- grdf_setRowTypeIcon(grp_biz.grd_dpcdlist, 0);
-
- fInitialize();
- }
- function fInitialize()
- {
- ds_send.setColumn(0, "instcd", sysf_getUserInfo("dutplceinstcd"));
- var arrParam = [{dsNm: "ds_init_genrflagcd", cdGrpId: "M0010"}]
- appf_getCodeList(arrParam);
-
- pamGetDeptCDDrIDList();
-
- ds_send.copyData(arg_ds_send);
-
- grp_biz_group1_btn_select_onclick();
- }
- //조회
- function grp_biz_group1_btn_select_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetDocuList();
- }
- function fGetDocuList()
- {
- var oParam = {};
- oParam.id = "TXPPI00901";
- oParam.service = "bfjudgcareapp.BfJudgCareMngt";
- oParam.method = "reqGetPichbfrgList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_dpcdlist=rslt";
- oParam.async = false;
- //oParam.callback = "cf_TXPPI00901";
- tranf_submit(oParam);
- }
- //저장
- function grp_biz_button1_onclick(obj:Button, e:ClickEventInfo)
- {
- var update = grdf_getGridUpdateData(grp_biz.grd_dpcdlist);
-
- if(update.rowcount == 0)
- {
- sysf_messageBox("변경된 데이터가","I004");
- return 0;
- }
-
- if (sysf_messageBox("저장", "S001") == 6)
- {
- var oParam = {};
- oParam.id = "TXPIJ03202";
- oParam.service = "bfjudgcareapp.BfJudgCareMngt";
- oParam.method = "reqExePichbfrgList";
- oParam.inds = "req=ds_main_dpcdlist:U";
- oParam.outds = "ds_main_dpcdlist=rslt";
- oParam.async = false;
- oParam.callback = "cf_TXPIJ03202";
- tranf_submit(oParam);
- }
-
- this.close();
- }
- function cf_TXPIJ03202()
- {
- sysf_messageBox("저장이","I002");
- }
- function grp_biz_grd_dpcdlist_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- if(obj.currentcol == obj.getBindCellIndex("body","useyn") ){
-
- var rowno = obj.currentrow;
- if (obj.getCellValue(rowno, obj.getBindCellIndex("body","flag")) == "I" && ds_main_dpcdlist.getRowType(rowno) == 4) {
- var arrPostion = new Array();
- arrPostion[0] = rowno;
- grdf_setStatus(obj, "I", arrPostion);
- } else if (obj.getCellValue(rowno, obj.getBindCellIndex("body","flag")) == "U" && ds_main_dpcdlist.getRowType(rowno) == 4){
- var arrPostion = new Array();
- arrPostion[0] = rowno;
- grdf_setStatus(obj, "D", arrPostion);
- } else {
- var arrPostion = new Array();
- arrPostion[0] = rowno;
- grdf_setStatus(obj, "", arrPostion);
- }
- }
-
- }
- ]]></Script>
- </Form>
- </FDL>
|