SMZSE00100_보안로그.xfdl 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMZSE00100" classname="SMZSE00100_보안로그" inheritanceid="" position="absolute 0 0 1195 780" titletext="보안로그" onload="SMZSE00100_onload" oninit="SMZSE00100_oninit">
  5. <Layouts>
  6. <Layout>
  7. <Div id="Div00" taborder="0" class="div_SA" position="absolute 0 25 1195 99">
  8. <Layouts>
  9. <Layout>
  10. <Static id="Static00" text="일자" class="search_name" position="absolute 13 14 85 34" anchor="default"/>
  11. <Static id="Static01" text="타입" class="search_name" position="absolute 397 14 461 34" anchor="default"/>
  12. <Edit id="input1" taborder="10" onkeydown="Div00_Edit00_onkeydown" position="absolute 59 41 159 61" anchor="default"/>
  13. <Static id="Static03" text="사번" class="search_name" position="absolute 13 41 85 61" anchor="default"/>
  14. <Edit id="input2" taborder="11" onkeydown="Div00_Edit01_onkeydown" position="absolute 466 41 566 61"/>
  15. <Static id="Static04" text="화면코드" class="search_name" position="absolute 397 41 461 61"/>
  16. <Static id="Static02" text="보안여부" class="search_name" position="absolute 677 14 741 34"/>
  17. <Static id="Static05" text="환자번호/사번" class="search_name" position="absolute 677 41 782 61"/>
  18. <Edit id="input3" taborder="12" onkeydown="Div00_Edit01_onkeydown" position="absolute 783 41 883 61"/>
  19. <cp_periodCal id="cp_periodCal" titletext="Period Calendar" taborder="15" scrollbars="none" position="absolute 59 14 275 34" style="background:transparent; "/>
  20. <Combo id="combo1" taborder="16" position="absolute 466 14 566 34" index="-1" innerdataset="@ds_init_logtypelist" codecolumn="value" datacolumn="label"/>
  21. <CheckBox id="checkbox1" taborder="17" position="absolute 783 14 883 34" truevalue="Y" falsevalue="N"/>
  22. <Button id="btn_search" taborder="18" text="조회" onclick="Div00_btn_search_onclick" class="btn1" position="absolute 1116 29 1172 49"/>
  23. </Layout>
  24. </Layouts>
  25. </Div>
  26. <Static id="Static00" text="보안로그" class="tit_1" position="absolute 0 0 85 25"/>
  27. <Grid id="datagrid1" taborder="1" binddataset="ds_main_securityloginfo_securityloglist" useinputpanel="false" autofittype="col" position="absolute 0 101 1195 780">
  28. <Formats>
  29. <Format id="default">
  30. <Columns>
  31. <Column size="23"/>
  32. <Column size="75"/>
  33. <Column size="92"/>
  34. <Column size="67"/>
  35. <Column size="0"/>
  36. <Column size="0"/>
  37. <Column size="0"/>
  38. <Column size="0"/>
  39. <Column size="59"/>
  40. <Column size="67"/>
  41. <Column size="55"/>
  42. <Column size="135"/>
  43. <Column size="133"/>
  44. <Column size="95"/>
  45. <Column size="123"/>
  46. <Column size="117"/>
  47. <Column size="168"/>
  48. <Column size="75"/>
  49. <Column size="49"/>
  50. <Column size="69"/>
  51. <Column size="287"/>
  52. </Columns>
  53. <Rows>
  54. <Row size="24" band="head"/>
  55. <Row size="24" band="head"/>
  56. <Row size="24"/>
  57. </Rows>
  58. <Band id="head">
  59. <Cell rowspan="2" taborder="undefined"/>
  60. <Cell col="1" rowspan="2" text="접속AP" taborder="undefined"/>
  61. <Cell col="2" rowspan="2" text="일자" taborder="undefined"/>
  62. <Cell col="3" rowspan="2" text="시간" taborder="undefined"/>
  63. <Cell col="4"/>
  64. <Cell col="5"/>
  65. <Cell col="6"/>
  66. <Cell col="7"/>
  67. <Cell col="8" rowspan="2" text="사번" taborder="undefined"/>
  68. <Cell col="9" rowspan="2" text="이름" taborder="undefined"/>
  69. <Cell col="10" rowspan="2" text="기관" taborder="undefined"/>
  70. <Cell col="11" rowspan="2" text="부서" taborder="undefined"/>
  71. <Cell col="12" rowspan="2" text="접속IP" taborder="undefined"/>
  72. <Cell col="13" rowspan="2" text="메뉴그룹명" taborder="undefined"/>
  73. <Cell col="14" rowspan="2" text="메뉴명" taborder="undefined"/>
  74. <Cell col="15" rowspan="2" text="화면코드" taborder="undefined"/>
  75. <Cell col="16" rowspan="2" text="화면명" taborder="undefined"/>
  76. <Cell col="17" rowspan="2" text="타입" taborder="undefined"/>
  77. <Cell col="18" rowspan="2" taborder="undefined">
  78. <Cell text="보안" taborder="undefined"/>
  79. <Cell row="1" text="여부" taborder="undefined"/>
  80. </Cell>
  81. <Cell col="19" rowspan="2" taborder="undefined">
  82. <Cell text="환자번호" taborder="undefined"/>
  83. <Cell row="1" text="/사번" taborder="undefined"/>
  84. </Cell>
  85. <Cell col="20" rowspan="2" text="다운로드 사유" taborder="undefined"/>
  86. <Cell row="1" col="4"/>
  87. <Cell row="1" col="5"/>
  88. <Cell row="1" col="6"/>
  89. <Cell row="1" col="7"/>
  90. </Band>
  91. <Band id="body">
  92. <Cell celltype="head" expr="currow+1"/>
  93. <Cell col="1" text="bind:wasid"/>
  94. <Cell col="2" displaytype="date" text="bind:logdd"/>
  95. <Cell col="3" displaytype="date" text="bind:logtm" mask="HH:mm:ss"/>
  96. <Cell col="4" text="bind:cretdd"/>
  97. <Cell col="5" text="bind:crettm"/>
  98. <Cell col="6" text="bind:indd"/>
  99. <Cell col="7" text="bind:cretno"/>
  100. <Cell col="8" text="bind:userid"/>
  101. <Cell col="9" text="bind:usernm"/>
  102. <Cell col="10" displaytype="combo" edittype="combo" style="align:center;" text="bind:loginstcd" combodataset="ds_init_instcd" combocodecol="value" combodatacol="label" combodisplay="edit"/>
  103. <Cell col="11" displaytype="text" text="bind:logdeptnm"/>
  104. <Cell col="12" text="bind:logip"/>
  105. <Cell col="13" displaytype="text" text="bind:menugrupnm"/>
  106. <Cell col="14" displaytype="text" text="bind:menuitemnm"/>
  107. <Cell col="15" text="bind:scrncd"/>
  108. <Cell col="16" displaytype="text" text="bind:scrnnm"/>
  109. <Cell col="17" displaytype="combo" style="align:center;" text="bind:logtype" combodataset="ds_init_logtypelist" combocodecol="value" combodatacol="label"/>
  110. <Cell col="18" style="align:center;" text="bind:secyn"/>
  111. <Cell col="19" style="align:center;" text="bind:pid"/>
  112. <Cell col="20" displaytype="text" style="align:left middle;" text="bind:reason"/>
  113. </Band>
  114. </Format>
  115. </Formats>
  116. </Grid>
  117. <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1096 54 1102 76"/>
  118. </Layout>
  119. </Layouts>
  120. <Objects>
  121. <Dataset id="ds_init_logtypelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  122. <ColumnInfo>
  123. <Column id="label" type="STRING" size="256"/>
  124. <Column id="value" type="STRING" size="256"/>
  125. </ColumnInfo>
  126. <Rows>
  127. <Row>
  128. <Col id="label">로그인</Col>
  129. <Col id="value">L</Col>
  130. </Row>
  131. <Row>
  132. <Col id="label">화면</Col>
  133. <Col id="value">S</Col>
  134. </Row>
  135. <Row>
  136. <Col id="label">보안조회</Col>
  137. <Col id="value">R</Col>
  138. </Row>
  139. <Row>
  140. <Col id="label">보안입력</Col>
  141. <Col id="value">I</Col>
  142. </Row>
  143. <Row>
  144. <Col id="label">보안삭제</Col>
  145. <Col id="value">D</Col>
  146. </Row>
  147. <Row>
  148. <Col id="label">보안수정</Col>
  149. <Col id="value">U</Col>
  150. </Row>
  151. <Row>
  152. <Col id="label">보안출력</Col>
  153. <Col id="value">P</Col>
  154. </Row>
  155. <Row>
  156. <Col id="label">보안파일</Col>
  157. <Col id="value">F</Col>
  158. </Row>
  159. </Rows>
  160. </Dataset>
  161. <Dataset id="ds_init_wasidlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  162. <ColumnInfo>
  163. <Column id="label" type="STRING" size="256"/>
  164. <Column id="value" type="STRING" size="256"/>
  165. </ColumnInfo>
  166. <Rows>
  167. <Row>
  168. <Col id="label">본원AP#1</Col>
  169. <Col id="value">H11</Col>
  170. </Row>
  171. <Row>
  172. <Col id="label">본원AP#1</Col>
  173. <Col id="value">H12</Col>
  174. </Row>
  175. <Row>
  176. <Col id="label">본원AP#1</Col>
  177. <Col id="value">H13</Col>
  178. </Row>
  179. <Row>
  180. <Col id="label">본원AP#1</Col>
  181. <Col id="value">H14</Col>
  182. </Row>
  183. <Row>
  184. <Col id="label">본원AP#2</Col>
  185. <Col id="value">H21</Col>
  186. </Row>
  187. <Row>
  188. <Col id="label">본원AP#2</Col>
  189. <Col id="value">H22</Col>
  190. </Row>
  191. <Row>
  192. <Col id="label">본원AP#2</Col>
  193. <Col id="value">H23</Col>
  194. </Row>
  195. <Row>
  196. <Col id="label">본원AP#2</Col>
  197. <Col id="value">H24</Col>
  198. </Row>
  199. <Row>
  200. <Col id="label">칠곡AP#1</Col>
  201. <Col id="value">D11</Col>
  202. </Row>
  203. <Row>
  204. <Col id="label">칠곡AP#1</Col>
  205. <Col id="value">D12</Col>
  206. </Row>
  207. <Row>
  208. <Col id="label">칠곡AP#1</Col>
  209. <Col id="value">D13</Col>
  210. </Row>
  211. <Row>
  212. <Col id="label">칠곡AP#2</Col>
  213. <Col id="value">D21</Col>
  214. </Row>
  215. <Row>
  216. <Col id="label">칠곡AP#2</Col>
  217. <Col id="value">D22</Col>
  218. </Row>
  219. <Row>
  220. <Col id="label">칠곡AP#2</Col>
  221. <Col id="value">D23</Col>
  222. </Row>
  223. <Row>
  224. <Col id="label">MIS#1</Col>
  225. <Col id="value">M11</Col>
  226. </Row>
  227. <Row>
  228. <Col id="label">MIS#1</Col>
  229. <Col id="value">M12</Col>
  230. </Row>
  231. <Row>
  232. <Col id="label">MIS#2</Col>
  233. <Col id="value">M21</Col>
  234. </Row>
  235. <Row>
  236. <Col id="label">MIS#2</Col>
  237. <Col id="value">M21</Col>
  238. </Row>
  239. <Row>
  240. <Col id="label">본원교육</Col>
  241. <Col id="value">E11</Col>
  242. </Row>
  243. <Row>
  244. <Col id="label">칠곡교육</Col>
  245. <Col id="value">E21</Col>
  246. </Row>
  247. <Row>
  248. <Col id="label">MIS교육</Col>
  249. <Col id="value">E31</Col>
  250. </Row>
  251. </Rows>
  252. </Dataset>
  253. <Dataset id="ds_send_search" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  254. <ColumnInfo>
  255. <Column id="userid" type="STRING" size="256" sumtext="사용자ID"/>
  256. <Column id="fromdd" type="STRING" size="256" sumtext="로그일자"/>
  257. <Column id="todd" type="STRING" size="256" sumtext="로그시간"/>
  258. <Column id="logtype" type="STRING" size="256" sumtext="로그타입"/>
  259. <Column id="scrncd" type="STRING" size="256" sumtext="화면코드"/>
  260. <Column id="pid" type="STRING" size="256" sumtext="환자번호/사번"/>
  261. <Column id="secyn" type="STRING" size="256" sumtext="보안여부"/>
  262. </ColumnInfo>
  263. <Rows>
  264. <Row/>
  265. </Rows>
  266. </Dataset>
  267. <Dataset id="ds_main_securityloginfo_securityloglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  268. <ColumnInfo>
  269. <Column id="wasid" type="STRING" size="256" sumtext="접속서버ID"/>
  270. <Column id="userid" type="STRING" size="256" sumtext="사용자ID"/>
  271. <Column id="usernm" type="STRING" size="256" sumtext="사용자ID"/>
  272. <Column id="logdd" type="STRING" size="256" sumtext="로그일자"/>
  273. <Column id="logtm" type="STRING" size="256" sumtext="로그시간"/>
  274. <Column id="loginstcd" type="STRING" size="256" sumtext="기관코드"/>
  275. <Column id="logdeptcd" type="STRING" size="256" sumtext="부서코드"/>
  276. <Column id="logdeptnm" type="STRING" size="256" sumtext="부서코드"/>
  277. <Column id="logip" type="STRING" size="256" sumtext="IP"/>
  278. <Column id="logmac" type="STRING" size="256" sumtext="시작일자"/>
  279. <Column id="logtype" type="STRING" size="256" sumtext="로그타입"/>
  280. <Column id="menugrupcd" type="STRING" size="256" sumtext="메뉴그룹코드"/>
  281. <Column id="menugrupnm" type="STRING" size="256" sumtext="메뉴그룹코드"/>
  282. <Column id="menuitemcd" type="STRING" size="256" sumtext="메뉴아이템코드"/>
  283. <Column id="menuitemnm" type="STRING" size="256" sumtext="메뉴아이템코드"/>
  284. <Column id="scrncd" type="STRING" size="256" sumtext="화면코드"/>
  285. <Column id="scrnnm" type="STRING" size="256" sumtext="화면명"/>
  286. <Column id="pid" type="STRING" size="256" sumtext="환자번호/사번"/>
  287. <Column id="secyn" type="STRING" size="256" sumtext="보안여부"/>
  288. <Column id="reason" type="STRING" size="256" sumtext="다운로드사유"/>
  289. </ColumnInfo>
  290. </Dataset>
  291. <Dataset id="ds_init_instcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  292. <ColumnInfo>
  293. <Column id="label" type="STRING" size="256"/>
  294. <Column id="value" type="STRING" size="256"/>
  295. </ColumnInfo>
  296. <Rows>
  297. <Row>
  298. <Col id="label">본원</Col>
  299. <Col id="value">031</Col>
  300. </Row>
  301. <Row>
  302. <Col id="label">칠곡</Col>
  303. <Col id="value">032</Col>
  304. </Row>
  305. <Row>
  306. <Col id="label">치과</Col>
  307. <Col id="value">033</Col>
  308. </Row>
  309. </Rows>
  310. </Dataset>
  311. </Objects>
  312. <Bind>
  313. <BindItem id="item0" compid="Div00.combo1" propid="value" datasetid="ds_send_search" columnid="logtype"/>
  314. <BindItem id="item3" compid="Div00.checkbox1" propid="value" datasetid="ds_send_search" columnid="secyn"/>
  315. <BindItem id="item4" compid="Div00.input1" propid="value" datasetid="ds_send_search" columnid="userid"/>
  316. <BindItem id="item5" compid="Div00.input2" propid="value" datasetid="ds_send_search" columnid="scrncd"/>
  317. <BindItem id="item6" compid="Div00.input3" propid="value" datasetid="ds_send_search" columnid="pid"/>
  318. </Bind>
  319. <Script type="xscript4.0"><![CDATA[include "com_commonxp::comm_main.xjs";
  320. function SMZSE00100_oninit(obj:Form, e:InitEventInfo)
  321. {
  322. frmf_initForm(obj);
  323. }
  324. function SMZSE00100_onload(obj:Form, e:LoadEventInfo)
  325. {
  326. grdf_setToolTipBind(datagrid1);
  327. }
  328. function fSearch()
  329. {
  330. /*
  331. 97089 : 박수찬
  332. 19340 : 이재욱
  333. 15275 : 김진경
  334. 17435 : 양현성
  335. 18591 : 이대근
  336. */
  337. if(sysf_getUserId() != "97089" && sysf_getUserId() != "COM" && sysf_getUserId() != "18591" && sysf_getUserId() != "19340" && sysf_getUserId() != "15275" && sysf_getUserId() != "17435") {
  338. sysf_messageBox("권한이 없어 조회", "E001");
  339. return;
  340. }
  341. ds_send_search.setColumn(0, "fromdd", Div00.cp_periodCal.cal_from.value);
  342. ds_send_search.setColumn(0, "todd", Div00.cp_periodCal.cal_to.value);
  343. var oParam = {};
  344. oParam.id = "TRZSE00101";
  345. oParam.service = "securityapp.SecurityLoggingMngt";
  346. oParam.method = "reqGetSecurityLogList";
  347. oParam.inds = "req=ds_send_search";
  348. oParam.outds = "ds_main_securityloginfo_securityloglist=securityloglist";
  349. oParam.async = true;
  350. //oParam.callback = "cf_TRZSE00101";
  351. tranf_submit(oParam);
  352. }
  353. function Div00_btn_search_onclick(obj:Button, e:ClickEventInfo)
  354. {
  355. fSearch();
  356. }]]></Script>
  357. </Form>
  358. </FDL>