12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMAEB04100" position="absolute 0 0 1157 740" titletext="LevelCode 상세관리" oninit="SMAEB04100_oninit" onload="SMAEB04100_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 21 1156 737" id="group3" scrollbars="autoboth" anchor="all">
- <Layouts>
- <Layout>
- <Shape position="absolute 0 71 255 74" linetype="horizontal" id="line1" class="line_1" anchor="default"/>
- <Static text="대분류(Lv.0)" position="absolute 0 54 128 70" id="caption1" class="tit_2" anchor="default"/>
- <Shape position="absolute 259 69 596 75" linetype="horizontal" id="line3" class="line_1" anchor="default"/>
- <Static text="중분류(Lv.1)" position="absolute 259 54 394 70" id="caption4" class="tit_2" anchor="default"/>
- <Grid position="absolute 0 75 255 715" id="grd_partgrupcd" binddataset="ds_main_lrgcdlist_partgrupcd" anchor="left top bottom" onlbuttondown="group3_grd_partgrupcd_onlbuttondown">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="230"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="대분류"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow+1"/>
- <Cell col="1" style="align:left middle;padding:0 2 0 2;" text="bind:basecdflagdesc" enable="false"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid position="absolute 259 75 596 395" id="grd_partcd" binddataset="ds_main_mdlcdlist_partcd" anchor="default" cellsizingtype="both" onlbuttondown="group3_grd_partcd_onlbuttondown">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="41"/>
- <Column size="177"/>
- <Column size="41"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="38"/>
- <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="basesuppdeptcd"/>
- <Cell col="6" text="oldbasecd"/>
- <Cell col="7" text="순번"/>
- <Cell col="8" text="seq"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" displaytype="text" edittype="text" text="bind:basecd"/>
- <Cell col="2" displaytype="text" edittype="text" text="bind:basecdflagdesc"/>
- <Cell col="3" displaytype="combo" edittype="combo" text="bind:dispnm" combodataset="ds_cmb_dispnm" combocodecol="value" combodatacol="label"/>
- <Cell col="4" displaytype="text" edittype="text" text="bind:basecdcnts"/>
- <Cell col="5" text="bind:basesuppdeptcd"/>
- <Cell col="6" text="bind:oldbasecd"/>
- <Cell col="7" displaytype="text" edittype="text" text="bind:sortno"/>
- <Cell col="8" text="bind:seq"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid position="absolute 600 75 1155 395" id="grd_partdetlcd" binddataset="ds_main_smlcdlist_partdetlcd" anchor="left top right" cellsizingtype="both">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="300"/>
- <Column size="90"/>
- <Column size="60"/>
- <Column size="65"/>
- <Column size="0"/>
- <Column size="0"/>
- <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" text="약물용량"/>
- <Cell col="4" text="약물단위"/>
- <Cell col="5" text="basecdflagdesc_h"/>
- <Cell col="6" text="suppdeptcd_h"/>
- <Cell col="7" text="partgrupcd_h"/>
- <Cell col="8" text="partcd_h"/>
- <Cell col="9" text="partdetlcd_h"/>
- <Cell col="10" text="sortno_h"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" displaytype="text" edittype="text" text="bind:basecdcnts"/>
- <Cell col="2" displaytype="combo" edittype="combo" text="bind:choi1" combodataset="ds_cmb_choi1" combocodecol="value" combodatacol="label"/>
- <Cell col="3" displaytype="text" edittype="text" text="bind:choi2"/>
- <Cell col="4" displaytype="text" edittype="text" text="bind:choi3"/>
- <Cell col="5" text="bind:basecdflagdesc"/>
- <Cell col="6" text="bind:suppdeptcd"/>
- <Cell col="7" text="bind:partgrupcd"/>
- <Cell col="8" text="bind:partcd"/>
- <Cell col="9" text="bind:partdetlcd"/>
- <Cell col="10" text="bind:sortno"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static text="코드 상세내역(Lv.2)" position="absolute 600 54 763 70" id="caption5" class="tit_2" anchor="default"/>
- <Shape position="absolute 600 71 1155 77" linetype="horizontal" id="line4" class="line_1" anchor="left top right"/>
- <Button position="absolute 1099 397 1155 419" id="btn_save" class="btn4" text="저장" anchor="top right" onclick="group3_btn_save_onclick"/>
- <Button position="absolute 1047 51 1100 70" id="btn_add" class="btn2" text="행추가" anchor="top right" onclick="group3_btn_add_onclick"/>
- <Button position="absolute 1102 51 1155 70" id="btn_del" class="btn2" text="행삭제" anchor="top right" onclick="group3_btn_del_onclick"/>
- <Button position="absolute 543 426 596 445" id="button1" class="btn2" text="행삭제" anchor="default" onclick="group3_button1_onclick"/>
- <Button position="absolute 488 426 541 445" id="button2" class="btn2" text="행추가" anchor="default" onclick="group3_button2_onclick"/>
- <Grid position="absolute 600 450 1155 690" id="grd_lv22" binddataset="ds_main_lvsmlcdlist_partdetlcd" anchor="all" cellsizingtype="both">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="450"/>
- <Column size="100"/>
- <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="상세내용 (Lv2-2)"/>
- <Cell col="2" text="분류"/>
- <Cell col="3" text="suppdeptcd_h"/>
- <Cell col="4" text="partgrupcd_h"/>
- <Cell col="5" text="partcd_h"/>
- <Cell col="6" text="partdetlcd_h"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" displaytype="text" edittype="text" text="bind:basecdcnts"/>
- <Cell col="2" displaytype="combo" edittype="combo" text="bind:choi1" combodataset="ds_cmb_choi2" combocodecol="value" combodatacol="label"/>
- <Cell col="3" text="bind:suppdeptcd"/>
- <Cell col="4" text="bind:partgrupcd"/>
- <Cell col="5" text="bind:partcd"/>
- <Cell col="6" text="bind:partdetlcd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button position="absolute 540 692 596 714" id="btn_lv21save" class="btn4" text="저장" anchor="left bottom" onclick="group3_btn_lv21save_onclick"/>
- <Grid position="absolute 259 450 596 690" id="grd_lv21" binddataset="ds_main_lvmdlcdlist_list" anchor="left top bottom" cellsizingtype="both" onlbuttondown="group3_grd_lv21_onlbuttondown">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="255"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="순번_h"/>
- <Cell col="2" text="코드_h"/>
- <Cell col="3" text="basecdcnts_h"/>
- <Cell col="4" text="basesuppdeptcd_h"/>
- <Cell col="5" text="중분류 (Lv 2-1)"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" text="bind:sortno"/>
- <Cell col="2" text="bind:basecd"/>
- <Cell col="3" text="bind:basecdcnts"/>
- <Cell col="4" text="bind:basesuppdeptcd"/>
- <Cell col="5" displaytype="text" edittype="text" text="bind:basecdflagdesc" enable="false"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static text="소분류(Lv.1-1)" position="absolute 259 429 402 446" id="caption3" class="tit_2" anchor="default"/>
- <Static text="코드 상세내역 (Lv.2-1)" position="absolute 600 429 774 445" id="caption7" class="tit_2" anchor="default"/>
- <Button position="absolute 1102 426 1155 445" id="button3" class="btn2" text="행삭제" anchor="top right" onclick="group3_button3_onclick"/>
- <Button position="absolute 1047 426 1100 445" id="button4" class="btn2" text="행추가" anchor="top right" onclick="group3_button4_onclick"/>
- <Button position="absolute 1096 692 1152 714" id="btn_lv22save" class="btn4" text="저장" anchor="right bottom" onclick="group3_btn_lv22save_onclick"/>
- <Button position="absolute 543 51 596 70" id="button5" class="btn2" text="행삭제" anchor="default" onclick="group3_button5_onclick"/>
- <Button position="absolute 488 51 541 70" id="button6" class="btn2" text="행추가" anchor="default" onclick="group3_button6_onclick"/>
- <Shape id="line00" class="line_1" position="absolute 0 72 255 75"/>
- <Shape id="line02" class="line_1" position="absolute 0 73 255 76"/>
- <Shape id="line05" class="line_1" position="absolute 259 71 596 77"/>
- <Shape id="line06" class="line_1" position="absolute 259 70 596 76"/>
- <Shape id="line07" class="line_1" position="absolute 600 70 1155 76" anchor="left top right"/>
- <Shape id="line08" class="line_1" position="absolute 600 69 1155 75" anchor="left top right"/>
- <Shape id="line09" class="line_1" position="absolute 259 444 596 450"/>
- <Shape id="line10" class="line_1" position="absolute 600 446 1155 452" anchor="left top right"/>
- <Shape id="line11" class="line_1" position="absolute 259 446 596 452"/>
- <Shape id="line12" class="line_1" position="absolute 259 445 596 451"/>
- <Shape id="line13" class="line_1" position="absolute 600 445 1155 451" anchor="left top right"/>
- <Shape id="line14" class="line_1" position="absolute 600 444 1155 450" anchor="left top right"/>
- <Button position="absolute 540 397 596 419" id="button7" class="btn4" text="저장" anchor="default" onclick="group3_button7_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption6" text="LevelCode 상세관리" class="tit_1" position="absolute 0 0 180 25"/>
- <Div id="grp_sea" taborder="1" position="absolute 0 25 1155 65" class="div_SA" anchor="left top right">
- <Layouts>
- <Layout>
- <Button id="btn_sea" taborder="1" text="조회" class="btn1" position="absolute 1080 10 1136 32" anchor="top right" onclick="grp_sea_btn_sea_onclick"/>
- <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1059 10 1065 32" anchor="top right"/>
- <Static id="caption2" text="대분류코드 :" class="search_name" position="absolute 15 13 114 30" anchor="default"/>
- <Edit id="ipt_basecd" taborder="2" class="input_search" position="absolute 120 11 255 30" anchor="default" onkeydown="grp_sea_ipt_basecd_onkeydown"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_lrgcdlist_partgrupcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="basecd" type="STRING" size="256"/>
- <Column id="basecdcnts" type="STRING" size="256"/>
- <Column id="basecdflagdesc" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="basecd"/>
- <Col id="basecdcnts"/>
- <Col id="basecdflagdesc"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_mdlcdlist_partcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="basecd" type="STRING" size="256"/>
- <Column id="basecdflagdesc" type="STRING" size="256"/>
- <Column id="dispnm" type="STRING" size="256"/>
- <Column id="basecdcnts" type="STRING" size="256"/>
- <Column id="basesuppdeptcd" type="STRING" size="256"/>
- <Column id="oldbasecd" type="STRING" size="256"/>
- <Column id="sortno" type="STRING" size="256"/>
- <Column id="seq" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="basecd"/>
- <Col id="basecdflagdesc"/>
- <Col id="dispnm"/>
- <Col id="basecdcnts"/>
- <Col id="basesuppdeptcd"/>
- <Col id="oldbasecd"/>
- <Col id="sortno"/>
- <Col id="seq"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_smlcdlist_partdetlcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="suppdeptcd" type="STRING" size="256"/>
- <Column id="partgrupcd" type="STRING" size="256"/>
- <Column id="partcd" type="STRING" size="256"/>
- <Column id="partdetlcd" type="STRING" size="256"/>
- <Column id="basecdflagdesc" type="STRING" size="256"/>
- <Column id="basecdcnts" type="STRING" size="256"/>
- <Column id="choi1" type="STRING" size="256"/>
- <Column id="choi2" type="STRING" size="256"/>
- <Column id="choi3" type="STRING" size="256"/>
- <Column id="sortno" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="suppdeptcd"/>
- <Col id="partgrupcd"/>
- <Col id="partcd"/>
- <Col id="partdetlcd"/>
- <Col id="basecdflagdesc"/>
- <Col id="basecdcnts"/>
- <Col id="choi1"/>
- <Col id="choi2"/>
- <Col id="choi3"/>
- <Col id="sortno"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_lvmdlcdlist_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="sortno" type="STRING" size="256"/>
- <Column id="basecd" type="STRING" size="256"/>
- <Column id="basecdflagdesc" type="STRING" size="256"/>
- <Column id="basecdcnts" type="STRING" size="256"/>
- <Column id="basesuppdeptcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="sortno"/>
- <Col id="basecd"/>
- <Col id="basecdflagdesc"/>
- <Col id="basecdcnts"/>
- <Col id="basesuppdeptcd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_lvsmlcdlist_partdetlcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="basecdcnts" type="STRING" size="256"/>
- <Column id="choi1" type="STRING" size="256"/>
- <Column id="choi2" type="STRING" size="256"/>
- <Column id="choi3" type="STRING" size="256"/>
- <Column id="basecdflagdesc" type="STRING" size="256"/>
- <Column id="suppdeptcd" type="STRING" size="256"/>
- <Column id="partgrupcd" type="STRING" size="256"/>
- <Column id="partcd" type="STRING" size="256"/>
- <Column id="partdetlcd" type="STRING" size="256"/>
- <Column id="sortno" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="basecdcnts"/>
- <Col id="choi1"/>
- <Col id="choi2"/>
- <Col id="choi3"/>
- <Col id="basecdflagdesc"/>
- <Col id="suppdeptcd"/>
- <Col id="partgrupcd"/>
- <Col id="partcd"/>
- <Col id="partdetlcd"/>
- <Col id="sortno"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="lrgcd" type="STRING" size="256"/>
- <Column id="mdlcd" type="STRING" size="256"/>
- <Column id="partdetlcd" type="STRING" size="256"/>
- <Column id="basecdcnts" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="lrgcd"/>
- <Col id="mdlcd"/>
- <Col id="partdetlcd"/>
- <Col id="basecdcnts"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_req_data" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_sendlv_req" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_diaglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="diagcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_temp_diagcdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="diagcd" type="STRING" size="256"/>
- <Column id="diagnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="diagcd"/>
- <Col id="diagnm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_cmb_choi1" 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">Balloon</Col>
- <Col id="value">B</Col>
- </Row>
- <Row>
- <Col id="label">Puncture</Col>
- <Col id="value">P</Col>
- </Row>
- <Row>
- <Col id="label">재료</Col>
- <Col id="value">G</Col>
- </Row>
- <Row>
- <Col id="label">SEATH INSERTION</Col>
- <Col id="value">S</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_cmb_dispnm" 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">ALL</Col>
- <Col id="value"/>
- </Row>
- <Row>
- <Col id="label">ANGIO</Col>
- <Col id="value">AG</Col>
- </Row>
- <Row>
- <Col id="label">EP</Col>
- <Col id="value">EP</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_cmb_choi2" 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">Balloon</Col>
- <Col id="value">Balloon</Col>
- </Row>
- <Row>
- <Col id="label">Puncture</Col>
- <Col id="value">Puncture</Col>
- </Row>
- <Row>
- <Col id="label">재료</Col>
- <Col id="value">재료</Col>
- </Row>
- <Row>
- <Col id="label">SEATH INSERTION</Col>
- <Col id="value">S</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_smlcdlist_diagcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp_sea.ipt_basecd" propid="value" datasetid="ds_send" columnid="lrgcd"/>
- </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
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs"
- include "ast_examcurexp::AEZ0001.xjs"
- //include "ast_commonxp::AST.xjs"
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- var arErrorCode = new HashArray();
- var gSuppdeptcd = "";
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Argument : N/A
- * Description : 데이터셋 특정컬럼 카피하여 새컬럼 생성
- ****************************************************************************************/
- function fMakeCopyColumn(objDs,sColSrc,sColTgt) {
- if(utlf_isNull(objDs.getColumnInfo(sColTgt))) objDs.addColumn(sColTgt,"string");
- for(var i = 0 ; i < objDs.rowcount ; i++) {
- objDs.setColumn(i,sColTgt,objDs.getColumn(i,sColSrc));
- }
- }
- /****************************************************************************************
- * Argument : N/A
- * Description : 선택된 대분류 코드를 기준으로 중분류 내역 가져오기
- ****************************************************************************************/
- function call_TRAER14004() {
- dsf_createDsRow("ds_req", [
- {col:"suppdeptcd", type:"STRING", size:256, val:gSuppdeptcd}
- , {col:"lrgcd", type:"STRING", size:256, val:ds_send.getColumn(0,"lrgcd")}
- , {col:"mdlcd", type:"STRING", size:256, val:ds_send.getColumn(0,"mdlcd")}
- , {col:"partdetlcd", type:"STRING", size:256, val:ds_send.getColumn(0,"partdetlcd")}
- ]);
- var oParam = {};
- oParam.id = "TRAER14004";
- oParam.service = "examcureacptexecapp.AngioMngt";
- oParam.method = "reqGetBodyPartList";
- oParam.inds = "req=ds_req";
- oParam.outds = "ds_main_mdlcdlist_partcd=partcdlist";
- oParam.async = false;
- oParam.callback = "cf_TRAER14004";
- tranf_submit(oParam);
- }
- function cf_TRAER14004(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- fMakeCopyColumn(ds_main_mdlcdlist_partcd,"basecd","oldbasecd");
- }
- /****************************************************************************************
- * Argument : N/A
- * Description : 선택된 중분류 코드를 기준으로 상세내역 가져오기
- ****************************************************************************************/
- function call_TRAER14005() {
- dsf_createDsRow("ds_req", [
- {col:"suppdeptcd", type:"STRING", size:256, val:gSuppdeptcd}
- , {col:"lrgcd", type:"STRING", size:256, ds_send.getColumn(0,"lrgcd")}
- , {col:"mdlcd", type:"STRING", size:256, ds_send.getColumn(0,"mdlcd")}
- , {col:"partdetlcd", type:"STRING", size:256, ds_send.getColumn(0,"partdetlcd")}
- ]);
- var oParam = {};
- oParam.id = "TRAER14005";
- oParam.service = "examcureacptexecapp.AngioMngt";
- oParam.method = "reqGetBodyPartDetail";
- oParam.inds = "req=ds_req";
- oParam.outds = "ds_main_smlcdlist_partdetlcd=partdetlcdlist";
- oParam.async = true;
- //oParam.callback = "cf_TRAER14005";
- tranf_submit(oParam);
- }
- /****************************************************************************************
- * Argument : N/A
- * Description : 선택된 중분류 코드를 기준으로 소분류 Level 1-1 상세내역 가져오기 (SMAER14000 화면과 공통사용)
- ****************************************************************************************/
- function call_TRAER14007() {
- dsf_createDsRow("ds_req", [
- {col:"suppdeptcd", type:"STRING", size:256, val:gSuppdeptcd}
- , {col:"lrgcd", type:"STRING", size:256, ds_send.getColumn(0,"lrgcd")}
- , {col:"mdlcd", type:"STRING", size:256, ds_send.getColumn(0,"mdlcd")}
- , {col:"partdetlcd", type:"STRING", size:256, ds_send.getColumn(0,"partdetlcd")}
- ]);
- var oParam = {};
- oParam.id = "TRAER14007";
- oParam.service = "examcureacptexecapp.AngioMngt";
- oParam.method = "reqGetLevelPartList";
- oParam.inds = "req=ds_req";
- oParam.outds = "ds_main_lvmdlcdlist_list=list";
- oParam.async = true;
- //oParam.callback = "cf_TRAER14007";
- tranf_submit(oParam);
- }
- /****************************************************************************************
- * Argument : N/A
- * Description : 변경된 상세코드내역 저장, 삭제, 수정
- ****************************************************************************************/
- function call_TXAEA03211() {
- dsf_setFixVal(ds_sendlv_req, "basecdflag:G");
- var oParam = {};
- oParam.id = "TXAEA03211";
- oParam.service = "examcurebaseapp.GoodCode";
- oParam.method = "reqExeNuclCodeList";
- oParam.inds = "req=ds_sendlv_req";
- oParam.outds = "ds_hidden=count";
- oParam.async = false;
- //oParam.callback = "cf_TXAEA03211";
- tranf_submit(oParam);
- }
- /****************************************************************************************
- * Argument : N/A
- * Description : 변경된 상세코드내역 저장, 삭제, 수정
- ****************************************************************************************/
- function call_TXAEB04301() {
- dsf_setTypeFormat(ds_send_req_data, "excutm:INT^sortno:INT");
-
- var oParam = {};
- oParam.id = "TXAEB04301";
- oParam.service = "examcurebaseapp.ExamCureCode";
- oParam.method = "reqExePartDetlClsCode";
- oParam.inds = "req=ds_send_req_data";
- oParam.outds = "ds_hidden=item";
- oParam.async = false;
- //oParam.callback = "cf_TXAEB04301";
- tranf_submit(oParam);
- }
- /****************************************************************************************
- * Argument : N/A
- * Description : 선택된 중분류 코드를 기준으로 상세내역 가져오기 (SMAER14000 화면과 공통사용)
- ****************************************************************************************/
- function call_TRAER14008()
- dsf_createDsRow("ds_req", [
- {col:"suppdeptcd", type:"STRING", size:256, val:gSuppdeptcd}
- , {col:"lrgcd", type:"STRING", size:256, val:ds_send.getColumn(0,"lrgcd")}
- , {col:"mdlcd", type:"STRING", size:256, val:ds_send.getColumn(0,"mdlcd")}
- ]);
- var oParam = {};
- oParam.id = "TRAER14008";
- oParam.service = "examcureacptexecapp.AngioMngt";
- oParam.method = "reqGetLevelPartDetail";
- oParam.inds = "req=ds_req";
- oParam.outds = "ds_main_lvsmlcdlist_partdetlcd=lvpartdetllist";
- oParam.async = true;
- //oParam.callback = "cf_TRAER14008";
- tranf_submit(oParam);
- }
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Components ID : SMAEB04100
- * Event : oninit
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 처음 초기화시 폼초기화
- ****************************************************************************************/
- function SMAEB04100_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); // 폼 초기화
- }
- /****************************************************************************************
- * Components : Form
- * Components ID : SMAEB04100
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 처음 초기화시 폼초기화
- ****************************************************************************************/
- function SMAEB04100_onload(obj:Form, e:LoadEventInfo)
- {
- lf_aezfSetSuppDeptcd(); //AEZ0001.xjs
- gSuppdeptcd = frmf_getParameter("AST_DEPTCD");
-
- grdf_setRowTypeIcon(group3.grd_partcd , 0); // 그리드 상태 표시
- grdf_setRowTypeIcon(group3.grd_partdetlcd , 0); // 그리드 상태 표시
- grdf_setRowTypeIcon(group3.grd_lv21 , 0); // 그리드 상태 표시
- grdf_setRowTypeIcon(group3.grd_lv22 , 0); // 그리드 상태 표시
- //2011.10.10 바로 조회되게 수정
- frmf_inputEnterKey("grp_sea.btn_sea", "onclick", new ClickEventInfo);
- }
- /****************************************************************************************
- * Components : Edit
- * Components ID : grp_sea.ipt_basecd
- * Event : onkeydown
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 대분류코드 입력 후 조회
- ****************************************************************************************/
- function grp_sea_ipt_basecd_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13) {
- obj.updateToDataset();
- frmf_inputEnterKey("grp_sea.btn_sea", "onclick", new ClickEventInfo);
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : grp_sea.btn_sea
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 조회
- ****************************************************************************************/
- function grp_sea_btn_sea_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_main_lrgcdlist_partgrupcd.clearData();
- ds_main_mdlcdlist_partcd.clearData();
- ds_main_smlcdlist_partdetlcd.clearData();
- ds_main_lvmdlcdlist_list.clearData(); // 소분류 Lv.1-1 초기화
- ds_main_lvsmlcdlist_partdetlcd.clearData(); // 코드상세내역 Lv.2-1 초기화
-
- // 대분류코드 전체목록을 조회하기 위한 대분류 코드그룹(Default : 000)
- ds_send.setColumn(0,"basecdcnts", "000");
-
- dsf_createDsRow("ds_req", [
- {col:"basesuppdeptcd", type:"STRING", size:256, val:gSuppdeptcd}
- , {col:"basecd", type:"STRING", size:256, val:ds_send.getColumn(0,"basecd")}
- , {col:"basecdcnts", type:"STRING", size:256, val:ds_send.getColumn(0,"basecdcnts")}
- , {col:"basecdflag", type:"STRING", size:256, val:"G"}
- , {col:"lrgcd", type:"STRING", size:256, val:ds_send.getColumn(0,"lrgcd")}
- ]);
- var oParam = {};
- oParam.id = "TRAER14001";
- oParam.service = "examcurebaseapp.GoodCode";
- oParam.method = "reqGetAGCodeList";
- oParam.inds = "req=ds_req";
- oParam.outds = "ds_main_lrgcdlist_partgrupcd=partgrupcdlist";
- oParam.async = true;
- //oParam.callback = "cf_TRAER14001";
- tranf_submit(oParam);
- // grd_partgrupcd.isReadOnly(grd_partgrupcd.topRow,1, grd_partgrupcd.bottomRow, 1) = true;
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : group3.grd_partgrupcd
- * Event : onlbuttondown
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 대분류 선택
- ****************************************************************************************/
- function group3_grd_partgrupcd_onlbuttondown(obj:Grid, e:GridMouseEventInfo)
- {
- if (e.row > -1) {
- var partgrupcd = ds_main_lrgcdlist_partgrupcd.getColumn(e.row,"basecd");
- var partcd = ds_main_mdlcdlist_partcd.getColumn(ds_main_mdlcdlist_partcd.rowposition,"basecd");
- ds_send.setColumn(0,"lrgcd",partgrupcd);
- ds_send.setColumn(0,"mdlcd",partcd);
-
- ds_main_mdlcdlist_partcd.clearData();
- ds_main_smlcdlist_diagcd.clearData();
- ds_main_smlcdlist_partdetlcd.clearData();
-
- call_TRAER14004();
-
- ds_send.setColumn(0,"lrgcd","");
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.button6
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 중분류 행추가
- ****************************************************************************************/
- function group3_button6_onclick(obj:Button, e:ClickEventInfo)
- {
- var nRow = ds_main_mdlcdlist_partcd.addRow();
- // ds_main_mdlcdlist_partcd.row = grd_partcd.bottomRow;
- var partgrupcd = ds_main_lrgcdlist_partgrupcd.getColumn(ds_main_lrgcdlist_partgrupcd.rowposition,"basecd"); // 대분류 코드
-
- ds_main_mdlcdlist_partcd.setColumn(nRow,"basesuppdeptcd", gSuppdeptcd);
- ds_main_mdlcdlist_partcd.setColumn(nRow,"basecdcnts" , partgrupcd);
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.button5
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 중분류 행삭제
- ****************************************************************************************/
- function group3_button5_onclick(obj:Button, e:ClickEventInfo)
- {
- if(ds_main_mdlcdlist_partcd.getRowType(ds_main_mdlcdlist_partcd.rowposition)==2) {
- ds_main_mdlcdlist_partcd.deleteRow(ds_main_mdlcdlist_partcd.rowposition);
- } else {
- grdf_setStatus(group3.grd_partcd, "D", [ds_main_mdlcdlist_partcd.rowposition]);
- }
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : group3.grd_partcd
- * Event : onlbuttondown
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 중분류 선택
- ****************************************************************************************/
- function group3_grd_partcd_onlbuttondown(obj:Grid, e:GridMouseEventInfo)
- {
- if (e.row > -1) {
- var partgrupcd = ds_main_lrgcdlist_partgrupcd.getColumn(ds_main_lrgcdlist_partgrupcd.rowposition,"basecd");
- var partcd = ds_main_mdlcdlist_partcd.getColumn(e.row,"basecd");
- var partdetlcd = (partcd + partgrupcd)
-
- ds_send.setColumn(0,"lrgcd" ,partgrupcd); //대분류 코드
- ds_send.setColumn(0,"mdlcd" ,partcd); //중분류 코드
- ds_send.setColumn(0,"partdetlcd",partdetlcd); //상세코드
-
- ds_main_smlcdlist_partdetlcd.clearData();
- ds_main_lvsmlcdlist_partdetlcd.clearData(); // 코드상세내역(Lv.2-1 초기화)
-
- // 선택된 중분류 코드를 기준으로 상세내역 가져오기
- call_TRAER14005();
-
- // 선택된 중분류 코드를 기준으로 소분류 Level 1-1 상세내역 가져오기 (SMAER14000 화면과 공통사용)
- call_TRAER14007();
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.button7
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 중분류 저장
- ****************************************************************************************/
- function group3_button7_onclick(obj:Button, e:ClickEventInfo)
- {
- var update = grdf_getGridUpdateData(group3.grd_partcd, "all");
-
- if(update.rowcount < 1) {
- sysf_messageBox("업데이트 정보가 없습니다.", "I");
- return 0;
- } else {
- grdf_setStatusColumn(update, "m");
- ds_sendlv_req.copyData(update,true);
-
- // 변경된 상세코드내역 저장, 삭제, 수정
- call_TXAEA03211();
- }
-
- // 변경된 상세코드내역 저장, 삭제, 수정 후 선택된 중분류코드내역 조회
- call_TRAER14004();
-
- ds_sendlv_req.clear();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.btn_add
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 코드상세내역(Lv.2) 행추가
- ****************************************************************************************/
- function group3_btn_add_onclick(obj:Button, e:ClickEventInfo)
- {
- var irow = ds_main_smlcdlist_partdetlcd.addRow();
- // grd_partdetlcd.row = grd_partdetlcd.bottomRow;
- var partgrupcd = ds_main_lrgcdlist_partgrupcd.getColumn(ds_main_lrgcdlist_partgrupcd.rowposition,"basecd"); // 대분류 코드
- var partcd = ds_main_mdlcdlist_partcd.getColumn(ds_main_mdlcdlist_partcd.rowposition,"basecd"); // 중분류 코드
- var partdetlcd = (partgrupcd + partcd + "DT" + irow); // 대,중,소 코드중 소(상세코드)는 대분류코드+중분류 조합으로 생성한다.
- ds_main_smlcdlist_partdetlcd.setColumn(irow,"suppdeptcd", gSuppdeptcd);
- ds_main_smlcdlist_partdetlcd.setColumn(irow,"partgrupcd", partgrupcd);
- ds_main_smlcdlist_partdetlcd.setColumn(irow,"partcd" , partcd);
- ds_main_smlcdlist_partdetlcd.setColumn(irow,"partdetlcd", partdetlcd);
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.btn_del
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 코드상세내역(Lv.2) 행삭제
- ****************************************************************************************/
- function group3_btn_del_onclick(obj:Button, e:ClickEventInfo)
- {
- if(ds_main_smlcdlist_partdetlcd.getRowType(ds_main_smlcdlist_partdetlcd.rowposition)==2) {
- ds_main_smlcdlist_partdetlcd.deleteRow(ds_main_smlcdlist_partdetlcd.rowposition);
- } else {
- grdf_setStatus(group3.grd_partdetlcd, "D", [ds_main_smlcdlist_partdetlcd.rowposition]);
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.btn_save
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 코드상세내역(Lv.2) 저장
- ****************************************************************************************/
- function group3_btn_save_onclick(obj:Button, e:ClickEventInfo)
- {
- var update = grdf_getGridUpdateData(group3.grd_partdetlcd, "all");
-
- if(update.rowcount < 1) {
- sysf_messageBox("업데이트 정보가 없습니다.", "I");
- return 0;
- } else {
- grdf_setStatusColumn(update, "m");
- ds_send_req_data.copyData(update,true);
-
- // 변경된 상세코드내역 저장, 삭제, 수정
- call_TXAEB04301();
- }
-
- // 변경된 상세코드내역 저장, 삭제, 수정 후 선택된 중분류코드내역 조회
- call_TRAER14005();
-
- ds_send_req_data.clear();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.button2
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 소분류 행추가
- ****************************************************************************************/
- function group3_button2_onclick(obj:Button, e:ClickEventInfo)
- {
- var irow = ds_main_lvmdlcdlist_list.addRow();
- // grd_lv21.row = grd_lv21.bottomRow;
- var basecd = ds_main_mdlcdlist_partcd.getColumn(ds_main_mdlcdlist_partcd.rowposition,"basecd"); // 상위 분류코드
- var basecdcnts = ds_main_mdlcdlist_partcd.getColumn(ds_main_mdlcdlist_partcd.rowposition,"basecdcnts"); // 상위 분류코드
- var mastercode = (basecdcnts + basecd + "LV" + irow);
- var submaster = (basecd + basecdcnts);
- ds_main_lvmdlcdlist_list.setColumn(irow,"basesuppdeptcd", gSuppdeptcd)
- ds_main_lvmdlcdlist_list.setColumn(irow,"sortno" , "0")
- ds_main_lvmdlcdlist_list.setColumn(irow,"basecd" , mastercode);
- ds_main_lvmdlcdlist_list.setColumn(irow,"basecdcnts" , submaster);
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.button1
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 소분류 행삭제
- ****************************************************************************************/
- function group3_button1_onclick(obj:Button, e:ClickEventInfo)
- {
- if(ds_main_lvmdlcdlist_list.getRowType(ds_main_lvmdlcdlist_list.rowposition)==2) {
- ds_main_lvmdlcdlist_list.deleteRow(ds_main_lvmdlcdlist_list.rowposition);
- } else {
- grdf_setStatus(group3.grd_lv21, "D", [ds_main_lvmdlcdlist_list.rowposition]);
- }
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : group3.grd_lv21
- * Event : onlbuttondown
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 소분류 선택
- ****************************************************************************************/
- function group3_grd_lv21_onlbuttondown(obj:Grid, e:GridMouseEventInfo)
- {
- if (e.row > -1) {
- // var suppdeptcd = model.getValue("/root/send/globalinstance/instance1");
- var partgrupcd = ds_main_mdlcdlist_partcd.getColumn(ds_main_mdlcdlist_partcd.rowposition,"basecd"); // 중분류 코드
- var partcd = ds_main_lvmdlcdlist_list.getColumn(e.row,"basecd"); // Level 그리드 소분류 코드
- ds_send.setColumn(0,"lrgcd",partgrupcd); //중분류 코드
- ds_send.setColumn(0,"mdlcd",partcd); //소분류 코드(Lv.1-1)
-
- ds_main_lvsmlcdlist_partdetlcd.clearData();
-
- // 선택된 중분류 코드를 기준으로 상세내역 가져오기 (SMAER14000 화면과 공통사용)
- call_TRAER14008();
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.btn_lv21save
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 소분류 저장
- ****************************************************************************************/
- function group3_btn_lv21save_onclick(obj:Button, e:ClickEventInfo)
- {
- var update = grdf_getGridUpdateData(group3.grd_lv21, "all");
-
- if(update.rowcount < 1) {
- sysf_messageBox("업데이트 정보가 없습니다.", "I");
- return 0;
- } else {
- grdf_setStatusColumn(update, "m");
- ds_sendlv_req.copyData(update,true);
-
- // 변경된 Level 1-1코드내역 저장, 삭제, 수정
- call_TXAEA03211();
- }
- // 코드상세내역(Lv.2-1 초기화)
- ds_main_lvsmlcdlist_partdetlcd.clearData();
- // 변경된 상세코드내역 저장, 삭제, 수정 후 선택된 중분류코드내역 조회
- call_TRAER14007();
-
- ds_sendlv_req.clear();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.button4
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 코드상세내역(Lv.2.1) 행추가
- ****************************************************************************************/
- function group3_button4_onclick(obj:Button, e:ClickEventInfo)
- {
- var irow = ds_main_lvsmlcdlist_partdetlcd.addRow();
- // grd_lv21.row = grd_lv21.bottomRow;
- var partgrupcd = ds_main_mdlcdlist_partcd.getColumn(ds_main_mdlcdlist_partcd.rowposition,"basecd"); // 중분류 코드
- var partcd = ds_main_lvmdlcdlist_list.getColumn(ds_main_lvmdlcdlist_list.rowposition,"basecd"); // Level 그리드 소분류 코드
- var partdetlcd = ("LevelDT" + irow); // 코드상세내역 Lv2-1 생성시 특정무자(Level) + 행ROW NUM
- ds_main_lvsmlcdlist_partdetlcd.setColumn(irow,"suppdeptcd" , gSuppdeptcd)
- ds_main_lvsmlcdlist_partdetlcd.setColumn(irow,"partgrupcd" , partgrupcd)
- ds_main_lvsmlcdlist_partdetlcd.setColumn(irow,"partcd" , partcd);
- ds_main_lvsmlcdlist_partdetlcd.setColumn(irow,"partdetlcd" , partdetlcd);
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.button3
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 코드상세내역(Lv.2.1) 행삭제
- ****************************************************************************************/
- function group3_button3_onclick(obj:Button, e:ClickEventInfo)
- {
- if(ds_main_lvsmlcdlist_partdetlcd.getRowType(ds_main_lvsmlcdlist_partdetlcd.rowposition)==2) {
- ds_main_lvsmlcdlist_partdetlcd.deleteRow(ds_main_lvsmlcdlist_partdetlcd.rowposition);
- } else {
- grdf_setStatus(group3.grd_lv22, "D", [ds_main_lvsmlcdlist_partdetlcd.rowposition]);
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.btn_lv22save
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 코드상세내역(Lv.2.1) 저장
- ****************************************************************************************/
- function group3_btn_lv22save_onclick(obj:Button, e:ClickEventInfo)
- {
- var update = grdf_getGridUpdateData(group3.grd_lv22, "all");
-
- if(update.rowcount < 1) {
- sysf_messageBox("업데이트 정보가 없습니다.", "I");
- return 0;
- } else {
- grdf_setStatusColumn(update, "m");
- ds_send_req_data.copyData(update,true);
- // 변경된 상세코드내역 저장, 삭제, 수정
- call_TXAEB04301();
- }
- // 선택된 중분류 코드를 기준으로 상세내역 가져오기
- call_TRAER14008();
-
- ds_send_req_data.clear();
- }
- ]]></Script>
- </Form>
- </FDL>
|