123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPMRT01900" position="absolute 0 0 881 530" titletext="금지약어의 추천약어" onload="SPMRT01900_onload">
- <Layouts>
- <Layout>
- <Div id="grp_srch" taborder="6" position="absolute 0 0 484 80" class="div_SA2"/>
- <Button position="absolute 415 53 471 75" id="button27" class="btn1" text="조회" visible="false"/>
- <Shape position="absolute 396 55 402 77" linetype="vertical" id="line30" class="line_4"/>
- <CheckBox position="absolute 319 53 394 73" id="checkbox1" taborder="5" text="완전일치" truevalue="Y" falsevalue="N"/>
- <Static text="검색구분" position="absolute 7 9 93 26" id="caption1" class="search_name"/>
- <Static text="유효여부" position="absolute 7 32 93 49" id="caption2" class="search_name"/>
- <Combo position="absolute 88 8 213 27" id="combo1" codecolumn="codecolumn" datacolumn="datacolumn">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">%</Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">01</Col>
- <Col id="datacolumn">단어</Col>
- </Row>
- <Row>
- <Col id="codecolumn">02</Col>
- <Col id="datacolumn">상병</Col>
- </Row>
- <Row>
- <Col id="codecolumn">03</Col>
- <Col id="datacolumn">단위</Col>
- </Row>
- <Row>
- <Col id="codecolumn">04</Col>
- <Col id="datacolumn">기호</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Combo position="absolute 218 8 313 27" id="combo2" codecolumn="codecolumn" datacolumn="datacolumn">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">%</Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">01</Col>
- <Col id="datacolumn">약어</Col>
- </Row>
- <Row>
- <Col id="codecolumn">02</Col>
- <Col id="datacolumn">영문명</Col>
- </Row>
- <Row>
- <Col id="codecolumn">03</Col>
- <Col id="datacolumn">한글명</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Combo position="absolute 88 31 213 50" id="combo3" codecolumn="codecolumn" datacolumn="datacolumn">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">%</Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">Y</Col>
- <Col id="datacolumn">유효</Col>
- </Row>
- <Row>
- <Col id="codecolumn">N</Col>
- <Col id="datacolumn">무효</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Edit position="absolute 88 54 313 73" id="ipt_keyword" class="input_search" onkeydown="ipt_keyword_onkeydown"/>
- <Static text="검색어" position="absolute 7 55 93 72" id="caption4" class="search_name"/>
- <Shape position="absolute 396 10 402 72" linetype="vertical" id="line1" class="line_4"/>
- <Button position="absolute 415 29 471 51" id="button1" class="btn1" text="조회" onclick="button1_onclick"/>
- <Grid position="absolute 519 85 879 501" id="grd_list" binddataset="ds_main_abbrsyreclists_abbrsyreclist">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="113"/>
- <Column size="224"/>
- <Column size="0"/>
- <Column size="0"/>
- <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"/>
- <Cell col="4"/>
- <Cell col="5"/>
- <Cell col="6"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" displaytype="text" text="bind:trgtcd" id="trgtcd"/>
- <Cell col="2" displaytype="text" text="bind:trgtcnts" id="trgtcnts"/>
- <Cell col="3" text="bind:instcd" id="instcd"/>
- <Cell col="4" text="bind:abbrcd" id="abbrcd"/>
- <Cell col="5" text="bind:trgtflag" id="trgtflag"/>
- <Cell col="6" text="bind:seqno" id="seqno"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static text="추천약어" position="absolute 519 64 632 80" align="align:center middle;" id="caption3" class="tit_2"/>
- <Button position="absolute 826 58 879 80" id="btn_delete" class="btn2" text="행삭제" onclick="btn_delete_onclick"/>
- <Button position="absolute 758 58 822 80" id="btn_add" class="btn2" text="선택추가" onclick="btn_add_onclick"/>
- <Button position="absolute 823 505 879 527" id="btn_cancel" class="btn4" text="닫기" onclick="btn_cancel_onclick"/>
- <Button position="absolute 763 505 819 527" id="btn_ok" class="btn4" text="저장" onclick="btn_ok_onclick"/>
- <Button position="absolute 488 270 514 289" id="button2" class="icon_right" onclick="button2_onclick"/>
- <Grid position="absolute 0 85 484 501" id="grd_abbrLists" binddataset="ds_main_abbrlists_abbrlist">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="36"/>
- <Column size="39"/>
- <Column size="110"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="70"/>
- <Column size="90"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </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="단위유형"/>
- <Cell col="9" text="환산값"/>
- <Cell col="10" text="금지사유"/>
- <Cell col="11" text="추천약어"/>
- <Cell col="12" text="비고"/>
- <Cell col="13" text="동의어"/>
- </Band>
- <Band id="body">
- <Cell text="bind:abbrtype"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:chkval" expr="expr:(chkval=="Y"||chkval==1)?1:0" id="chkval"/>
- <Cell col="2" text="bind:abbrkindnm"/>
- <Cell col="3" displaytype="text" text="bind:abbrcd"/>
- <Cell col="4" displaytype="text" text="bind:abbrnm"/>
- <Cell col="5" displaytype="text" text="bind:abbrengnm"/>
- <Cell col="6" displaytype="text" text="bind:abbrhngnm"/>
- <Cell col="7" displaytype="text" text="bind:abbrdesc"/>
- <Cell col="8" text="bind:unitkindseq"/>
- <Cell col="9" text="bind:exchval"/>
- <Cell col="10" displaytype="text" text="bind:dclrtresn"/>
- <Cell col="11" displaytype="text" text="bind:recminfo"/>
- <Cell col="12" displaytype="text" text="bind:abbrrem"/>
- <Cell col="13" displaytype="text" text="bind:synominfo"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="line12" class="line_10" position="absolute 0 80 484 86"/>
- <Shape id="line00" class="line_10" position="absolute 519 80 879 86"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="condition" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="condition"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="abbrtype" type="STRING" size="256"/>
- <Column id="abbrkind" type="STRING" size="256"/>
- <Column id="keyword" type="STRING" size="256"/>
- <Column id="perfectyn" type="STRING" size="256"/>
- <Column id="useyn" type="STRING" size="256"/>
- <Column id="keytag" type="STRING" size="256"/>
- <Column id="trgtflag" type="STRING" size="256"/>
- <Column id="abbrcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="abbrtype">01</Col>
- <Col id="abbrkind">01</Col>
- <Col id="keyword"/>
- <Col id="perfectyn">N</Col>
- <Col id="useyn">Y</Col>
- <Col id="keytag">01</Col>
- <Col id="trgtflag">02</Col>
- <Col id="abbrcd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_abbrsyreclists_abbrsyreclist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
- <Dataset id="ds_main_abbrlists_abbrlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep" oncolumnchanged="ds_main_abbrlists_abbrlist_oncolumnchanged">
- <ColumnInfo/>
- </Dataset>
- <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="receive" type="STRING" size="256"/>
- </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="abbrcd" type="STRING" size="256"/>
- <Column id="trgtflag" type="STRING" size="256"/>
- <Column id="abbrtype" type="STRING" size="256"/>
- <Column id="abbrkind" type="STRING" size="256"/>
- <Column id="keyword" type="STRING" size="256"/>
- <Column id="perfectyn" type="STRING" size="256"/>
- <Column id="useyn" type="STRING" size="256"/>
- <Column id="keytag" type="STRING" size="256"/>
- <Column id="listdata" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="abbrcd"/>
- <Col id="trgtflag">02</Col>
- <Col id="abbrtype"/>
- <Col id="abbrkind"/>
- <Col id="keyword"/>
- <Col id="perfectyn"/>
- <Col id="useyn"/>
- <Col id="keytag"/>
- <Col id="listdata"/>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="checkbox1" propid="value" datasetid="ds_init" columnid="perfectyn"/>
- <BindItem id="item1" compid="combo1" propid="value" datasetid="ds_init" columnid="abbrkind"/>
- <BindItem id="item2" compid="combo2" propid="value" datasetid="ds_init" columnid="keytag"/>
- <BindItem id="item3" compid="combo3" propid="value" datasetid="ds_init" columnid="useyn"/>
- <BindItem id="item4" compid="ipt_keyword" propid="value" datasetid="ds_init" columnid="keyword"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2017-12-04
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2017-06-19 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- //include "emr_termmngtxp::SPMRT01900.xjs";
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- var arErrorCode = new HashArray();
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- /*-**************************************************************************************
- * Argument : N/A
- * Description :
- ****************************************************************************************/
-
- ////////////////////////////////////////////////SPMRT01900.xjs////////////////////////////////////////////////
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 화면을 초기화 한다
- ****************************************************************************************/
- function fInitalize(){
- ds_main_abbrsyreclists_abbrsyreclist.clearData();
- var vAbbrcd = opener.frmf_getParameter("SPMRJ01900_abbrcd");
- if(utlf_isNull(vAbbrcd)){
- sysf_messageBox("약어코드 정보가 없습니다.","I003");
- return;
- }else{
- ds_send.setColumn( 0, "abbrcd",vAbbrcd);
- ds_init.setColumn( 0, "abbrcd",vAbbrcd);
- fSelectAbbrSyRecList();
- }
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 조회
- ****************************************************************************************/
- function fSelectAbbrSyRecList(){
- var oParam = {};
- oParam.id = "TRMRT01801";
- oParam.service = "termmngtapp.AbbrTermMngt";
- oParam.method = "reqGetAbbrSyRecList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_abbrsyreclists_abbrsyreclist=abbrsyreclist";
- oParam.async = false;
- //oParam.callback = "cf_TRMRT01801";
- tranf_submit(oParam);
- }
- /****************************************************************************************
- * Components : Button
- * Description : 조회(마스터)
- ****************************************************************************************/
- function fSelectAbbrMasterLists(){
- ds_send.setColumn( 0, "abbrtype" ,ds_init.getColumn(0, "abbrtype"));
- ds_send.setColumn( 0, "abbrkind" ,ds_init.getColumn(0, "abbrkind"));
- ds_send.setColumn( 0, "perfectyn",ds_init.getColumn(0, "perfectyn"));
- ds_send.setColumn( 0, "useyn" ,ds_init.getColumn(0, "useyn"));
- ds_send.setColumn( 0, "keyword" ,ds_init.getColumn(0, "keyword"));
- if(ipt_keyword.value.length < 2){
- sysf_messageBox("검색어는 2자 이상 입력해야 가능 합니다. ","I007"); //I007=확인하십시오.
- return;
- }
-
- ds_send.setColumn( 0, "keytag" ,ds_init.getColumn(0, "keytag"));
- var oParam = {};
- oParam.id = "TRMRT00801";
- oParam.service = "termmngtapp.AbbrTermMngt";
- oParam.method = "reqGetAbbrMasterList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_abbrlists_abbrlist=abbrlist";
- oParam.async = false;
- //oParam.callback = "cf_TRMRT00801";
- tranf_submit(oParam);
- }
- /**
- * 그리드 행추가 버튼을 클릭하였을 경우 이벤트
- *
- */
- // function fClickRowAddBtn(){
- // grd_list.addRow(); // 입력할 행 추가.
- // var cur_row = grd_list.row; // 추가된 행 번호 가져오기
- // grd_list.valueMatrix(cur_row, 4) = ds_init.getColumn(0, "abbrcd");
- // grd_list.valueMatrix(cur_row, 5) = ds_init.getColumn(0, "trgtflag");
- //
- // }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 저장 버튼을 클릭하였을 경우 이벤트
- ****************************************************************************************/
- function fOnClickSaveBtn(){
- if(!checkGridUpdate(grd_list)){
- alert("저장할 자료가 존재하지 않습니다.");
- return;
- }
- if(checkGridField(grd_list,"grd_list.trgtcnts")==false){
- alert("데이터중에 비어있는 필수필드가 있습니다.");
- return;
- }
- dsf_createDs("ds_send_listdata");
- var dsUpdate = grdf_getGridUpdateData(grd_list, "all");
- grdf_setStatusColumn(dsUpdate, "status");
- ds_send_listdata.copyData(dsUpdate, true);
-
- var oParam = {};
- oParam.id = "TXMRT01802";
- oParam.service = "termmngtapp.AbbrTermMngt";
- oParam.method = "reqSetAbbrSyRecList";
- oParam.inds = "listdata=ds_send_listdata";
- oParam.outds = "ds_main_abbrsyreclists_abbrsyreclist=abbrsyreclist";
- oParam.async = false;
- oParam.callback = "cf_TXMRT01802";
- tranf_submit(oParam);
- if(arErrorCode.pop("TXMRT01802") > -1) {
- fClose();
- }
- }
- function cf_TXMRT01802(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 삭제 버튼을 클릭하였을 경우 이벤트
- ****************************************************************************************/
- function fClickDeleteBtn(){
- var cur_row = ds_main_abbrsyreclists_abbrsyreclist.rowposition; // 행 번호 가져오기
- var iStatus = ds_main_abbrsyreclists_abbrsyreclist.getRowType(cur_row);
- if(cur_row < 0) {
- alert("삭제할 행을 선택하시기 바랍니다...");
- return;
- }
- if (iStatus == 2){ // 새로 삽입된 행이면
- ds_main_abbrsyreclists_abbrsyreclist.deleteRow(cur_row);
- }else if (iStatus == 8){ // 삭제로 표시된 행이면
- grdf_setStatus(grd_list, "N", [cur_row]);
- }else{
- grdf_setStatus(grd_list, "D", [cur_row]);
- }
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 선택추가
- ****************************************************************************************/
- function fSelectedAdd(){
- var grdRows = grd_abbrLists.rowcount;
- if(0 == grdRows) return;
- for(var i = 0; i < grdRows; i++) {
- var selectValue = ds_main_abbrlists_abbrlist.getColumn(i,"chkval");
- if(selectValue == "Y") {
- var vTrgtcd = ds_main_abbrlists_abbrlist.getColumn(i,"abbrcd");
- var vTrgtcnts = ds_main_abbrlists_abbrlist.getColumn(i,"abbrnm");
- if(ds_main_abbrsyreclists_abbrsyreclist.findRow("trgtcd", vTrgtcd) > -1){
- sysf_messageBox(vTrgtcnts+"은(는) 이미 등록되었가나 추가된 약어코드 입니다. ","I007");//I007=확인하십시오.
- }else{
- var cur_row = ds_main_abbrsyreclists_abbrsyreclist.addRow(); // 입력할 행 추가.
- ds_main_abbrsyreclists_abbrsyreclist.setColumn(cur_row, "trgtcd", vTrgtcd);
- ds_main_abbrsyreclists_abbrsyreclist.setColumn(cur_row, "trgtcnts", vTrgtcnts);
- ds_main_abbrsyreclists_abbrsyreclist.setColumn(cur_row, "abbrcd", ds_init.getColumn(0, "abbrcd"));
- ds_main_abbrsyreclists_abbrsyreclist.setColumn(cur_row, "trgtflag", ds_init.getColumn(0, "trgtflag"));
- }
- ds_main_abbrlists_abbrlist.setColumn(i,"chkval","N");
- }
- }
- }
- /*-**************************************************************************************
- * Argument : grid (대상그리드)
- * Description : 처리대상 체크
- ****************************************************************************************/
- function checkGridUpdate(grid)
- {
- var iData = grdf_getGridUpdateData(grid, "insert");
- var uData = grdf_getGridUpdateData(grid, "update");
- var dData = grdf_getGridUpdateData(grid, "delete");
- if ((utlf_isNull(iData) || iData.rowcount == 0) && (utlf_isNull(uData) || uData.rowcount == 0) && (utlf_isNull(dData) || dData.rowcount == 0)) return false;
- else return true;
- }
- /*-**************************************************************************************
- * Argument : grid (대상그리드)
- * : field (대상필드)
- * Description : 필드값 존재여부체크
- ****************************************************************************************/
- function checkGridField(grid, field){
- var nodeset = this.objects[grid.binddataset];
- var iStatus;
- for (var i = 0; i < grid.rowcount; i++){
- iStatus = nodeset.getRowType(i);
- if (iStatus == 2){
- var fieldArr = field.split("▦");
- if(fieldArr.length < 1){
- return false;
- }
- for(var j = 0; j < fieldArr.length; j++){
- if(utlf_isNull(fieldArr[j])){
- continue;
- }
- if(utlf_isNull(nodeset.getColumn(i, fieldArr[j]))) return false;
- }
- }
- }
- return true;
- }
- /*-**************************************************************************************
- * Argument : N/A
- * Description : 화면닫기
- ****************************************************************************************/
- function fClose(){
- this.close();
- }
- ////////////////////////////////////////////////SPMRT01900.xjs////////////////////////////////////////////////
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Description : 화면 처음 초기화시 폼초기화
- ****************************************************************************************/
- function SPMRT01900_onload(obj:Form, e:LoadEventInfo) {
- frmf_initForm(obj);
- //grdf_initGrid(grd_XXX);
- //grdf_setGridSort(grd_XXX);
- grdf_setRowTypeIcon(grd_list, 0);
- fInitalize();
- }
- /****************************************************************************************
- * Components : Edit
- * Description : 조회조건 입력 후 조회
- ****************************************************************************************/
- function ipt_keyword_onkeydown(obj:Edit, e:KeyEventInfo) {
- if(e.keycode == 13) {
- obj.updateToDataset();
- fSelectAbbrMasterLists();
- }
- }
- /****************************************************************************************
- * Components : Button
- * Description : 조회
- ****************************************************************************************/
- function button1_onclick(obj:Button, e:ClickEventInfo) {
- fSelectAbbrMasterLists();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 행삭제
- ****************************************************************************************/
- function btn_delete_onclick(obj:Button, e:ClickEventInfo) {
- fClickDeleteBtn();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 선택추가
- ****************************************************************************************/
- function btn_add_onclick(obj:Button, e:ClickEventInfo) {
- fSelectedAdd();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 닫기
- ****************************************************************************************/
- function btn_cancel_onclick(obj:Button, e:ClickEventInfo) {
- this.close();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 저장
- ****************************************************************************************/
- function btn_ok_onclick(obj:Button, e:ClickEventInfo) {
- fOnClickSaveBtn();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 약어선택
- ****************************************************************************************/
- function button2_onclick(obj:Button, e:ClickEventInfo) {
- fSelectedAdd();
- }
- function ds_main_abbrlists_abbrlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid=="chkval") {
- obj.setColumn(e.row,e.columnid,(e.newvalue=="Y"||e.newvalue==1)?"Y":"N");
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|