123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPZSN00700" classname="SPZSN00700_인증관련QnA" inheritanceid="" position="absolute 0 0 778 768" titletext="인증관련 Q&A" oninit="SPZSN00700_oninit" onload="SPZSN00700_onload">
- <Layouts>
- <Layout>
- <Static id="Static00" text="인증관련 Q&A" position="absolute 0 0 116 25" class="tit_1"/>
- <Div id="div_search" taborder="1" position="absolute 0 24 778 60" class="div_SA">
- <Layouts>
- <Layout>
- <Static id="Static00" text="구분 :" position="absolute 16 9 68 29" class="search_name"/>
- <Radio id="rdo_reqtype" taborder="0" columncount="-1" rowcount="-1" position="absolute 65 9 301 29" codecolumn="codecolumn" datacolumn="datacolumn" style="textpadding:0 8 0 3;">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">0</Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">지침</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">절차변경</Col>
- </Row>
- <Row>
- <Col id="codecolumn">3</Col>
- <Col id="datacolumn">기타</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static id="Static01" text="문의일자 :" class="search_name" position="absolute 311 9 387 29"/>
- <Calendar id="cal_fromdd" taborder="1" position="absolute 385 9 485 29" dateformat="yyyy-MM-dd ddd" value="null" autoselect="true"/>
- <Calendar id="cal_todd" taborder="2" position="absolute 501 9 601 29" value="null" dateformat="yyyy-MM-dd ddd" autoselect="true"/>
- <Static id="Static02" text="~" position="absolute 488 9 496 29"/>
- <Shape id="Shape00" position="absolute 679 9 691 29" linetype="vertical"/>
- <Button id="btn_print" taborder="5" text="출력" class="btn6" position="absolute 641 9 701 29" visible="false"/>
- <Button id="btn_excel" taborder="3" text="Excel" class="btn7" position="absolute 702 9 762 29" visible="false"/>
- <Button id="btn_search" taborder="7" text="조회" onclick="div_search_btn_search_onclick" class="btn1" position="absolute 702 9 762 29"/>
- </Layout>
- </Layouts>
- </Div>
- <Shape id="Shape00" position="absolute 0 62 778 66" class="line_10"/>
- <Grid id="grd_qnalist" taborder="2" useinputpanel="false" position="absolute 0 66 778 415" binddataset="ds_qnalist" oncelldblclick="grd_qnalist_oncelldblclick" autofittype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="60"/>
- <Column size="437"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="80"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="No."/>
- <Cell col="1" text="상태"/>
- <Cell col="2" text="구분"/>
- <Cell col="3" text="제목"/>
- <Cell col="4" text="게시자"/>
- <Cell col="5" text="조회"/>
- <Cell col="6" text="게시일"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="bind:seqno"/>
- <Cell col="1" displaytype="combo" style="align:center middle;" text="bind:status" combodataset="ds_status" combocodecol="value" combodatacol="label"/>
- <Cell col="2" displaytype="combo" style="align:center middle;" text="bind:reqtype" combodataset="ds_reqtype" combocodecol="value" combodatacol="label"/>
- <Cell col="3" displaytype="text" text="bind:reqtitle"/>
- <Cell col="4" displaytype="normal" text="bind:requser"/>
- <Cell col="5" text="bind:hitcount"/>
- <Cell col="6" displaytype="date" text="bind:reqdate"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="Static01" text="문의" position="absolute 0 422 76 442" class="tit_2"/>
- <Shape id="Shape01" class="line_10" position="absolute 0 439 778 443"/>
- <Button id="btn_new" taborder="3" text="신규문의" position="absolute 582 418 646 438" class="btn2" onclick="btn_new_onclick"/>
- <Button id="btn_save" taborder="5" text="문의저장" class="btn5" position="absolute 648 418 712 438" enable="false" onclick="btn_save_onclick"/>
- <Button id="btn_del" taborder="6" text="문의삭제" class="btn5" position="absolute 714 418 778 438" enable="false" onclick="btn_del_onclick"/>
- <Shape id="Shape06" position="absolute 0 607 778 619"/>
- <Div id="div_req" taborder="45" position="absolute -10 434 778 596" enable="false">
- <Layouts>
- <Layout>
- <MaskEdit id="medt_reqdate" taborder="3" displaynulltext=" " type="string" mask="####-##-## ##:##:##" trimtype="both" autoselect="true" class="text_essential" enable="false" position="absolute 664 32 788 52" style=":disabled {color:#262626ff;}" anchor="default"/>
- <Static id="Static15" text="게시일" class="cell_1" position="absolute 582 32 662 54" style="padding:0 0 0 0;align:center middle;" anchor="default"/>
- <Static id="Static07" text="문의 내용" class="cell_1" position="absolute 10 78 90 156" style="padding:0 0 0 0;align:center middle;" anchor="default"/>
- <Shape id="Shape05" position="absolute 10 150 788 162" anchor="default"/>
- <TextArea id="ta_reqcontent" taborder="2" autoselect="true" class="text_essential" position="absolute 92 78 788 154" anchor="default" imemode="hangul" style=":disabled {color:#262626ff;}"/>
- <Edit id="edt_reqdeptnm" taborder="4" autoselect="true" class="text_essential" enable="false" position="absolute 523 55 788 75" style=":disabled {color:#262626ff;}" anchor="default"/>
- <Static id="Static06" text="부서" class="cell_1" position="absolute 441 55 521 77" style="padding:0 0 0 0;align:center middle;" anchor="default"/>
- <Edit id="edt_reqtel" taborder="1" autoselect="true" class="text_essential" position="absolute 308 55 439 75" anchor="default" inputtype="number,symbol" useime="none" style=":disabled {color:#262626ff;}"/>
- <Static id="Static05" text="연락처" class="cell_1" position="absolute 226 55 306 77" style="padding:0 0 0 0;align:center middle;" anchor="default"/>
- <Edit id="edit_requser" taborder="5" autoselect="true" class="text_essential" enable="false" position="absolute 92 55 224 75" style=":disabled {color:#262626ff;}" anchor="default"/>
- <Static id="Static04" text="게시자" class="cell_1" position="absolute 10 55 90 77" style="padding:0 0 0 0;align:center middle;" anchor="default"/>
- <Shape id="Shape04" position="absolute 10 71 788 83" anchor="default"/>
- <Static id="Static03" text="제목" class="cell_1" position="absolute 10 32 90 54" style="padding:0 0 0 0;align:center middle;" anchor="default"/>
- <Static id="Static02" text="구분" class="cell_1" position="absolute 10 9 90 31" style="padding:0 0 0 0;align:center middle;" anchor="default"/>
- <Shape id="Shape03" position="absolute 10 48 788 60" anchor="default"/>
- <Shape id="Shape02" position="absolute 10 29 788 33" anchor="default"/>
- <Edit id="edt_reqtitle" taborder="0" autoselect="true" class="text_essential" position="absolute 92 32 580 52" anchor="default" imemode="hangul" style=":disabled {color:#262626ff;}"/>
- <Radio id="rdo_reqtype" taborder="6" columncount="-1" rowcount="-1" codecolumn="value" datacolumn="label" position="absolute 92 10 272 30" style="textpadding:0 4 0 3;" anchor="default" innerdataset="@ds_reqtype"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="Static08" text="첨부" class="cell_1" position="absolute 0 591 80 613" style="padding:0 0 0 0;align:center middle;"/>
- <Edit id="edt_reqattfilenm" taborder="46" autoselect="true" position="absolute 82 591 536 611" enable="false" style=":disabled {color:#262626ff;}"/>
- <Button id="btn_reqfileadd" taborder="47" text="첨부" class="btn2" position="absolute 538 591 580 611" onclick="btn_reqfileadd_onclick" enable="false"/>
- <Button id="btn_reqpreview" taborder="48" text="미리보기" class="btn2" position="absolute 582 591 646 611" enable="false" onclick="btn_reqpreview_onclick"/>
- <Button id="btn_reqdownload" taborder="49" text="다운로드" class="btn2" position="absolute 648 591 712 611" enable="false" onclick="btn_reqdownload_onclick"/>
- <Button id="btn_reqfiledel" taborder="50" text="첨부삭제" class="btn5" position="absolute 714 591 778 611" enable="false" onclick="btn_reqfiledel_onclick"/>
- <Div id="div_ans" taborder="51" text="Div00" position="absolute 0 616 778 768" enable="false">
- <Layouts>
- <Layout>
- <Static id="Static09" text="응답" class="tit_2" position="absolute 0 4 76 24" anchor="default"/>
- <Shape id="Shape07" class="line_10" position="absolute 0 21 778 25" anchor="default"/>
- <Static id="Static11" text="응답자" class="cell_1" position="absolute 372 0 428 20" style="padding:0 0 0 0;align:center middle;" anchor="default"/>
- <Edit id="edt_ansuser" taborder="1" autoselect="true" position="absolute 430 0 530 20" anchor="default" style=":disabled {color:#262626ff;}" enable="false"/>
- <Static id="Static12" text="응답일" class="cell_1" position="absolute 532 0 588 20" style="padding:0 0 0 0;align:center middle;" anchor="default"/>
- <Button id="btn_answer" taborder="2" text="응답저장" class="btn5" position="absolute 714 0 778 20" anchor="default" onclick="div_ans_btn_answer_onclick"/>
- <TextArea id="ta_anscontent" taborder="3" autoselect="true" position="absolute 82 25 778 101" anchor="default" imemode="hangul" style=":disabled {color:#262626ff;}"/>
- <Static id="Static13" text="상태" class="cell_1" position="absolute 0 127 80 149" style="padding:0 0 0 0;align:center middle;" anchor="default"/>
- <Shape id="Shape08" position="absolute 0 97 778 109" anchor="default"/>
- <Radio id="rdo_status" taborder="4" columncount="5" rowcount="0" innerdataset="@ds_status" codecolumn="value" datacolumn="label" position="absolute 82 128 438 148" rdo_status="[object Radio]" anchor="default"/>
- <Shape id="Shape09" position="absolute 0 120 778 132" anchor="default"/>
- <Static id="Static10" text="응답 내용" class="cell_1" position="absolute 0 25 80 103" style="padding:0 0 0 0;align:center middle;" anchor="default"/>
- <Shape id="Shape10" class="line_1" position="absolute 0 150 778 152" anchor="default"/>
- <MaskEdit id="medt_ansdate" taborder="10" displaynulltext=" " type="string" mask="####-##-## ##:##:##" trimtype="both" autoselect="true" position="absolute 590 0 712 20" anchor="default" style=":disabled {color:#262626ff;}" enable="false"/>
- </Layout>
- </Layouts>
- <InitValue>
- <Radio id="rdo_status" taborder="22" columncount="5" rowcount="0" position="absolute 82 744 438 764" codecolumn="codecolumn" datacolumn="datacolumn"/>
- </InitValue>
- </Div>
- <Button id="btn_ansfiledel" taborder="52" text="첨부삭제" class="btn5" position="absolute 714 720 778 740" enable="false" onclick="btn_ansfiledel_onclick"/>
- <Button id="btn_ansdownload" taborder="53" text="다운로드" class="btn2" position="absolute 648 720 712 740" enable="false" onclick="btn_ansdownload_onclick"/>
- <Button id="btn_anspreview" taborder="54" text="미리보기" class="btn2" position="absolute 582 720 646 740" enable="false" onclick="btn_anspreview_onclick"/>
- <Button id="btn_ansfileadd" taborder="55" text="첨부" class="btn2" position="absolute 538 720 580 740" enable="false" onclick="btn_ansfileadd_onclick"/>
- <Edit id="edt_ansattfilenm" taborder="56" autoselect="true" position="absolute 82 720 536 740" enable="false" style=":disabled {color:#262626ff;}"/>
- <Static id="Static14" text="첨부" class="cell_1" position="absolute 0 720 80 742" style="padding:0 0 0 0;align:center middle;"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="reqtype" type="STRING" size="256"/>
- <Column id="reqfromdd" type="STRING" size="256"/>
- <Column id="reqtodd" type="STRING" size="256"/>
- <Column id="editmode" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="reqtype">0</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_qnalist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="seqno" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="reqtype" type="STRING" size="256"/>
- <Column id="reqdate" type="STRING" size="256"/>
- <Column id="reqid" type="STRING" size="256"/>
- <Column id="requser" type="STRING" size="256"/>
- <Column id="reqdeptcd" type="STRING" size="256"/>
- <Column id="reqdeptnm" type="STRING" size="256"/>
- <Column id="reqphone" type="STRING" size="256"/>
- <Column id="reqtitle" type="STRING" size="256"/>
- <Column id="reqcontent" type="STRING" size="256"/>
- <Column id="reqattfilenm" type="STRING" size="256"/>
- <Column id="reqattfilepath" type="STRING" size="256"/>
- <Column id="ansdate" type="STRING" size="256"/>
- <Column id="ansid" type="STRING" size="256"/>
- <Column id="ansuser" type="STRING" size="256"/>
- <Column id="anscontent" type="STRING" size="256"/>
- <Column id="ansattfilenm" type="STRING" size="256"/>
- <Column id="ansattfilepath" type="STRING" size="256"/>
- <Column id="status" type="STRING" size="256"/>
- <Column id="hitcount" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_qnainfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="seqno" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="reqtype" type="STRING" size="256"/>
- <Column id="reqdate" type="STRING" size="256"/>
- <Column id="reqid" type="STRING" size="256"/>
- <Column id="requser" type="STRING" size="256"/>
- <Column id="reqdeptcd" type="STRING" size="256"/>
- <Column id="reqdeptnm" type="STRING" size="256"/>
- <Column id="reqphone" type="STRING" size="256"/>
- <Column id="reqtitle" type="STRING" size="256"/>
- <Column id="reqcontent" type="STRING" size="256"/>
- <Column id="reqattfilenm" type="STRING" size="256"/>
- <Column id="reqattfilepath" type="STRING" size="256"/>
- <Column id="ansdate" type="STRING" size="256"/>
- <Column id="ansid" type="STRING" size="256"/>
- <Column id="ansuser" type="STRING" size="256"/>
- <Column id="anscontent" type="STRING" size="256"/>
- <Column id="ansattfilenm" type="STRING" size="256"/>
- <Column id="ansattfilepath" type="STRING" size="256"/>
- <Column id="status" type="STRING" size="256"/>
- <Column id="hitcount" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_status" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">대기</Col>
- <Col id="value">0</Col>
- </Row>
- <Row>
- <Col id="label">진행</Col>
- <Col id="value">1</Col>
- </Row>
- <Row>
- <Col id="label">보류</Col>
- <Col id="value">2</Col>
- </Row>
- <Row>
- <Col id="label">완료</Col>
- <Col id="value">3</Col>
- </Row>
- <Row>
- <Col id="label">반려</Col>
- <Col id="value">9</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_qnahitcount" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="hitcount" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_reqtype" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="value" type="STRING" size="256"/>
- <Column id="label" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="value">1</Col>
- <Col id="label">지침</Col>
- </Row>
- <Row>
- <Col id="value">2</Col>
- <Col id="label">절차변경</Col>
- </Row>
- <Row>
- <Col id="value">3</Col>
- <Col id="label">기타</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_ans_auth" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="deptcd" type="STRING" size="256"/>
- <Column id="deptnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="deptcd">4071100000</Col>
- <Col id="deptnm">의료질관리실</Col>
- <Col id="instcd">031</Col>
- </Row>
- <Row>
- <Col id="deptcd">4071200000</Col>
- <Col id="deptnm">의료질관리과</Col>
- <Col id="instcd">031</Col>
- </Row>
- <Row>
- <Col id="deptcd">4071201000</Col>
- <Col id="deptnm">의료질관리팀</Col>
- <Col id="instcd">031</Col>
- </Row>
- <Row>
- <Col id="deptcd">3320100000</Col>
- <Col id="deptnm">의료질관리팀</Col>
- <Col id="instcd">032</Col>
- </Row>
- <Row>
- <Col id="deptcd">3350000000</Col>
- <Col id="deptnm">의료질관리실</Col>
- <Col id="instcd">032</Col>
- </Row>
- <Row>
- <Col id="instcd">031</Col>
- <Col id="deptcd">4130100000</Col>
- <Col id="deptnm">의료정보센터</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_req_file" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="filedata" type="BLOB" size="0"/>
- <Column id="filenm" type="STRING" size="256"/>
- <Column id="filesize" type="STRING" size="256"/>
- <Column id="filetype" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_ans_file" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="filedata" type="BLOB" size="0"/>
- <Column id="filenm" type="STRING" size="256"/>
- <Column id="filesize" type="STRING" size="256"/>
- <Column id="filetype" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_qna_result" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="seqno" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="reqattfilepath" type="STRING" size="256"/>
- <Column id="ansattfilepath" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_fileinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="seqno" type="STRING" size="256"/>
- <Column id="gubun" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_file" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="attfilecnts" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item10" compid="edt_reqattfilenm" propid="value" datasetid="ds_qnainfo" columnid="reqattfilenm"/>
- <BindItem id="item0" compid="div_search.rdo_reqtype" propid="value" datasetid="ds_send" columnid="reqtype"/>
- <BindItem id="item1" compid="div_search.cal_fromdd" propid="value" datasetid="ds_send" columnid="reqfromdd"/>
- <BindItem id="item2" compid="div_search.cal_todd" propid="value" datasetid="ds_send" columnid="reqtodd"/>
- <BindItem id="item5" compid="div_req.medt_reqdate" propid="value" datasetid="ds_qnainfo" columnid="reqdate"/>
- <BindItem id="item9" compid="div_req.ta_reqcontent" propid="value" datasetid="ds_qnainfo" columnid="reqcontent"/>
- <BindItem id="item8" compid="div_req.edt_reqdeptnm" propid="value" datasetid="ds_qnainfo" columnid="reqdeptnm"/>
- <BindItem id="item7" compid="div_req.edt_reqtel" propid="value" datasetid="ds_qnainfo" columnid="reqphone"/>
- <BindItem id="item6" compid="div_req.edit_requser" propid="value" datasetid="ds_qnainfo" columnid="requser"/>
- <BindItem id="item4" compid="div_req.edt_reqtitle" propid="value" datasetid="ds_qnainfo" columnid="reqtitle"/>
- <BindItem id="item3" compid="div_req.rdo_reqtype" propid="value" datasetid="ds_qnainfo" columnid="reqtype"/>
- <BindItem id="item11" compid="div_ans.edt_ansuser" propid="value" datasetid="ds_qnainfo" columnid="ansuser"/>
- <BindItem id="item13" compid="div_ans.ta_anscontent" propid="value" datasetid="ds_qnainfo" columnid="anscontent"/>
- <BindItem id="item15" compid="div_ans.rdo_status" propid="value" datasetid="ds_qnainfo" columnid="status"/>
- <BindItem id="item12" compid="div_ans.medt_ansdate" propid="value" datasetid="ds_qnainfo" columnid="ansdate"/>
- <BindItem id="item14" compid="edt_ansattfilenm" propid="value" datasetid="ds_qnainfo" columnid="ansattfilenm"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[include "com_commonxp::comm_main.xjs";
- var gMaxSize = 10485760;
- var gFileInfo = new Object();
- function SPZSN00700_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SPZSN00700_onload(obj:Form, e:LoadEventInfo)
- {
- var todd = utlf_getCurrentDate();
- var fromdd = todd.toDate().getAddDate(-6, "M").getDateFormat("YYYYMMDD");
-
- ds_send.setColumn(0, "reqfromdd", fromdd);
- ds_send.setColumn(0, "reqtodd", todd);
-
- div_search.btn_search.click();
- }
- function div_search_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- var oParam = {};
- oParam.id = "TRZSN00700";
- oParam.service = "noticeinfoapp.noticeinfo";
- oParam.method = "reqGetCertQnAList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_qnalist=qnalist";
- oParam.async = true;
- tranf_submit(oParam);
- }
- function btn_new_onclick(obj:Button, e:ClickEventInfo)
- {
- fNewReq();
- }
- function fNewReq() {
- btn_save.enable = true;
-
- div_req.enable = true;
- div_ans.enable = false;
-
- ds_send.setColumn(0, "editmode", "I");
-
- ds_qnainfo.clearData();
- ds_qnainfo.addRow();
-
- var userid = sysf_getUserInfo("userid");
- var usernm = sysf_getUserInfo("usernm");
- var reqdeptcd = sysf_getUserInfo("dutplcecd")
- var reqdeptnm = sysf_getUserInfo("dutplcenm")
- var reqdate = utlf_getCurrentDate() + utlf_getCurrentTime();
-
- ds_qnainfo.setColumn(0, "reqtype", "1");
- ds_qnainfo.setColumn(0, "reqdate", reqdate);
- ds_qnainfo.setColumn(0, "reqid", userid);
- ds_qnainfo.setColumn(0, "requser", usernm);
- ds_qnainfo.setColumn(0, "reqdeptcd", reqdeptcd);
- ds_qnainfo.setColumn(0, "reqdeptnm", reqdeptnm);
-
- div_req.edt_reqtitle.setFocus();
-
- fSetControlAuth();
- }
- function btn_save_onclick(obj:Button, e:ClickEventInfo)
- {
- if(!fValidationCheck()) return;
- var rowposition = ds_qnalist.rowposition;
-
- var oParam = {};
- oParam.id = "TXZSN00701";
- oParam.service = "noticeinfoapp.noticeinfo";
- oParam.method = "reqSetCertQnA";
- oParam.inds = "req=ds_send reqqna=ds_qnainfo reqfile=ds_req_file ansfile=ds_ans_file";
- oParam.outds = "ds_qnalist=qnalist ds_qna_result=qna_result";
- oParam.async = false;
- oParam.callback = "cf_TXZSN00701";
- tranf_submit(oParam);
-
- ds_qnalist.rowposition = rowposition;
- }
- function cf_TXZSN00701(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) {
- sysf_messageBox("저장을", "E009");
- return;
- }
-
- var editmode = ds_send.getColumn(0, "editmode");
-
- switch(editmode) {
- case "I" :
- var instcd = ds_qna_result.getColumn(0, "instcd");
- if(!utlf_isNull(instcd)) {
- ds_qnainfo.setColumn(0, "seqno", ds_qna_result.getColumn(0, "seqno"));
- ds_qnainfo.setColumn(0, "instcd", instcd);
- }
- case "U" :
- var reqattfilepath = ds_qna_result.getColumn(0, "reqattfilepath");
- if(!utlf_isNull(reqattfilepath))
- ds_qnainfo.setColumn(0, "reqattfilepath", reqattfilepath);
- break;
-
- case "D" :
- fInit();
- break;
-
- case "A" :
- var ansattfilepath = ds_qna_result.getColumn(0, "ansattfilepath");
- if(!utlf_isNull(ansattfilepath))
- ds_qnainfo.setColumn(0, "ansattfilepath", ansattfilepath);
- break;
- }
-
- if(editmode != "D")
- fSetControlAuth();
- }
- function fValidationCheck() {
- var result = true;
-
- if(utlf_isNull(ds_qnainfo.getColumn(0, "reqtitle"))) {
- sysf_messageBox("제목을 입력하여 주세요", "E");
- div_req.edt_reqtitle.setFocus();
- return;
- }
- if(utlf_isNull(ds_qnainfo.getColumn(0, "reqphone"))) {
- sysf_messageBox("연락처를 입력하여 주세요", "E");
- div_req.edt_reqtel.setFocus();
- return;
- }
- if(utlf_isNull(ds_qnainfo.getColumn(0, "reqcontent"))) {
- sysf_messageBox("문의내용을 입력하여 주세요", "E");
- div_req.ta_reqcontent.setFocus();
- return;
- }
-
- return result;
- }
- function fInit() {
- ds_qnainfo.clearData();
-
- btn_save.enable = false;
- btn_del.enable = false;
-
- div_req.enable = false;
- }
- function grd_qnalist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- if(e.row < 0 || e.col < 0) return;
-
- ds_qnainfo.clearData();
- ds_qnainfo.addRow();
- ds_qnainfo.copyRow(0, ds_qnalist, e.row);
-
- var oParam = {};
- oParam.id = "TRZSN00702";
- oParam.service = "noticeinfoapp.noticeinfo";
- oParam.method = "reqSetCertQnAHitCount";
- oParam.inds = "req=ds_qnainfo";
- oParam.outds = "ds_qnahitcount=qnahitcount";
- oParam.async = false;
- tranf_submit(oParam);
-
- ds_qnalist.setColumn(e.row, "hitcount", ds_qnahitcount.getColumn(0, "hitcount"));
-
- ds_send.setColumn(0, "editmode", "U");
-
- fSetControlAuth();
- }
- function fSetControlAuth() {
- var userid = sysf_getUserId();
- var reqid = ds_qnainfo.getColumn(0, "reqid");
- var ansid = ds_qnainfo.getColumn(0, "ansid");
- // 저장, 삭제 버튼 활성화 권한 및 문의 내용 수정 권한 설정
- if (userid == reqid) {
- btn_save.enable = true;
- btn_del.enable = true;
-
- div_req.enable = true;
- } else{
- btn_save.enable = false;
- btn_del.enable = false;
-
- div_req.enable = false;
- }
-
- // 응답 가능 부서인 경우 응답 내용 수정 권한 설정
- var dutplcecd = sysf_getUserInfo("dutplcecd");
- if(ds_ans_auth.findRow("deptcd", dutplcecd) > -1) {
- div_ans.enable = true;
- div_ans.btn_answer.enable = true;
- } else {
- div_ans.enable = false;
- div_ans.btn_answer.enable = false;
- }
-
- // 첨부파일 버튼 권한 설정
- if(!utlf_isNull(ds_qnainfo.getColumn(0, "reqattfilepath"))) {
- btn_reqpreview.enable = true;
- btn_reqdownload.enable = true;
-
- if (userid == reqid) { // 자신이 올린 첨부파일만 재첨부 및 삭제 가능
- btn_reqfileadd.enable = true;
- btn_reqfiledel.enable = true;
- } else {
- btn_reqfileadd.enable = false;
- btn_reqfiledel.enable = false;
- }
- } else {
- if (userid == reqid) // 자신이 올린 글이면 추후 첨부 가능
- btn_reqfileadd.enable = true;
- else
- btn_reqfileadd.enable = false;
- btn_reqpreview.enable = false;
- btn_reqdownload.enable = false;
- btn_reqfiledel.enable = false;
- }
-
- if(!utlf_isNull(ds_qnainfo.getColumn(0, "ansattfilepath"))) {
- btn_anspreview.enable = true;
- btn_ansdownload.enable = true;
-
- if (div_ans.enable) { // 응답권한이 있는 사람은 첨부파일 재첨부 및 삭제 가능
- btn_ansfileadd.enable = true;
- btn_ansfiledel.enable = true;
- } else { // 응답권한이 없는 사람은 첨부 파일이 있을 때 미리보기와 다운로드만 가능
- btn_ansfileadd.enable = false;
- btn_ansfiledel.enable = false;
- }
- } else {
- if (div_ans.enable) // 응답권한이 있는 사람은 추후 첨부 가능
- btn_ansfileadd.enable = true;
- else
- btn_ansfileadd.enable = false;
-
- btn_anspreview.enable = false;
- btn_ansdownload.enable = false;
- btn_ansfiledel.enable = false;
- }
- }
- function btn_del_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_send.setColumn(0, "editmode", "D");
-
- btn_save.click();
- }
- function div_ans_btn_answer_onclick(obj:Button, e:ClickEventInfo)
- {
- var userid = sysf_getUserInfo("userid");
- var usernm = sysf_getUserInfo("usernm");
- var ansdate = utlf_getCurrentDate() + utlf_getCurrentTime();
-
- ds_qnainfo.setColumn(0, "ansid", userid);
- ds_qnainfo.setColumn(0, "ansuser", usernm);
- ds_qnainfo.setColumn(0, "ansdate", ansdate);
-
- ds_send.setColumn(0, "editmode", "A");
-
- btn_save.click();
- }
- function btn_reqfileadd_onclick(obj:Button, e:ClickEventInfo)
- {
- fFileAdd("req");
- }
- function btn_reqpreview_onclick(obj:Button, e:ClickEventInfo)
- {
- fFileDown("req", true);
- }
- function btn_reqdownload_onclick(obj:Button, e:ClickEventInfo)
- {
- fFileDown("req", false);
- }
- function btn_reqfiledel_onclick(obj:Button, e:ClickEventInfo)
- {
- fFileDel("req");
- }
- function btn_ansfileadd_onclick(obj:Button, e:ClickEventInfo)
- {
- fFileAdd("ans");
- }
- function btn_anspreview_onclick(obj:Button, e:ClickEventInfo)
- {
- fFileDown("ans", true);
- }
- function btn_ansdownload_onclick(obj:Button, e:ClickEventInfo)
- {
- fFileDown("ans", false);
- }
- function btn_ansfiledel_onclick(obj:Button, e:ClickEventInfo)
- {
- fFileDel("ans");
- }
- function fGetAttachFileInfo(gubun) {
- if(gubun == "ans") {
- gFileInfo.fileColNm = "ansattfilenm"
- gFileInfo.fileDs = ds_ans_file;
- } else {
- gFileInfo.fileColNm = "reqattfilenm"
- gFileInfo.fileDs = ds_req_file;
- }
-
- return gFileInfo;
- }
- function fFileAdd(gubun) {
- //******파일을 첨부하기 위해 파일열기가 open 되게 한다.
- //파일의 크기를 측정한다.
-
- var maxsize = gMaxSize;
- var fileInfo = fGetAttachFileInfo(gubun);
- var oDs_File = fileInfo.fileDs;
-
-
- //파일 저장
- //파일을 받아오기 위해 파일열기 팝업창을 띄운다.
- var fd = new FileDialog;
- var objVFile = fd.open("FileOpen", FileDialog.LOAD); // 단일 파일 선택
-
- if(!utlf_isNull(objVFile)) {
- //파일 경로가 아닌 이름만 input박스에 넣기 위한 처리
- oDs_File.clearData();
- oDs_File.addRow();
-
- var file = dsf_writeFileToDs(objVFile, oDs_File, 0, "filedata");
-
- oDs_File.setColumn(0, "filenm", file.filename); // 파일이름
- oDs_File.setColumn(0, "filesize", file.filesize); // 파일사이즈
- oDs_File.setColumn(0, "filetype", file.filetype); // 파일mime타입
-
- //파일 경로가 아닌 이름만 input박스에 넣기 위한 처리
- var name = file.filename;
-
- ds_qnainfo.setColumn(0, fileInfo.fileColNm, name);
-
- //lastIndexOf함수는 \\이것을 뒤어세 검색하여 나오면 앞에 것은 지운다.
- var filename = name.lastIndexOf("\\");
- //open 파일명를 input박스에 넣는다.
- ds_qnainfo.setColumn(0, fileInfo.fileColNm, name.substring(filename + 1, name.length));
-
- //파일 크기가 너무 큰경우 메세지를 띄운다.
- if (!checkFileSize(file.filesize)){
- sysf_messageBox("파일 크기가 최대치("+maxsize+"Byte)를", "E003");
- ds_qnainfo.setColumn(0, fileInfo.fileColNm, "");
- oDs_File.clearData();
- }
- }
- }
-
- function checkFileSize(fileSize)
- {
- if (fileSize <= gMaxSize)
- return true;
- else
- return false;
- }
- function fFileDown(gubun, preview) {
- var fso, folder;
- var temp_path = "C:\\temp2";
- var objActiveX = new ActiveX();
- var FSO = inff_fileSystemObject();
- // 객체 생성 실패하면 리턴
- if (FSO == null){
- return;
- }
- // 시스템 드라이브가 없다면..
- if (FSO.DriveExists("C") == false){
- return;
- }
- // 임시디렉토리가 없으면 생성
- if (FSO.FolderExists(temp_path) == false){
- folder = FSO.CreateFolder(temp_path);
- }
-
- var fileInfo = fGetAttachFileInfo(gubun);
- //파일명를 받아옴
- var getfilenm = ds_qnainfo.getColumn(0, fileInfo.fileColNm);
- //파일명이 있는 경우 다운로드
- if(utlf_isNull(getfilenm)){
- return;
- }
- //키값을 받아옴
- var seqno = ds_qnainfo.getColumn(0, "seqno");
-
- ds_send_fileinfo.clearData();
- ds_send_fileinfo.addRow();
-
- ds_send_fileinfo.setColumn(0, "seqno", seqno);
- ds_send_fileinfo.setColumn(0, "gubun", gubun);
-
- var oParam = {};
- oParam.id = "TRZSN00703";
- oParam.service = "noticeinfoapp.noticeinfo";
- oParam.method = "reqGetCertQnAFile";
- oParam.inds = "req=ds_send_fileinfo";
- oParam.outds = "ds_file=filelist";
- oParam.async = false;
- tranf_submit(oParam);
-
- if(ds_file.rowcount > 0 && !utlf_isNull(ds_file.getColumn(0, "attfilecnts"))) {
- if(preview) {
- dsf_readFileFromDs(temp_path+"\\"+getfilenm, ds_file, 0, "attfilecnts"); // 파일저장
- var objExtCommon = new ExtCommon();
- objExtCommon.executeProcess(temp_path+"\\"+getfilenm,"","");
- } else {
- var fd = new FileDialog;
- var objVFile = fd.open("FileSave", FileDialog.SAVE, "%MYDOCUMENT%", getfilenm); // 단일 파일 선택
- if (objVFile != null) {
- dsf_readFileFromDs(objVFile.fullpath, ds_file, 0, "attfilecnts"); // 파일저장
- }
- }
- } else {
- sysf_messageBox("파일이", "E014");
- }
- }
- function fFileDel(gubun) {
- var fileInfo = fGetAttachFileInfo(gubun);
- //파일명를 받아옴
- var name = ds_qnainfo.getColumn(0, fileInfo.fileColNm);
-
- if(!utlf_isNull(name)){
- var fileupdata = sysf_messageBox(" " + name + "\n 예(Y)를 누르면 즉시 파일을 삭제합니다.\n\n" , "Q001");
- if(fileupdata == '6'){
- var seqno = ds_qnainfo.getColumn(0, "seqno");
-
- ds_send_fileinfo.clearData();
- ds_send_fileinfo.addRow();
-
- ds_send_fileinfo.setColumn(0, "seqno", seqno);
- ds_send_fileinfo.setColumn(0, "gubun", gubun);
-
- var rowposition = ds_qnalist.rowposition;
-
- var oParam = {};
- oParam.id = "TXZSN00704";
- oParam.service = "noticeinfoapp.noticeinfo";
- oParam.method = "reqDelCertQnAFile";
- oParam.inds = "req=ds_send reqfile=ds_send_fileinfo";
- oParam.outds = "ds_qnalist=qnalist";
- oParam.async = false;
- tranf_submit(oParam);
-
- ds_qnalist.rowposition = rowposition;
-
- if(gubun == "ans") {
- ds_qnainfo.setColumn(0, "ansattfilenm", "");
- ds_qnainfo.setColumn(0, "ansattfilepath", "");
- } else {
- ds_qnainfo.setColumn(0, "reqattfilenm", "");
- ds_qnainfo.setColumn(0, "reqattfilepath", "");
- }
-
- ds_send_fileinfo.clearData();
-
- fSetControlAuth();
- }
- }
- }]]></Script>
- </Form>
- </FDL>
|