123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239 |
- <?xml version="1.0" encoding="utf-8" standalone="no"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMPMC02403" position="absolute 0 0 530 405" titletext="관리내용" onload="SMPMC02403_onload">
- <Layouts>
- <Layout>
- <Static id="caption1" class="tit_2" position="absolute 0 0 170 17" style="" text="관리내용작성"/>
- <Shape id="line3" class="line_10" linetype="horizontal" position="absolute 0 18 510 22" style="" anchor="default"/>
- <Static id="caption3" class="cell_1" position="absolute 0 22 110 45" style="align: middle;" text="작성일자"/>
- <Static id="caption48" class="cell_1" position="absolute 0 48 110 71" style="align: middle;" text="관리내용분류"/>
- <Static id="caption49" class="cell_1" position="absolute 0 74 110 157" style="align: middle;" text="내용"/>
- <Calendar id="ipt_wrtedd" class="input_default" position="absolute 113 24 235 43" style="" anchor="default" onkillfocus="ipt_wrtedd_onkillfocus" autoselect="true" autoskip="true" dateformat="yyyy-MM-dd" value="null"/>
- <Combo datacolumn="datacolumn" codecolumn="codecolumn" columncount="-1" rowcount="-1" id="cmb_mngtcntscls" class="combo_default" position="absolute 113 50 235 69" style="" onitemchanged="cmb_mngtcntscls_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">0</Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">재원환자</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">재원미수</Col>
- </Row>
- <Row>
- <Col id="codecolumn">3</Col>
- <Col id="datacolumn">퇴원미수</Col>
- </Row>
- <Row>
- <Col id="codecolumn">4</Col>
- <Col id="datacolumn">응급대불</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <TextArea id="tar_cnts" position="absolute 113 77 509 154" style="" wordwrap="char" scrollbars="fixedvert"/>
- <Shape id="line4" class="line_3" linetype="horizontal" position="absolute 0 158 510 161" style="" anchor="default"/>
- <Static id="caption4" class="tit_2" position="absolute 0 163 170 180" style="" text="관리내용조회"/>
- <Shape id="line11" class="line_10" linetype="horizontal" position="absolute 0 181 510 185" style="" anchor="default"/>
- <Shape id="line9" class="line_2" linetype="horizontal" position="absolute 0 46 235 49" style="" anchor="default"/>
- <Shape id="line1" class="line_2" linetype="horizontal" position="absolute 0 72 235 75" style="" anchor="default"/>
- <Button id="btn_search" class="btn4" position="absolute 454 368 510 390" style="" text="조회" onclick="btn_search_onclick"/>
- <Button id="btn_save" class="btn4" position="absolute 397 368 453 390" style="" text="저장" onclick="btn_save_onclick"/>
- <Grid id="grd_ihdc" binddataset="ds_main_h_ihdc_ihdc" position="absolute 0 184 510 363" style="" oncellclick="grd_ihdc_oncellclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="70"/>
- <Column size="60"/>
- <Column size="307"/>
- <Column size="70"/>
- </Columns>
- <Rows>
- <Row size="23" band="head"/>
- <Row size="23"/>
- </Rows>
- <Band id="head">
- <Cell text="등록번호"/>
- <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="작성자"/>
- </Band>
- <Band id="body">
- <Cell text="bind:pid"/>
- <Cell col="1" text="bind:indd"/>
- <Cell col="2" text="bind:cretno"/>
- <Cell col="3" text="bind:cnstdetlseqno"/>
- <Cell col="4" text="bind:instcd"/>
- <Cell col="5" displaytype="date" style="align:left middle;" text="bind:workdd" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
- <Cell col="6" displaytype="combo" style="align:left middle;" text="bind:cnstflag" combodataset="ds_init_cnstflag" combocodecol="value" combodatacol="label"/>
- <Cell col="7" style="align:left middle;" text="bind:cnstspec"/>
- <Cell col="8" style="align:left middle;" text="bind:lastupdtrnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="btn_new" class="btn4" position="absolute 316 368 396 390" style="" text="신규저장" onclick="btn_new_onclick"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_h_ihdc_ihdc" 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_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="indd" type="STRING" size="256"/>
- <Column id="cretno" type="STRING" size="256"/>
- <Column id="cnstflag" type="STRING" size="256"/>
- <Column id="workdd" type="STRING" size="256"/>
- <Column id="cnstspec" type="STRING" size="256"/>
- <Column id="cnstdetlseqno" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cnstflag" 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">0</Col>
- </Row>
- <Row>
- <Col id="label">재원환자</Col>
- <Col id="value">1</Col>
- </Row>
- <Row>
- <Col id="label">재원미수</Col>
- <Col id="value">2</Col>
- </Row>
- <Row>
- <Col id="label">퇴원미수</Col>
- <Col id="value">3</Col>
- </Row>
- <Row>
- <Col id="label">응급대불</Col>
- <Col id="value">4</Col>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="ipt_wrtedd" propid="value" datasetid="ds_send" columnid="workdd"/>
- <BindItem id="item1" compid="cmb_mngtcntscls" propid="value" datasetid="ds_send" columnid="cnstflag"/>
- <BindItem id="item2" compid="tar_cnts" propid="value" datasetid="ds_send" columnid="cnstspec"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[include "com_commonxp::comm_main.xjs"
- include "com_zipcodexp::ZBP001.xjs"
- var arErrorCode = new HashArray();
- //화면 초기화
- function fInitialize() {
- ds_send.clearData();
- ds_send.addRow();
- ds_send.setColumn(0, "pid", opener.ds_send_data3.getColumn(0, "pid"));
- ds_send.setColumn(0, "indd", opener.ds_send_data3.getColumn(0, "indd"));
- ds_send.setColumn(0, "cretno", opener.ds_send_data3.getColumn(0, "cretno"));
- ds_send.setColumn(0, "workdd", utlf_getCurrentDate());
- ds_send.setColumn(0, "cnstflag", 0);
- }
- function fSearch() {
- var oParam = {};
- oParam.id = "TRPMC02409";
- oParam.service = "patinfomngtapp.ERSubtApp";
- oParam.method = "reqGetErubud_ihdc";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_h_ihdc_ihdc=ihdc";
- oParam.async = false;
- tranf_submit(oParam);
- }
- function fSave() {
- var oParam = {};
- oParam.id = "TXPMC02406";
- oParam.service = "patinfomngtapp.ERSubtApp";
- oParam.method = "reqSetErubud_ihdc";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_temp=temp";
- oParam.async = false;
- oParam.callback = "cf_TXPMC02406";
- tranf_submit(oParam);
- if (arErrorCode.pop("TXPMC02406") > -1) {
- fSearch();
- }
- }
- function cf_TXPMC02406(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- function SMPMC02403_onload(obj: Form, e: LoadEventInfo) {
- frmf_initForm(obj);
- fInitialize();
- fSearch();
- }
- function ipt_wrtedd_onkillfocus(obj: Calendar, e: KillFocusEventInfo) {
- }
- function cmb_mngtcntscls_onitemchanged(obj: Combo, e: ItemChangeEventInfo) {
- }
- function btn_search_onclick(obj: Button, e: ClickEventInfo) {
- fSearch();
- }
- function btn_save_onclick(obj: Button, e: ClickEventInfo) {
- fSave();
- }
- function grd_ihdc_oncellclick(obj: Grid, e: GridClickEventInfo) {
- var iRow = ds_main_h_ihdc_ihdc.rowposition;
- ds_send.setColumn(0, "pid", ds_main_h_ihdc_ihdc.getColumn(iRow, "pid"));
- ds_send.setColumn(0, "indd", ds_main_h_ihdc_ihdc.getColumn(iRow, "indd"));
- ds_send.setColumn(0, "cretno", ds_main_h_ihdc_ihdc.getColumn(iRow, "cretno"));
- ds_send.setColumn(0, "cnstflag", ds_main_h_ihdc_ihdc.getColumn(iRow, "cnstflag"));
- ds_send.setColumn(0, "workdd", ds_main_h_ihdc_ihdc.getColumn(iRow, "workdd"));
- ds_send.setColumn(0, "cnstspec", ds_main_h_ihdc_ihdc.getColumn(iRow, "cnstspec"));
- ds_send.setColumn(0, "cnstdetlseqno", ds_main_h_ihdc_ihdc.getColumn(iRow, "cnstdetlseqno"));
- }
- function btn_new_onclick(obj: Button, e: ClickEventInfo) {
- ds_send.setColumn(0, "cnstdetlseqno", "");
- fSave();
- }]]></Script>
- </Form>
- </FDL>
|