123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPZSE00110" classname="SPZSE00110_다운로드모니터링" inheritanceid="" position="absolute 0 0 1250 570" titletext="다운로드모니터링" oninit="SPZSE00110_oninit" onload="SPZSE00110_onload">
- <Layouts>
- <Layout>
- <Static id="caption6" text="대량 다운로드 모니터링" class="tit_1" position="absolute 0 0 178 25" onclick="caption6_onclick"/>
- <Div id="Div00" taborder="1" scrollbars="none" class="div_SA" position="absolute 0 25 304 64">
- <Layouts>
- <Layout>
- <Static id="caption22" text="일자" class="search_name" position="absolute 13 10 57 30" anchor="default"/>
- <Button id="btn_search" taborder="10" text="조회" onclick="group2_btn_search_onclick" class="btn1" position="absolute 241 10 297 30" anchor="top right"/>
- <cp_monthCal id="cp_monthCal" titletext="monthCalendar" taborder="11" text="cp_monthCal00" scrollbars="none" position="absolute 62 10 231 34" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Grid id="grd_list" taborder="2" binddataset="ds_main_download_list" scrollpixel="all" useinputpanel="false" cellsizingtype="col" autofittype="col" position="absolute 0 93 302 570" anchor="left top bottom" oncellclick="grd_list_oncellclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="117"/>
- <Column size="111"/>
- <Column size="125"/>
- <Column size="130"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="msgcd"/>
- <Cell col="1" text="사번"/>
- <Cell col="2" text="받는이"/>
- <Cell col="3" text="부서"/>
- <Cell col="4" text="다운로드횟수"/>
- <Cell col="5" text="내용"/>
- </Band>
- <Band id="body">
- <Cell text="bind:msgcd"/>
- <Cell col="1" text="bind:userid"/>
- <Cell col="2" displaytype="normal" edittype="none" text="bind:usernm"/>
- <Cell col="3" displaytype="text" text="bind:logdeptnm"/>
- <Cell col="4" text="bind:cnt"/>
- <Cell col="5" text="bind:conts"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_detail" taborder="3" binddataset="ds_main_detail_list" useinputpanel="false" autofittype="col" position="absolute 310 29 1248 570" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="23"/>
- <Column size="103"/>
- <Column size="75"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="59"/>
- <Column size="67"/>
- <Column size="55"/>
- <Column size="135"/>
- <Column size="133"/>
- <Column size="117"/>
- <Column size="177"/>
- <Column size="75"/>
- <Column size="94"/>
- <Column size="179"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell taborder="undefined"/>
- <Cell col="1" text="일자" taborder="undefined"/>
- <Cell col="2" text="시간" taborder="undefined"/>
- <Cell col="3"/>
- <Cell col="4"/>
- <Cell col="5"/>
- <Cell col="6"/>
- <Cell col="7" text="사번" taborder="undefined"/>
- <Cell col="8" text="이름" taborder="undefined"/>
- <Cell col="9" text="기관" taborder="undefined"/>
- <Cell col="10" text="부서" taborder="undefined"/>
- <Cell col="11" text="접속IP" taborder="undefined"/>
- <Cell col="12" text="화면코드" taborder="undefined"/>
- <Cell col="13" text="화면명" taborder="undefined"/>
- <Cell col="14" text="타입" taborder="undefined"/>
- <Cell col="15" text="건수" taborder="undefined"/>
- <Cell col="16" text="다운로드 사유" taborder="undefined"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" displaytype="date" text="bind:logdd"/>
- <Cell col="2" displaytype="date" text="bind:logtm" mask="HH:mm:ss"/>
- <Cell col="3" text="bind:cretdd"/>
- <Cell col="4" text="bind:crettm"/>
- <Cell col="5" text="bind:indd"/>
- <Cell col="6" text="bind:cretno"/>
- <Cell col="7" text="bind:userid"/>
- <Cell col="8" text="bind:usernm"/>
- <Cell col="9" displaytype="combo" edittype="combo" style="align:center;" text="bind:loginstcd" combodataset="ds_init_instcd" combocodecol="value" combodatacol="label" combodisplay="edit"/>
- <Cell col="10" displaytype="text" text="bind:logdeptnm"/>
- <Cell col="11" text="bind:logip"/>
- <Cell col="12" text="bind:scrncd"/>
- <Cell col="13" displaytype="text" text="bind:scrnnm"/>
- <Cell col="14" displaytype="combo" style="align:center;" text="bind:logtype" combodataset="ds_init_logtypelist" combocodecol="value" combodatacol="label"/>
- <Cell col="15" style="align:center;" text="bind:downloadcount"/>
- <Cell col="16" displaytype="text" style="align:left middle;" text="bind:reason"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="line1" class="line_10" position="absolute 310 25 1248 30" anchor="left top right"/>
- <Static id="caption3" text="다운로드 상세내역" class="tit_2" position="absolute 310 7 475 28"/>
- <Shape id="line00" class="line_10" position="absolute 0 89 301 94"/>
- <Static id="caption00" text="대용량 다운로드 내역" class="tit_2" position="absolute 0 71 165 92"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_download_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="userid" type="STRING" size="256"/>
- <Column id="logdeptnm" type="STRING" size="256"/>
- <Column id="usernm" type="STRING" size="256"/>
- <Column id="cnt" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_detail_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="userid" type="STRING" size="256" sumtext="사용자ID"/>
- <Column id="usernm" type="STRING" size="256" sumtext="사용자ID"/>
- <Column id="logdd" type="STRING" size="256" sumtext="로그일자"/>
- <Column id="logtm" type="STRING" size="256" sumtext="로그시간"/>
- <Column id="loginstcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="logdeptcd" type="STRING" size="256" sumtext="부서코드"/>
- <Column id="logdeptnm" type="STRING" size="256" sumtext="부서코드"/>
- <Column id="logip" type="STRING" size="256" sumtext="IP"/>
- <Column id="logmac" type="STRING" size="256" sumtext="시작일자"/>
- <Column id="logtype" type="STRING" size="256" sumtext="로그타입"/>
- <Column id="scrncd" type="STRING" size="256" sumtext="화면코드"/>
- <Column id="scrnnm" type="STRING" size="256" sumtext="화면명"/>
- <Column id="pid" type="STRING" size="256" sumtext="환자번호/사번"/>
- <Column id="secyn" type="STRING" size="256" sumtext="보안여부"/>
- <Column id="reason" type="STRING" size="256" sumtext="다운로드사유"/>
- <Column id="downloadcount" type="STRING" size="256" sumtext="다운로드건수"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_search" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="month" type="STRING" size="256"/>
- <Column id="userid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_instcd" 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">031</Col>
- </Row>
- <Row>
- <Col id="label">칠곡</Col>
- <Col id="value">032</Col>
- </Row>
- <Row>
- <Col id="label">치과</Col>
- <Col id="value">033</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_logtypelist" 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">L</Col>
- </Row>
- <Row>
- <Col id="label">화면</Col>
- <Col id="value">S</Col>
- </Row>
- <Row>
- <Col id="label">보안조회</Col>
- <Col id="value">R</Col>
- </Row>
- <Row>
- <Col id="label">보안입력</Col>
- <Col id="value">I</Col>
- </Row>
- <Row>
- <Col id="label">보안삭제</Col>
- <Col id="value">D</Col>
- </Row>
- <Row>
- <Col id="label">보안수정</Col>
- <Col id="value">U</Col>
- </Row>
- <Row>
- <Col id="label">보안출력</Col>
- <Col id="value">P</Col>
- </Row>
- <Row>
- <Col id="label">보안파일</Col>
- <Col id="value">F</Col>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Script type="xscript4.0"><![CDATA[include "com_commonxp::comm_main.xjs";
- function SPZSE00110_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SPZSE00110_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_setToolTipBind(grd_detail);
- }
- function group2_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- fSearch();
- }
- function grd_list_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- var userid = ds_main_download_list.getColumn(e.row, "userid");
- fSearchDetl(userid);
- }
- function fSearch()
- {
- /*
- 97089 : 박수찬
- 19340 : 이재욱
- 15275 : 김진경
- 17435 : 양현성
- 18591 : 이대근
- */
- if(sysf_getUserId() != "97089" && sysf_getUserId() != "COM" && sysf_getUserId() != "18591" && sysf_getUserId() != "19340" && sysf_getUserId() != "15275" && sysf_getUserId() != "17435") {
- sysf_messageBox("권한이 없어 조회", "E001");
- return;
- }
-
- ds_main_detail_list.clearData();
- ds_send_search.setColumn(0, "month", Div00.cp_monthCal.getData());
-
- var oParam = {};
- oParam.id = "TPZSE00110";
- oParam.service = "securityapp.SecurityMonitoringMngt";
- oParam.method = "reqGetDownloadList";
- oParam.inds = "req=ds_send_search";
- oParam.outds = "ds_main_download_list=downloadlist";
- oParam.async = true;
- tranf_submit(oParam);
- }
- /* 상세조회 */
- function fSearchDetl(userid){
- ds_send_search.setColumn(0, "userid", userid);
-
- var oParam = {};
- oParam.id = "TPZSE00110";
- oParam.service = "securityapp.SecurityMonitoringMngt";
- oParam.method = "reqGetDownloadDetailList";
- oParam.inds = "req=ds_send_search";
- oParam.outds = "ds_main_detail_list=downloaddetaillist";
- oParam.async = true;
- tranf_submit(oParam);
- }]]></Script>
- </Form>
- </FDL>
|