123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMMNP07500" position="absolute 0 0 780 680" titletext="회복실게시판" onload="SMMNP07500_onload" ontimer="SMMNP07500_ontimer">
- <Layouts>
- <Layout>
- <Div position="absolute 0 0 778 60" align="align:center top;" id="group2" class="div_SA2">
- <Layouts>
- <Layout>
- <Static text="등록기간 :" position="absolute 15 10 93 27" id="caption2" class="search_name" anchor="default"/>
- <Calendar position="absolute 101 9 186 28" id="ipt_fromdd" class="input_search" anchor="default" dateformat="yyyy-MM-dd" value="null" autoselect="true"/>
- <Static text="~" position="absolute 186 9 201 28" align="align:center middle;" id="caption10" anchor="default"/>
- <Calendar position="absolute 201 9 286 28" id="ipt_todd" class="input_search" anchor="default" dateformat="yyyy-MM-dd" autoselect="true"/>
- <Static text="조회구분 :" position="absolute 15 36 96 53" id="caption3" class="search_name" anchor="default"/>
- <Combo position="absolute 101 34 186 53" 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 53" linetype="vertical" id="line1" class="line_4" anchor="default"/>
- <Button position="absolute 654 19 710 41" id="btn_search" class="btn1" text="조회" anchor="default" onclick="group2_btn_search_onclick"/>
- <Combo position="absolute 520 9 605 28" id="combo2" enable="true" visible="false" innerdataset="ds_init_M0636" datacolumn="cdnm" codecolumn="cdid" anchor="default" onitemchanged="group2_combo2_onitemchanged"/>
- <Static text="게시구분 :" position="absolute 434 11 520 28" id="caption1" class="search_name" visible="false" anchor="default"/>
- <Button position="absolute 714 19 770 41" id="button1" class="btn6" visible="false" text="출력" anchor="default" onclick="group2_button1_onclick"/>
- <Edit position="absolute 201 34 476 53" id="ipt_scrhvalue" anchor="default" onkeydown="group2_ipt_scrhvalue_onkeydown" autoselect="true"/>
- </Layout>
- </Layouts>
- </Div>
- <Shape position="absolute 0 498 778 643" id="rectangle1" type="rectangle"/>
- <Grid position="absolute 0 65 778 274" id="grd_bbs" scrollbars="fixedvert" binddataset="ds_main_bbs_bbsinfo_bbslist" oncelldblclick="grd_bbs_oncelldblclick" selecttype="multirow">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <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"/>
- </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="삭제여부"/>
- </Band>
- <Band id="body">
- <Cell displaytype="checkbox" edittype="checkbox" text="bind:chkyn" expr="expr:(chkyn=="Y"||chkyn==1)?1:0"/>
- <Cell col="1" text="bind:bbsno"/>
- <Cell col="2" displaytype="combo" edittype="combo" text="bind:bbscls" 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) ? '' : '####/##/## ##:##'"/>
- <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:delyn"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape position="absolute 0 60 778 66" id="line2" class="line_10"/>
- <Shape position="absolute 0 332 778 338" linetype="horizontal" id="line20" class="line_2"/>
- <Shape position="absolute 0 469 778 475" linetype="horizontal" id="line3" class="line_2"/>
- <Shape position="absolute 0 494 778 500" linetype="horizontal" id="line4" class="line_3"/>
- <Button position="absolute 542 282 606 302" id="btn_cancel" class="btn2" taborder="5" visible="false" text="작성취소" onclick="btn_cancel_onclick"/>
- <Button position="absolute 607 282 649 302" id="btn_new" class="btn2" taborder="5" text="신규" onclick="btn_new_onclick"/>
- <Button position="absolute 650 282 692 302" id="btn_mod" class="btn2" taborder="5" text="수정" onclick="btn_mod_onclick"/>
- <Button position="absolute 693 282 735 302" id="btn_save" class="btn5" enable="false" taborder="5" text="저장" onclick="btn_save_onclick"/>
- <Button position="absolute 736 282 778 302" id="btn_del" class="btn5" enable="false" text="삭제" onclick="btn_del_onclick"/>
- <Static text="내용" position="absolute 0 336 79 470" align="align:center middle;" id="cap_cnts" class="cell_1"/>
- <Static text="첨부" position="absolute 0 473 79 495" align="align:center middle;" id="caption12" class="cell_1"/>
- <Edit position="absolute 81 474 536 495" id="ipt_attfilenm"/>
- <Button position="absolute 585 475 627 495" id="btn_fileadd" class="btn2" visible="false" text="첨부" onclick="btn_fileadd_onclick"/>
- <Button position="absolute 630 475 672 495" id="btn_filedel" class="btn2" visible="false" text="삭제" onclick="btn_filedel_onclick"/>
- <Button position="absolute 627 475 691 495" id="btn_down" class="btn2" taborder="6" text="다운로드" onclick="btn_down_onclick"/>
- <Static text="제목" position="absolute 0 307 79 335" align="align:center middle;" id="cap_titl" class="cell_1"/>
- <Shape position="absolute 0 302 778 308" id="line9" class="line_10"/>
- <Static text="내용" position="absolute 0 286 134 302" id="caption7" class="tit_2"/>
- <Button position="absolute 539 475 603 495" id="btn_preview" class="btn2" taborder="6" visible="false" text="미리보기" onclick="btn_preview_onclick"/>
- <Combo position="absolute 681 311 778 330" id="cmb_bbscls" enable="true" visible="true" innerdataset="@ds_init_M0636" datacolumn="cdnm" codecolumn="cdid"/>
- <Static text="게시구분" position="absolute 600 307 679 335" align="align:center middle;" id="caption5" class="cell_1" visible="true"/>
- <Grid position="absolute 7 523 772 637" id="grd_reslist" binddataset="ds_main_bbs_resinfo_reslist" cellsizingtype="both" cellsizebandtype="allband" extendsizetype="row" selecttype="multirow" oncelldblclick="grd_reslist_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="20" band="left"/>
- <Column size="518"/>
- <Column size="70"/>
- <Column size="105"/>
- <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="gubn"/>
- <Cell col="5" text="bbsno"/>
- <Cell col="6" text="resno"/>
- <Cell col="7" text="supresno"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" displaytype="text" edittype="textarea" text="bind:resfact" editautoselect="true"/>
- <Cell col="2" text="bind:usernm"/>
- <Cell col="3" text="bind:recdd" mask="expr:utlf_isNull(recdd) ? '' : '####/##/## ##:##'"/>
- <Cell col="4" text="bind:gubn"/>
- <Cell col="5" text="bind:bbsno"/>
- <Cell col="6" text="bind:resno"/>
- <Cell col="7" text="bind:supresno"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button position="absolute 642 502 684 522" id="btn_addcomt" class="btn2" enable="false" text="댓글" onclick="btn_addcomt_onclick"/>
- <Button position="absolute 686 502 728 522" id="btn_addcomtsave" class="btn2" enable="false" text="저장" onclick="btn_addcomtsave_onclick"/>
- <Button position="absolute 730 502 772 522" id="btn_addcomtdel" class="btn2" text="삭제" onclick="btn_addcomtdel_onclick"/>
- <Static text="확인자" position="absolute 0 645 79 677" align="align:center middle;" id="caption4" class="cell_1"/>
- <TextArea id="ipt_title" taborder="7" scrollbars="alwaysvert" wordwrap="char" class="text_essential" position="absolute 81 307 597 333" style="padding:4 5 1 5;font:Dotum,14;"/>
- <TextArea id="ipt_content" taborder="8" wordwrap="char" maxlength="4000" class="text_essential" position="absolute 81 336 778 470" style="font:Dotum,14;"/>
- <TextArea id="textarea1" taborder="9" readonly="true" position="absolute 80 645 778 677"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_bbs_bbsinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </Dataset>
- <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_main_bbs_resinfo_reslist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
- <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" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="M0636" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="M0636"/>
- </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"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="bbscls">T</Col>
- <Col id="scrhvalue"/>
- <Col id="scrhgubun">T</Col>
- <Col id="todd"/>
- <Col id="fromdd"/>
- </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_main_bbs" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </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"/>
- </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"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_bbs_cnfminfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </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"/>
- </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"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_M0636" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" 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_main_bbs_resinfo_cnfmlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_filelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="attfilepath" type="STRING" size="255"/>
- <Column id="attfilecnts" type="BLOB" size="255" encript="base64"/>
- </ColumnInfo>
- </Dataset>
- </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="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="item6" compid="ipt_content" propid="value" datasetid="ds_main_bbs_iteminfo" columnid="content"/>
- <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 : 2016-11-17
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2016-11-17 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- include "emr_carecomxp::CareCom.xjs";
- include "emr_opanstxp::SMMNP07500.xjs";
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Description : 화면 처음 초기화시 폼초기화
- ****************************************************************************************/
- function SMMNP07500_onload(obj:Form, e:LoadEventInfo)
- {
- frmf_initForm(obj); // 폼 초기화
-
- 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 : 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 : Edit
- * Description : 조회조건 변경
- ****************************************************************************************/
- function group2_ipt_scrhvalue_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13) {
- group2.btn_search.setFocus();
- fgetBbsList();
- }
- }
- /****************************************************************************************
- * Components : Combo
- * Description : 게시구분 변경
- ****************************************************************************************/
- function group2_combo2_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- group2.btn_search.setFocus();
- fgetBbsList();
- }
- /****************************************************************************************
- * 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;
- 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 > 0 ){
- nRow = ds_main_bbs_resinfo_reslist.insertRow(0);
- }else if (ds_main_bbs_resinfo_reslist.rowcount == 0){
- 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");
- }
- /****************************************************************************************
- * 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 = "TXMNP00503";
- oParam.service = "opanstapp.OpAnstRec";
- oParam.method = "reqSetOpNrBbsAddComt";
- oParam.inds = "addcomt=ds_subsend_addcomt";
- oParam.outds = "ds_main_bbs_resinfo_cnfmlist=cnfmlist ds_main_bbs_resinfo_reslist=reslist";
- oParam.async = false;
- oParam.callback = "cf_TXMNP00503";
- 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);
- }
- function grd_reslist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- obj.showEditor(true);
- }
- ]]></Script>
- </Form>
- </FDL>
|