123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPMNW17100" position="absolute 0 0 618 430" titletext="프로그램 도움말 조회" oninit="SPMNW17100_oninit" onload="SPMNW17100_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 15 615 40" id="group1">
- <Layouts>
- <Layout>
- <Static text="프로그램 도움말 조회" position="absolute 0 0 164 25" id="caption6" class="tit_1" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Edit position="absolute 510 20 615 39" id="ipt_scrncd" visible="false"/>
- <Combo position="absolute 515 20 615 39" id="cmb_gubun" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="cmb_gubun_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">T</Col>
- <Col id="datacolumn">사용Tip</Col>
- </Row>
- <Row>
- <Col id="codecolumn">F</Col>
- <Col id="datacolumn">F&Q</Col>
- </Row>
- <Row>
- <Col id="codecolumn">A</Col>
- <Col id="datacolumn">추가개발사항</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Grid position="absolute 0 45 615 425" id="grd_help" binddataset="ds_main_helpinfo_helplist" onexpanddown="grd_help_onexpanddown" autosizingtype="row" extendsizetype="row" scrollpixel="all" cellsizingtype="col" autoenter="select">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="24"/>
- <Column size="525"/>
- <Column size="50"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="도움말"/>
- <Cell col="2" text="첨부"/>
- <Cell col="3" text="seqno"/>
- <Cell col="4" text="화면코드"/>
- <Cell col="5" text="첨부파일명"/>
- <Cell col="6" text="첨부파일패스"/>
- <Cell col="7" text="작성자"/>
- <Cell col="8" text="작성자ID"/>
- <Cell col="9" text="등록일시"/>
- <Cell col="10" text="수정자"/>
- <Cell col="11" text="수정자아이디"/>
- <Cell col="12" text="수정일시"/>
- <Cell col="13" text="삭제여부"/>
- <Cell col="14" text="구분"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="expr:currow + 1"/>
- <Cell col="1" style="align:left top;padding:5 3 3 3;" text="bind:content" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="2" displaytype="text" edittype="expand" style="align:center;" text="bind:attyn" expandshow="show"/>
- <Cell col="3" text="bind:seqno"/>
- <Cell col="4" text="bind:attfilenm"/>
- <Cell col="5" text="bind:attfilepath"/>
- <Cell col="6" text="bind:fstrgstrnm"/>
- <Cell col="7" text="bind:fstrgstrid"/>
- <Cell col="8" text="bind:fstrgstdt" mask="yyyy/mm/dd hh:nn"/>
- <Cell col="9" text="bind:lastupdtrnm"/>
- <Cell col="10" text="bind:lastupdtrid"/>
- <Cell col="11" text="bind:lastupdtdt" mask="yyyy/mm/dd hh:nn"/>
- <Cell col="12" text="bind:delyn"/>
- <Cell col="13" displaytype="combo" edittype="combo" text="bind:gubun" enable="false"/>
- <Cell col="14" text="bind:scrncd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Div position="absolute 395 90 550 135" id="group2" visible="false" style="background:#ffcc00ff;">
- <Layouts>
- <Layout>
- <Button position="absolute 10 20 74 39" id="btn_preview" class="btn2" taborder="6" text="미리보기" onclick="group2_btn_preview_onclick"/>
- <Button position="absolute 80 20 144 39" id="button1" class="btn2" taborder="6" text="다운로드" onclick="group2_button1_onclick"/>
- <Button position="absolute 140 0 155 20" id="button5" text="X" onclick="group2_button5_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- </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="fromdd" type="STRING" size="256" sumtext="시작일자(YYYYMMDD)"/>
- <Column id="todd" type="STRING" size="256" sumtext="종료일자(YYYYMMDD)"/>
- <Column id="gubun" type="STRING" size="256" sumtext="조회구분"/>
- <Column id="scrncd" type="STRING" size="256" sumtext="화면코드"/>
- <Column id="seqno" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_helpinfo_helplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="chkyn" type="STRING" size="256" sumtext="체크여부"/>
- <Column id="seqno" type="STRING" size="256" sumtext="게시글번호"/>
- <Column id="scrncd" type="STRING" size="256" sumtext="화면코드"/>
- <Column id="content" type="STRING" size="256" sumtext="내용"/>
- <Column id="attyn" type="STRING" size="256" sumtext="첨부파일유무"/>
- <Column id="attfilenm" type="STRING" size="256" sumtext="첨부파일명"/>
- <Column id="attfilepath" type="STRING" size="256" sumtext="첨부파일패스"/>
- <Column id="fstrgstrnm" type="STRING" size="256" sumtext="등록자명"/>
- <Column id="fstrgstrid" type="STRING" size="256" sumtext="등록자아이디"/>
- <Column id="fstrgstdt" type="STRING" size="256" sumtext="등록일시"/>
- <Column id="lastupdtrnm" type="STRING" size="256" sumtext="수정자명"/>
- <Column id="lastupdtrid" type="STRING" size="256" sumtext="수정자아이디"/>
- <Column id="lastupdtdt" type="STRING" size="256" sumtext="수정일시"/>
- <Column id="delyn" type="STRING" size="256" sumtext="삭제유무"/>
- <Column id="gubun" type="STRING" size="256" sumtext="구분"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_savedata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="status" type="STRING" size="256" sumtext="상태값"/>
- <Column id="seqno" type="STRING" size="256" sumtext="게시글번호"/>
- <Column id="gubun" type="STRING" size="256" sumtext="구분"/>
- <Column id="scrncd" type="STRING" size="256" sumtext="화면코드"/>
- <Column id="content" type="STRING" size="256" sumtext="도움말"/>
- <Column id="attfilenm" type="STRING" size="256" sumtext="서버상의 첨부파일경로"/>
- <Column id="attfilepath" type="STRING" size="256" sumtext="서버상의 첨부파일경로"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_file" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="filenm" type="STRING" size="256" sumtext="파일명"/>
- <Column id="filedata" type="BLOB" size="256" sumtext="파일데이터"/>
- <Column id="filesize" type="STRING" size="256" sumtext="파일크기"/>
- <Column id="filetype" type="STRING" size="256" sumtext="파일종류"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="gubun" type="STRING" size="256" sumtext="조회구분"/>
- <Column id="scrncd" type="STRING" size="256" sumtext="화면코드"/>
- <Column id="seqno" type="STRING" size="256"/>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_iteminfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="attfilenm" type="STRING" size="256"/>
- <Column id="gubun" type="STRING" size="256"/>
- <Column id="seqno" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_filelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="attfilecnts" type="STRING" size="256" sumtext="첨부파일내용"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="cmb_gubun" propid="value" datasetid="ds_main_cond" columnid="gubun"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name : 경대 의료정보시스템
- * Job Name : emr_wardcarexp -> SPMNW17100
- * Creator : yjh
- * Make Date : 2016-02-18
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2016-02-18 yjh TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- include "emr_wardcarexp::SPMNW17000.xjs"; //yjh : 커밋
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Argument : N/A
- * Description :
- ****************************************************************************************/
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Components ID : SPMNW17100
- * Event : oninit
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 처음 초기화시
- ****************************************************************************************/
- function SPMNW17100_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); //폼 초기화
- }
- /****************************************************************************************
- * Components : Form
- * Components ID : SPMNW17100
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 로딩 완료시
- ****************************************************************************************/
- function SPMNW17100_onload(obj:Form, e:LoadEventInfo)
- {
- if(frmf_checkOpener() ) {
- var scrncd = opener.frmf_getParameter("SCRNCD");
- }
- ds_main_cond.setColumn(0, "scrncd", scrncd);
-
- cmb_gubun.index = 0;
-
- fgetHelpList2();
- }
- /****************************************************************************************
- * Components : Combo
- * Components ID : cmb_gubun
- * Event : onitemchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 콤보 변경시
- ****************************************************************************************/
- function cmb_gubun_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- fgetHelpList2();
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : grd_help
- * Event : onexpanddown
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 그리드 expand버튼 클릭시
- ****************************************************************************************/
- function grd_help_onexpanddown(obj:Grid, e:GridMouseEventInfo)
- {
- var attyn = ds_main_helpinfo_helplist.getColumn(ds_main_helpinfo_helplist.rowposition, "attyn");
-
- if(attyn == "Y" ){
- ds_main_iteminfo.setColumn(0, "attfilenm", ds_main_helpinfo_helplist.getColumn(ds_main_helpinfo_helplist.rowposition, "attfilenm"));
- ds_main_iteminfo.setColumn(0, "gubun", ds_main_helpinfo_helplist.getColumn(ds_main_helpinfo_helplist.rowposition, "gubun"));
- ds_main_iteminfo.setColumn(0, "seqno", ds_main_helpinfo_helplist.getColumn(ds_main_helpinfo_helplist.rowposition, "seqno"));
- group2.visible = true;
- }else {
- sysf_messageBox("첨부파일이 없습니다.","E");
- return;
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button5
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : X버튼 클릭시
- ****************************************************************************************/
- function group2_button5_onclick(obj:Button, e:ClickEventInfo)
- {
- group2.visible = false;
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_preview
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 미리보기버튼 클릭시
- ****************************************************************************************/
- function group2_btn_preview_onclick(obj:Button, e:ClickEventInfo)
- {
- fFilePreview(); //yjh : 첨부파일 테스트 필요
- group2.visible = false;
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button1
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 다운로드버튼 클릭시
- ****************************************************************************************/
- function group2_button1_onclick(obj:Button, e:ClickEventInfo)
- {
- fFileDown(); //yjh : 첨부파일 테스트 필요
- group2.visible = false;
- }
- ]]></Script>
- </Form>
- </FDL>
|