SPZSE00110_다운로드모니터링.xfdl 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPZSE00110" classname="SPZSE00110_다운로드모니터링" inheritanceid="" position="absolute 0 0 1250 570" titletext="다운로드모니터링" oninit="SPZSE00110_oninit" onload="SPZSE00110_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption6" text="대량 다운로드 모니터링" class="tit_1" position="absolute 0 0 178 25" onclick="caption6_onclick"/>
  8. <Div id="Div00" taborder="1" scrollbars="none" class="div_SA" position="absolute 0 25 304 64">
  9. <Layouts>
  10. <Layout>
  11. <Static id="caption22" text="일자" class="search_name" position="absolute 13 10 57 30" anchor="default"/>
  12. <Button id="btn_search" taborder="10" text="조회" onclick="group2_btn_search_onclick" class="btn1" position="absolute 241 10 297 30" anchor="top right"/>
  13. <cp_monthCal id="cp_monthCal" titletext="monthCalendar" taborder="11" text="cp_monthCal00" scrollbars="none" position="absolute 62 10 231 34" anchor="default"/>
  14. </Layout>
  15. </Layouts>
  16. </Div>
  17. <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">
  18. <Formats>
  19. <Format id="default">
  20. <Columns>
  21. <Column size="0"/>
  22. <Column size="117"/>
  23. <Column size="111"/>
  24. <Column size="125"/>
  25. <Column size="130"/>
  26. <Column size="0"/>
  27. </Columns>
  28. <Rows>
  29. <Row size="24" band="head"/>
  30. <Row size="24"/>
  31. </Rows>
  32. <Band id="head">
  33. <Cell text="msgcd"/>
  34. <Cell col="1" text="사번"/>
  35. <Cell col="2" text="받는이"/>
  36. <Cell col="3" text="부서"/>
  37. <Cell col="4" text="다운로드횟수"/>
  38. <Cell col="5" text="내용"/>
  39. </Band>
  40. <Band id="body">
  41. <Cell text="bind:msgcd"/>
  42. <Cell col="1" text="bind:userid"/>
  43. <Cell col="2" displaytype="normal" edittype="none" text="bind:usernm"/>
  44. <Cell col="3" displaytype="text" text="bind:logdeptnm"/>
  45. <Cell col="4" text="bind:cnt"/>
  46. <Cell col="5" text="bind:conts"/>
  47. </Band>
  48. </Format>
  49. </Formats>
  50. </Grid>
  51. <Grid id="grd_detail" taborder="3" binddataset="ds_main_detail_list" useinputpanel="false" autofittype="col" position="absolute 310 29 1248 570" anchor="all">
  52. <Formats>
  53. <Format id="default">
  54. <Columns>
  55. <Column size="23"/>
  56. <Column size="103"/>
  57. <Column size="75"/>
  58. <Column size="0"/>
  59. <Column size="0"/>
  60. <Column size="0"/>
  61. <Column size="0"/>
  62. <Column size="59"/>
  63. <Column size="67"/>
  64. <Column size="55"/>
  65. <Column size="135"/>
  66. <Column size="133"/>
  67. <Column size="117"/>
  68. <Column size="177"/>
  69. <Column size="75"/>
  70. <Column size="94"/>
  71. <Column size="179"/>
  72. </Columns>
  73. <Rows>
  74. <Row size="24" band="head"/>
  75. <Row size="24"/>
  76. </Rows>
  77. <Band id="head">
  78. <Cell taborder="undefined"/>
  79. <Cell col="1" text="일자" taborder="undefined"/>
  80. <Cell col="2" text="시간" taborder="undefined"/>
  81. <Cell col="3"/>
  82. <Cell col="4"/>
  83. <Cell col="5"/>
  84. <Cell col="6"/>
  85. <Cell col="7" text="사번" taborder="undefined"/>
  86. <Cell col="8" text="이름" taborder="undefined"/>
  87. <Cell col="9" text="기관" taborder="undefined"/>
  88. <Cell col="10" text="부서" taborder="undefined"/>
  89. <Cell col="11" text="접속IP" taborder="undefined"/>
  90. <Cell col="12" text="화면코드" taborder="undefined"/>
  91. <Cell col="13" text="화면명" taborder="undefined"/>
  92. <Cell col="14" text="타입" taborder="undefined"/>
  93. <Cell col="15" text="건수" taborder="undefined"/>
  94. <Cell col="16" text="다운로드 사유" taborder="undefined"/>
  95. </Band>
  96. <Band id="body">
  97. <Cell celltype="head" expr="currow+1"/>
  98. <Cell col="1" displaytype="date" text="bind:logdd"/>
  99. <Cell col="2" displaytype="date" text="bind:logtm" mask="HH:mm:ss"/>
  100. <Cell col="3" text="bind:cretdd"/>
  101. <Cell col="4" text="bind:crettm"/>
  102. <Cell col="5" text="bind:indd"/>
  103. <Cell col="6" text="bind:cretno"/>
  104. <Cell col="7" text="bind:userid"/>
  105. <Cell col="8" text="bind:usernm"/>
  106. <Cell col="9" displaytype="combo" edittype="combo" style="align:center;" text="bind:loginstcd" combodataset="ds_init_instcd" combocodecol="value" combodatacol="label" combodisplay="edit"/>
  107. <Cell col="10" displaytype="text" text="bind:logdeptnm"/>
  108. <Cell col="11" text="bind:logip"/>
  109. <Cell col="12" text="bind:scrncd"/>
  110. <Cell col="13" displaytype="text" text="bind:scrnnm"/>
  111. <Cell col="14" displaytype="combo" style="align:center;" text="bind:logtype" combodataset="ds_init_logtypelist" combocodecol="value" combodatacol="label"/>
  112. <Cell col="15" style="align:center;" text="bind:downloadcount"/>
  113. <Cell col="16" displaytype="text" style="align:left middle;" text="bind:reason"/>
  114. </Band>
  115. </Format>
  116. </Formats>
  117. </Grid>
  118. <Shape id="line1" class="line_10" position="absolute 310 25 1248 30" anchor="left top right"/>
  119. <Static id="caption3" text="다운로드 상세내역" class="tit_2" position="absolute 310 7 475 28"/>
  120. <Shape id="line00" class="line_10" position="absolute 0 89 301 94"/>
  121. <Static id="caption00" text="대용량 다운로드 내역" class="tit_2" position="absolute 0 71 165 92"/>
  122. </Layout>
  123. </Layouts>
  124. <Objects>
  125. <Dataset id="ds_main_download_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  126. <ColumnInfo>
  127. <Column id="userid" type="STRING" size="256"/>
  128. <Column id="logdeptnm" type="STRING" size="256"/>
  129. <Column id="usernm" type="STRING" size="256"/>
  130. <Column id="cnt" type="STRING" size="256"/>
  131. </ColumnInfo>
  132. </Dataset>
  133. <Dataset id="ds_main_detail_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  134. <ColumnInfo>
  135. <Column id="userid" type="STRING" size="256" sumtext="사용자ID"/>
  136. <Column id="usernm" type="STRING" size="256" sumtext="사용자ID"/>
  137. <Column id="logdd" type="STRING" size="256" sumtext="로그일자"/>
  138. <Column id="logtm" type="STRING" size="256" sumtext="로그시간"/>
  139. <Column id="loginstcd" type="STRING" size="256" sumtext="기관코드"/>
  140. <Column id="logdeptcd" type="STRING" size="256" sumtext="부서코드"/>
  141. <Column id="logdeptnm" type="STRING" size="256" sumtext="부서코드"/>
  142. <Column id="logip" type="STRING" size="256" sumtext="IP"/>
  143. <Column id="logmac" type="STRING" size="256" sumtext="시작일자"/>
  144. <Column id="logtype" type="STRING" size="256" sumtext="로그타입"/>
  145. <Column id="scrncd" type="STRING" size="256" sumtext="화면코드"/>
  146. <Column id="scrnnm" type="STRING" size="256" sumtext="화면명"/>
  147. <Column id="pid" type="STRING" size="256" sumtext="환자번호/사번"/>
  148. <Column id="secyn" type="STRING" size="256" sumtext="보안여부"/>
  149. <Column id="reason" type="STRING" size="256" sumtext="다운로드사유"/>
  150. <Column id="downloadcount" type="STRING" size="256" sumtext="다운로드건수"/>
  151. </ColumnInfo>
  152. </Dataset>
  153. <Dataset id="ds_send_search" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  154. <ColumnInfo>
  155. <Column id="month" type="STRING" size="256"/>
  156. <Column id="userid" type="STRING" size="256"/>
  157. </ColumnInfo>
  158. <Rows>
  159. <Row/>
  160. </Rows>
  161. </Dataset>
  162. <Dataset id="ds_init_instcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  163. <ColumnInfo>
  164. <Column id="label" type="STRING" size="256"/>
  165. <Column id="value" type="STRING" size="256"/>
  166. </ColumnInfo>
  167. <Rows>
  168. <Row>
  169. <Col id="label">본원</Col>
  170. <Col id="value">031</Col>
  171. </Row>
  172. <Row>
  173. <Col id="label">칠곡</Col>
  174. <Col id="value">032</Col>
  175. </Row>
  176. <Row>
  177. <Col id="label">치과</Col>
  178. <Col id="value">033</Col>
  179. </Row>
  180. </Rows>
  181. </Dataset>
  182. <Dataset id="ds_init_logtypelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  183. <ColumnInfo>
  184. <Column id="label" type="STRING" size="256"/>
  185. <Column id="value" type="STRING" size="256"/>
  186. </ColumnInfo>
  187. <Rows>
  188. <Row>
  189. <Col id="label">로그인</Col>
  190. <Col id="value">L</Col>
  191. </Row>
  192. <Row>
  193. <Col id="label">화면</Col>
  194. <Col id="value">S</Col>
  195. </Row>
  196. <Row>
  197. <Col id="label">보안조회</Col>
  198. <Col id="value">R</Col>
  199. </Row>
  200. <Row>
  201. <Col id="label">보안입력</Col>
  202. <Col id="value">I</Col>
  203. </Row>
  204. <Row>
  205. <Col id="label">보안삭제</Col>
  206. <Col id="value">D</Col>
  207. </Row>
  208. <Row>
  209. <Col id="label">보안수정</Col>
  210. <Col id="value">U</Col>
  211. </Row>
  212. <Row>
  213. <Col id="label">보안출력</Col>
  214. <Col id="value">P</Col>
  215. </Row>
  216. <Row>
  217. <Col id="label">보안파일</Col>
  218. <Col id="value">F</Col>
  219. </Row>
  220. </Rows>
  221. </Dataset>
  222. </Objects>
  223. <Script type="xscript4.0"><![CDATA[include "com_commonxp::comm_main.xjs";
  224. function SPZSE00110_oninit(obj:Form, e:InitEventInfo)
  225. {
  226. frmf_initForm(obj);
  227. }
  228. function SPZSE00110_onload(obj:Form, e:LoadEventInfo)
  229. {
  230. grdf_setToolTipBind(grd_detail);
  231. }
  232. function group2_btn_search_onclick(obj:Button, e:ClickEventInfo)
  233. {
  234. fSearch();
  235. }
  236. function grd_list_oncellclick(obj:Grid, e:GridClickEventInfo)
  237. {
  238. var userid = ds_main_download_list.getColumn(e.row, "userid");
  239. fSearchDetl(userid);
  240. }
  241. function fSearch()
  242. {
  243. /*
  244. 97089 : 박수찬
  245. 19340 : 이재욱
  246. 15275 : 김진경
  247. 17435 : 양현성
  248. 18591 : 이대근
  249. */
  250. if(sysf_getUserId() != "97089" && sysf_getUserId() != "COM" && sysf_getUserId() != "18591" && sysf_getUserId() != "19340" && sysf_getUserId() != "15275" && sysf_getUserId() != "17435") {
  251. sysf_messageBox("권한이 없어 조회", "E001");
  252. return;
  253. }
  254. ds_main_detail_list.clearData();
  255. ds_send_search.setColumn(0, "month", Div00.cp_monthCal.getData());
  256. var oParam = {};
  257. oParam.id = "TPZSE00110";
  258. oParam.service = "securityapp.SecurityMonitoringMngt";
  259. oParam.method = "reqGetDownloadList";
  260. oParam.inds = "req=ds_send_search";
  261. oParam.outds = "ds_main_download_list=downloadlist";
  262. oParam.async = true;
  263. tranf_submit(oParam);
  264. }
  265. /* 상세조회 */
  266. function fSearchDetl(userid){
  267. ds_send_search.setColumn(0, "userid", userid);
  268. var oParam = {};
  269. oParam.id = "TPZSE00110";
  270. oParam.service = "securityapp.SecurityMonitoringMngt";
  271. oParam.method = "reqGetDownloadDetailList";
  272. oParam.inds = "req=ds_send_search";
  273. oParam.outds = "ds_main_detail_list=downloaddetaillist";
  274. oParam.async = true;
  275. tranf_submit(oParam);
  276. }]]></Script>
  277. </Form>
  278. </FDL>