123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMMNS00700" position="absolute 0 0 890 760" titletext="기준자료관리" oninit="SMMNS00700_oninit" onload="SMMNS00700_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 15 880 759" id="group1" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <Shape position="absolute 0 69 879 75" linetype="horizontal" id="line6" class="line_10"/>
- <Static text="처방 code관리" position="absolute 0 53 135 69" align="align:center middle;" id="caption22" class="tit_2"/>
- <Button position="absolute 782 49 835 68" id="button1" class="btn2" text="행삭제" onclick="group1_button1_onclick"/>
- <Button position="absolute 726 49 779 68" id="button2" class="btn2" text="행추가" onclick="group1_button2_onclick"/>
- <Button position="absolute 838 49 880 68" id="button3" class="btn5" text="저장" onclick="group1_button3_onclick"/>
- <Div position="absolute 0 10 880 45" align="align:center top;" id="group2" class="div_SA">
- <Layouts>
- <Layout>
- <Static text="전문분야 :" position="absolute 16 9 95 26" id="caption1" class="search_name"/>
- <Shape position="absolute 794 7 800 29" linetype="vertical" id="line1" class="line_4"/>
- <Combo position="absolute 95 8 310 27" id="cmb_spcl" class="combo_search" innerdataset="@ds_hidden_spclcarefildflaginfo_spclcarefildflaginfolist" datacolumn="nm" codecolumn="cd" onitemchanged="group1_group2_cmb_spcl_onitemchanged"/>
- <Button position="absolute 813 7 869 29" id="btn_select" class="btn1" text="조회" onclick="group1_group2_btn_select_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Grid position="absolute 0 74 880 367" id="grd_standlist" binddataset="ds_main_spclstand_spcllist">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="20" band="left"/>
- <Column size="42"/>
- <Column size="70"/>
- <Column size="140"/>
- <Column size="321"/>
- <Column size="90"/>
- <Column size="127"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" 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="의뢰구문"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="expr:currow + 1"/>
- <Cell col="1" text="bind:stat"/>
- <Cell col="2" displaytype="combo" edittype="combo" text="bind:reqflag" combodataset="ds_reqflag" combocodecol="value" combodatacol="label"/>
- <Cell col="3" text="bind:prcpcd"/>
- <Cell col="4" text="bind:hngnm"/>
- <Cell col="5" displaytype="combo" edittype="combo" text="bind:poctyn" combodataset="ds_poctyn" combocodecol="value" combodatacol="label"/>
- <Cell col="6" displaytype="combo" edittype="combo" text="bind:execmthdflag" combodataset="ds_execmthdflag" combocodecol="value" combodatacol="label"/>
- <Cell col="7" text="bind:hspclflag"/>
- <Cell col="8" text="bind:hreqflag"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static text="처방정보조회" position="absolute 0 393 135 409" align="align:center middle;" id="caption3" class="tit_2"/>
- <Shape position="absolute 0 409 879 415" linetype="horizontal" id="line2" class="line_10"/>
- <Static text="조회구분" position="absolute 3 414 58 437" align="align:center middle;" id="caption13" class="cell_1" style="padding:0 0 0 3;"/>
- <Shape position="absolute 0 437 879 443" align="align:center bottom;" linetype="horizontal" id="line3" class="line_2"/>
- <Radio position="absolute 65 416 200 436" id="rdo_prcp" class="radio_search" columncount="2" codecolumn="codecolumn" datacolumn="datacolumn" onitemclick="group1_rdo_prcp_onitemclick">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">C</Col>
- <Col id="datacolumn">처방코드</Col>
- </Row>
- <Row>
- <Col id="codecolumn">N</Col>
- <Col id="datacolumn">처방명</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Button position="absolute 838 414 880 433" id="btn_prcpins" class="btn5" text="저장" onclick="group1_btn_prcpins_onclick"/>
- <Grid position="absolute 0 444 880 737" id="grd_prcplist" binddataset="ds_main_prcpinfo_prcplist">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="20" band="left"/>
- <Column size="42"/>
- <Column size="100"/>
- <Column size="70"/>
- <Column size="140"/>
- <Column size="271"/>
- <Column size="90"/>
- <Column size="127"/>
- </Columns>
- <Rows>
- <Row size="24" 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="시행체크방법"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="expr:currow + 1"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:check" expr="expr:check == '1' || check == 'true' ? '1' : '0'"/>
- <Cell col="2" displaytype="combo" edittype="combo" text="bind:spclcareflag" combodataset="ds_hidden_spclcarefildflaginfo_spclcarefildflaginfolist" combocodecol="cd" combodatacol="nm"/>
- <Cell col="3" displaytype="combo" edittype="combo" text="bind:reqflag" combodataset="ds_reqflag" combocodecol="value" combodatacol="label"/>
- <Cell col="4" style="align:left;" text="bind:prcpcd"/>
- <Cell col="5" style="align:left;" text="bind:hngnm"/>
- <Cell col="6" displaytype="combo" edittype="combo" text="bind:poctyn" combodataset="ds_poctyn" combocodecol="value" combodatacol="label"/>
- <Cell col="7" displaytype="combo" edittype="combo" text="bind:execmthdflag" combodataset="ds_execmthdflag" combocodecol="value" combodatacol="label"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button position="absolute 773 414 837 433" id="btn_ordselect" class="btn2" text="처방검색" onclick="group1_btn_ordselect_onclick"/>
- <Edit position="absolute 195 416 295 435" id="ipt_prcp" class="input_s_essential" autoselect="true" onkeydown="group1_ipt_prcp_onkeydown" onkillfocus="group1_ipt_prcp_onkillfocus"/>
- </Layout>
- </Layouts>
- </Div>
- <Static text="기준자료관리" position="absolute 0 0 111 24" id="caption6" class="tit_1"/>
- </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="spclcareflag" type="STRING" size="256" sumtext="전문분야"/>
- <Column id="prcpflag" type="STRING" size="256"/>
- <Column id="prcpcode" type="STRING" size="256"/>
- <Column id="suppdeptcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_spclstand_spcllist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_spclstand_spcllist_oncolumnchanged">
- <ColumnInfo>
- <Column id="stat" type="STRING" size="256" sumtext="상태"/>
- <Column id="reqflag" type="STRING" size="256" sumtext="의뢰구분"/>
- <Column id="prcpcd" type="STRING" size="256" sumtext="처방코드"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="처방명"/>
- <Column id="poctyn" type="STRING" size="256" sumtext="현장검사"/>
- <Column id="execmthdflag" type="STRING" size="256" sumtext="시행체크방법"/>
- <Column id="hspclflag" type="STRING" size="256" sumtext="전문분야"/>
- <Column id="hreqflag" type="STRING" size="256" sumtext="의뢰구분"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden_spclcarefildflaginfo_spclcarefildflaginfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256" sumtext="전문분야코드"/>
- <Column id="nm" type="STRING" size="256" sumtext="전문분야명"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_standsave" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="stat" type="STRING" size="256" sumtext="상태"/>
- <Column id="reqflag" type="STRING" size="256" sumtext="의뢰구분"/>
- <Column id="prcpcd" type="STRING" size="256" sumtext="처방코드"/>
- <Column id="poctyn" type="STRING" size="256" sumtext="현장검사"/>
- <Column id="execmthdflag" type="STRING" size="256" sumtext="시행체크방법"/>
- <Column id="hspclflag" type="STRING" size="256" sumtext="전문분야"/>
- <Column id="hreqflag" type="STRING" size="256" sumtext="의뢰구분"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_prcpinfo_prcplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_prcpinfo_prcplist_oncolumnchanged">
- <ColumnInfo>
- <Column id="check" type="STRING" size="256" sumtext="선택"/>
- <Column id="spclcareflag" type="STRING" size="256" sumtext="전문분야"/>
- <Column id="reqflag" type="STRING" size="256" sumtext="의뢰구분"/>
- <Column id="prcpcd" type="STRING" size="256" sumtext="처방코드"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="처방명"/>
- <Column id="poctyn" type="STRING" size="256" sumtext="현장검사"/>
- <Column id="execmthdflag" type="STRING" size="256" sumtext="시행체크방법"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_standins" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="check" type="STRING" size="256" sumtext="상태"/>
- <Column id="spclcareflag" type="STRING" size="256" sumtext="전문분야"/>
- <Column id="reqflag" type="STRING" size="256" sumtext="의뢰구분"/>
- <Column id="prcpcd" type="STRING" size="256" sumtext="처방코드"/>
- <Column id="poctyn" type="STRING" size="256" sumtext="현장검사"/>
- <Column id="execmthdflag" type="STRING" size="256" sumtext="시행체크방법"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="spclcareflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_cond2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="prcpcode" type="STRING" size="256"/>
- <Column id="prcpflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_reqflag" 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">E</Col>
- </Row>
- <Row>
- <Col id="label">의뢰</Col>
- <Col id="value">C</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_poctyn" 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_execmthdflag" 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">1</Col>
- </Row>
- <Row>
- <Col id="label">직접</Col>
- <Col id="value">2</Col>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group1.group2.cmb_spcl" propid="value" datasetid="ds_cond" columnid="spclcareflag"/>
- <BindItem id="item1" compid="group1.rdo_prcp" propid="value" datasetid="ds_cond2" columnid="prcpflag"/>
- <BindItem id="item2" compid="group1.ipt_prcp" propid="value" datasetid="ds_cond2" columnid="prcpcode"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name : 경대 의료정보시스템
- * Job Name : emr_spclcarexp -> SMMNS00700
- * Creator : yjh
- * Make Date : 2017-09-20
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2017-09-20 yjh TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- include "emr_spclcarexp::SMMNS00700.xjs";
- include "emr_spclcarexp::MNS001.xjs";
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- var arErrorCode = new HashArray();
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- function onmousedown1()
- {
-
- if (event.button == 3){
- if(datagrid1.isCell(event.target) && datagrid1.row >= datagrid1.fixedrows){
- window.setPopupMenu(true, "/root/menu/item", "name", "func", false);
- }else{
- window.setPopupMenu(false);
- }
- }
- }
- function a()
- {
- alert("a 메뉴 선택");
-
- }
- function b()
- {
- alert("b 메뉴 선택");
- }
- function c(){
- alert("c 메뉴 선택");
- }
- function d(){
- alert("d 메뉴 선택");
- }
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Components ID : SMMNS00700
- * Event : oninit
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 처음 초기화시
- ****************************************************************************************/
- function SMMNS00700_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); //폼 초기화
- }
- /****************************************************************************************
- * Components : Form
- * Components ID : SMMNS00700
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 로딩 완료시
- ****************************************************************************************/
- function SMMNS00700_onload(obj:Form, e:LoadEventInfo)
- {
- ds_send.setColumn(0, "prcpflag", "C");
-
- /**
- * 전문분야 코드및 명칭을 조회한다.
- */
- ds_hidden_spclcarefildflaginfo_spclcarefildflaginfolist.clearData();
-
- //20090205 dhkim
- //전문간호/BMT전문간호 로 나눠지게 되면서 사용부서에 해당하는 분야로 각각 등록됨.
- suppdeptcd = lf_aezfSetSuppDeptcd();//메뉴그룹에 등록된 사용부서코드
- fSpclCareSearch(suppdeptcd); //전문분야를 조회한다.
-
- // 버튼 숨기기
- group1.button2.visible = false;
- group1.group2.btn_select.click();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button1
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 행삭제버튼 클릭시
- ****************************************************************************************/
- function group1_button1_onclick(obj:Button, e:ClickEventInfo)
- {
- // 행삭제
- fgriditem("D");
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button2
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 행추가버튼 클릭시
- ****************************************************************************************/
- function group1_button2_onclick(obj:Button, e:ClickEventInfo)
- {
- // 행추가
- fgriditem("I");
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button3
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 저장버튼 클릭시
- ****************************************************************************************/
- function group1_button3_onclick(obj:Button, e:ClickEventInfo)
- {
- // 저장
- Savestand();
- group1.group2.btn_select.click();
- }
- /****************************************************************************************
- * Components : Combo
- * Components ID : cmb_spcl
- * Event : onitemchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 콤보 값 변경시
- ****************************************************************************************/
- function group1_group2_cmb_spcl_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- ds_main_spclstand_spcllist.clearData();
- ds_main_prcpinfo_prcplist.clearData();
-
- group1.ipt_prcp.value = "";
-
- select_spclstand();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_select
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 조회버튼 클릭시
- ****************************************************************************************/
- function group1_group2_btn_select_onclick(obj:Button, e:ClickEventInfo)
- {
- // 기준자료관리 조회
- select_spclstand();
- }
- /****************************************************************************************
- * Components : Dataset
- * Components ID : ds_main_spclstand_spcllist
- * Event : oncolumnchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 데이터셋 값 변경시
- ****************************************************************************************/
- function ds_main_spclstand_spcllist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- // 항목변경시 상태값 변경
- fstandstat();
- }
- /****************************************************************************************
- * Components : Radio
- * Components ID : rdo_prcp
- * Event : onitemclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 라디오 클릭시
- ****************************************************************************************/
- function group1_rdo_prcp_onitemclick(obj:Radio, e:RadioMouseEventInfo)
- {
- // Clear
- group1.ipt_prcp.value = "";
- ds_main_prcpinfo_prcplist.clearData();
-
- // 구분에 따른 입력창 모드변경
- // 처방코드
- if (group1.rdo_prcp.value == "C") {
- group1.ipt_prcp.imemode = "alpha";
- }
- // 처방명
- else if (group1.rdo_prcp.value == "N") {
- group1.ipt_prcp.imemode = "hangul";
- }
- group1.ipt_prcp.setFocus();
- }
- /****************************************************************************************
- * Components : Edit
- * Components ID : ipt_prcp
- * Event : onkeydown
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 에디터 키 입력시
- ****************************************************************************************/
- function group1_ipt_prcp_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- // 조회하기
- var keycode = e.keycode;
- if(keycode == 13){
- group1.btn_ordselect.setFocus();
- group1.btn_ordselect.click();
- }
- }
- /****************************************************************************************
- * Components : Edit
- * Components ID : ipt_prcp
- * Event : onkillfocus
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 포커스 아웃시
- ****************************************************************************************/
- function group1_ipt_prcp_onkillfocus(obj:Edit, e:KillFocusEventInfo)
- {
- group1.ipt_prcp.value = utlf_transNullToEmpty(group1.ipt_prcp.value).toUpperCase();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_prcpins
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 저장버튼 클릭시
- ****************************************************************************************/
- function group1_btn_prcpins_onclick(obj:Button, e:ClickEventInfo)
- {
- var cnt = 0;
- for(var i=0;i<ds_main_prcpinfo_prcplist.rowcount;i++){
- if (ds_main_prcpinfo_prcplist.getColumn(i, "check") == "true") {
- // 저장시 전문분야, 의뢰구분 필수체크
- if (utlf_isNull(ds_main_prcpinfo_prcplist.getColumn(i, "spclcareflag")) ||
- utlf_isNull(ds_main_prcpinfo_prcplist.getColumn(i, "reqflag"))
- ) {
- cnt = cnt +1;
- }
- }
- } // for end
- // 입력사항 Check
- if (cnt > 0) {
- sysf_messageBox("전문분야, 의뢰구분은 ","I003");
- }
-
- // 저장
- Insstand();
- //
- group1.group2.btn_select.click();
- group1.btn_ordselect.click();
- }
- /****************************************************************************************
- * Components : Dataset
- * Components ID : ds_main_prcpinfo_prcplist
- * Event : oncolumnchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 데이터셋 값 변경시
- ****************************************************************************************/
- function ds_main_prcpinfo_prcplist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- switch( e.columnid ){
- case "check" :
- if( e.newvalue == "1" || e.newvalue == "true" ){
- obj.setColumn(e.row, e.columnid, "true");
- }else{
- obj.setColumn(e.row, e.columnid, "false");
- }
- break;
-
- default :
- break;
- }
- // 항목변경시 상태값 변경
- fstandstat();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_ordselect
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 처방검색버튼 클릭시
- ****************************************************************************************/
- function group1_btn_ordselect_onclick(obj:Button, e:ClickEventInfo)
- {
- // 처방코드/처방명정보 조회하기
- if (utlf_transNullToEmpty(ds_cond2.getColumn(0, "prcpcode")).length < 2) {
- sysf_messageBox("2자리 이상 ","C001");
- //model.setFocus("/root/send/prcpcode");
- }
- else {
- select_spclprcp();
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|