123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMAEB00100" position="absolute 0 0 1197 796" titletext="검사/치료실 관리" onload="SMAEB00100_onload" oninit="SMAEB00100_oninit">
- <Layouts>
- <Layout>
- <Div id="grp_srch" taborder="1" position="absolute 0 27 1195 67" class="div_SA" anchor="left top right"/>
- <Shape position="absolute 1108 37 1114 59" linetype="vertical" id="line13" class="line_4" anchor="top right"/>
- <Button position="absolute 1127 38 1183 59" id="btn_sea" class="btn1" text="조회" onclick="btn_sea_onclick" anchor="top right"/>
- <Static text="실 코드 :" position="absolute 16 38 102 55" id="caption2" class="search_name"/>
- <Button position="absolute 238 38 254 55" id="button61" class="icon_search" text="" onclick="button61_onclick"/>
- <Edit position="absolute 98 37 233 56" id="ipt_basecd" class="input_search" autoselect="true" onkeyup="ipt_basecd_onkeyup"/>
- <Radio position="absolute 289 39 389 58" id="rdo_roomflag" visible="false" columncount="2" codecolumn="codecolumn" datacolumn="datacolumn">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">R</Col>
- <Col id="datacolumn">일반</Col>
- </Row>
- <Row>
- <Col id="codecolumn">Z</Col>
- <Col id="datacolumn">보류</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static text="검사/치료실 현황" position="absolute 0 78 152 96" id="caption1" class="tit_2"/>
- <Button position="absolute 1086 72 1139 94" id="btn_grdadd" class="btn2" text="행추가" onclick="btn_grdadd_onclick" anchor="top right"/>
- <Button position="absolute 1142 72 1195 94" id="btn_grddel" class="btn2" enable="true" text="행삭제" onclick="btn_grddel_onclick" anchor="top right"/>
- <Grid position="absolute 0 99 1195 762" id="grd_examcureroom" class="datagrid2" binddataset="ds_main_examcurelist_item" autosizingtype="row" cellsizingtype="both" extendsizetype="row" selecttype="multirow" autoenter="key" onexpandup="grd_examcureroom_onexpandup" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="41"/>
- <Column size="80"/>
- <Column size="187"/>
- <Column size="79"/>
- <Column size="39"/>
- <Column size="88"/>
- <Column size="89"/>
- <Column size="57"/>
- <Column size="67"/>
- <Column size="81"/>
- <Column size="81"/>
- <Column size="57"/>
- <Column size="58"/>
- <Column size="60"/>
- <Column size="75"/>
- <Column size="104"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="166"/>
- <Column size="150"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="35" 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="집계부서"/>
- <Cell col="18" text="집계부서코드"/>
- <Cell col="19" text="SEQ"/>
- <Cell col="20" text="환자 가야할 곳"/>
- <Cell col="21" text="전광판 표시명칭"/>
- <Cell col="22" text="rbasecdflag"/>
- <Cell col="23" text="basesuppdeptcd"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow+1"/>
- <Cell col="1" displaytype="text" edittype="text" text="bind:sortno" editautoselect="true"/>
- <Cell col="2" displaytype="text" edittype="text" text="bind:basecd" editautoselect="true"/>
- <Cell col="3" displaytype="text" edittype="text" text="bind:basecdflagdesc" editautoselect="true"/>
- <Cell col="4" displaytype="text" edittype="text" text="bind:basecdcnts" editautoselect="true"/>
- <Cell col="5" displaytype="combo" edittype="combo" style="align:center;" text="bind:baseroomopenyn" combodataset="ds_init_yn" combocodecol="label" combodatacol="value"/>
- <Cell col="6" displaytype="text" edittype="expand" text="bind:excuposseqcd" expandshow="show"/>
- <Cell col="7" displaytype="combo" edittype="combo" style="align:center;" text="bind:baseroomflag" combodataset="ds_init_baseinfo_initexecbaseflag_A0074" combocodecol="cdid" combodatacol="cdnm" combodisplayrowcount="20"/>
- <Cell col="8" displaytype="combo" edittype="combo" style="align:center;" text="bind:rcptscrndispyn" combodataset="ds_init_yn" combocodecol="label" combodatacol="value"/>
- <Cell col="9" celltype="none" displaytype="combo" edittype="combo" style="align:center;" text="bind:autroomassgyn" combodataset="ds_init_yn" combocodecol="label" combodatacol="value"/>
- <Cell col="10" displaytype="combo" edittype="combo" style="align:center;" text="bind:rsrvtmcntlyn" combodataset="ds_init_yn" combocodecol="label" combodatacol="value"/>
- <Cell col="11" displaytype="combo" edittype="combo" style="align:center;" text="bind:rsrvpsnnocntlyn" combodataset="ds_init_yn" combocodecol="label" combodatacol="value"/>
- <Cell col="12" displaytype="combo" edittype="combo" style="align:center;" text="bind:sytserdispyn" combodataset="ds_init_yn" combocodecol="label" combodatacol="value"/>
- <Cell col="13" displaytype="combo" edittype="combo" style="align:center;" text="bind:sytshealdispyn" combodataset="ds_init_yn" combocodecol="label" combodatacol="value"/>
- <Cell col="14" edittype="normal" editfilter="number" text="bind:sonoage" editlimit="3" editautoselect="true"/>
- <Cell col="15" displaytype="text" edittype="text" text="bind:userid" editautoselect="true"/>
- <Cell col="16" displaytype="text" edittype="text" text="bind:nextexcuroomcd" editautoselect="true"/>
- <Cell col="17" displaytype="text" edittype="expand" text="bind:execdeptnm" wordwrap="word" expandshow="show" autosizerow="limitmin" enable="true"/>
- <Cell col="18" text="bind:execdeptcd"/>
- <Cell col="19" text="bind:seq"/>
- <Cell col="20" displaytype="text" edittype="text" text="bind:smlstandnm" wordwrap="word" editautoselect="true" autosizerow="limitmin"/>
- <Cell col="21" displaytype="text" edittype="text" text="bind:dispnm" wordwrap="word" editautoselect="true" autosizerow="limitmin"/>
- <Cell col="22" displaytype="text" edittype="text" text="bind:rbasecdflag"/>
- <Cell col="23" displaytype="text" edittype="text" text="bind:basesuppdeptcd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static text="검사/치료실 관리" position="absolute 0 0 140 27" id="caption6" class="tit_1"/>
- <Shape id="line32" class="line_10" position="absolute 0 94 1195 100" anchor="left top right"/>
- <Button id="btn_selcalcscorcd" taborder="2" text="부서코드조회" class="btn2" position="absolute 995 72 1083 94" onclick="btn_selcalcscorcd_onclick" anchor="top right"/>
- <Shape id="line00" class="line_1" position="absolute 0 763 1195 769" anchor="left right bottom"/>
- <Button id="btn_save" taborder="3" text="저장" class="btn4" position="absolute 1139 769 1195 791" anchor="right bottom" onclick="btn_save_onclick"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="basecd" type="STRING" size="256"/>
- <Column id="roomflag" type="STRING" size="256"/>
- <Column id="basesuppdeptcd" type="STRING" size="256"/>
- <Column id="gb" type="STRING" size="256"/>
- <Column id="suppdeptcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="roomflag">R</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_examcurelist_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="sortno" type="STRING" size="256" sumtext="정렬번호"/>
- <Column id="basecd" type="STRING" size="256" sumtext="기본코드"/>
- <Column id="basecdflagdesc" type="STRING" size="256" sumtext="코드설명"/>
- <Column id="basecdcnts" type="STRING" size="256" sumtext="코드내용"/>
- <Column id="orddrid" type="STRING" size="256" sumtext="진료의"/>
- <Column id="baseroomopenyn" type="STRING" size="256" sumtext="개폐여부"/>
- <Column id="excuposseqcd" type="STRING" size="256" sumtext="검사장비가능코드"/>
- <Column id="baseroomflag" type="STRING" size="256" sumtext="실구분"/>
- <Column id="rcptscrndispyn" type="STRING" size="256" sumtext="화면표시여부"/>
- <Column id="basesuppdeptcd" type="STRING" size="256" sumtext="지원부서코드"/>
- <Column id="userid" type="STRING" size="256" sumtext="검사실코드"/>
- <Column id="autroomassgyn" type="STRING" size="256" sumtext="자동방배정여부"/>
- <Column id="rsrvtmcntlyn" type="STRING" size="256" sumtext="예약시간변경여부"/>
- <Column id="rsrvpsnnocntlyn" type="STRING" size="256" sumtext="예약인원통제여부"/>
- <Column id="sytserdispyn" type="STRING" size="256" sumtext="검통응급표시여부"/>
- <Column id="sytshealdispyn" type="STRING" size="256" sumtext="검통건진여부"/>
- <Column id="nextexcuroomcd" type="STRING" size="256" sumtext="다음치료실"/>
- <Column id="execdeptcd" type="STRING" size="256" sumtext="집계부서"/>
- <Column id="execdeptnm" type="STRING" size="256" sumtext="집계부서코드"/>
- <Column id="sonoage" type="STRING" size="256" sumtext="나이제한연령"/>
- <Column id="seq" type="STRING" size="256" sumtext="순번"/>
- <Column id="smlstandnm" type="STRING" size="256" sumtext="소대기명"/>
- <!-- 2010.11.27 c y w -->
- <Column id="dispnm" type="STRING" size="256" sumtext="전광판표시명칭"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_baseinfo_initexecbaseflag_A0074" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_req" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdgrupid" type="STRING" size="256" sumtext="기초코드 그룹 ID"/>
- <Column id="cdid" type="STRING" size="256" sumtext="코드ID"/>
- <Column id="cdnm" type="STRING" size="256" sumtext="코드명"/>
- <Column id="sortfield" type="STRING" size="256" sumtext="정렬필드"/>
- <Column id="sortmethod" type="STRING" size="256" sumtext="정렬방법"/>
- <Column id="basedd" type="STRING" size="256" sumtext="기준일자(yyyymmdd)"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmb_info_initexcuroom" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="prestdeptcd" type="STRING" size="256"/>
- <Column id="prestdeptnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_yn" 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">Y</Col>
- <Col id="value">Y</Col>
- </Row>
- <Row>
- <Col id="label">N</Col>
- <Col id="value">N</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_req_data" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="rdo_roomflag" propid="value" datasetid="ds_send" columnid="rbasecdflag"/>
- <BindItem id="item1" compid="ipt_basecd" propid="value" datasetid="ds_send" columnid="basecd"/>
- </Bind>
- <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";
- include "ast_examcurexp::AEZ0001.xjs";
- include "com_departmentcodexp::ZSD001.xjs";
- var vSuppdeptcd;
- function SMAEB00100_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMAEB00100_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(grd_examcureroom);
- grdf_setRowTypeIcon(grd_examcureroom, 0);
-
- var suppdeptcd = "";
-
- //suppdeptcd = frmf_getMenuParam();
- //trace( "1.suppdeptcd = " +suppdeptcd);
-
- // lf_aezfSetSuppDeptcd_main();
-
- lf_aezfSetSuppDeptcd(); //AEZ0001.xjs
- suppdeptcd = frmf_getParameter("AST_DEPTCD");
-
- //20180822 진료과 설정
- if (utlf_transNullToEmpty(suppdeptcd) =="") {
- suppdeptcd = sysf_getUserInfo( "dutplcecd" );
- }
-
- if (utlf_isNull(suppdeptcd) || suppdeptcd == "" || suppdeptcd == " ")
- {
- lf_aezfSetSuppDeptcd();
- vSuppdeptcd = frmf_getPrestDeptCd();
- ds_send.setColumn(0, "basesuppdeptcd", vSuppdeptcd);
- ds_send.setColumn(0, "suppdeptcd", vSuppdeptcd);
- }
- else
- {
- ds_send.setColumn(0, "basesuppdeptcd", suppdeptcd);
- ds_send.setColumn(0, "suppdeptcd", suppdeptcd);
- }
- var arrParam = [{dsNm: "ds_init_baseinfo_initexecbaseflag_A0074", cdGrpId: "A0074"}]
- appf_getCodeList(arrParam);
- //submit("TRZBC00101", false);
-
- dsf_createDs("ds_cmd");
- ds_cmd.addColumn("minimum", "string");
- ds_cmd.addColumn("join", "string");
- dsf_setFixVal(ds_cmd, "minimum:true,join:false");
-
- ds_main_examcurelist_item.clearData();
- var oParam = {};
- oParam.id = "TRAEB00102";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqGetInitExcureRoomList";
- oParam.inds = "reqparam=ds_send";
- oParam.outds = "ds_init_cmb_info_initexcuroom=initexcuroom";
- oParam.async = false;
- //oParam.callback = "cf_TRAEB00102";
- tranf_submit(oParam);
-
- ipt_basecd.setFocus();
- }
- function ipt_basecd_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- obj.updateToDataset();
- btn_sea.click();
- }
- }
- function button61_onclick(obj:Button, e:ClickEventInfo)
- {
- //이벤트없음
- }
- function btn_sea_onclick(obj:Button, e:ClickEventInfo)
- {
- dsf_setFixVal(ds_send, "gb:1");
- dsf_makeValue(ds_send, "rbasecdflag", "string", ds_send.getColumn(0, "roomflag"));
-
- //20190419
- dsf_makeValue(ds_send, "basesuppdeptcd", "string", ds_send.getColumn(0, "basesuppdeptcd"));
- var oParam = {};
- oParam.id = "TRAEB00101";
- oParam.service = "examcurebaseapp.ExamCureRoom";
- oParam.method = "reqGetExamCureRoomGrpList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_examcurelist_item=item";
- oParam.async = false;
- //oParam.callback = "cf_TRAEB00101";
- tranf_submit(oParam);
- }
- function btn_selcalcscorcd_onclick(obj:Button, e:ClickEventInfo)
- {
- var iRow = ds_main_examcurelist_item.rowposition;
-
- var search_condition = "deptnm";
- var search_term = "";
- ds_temp.setColumn(0, "prestdeptcd", "");
- ds_temp.setColumn(0, "prestdeptnm", "");
-
- var standard_yn = null;
- var ord_deptflag = null;
-
- var objDept = appf_openInstDeptCodeList(search_condition, search_term, standard_yn, ord_deptflag, "deptcd depthngnm")
-
- ds_temp.setColumn(0,"prestdeptcd",objDept.deptcd);
- ds_temp.setColumn(0,"prestdeptnm",objDept.depthngnm);
-
- var addRow = ds_main_examcurelist_item.addRow();
- ds_main_examcurelist_item.setColumn(addRow, "basecd", ds_temp.getColumn(0, "prestdeptcd"));
- ds_main_examcurelist_item.setColumn(addRow, "basecdflagdesc", ds_temp.getColumn(0, "prestdeptnm"));
- ds_main_examcurelist_item.setColumn(addRow, "basesuppdeptcd", ds_send.getColumn(0, "basesuppdeptcd"));
- ds_main_examcurelist_item.setColumn(addRow, "rsrvtmcntlyn", "N");
- ds_main_examcurelist_item.setColumn(addRow, "rsrvpsnnocntlyn", "N");
- ds_main_examcurelist_item.setColumn(addRow, "autroomassgyn", "N");
- ds_main_examcurelist_item.setColumn(addRow, "sytserdispyn", "N");
- ds_main_examcurelist_item.setColumn(addRow, "sytshealdispyn", "N");
- }
- function btn_grdadd_onclick(obj:Button, e:ClickEventInfo)
- {
- var addRow = ds_main_examcurelist_item.addRow();
- ds_main_examcurelist_item.setColumn(addRow, "basesuppdeptcd", ds_send.getColumn(0, "basesuppdeptcd"));
- ds_main_examcurelist_item.setColumn(addRow, "rsrvtmcntlyn", "N");
- ds_main_examcurelist_item.setColumn(addRow, "rsrvpsnnocntlyn", "N");
- ds_main_examcurelist_item.setColumn(addRow, "autroomassgyn", "N");
- ds_main_examcurelist_item.setColumn(addRow, "sytserdispyn", "N");
- ds_main_examcurelist_item.setColumn(addRow, "sytshealdispyn", "N");
- }
- function btn_grddel_onclick(obj:Button, e:ClickEventInfo)
- {
- var rows = grdf_getSelectedRows(grd_examcureroom);
- for(var i = rows.length-1; i >= 0; i--)
- {
- var m_row = rows[i];
- if(ds_main_examcurelist_item.getRowType(m_row) == 2)
- {
- ds_main_examcurelist_item.deleteRow(m_row);
- }
- else
- {
- ds_main_examcurelist_item.updatecontrol = false;
- ds_main_examcurelist_item.setRowType(m_row, "d");
- ds_main_examcurelist_item.updatecontrol = true;
- }
- }
- }
- function grd_examcureroom_onexpandup(obj:Grid, e:GridMouseEventInfo)
- {
- var colidx = e.cell;
-
- // 검사가능장비코드 가져오기.
- if( colidx == obj.getBindCellIndex("Body", "excuposseqcd"))
- {
- frmf_setParameter("SPAEB00101_param_srcXpath1", "ds_main_examcurelist_item");
- frmf_setParameter("SPAEB00101_param_srcXgrid1", "grd_examcureroom");
- frmf_setParameter("SPAEB00101_param_srcXrow1", ds_main_examcurelist_item.rowposition);
- frmf_setParameter("SPAEB00101_param_srcXnode1", "excuposseqcd");
- frmf_modal("SPAEB00101", "SPAEB00101", "", "", "", "", "", "", "", "", "", "", "M");
-
- ds_main_examcurelist_item.updatecontrol = false;
- ds_main_examcurelist_item.setRowType(ds_main_examcurelist_item.rowposition, "u");
- ds_main_examcurelist_item.updatecontrol = true;
- }
- //집계부서 가져오기.
- else if( colidx == obj.getBindCellIndex("Body", "execdeptnm"))
- {
- var iRow = ds_main_examcurelist_item.rowposition;
- var search_condition = "deptnm";
- var search_term = "";
-
- ds_temp.setColumn(0, "prestdeptcd", "");
- ds_temp.setColumn(0, "prestdeptnm", "");
-
- var standard_yn = null;
- var ord_deptflag = null;
-
- var objDept = appf_openInstDeptCodeList(search_condition, search_term, standard_yn, ord_deptflag, "deptcd depthngnm")
-
- ds_temp.setColumn(0,"prestdeptcd",objDept.deptcd);
- ds_temp.setColumn(0,"prestdeptnm",objDept.depthngnm);
- ds_main_examcurelist_item.setColumn(ds_main_examcurelist_item.rowposition, "execdeptcd", ds_temp.getColumn(0, "prestdeptcd"));
- ds_main_examcurelist_item.setColumn(ds_main_examcurelist_item.rowposition, "execdeptnm", ds_temp.getColumn(0, "prestdeptnm"));
-
- if ( ds_main_examcurelist_item.getRowType(ds_main_examcurelist_item.rowposition) == 1)
- {
- ds_main_examcurelist_item.updatecontrol = false;
- ds_main_examcurelist_item.setRowType(ds_main_examcurelist_item.rowposition, "u");
- ds_main_examcurelist_item.updatecontrol = true;
- }
- }
- }
- function btn_save_onclick(obj:Button, e:ClickEventInfo)
- {
- if ( sysf_messageBox("","Q002")==6 )
- {
- if ( ds_send.getColumn(0, "roomflag") == "R" || ds_send.getColumn(0, "roomflag") == "Z" )
- {
- }
- else
- {
- sysf_messageBox("검사실종류를 선택하여 주십시요", "E999", "");
- return;
- }
-
-
- var update = grdf_getGridUpdateData(grd_examcureroom);
- if(update.rowcount == 0)
- {
- sysf_messageBox("업데이트 정보가 없습니다.", "I");
- }
- else
- {
- grdf_setStatusColumn(update, "m");
- ds_send_req_data.copyData(update, true);
- dsf_setDefaultVal(ds_send_req_data, "execdeptcd:-,sonoage:0");
- dsf_setTypeFormat(ds_send_req_data, "sortno:INT");
- dsf_setFixVal(ds_send_req_data, "rbasecdflag:R");
- var oParam = {};
- oParam.id = "TXAEB00101";
- oParam.service = "examcurebaseapp.ExamCureRoom";
- oParam.method = "reqExeExamCureRoomGrpList";
- oParam.inds = "req=ds_send_req_data";
- oParam.outds = "ds_=item";
- oParam.async = false;
- //oParam.callback = "cf_TXAEB00101";
- tranf_submit(oParam);
- }
- }
- //20161110 kya 통계테이블에 insert
- if(ds_send.getColumn(0, "basesuppdeptcd") == "2160000000" )
- {
- var oParam = {};
- oParam.id = "TXAEB00102";
- oParam.service = "examcurebaseapp.ExamCureRoom";
- oParam.method = "reqInsAesmexcuroomList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_=item";
- oParam.async = false;
- //oParam.callback = "cf_TXAEB00102";
- tranf_submit(oParam);
- }
-
- dsf_setFixVal(ds_send, "gb:1");
- dsf_makeValue(ds_send, "rbasecdflag", "string", ds_send.getColumn(0, "roomflag"));
- var oParam = {};
- oParam.id = "TRAEB00101";
- oParam.service = "examcurebaseapp.ExamCureRoom";
- oParam.method = "reqGetExamCureRoomGrpList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_examcurelist_item=item";
- oParam.async = false;
- //oParam.callback = "cf_TRAEB00101";
- tranf_submit(oParam);
-
- var oParam = {};
- oParam.id = "TRAEB00102";
- oParam.service = "examcureacptexecapp.ExamCureAcpt";
- oParam.method = "reqGetInitExcureRoomList";
- oParam.inds = "reqparam=ds_send";
- oParam.outds = "ds_init_cmb_info_initexcuroom=initexcuroom";
- oParam.async = false;
- //oParam.callback = "cf_TRAEB00102";
- tranf_submit(oParam);
- }
- ]]></Script>
- </Form>
- </FDL>
|