123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPZSN00400_팝업공지조회" classname="SPZSN00400_팝업공지조회" inheritanceid="" position="absolute 0 0 1225 800" titletext="팝업공지조회" oninit="SPZSN00400_oninit" onload="SPZSN00400_onload">
- <Layouts>
- <Layout>
- <Div id="group" taborder="0" class="div_SA" position="absolute 0 24 1225 57" anchor="left top right">
- <Layouts>
- <Layout>
- <Static id="caption2" text="조회일" class="search_name" position="absolute 21 8 80 28" anchor="default"/>
- <Calendar id="Calendar_fromdd" taborder="11" position="absolute 82 8 186 28" anchor="default"/>
- <Calendar id="Calendar_todd" taborder="12" position="absolute 212 8 316 28" anchor="default"/>
- <Static id="Static00" text="~" position="absolute 191 9 206 29" style="align:center middle;" anchor="default"/>
- <Button id="btn_search" taborder="13" text="조회" onclick="div_search_btn_search_onclick" class="btn1" position="absolute 1161 7 1216 27" anchor="top right"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption6" text="로그인시 팝업 공지 조회" class="tit_1" position="absolute 0 0 174 25"/>
- <Static id="caption00" text="팝업 공지 목록" onclick=""caption6_onclick"" class="tit_2" position="absolute 0 63 169 83"/>
- <Grid id="Grid00" taborder="1" useinputpanel="false" position="absolute 0 81 1225 800" autofittype="col" binddataset="ds_result" anchor="all" oncelldblclick="Grid00_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="100"/>
- <Column size="70"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="700"/>
- <Column size="60"/>
- <Column size="70"/>
- <Column size="70"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="생성일자"/>
- <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="세로크기"/>
- </Band>
- <Band id="body">
- <Cell displaytype="date" edittype="date" text="bind:genrdd"/>
- <Cell col="1" text="bind:histstat"/>
- <Cell col="2" displaytype="date" edittype="date" text="bind:fromdd"/>
- <Cell col="3" displaytype="date" edittype="date" text="bind:todd"/>
- <Cell col="4" style="align:left;" text="bind:ntcsubject"/>
- <Cell col="5" displaytype="combo" style="align:center;" text="bind:jobkindcd" combodataset="ds_jobkind" combocodecol="cdid" combodatacol="cdnm" combodisplay="edit"/>
- <Cell col="6" text="bind:width"/>
- <Cell col="7" text="bind:height"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="bt_newinput" taborder="2" text="신규입력" class="btn2" position="absolute 1156 59 1224 79" anchor="top right" style=":disabled {font:Dotum,9;}" onclick="bt_newinput_onclick"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_req" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_result" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="genrdd" type="STRING" size="256"/>
- <Column id="genrno" type="STRING" size="256"/>
- <Column id="seqno" type="STRING" size="256"/>
- <Column id="histstat" type="STRING" size="256"/>
- <Column id="userinstcd" type="STRING" size="256"/>
- <Column id="jobkindcd" type="STRING" size="256"/>
- <Column id="ntcsubject" type="STRING" size="256"/>
- <Column id="ntccnts" type="STRING" size="256"/>
- <Column id="ntccnttype" type="STRING" size="256"/>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="width" type="STRING" size="256"/>
- <Column id="height" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_jobkind" 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>
- <Rows>
- <Row>
- <Col id="cdnm">전체</Col>
- <Col id="cdid"> </Col>
- </Row>
- <Row>
- <Col id="cdid">0330</Col>
- <Col id="cdnm">의사</Col>
- </Row>
- <Row>
- <Col id="cdid">1140</Col>
- <Col id="cdnm">간호사</Col>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind/>
- <Script type="xscript4.0"><![CDATA[include "com_commonxp::comm_main.xjs"; // 전체공통 스크립트
- function SPZSN00400_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SPZSN00400_onload(obj:Form, e:LoadEventInfo)
- {
- var fromdd = utlf_getCurrentDate();
-
- group.Calendar_fromdd.value = utlf_addMonth(fromdd, -1);
- group.Calendar_todd.value = utlf_getCurrentDate();
-
- group.btn_search.click();
- }
- function div_search_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_req.setColumn(0, "fromdd", group.Calendar_fromdd.value);
- ds_req.setColumn(0, "todd", group.Calendar_todd.value);
-
- var oParam = {};
- oParam.id = "SPZSN00001";
- oParam.service = "noticeinfoapp.noticeinfo";
- oParam.method = "reqGetPopupNoticeList";
- oParam.inds = "req=ds_req";
- oParam.outds = "ds_result=Noticelist";
- oParam.async = true;
-
- tranf_submit(oParam);
- }
- function bt_newinput_onclick(obj:Button, e:ClickEventInfo)
- {
- var objParam = new Object();
- objParam.plgv_new = true;//신규입력
- frmf_modal("SPZSN00300", "SPZSN00300", objParam, null, null, null, null, null, null, null, null, null, "M");
-
- if(frmf_getParameter("SPZSN00300_popupendflag") == "close")
- {
- group.btn_search.click();
- }
- }
- function Grid00_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- var objParam = new Object();
- objParam.plgv_new = false;//기존수정
- objParam.plgv_genrdd = ds_result.getColumn(e.row, "genrdd");
- objParam.plgv_genrno = ds_result.getColumn(e.row, "genrno");
- objParam.plgv_histstat = ds_result.getColumn(e.row, "histstat");
- objParam.plgv_jobkindcd = ds_result.getColumn(e.row, "jobkindcd");
- objParam.plgv_ntcsubject = ds_result.getColumn(e.row, "ntcsubject");
- objParam.plgv_ntccnts = ds_result.getColumn(e.row, "ntccnts");
- objParam.plgv_fromdd = ds_result.getColumn(e.row, "fromdd");
- objParam.plgv_todd = ds_result.getColumn(e.row, "todd");
- objParam.plgv_width = ds_result.getColumn(e.row, "width");
- objParam.plgv_height = ds_result.getColumn(e.row, "height");
-
- frmf_modal("SPZSN00300", "SPZSN00300", objParam, null, null, null, null, null, null, null, null, null, "M");
- if(frmf_getParameter("SPZSN00300_popupendflag") == "close")
- {
- group.btn_search.click();
- }
- }]]></Script>
- </Form>
- </FDL>
|