12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMMNR02100" position="absolute 0 0 1199 778" titletext="Untitle" oninit="SMMNR02100_oninit" onload="SMMNR02100_onload">
- <Layouts>
- <Layout>
- <Static id="caption6" text="진술문set 복사관리" class="tit_1" position="absolute 0 0 192 25"/>
- <Static id="caption42" text="원본(복사할) SET 리스트" class="tit_2" position="absolute 0 39 194 61"/>
- <Shape id="line18" class="line_10" position="absolute 0 55 215 61"/>
- <Shape id="line1" class="line_10" position="absolute 220 55 592 61"/>
- <Static id="caption1" text="원본(복사할) SET 구성정보" class="tit_2" position="absolute 0 364 191 385"/>
- <Shape id="line2" class="line_10" position="absolute 0 380 592 386"/>
- <Static id="caption2" text="Clone(복사될) SET 리스트" class="tit_2" position="absolute 598 39 788 61"/>
- <Static id="caption3" text="Clone(복사될) SET 구성정보" class="tit_2" position="absolute 597 364 801 385"/>
- <Shape id="line3" class="line_10" position="absolute 817 55 1189 61" anchor="left top right"/>
- <Shape id="line4" class="line_10" position="absolute 597 380 1189 386" anchor="left top right"/>
- <Shape id="line5" class="line_10" position="absolute 597 55 812 61"/>
- <Grid id="grd_orglrggrupinfo" taborder="2" binddataset="ds_main_lrggrupinfo_orglrggruplist" useinputpanel="false" position="absolute 0 60 215 355" autoenter="select" autofittype="col" cellsizingtype="col" treeusecheckbox="false" treeuseimage="false" treeinitstatus="expand,all" oncellclick="grd_orglrggrupinfo_oncellclick" tooltiptype="hover">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="21"/>
- <Column size="0"/>
- <Column size="174"/>
- <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="dept"/>
- <Cell col="2" text="분류명"/>
- <Cell col="3" text="grupcd"/>
- <Cell col="4" text="grupflag"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" text="bind:depth"/>
- <Cell col="2" displaytype="tree" edittype="tree" style="align:left middle;" text="bind:hngnm" treestartlevel="1" treelevel="bind:depth" tooltiptext="bind:hngnm"/>
- <Cell col="3" text="bind:grupcd"/>
- <Cell col="4" text="bind:grupflag"/>
- </Band>
- </Format>
- </Formats>
- <Layouts>
- <Layout width="215" height="295"/>
- </Layouts>
- </Grid>
- <Grid id="grd_orgstmtsetinfo" taborder="3" binddataset="ds_main_original_stmtsetinfo_stmtsetlist" useinputpanel="false" position="absolute 0 385 592 770" autoenter="select" autofittype="none" cellsizingtype="both" anchor="left top bottom" autosizingtype="row" extendsizetype="row">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="24"/>
- <Column size="58"/>
- <Column size="36"/>
- <Column size="268"/>
- <Column size="80"/>
- <Column size="101"/>
- <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="SET 진술명"/>
- <Cell col="4" text="등록일자"/>
- <Cell col="5" text="등록자"/>
- <Cell col="6" text="stmtcd"/>
- <Cell col="7" text="grupcd"/>
- <Cell col="8" text="attrcnt"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:dnarflag" suppress="1" suppressalign="middle,over" combodataset="ds_init_dnarflag_itemset" combocodecol="cd" combodatacol="nm"/>
- <Cell col="2" displaytype="checkbox" edittype="checkbox" text="bind:check" expr="expr:check == 'true' ? 1 : 0"/>
- <Cell col="3" style="align:left middle;padding:1 2 1 2;color:EXPR(color);color2:EXPR(color);" text="bind:stmtcnts" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="4" displaytype="date" text="bind:fstrgstdt" suppress="2" suppressalign="middle,over" calendardisplaynulltype="nulltext"/>
- <Cell col="5" text="bind:fstrgstrnm" suppress="3" suppressalign="middle,over"/>
- <Cell col="6" text="bind:stmtcd"/>
- <Cell col="7" text="bind:grupcd"/>
- <Cell col="8" text="bind:attrcnt"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="btn_copyset" taborder="4" text="복사" class="btn2" position="absolute 550 36 592 55" onclick="btn_copyset_onclick"/>
- <Button id="btn_copystmt" taborder="5" text="복사" class="btn2" position="absolute 550 361 592 380" onclick="btn_copystmt_onclick"/>
- <Grid id="grd_clonelrggrupinfo" taborder="6" binddataset="ds_main_lrggrupinfo_clonelrggruplist" useinputpanel="false" position="absolute 597 60 812 355" autoenter="select" autofittype="col" cellsizingtype="col" treeuseimage="false" treeusecheckbox="false" treeinitstatus="expand,all" oncellclick="grd_clonelrggrupinfo_oncellclick" tooltiptype="hover">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="21"/>
- <Column size="0"/>
- <Column size="174"/>
- <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="dept"/>
- <Cell col="2" text="그룹이름"/>
- <Cell col="3" text="grupcd"/>
- <Cell col="4" text="deptcd"/>
- <Cell col="5" text="grupflag"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" text="bind:depth"/>
- <Cell col="2" displaytype="tree" edittype="tree" style="align:left middle;" text="bind:hngnm" treestartlevel="1" treelevel="bind:depth" tooltiptext="bind:hngnm"/>
- <Cell col="3" text="bind:grupcd"/>
- <Cell col="4" text="bind:deptcd"/>
- <Cell col="5" text="bind:grupflag"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_orgsetgrupinfo" taborder="7" binddataset="ds_main_original_setinfo_setlist" useinputpanel="false" position="absolute 220 60 592 355" autoenter="select" autofittype="col" cellsizingtype="col" oncelldblclick="grd_orgsetgrupinfo_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="21"/>
- <Column size="33"/>
- <Column size="285"/>
- <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="SET 이름"/>
- <Cell col="3" text="grupcd"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:check" expr="expr:check == 'true' ? 1 : 0"/>
- <Cell col="2" style="align:left middle;padding:0 0 0 3;" text="bind:hngnm"/>
- <Cell col="3" text="bind:grupcd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_clonesetgrupinfo" taborder="8" binddataset="ds_main_clone_setinfo_setlist" useinputpanel="false" position="absolute 817 60 1189 355" autoenter="select" autofittype="col" cellsizingtype="col" anchor="left top right" oncelldblclick="grd_clonesetgrupinfo_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="21"/>
- <Column size="39"/>
- <Column size="285"/>
- <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="SET 이름"/>
- <Cell col="3" text="grupcd"/>
- <Cell col="4" text="deptcd"/>
- <Cell col="5" text="grupflag"/>
- <Cell col="6" text="supcd"/>
- <Cell col="7" text="todd"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" displaytype="combo" edittype="combo" style="align:center middle;color:EXPR(color1);color2:EXPR(color1);" text="bind:status" combodataset="ds_init_statusflag_itemset" combocodecol="cd" combodatacol="nm"/>
- <Cell col="2" style="align:left middle;padding:0 0 0 3;" text="bind:hngnm"/>
- <Cell col="3" text="bind:grupcd"/>
- <Cell col="4" text="bind:deptcd"/>
- <Cell col="5" text="bind:grupflag"/>
- <Cell col="6" text="bind:supcd"/>
- <Cell col="7" text="bind:todd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_clonestmtsetinfo" taborder="9" binddataset="ds_main_clone_stmtsetinfo_stmtsetlist" useinputpanel="false" position="absolute 597 385 1189 770" autoenter="select" autofittype="none" anchor="all" oncelldblclick="grd_clonestmtsetinfo_oncelldblclick" autosizingtype="row" cellsizingtype="both" extendsizetype="row">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="38"/>
- <Column size="58"/>
- <Column size="271"/>
- <Column size="84"/>
- <Column size="95"/>
- <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="SET 진술명"/>
- <Cell col="4" text="등록일자"/>
- <Cell col="5" text="등록자"/>
- <Cell col="6" text="stmtcd"/>
- <Cell col="7" text="grupcd"/>
- <Cell col="8" text="todd"/>
- <Cell col="9" text="attrcnt"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" displaytype="combo" edittype="combo" style="align:center middle;color:EXPR(color1);color2:EXPR(color1);" text="bind:status" combodataset="ds_init_statusflag_itemset" combocodecol="cd" combodatacol="nm"/>
- <Cell col="2" displaytype="combo" edittype="combo" style="align:center middle;color:EXPR(color1);color2:EXPR(color1);" text="bind:dnarflag" suppress="1" suppressalign="middle,over" combodataset="ds_init_dnarflag_itemset" combocodecol="cd" combodatacol="nm"/>
- <Cell col="3" celltype="none" style="align:left middle;padding:1 2 1 2;color:EXPR(color);color2:EXPR(color);" text="bind:stmtcnts" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="4" displaytype="date" text="bind:fstrgstdt" suppress="2" suppressalign="middle,over" calendardisplaynulltype="nulltext"/>
- <Cell col="5" text="bind:fstrgstrnm" suppress="3" suppressalign="middle,over"/>
- <Cell col="6" text="bind:stmtcd"/>
- <Cell col="7" text="bind:grupcd"/>
- <Cell col="8" text="bind:todd"/>
- <Cell col="9" text="bind:attrcnt"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Edit id="opt_orglrggrupnm" taborder="10" readonly="true" position="absolute 220 36 483 55" class="output" style="color:#993300ff;font:Dotum,9,bold;"/>
- <Edit id="opt_orgsetnm" taborder="11" readonly="true" position="absolute 220 361 418 380" class="output" style="color:#0000ffff;font:Dotum,9,bold;"/>
- <Edit id="opt_clonelrggrupnm" taborder="12" readonly="true" position="absolute 817 36 1095 55" class="output" anchor="top right" style="color:#993300ff;font:Dotum,9,bold;"/>
- <Edit id="opt_clonesetnm" taborder="13" readonly="true" position="absolute 817 361 1097 380" class="output" style="color:#ff0000ff;font:Dotum,9,bold;"/>
- <Button id="btn_cnclset" taborder="14" text="취소" class="btn2" position="absolute 1102 36 1144 55" anchor="top right" onclick="btn_cnclset_onclick"/>
- <Button id="btn_saveset" taborder="15" text="저장" class="btn5" position="absolute 1147 36 1189 55" anchor="top right" onclick="btn_saveset_onclick"/>
- <Button id="btn_cnclstmt" taborder="16" text="취소" class="btn2" position="absolute 1102 361 1144 380" anchor="top right" onclick="btn_cnclstmt_onclick"/>
- <Button id="btn_savestmt" taborder="17" text="저장" class="btn5" position="absolute 1147 361 1189 380" anchor="top right" onclick="btn_savestmt_onclick"/>
- <Button id="btn_totalselset" taborder="18" text="전체선택" class="btn2" position="absolute 485 36 549 55" onclick="btn_totalselset_onclick"/>
- <Button id="btn_totalselstmt" taborder="19" text="전체선택" class="btn2" position="absolute 484 361 548 380" onclick="btn_totalselstmt_onclick"/>
- <Combo id="combo1" taborder="20" innerdataset="ds_init_dnarflag_itemset" codecolumn="cd" datacolumn="nm" class="combo_search" position="absolute 420 361 482 380" onitemchanged="combo1_onitemchanged"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_hidden_cond_original" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="lrggrupnm" type="STRING" size="256"/>
- <Column id="lrggrupcd" type="STRING" size="256"/>
- <Column id="setnm" type="STRING" size="256"/>
- <Column id="setcd" type="STRING" size="256"/>
- <Column id="dnarflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="lrggrupnm"/>
- <Col id="lrggrupcd"/>
- <Col id="setnm"/>
- <Col id="setcd"/>
- <Col id="dnarflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_cond_clone" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="lrggrupnm" type="STRING" size="256"/>
- <Column id="lrggrupcd" type="STRING" size="256"/>
- <Column id="setnm" type="STRING" size="256"/>
- <Column id="setcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="lrggrupnm"/>
- <Col id="lrggrupcd"/>
- <Col id="setnm"/>
- <Col id="setcd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_dnarflag_itemset" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="nm" type="STRING" size="256"/>
- <Column id="cd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="nm">전체</Col>
- <Col id="cd">%</Col>
- </Row>
- <Row>
- <Col id="nm">D</Col>
- <Col id="cd">1D</Col>
- </Row>
- <Row>
- <Col id="nm">N</Col>
- <Col id="cd">2N</Col>
- </Row>
- <Row>
- <Col id="nm">A</Col>
- <Col id="cd">3A</Col>
- </Row>
- <Row>
- <Col id="nm">R</Col>
- <Col id="cd">4R</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_lrggrupinfo_orglrggruplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="depth" type="STRING" size="256" sumtext="레벨"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="그룹명"/>
- <Column id="grupcd" type="STRING" size="256" sumtext="그룹코드"/>
- <Column id="grupflag" type="STRING" size="256" sumtext="그룹구분"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_original_setinfo_setlist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_original_setinfo_setlist_oncolumnchanged">
- <ColumnInfo>
- <Column id="check" type="STRING" size="256" sumtext="선택"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="그룹명"/>
- <Column id="grupcd" type="STRING" size="256" sumtext="그룹코드"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_lrggrupinfo_clonelrggruplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="depth" type="STRING" size="256" sumtext="레벨"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="그룹명"/>
- <Column id="grupcd" type="STRING" size="256" sumtext="그룹코드"/>
- <Column id="deptcd" type="STRING" size="256" sumtext="그룹코드"/>
- <Column id="grupflag" type="STRING" size="256" sumtext="그룹구분"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_clone_setinfo_setlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="status" type="STRING" size="256" sumtext="상태"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="한글명"/>
- <Column id="grupcd" type="STRING" size="256" sumtext="그룹코드"/>
- <Column id="deptcd" type="STRING" size="256" sumtext="부서코드"/>
- <Column id="grupflag" type="STRING" size="256" sumtext="그룹구분"/>
- <Column id="supcd" type="STRING" size="256" sumtext="상위코드"/>
- <Column id="todd" type="STRING" size="256" sumtext="종료일자"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_statusflag_itemset" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="nm" type="STRING" size="256"/>
- <Column id="cd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="nm">-</Col>
- <Col id="cd">-</Col>
- </Row>
- <Row>
- <Col id="nm">입력</Col>
- <Col id="cd">I</Col>
- </Row>
- <Row>
- <Col id="nm">삭제</Col>
- <Col id="cd">D</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_original_stmtsetinfo_stmtsetlist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_original_stmtsetinfo_stmtsetlist_oncolumnchanged">
- <ColumnInfo>
- <Column id="check" type="STRING" size="256" sumtext="선택"/>
- <Column id="dnarflag" type="STRING" size="256" sumtext="dnar구분"/>
- <Column id="stmtcnts" type="STRING" size="256" sumtext="진술문장"/>
- <Column id="fstrgstdt" type="STRING" size="256" sumtext="최초등록일자"/>
- <Column id="fstrgstrnm" type="STRING" size="256" sumtext="최초등록자명"/>
- <Column id="stmtcd" type="STRING" size="256" sumtext="진술문코드"/>
- <Column id="grupcd" type="STRING" size="256" sumtext="그룹코드"/>
- <Column id="attrcnt" type="STRING" size="256" sumtext="속성갯수"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_clone_stmtsetinfo_stmtsetlist" firefirstcount="0" firenextcount="0" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="status" type="STRING" size="256" sumtext="상태"/>
- <Column id="dnarflag" type="STRING" size="256" sumtext="dnar구분"/>
- <Column id="stmtcnts" type="STRING" size="256" sumtext="진술문장"/>
- <Column id="fstrgstdt" type="STRING" size="256" sumtext="최초등록일자"/>
- <Column id="fstrgstrnm" type="STRING" size="256" sumtext="최초등록자명"/>
- <Column id="stmtcd" type="STRING" size="256" sumtext="진술문코드"/>
- <Column id="grupcd" type="STRING" size="256" sumtext="그룹코드"/>
- <Column id="todd" type="STRING" size="256" sumtext="종료일자"/>
- <Column id="attrcnt" 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"/>
- <Dataset id="ds_hidden_clone_setinfo_setlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_clone_stmtsetinfo_stmtsetlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_setlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_stmtsetlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="opt_orglrggrupnm" propid="value" datasetid="ds_hidden_cond_original" columnid="lrggrupnm"/>
- <BindItem id="item1" compid="opt_clonelrggrupnm" propid="value" datasetid="ds_hidden_cond_clone" columnid="lrggrupnm"/>
- <BindItem id="item2" compid="opt_orgsetnm" propid="value" datasetid="ds_hidden_cond_original" columnid="setnm"/>
- <BindItem id="item3" compid="combo1" propid="value" datasetid="ds_hidden_cond_original" columnid="dnarflag"/>
- <BindItem id="item4" compid="opt_clonesetnm" propid="value" datasetid="ds_hidden_cond_clone" columnid="setnm"/>
- </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 xLrgGrupInfoPath = "ds_main_lrggrupinfo";
- var xCondPath = "ds_hidden_cond";
- var xOrgSetInfoPath = "ds_main_original_setinfo_setlist";
- var xCloneSetListPath = "ds_main_clone_setinfo_setlist";
- var xCloneSetInfoPath = "ds_main_clone_setinfo_setlist";
- var xOrgStmtSetInfoPath = "ds_main_original_stmtsetinfo_stmtsetlist";
- var xCloneStmtSetListPath = "ds_main_clone_stmtsetinfo_stmtsetlist";
- var xCloneStmtSetInfoPath = "ds_main_clone_stmtsetinfo_stmtsetlist";
- var xCloneSetInfoPath_BK = "ds_hidden_clone_setinfo_setlist";
- var xCloneStmtSetInfoPath_BK = "ds_hidden_clone_stmtsetinfo_stmtsetlist";
- var arErrorCode = new HashArray();
- function SMMNR02100_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMMNR02100_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(grd_orglrggrupinfo);
- grdf_initGrid(grd_orgsetgrupinfo);
- grdf_initGrid(grd_clonelrggrupinfo);
- grdf_initGrid(grd_clonesetgrupinfo);
- grdf_initGrid(grd_orgstmtsetinfo);
- grdf_initGrid(grd_clonestmtsetinfo);
-
- fInit();
- }
- function fInit()
- {
- eval(xCondPath+"_original").setColumn(0, "dnarflag", "%");
- dsf_makeValue(ds_send, "mode", "string", "clone");
- dsf_makeValue(ds_send, "deptcd", "string", sysf_getUserInfo("postdeptcd")); // 부서코드 입력
-
- var oParam = {};
- oParam.id = "TRMNR02101";
- oParam.service = "carerecapp.StmtMngt";
- oParam.method = "reqGetGrupList";
- oParam.inds = "refCond=ds_send";
- oParam.outds = "ds_main_lrggrupinfo_orglrggruplist=orglrggruplist ds_main_lrggrupinfo_clonelrggruplist=clonelrggruplist";
- oParam.async = false;
- //oParam.callback = "cf_TRMNR02101";
- tranf_submit(oParam);
-
- eval(xOrgSetInfoPath).clearData();
- eval(xCloneSetListPath).clearData();
- eval(xOrgStmtSetInfoPath).clearData();
- eval(xCloneStmtSetListPath).clearData();
- }
- function grd_orglrggrupinfo_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- fSrchSetList("original");
- }
- function fSrchSetList(pFlag)
- {
- var iLrgGrupRow = 0;
- ds_send.clear();
-
- var sGrupFlag = "";
- var sDepth = 0;
- switch(pFlag)
- {
- case "original" :
- iLrgGrupRow = ds_main_lrggrupinfo_orglrggruplist.rowposition;
- if(iLrgGrupRow < 0) return;
- sDepth = eval(xLrgGrupInfoPath+"_orglrggruplist").getColumn(iLrgGrupRow, "depth");
- sGrupFlag = eval(xLrgGrupInfoPath+"_orglrggruplist").getColumn(iLrgGrupRow, "grupflag");
-
- if((sDepth < 3 && sGrupFlag == "3" ) || (sDepth < 2 && sGrupFlag != "5") || (sDepth < 2 && sGrupFlag == "5"))
- {
- eval(xOrgSetInfoPath).clearData();
- eval(xOrgStmtSetInfoPath).clearData();
- eval(xCondPath+"_original").clearData();
- eval(xCondPath+"_original").addRow();
-
- sDepth = eval(xLrgGrupInfoPath+"_orglrggruplist").getColumn(iLrgGrupRow, "depth");
- sRowCnt = ds_main_lrggrupinfo_orglrggruplist.rowcount;
-
- if(grd_orglrggrupinfo.getTreeStatus(iLrgGrupRow) == 1)
- {
- sBoolStatus = false;
- }
- else
- {
- sBoolStatus = true;
- }
-
- for(var i = iLrgGrupRow; i < sRowCnt; i++)
- {
- iDepth = eval(xLrgGrupInfoPath+"_orglrggruplist").getColumn(i, "depth");
- if(i == iLrgGrupRow)
- {
- grd_orglrggrupinfo.setTreeStatus(i, sBoolStatus);
- }
- else if(i != iLrgGrupRow && sDepth < iDepth)
- {
- grd_orglrggrupinfo.setTreeStatus(i, sBoolStatus);
- }
- else
- {
- break;
- }
- }
- return;
- }
-
- eval(xCondPath+"_original").setColumn(0, "lrggrupnm", eval(xLrgGrupInfoPath+"_orglrggruplist").getColumn(iLrgGrupRow, "hngnm"));
- eval(xCondPath+"_original").setColumn(0, "lrggrupcd", eval(xLrgGrupInfoPath+"_orglrggruplist").getColumn(iLrgGrupRow, "grupcd"));
- dsf_makeValue(ds_send, "lrggrupcd", "string", eval(xCondPath+"_original").getColumn(0, "lrggrupcd"));
-
- var oParam = {};
- oParam.id = "TRMNR02102";
- oParam.service = "carerecapp.StmtMngt";
- oParam.method = "reqGetSetList";
- oParam.inds = "refCond=ds_send";
- oParam.outds = "ds_main_original_setinfo_setlist=setlist";
- oParam.async = false;
- oParam.callback = "cf_submit";
- tranf_submit(oParam);
- if(arErrorCode.pop("TRMNR02102") > -1)
- {
- eval(xOrgStmtSetInfoPath).clearData();
- eval(xCondPath+"_original").setColumn(0, "setnm","");
- eval(xCondPath+"_original").setColumn(0, "setcd","");
- }
- break;
-
- case "clone" :
- iLrgGrupRow = ds_main_lrggrupinfo_clonelrggruplist.rowposition;
- if(iLrgGrupRow < 0) return;
- sDepth = eval(xLrgGrupInfoPath+"_clonelrggruplist").getColumn(iLrgGrupRow, "depth");
- sGrupFlag = eval(xLrgGrupInfoPath+"_clonelrggruplist").getColumn(iLrgGrupRow, "grupflag");
-
- if((sDepth < 3 && sGrupFlag == "3" ) || (sDepth < 2 && sGrupFlag != "5") || (sDepth < 2 && sGrupFlag == "5"))
- {
- eval(xCloneSetListPath).clearData();
- eval(xCloneStmtSetListPath).clearData();
- eval(xCondPath+"_clone").clearData();
- eval(xCondPath+"_clone").addRow();
-
- sDepth = eval(xLrgGrupInfoPath+"_clonelrggruplist").getColumn(iLrgGrupRow, "depth");
- sRowCnt = ds_main_lrggrupinfo_clonelrggruplist.rowcount;
- if(grd_clonelrggrupinfo.getTreeStatus(iLrgGrupRow) == 1)
- {
- sBoolStatus = false;
- }
- else
- {
- sBoolStatus = true;
- }
-
- for(var i = iLrgGrupRow; i < sRowCnt; i++)
- {
- iDepth = eval(xLrgGrupInfoPath+"_clonelrggruplist").getColumn(i, "depth");
- if(i==iLrgGrupRow)
- {
- grd_clonelrggrupinfo.setTreeStatus(i, sBoolStatus);
- }
- else if(i != iLrgGrupRow && sDepth < iDepth)
- {
- grd_clonelrggrupinfo.setTreeStatus(i, sBoolStatus);
- }
- else
- {
- break;
- }
- }
- return;
- }
- eval(xCondPath+"_clone").setColumn(0, "lrggrupnm", eval(xLrgGrupInfoPath+"_clonelrggruplist").getColumn(iLrgGrupRow, "hngnm"));
- eval(xCondPath+"_clone").setColumn(0, "lrggrupcd", eval(xLrgGrupInfoPath+"_clonelrggruplist").getColumn(iLrgGrupRow, "grupcd"));
- dsf_makeValue(ds_send, "lrggrupcd", "string", eval(xCondPath+"_clone").getColumn(0, "lrggrupcd"));
-
- var oParam = {};
- oParam.id = "TRMNR02103";
- oParam.service = "carerecapp.StmtMngt";
- oParam.method = "reqGetSetList";
- oParam.inds = "refCond=ds_send";
- oParam.outds = "ds_main_clone_setinfo_setlist=setlist";
- oParam.async = false;
- oParam.callback = "cf_submit";
- tranf_submit(oParam);
- if(arErrorCode.pop("TRMNR02103") > -1)
- {
- eval(xCloneStmtSetListPath).clearData();
- eval(xCondPath+"_clone").setColumn(0, "setnm","");
- eval(xCondPath+"_clone").setColumn(0, "setcd","");
- eval(xCloneSetInfoPath_BK).copyData(xCloneSetInfoPath);
- }
- break;
- }
- }
- function grd_orgsetgrupinfo_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- fSrchStmtList("original");
- }
- function fSrchStmtList(pFlag)
- {
- ds_send.clear();
- iSetRow = 0;
- switch(pFlag)
- {
- case "original" :
- iSetRow = ds_main_original_setinfo_setlist.rowposition;
- if(iSetRow < 0) return;
- eval(xCondPath+"_original").setColumn(0, "setnm", eval(xOrgSetInfoPath).getColumn(iSetRow, "hngnm"));
- eval(xCondPath+"_original").setColumn(0, "setcd", eval(xOrgSetInfoPath).getColumn(iSetRow, "grupcd"));
-
- dsf_makeValue(ds_send, "grupcd", "string", eval(xCondPath+"_original").getColumn(0, "setcd"));
- dsf_makeValue(ds_send, "dnarflag", "string", eval(xCondPath+"_original").getColumn(0, "dnarflag"));
-
- var oParam = {};
- oParam.id = "TRMNR02104";
- oParam.service = "carerecapp.StmtMngt";
- oParam.method = "reqGetStmtSetCopyList";
- oParam.inds = "refCond=ds_send";
- oParam.outds = "ds_main_original_stmtsetinfo_stmtsetlist=stmtsetlist";
- oParam.async = false;
- oParam.callback = "cf_submit";
- tranf_submit(oParam);
- if(arErrorCode.pop("TRMNR02104") > -1)
- {
- fSettingGridStyle("original");
- }
- break;
- case "clone" :
- iSetRow = ds_main_clone_setinfo_setlist.rowposition;
- if(iSetRow < 0) return;
- eval(xCondPath+"_clone").setColumn(0, "setnm",eval(xCloneSetListPath).getColumn(iSetRow, "hngnm"));
- eval(xCondPath+"_clone").setColumn(0, "setcd",eval(xCloneSetListPath).getColumn(iSetRow, "grupcd"));
-
- dsf_makeValue(ds_send, "grupcd", "string", eval(xCondPath+"_clone").getColumn(0, "setcd"));
-
- var oParam = {};
- oParam.id = "TRMNR02105";
- oParam.service = "carerecapp.StmtMngt";
- oParam.method = "reqGetStmtSetCopyList";
- oParam.inds = "refCond=ds_send";
- oParam.outds = "ds_main_clone_stmtsetinfo_stmtsetlist=stmtsetlist";
- oParam.async = false;
- oParam.callback = "cf_submit";
- tranf_submit(oParam);
- if(arErrorCode.pop("TRMNR02105") > -1)
- {
- fSettingGridStyle("clone");
- eval(xCloneStmtSetInfoPath_BK).copyData(xCloneStmtSetInfoPath);
- }
- break;
- }
- }
- function fSettingGridStyle(pFlag)
- {
- switch(pFlag)
- {
- case "original" :
- for(var iRow = 0; iRow < ds_main_original_stmtsetinfo_stmtsetlist.rowcount; iRow++)
- {
- dsf_makeValue(ds_main_original_stmtsetinfo_stmtsetlist, "color", "string", "#000000", iRow);
- if(eval(xOrgStmtSetInfoPath).getColumn(iRow, "attrcnt") > 0)
- {
- dsf_makeValue(ds_main_original_stmtsetinfo_stmtsetlist, "color", "string", "#33CC33", iRow);
- }
- }
- break;
- case "clone" : // 복사될 리스트
- for(var iRow = 0; iRow < ds_main_clone_stmtsetinfo_stmtsetlist.rowcount; iRow++)
- {
- dsf_makeValue(ds_main_clone_stmtsetinfo_stmtsetlist, "color", "string", "#000000", iRow);
- if(eval(xCloneStmtSetListPath).getColumn(iRow, "attrcnt") > 0)
- {
- dsf_makeValue(ds_main_clone_stmtsetinfo_stmtsetlist, "color", "string", "#33CC33", iRow);
- }
- }
- break;
- }
- }
- function cf_submit(sSvcId, nErrorCode, sErrorMsg)
- {
- arErrorCode.push(sSvcId, nErrorCode);
- if(nErrorCode < 0) return;
- }
- function ds_main_original_setinfo_setlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid == "check")
- {
- obj.setColumn(e.row, "check", (e.newvalue == "true" || e.newvalue == 1) ? "true" : "false");
- }
- }
- function grd_clonelrggrupinfo_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- fSrchSetList("clone");
- }
- function grd_clonesetgrupinfo_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- fSrchStmtList("clone");
- }
- function btn_totalselset_onclick(obj:Button, e:ClickEventInfo)
- {
- fTotalSelect("set");
- }
- function fTotalSelect(pFlag)
- {
- switch(pFlag)
- {
- case "set" : // SET
- for(var iRow = 0; iRow < ds_main_original_setinfo_setlist.rowcount; iRow++)
- {
- eval(xOrgSetInfoPath).setColumn(iRow, "check","true");
- }
- case "stmt" : // 진술문
- for(var iRow = 0; iRow < ds_main_original_stmtsetinfo_stmtsetlist.rowcount; iRow++)
- {
- eval(xOrgStmtSetInfoPath).setColumn(iRow, "check","true");
- }
- }
- }
- function btn_copyset_onclick(obj:Button, e:ClickEventInfo)
- {
- fCopyStmtInfo("set");
- }
- function fCopyStmtInfo(pFlag)
- {
- switch(pFlag)
- {
- case "set" : // SET 복사
- var sLrgGrupCD = eval(xCondPath+"_clone").getColumn(0, "lrggrupcd");
- var sInputChk = false;
- if(utlf_isNull(sLrgGrupCD))
- {
- sysf_messageBox("그룹을 먼저","C002");
- return;
- }
- var sSetCnt = ds_main_original_setinfo_setlist.rowcount;
- var iCloneSetRow = ds_main_clone_setinfo_setlist.rowcount;
- var iLrgGrupRow = ds_main_lrggrupinfo_clonelrggruplist.rowposition;
- var sGrupcd = "";
- var sGrupnm = "";
- var sGrupFlag = eval(xLrgGrupInfoPath+"_clonelrggruplist").getColumn(iLrgGrupRow, "grupflag");
- var sDeptCD = "";
- if(sGrupFlag == 3 || sGrupFlag == 5)
- {
- sDeptCD = eval(xLrgGrupInfoPath+"_clonelrggruplist").getColumn(iLrgGrupRow, "deptcd");
- }
- for(var iRow = 0; iRow < sSetCnt; iRow++)
- {
- if(eval(xOrgSetInfoPath).getColumn(iRow, "check") == "true")
- {
- sGrupcd = eval(xOrgSetInfoPath).getColumn(iRow, "grupcd");
- sGrupnm = eval(xOrgSetInfoPath).getColumn(iRow, "hngnm");
- if(!utlf_isNull(eval(xCloneSetListPath).lookupExpr("grupcd == '"+sGrupcd+"' || hngnm =='"+sGrupnm+"'", "grupcd"))) continue;
-
- iCloneSetRow = ds_main_clone_setinfo_setlist.addRow();
- eval(xCloneSetListPath).setColumn(iCloneSetRow, "status","I");
-
- dsf_makeValue(ds_main_clone_setinfo_setlist, "color1", "string", "#FF0000", iCloneSetRow);
-
- eval(xCloneSetListPath).setColumn(iCloneSetRow, "hngnm", eval(xOrgSetInfoPath).getColumn(iRow, "hngnm"));
- eval(xCloneSetListPath).setColumn(iCloneSetRow, "grupcd", eval(xOrgSetInfoPath).getColumn(iRow, "grupcd"));
- eval(xCloneSetListPath).setColumn(iCloneSetRow, "supcd", sLrgGrupCD);
- eval(xCloneSetListPath).setColumn(iCloneSetRow, "grupflag", sGrupFlag);
- eval(xCloneSetListPath).setColumn(iCloneSetRow, "todd", "99991231235959");
-
- if(sGrupFlag == 3 || sGrupFlag == 5)
- {
- eval(xCloneSetListPath).setColumn(iCloneSetRow, "deptcd", sDeptCD);
- }
- sInputChk = true;
- }
- }
- if(sInputChk == true)
- {
- eval(xCloneStmtSetListPath).clearData();
-
- eval(xCondPath+"_clone").setColumn(0, "setcd","");
- eval(xCondPath+"_clone").setColumn(0, "setnm","");
- }
- break;
- case "stmt" : // 진술문 복사
- var sSetCD = eval(xCondPath+"_clone").getColumn(0, "setcd");
- var sStatus = eval(xCloneSetListPath).getColumn(ds_main_clone_setinfo_setlist.rowposition, "status");
- if(utlf_isNull(sSetCD))
- {
- sysf_messageBox("SET을 먼저","C002");
- return;
- }
- if(sStatus == "I")
- {
- sysf_messageBox("SET을 먼저 저장한 후에","C002");
- return;
- }
- var sStmtCnt = ds_main_original_stmtsetinfo_stmtsetlist.rowcount;
- var iStmtSetRow = ds_main_clone_stmtsetinfo_stmtsetlist.rowcount;
- var sStmtCD = "";
- fSettingGridStyle("clone");
-
- for(var iRow = 0; iRow < sStmtCnt; iRow++)
- {
- if(eval(xOrgStmtSetInfoPath).getColumn(iRow, "check") == "true")
- {
- sStmtCD = eval(xOrgStmtSetInfoPath).getColumn(iRow, "stmtcd");
- if(!utlf_isNull(eval(xCloneStmtSetListPath).lookup("stmtcd", sStmtCD, "stmtcd"))) continue;
-
- iStmtSetRow = ds_main_clone_stmtsetinfo_stmtsetlist.addRow();
-
- eval(xCloneStmtSetListPath).setColumn(iStmtSetRow, "status","I");
- eval(xCloneStmtSetListPath).setColumn(iStmtSetRow, "dnarflag",eval(xOrgStmtSetInfoPath).getColumn(iRow, "dnarflag"));
-
- dsf_makeValue(ds_main_clone_stmtsetinfo_stmtsetlist, "color1", "string", "#FF0000", iStmtSetRow);
- eval(xCloneStmtSetListPath).setColumn(iStmtSetRow, "stmtcnts", eval(xOrgStmtSetInfoPath).getColumn(iRow, "stmtcnts"));
- eval(xCloneStmtSetListPath).setColumn(iStmtSetRow, "fstrgstrnm", "-");
- eval(xCloneStmtSetListPath).setColumn(iStmtSetRow, "stmtcd", sStmtCD);
- eval(xCloneStmtSetListPath).setColumn(iStmtSetRow, "grupcd", sSetCD);
- eval(xCloneStmtSetListPath).setColumn(iStmtSetRow, "todd", "99991231235959");
- eval(xCloneStmtSetListPath).setColumn(iStmtSetRow, "attrcnt", eval(xOrgStmtSetInfoPath).getColumn(iRow, "attrcnt"));
- }
- }
- break;
- }
- }
- function grd_clonestmtsetinfo_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- fCnclStmtInfo("stmt");
- }
- function fCnclStmtInfo(pFlag)
- {
- var iRow = 0;
- var sStatus = "";
- switch(pFlag)
- {
- case "set" : // SET 복사
- iRow = ds_main_clone_setinfo_setlist.rowposition;
- if(iRow < 0) return;
- sStatus = eval(xCloneSetListPath).getColumn(iRow, "status");
- if(sStatus == "I")
- {
- ds_main_clone_setinfo_setlist.deleteRow(iRow);
- }
- else if(sStatus == "-")
- {
- eval(xCloneSetListPath).setColumn(iRow, "status", "D");
- }
- else if(sStatus == "D")
- {
- eval(xCloneSetListPath).setColumn(iRow, "status", "-");
- }
- break;
- case "stmt" : // 진술문 복사
- iRow = ds_main_clone_stmtsetinfo_stmtsetlist.rowposition;
- if(iRow < 0) return;
- sStatus = eval(xCloneStmtSetListPath).getColumn(iRow, "status");
- if(sStatus == "I")
- {
- ds_main_clone_stmtsetinfo_stmtsetlist.deleteRow(iRow);
- }
- else if(sStatus == "-")
- {
- eval(xCloneStmtSetListPath).setColumn(iRow, "status","D");
- }
- else if(sStatus == "D")
- {
- eval(xCloneStmtSetListPath).setColumn(iRow, "status","-");
- }
- break;
- }
- }
- function combo1_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- fSrchStmtList("original");
- }
- function btn_totalselstmt_onclick(obj:Button, e:ClickEventInfo)
- {
- fTotalSelect("stmt");
- }
- function btn_copystmt_onclick(obj:Button, e:ClickEventInfo)
- {
- fCopyStmtInfo("stmt");
- }
- function btn_cnclstmt_onclick(obj:Button, e:ClickEventInfo)
- {
- fCnclStmtInfo("stmt");
- }
- function btn_savestmt_onclick(obj:Button, e:ClickEventInfo)
- {
- fSave("stmt");
- }
- function btn_cnclset_onclick(obj:Button, e:ClickEventInfo)
- {
- fCnclStmtInfo("set");
- }
- function btn_saveset_onclick(obj:Button, e:ClickEventInfo)
- {
- fSave("set");
- }
- function fSave(pFlag)
- {
- ds_send.clear();
- ds_send_setlist.clearData();
- ds_send_stmtsetlist.clearData();
-
- switch(pFlag)
- {
- case "set" : // SET
- if(dsf_getDsCSV(eval(xCloneSetInfoPath), "", "", "","") == dsf_getDsCSV(eval(xCloneSetInfoPath_BK), "", "", "",""))
- {
- sysf_messageBox("변경된 데이터가","I004");
- return;
- }
-
- var updategrid = grdf_getGridUpdateData(grd_clonesetgrupinfo, "i");
- ds_send_setlist.copyData(updategrid, true);
- dsf_makeValue(ds_send, "lrggrupcd", "string", eval(xCondPath+"_clone").getColumn(0, "lrggrupcd"));
-
- var oParam = {};
- oParam.id = "TXMNR02101";
- oParam.service = "carerecapp.StmtMngt";
- oParam.method = "reqExeSetList";
- oParam.inds = "refCond=ds_send setlist=ds_send_setlist";
- oParam.outds = "ds_main_clone_setinfo_setlist=setlist";
- oParam.async = false;
- oParam.callback = "cf_submit";
- tranf_submit(oParam);
- if(arErrorCode.pop("TXMNR02101") > -1)
- {
- eval(xCloneStmtSetListPath).clearData();
-
- eval(xCondPath+"_clone").setColumn(0, "setcd","");
- eval(xCondPath+"_clone").setColumn(0, "setnm","");
- eval(xCloneSetInfoPath_BK).copyData(xCloneSetInfoPath);
- fSettingGridStyle("original");
- }
- break;
- case "stmt" : // 진술문
- if(dsf_getDsCSV(eval(xCloneStmtSetInfoPath), "", "", "","") == dsf_getDsCSV(eval(xCloneStmtSetInfoPath_BK), "", "", "",""))
- {
- sysf_messageBox("변경된 데이터가","I004");
- return;
- }
- var updategrid = grdf_getGridUpdateData(grd_clonestmtsetinfo, "i");
- ds_send_stmtsetlist.copyData(updategrid, true);
-
- dsf_makeValue(ds_send, "grupcd", "string", eval(xCondPath+"_clone").getColumn(0, "setcd"));
-
- var oParam = {};
- oParam.id = "TXMNR02102";
- oParam.service = "carerecapp.StmtMngt";
- oParam.method = "reqExeStmtSetCopyList";
- oParam.inds = "refCond=ds_send stmtsetlist=ds_send_stmtsetlist";
- oParam.outds = "ds_main_clone_stmtsetinfo_stmtsetlist=stmtsetlist";
- oParam.async = false;
- oParam.callback = "cf_submit";
- tranf_submit(oParam);
- if(arErrorCode.pop("TXMNR02102") > -1)
- {
- eval(xCloneStmtSetInfoPath_BK).copyData(xCloneStmtSetInfoPath);
- fSettingGridStyle("clone");
- }
- break;
- }
- }
- function ds_main_original_stmtsetinfo_stmtsetlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid == "check")
- {
- obj.setColumn(e.row, "check", (e.newvalue == "true" || e.newvalue == 1) ? "true" : "false");
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|