123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPZSN00600" classname="SPZSN00500_직원공유게시판" inheritanceid="" position="absolute 0 0 1024 784" titletext="직원공유게시판" oninit="SPZSN00600_oninit" onload="SPZSN00600_onload">
- <Layouts>
- <Layout>
- <Div id="div_search" position="absolute 0 24 1024 78" class="div_SA" anchor="left top right">
- <Layouts>
- <Layout>
- <Button id="btn_search" text="조회" position="absolute 955 18 1008 38" class="btn1" onclick="div_search_btn_search_onclick" anchor="top right" taborder="4"/>
- <CheckBox id="chk_tempsave" text="임시저장 포함" position="absolute 839 18 939 38" anchor="top right" visible="false" taborder="3"/>
- <Static id="Static00" text="제목 :" position="absolute 14 19 66 39" class="search_name"/>
- <Edit id="edit_title" position="absolute 71 18 299 38" onkeydown="div_search_edit_title_onkeydown" taborder="1" autoselect="true"/>
- <Static id="Static01" text="게시자 :" class="search_name" position="absolute 666 19 726 39"/>
- <Edit id="edt_usernm" position="absolute 731 18 807 38" onkeydown="div_search_edit_title_onkeydown" taborder="2" autoselect="true"/>
- <Static id="Static02" text="내용 :" class="search_name" position="absolute 318 19 370 39"/>
- <Edit id="edit_contents" taborder="5" onkeydown="div_search_edit_title_onkeydown" position="absolute 375 18 627 38" autoselect="true"/>
- </Layout>
- </Layouts>
- </Div>
- <Shape id="Shape00" position="absolute 0 104 1024 108" class="line_10" anchor="left top right"/>
- <Grid id="grd_noticelist" useinputpanel="false" position="absolute 0 108 1024 784" binddataset="ds_noticelist" autofittype="col" anchor="all" oncelldblclick="grd_noticelist_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="40"/>
- <Column size="424"/>
- <Column size="60"/>
- <Column size="40"/>
- <Column size="80"/>
- <Column size="80"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="읽음" taborder="undefined"/>
- <Cell col="1" text="첨부" taborder="undefined"/>
- <Cell col="2" displaytype="normal" text="번호"/>
- <Cell col="3" displaytype="normal" text="제목"/>
- <Cell col="4" displaytype="normal" text="게시자"/>
- <Cell col="5" displaytype="normal" text="조회"/>
- <Cell col="6" displaytype="normal" text="게시일"/>
- <Cell col="7" displaytype="normal" text="종료일"/>
- </Band>
- <Band id="body">
- <Cell style="color:EXPR((readyn == "N") ? "blue" : "");color2:EXPR((readyn == "N") ? "blue" : "");selectcolor:EXPR((readyn == "N") ? "blue" : "");" text="bind:readyn"/>
- <Cell col="1" displaytype="normal" text="bind:attachyn"/>
- <Cell col="2" displaytype="normal" text="bind:seqno"/>
- <Cell col="3" displaytype="text" style="padding:0 8 0 8;color:EXPR((readyn == "N") ? "blue" : "");color2:EXPR((readyn == "N") ? "blue" : "");selectcolor:EXPR((readyn == "N") ? "blue" : "");" text="bind:title"/>
- <Cell col="4" displaytype="normal" text="bind:usernm"/>
- <Cell col="5" displaytype="normal" text="bind:hitcount"/>
- <Cell col="6" displaytype="normal" text="bind:fromdd"/>
- <Cell col="7" displaytype="normal" style="color:EXPR(histstat == 'N' ? "red" : "");color2:EXPR(histstat == 'N' ? "red" : "");" text="bind:todd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="btn_write" text="글쓰기" position="absolute 971 83 1024 103" class="btn5" onclick="btn_write_onclick" anchor="top right" visible="false"/>
- <Static id="stt_title" position="absolute 0 0 190 25" class="tit_1"/>
- </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="title" type="STRING" size="256"/>
- <Column id="usernm" type="STRING" size="256"/>
- <Column id="contents" type="STRING" size="256"/>
- <Column id="boardtype" type="STRING" size="256"/>
- <Column id="chktempsave" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_noticelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="genrno" type="BIGDECIMAL" size="255"/>
- <Column id="seqno" type="BIGDECIMAL" size="255"/>
- <Column id="boardtype" type="STRING" size="255"/>
- <Column id="userid" type="STRING" size="255"/>
- <Column id="usernm" type="STRING" size="255"/>
- <Column id="fromdd" type="STRING" size="255"/>
- <Column id="todd" type="STRING" size="255"/>
- <Column id="histstat" type="STRING" size="255"/>
- <Column id="title" type="STRING" size="255"/>
- <Column id="attachyn" type="STRING" size="255"/>
- <Column id="readyn" type="STRING" size="256"/>
- <Column id="hitcount" type="BIGDECIMAL" size="255"/>
- </ColumnInfo>
- <Rows/>
- </Dataset>
- <Dataset id="ds_boardtype" 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"/>
- <Column id="titleYn" type="STRING" size="256"/>
- <Column id="title" type="STRING" size="256"/>
- <Column id="popuptitle" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">공지사항</Col>
- <Col id="value">C1</Col>
- <Col id="titleYn">N</Col>
- <Col id="instcd"/>
- <Col id="popuptitle">직원공유</Col>
- <Col id="title">직원공유게시판</Col>
- </Row>
- <Row>
- <Col id="value">C2</Col>
- <Col id="label">지침게시물</Col>
- <Col id="titleYn">N</Col>
- <Col id="popuptitle">직원공유</Col>
- <Col id="title">직원공유게시판</Col>
- </Row>
- <Row>
- <Col id="value">Q1</Col>
- <Col id="label">질향상활동</Col>
- <Col id="titleYn">N</Col>
- <Col id="popuptitle">직원공유</Col>
- <Col id="title">직원공유게시판</Col>
- </Row>
- <Row>
- <Col id="value">Q2</Col>
- <Col id="label">지표관리활동</Col>
- <Col id="titleYn">N</Col>
- <Col id="popuptitle">직원공유</Col>
- <Col id="title">직원공유게시판</Col>
- </Row>
- <Row>
- <Col id="value">Q3</Col>
- <Col id="label">표준진료지침활동</Col>
- <Col id="titleYn">N</Col>
- <Col id="popuptitle">직원공유</Col>
- <Col id="title">직원공유게시판</Col>
- </Row>
- <Row>
- <Col id="label">교육자료</Col>
- <Col id="value">Q4</Col>
- <Col id="titleYn">N</Col>
- <Col id="popuptitle">직원공유</Col>
- <Col id="title">직원공유게시판</Col>
- </Row>
- <Row>
- <Col id="label">주의경보및정보제공</Col>
- <Col id="value">P1</Col>
- <Col id="titleYn">N</Col>
- <Col id="popuptitle">직원공유</Col>
- <Col id="title">직원공유게시판</Col>
- </Row>
- <Row>
- <Col id="value">P2</Col>
- <Col id="label">환자안전관리활동(KNUH)</Col>
- <Col id="titleYn">N</Col>
- <Col id="instcd">031</Col>
- <Col id="popuptitle">직원공유</Col>
- <Col id="title">직원공유게시판</Col>
- </Row>
- <Row>
- <Col id="label">환자안전관리활동(KNUCH)</Col>
- <Col id="value">P2</Col>
- <Col id="titleYn">N</Col>
- <Col id="instcd">032</Col>
- <Col id="popuptitle">직원공유</Col>
- <Col id="title">직원공유게시판</Col>
- </Row>
- <Row>
- <Col id="value">P3</Col>
- <Col id="label">환자안전교육</Col>
- <Col id="titleYn">N</Col>
- <Col id="popuptitle">직원공유</Col>
- <Col id="title">직원공유게시판</Col>
- </Row>
- <Row>
- <Col id="value">I1</Col>
- <Col id="label">감염관리활동</Col>
- <Col id="titleYn">N</Col>
- <Col id="popuptitle">직원공유</Col>
- <Col id="title">직원공유게시판</Col>
- </Row>
- <Row>
- <Col id="label">감염관리매뉴얼</Col>
- <Col id="value">I2</Col>
- <Col id="titleYn">N</Col>
- <Col id="popuptitle">직원공유</Col>
- <Col id="title">직원공유게시판</Col>
- <Col id="instcd">031</Col>
- </Row>
- <Row>
- <Col id="label">감염관리지침</Col>
- <Col id="value">I2</Col>
- <Col id="titleYn">N</Col>
- <Col id="title">직원공유게시판</Col>
- <Col id="popuptitle">직원공유</Col>
- <Col id="instcd">032</Col>
- </Row>
- <Row>
- <Col id="value">I3</Col>
- <Col id="label">교육자료</Col>
- <Col id="titleYn">N</Col>
- <Col id="popuptitle">직원공유</Col>
- <Col id="title">직원공유게시판</Col>
- </Row>
- <Row>
- <Col id="value">I4</Col>
- <Col id="label">지침게시물</Col>
- <Col id="titleYn">N</Col>
- <Col id="popuptitle">직원공유</Col>
- <Col id="title">직원공유게시판</Col>
- </Row>
- <Row>
- <Col id="value">I5</Col>
- <Col id="label">국내외감염병동향</Col>
- <Col id="titleYn">N</Col>
- <Col id="popuptitle">직원공유</Col>
- <Col id="title">직원공유게시판</Col>
- </Row>
- <Row>
- <Col id="label">환자∙보호자 교육자료</Col>
- <Col id="value">I6</Col>
- <Col id="titleYn">N</Col>
- <Col id="title">직원공유게시판</Col>
- <Col id="popuptitle">직원공유</Col>
- <Col id="instcd">032</Col>
- </Row>
- <Row>
- <Col id="value">S1</Col>
- <Col id="label">직원안전활동</Col>
- <Col id="titleYn">N</Col>
- <Col id="popuptitle">직원공유</Col>
- <Col id="title">직원공유게시판</Col>
- </Row>
- <Row>
- <Col id="value">M1</Col>
- <Col id="label">공지사항</Col>
- <Col id="titleYn">Y</Col>
- <Col id="popuptitle">만족도조사</Col>
- <Col id="title">공지사항</Col>
- </Row>
- <Row>
- <Col id="value">M2</Col>
- <Col id="label">만족도조사 보고서</Col>
- <Col id="titleYn">Y</Col>
- <Col id="popuptitle">만족도조사</Col>
- <Col id="title">만족도조사 보고서</Col>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="div_search.edit_title" propid="value" datasetid="ds_send" columnid="title"/>
- <BindItem id="item1" compid="div_search.edt_usernm" propid="value" datasetid="ds_send" columnid="usernm"/>
- <BindItem id="item2" compid="div_search.edit_contents" propid="value" datasetid="ds_send" columnid="contents"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[include "com_commonxp::comm_main.xjs";
- var MENUPARAM;
- function SPZSN00600_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj, false);
- }
- function SPZSN00600_onload(obj:Form, e:LoadEventInfo)
- {
- MENUPARAM = frmf_getMenuParam();
-
- fSetTitle(obj, MENUPARAM);
-
- var sMenuGubun = "";
- if(!utlf_isNull(MENUPARAM)) {
- sMenuGubun = MENUPARAM.substring(0, 1);
- }
-
- // 의료질관리과, 감염관리과, 근로복지과, 의료정보과만 글 게시및 수정 가능
- var dutplcecd = sysf_getUserInfo("dutplcecd");
- var userid = sysf_getUserId();
-
- if(dutplcecd == "4071100000" || dutplcecd == "4071200000" || dutplcecd == "4071201000" || dutplcecd == "3320100000" || dutplcecd == "3350000000" || // 의료질관리과
- dutplcecd == "4130100000" || dutplcecd == "4130116000" || // 의료정보과
- userid == "13278" || userid == "18451") { // 총무팀 안전관리자
- div_search.chk_tempsave.visible = true;
- btn_write.visible = true;
- } else if((dutplcecd == "3110300000") && sMenuGubun == "I") { // 감염관리팀
- div_search.chk_tempsave.visible = true;
- btn_write.visible = true;
- } else if(dutplcecd == "4020326000" && sMenuGubun == "S") { // 근로복지과
- div_search.chk_tempsave.visible = true;
- btn_write.visible = true;
- } else {
- div_search.chk_tempsave.visible = false;
- btn_write.visible = false;
- }
- div_search.btn_search.click();
- }
- function fSetTitle(obj, menuparam) {
- var instcd = sysf_getUserInfo("dutplceinstcd");
-
- ds_boardtype.filter("(utlf_isNull(instcd) || instcd == " + instcd + ") && value == '" + menuparam + "'");
-
- var titleYn = ds_boardtype.getColumn(0, "titleYn");
- var title = ds_boardtype.getColumn(0, "title");
- var boardnm = ds_boardtype.getColumn(0, "label");
-
-
- if(titleYn == "Y") frmf_initTitle(obj, title);
-
- stt_title.text = boardnm;
-
- // 타이틀 영역 설정
- var font = stt_title.currentstyle.font;
- var fontStyle = font.toString().split(',');
- var bold = false;
-
- if(fontStyle.length > 2 && fontStyle[2] == "bold") bold = true;
-
- var objFont = utlf_getObjFont(fontStyle[1], fontStyle[0], bold); // 실제 폰트의 너비
-
- var textSize = utlf_getTextSize(stt_title.text, objFont);
-
- stt_title.position.width = stt_title.currentstyle.padding.left + stt_title.currentstyle.padding.right + textSize.cx + 12;
- }
- function btn_write_onclick(obj:Button, e:ClickEventInfo)
- {
- fOpenDetailPopup(-1);
- }
- function fOpenDetailPopup(sGenrno) {
- var oPopup = frmf_findPopup("SPZSN00601");
- if(utlf_isNull(oPopup)){
- var objParam = new Object();
- objParam.plgv_genrno = sGenrno;
- objParam.plgv_boardtype = MENUPARAM;
-
- frmf_open("SPZSN00601", "SPZSN00601", objParam, null, null, null, null, null, null, "resize=false", null, null, "M");
- } else {
- oPopup.setFocus();
- oPopup.fInit(MENUPARAM, sGenrno);
- }
- }
- function div_search_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_send.setColumn(0, "boardtype", MENUPARAM);
- ds_send.setColumn(0, "chktempsave", div_search.chk_tempsave.value ? "Y" : "N");
-
- var oParam = {};
- oParam.id = "SPZSN00600";
- oParam.service = "noticeinfoapp.noticeinfo";
- oParam.method = "reqGetStaffShareNoticeList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_noticelist=noticelist";
- oParam.async = true;
- tranf_submit(oParam);
- }
- function grd_noticelist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- if(e.row < 0 || e.col < 0) return;
-
- fOpenDetailPopup(ds_noticelist.getColumn(e.row, "genrno"));
- }
- function div_search_edit_title_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13) {
- obj.updateToDataset();
- obj.parent.btn_search.click();
- }
- }
- function fRefresh() {
- div_search.btn_search.click();
- }
- ]]></Script>
- </Form>
- </FDL>
|