1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMMNR01200" position="absolute 0 0 1205 805" titletext="ICNP 용어 관리" oninit="SMMNR01200_oninit" onload="SMMNR01200_onload">
- <Layouts>
- <Layout>
- <Tab id="swt_icnpsrch" taborder="22" tabindex="0" position="absolute 0 29 1195 509" anchor="all" onchanged="swt_icnpsrch_onchanged">
- <Tabpages>
- <Tabpage id="smntTypeSrch" text="ICNP Semantic Type검색">
- <Layouts>
- <Layout>
- <Static id="caption4" text="ICNP Semantic Type" class="tit_2" position="absolute 0 9 174 30"/>
- <Shape id="line17" linetype="horizontal" class="line_10" position="absolute 0 25 355 31"/>
- <Static id="caption42" text="ICNP Semantic Type Tree Info" class="tit_2" position="absolute 363 9 585 30"/>
- <Shape id="line18" linetype="horizontal" class="line_10" position="absolute 363 25 1187 31"/>
- <Grid id="trv_icnptree1" taborder="3" useinputpanel="false" treeusecheckbox="false" position="absolute 363 30 1187 435" autofit="col" autoenter="select" cellsizingtype="col" binddataset="ds_main_icnptreeinfo_icnptreelist" treeuseline="false" oncellclick="swt_icnpsrch_smntTypeSrch_trv_icnptree1_oncellclick" cantreestatuschange="swt_icnpsrch_smntTypeSrch_trv_icnptree1_cantreestatuschange">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="689"/>
- </Columns>
- <Rows>
- <Row size="24"/>
- </Rows>
- <Band id="body">
- <Cell displaytype="tree" edittype="tree" text="bind:hngnm" treestartlevel="1" treelevel="bind:levl"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_smnttype" taborder="4" binddataset="ds_main_smnttypeinfo_smnttypelist" useinputpanel="false" position="absolute 0 30 355 435" autoenter="select" autofittype="col" cellsizingtype="col" oncellclick="swt_icnpsrch_smntTypeSrch_grd_smnttype_oncellclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="23"/>
- <Column size="100"/>
- <Column size="112"/>
- <Column size="91"/>
- <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="semantic type cd"/>
- <Cell col="5" text="종료일자"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" style="align:left middle;padding:0 0 0 3;" text="bind:hngnm"/>
- <Cell col="2" style="align:left middle;padding:0 0 0 3;" text="bind:engnm"/>
- <Cell col="3" displaytype="date" style="align:left middle;padding:0 0 0 3;" text="bind:fstrgstdt" calendardisplaynulltype="nulltext"/>
- <Cell col="4" text="bind:smnttypecd"/>
- <Cell col="5" text="bind:todd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="icnpcdSrch" text="ICNP Code 조회">
- <Layouts>
- <Layout>
- <Div id="grp_sea" taborder="4" position="absolute 0 10 1195 50" anchor="left top right" class="div_SA2">
- <Layouts>
- <Layout>
- <Static id="caption54" text="검색용어:" class="search_name" position="absolute 11 11 95 28"/>
- <Shape id="line30" linetype="vertical" class="line_4" position="absolute 1094 9 1100 31" anchor="top right"/>
- <Static id="caption55" text="구분:" class="search_name" position="absolute 241 11 281 28"/>
- <Radio id="radio2" taborder="6" columncount="-1" rowcount="-1" codecolumn="codecolumn" datacolumn="datacolumn" class="radio_search" position="absolute 292 10 482 30">
- <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">1</Col>
- <Col id="datacolumn">국가표준</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">CMC표준</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static id="caption56" text="상태:" class="search_name" position="absolute 496 11 539 28"/>
- <Radio id="radio3" taborder="7" columncount="-1" rowcount="-1" codecolumn="codecolumn" datacolumn="datacolumn" class="radio_search" position="absolute 549 10 704 30">
- <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">Valid</Col>
- </Row>
- <Row>
- <Col id="codecolumn">N</Col>
- <Col id="datacolumn">InValid</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static id="caption57" text="검색범위:" class="search_name" position="absolute 716 12 786 29"/>
- <Radio id="radio4" taborder="8" columncount="-1" rowcount="-1" codecolumn="codecolumn" datacolumn="datacolumn" class="radio_search" position="absolute 791 10 1076 30">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">Concept ID</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">한글검색</Col>
- </Row>
- <Row>
- <Col id="codecolumn">3</Col>
- <Col id="datacolumn">영문검색</Col>
- </Row>
- <Row>
- <Col id="codecolumn">4</Col>
- <Col id="datacolumn">Definition</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Edit id="ipt_srchtermnm" taborder="9" class="input_s_essential" position="absolute 95 10 225 29" autoselect="true" autoskip="true" onkeyup="swt_icnpsrch_icnpcdSrch_grp_sea_ipt_srchtermnm_onkeyup"/>
- <Button id="btn_srch" taborder="10" text="조회" class="btn1" position="absolute 1113 9 1169 31" anchor="top right" onclick="swt_icnpsrch_icnpcdSrch_grp_sea_btn_srch_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption58" text="ICNP Code" class="tit_2" position="absolute 0 58 174 80"/>
- <Shape id="line31" linetype="horizontal" class="line_10" position="absolute 0 74 1195 80" anchor="left top right"/>
- <Grid id="trv_icnptree2" taborder="5" useinputpanel="false" treeusecheckbox="false" position="absolute 763 79 1195 439" autofit="col" autoenter="select" cellsizingtype="col" oncellclick="swt_icnpsrch_icnpcdSrch_trv_icnptree2_oncellclick" binddataset="ds_main_icnptreeinfo_icnptreelist" treeuseline="false" cantreestatuschange="swt_icnpsrch_icnpcdSrch_trv_icnptree2_cantreestatuschange" selecttype="multirow">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="402"/>
- </Columns>
- <Rows>
- <Row size="24"/>
- </Rows>
- <Band id="body">
- <Cell/>
- <Cell col="1" displaytype="tree" edittype="tree" text="bind:hngnm" treestartlevel="1" treelevel="bind:levl"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_icnp" class="datagrid2" taborder="6" binddataset="ds_main_icnpsrchinfo_icnplist" useinputpanel="false" position="absolute 0 79 756 438" autoenter="select" autofittype="col" cellsizingtype="col" oncellclick="swt_icnpsrch_icnpcdSrch_grd_icnp_oncellclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="28" band="left"/>
- <Column size="98"/>
- <Column size="0"/>
- <Column size="58"/>
- <Column size="64"/>
- <Column size="182"/>
- <Column size="181"/>
- <Column size="46"/>
- <Column size="0"/>
- <Column size="59"/>
- <Column size="38"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="26" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="SemanticType"/>
- <Cell col="2" text="smnttypecd"/>
- <Cell col="3" text="레벨"/>
- <Cell col="4" text="유형"/>
- <Cell col="5" text="한글명"/>
- <Cell col="6" text="영문명"/>
- <Cell col="7" text="동의어유무" wordwrap="word"/>
- <Cell col="8" text="fstrgstrid"/>
- <Cell col="9" text="등록자"/>
- <Cell col="10" text="상태"/>
- <Cell col="11" text="localcd"/>
- <Cell col="12" text="smnttypecd"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" style="align:left middle;padding:0 0 0 3;" text="bind:smnttypenm"/>
- <Cell col="2" text="bind:smnttypecd"/>
- <Cell col="3" style="align:left middle;padding:0 0 0 3;" text="bind:levl"/>
- <Cell col="4" displaytype="combo" edittype="combo" style="align:left middle;padding:0 0 0 3;" text="bind:cdflag" combodataset="ds_cmb_cdflag" combocodecol="value" combodatacol="label"/>
- <Cell col="5" style="align:left middle;padding:0 0 0 3;" text="bind:hngnm"/>
- <Cell col="6" style="align:left middle;padding:0 0 0 3;" text="bind:engnm"/>
- <Cell col="7" text="bind:synomyn"/>
- <Cell col="8" text="bind:fstrgstrid"/>
- <Cell col="9" text="bind:fstrgstrnm"/>
- <Cell col="10" text="bind:valiyn"/>
- <Cell col="11" text="bind:localcd"/>
- <Cell col="12" text="bind:localcd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Static id="caption6" text="ICNP 용어관리" class="tit_1" position="absolute 0 0 173 25"/>
- <Button id="btn_select" taborder="2" text="선택" class="btn2" position="absolute 403 503 445 522" anchor="left bottom" onclick="btn_select_onclick"/>
- <Static id="caption43" text="ICNP 코드상세정보" class="tit_2" position="absolute 0 506 166 527" anchor="left bottom"/>
- <Static id="caption44" text="코드구분" class="cell_1" position="absolute 0 527 130 550" anchor="left bottom"/>
- <Shape id="line19" linetype="horizontal" class="line_10" position="absolute 0 522 535 528" anchor="left bottom"/>
- <Static id="caption45" text="Concept Name(한글)" class="cell_1" position="absolute 0 579 130 602" anchor="left bottom"/>
- <Static id="caption46" text="Concept ID" class="cell_1" position="absolute 0 553 130 576" anchor="left bottom"/>
- <Static id="caption47" text="Concept Name(영문)" class="cell_1" position="absolute 0 605 130 628" anchor="left bottom"/>
- <Static id="caption48" text="Definition" class="cell_1" position="absolute 0 631 130 685" anchor="left bottom"/>
- <Static id="caption49" text="단계(Level1)" class="cell_1" position="absolute 0 688 130 711" anchor="left bottom"/>
- <Static id="caption50" text="Concept 생성일" class="cell_1" position="absolute 0 714 130 737" anchor="left bottom"/>
- <Static id="caption51" text="위치정보(한)" class="cell_1" position="absolute 0 740 130 763" anchor="left bottom"/>
- <Static id="caption52" text="위치정보(영)" class="cell_1" position="absolute 0 766 130 789" anchor="left bottom"/>
- <Static id="caption53" text="ICNP 동의어 정보" class="tit_2" position="absolute 540 506 714 527" anchor="left bottom"/>
- <Shape id="line20" linetype="horizontal" class="line_10" position="absolute 540 522 1195 528" anchor="left right bottom"/>
- <Shape id="line21" linetype="horizontal" class="line_2" position="absolute 0 549 535 555" anchor="left bottom"/>
- <Shape id="line22" linetype="horizontal" class="line_2" position="absolute 0 575 535 581" anchor="left bottom"/>
- <Shape id="line23" linetype="horizontal" class="line_2" position="absolute 0 601 535 607" anchor="left bottom"/>
- <Shape id="line24" linetype="horizontal" class="line_2" position="absolute 0 627 535 633" anchor="left bottom"/>
- <Shape id="line25" linetype="horizontal" class="line_2" position="absolute 0 684 535 690" anchor="left bottom"/>
- <Shape id="line26" linetype="horizontal" class="line_2" position="absolute 0 710 535 716" anchor="left bottom"/>
- <Shape id="line27" linetype="horizontal" class="line_2" position="absolute 0 736 535 742" anchor="left bottom"/>
- <Shape id="line28" linetype="horizontal" class="line_2" position="absolute 0 762 535 768" anchor="left bottom"/>
- <Shape id="line29" linetype="horizontal" class="line_3" position="absolute 0 788 535 794" anchor="left bottom"/>
- <Static id="caption59" text="Semantic Type" class="cell_1" position="absolute 285 527 415 550" anchor="left bottom"/>
- <Static id="caption60" text="Source of data" class="cell_1" position="absolute 225 688 325 711" anchor="left bottom"/>
- <Static id="caption61" text="Concept 만료일" class="cell_1" position="absolute 225 714 325 737" anchor="left bottom"/>
- <Static id="caption62" text="Status" class="cell_1" position="absolute 416 714 466 737" anchor="left bottom"/>
- <Button id="btn_addicnp" taborder="3" text="추가" class="btn2" position="absolute 448 503 490 522" anchor="left bottom" onclick="btn_addicnp_onclick"/>
- <Button id="btn_updticnp" taborder="4" text="수정" class="btn2" position="absolute 493 503 535 522" anchor="left bottom" onclick="btn_updticnp_onclick"/>
- <Button id="btn_addsynom" taborder="5" text="추가" class="btn2" position="absolute 1107 503 1149 522" anchor="right bottom" onclick="btn_addsynom_onclick"/>
- <Button id="btn_updtsynom" taborder="6" text="수정" class="btn2" position="absolute 1152 503 1194 522" anchor="right bottom" onclick="btn_updtsynom_onclick"/>
- <Radio id="rdo_valiyn" taborder="7" columncount="-1" rowcount="-1" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 690 504 845 524" anchor="left bottom" onitemchanged="rdo_valiyn_onitemchanged">
- <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">Valid</Col>
- </Row>
- <Row>
- <Col id="codecolumn">N</Col>
- <Col id="datacolumn">InValid</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Radio id="rdo_cdflag" taborder="8" columncount="2" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 132 528 282 548" anchor="left bottom">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">국가 표준</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">CMC 표준</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Edit id="opt_smnttype" taborder="9" readonly="true" position="absolute 418 529 533 548" autoselect="true" autoskip="true" anchor="left bottom" class="output"/>
- <Edit id="opt_cnptid" taborder="10" readonly="true" position="absolute 133 556 533 575" autoselect="true" autoskip="true" anchor="left bottom" class="output"/>
- <Edit id="opt_hannm" taborder="11" readonly="true" position="absolute 133 582 533 601" autoselect="true" autoskip="true" anchor="left bottom" class="output"/>
- <Edit id="opt_engnm" taborder="12" readonly="true" position="absolute 133 608 533 627" autoselect="true" autoskip="true" anchor="left bottom" class="output"/>
- <Edit id="opt_levl" taborder="13" readonly="true" position="absolute 133 690 222 709" autoselect="true" autoskip="true" anchor="left bottom" class="output"/>
- <Edit id="opt_dataofsrc" taborder="14" readonly="true" position="absolute 329 690 533 709" anchor="left bottom" class="output"/>
- <Combo id="cmb_valiyn" taborder="15" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_default" position="absolute 468 716 533 735" anchor="left bottom">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">Y</Col>
- <Col id="datacolumn">Valid</Col>
- </Row>
- <Row>
- <Col id="codecolumn">N</Col>
- <Col id="datacolumn">InValid</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Edit id="opt_engposinfo" taborder="16" readonly="true" position="absolute 133 768 533 787" anchor="left bottom" class="output"/>
- <Edit id="opt_hngposinfo" taborder="17" readonly="true" position="absolute 133 741 533 760" anchor="left bottom" class="output"/>
- <MaskEdit id="opt_fromdd" taborder="18" readonly="true" mask="####-##-##" position="absolute 133 716 222 735" maskchar=" " type="string" trimtype="both" style="align:center middle;" anchor="left bottom"/>
- <MaskEdit id="opt_todd" taborder="19" readonly="true" mask="####-##-##" position="absolute 328 716 413 735" maskchar=" " type="string" trimtype="both" style="align:center middle;" anchor="left bottom"/>
- <Grid id="grd_icnpsynom" taborder="20" binddataset="ds_main_icnpmngt_synominfo_synomlist" useinputpanel="false" position="absolute 540 527 1194 794" autoenter="select" autofittype="col" cellsizingtype="col" anchor="left right bottom">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="22"/>
- <Column size="59"/>
- <Column size="89"/>
- <Column size="199"/>
- <Column size="49"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="36"/>
- <Column size="38"/>
- <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="동의어 Name"/>
- <Cell col="3" text="동의어 ID"/>
- <Cell col="4" text="등록자"/>
- <Cell col="5" text="생성일"/>
- <Cell col="6" text="만료일"/>
- <Cell col="7" text="상태"/>
- <Cell col="8" text="약어"/>
- <Cell col="9" text="fstrgstrid"/>
- <Cell col="10" text="localcd"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:cdflag" combodataset="ds_cmb_cdflag" combocodecol="value" combodatacol="label"/>
- <Cell col="2" text="bind:hngnm"/>
- <Cell col="3" style="align:left middle;padding:0 0 0 3;" text="bind:cnptid"/>
- <Cell col="4" text="bind:fstrgstrnm"/>
- <Cell col="5" displaytype="date" text="bind:fromdd" calendardisplaynulltype="nulltext"/>
- <Cell col="6" displaytype="date" text="bind:todd" calendardisplaynulltype="nulltext"/>
- <Cell col="7" text="bind:stat"/>
- <Cell col="8" text="bind:abbryn"/>
- <Cell col="9" text="bind:fstrgstrid"/>
- <Cell col="10" text="bind:localcd"/>
- </Band>
- </Format>
- <Format id="format_copy"/>
- </Formats>
- </Grid>
- <TextArea id="tar_definecnts" taborder="21" position="absolute 133 632 533 684" autoselect="true" autoskip="true" wordwrap="word" anchor="left bottom"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="termnm" type="STRING" size="256"/>
- <Column id="codeflag" type="STRING" size="256"/>
- <Column id="valiyn" type="STRING" size="256"/>
- <Column id="srchscop" type="STRING" size="256"/>
- <Column id="synomvaliyn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="termnm"/>
- <Col id="codeflag"/>
- <Col id="valiyn"/>
- <Col id="srchscop"/>
- <Col id="synomvaliyn"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_icnpsrchinfo_icnplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="smnttypenm" type="STRING" size="256" sumtext="Semantic Type명"/>
- <Column id="smnttypecd" type="STRING" size="256" sumtext="Semantic Type Code"/>
- <Column id="levl" type="STRING" size="256" sumtext="레벨"/>
- <Column id="cdflag" type="STRING" size="256" sumtext="구분"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="한글명"/>
- <Column id="engnm" type="STRING" size="256" sumtext="영문명"/>
- <Column id="synomyn" type="STRING" size="256" sumtext="동의어여부"/>
- <Column id="fstrgstrid" type="STRING" size="256" sumtext="최초등록자ID"/>
- <Column id="fstrgstrnm" type="STRING" size="256" sumtext="최초등록자명"/>
- <Column id="valiyn" type="STRING" size="256" sumtext="유효여부"/>
- <Column id="localcd" type="STRING" size="256" sumtext="로컬코드"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_cmb_cdflag" 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">CMC표준</Col>
- <Col id="value">2</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_icnpmngt_icnpinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdflag" type="STRING" size="256" sumtext="코드구분"/>
- <Column id="smnttypenm" type="STRING" size="256" sumtext="Semantic Type 명"/>
- <Column id="localcd" type="STRING" size="256" sumtext="local code"/>
- <Column id="cnptid" type="STRING" size="256" sumtext="concept ID"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="한글명"/>
- <Column id="engnm" type="STRING" size="256" sumtext="영문명"/>
- <Column id="definecnts" type="STRING" size="256" sumtext="definition"/>
- <Column id="levl" type="STRING" size="256" sumtext="레벨"/>
- <Column id="srcofdata" type="STRING" size="256" sumtext="source of data"/>
- <Column id="fromdd" type="STRING" size="256" sumtext="Concept 생성일"/>
- <Column id="todd" type="STRING" size="256" sumtext="Concept 만료일"/>
- <Column id="valiyn" type="STRING" size="256" sumtext="상태"/>
- <Column id="hngposinfo" type="STRING" size="256" sumtext="위치정보(한)"/>
- <Column id="engposinfo" type="STRING" size="256" sumtext="위치정보(영)"/>
- <Column id="reprlocalcd" type="STRING" size="256" sumtext="대표 local code"/>
- <Column id="smnttypecd" type="STRING" size="256" sumtext="Semantic Type Code"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_icnpmngt_synominfo_synomlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdflag" type="STRING" size="256" sumtext="코드구분"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="한글명"/>
- <Column id="cnptid" type="STRING" size="256" sumtext="concept ID"/>
- <Column id="fstrgstrid" type="STRING" size="256" sumtext="최초등록자ID"/>
- <Column id="fstrgstrnm" type="STRING" size="256" sumtext="최초등록자명"/>
- <Column id="fromdd" type="STRING" size="256" sumtext="Concept 생성일"/>
- <Column id="todd" type="STRING" size="256" sumtext="Concept 만료일"/>
- <Column id="stat" type="STRING" size="256" sumtext="상태"/>
- <Column id="abbryn" type="STRING" size="256" sumtext="약어여부"/>
- <Column id="localcd" type="STRING" size="256" sumtext="로컬코드"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_smnttypeinfo_smnttypelist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="hngnm" type="STRING" size="256" sumtext="한글명"/>
- <Column id="engnm" type="STRING" size="256" sumtext="영문명"/>
- <Column id="fstrgstdt" type="STRING" size="256" sumtext="등록일자"/>
- <Column id="smnttypecd" type="STRING" size="256" sumtext="semantic type 코드"/>
- <Column id="todd" type="STRING" size="256" sumtext="종료일자"/>
- <Column id="smnttypenm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden_uid_children" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_refinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_icnpinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_icnptreeinfo_icnptreelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="hngnm" type="STRING" size="256" sumtext="한글명"/>
- <Column id="localcd" type="STRING" size="256" sumtext="local code"/>
- <Column id="cnptid" type="STRING" size="256" sumtext="concept ID"/>
- <Column id="supcd" type="STRING" size="256" sumtext="상위 local code"/>
- <Column id="supcnptid" type="STRING" size="256" sumtext="상위 Concept ID"/>
- <Column id="smnttypecd" type="STRING" size="256" sumtext="Semantic Type Code"/>
- <Column id="smnttypenm" type="STRING" size="256" sumtext="Semantic Type 명"/>
- <Column id="levl" type="STRING" size="256" sumtext="Tree 레벨"/>
- <Column id="todd" type="STRING" size="256" sumtext="만료일"/>
- <Column id="hngposinfo" type="STRING" size="256" sumtext="위치정보(한)"/>
- <Column id="engposinfo" type="STRING" size="256" sumtext="위치정보(영)"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="swt_icnpsrch.icnpcdSrch.grp_sea.ipt_srchtermnm" propid="value" datasetid="ds_main_cond" columnid="termnm"/>
- <BindItem id="item1" compid="swt_icnpsrch.icnpcdSrch.grp_sea.radio2" propid="value" datasetid="ds_main_cond" columnid="codeflag"/>
- <BindItem id="item2" compid="swt_icnpsrch.icnpcdSrch.grp_sea.radio3" propid="value" datasetid="ds_main_cond" columnid="valiyn"/>
- <BindItem id="item3" compid="swt_icnpsrch.icnpcdSrch.grp_sea.radio4" propid="value" datasetid="ds_main_cond" columnid="srchscop"/>
- <BindItem id="item4" compid="opt_smnttype" propid="value" datasetid="ds_main_icnpmngt_icnpinfo" columnid="smnttypenm"/>
- <BindItem id="item5" compid="opt_cnptid" propid="value" datasetid="ds_main_icnpmngt_icnpinfo" columnid="cnptid"/>
- <BindItem id="item6" compid="rdo_cdflag" propid="value" datasetid="ds_main_icnpmngt_icnpinfo" columnid="cdflag"/>
- <BindItem id="item7" compid="opt_hannm" propid="value" datasetid="ds_main_icnpmngt_icnpinfo" columnid="hngnm"/>
- <BindItem id="item8" compid="opt_engnm" propid="value" datasetid="ds_main_icnpmngt_icnpinfo" columnid="engnm"/>
- <BindItem id="item9" compid="tar_definecnts" propid="value" datasetid="ds_main_icnpmngt_icnpinfo" columnid="definecnts"/>
- <BindItem id="item10" compid="opt_levl" propid="value" datasetid="ds_main_icnpmngt_icnpinfo" columnid="levl"/>
- <BindItem id="item11" compid="opt_dataofsrc" propid="value" datasetid="ds_main_icnpmngt_icnpinfo" columnid="srcofdata"/>
- <BindItem id="item12" compid="opt_fromdd" propid="value" datasetid="ds_main_icnpmngt_icnpinfo" columnid="fromdd"/>
- <BindItem id="item13" compid="opt_todd" propid="value" datasetid="ds_main_icnpmngt_icnpinfo" columnid="todd"/>
- <BindItem id="item14" compid="cmb_valiyn" propid="value" datasetid="ds_main_icnpmngt_icnpinfo" columnid="valiyn"/>
- <BindItem id="item15" compid="opt_hngposinfo" propid="value" datasetid="ds_main_icnpmngt_icnpinfo" columnid="hngposinfo"/>
- <BindItem id="item16" compid="opt_engposinfo" propid="value" datasetid="ds_main_icnpmngt_icnpinfo" columnid="engposinfo"/>
- <BindItem id="item17" compid="rdo_valiyn" propid="value" datasetid="ds_main_cond" columnid="synomvaliyn"/>
- </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";
- var arErrorCode = new HashArray();
- var iICNPTreeRow = -1;
- var xICNPInfoPath = ds_main_icnpmngt_icnpinfo;
- var xICNPTreePath = ds_main_icnptreeinfo_icnptreelist;
- var xSmntTypePath = ds_main_smnttypeinfo_smnttypelist;
- var xRefPath = ds_hidden_icnpinfo;
- var xSynomInfoPath = ds_main_icnpmngt_synominfo_synomlist;
- var xICNPCodePath = ds_main_icnpsrchinfo_icnplist;
- var xCondPath = ds_main_cond;
- var xRefInfoPath = ds_hidden_refinfo;
- function SMMNR01200_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMMNR01200_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(swt_icnpsrch.icnpcdSrch.grd_icnp);
- grdf_initGrid(swt_icnpsrch.smntTypeSrch.grd_smnttype);
- grdf_initGrid(grd_icnpsynom);
-
- try
- {
- ds_hidden_refinfo.copyData(arg_ds_hidden_refinfo);
- }
- catch(e)
- {
- }
-
- fInit();
- }
- function fInit()
- {
- dsf_makeValue(ds_hidden_uid_children, "wid", "string","SPMNR02700");
- xCondPath.setColumn(0, "synomvaliyn","%");
-
- if(utlf_isNull(ds_hidden_refinfo.getColumn(0, "flag")))
- {
- btn_select.visible = false
- }
-
- fSearch("smnttype");
- }
- function fSearch(pFlag)
- {
- if(pFlag == "smnttype")
- {
- //swt_icnpsrch.tabindex = 0;
- xICNPTreePath.clearData();
- xSmntTypePath.clearData();
-
- ds_send.clearData()
- dsf_makeValue(ds_send, "flag", "String","smnttype");
-
- var oParam = {};
- oParam.id = "TRMNR01201";
- oParam.service = "carerecapp.ICNPMngt";
- oParam.method = "reqGetSemanticTypeList";
- oParam.inds = "";
- oParam.outds = "ds_main_smnttypeinfo_smnttypelist=smnttypelist";
- oParam.async = false;
- oParam.callback = "cf_TRMNR01201";
- tranf_submit(oParam);
-
- if(arErrorCode.pop("TRMNR01201") > -1)
- {
- var RowCnt = ds_main_smnttypeinfo_smnttypelist.rowcount;
- if(RowCnt > 0)
- {
- ds_main_smnttypeinfo_smnttypelist.rowposition = 0;
- fClicedGrid();
- }
- }
- }
- else if(pFlag == "icnpcd")
- {
- //swt_icnpsrch.tabindex = 1;
- xICNPTreePath.clearData();
- xICNPCodePath.clearData();
-
- xCondPath.setColumn(0, "termnm","");
- xCondPath.setColumn(0, "codeflag","%");
- xCondPath.setColumn(0, "valiyn","%");
- xCondPath.setColumn(0, "srchscop","1");
-
- swt_icnpsrch.icnpcdSrch.grp_sea.ipt_srchtermnm.setFocus();
- }
- else if(pFlag == "Synom")
- {
- var localcd = xICNPInfoPath.getColumn(0, "localcd");
- if(utlf_isNull(localcd))
- {
- sysf_messageBox("ICNP 용어가 선택되지","E007");
- return;
- }
- xSynomInfoPath.clearData();
- ds_send.clearData();
- dsf_makeValue(ds_send, "synomvaliyn", "string", xCondPath.getColumn(0, "synomvaliyn"));
- dsf_makeValue(ds_send, "localcd", "string", localcd);
- dsf_makeValue(ds_send, "todd", "string", "");
- var oParam = {};
- oParam.id = "TRMNR01204";
- oParam.service = "carerecapp.ICNPMngt";
- oParam.method = "reqGetSynomInfo";
- oParam.inds = "reqCond=ds_send";
- oParam.outds = "ds_main_icnpmngt_synominfo_synomlist=synomlist";
- oParam.async = false;
- //oParam.callback = "cf_TRMNR01204";
- tranf_submit(oParam);
- }
- else if(pFlag == "TermSrch")
- {
- xICNPCodePath.clearData();
- xICNPTreePath.clearData();
- ds_send.clearData();
- dsf_makeValue(ds_send, "termnm","string", xCondPath.getColumn(0, "termnm"));
- dsf_makeValue(ds_send, "codeflag","string", xCondPath.getColumn(0, "codeflag"));
- dsf_makeValue(ds_send, "valiyn","string", xCondPath.getColumn(0, "valiyn"));
- dsf_makeValue(ds_send, "srchscop","string", xCondPath.getColumn(0, "srchscop"));
-
- var oParam = {};
- oParam.id = "TRMNR01205";
- oParam.service = "carerecapp.ICNPMngt";
- oParam.method = "reqGetICNPCodeList";
- oParam.inds = "reqCond=ds_send";
- oParam.outds = "ds_main_icnpsrchinfo_icnplist=icnplist";
- oParam.async = false;
- oParam.callback = "cf_TRMNR01205";
- tranf_submit(oParam);
- if(arErrorCode.pop("TRMNR01205"))
- {
- if(ds_main_icnpsrchinfo_icnplist.rowcount == 0)
- {
- sysf_messageBox("조회된 데이터가","I004");
- }
- ds_main_icnpsrchinfo_icnplist.rowposition = -1;
- }
- }
- if(pFlag != "Synom")
- {
- fICNPInfoClear();
- xSynomInfoPath.clearData();
- }
- }
- function cf_TRMNR01201(sSvcId, nErrorCode, sErrorMsg)
- {
- arErrorCode.push(sSvcId, nErrorCode);
- if(nErrorCode < 0) return;
- }
- function cf_TRMNR01205(sSvcId, nErrorCode, sErrorMsg)
- {
- arErrorCode.push(sSvcId, nErrorCode);
- if(nErrorCode < 0) return;
- }
- function fClicedGrid()
- {
- var idx = swt_icnpsrch.tabindex;
- var iRow = -1;
- var localcd = "";
-
- if(idx == 1)
- {
- iRow = ds_main_icnpsrchinfo_icnplist.rowposition;
- if(iRow < 0) return;
-
- ds_send.clearData();
- dsf_makeValue(ds_send, "smnttypecd", "String", xICNPCodePath.getColumn(iRow, "smnttypecd"));
- localcd = xICNPCodePath.getColumn(iRow, "localcd");
- }
- else if(idx == 0)
- {
- iRow = ds_main_smnttypeinfo_smnttypelist.rowposition;
- if(iRow < 0) return;
- ds_send.clearData();
- dsf_makeValue(ds_send, "smnttypecd", "string", xSmntTypePath.getColumn(iRow, "smnttypecd"));
- }
-
- var oParam = {};
- oParam.id = "TRMNR01202";
- oParam.service = "carerecapp.ICNPMngt";
- oParam.method = "reqGetICNPTreeList";
- oParam.inds = "reqCond=ds_send";
- oParam.outds = "ds_main_icnptreeinfo_icnptreelist=icnptreelist";
- oParam.async = false;
- oParam.callback = "cf_TRMNR01202";
- tranf_submit(oParam);
- if(arErrorCode.pop("TRMNR01202") > -1)
- {
- iICNPTreeRow = -1;
- if(!utlf_isNull(localcd))
- {
- var path = ds_main_icnptreeinfo_icnptreelist.lookup("localcd", localcd, "path");
- path = String(path).split("/");
- for(var i = 1; i < path.length-1; i++)
- {
- var findrow = ds_main_icnptreeinfo_icnptreelist.findRow("localcd", path[i]);
- var treerow = swt_icnpsrch.icnpcdSrch.trv_icnptree2.getTreeRow(findrow);
- var success = swt_icnpsrch.icnpcdSrch.trv_icnptree2.setTreeStatus(treerow, true);
- }
- ds_main_icnptreeinfo_icnptreelist.rowposition = ds_main_icnptreeinfo_icnptreelist.findRow("localcd", path[path.length-1]);
- swt_icnpsrch.icnpcdSrch.trv_icnptree2.setCellPos(1);
- }
- }
- }
- function cf_TRMNR01202(sSvcId, nErrorCode, sErrorMsg)
- {
- arErrorCode.push(sSvcId, nErrorCode);
- if(nErrorCode < 0) return;
- }
- function fICNPInfoClear()
- {
- xICNPInfoPath.clearData();
- xICNPInfoPath.addRow();
- xICNPInfoPath.setColumn(0, "cdflag","");
- xICNPInfoPath.setColumn(0, "smnttypenm","");
- xICNPInfoPath.setColumn(0, "localcd","");
- xICNPInfoPath.setColumn(0, "cnptid","");
- xICNPInfoPath.setColumn(0, "hngnm","");
- xICNPInfoPath.setColumn(0, "engnm","");
- xICNPInfoPath.setColumn(0, "definecnts","");
- xICNPInfoPath.setColumn(0, "levl","");
- xICNPInfoPath.setColumn(0, "srcofdata","");
- xICNPInfoPath.setColumn(0, "fromdd","");
- xICNPInfoPath.setColumn(0, "todd","");
- xICNPInfoPath.setColumn(0, "valiyn","");
- xICNPInfoPath.setColumn(0, "hngposinfo","");
- xICNPInfoPath.setColumn(0, "engposinfo","");
- xICNPInfoPath.setColumn(0, "reprlocalcd","");
- xICNPInfoPath.setColumn(0, "smnttypecd","");
- }
- function swt_icnpsrch_smntTypeSrch_grd_smnttype_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- fClicedGrid();
- }
- function swt_icnpsrch_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
- {
- if(obj.tabindex == 1)
- {
- fSearch("icnpcd");
- }
- else
- {
- fSearch("smnttype");
- }
- }
- function swt_icnpsrch_icnpcdSrch_grd_icnp_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- fClicedGrid();
- }
- function swt_icnpsrch_icnpcdSrch_trv_icnptree2_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- fClickedTreeView();
- }
- function swt_icnpsrch_smntTypeSrch_trv_icnptree1_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- fClickedTreeView();
- }
- function fClickedTreeView()
- {
- var iICNPTreeRow = ds_main_icnptreeinfo_icnptreelist.rowposition
-
- if(iICNPTreeRow < 0) return;
- ds_send.clearData();
- dsf_makeValue(ds_send, "localcd", "string", xICNPTreePath.getColumn(iICNPTreeRow, "localcd"));
- dsf_makeValue(ds_send, "todd", "string", xICNPTreePath.getColumn(iICNPTreeRow, "todd"));
- dsf_makeValue(ds_send, "synomvaliyn", "string", xCondPath.getColumn(0, "synomvaliyn"));
-
- var oParam = {};
- oParam.id = "TRMNR01203";
- oParam.service = "carerecapp.ICNPMngt";
- oParam.method = "reqGetICNPMngt";
- oParam.inds = "reqCond=ds_send";
- oParam.outds = "ds_main_icnpmngt_icnpinfo=icnpinfo ds_main_icnpmngt_synominfo_synomlist=synomlist";
- oParam.async = false;
- oParam.callback = "cf_TRMNR01203";
- tranf_submit(oParam);
- if(arErrorCode.pop("TRMNR01203") > -1)
- {
- dsf_makeValue(xICNPInfoPath, "hngposinfo", "string", xICNPTreePath.getColumn(iICNPTreeRow, "hngposinfo"));
- dsf_makeValue(xICNPInfoPath, "engposinfo", "string", xICNPTreePath.getColumn(iICNPTreeRow, "engposinfo"));
- }
- }
- function cf_TRMNR01203(sSvcId, nErrorCode, sErrorMsg)
- {
- arErrorCode.push(sSvcId, nErrorCode);
- if(nErrorCode < 0) return;
- }
- function rdo_valiyn_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- fSearch("Synom");
- }
- function btn_select_onclick(obj:Button, e:ClickEventInfo)
- {
- fSendITerm();
- }
- function fSendITerm()
- {
- var terminfo = xICNPInfoPath.getColumn(0, "smnttypecd")+"▦"+
- xICNPInfoPath.getColumn(0, "localcd")+"▦"+
- xICNPInfoPath.getColumn(0, "hngnm")+"▦"+
- xICNPInfoPath.getColumn(0, "engnm")+"▦"+
- xICNPInfoPath.getColumn(0, "cnptid");
-
- opener.frmf_setParameter("terminfo",terminfo);
- this.close();
- }
- function btn_addicnp_onclick(obj:Button, e:ClickEventInfo)
- {
- fAddTerm("ICNP");
- }
- function fAddTerm(pFlag)
- {
- if(pFlag == "ICNP")
- {
- xRefPath.clearData();
- var idx = swt_icnpsrch.tabindex;
- if(idx == 1 && ds_main_icnptreeinfo_icnptreelist.rowposition < 0)
- {
- sysf_messageBox("Tree 정보에서 상위 ICNP 용어가 선택되지 않았습니다.\n(최상위 코드는 ICNP Semantic Type 검색 탭에서만 가능합니다)\n 용어 등록을","E001");
- return;
- }
- if(idx == 0 && ds_main_icnptreeinfo_icnptreelist.rowposition < 0)
- {
- var iRtn = sysf_messageBox("Tree 정보에서 상위 ICNP 용어가 선택되지 않았습니다.\n최상위 코드만 등록이 가능합니다. ","Q003");
- if(iRtn != 6) return;
- }
- if(ds_main_icnptreeinfo_icnptreelist.rowposition < 0)
- {
- var sSmntTypeRow = ds_main_smnttypeinfo_smnttypelist.rowposition;
- if(sSmntTypeRow < 0)
- {
- sysf_messageBox("ICNP Semantic Type이 선택되지","E007");
- return;
- }
- dsf_makeValue(xRefPath, "stat", "string", "I");
- dsf_makeValue(xRefPath, "supcd", "string", "********");
- dsf_makeValue(xRefPath, "supcnptid", "String","");
- dsf_makeValue(xRefPath, "smnttypecd", "string", xSmntTypePath.getColumn(sSmntTypeRow, "smnttypecd"));
- dsf_makeValue(xRefPath, "smnttypenm", "string", xSmntTypePath.getColumn(sSmntTypeRow, "engnm"));
- dsf_makeValue(xRefPath, "levl", "int", 1);
- dsf_makeValue(xRefPath, "termflag", "string", "ICNP");
- }
- else
- {
- dsf_makeValue(xRefPath, "stat", "string", "I");
- dsf_makeValue(xRefPath, "supcd", "string", xICNPInfoPath.getColumn(0, "localcd"));
- dsf_makeValue(xRefPath, "supcnptid", "String", xICNPInfoPath.getColumn(0, "cnptid"));
- dsf_makeValue(xRefPath, "smnttypecd", "string", xICNPInfoPath.getColumn(sSmntTypeRow, "smnttypecd"));
- dsf_makeValue(xRefPath, "smnttypenm", "string", xICNPInfoPath.getColumn(sSmntTypeRow, "smnttypenm"));
- dsf_makeValue(xRefPath, "levl", "int", eval(xICNPInfoPath.getColumn(0, "levl"))+1);
- dsf_makeValue(xRefPath, "termflag", "string", "ICNP");
- }
- var objArg = new Object();
- objArg.arg_ds_hidden_icnpinfo = xRefPath;
- frmf_modal("SPMNR02700", "SPMNR02700", objArg, "", "", "", "", "", "", "", "", "", "M");
-
- if(frmf_getParameter("exec") == "Y")
- {
- fClicedGrid();
- fICNPInfoClear();
- xSynomInfoPath.clearData();
- }
- }
- else if(pFlag == "Synom")
- {
- var localcd = xICNPInfoPath.getColumn(0, "localcd");
- xRefPath.clearData();
- if(utlf_isNull(localcd))
- {
- sysf_messageBox("동의어를 등록할 ICNP 용어가 선택되지", "E007");
- return;
- }
- dsf_makeValue(xRefPath, "stat", "string", "I");
- dsf_makeValue(xRefPath, "reprlocalcd", "string", xICNPInfoPath.getColumn(0, "localcd"));
- dsf_makeValue(xRefPath, "todd", "string", xICNPInfoPath.getColumn(0, "todd"));
- dsf_makeValue(xRefPath, "cnptid", "string", xICNPInfoPath.getColumn(0, "cnptid"));
- dsf_makeValue(xRefPath, "termflag", "string", "Synom");
-
- var objArg = new Object();
- objArg.arg_ds_hidden_icnpinfo = xRefPath;
- frmf_modal("SPMNR02700", "SPMNR02700", objArg, "", "", "", "", "", "", "", "", "", "M");
-
- if(frmf_getParameter("exec") == "Y")
- {
- fSearch("Synom");
- }
- }
- }
- function btn_updticnp_onclick(obj:Button, e:ClickEventInfo)
- {
- fUpdtTerm("ICNP");
- }
- function fUpdtTerm(pFlag)
- {
- xRefPath.clearData();
- if(pFlag == "ICNP")
- {
- var localcd = xICNPInfoPath.getColumn(0, "localcd");
-
- if(utlf_isNull(localcd))
- {
- sysf_messageBox("수정할 ICNP 용어가 선택되지", "E007");
- return;
- }
-
- dsf_makeValue(xRefPath, "stat", "String", "U");
- dsf_makeValue(xRefPath, "localcd", "String", xICNPInfoPath.getColumn(0, "localcd"));
- dsf_makeValue(xRefPath, "todd", "String", xICNPInfoPath.getColumn(0, "todd"));
- dsf_makeValue(xRefPath, "termflag", "String", "ICNP");
-
- var objArg = new Object();
- objArg.arg_ds_hidden_icnpinfo = xRefPath;
- frmf_modal("SPMNR02700", "SPMNR02700", objArg, "", "", "", "", "", "", "", "", "", "M");
-
- if(frmf_getParameter("exec") == "Y")
- {
- fClicedGrid();
- fICNPInfoClear();
- xSynomInfoPath.clearData();
- }
- }
- else if(pFlag == "Synom")
- {
- var iRow = ds_main_icnpmngt_synominfo_synomlist.rowposition;
- if(iRow < 0)
- {
- sysf_messageBox("수정할 동의어가 선택되지", "E007");
- return;
- }
-
- dsf_makeValue(xRefPath, "stat", "string", "U");
- dsf_makeValue(xRefPath, "localcd", "string", xSynomInfoPath.getColumn(iRow, "localcd"));
- dsf_makeValue(xRefPath, "todd", "string", xSynomInfoPath.getColumn(iRow, "todd"));
- dsf_makeValue(xRefPath, "termflag", "String", "");
-
- var objArg = new Object();
- objArg.arg_ds_hidden_icnpinfo = xRefPath;
- frmf_modal("SPMNR02700", "SPMNR02700", objArg, "", "", "", "", "", "", "", "", "", "M");
-
- if(frmf_getParameter("exec") == "Y")
- {
- fSearch("Synom");
- }
- }
- }
- function btn_addsynom_onclick(obj:Button, e:ClickEventInfo)
- {
- fAddTerm("Synom");
- }
- function btn_updtsynom_onclick(obj:Button, e:ClickEventInfo)
- {
- fUpdtTerm("Synom");
- }
- function swt_icnpsrch_icnpcdSrch_grp_sea_btn_srch_onclick(obj:Button, e:ClickEventInfo)
- {
- fSearch("TermSrch");
- }
- function swt_icnpsrch_icnpcdSrch_grp_sea_ipt_srchtermnm_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- obj.updateToDataset();
- swt_icnpsrch.icnpcdSrch.grp_sea.btn_srch.click();
- }
- }
- function swt_icnpsrch_icnpcdSrch_trv_icnptree2_cantreestatuschange(obj:Grid, e:GridTreeStatusEventInfo)
- {
- obj.userdata = 1;
- }
- ]]></Script>
- </Form>
- </FDL>
|