123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMLLF02000" position="absolute 0 0 1259 808" titletext="판독예문코드관리" onload="SMLLF02000_onload">
- <Layouts>
- <Layout>
- <Div id="grp3" position="absolute 0 25 1256 805" anchor="all" positiontype="position" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <Static id="caption1" class="tit_2" position="absolute 0 52 75 72" anchor="default" text="검사목록" positiontype="position"/>
- <Static id="caption3" class="tit_2" position="absolute 645 52 752 72" text="판독코드목록" anchor="default" positiontype="position"/>
- <Grid id="grd_SpclTclscd" position="absolute 0 73 635 778" anchor="left top bottom" onclick="grd_SpclTclscd_onclick" binddataset="ds_grid_grd_SpclTclscd" oncellclick="grp3_grd_SpclTclscd_oncellclick" positiontype="position">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="30"/>
- <Column size="80"/>
- <Column size="370"/>
- <Column size="70"/>
- <Column size="70"/>
- <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="spccd(숨)"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" celltype="head" displaytype="image"/>
- <Cell col="2" displaytype="text" edittype="text" style="align:left middle;" text="bind:tclscd"/>
- <Cell col="3" style="align:left middle;" text="bind:tclsnm"/>
- <Cell col="4" displaytype="combo" text="bind:tclskind" combodataset="ds_tclskind" combocodecol="cd" combodatacol="nm"/>
- <Cell col="5" style="align:right middle;" text="bind:rsltdispseq"/>
- <Cell col="6" text="bind:spccd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption4" class="tit_2" position="absolute 645 248 776 268" text="판독예문 상세내용" anchor="default" positiontype="position"/>
- <Static id="caption5" class="tit_2" position="absolute 645 558 780 578" text="Interpretation" anchor="default" positiontype="position"/>
- <Button id="btn_add" class="btn2" position="absolute 1141 50 1197 70" anchor="top right" text="행추가" onclick="grp3_btn_add_onclick" positiontype="position"/>
- <Button id="btn_del" class="btn2" position="absolute 1200 50 1256 70" anchor="top right" text="행삭제" onclick="grp3_btn_del_onclick" positiontype="position"/>
- <Grid id="grd_readexmp" position="absolute 645 72 1256 238" anchor="left top right" onclick="grd_readexmp_onclick" binddataset="ds_grid_grd_readexmp" oncellclick="grp3_grd_readexmp_oncellclick" autoenter="select" positiontype="position" autofittype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="30"/>
- <Column size="90"/>
- <Column size="354"/>
- <Column size="70"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="22"/>
- </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="interfre(숨)"/>
- <Cell col="7" text="Comments(숨)"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" celltype="head" displaytype="image"/>
- <Cell col="2" displaytype="text" edittype="text" style="align:center middle;" text="bind:readexmpcd" editlimit="10" editlengthunit="utf8"/>
- <Cell col="3" displaytype="text" edittype="text" text="bind:readexmpcnts"/>
- <Cell col="4" displaytype="text" edittype="text" style="align:center middle;" text="bind:readexmpcddispseq"/>
- <Cell col="5" text="bind:readexmpdetlcnts"/>
- <Cell col="6" text="bind:interfretationcnts"/>
- <Cell col="7" text="bind:cmt"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <TextArea id="tar_readexmpdetl" position="absolute 645 268 1256 548" anchor="left top right" imemode="hangul" canchange="grp3_tar_readexmpdetl_canchange" style="font:돋움체,9;" maxlength="4000" positiontype="position" acceptstab="false" autoselect="true" wordwrap="both"/>
- <TextArea id="tar_interfretation" position="absolute 645 578 1256 648" anchor="left top right" imemode="hangul" maxlength="4000" canchange="grp3_tar_interfretation_canchange" style="font:돋움체,9;" positiontype="position" acceptstab="false" autoselect="true" wordwrap="both"/>
- <Static id="caption7" class="tit_2" position="absolute 645 659 743 679" anchor="default" text="Comments" positiontype="position"/>
- <TextArea id="tar_cmt" position="absolute 645 679 1256 780" anchor="all" imemode="hangul" maxlength="4000" canchange="grp3_tar_cmt_canchange" style="font:돋움체,9;" positiontype="position" acceptstab="false" autoselect="true" wordwrap="both"/>
- <Div id="grp_sea" anchor="left top right" taborder="1" style="align:center top;" position="absolute 0 0 1256 42" class="div_SA">
- <Layouts>
- <Layout>
- <Button id="btn_sea" taborder="15" text="조회" class="btn1" position="absolute 1188 10 1245 30" anchor="top right" onclick="grp3_grp_sea_btn_sea_onclick"/>
- <Static id="caption2" text="조회구분" class="search_name" position="absolute 8 10 82 30" anchor="default" positiontype="position"/>
- <Combo id="cmb_select01" taborder="17" innerdataset="ds_init_cmb_select01" codecolumn="cd" datacolumn="nm" onitemchanged="group6_group7_cmb_select01_onitemchanged" class="combo_s_essential" position="absolute 78 10 188 30" anchor="default"/>
- <Combo id="cmb_select02" taborder="18" innerdataset="ds_init_cmb_select02" codecolumn="cd" datacolumn="nm" onitemchanged="group6_group7_cmb_select02_onitemchanged" class="combo_s_essential" position="absolute 191 10 344 30" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- </Div>
- <Div id="grp2" position="absolute 0 0 1256 26" anchor="left top right" positiontype="position">
- <Layouts>
- <Layout>
- <Static id="caption6" class="tit_1" position="absolute 0 0 144 25" anchor="left top" positiontype="position" text="판독예문코드관리"/>
- <Button id="btn_Save" taborder="1" text="저장" class="btn4" position="absolute 1129 0 1185 20" anchor="top right" onclick="grp2_btn_Save_onclick"/>
- <Button id="btn_Init" taborder="2" text="초기화" class="btn4" position="absolute 1187 0 1256 20" anchor="top right" onclick="grp2_btn_Init_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_init_lb0000" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING"/>
- <Column id="nm" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_lb0102" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING"/>
- <Column id="nm" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_lb0104" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING"/>
- <Column id="nm" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grid_grd_SpclTclscd" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="tclscd" type="STRING"/>
- <Column id="tclsnm" type="STRING"/>
- <Column id="tclskind" type="STRING"/>
- <Column id="rsltdispseq" type="STRING"/>
- <Column id="spccd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grid_grd_readexmp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="readexmpcd" type="STRING"/>
- <Column id="readexmpcnts" type="STRING"/>
- <Column id="readexmpcddispseq" type="STRING"/>
- <Column id="readexmpdetlcnts" type="STRING"/>
- <Column id="interfretationcnts" type="STRING"/>
- <Column id="cmt" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_tclskind" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256"/>
- <Column id="nm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cd">0</Col>
- <Col id="nm">Group</Col>
- </Row>
- <Row>
- <Col id="cd">1</Col>
- <Col id="nm">Panel</Col>
- </Row>
- <Row>
- <Col id="cd">2</Col>
- <Col id="nm">Single</Col>
- </Row>
- <Row>
- <Col id="cd">3</Col>
- <Col id="nm">parent</Col>
- </Row>
- <Row>
- <Col id="cd">4</Col>
- <Col id="nm">Child</Col>
- </Row>
- <Row>
- <Col id="cd">5</Col>
- <Col id="nm">Abnormal</Col>
- </Row>
- <Row>
- <Col id="cd">6</Col>
- <Col id="nm">성분제제</Col>
- </Row>
- <Row>
- <Col id="cd">7</Col>
- <Col id="nm">배양결과</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_cmb_select01" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256"/>
- <Column id="nm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmb_select02" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256"/>
- <Column id="nm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_lb0106" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256"/>
- <Column id="nm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_lb0111" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256"/>
- <Column id="nm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_print" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="able" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_execute" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="able" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp2.btn_Save" propid="enable" datasetid="ds_execute" columnid="able"/>
- <BindItem id="item1" compid="grp3.btn_add" propid="enable" datasetid="ds_execute" columnid="able"/>
- <BindItem id="item2" compid="grp3.btn_del" propid="enable" datasetid="ds_execute" columnid="able"/>
- <BindItem id="item4" compid="grp3.tar_readexmpdetl" propid="enable" datasetid="ds_execute" columnid="able"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-11-09
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-11-09 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
-
- include "com_commonxp::comm_main.xjs";
- include "lis_commonxp::LLZ001.xjs";
- include "lis_commonxp::LZZ001.xjs";
- include "com_commodulexp::SMZFS00501.xjs"; //공통코드조회용
- var testcd = "";
- function SMLLF02000_onload(obj:Form, e:LoadEventInfo)
- {
- //폼 초기화 함수
- frmf_initForm(obj);
- grdf_setRowTypeIcon(grp3.grd_SpclTclscd, 1);
- grdf_setRowTypeIcon(grp3.grd_readexmp, 1);
- //초기값 셋팀
- lf_initDataSet();
- lf_selectGbn();
- //검사목록조회
- //특수결과화면에서 팝업데이터 넘기는 부분.수정필요(1)
- if (!utlf_isNull(opener)) {
- var objParentWin = opener.getOwnerFrame().name;
- if(objParentWin != "ChildFrameTop"){ //팝업으로 열었을때
- testcd = opener.frmf_getParameter("testcd");
- trace("testcd="+testcd);
- if(!utlf_isNull(testcd)) { //특수결과화면에서 판독예문버튼을 눌렀을 경우
- lf_fGetSpclTclscd(); //자동으로 조회
- }
- }
- }
- lf_menumaster();//메뉴권한
- }
- function lf_initDataSet(){
- //0104 대분류 0102 중분류 0000 유저과flag
- lf_getDbDeptcd("0104|0102|0000|","cbf_SMLLF02000");
- }
- //시행부서 검사계 초기정보 조회
- function lf_fSetMdlCD(){
- var sEtc = grp3.grp_sea.cmb_lrgcd.value;
- var sFilter = "cd =='00' || etc01 =='" + sEtc + "'";
- grp3.grp_sea.cmb_mdlcd.innerdataset="ds_init_lb0102";
- if(sEtc != "00") {
- ds_init_lb0102.filter(sFilter);
- } else {
- ds_init_lb0102.filter("");
- }
- grp3.grp_sea.cmb_mdlcd.codecolumn="cd";
- grp3.grp_sea.cmb_mdlcd.datacolumn="nm";
- grp3.grp_sea.cmb_mdlcd.index=0;
- }
- // 특수검사목록 조회
- function lf_fGetSpclTclscd(flag){
- if(flag != "R") { //조회버튼 눌렀을 경우가 아니라면.수정필요(2)(데이터셋생성부분포함)
-
- }
-
- var testlrgcd = grp3.grp_sea.cmb_select01.value;
- var testmdlcd = grp3.grp_sea.cmb_select02.value;
-
- var sInDsName = dsf_createDsRow("ds_temp_search"
- , [{col: "userdeptflagcd", val: lgv_sUserdeptflagcd}
- , {col: "lrgcd", val: testlrgcd }
- , {col: "testcd", val: (flag !="R" ? opener.frmf_getParameter("testcd") : "")}
- , {col: "mdlcd", val: testmdlcd }]);
- var oParam = {};
- oParam.id = "TRLLF02001";
- oParam.service = "diagtestbaseinfomngtapp.GeneralTestBaseInfoMngt";
- oParam.method = "reqGetSpclTclscd";
- oParam.inds = "cond="+sInDsName;
- oParam.outds = "ds_grid_grd_SpclTclscd=getSpclTclscd";
- oParam.async = false;
- oParam.callback = "cbf_SMLLF02000";
- tranf_submit(oParam);
- testcd = "";
- lf_fGetReadExmp();
- }
- //판독코드목록조회
- function lf_fGetReadExmp(){
-
- var sInDsName = dsf_createDsRow("ds_temp_search"
- , [{col: "userdeptflagcd", val: lgv_sUserdeptflagcd}
- , {col: "tclscd", val: grp3.grd_SpclTclscd.getCellValue(grp3.grd_SpclTclscd.currentrow,2)}
- , {col: "spccd", val: ds_grid_grd_SpclTclscd.getColumn(ds_grid_grd_SpclTclscd.rowposition, "spccd")}]);
- var oParam = {};
- oParam.id = "TRLLF02002";
- oParam.service = "diagtestbaseinfomngtapp.GeneralTestBaseInfoMngt";
- oParam.method = "reqGetReadExmplist";
- oParam.inds = "cond="+sInDsName;
- oParam.outds = "ds_grid_grd_readexmp=getReadExmplist";
- oParam.async = false;
- oParam.callback = "cbf_SMLLF02000";
- tranf_submit(oParam);
-
- if (ds_grid_grd_readexmp.rowcount > 0)
- {
- ds_grid_grd_readexmp.rowposition = 0;
- }
-
-
- // 판독예문 상세, interfretationcnts 조회
- lf_fGetReadExmpDetl();
-
- }
- // 판독예문 상세, interfretationcnts 조회
- function lf_fGetReadExmpDetl(){
- if( grp3.grd_readexmp.rowcount > 0){
- grp3.tar_readexmpdetl.value = grp3.grd_readexmp.getCellValue(grp3.grd_readexmp.currentrow,5);
- grp3.tar_interfretation.value = grp3.grd_readexmp.getCellValue(grp3.grd_readexmp.currentrow,6);
- grp3.tar_cmt.value = grp3.grd_readexmp.getCellValue(grp3.grd_readexmp.currentrow,7);
- } else {
- grp3.tar_readexmpdetl.value = "";
- grp3.tar_interfretation.value = "";
- grp3.tar_cmt.value = "";
- }
- }
- // 행추가
- function lf_fSetAddRow(){
- var nRow = ds_grid_grd_readexmp.addRow();
- var rowCount = ds_grid_grd_readexmp.rowcount;
- if(rowCount == "1") {
- var sSeq = 0;
- } else{
- var sSeq = grp3.grd_readexmp.getCellValue(grp3.grd_readexmp.rowcount -2,4);
- }
-
- ds_grid_grd_readexmp.setColumn(grp3.grd_readexmp.rowcount - 1,"readexmpcddispseq",parseInt(sSeq) + 1);
- }
- // 행삭제
- function lf_fSetDelRow(){
- var arrPostion = new Array();
- arrPostion[0] = ds_grid_grd_readexmp.rowposition;
- if(ds_grid_grd_readexmp.getRowType(arrPostion)==Dataset.ROWTYPE_INSERT){
- ds_grid_grd_readexmp.deleteRow(arrPostion);
- } else {
- grdf_setStatus(grp3.grd_readexmp, "D", arrPostion);
- }
- }
-
- // 상세내용 변경시
- function lf_fSetReadDetl(){
- if(grp3.grd_readexmp.rowcount > 0) {
- ds_grid_grd_readexmp.setColumn(grp3.grd_readexmp.currentrow ,"readexmpdetlcnts",grp3.tar_readexmpdetl.value);
- }
- }
- // interfretation 변경시
- function lf_fSetInterfretation(){
- if(grp3.grd_readexmp.rowcount > 0) {
- ds_grid_grd_readexmp.setColumn(grp3.grd_readexmp.currentrow ,"interfretationcnts",grp3.tar_interfretation.value);
- }
- }
- // Comments 변경시
- function lf_fSetcmt(){
- if(grp3.grd_readexmp.rowcount > 0) {
- ds_grid_grd_readexmp.setColumn(grp3.grd_readexmp.currentrow ,"cmt",grp3.tar_cmt.value);
- }
- }
- // 판독예문코드등록,수정
- function lf_fExeReadExmp(){
- if(grp3.grd_readexmp.rowcount < 1) {
- sysf_messageBox("등록할 판독 예문 코드가","I004",""); //없습니다.
- return;
- }
- if(!frmf_chkMdtGrid(grp3.grd_readexmp, [2,3], ["판독예문코드","판독예문"])) {
- return;
- }
-
- var cTclscd = ds_grid_grd_SpclTclscd.getColumn(grp3.grd_SpclTclscd.currentrow,"tclscd");
- var sInDsName = dsf_createDsRow("ds_temp_search"
- , [{col: "tclscd", val: ds_grid_grd_SpclTclscd.getColumn(grp3.grd_SpclTclscd.currentrow,"tclscd")}
- , {col: "spccd", val: ds_grid_grd_SpclTclscd.getColumn(grp3.grd_SpclTclscd.currentrow,"spccd")}]);
-
- var oParam = {};
- oParam.id = "TXLLF02001";
- oParam.service = "diagtestbaseinfomngtapp.GeneralTestBaseInfoMngt";
- oParam.method = "reqExeReadExmp";
- oParam.inds = "rlist=ds_grid_grd_readexmp:U cond="+sInDsName;
- oParam.async = false;
- oParam.callback = "cbf_SMLLF02000";
- tranf_submit(oParam);
-
- var nRow = ds_grid_grd_SpclTclscd.findRowExpr("tclscd == '" + cTclscd + "'");
- if (nRow > -1)
- {
- ds_grid_grd_SpclTclscd.rowposition = nRow;
- lf_fGetReadExmp();
- }
- }
- //콜백함수
- function cbf_SMLLF02000(strSvcID, nErrorCode, strErrorMag){
- if(nErrorCode != 0) sysf_messageBox("ID: " + strSvcID + " Error: " + strErrorMag, "E009", "");
- if(strSvcID == "TXLLF02001" && nErrorCode==0){
- lf_fGetSpclTclscd();
- sysf_messageBox("","I001","");
- }
- }
- function grp3_grp_sea_btn_sea_onclick(obj:Button, e:ClickEventInfo)
- {
- lf_fGetSpclTclscd("R");
- }
- function grp3_grp_sea_cmb_lrgcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- lf_fSetMdlCD();
- }
- function grp3_grd_SpclTclscd_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- lf_fGetReadExmp();
- }
- function grp3_btn_add_onclick(obj:Button, e:ClickEventInfo)
- {
- lf_fSetAddRow();
- }
- function grp3_btn_del_onclick(obj:Button, e:ClickEventInfo)
- {
- lf_fSetDelRow();
- }
- function grp3_grd_readexmp_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- lf_fGetReadExmpDetl();
- }
- function grp3_tar_readexmpdetl_canchange(obj:TextArea, e:ChangeEventInfo)
- {
- lf_fSetReadDetl();
- }
- function grp3_tar_interfretation_canchange(obj:TextArea, e:ChangeEventInfo)
- {
- lf_fSetInterfretation();
- }
- function grp3_tar_cmt_canchange(obj:TextArea, e:ChangeEventInfo)
- {
- lf_fSetcmt();
- }
- function grp2_btn_Save_onclick(obj:Button, e:ClickEventInfo)
- {
- lf_fExeReadExmp();
- }
- function grp2_btn_Init_onclick(obj:Button, e:ClickEventInfo)
- {
- grp3.grp_sea.cmb_lrgcd.index = 0;
- grp3.grp_sea.cmb_mdlcd.index = 0;
- ds_grid_grd_SpclTclscd.clearData();
- ds_grid_grd_readexmp.clearData();
- lf_fGetReadExmpDetl();
- }
- // 조회구분에 따른 대분류,중분류 변경
- function lf_selectGbn(){
- ds_init_cmb_select01.copyData(ds_init_lb0104);
- ds_init_cmb_select02.copyData(ds_init_lb0102);
-
- grp3.grp_sea.cmb_select01.value = "00";
- grp3.grp_sea.cmb_select02.value = "00";
- }
- function group6_group7_cmb_select01_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- lf_setSelect02();
- }
- //첫번째 콤보 선택시, 두번째 콤보 셋팅
- function lf_setSelect02(){
- var nRow=0;
- var sLcode = grp3.grp_sea.cmb_select01.value;
- var sMcode="";
- ds_init_cmb_select02.clearData();
- if (sLcode == "00"){
- ds_init_cmb_select02.copyData(ds_init_lb0102);
- } else {
- nRow = ds_init_cmb_select02.addRow();
- ds_init_cmb_select02.setColumn(nRow,"cd","00");
- ds_init_cmb_select02.setColumn(nRow,"nm","- 전체 -");
-
- for(var i=0;i<=ds_init_lb0102.rowcount -1; i++){
- sMcode=ds_init_lb0102.getColumn(i,"cd");
- sMcode=sMcode.substr(0, 1);
- if (sLcode==sMcode){
- nRow = ds_init_cmb_select02.addRow();
- ds_init_cmb_select02.copyRow(nRow,ds_init_lb0102,i);
- }
- }
- }
-
- grp3.grp_sea.cmb_select02.index=0;
- }
- function group6_group7_cmb_select02_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- lf_fGetSpclTclscd();
- }
- //진검 사용자별 메뉴권한
- function lf_menumaster(){
- var edit = frmf_checkAuth("X");
- var print = frmf_checkAuth("P");
- var eRow = ds_execute.addRow();
- var pRow = ds_print.addRow();
-
- if(edit == true){
- ds_execute.setColumn(eRow,"able",true);
- }
- if(print == true){
- ds_print.setColumn(pRow,"able",true);
- }
- }]]></Script>
- </Form>
- </FDL>
|