123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMMNN03100" position="absolute 0 0 779 670" titletext="회복실게시판" oninit="SMMNN03100_oninit" onload="SMMNN03100_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 0 778 51" align="align:center top;" id="group2" class="div_SA2">
- <Layouts>
- <Layout>
- <Static text="등록기간 :" position="absolute 35 8 121 25" id="caption2" class="search_name" anchor="default"/>
- <Calendar position="absolute 125 7 210 26" id="ipt_fromdd" class="input_search" anchor="default" dateformat="yyyy-MM-dd" value="null"/>
- <Static text="~" position="absolute 213 8 228 27" align="align:center middle;" id="caption10" anchor="default"/>
- <Calendar position="absolute 225 7 310 26" id="ipt_todd" class="input_search" anchor="default" dateformat="yyyy-MM-dd"/>
- <Static text="조회구분 :" position="absolute 35 30 132 47" id="caption3" class="search_name" anchor="default"/>
- <Combo position="absolute 125 28 210 47" id="combo1" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">T</Col>
- <Col id="datacolumn">제목</Col>
- </Row>
- <Row>
- <Col id="codecolumn">C</Col>
- <Col id="datacolumn">내용</Col>
- </Row>
- <Row>
- <Col id="codecolumn">U</Col>
- <Col id="datacolumn">등록자</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Shape position="absolute 642 7 648 42" linetype="vertical" id="line1" class="line_4" anchor="default"/>
- <Button position="absolute 655 14 711 36" id="btn_search" class="btn1" text="조회" anchor="default" onclick="group2_btn_search_onclick"/>
- <Combo position="absolute 520 5 605 24" id="combo2" enable="true" visible="false" innerdataset="@ds_init_M0636" datacolumn="cdnm" codecolumn="cdid" anchor="default" onitemchanged="group2_combo2_onitemchanged"/>
- <Static text="게시구분 :" position="absolute 430 8 516 25" id="caption1" class="search_name" visible="false" anchor="default"/>
- <Button position="absolute 715 14 771 36" id="button1" class="btn6" visible="false" text="출력" anchor="default" onclick="group2_button1_onclick"/>
- <Edit position="absolute 225 28 500 47" id="ipt_scrhvalue" anchor="default" onkeydown="group2_ipt_scrhvalue_onkeydown"/>
- </Layout>
- </Layouts>
- </Div>
- <Shape position="absolute 0 490 777 635" id="rectangle1" type="rectangle"/>
- <Grid position="absolute 0 56 778 265" id="grd_bbs" scrollbars="fixedvert" binddataset="ds_main_bbs_bbsinfo_bbslist" cellsizingtype="col" cellclickbound="cell" oncelldblclick="grd_bbs_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="50"/>
- <Column size="0"/>
- <Column size="413"/>
- <Column size="0"/>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="64"/>
- <Column size="0"/>
- <Column size="105"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="44"/>
- <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="확인"/>
- <Cell col="6" text="첨부"/>
- <Cell col="7" text="첨부파일명"/>
- <Cell col="8" text="첨부파일패스"/>
- <Cell col="9" text="작성자"/>
- <Cell col="10" text="작성자ID"/>
- <Cell col="11" text="등록일시"/>
- <Cell col="12" text="수정자"/>
- <Cell col="13" text="수정자아이디"/>
- <Cell col="14" text="수정일시"/>
- <Cell col="15" text="조회수"/>
- <Cell col="16" text="기록구분"/>
- <Cell col="17" text="삭제여부"/>
- </Band>
- <Band id="body">
- <Cell displaytype="checkbox" edittype="checkbox" text="bind:chkyn" expr="expr:(chkyn=="Y"||chkyn==1)?1:0"/>
- <Cell col="1" displaytype="text" style="align:center middle;" text="bind:bbsno"/>
- <Cell col="2" displaytype="combo" edittype="combo" text="bind:bbscls" combodataset="ds_init_M0636" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="3" displaytype="text" text="bind:title"/>
- <Cell col="4" text="bind:content"/>
- <Cell col="5" text="bind:cnfmyn"/>
- <Cell col="6" text="bind:attyn"/>
- <Cell col="7" text="bind:attfilenm"/>
- <Cell col="8" text="bind:attfilepath"/>
- <Cell col="9" text="bind:fstrgstrnm"/>
- <Cell col="10" text="bind:fstrgstrid"/>
- <Cell col="11" text="bind:fstrgstdt" mask="expr:utlf_isNull(fstrgstdt) || fstrgstdt == '-' ? '' : '####/##/## ##:##'"/>
- <Cell col="12" text="bind:lastupdtrnm"/>
- <Cell col="13" text="bind:lastupdtrid"/>
- <Cell col="14" text="bind:lastupdtdt" mask="yyyy/mm/dd hh:nn"/>
- <Cell col="15" text="bind:hitcnt"/>
- <Cell col="16" text="bind:recflag"/>
- <Cell col="17" text="bind:delyn"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape position="absolute 0 51 778 57" id="line2" class="line_10"/>
- <Shape position="absolute 0 318 673 324" id="line20" class="line_2"/>
- <Shape position="absolute 0 452 650 458" linetype="vertical" id="line3" class="line_2"/>
- <Shape position="absolute 0 476 778 482" linetype="horizontal" id="line4" class="line_3"/>
- <Button position="absolute 543 268 607 288" id="btn_cancel" class="btn2" taborder="5" visible="false" text="작성취소" onclick="btn_cancel_onclick"/>
- <Button position="absolute 608 268 650 288" id="btn_new" class="btn2" taborder="5" text="신규" onclick="btn_new_onclick"/>
- <Button position="absolute 651 268 693 288" id="btn_mod" class="btn2" taborder="5" text="수정" onclick="btn_mod_onclick"/>
- <Button position="absolute 694 268 736 288" id="btn_save" class="btn5" enable="false" taborder="5" text="저장" onclick="btn_save_onclick"/>
- <Button position="absolute 737 268 779 288" id="btn_del" class="btn5" enable="false" text="삭제" onclick="btn_del_onclick"/>
- <Static text="내용" position="absolute 0 322 79 456" align="align:center middle;" id="cap_cnts" class="cell_1"/>
- <Static text="첨부" position="absolute 0 457 79 479" align="align:center middle;" id="caption12" class="cell_1"/>
- <Edit position="absolute 81 458 536 477" id="ipt_attfilenm" maxlength="100"/>
- <Button position="absolute 585 457 627 477" id="btn_fileadd" class="btn2" visible="false" text="첨부" onclick="btn_fileadd_onclick"/>
- <Button position="absolute 630 458 672 477" id="btn_filedel" class="btn2" visible="false" text="삭제" onclick="btn_filedel_onclick"/>
- <Button position="absolute 630 457 694 477" id="btn_down" class="btn2" taborder="6" text="다운로드" onclick="btn_down_onclick"/>
- <Static text="제목" position="absolute 0 293 79 321" align="align:center middle;" id="cap_titl" class="cell_1"/>
- <Shape position="absolute 0 288 778 294" linetype="horizontal" id="line9" class="line_10"/>
- <Static text="내용" position="absolute 0 272 134 293" id="caption7" class="tit_2"/>
- <TextArea position="absolute 81 323 778 456" id="ipt_content" wordwrap="char" maxlength="4000" style="font:Dotum,14;" class="text_essential"/>
- <Button position="absolute 539 457 603 477" id="btn_preview" class="btn2" taborder="6" visible="false" text="미리보기" onclick="btn_preview_onclick"/>
- <Combo position="absolute 681 297 778 316" id="cmb_bbscls" enable="true" visible="true" innerdataset="@ds_init_M0636" datacolumn="cdnm" codecolumn="cdid"/>
- <Static text="게시구분" position="absolute 600 293 679 321" align="align:center middle;" id="caption5" class="cell_1" visible="true"/>
- <TextArea position="absolute 81 293 597 319" id="ipt_title" class="text_essential" style="padding:4 5 1 5;font:Dotum,14;" wordwrap="char" scrollbars="alwaysvert"/>
- <Grid position="absolute 7 515 770 630" id="grd_reslist" binddataset="ds_main_bbs_resinfo_reslist" cellsizingtype="col" autoenter="key">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="518"/>
- <Column size="70"/>
- <Column size="105"/>
- <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="gubn"/>
- <Cell col="6" text="bbsno"/>
- <Cell col="7" text="resno"/>
- <Cell col="8" text="supresno"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" displaytype="text" edittype="text" text="bind:resfact" editautoselect="true"/>
- <Cell col="2" text="bind:usernm"/>
- <Cell col="3" text="bind:recdd" mask="expr:utlf_isNull(recdd) || recdd == '-' ? '' : '####/##/## ##:##'"/>
- <Cell col="4" text="bind:recflag"/>
- <Cell col="5" text="bind:gubn"/>
- <Cell col="6" text="bind:bbsno"/>
- <Cell col="7" text="bind:resno"/>
- <Cell col="8" text="bind:supresno"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button position="absolute 639 494 681 513" id="btn_addcomt" class="btn2" enable="false" text="댓글" onclick="btn_addcomt_onclick"/>
- <Button position="absolute 683 494 725 513" id="btn_addcomtsave" class="btn2" enable="false" text="저장" onclick="btn_addcomtsave_onclick"/>
- <Button position="absolute 728 494 770 513" id="btn_addcomtdel" class="btn2" text="삭제" onclick="btn_addcomtdel_onclick"/>
- <Static text="확인자" position="absolute 0 637 79 669" align="align:center middle;" id="caption4" class="cell_1"/>
- <TextArea position="absolute 80 637 777 668" id="textarea1" readonly="true" wordwrap="word" style="padding:2 2 2 2;"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="hidden" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="hidden"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_bbs_resinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="bbsno" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="bbsno"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_codeinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="codeinfo" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codeinfo"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_M0636" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cdid"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_bbs_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="bbscls" type="STRING" size="256"/>
- <Column id="scrhvalue" type="STRING" size="256"/>
- <Column id="scrhgubun" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="recflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="bbscls">T</Col>
- <Col id="scrhvalue"/>
- <Col id="scrhgubun">T</Col>
- <Col id="todd"/>
- <Col id="fromdd"/>
- <Col id="recflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_bbs_bbsinfo_bbslist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep" oncolumnchanged="ds_main_bbs_bbsinfo_bbslist_oncolumnchanged">
- <ColumnInfo>
- <Column id="bbsno" type="STRING" size="256"/>
- <Column id="bbscls" type="STRING" size="256"/>
- <Column id="title" type="STRING" size="256"/>
- <Column id="content" type="STRING" size="256"/>
- <Column id="attyn" type="STRING" size="256"/>
- <Column id="attfilenm" type="STRING" size="256"/>
- <Column id="attfilepath" type="STRING" size="256"/>
- <Column id="fstrgstrnm" type="STRING" size="256"/>
- <Column id="fstrgstrid" type="STRING" size="256"/>
- <Column id="fstrgstdt" type="STRING" size="256"/>
- <Column id="lastupdtrnm" type="STRING" size="256"/>
- <Column id="lastupdtrid" type="STRING" size="256"/>
- <Column id="lastupdtdt" type="STRING" size="256"/>
- <Column id="hitcnt" type="STRING" size="256"/>
- <Column id="delyn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="bbsno"/>
- <Col id="bbscls"/>
- <Col id="title"/>
- <Col id="content"/>
- <Col id="attyn"/>
- <Col id="attfilenm"/>
- <Col id="attfilepath"/>
- <Col id="fstrgstrnm"/>
- <Col id="fstrgstrid"/>
- <Col id="fstrgstdt"/>
- <Col id="lastupdtrnm"/>
- <Col id="lastupdtrid"/>
- <Col id="lastupdtdt"/>
- <Col id="hitcnt"/>
- <Col id="delyn"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_bbs_cnfminfo_cnfmlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="cnfmnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cnfmnm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="bbsno" type="STRING" size="256"/>
- <Column id="bbscls" type="STRING" size="256"/>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="scrhgubun" type="STRING" size="256"/>
- <Column id="scrhvalue" type="STRING" size="256"/>
- <Column id="file" type="STRING" size="256"/>
- <Column id="savedata" type="STRING" size="256"/>
- <Column id="gubn" type="STRING" size="256"/>
- <Column id="recflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="bbsno"/>
- <Col id="bbscls"/>
- <Col id="fromdd"/>
- <Col id="todd"/>
- <Col id="scrhgubun"/>
- <Col id="scrhvalue"/>
- <Col id="file"/>
- <Col id="savedata"/>
- <Col id="gubn"/>
- <Col id="recflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_subsend" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="subsend" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_bbs_iteminfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="status" type="STRING" size="256"/>
- <Column id="bbsno" type="STRING" size="256"/>
- <Column id="bbscls" type="STRING" size="256"/>
- <Column id="title" type="STRING" size="256"/>
- <Column id="content" type="STRING" size="256"/>
- <Column id="attyn" type="STRING" size="256"/>
- <Column id="attfilenm" type="STRING" size="256"/>
- <Column id="attfilepath" type="STRING" size="256"/>
- <Column id="fstrgstrnm" type="STRING" size="256"/>
- <Column id="fstrgstrid" type="STRING" size="256"/>
- <Column id="fstrgstdt" type="STRING" size="256"/>
- <Column id="lastupdtrnm" type="STRING" size="256"/>
- <Column id="lastupdtrid" type="STRING" size="256"/>
- <Column id="lastupdtdt" type="STRING" size="256"/>
- <Column id="hitcnt" type="STRING" size="256"/>
- <Column id="delyn" type="STRING" size="256"/>
- <Column id="gubn" type="STRING" size="256"/>
- <Column id="recflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="status"/>
- <Col id="bbsno"/>
- <Col id="bbscls"/>
- <Col id="title"/>
- <Col id="content"/>
- <Col id="attyn"/>
- <Col id="attfilenm"/>
- <Col id="attfilepath"/>
- <Col id="fstrgstrnm"/>
- <Col id="fstrgstrid"/>
- <Col id="fstrgstdt"/>
- <Col id="lastupdtrnm"/>
- <Col id="lastupdtrid"/>
- <Col id="lastupdtdt"/>
- <Col id="hitcnt"/>
- <Col id="delyn"/>
- <Col id="gubn"/>
- <Col id="recflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_bbs_resinfo_reslist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="bbsno" type="STRING" size="256"/>
- <Column id="reslist" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send2_filename" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="name" type="STRING" size="256"/>
- <Column id="size" type="STRING" size="256"/>
- <Column id="data" type="BLOB" size="256"/>
- <Column id="type" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_attach" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="file" type="STRING" size="256"/>
- <Column id="filedata" type="BLOB" size="256"/>
- <Column id="filenm" type="STRING" size="256"/>
- <Column id="filesize" type="STRING" size="256"/>
- <Column id="filetype" type="STRING" size="256"/>
- <Column id="fullpath" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden_filelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group2.ipt_fromdd" propid="value" datasetid="ds_main_bbs_cond" columnid="fromdd"/>
- <BindItem id="item1" compid="group2.ipt_todd" propid="value" datasetid="ds_main_bbs_cond" columnid="todd"/>
- <BindItem id="item2" compid="group2.combo1" propid="value" datasetid="ds_main_bbs_cond" columnid="scrhgubun"/>
- <BindItem id="item3" compid="group2.combo2" propid="value" datasetid="ds_main_bbs_cond" columnid="bbscls"/>
- <BindItem id="item4" compid="group2.ipt_scrhvalue" propid="value" datasetid="ds_main_bbs_cond" columnid="scrhvalue"/>
- <BindItem id="item5" compid="ipt_attfilenm" propid="value" datasetid="ds_main_bbs_iteminfo" columnid="attfilenm"/>
- <BindItem id="item6" compid="ipt_content" propid="value" datasetid="ds_main_bbs_iteminfo" columnid="content"/>
- <BindItem id="item7" compid="cmb_bbscls" propid="value" datasetid="ds_main_bbs_iteminfo" columnid="bbscls"/>
- <BindItem id="item8" compid="ipt_title" propid="value" datasetid="ds_main_bbs_iteminfo" columnid="title"/>
- <BindItem id="item9" compid="textarea1" propid="value" datasetid="ds_main_bbs_cnfminfo_cnfmlist" columnid="cnfmnm"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2017-02-15
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2017-02-15 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- include "emr_carecomxp::CareCom.xjs";
- include "emr_partrtnnbabyxp::SMMNN03000.xjs";
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Description : 화면 처음 초기화시 폼초기화
- ****************************************************************************************/
- function SMMNN03100_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); // 폼 초기화
- }
- function SMMNN03100_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_setGridSort(grd_bbs); // 그리드 소트만
- grdf_setRowTypeIcon(grd_reslist, 0); // 그리드 상태 표시
-
- fInitialize();
- }
- /****************************************************************************************
- * Components : Dataset
- * Description : 체크박스 값 변경
- ****************************************************************************************/
- function ds_main_bbs_bbsinfo_bbslist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid=="chkyn") {
- obj.setColumn(e.row,e.columnid,(e.newvalue=="Y"||e.newvalue==1)?"Y":"N");
- }
- }
- /****************************************************************************************
- * Components : Combo
- * Description : 게시구분 조건 변경
- ****************************************************************************************/
- function group2_combo2_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- group2.btn_search.setFocus();
-
- fgetBbsList();
- }
- /****************************************************************************************
- * Components : Edit
- * Description : 조회조건 입력 후 엔터로 조회
- ****************************************************************************************/
- function group2_ipt_scrhvalue_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13){
- group2.btn_search.setFocus();
-
- fgetBbsList();
- }
- }
- /****************************************************************************************
- * Components : Button
- * Description : 게시판 조회
- ****************************************************************************************/
- function group2_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- fgetBbsList();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 출력
- ****************************************************************************************/
- function group2_button1_onclick(obj:Button, e:ClickEventInfo)
- {
- fPrtBbs();
- }
- /****************************************************************************************
- * Components : Grid
- * Description : 게시판 리스트 선택(더블클릭)
- ****************************************************************************************/
- function grd_bbs_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- if (e.row > -1) {
- fgetBbsDetail(e.row);
- }
- }
- /****************************************************************************************
- * Components : Button
- * Description : 작성취소
- ****************************************************************************************/
- function btn_cancel_onclick(obj:Button, e:ClickEventInfo)
- {
- btn_cancel.visible = false;
- btn_new.enable = true;
- btn_mod.enable = false;
- btn_save.enable = false;
- btn_del.enable = false;
- btn_addcomt.enable = false;
- btn_addcomtsave.enable = false;
- btn_addcomtdel.enable = false;
- btn_fileadd.visible = false;
- btn_filedel.visible = false;
- btn_down.visible = false;
- btn_preview.visible = false;
- ipt_title.enable = false;
- cmb_bbscls.enable = false;
- ipt_attfilenm.enable = false;
- dsf_makeValue( ds_main_bbs_iteminfo, "status", "string", "e");
-
- fNewBbs();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 신규
- ****************************************************************************************/
- function btn_new_onclick(obj:Button, e:ClickEventInfo)
- {
- btn_cancel.visible = true;
- btn_new.enable = false;
- btn_mod.enable = false;
- btn_save.enable = true;
- btn_del.enable = false;
- btn_fileadd.visible = true;
- btn_filedel.visible = true;
- btn_down.visible = false;
- btn_preview.visible = false;
- ipt_title.enable = true;
- ipt_content.readonly = false;
- cmb_bbscls.enable = true;
- ipt_attfilenm.enable = false;
- fNewBbs();
- dsf_makeValue( ds_main_bbs_iteminfo, "status", "string", "i");
- }
- /****************************************************************************************
- * Components : Button
- * Description : 수정
- ****************************************************************************************/
- function btn_mod_onclick(obj:Button, e:ClickEventInfo)
- {
- btn_new.enable = false;
- btn_mod.enable = false;
- btn_cancel.visible = true;
- btn_save.enable = true;
- btn_del.enable = false;
- btn_fileadd.visible = true;
- btn_filedel.visible = true;
- btn_down.visible = false;
- btn_preview.visible = false;
- ipt_title.enable = true;
- cmb_bbscls.enable = true;
- ipt_attfilenm.enable = false;
-
- dsf_makeValue( ds_main_bbs_iteminfo, "status", "string", "u");
- }
- /****************************************************************************************
- * Components : Button
- * Description : 저장
- ****************************************************************************************/
- function btn_save_onclick(obj:Button, e:ClickEventInfo)
- {
- // 각 필드값을 체크한다.
- // 제목 체크
- if(utlf_isNull(ds_main_bbs_iteminfo.getColumn(0, "title").getTrim())) {
- sysf_messageBox("제목은 ", "I003");
- ipt_title.setFocus();
- return;
- }
- // 공지내용 체크
- if(utlf_isNull(ds_main_bbs_iteminfo.getColumn(0, "content").getTrim())) {
- sysf_messageBox("내용은 ", "I003");
- ipt_content.setFocus();
- return;
- }
- fExeSave();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 삭제
- ****************************************************************************************/
- function btn_del_onclick(obj:Button, e:ClickEventInfo)
- {
- fNoticeDel();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 파일미리보기
- ****************************************************************************************/
- function btn_preview_onclick(obj:Button, e:ClickEventInfo)
- {
- fFilePreview();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 파일첨부
- ****************************************************************************************/
- function btn_fileadd_onclick(obj:Button, e:ClickEventInfo)
- {
- fFileAdd();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 파일 다운로드
- ****************************************************************************************/
- function btn_down_onclick(obj:Button, e:ClickEventInfo)
- {
- fFileDown();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 파일 삭제
- ****************************************************************************************/
- function btn_filedel_onclick(obj:Button, e:ClickEventInfo)
- {
- fFileDel();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 댓글달기
- ****************************************************************************************/
- function btn_addcomt_onclick(obj:Button, e:ClickEventInfo)
- {
- var nRow = 0;
- if (ds_main_bbs_resinfo_reslist.rowcount >= 1 ){
- nRow = ds_main_bbs_resinfo_reslist.insertRow(0);
- } else {
- nRow = ds_main_bbs_resinfo_reslist.addRow();
- }
- ds_main_bbs_resinfo_reslist.setColumn(nRow,"bbsno" ,ds_main_bbs_bbsinfo_bbslist.getColumn(ds_main_bbs_bbsinfo_bbslist.rowposition,"bbsno"));
- ds_main_bbs_resinfo_reslist.setColumn(nRow,"gubn" ,"A");
- ds_main_bbs_resinfo_reslist.setColumn(nRow,"recflag",ds_main_bbs_bbsinfo_bbslist.getColumn(ds_main_bbs_bbsinfo_bbslist.rowposition,"recflag"));
- }
- /****************************************************************************************
- * Components : Button
- * Description : 댓글저장
- ****************************************************************************************/
- function btn_addcomtsave_onclick(obj:Button, e:ClickEventInfo)
- {
- var dsUpdate = grdf_getGridUpdateData(grd_reslist, "all");
- grdf_setStatusColumn(dsUpdate, "status");
- dsf_createDs("ds_subsend_addcomt");
- ds_subsend_addcomt.copyData(dsUpdate,true);
-
- var oParam = {};
- oParam.id = "TXMNN03103";
- oParam.service = "partrtnnbabyapp.PartrtnPatMngt";
- oParam.method = "reqSetOpNrBbsAddComt";
- oParam.inds = "addcomt=ds_subsend_addcomt";
- oParam.outds = "ds_main_bbs_cnfminfo_cnfmlist=cnfmlist ds_main_bbs_resinfo_reslist=reslist";
- oParam.async = false;
- //oParam.callback = "cf_TXMNN03103";
- tranf_submit(oParam);
-
- ds_main_bbs_resinfo_reslist.applyChange();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 댓글삭제
- ****************************************************************************************/
- function btn_addcomtdel_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_main_bbs_resinfo_reslist.deleteRow(ds_main_bbs_resinfo_reslist.rowposition);
- // var cRow = ds_main_bbs_resinfo_reslist.rowposition;
- //
- // if( ds_main_bbs_resinfo_reslist.getRowType(cRow) == 2 ) {
- // ds_main_bbs_resinfo_reslist.deleteRow(cRow);
- // }else{
- // grdf_setStatus(grd_reslist, "D", [cRow]);
- // }
- }
- ]]></Script>
- </Form>
- </FDL>
|