SMASI01100_직원감염노출사고보고서조회.xfdl 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMASI01100" position="absolute 0 0 1100 734" titletext="직원감염기록조회" oninit="model1_oninit" onload="SMASI01100_onload" scrollbars="none">
  5. <Layouts>
  6. <Layout>
  7. <Div id="grp_btn" position="absolute 0 711 1100 734" anchor="left right bottom" positiontype="position" scrollbars="none">
  8. <Layouts>
  9. <Layout>
  10. <Button id="btn_init" class="btn4" position="absolute 1027 -18 1096 2" anchor="right bottom" text="초기화" onlbuttonup="btn_init_onlbuttonup" onclick="btn_init_onclick" visible="false" positiontype="position"/>
  11. <Button id="btn_print" class="btn6" visible="false" position="absolute 0 -19 56 1" anchor="left bottom" text="출력" positiontype="position"/>
  12. </Layout>
  13. </Layouts>
  14. </Div>
  15. <cp_deptList id="cp_deptList00" titletext="New Form" taborder="1" text="cp_deptList00" position="absolute 824 38 860 53"/>
  16. <cp_deptList id="cp_deptList01" titletext="New Form" taborder="2" text="cp_deptList00" position="absolute 863 38 899 53"/>
  17. <Div id="grp_tle" position="absolute 0 0 1100 26" anchor="default" positiontype="position" scrollbars="none">
  18. <Layouts>
  19. <Layout>
  20. <Static id="caption6" class="tit_1" position="absolute 0 0 205 26" anchor="default" text="직원감염노출보고 조회" positiontype="position"/>
  21. </Layout>
  22. </Layouts>
  23. </Div>
  24. <Div id="grp_biz" position="absolute 0 26 1100 734" anchor="all" positiontype="position" scrollbars="none">
  25. <Layouts>
  26. <Layout>
  27. <Div id="group1" position="absolute 0 0 1100 42" style="align:center top;" anchor="left top right" class="div_SA" scrollbars="none" positiontype="position">
  28. <Layouts>
  29. <Layout>
  30. <Static id="cap_fromdd" class="search_name" visible="true" position="absolute 8 13 82 33" anchor="left top" text="기간선택 " positiontype="position"/>
  31. <Static id="caption19" class="search_no_b" position="absolute 283 13 299 33" anchor="left top" text="~" style="align:center middle;" positiontype="position"/>
  32. <Button id="btn_search" class="btn1" position="absolute 432 13 488 33" anchor="left top" text="조회" onlbuttonup="btn_search_onlbuttonup" onclick="btn_search_onclick" taborder="3" positiontype="position"/>
  33. <Combo id="cmb_trgtmancnt" class="combo_default" position="absolute 82 13 167 33" anchor="left top" codecolumn="value" datacolumn="label" innerdataset="@ds_temp_date" index="-1" taborder="0" positiontype="position"/>
  34. <Calendar id="ipt_fromdd" class="input_essential" position="absolute 169 13 283 33" anchor="left top" dateformat="yyyy-MM-dd " value="null" onchanged="grp_biz_group1_ipt_fromdd_onchanged" autoselect="true" autoskip="true" taborder="1" positiontype="position"/>
  35. <Calendar id="ipt_todd" class="input_essential" position="absolute 299 13 415 33" anchor="left top" dateformat="yyyy-MM-dd " value="null" onkeyup="grp_biz_group1_ipt_todd_onkeyup" enable="true" autoselect="true" autoskip="true" taborder="2" positiontype="position"/>
  36. <Button id="button2" taborder="4" text="엑셀" onclick="button2_onclick" onlbuttonup="button2_onlbuttonup" class="btn7" position="absolute 490 13 542 33" anchor="left top"/>
  37. <Shape id="line5" linetype="vertical" class="line_4" position="absolute 422 12 426 34" anchor="left top"/>
  38. </Layout>
  39. </Layouts>
  40. </Div>
  41. <Static id="caption2" text="직원감염노출보고 리스트" class="tit_2" position="absolute 0 44 197 64" onclick="grp_biz_caption2_onclick" anchor="default" positiontype="position"/>
  42. <Static id="caption3" text="정렬선택" class="cell_1" visible="false" position="absolute 1 97 71 121" style="align:center middle;" anchor="default" positiontype="position"/>
  43. <Combo id="cmb_cond3" taborder="17" class="combo_search" visible="false" position="absolute 300 99 380 119" anchor="default" enable="false" codecolumn="codecolumn" datacolumn="datacolumn" positiontype="position"/>
  44. <Edit id="output4" taborder="18" readonly="true" visible="false" position="absolute 655 99 685 119" style="align:center middle;" anchor="default" value="4" positiontype="position"/>
  45. <Edit id="output5" taborder="19" readonly="true" visible="false" position="absolute 849 99 879 119" style="align:center middle;" anchor="default" value="5" positiontype="position"/>
  46. <Combo id="cmb_cond8" taborder="20" class="combo_search" visible="false" position="absolute 771 99 841 119" anchor="default" enable="false" codecolumn="codecolumn" datacolumn="datacolumn" positiontype="position"/>
  47. <Edit id="output6" taborder="21" readonly="true" visible="false" position="absolute 267 99 297 119" style="align:center middle;" anchor="default" value="2" positiontype="position"/>
  48. <Edit id="output7" taborder="22" readonly="true" visible="false" position="absolute 461 99 491 119" style="align:center middle;" anchor="default" value="3" positiontype="position"/>
  49. <Edit id="output8" taborder="23" readonly="true" visible="false" position="absolute 73 99 103 119" style="align:center middle;" anchor="default" value="1" positiontype="position"/>
  50. <Combo id="cmb_cond5" taborder="24" class="combo_search" visible="false" position="absolute 494 99 574 119" anchor="default" enable="false" codecolumn="codecolumn" datacolumn="datacolumn" positiontype="position"/>
  51. <Combo id="cmb_cond6" taborder="25" class="combo_search" visible="false" position="absolute 577 99 647 119" anchor="default" enable="false" codecolumn="codecolumn" datacolumn="datacolumn" positiontype="position"/>
  52. <Combo id="cmb_cond4" taborder="26" class="combo_search" visible="false" position="absolute 383 99 453 119" anchor="default" enable="false" codecolumn="codecolumn" datacolumn="datacolumn" positiontype="position"/>
  53. <Combo id="cmb_cond2" taborder="27" class="combo_search" visible="false" position="absolute 189 99 259 119" anchor="default" codecolumn="codecolumn" datacolumn="datacolumn" positiontype="position"/>
  54. <Combo id="cmb_cond7" taborder="28" class="combo_search" visible="false" position="absolute 688 99 768 119" anchor="default" enable="false" codecolumn="codecolumn" datacolumn="datacolumn" positiontype="position"/>
  55. <Combo id="cmb_cond9" taborder="29" class="combo_search" visible="false" position="absolute 882 99 962 119" anchor="default" enable="false" codecolumn="codecolumn" datacolumn="datacolumn" positiontype="position"/>
  56. <Combo id="cmb_cond1" taborder="30" class="combo_search" visible="false" position="absolute 106 99 186 119" anchor="default" codecolumn="codecolumn" datacolumn="datacolumn" positiontype="position"/>
  57. <Combo id="cmb_cond10" taborder="31" class="combo_search" visible="false" position="absolute 965 99 1035 119" anchor="default" enable="false" codecolumn="codecolumn" datacolumn="datacolumn" positiontype="position"/>
  58. <Grid id="grd_empinfc" taborder="32" binddataset="ds_grid_grd_empinfc" useinputpanel="false" extendsizetype="row" cellsizingtype="both" oncelldblclick="grp_biz_grd_empinfc_oncelldblclick" position="absolute 1 62 1101 708" anchor="all" style="align:center middle;" onlbuttonDown="grd_empinfc_onlbuttonDown" onbuttondown="grd_empinfc_onbuttondown" onclick="grd_empinfc_onclick" selecttype="multirow" cellsizebandtype="allband" class="datagrid2">
  59. <Formats>
  60. <Format id="default">
  61. <Columns>
  62. <Column size="20" band="left"/>
  63. <Column size="50" band="left"/>
  64. <Column size="100" band="left"/>
  65. <Column size="100" band="left"/>
  66. <Column size="0" band="left"/>
  67. <Column size="60" band="left"/>
  68. <Column size="65" band="left"/>
  69. <Column size="63" band="left"/>
  70. <Column size="33"/>
  71. <Column size="31"/>
  72. <Column size="100"/>
  73. <Column size="77"/>
  74. <Column size="70"/>
  75. <Column size="100"/>
  76. <Column size="73"/>
  77. <Column size="85"/>
  78. <Column size="108"/>
  79. <Column size="100"/>
  80. <Column size="122"/>
  81. <Column size="0"/>
  82. <Column size="69"/>
  83. <Column size="110"/>
  84. <Column size="80"/>
  85. <Column size="73"/>
  86. <Column size="78"/>
  87. <Column size="63"/>
  88. <Column size="100"/>
  89. <Column size="100"/>
  90. <Column size="100"/>
  91. <Column size="100"/>
  92. <Column size="100"/>
  93. </Columns>
  94. <Rows>
  95. <Row size="35" band="head"/>
  96. <Row size="23"/>
  97. </Rows>
  98. <Band id="head">
  99. <Cell/>
  100. <Cell col="1" text="상태"/>
  101. <Cell col="2" text="보고일"/>
  102. <Cell col="3" text="발생일시"/>
  103. <Cell col="4" text="사번"/>
  104. <Cell col="5" text="사번"/>
  105. <Cell col="6" text="성명"/>
  106. <Cell col="7" text="등록번호"/>
  107. <Cell col="8" text="성별"/>
  108. <Cell col="9" text="나이"/>
  109. <Cell col="10" text="부서"/>
  110. <Cell col="11" text="직종"/>
  111. <Cell col="12" text="근무경력"/>
  112. <Cell col="13" style="align:center middle;" text="원인자등록번호"/>
  113. <Cell col="14" text="원인체HBV"/>
  114. <Cell col="15" text="원인체HCV"/>
  115. <Cell col="16" text="원인체HCVPCR"/>
  116. <Cell col="17" text="원인체HIV"/>
  117. <Cell col="18" text="원인체기타"/>
  118. <Cell col="19" text="발생일"/>
  119. <Cell col="20" text="발생장소"/>
  120. <Cell col="21" text="노출경로"/>
  121. <Cell col="22" text="노출원"/>
  122. <Cell col="23" text="노출부위"/>
  123. <Cell col="24" text="노출시업무"/>
  124. <Cell col="25" text="노출기구"/>
  125. <Cell col="26" text="노출현황"/>
  126. <Cell col="27" text="추후관리여부"/>
  127. <Cell col="28" text="추후관리계획"/>
  128. <Cell col="29" text="추후관리결과"/>
  129. <Cell col="30" text="caption1"/>
  130. </Band>
  131. <Band id="body">
  132. <Cell celltype="head" expr="expr:currow+1"/>
  133. <Cell col="1" displaytype="combo" style="align:center middle;" text="bind:status" combodataset="ds_init_status" combocodecol="value" combodatacol="label"/>
  134. <Cell col="2" displaytype="date" text="bind:reptdt" mask="expr:utlf_isNull(utlf_trim(reptdt)) ? '' : 'yyyy-MM-dd HH:mm'" maskchar=" " calendardisplaynulltype="none"/>
  135. <Cell col="3" displaytype="date" text="bind:genrdd" mask="expr:utlf_isNull(utlf_trim(genrdd)) ? '' : 'yyyy-MM-dd HH:mm'" maskchar=" " calendardisplaynulltype="none"/>
  136. <Cell col="4" text="bind:userid" wordwrap="none"/>
  137. <Cell col="5" text="bind:userid"/>
  138. <Cell col="6" style="align:center middle;" text="bind:usernm" wordwrap="none"/>
  139. <Cell col="7" displaytype="text" style="align:center middle;" text="bind:pid" wordwrap="none"/>
  140. <Cell col="8" text="bind:sex" wordwrap="none"/>
  141. <Cell col="9" text="bind:age" wordwrap="none"/>
  142. <Cell col="10" text="bind:depthngnm" wordwrap="none"/>
  143. <Cell col="11" displaytype="normal" edittype="none" style="align:center middle;" text="bind:jobkind" wordwrap="none"/>
  144. <Cell col="12" style="align:left top;padding:2 0 0 2;" text="bind:workterm" wordwrap="none"/>
  145. <Cell col="13" displaytype="normal" edittype="none" style="align:center middle;" text="bind:caspid" wordwrap="word"/>
  146. <Cell col="14" displaytype="normal" edittype="none" style="align:left top;padding:2 0 0 2;" text="bind:cashbv" wordwrap="both"/>
  147. <Cell col="15" style="align:left top;padding:2 0 0 2;" text="bind:cashcv" wordwrap="both"/>
  148. <Cell col="16" style="align:left top;padding:2 0 0 2;" text="bind:cashcvpcr" wordwrap="both"/>
  149. <Cell col="17" style="align:left top;padding:2 0 0 2;" text="bind:cashiv" wordwrap="both"/>
  150. <Cell col="18" displaytype="normal" style="align:left top;padding:2 0 0 2;" text="bind:casetc" wordwrap="both"/>
  151. <Cell col="19" text="bind:occdd"/>
  152. <Cell col="20" style="align:left top;padding:2 0 0 2;" text="bind:occplace" wordwrap="word"/>
  153. <Cell col="21" style="align:left middle;padding:2 0 0 2;" text="bind:occpath" wordwrap="word"/>
  154. <Cell col="22" style="align:left middle;" text="bind:occkindnm"/>
  155. <Cell col="23" style="align:left top;padding:2 0 0 2;" text="bind:occpart" wordwrap="word"/>
  156. <Cell col="24" displaytype="text" edittype="text" style="align:left top;padding:2 0 0 2;" text="bind:occworkflag" wordwrap="none" combodataset="ds_init_A0126" combocodecol="cdid" combodatacol="cdnm"/>
  157. <Cell col="25" style="align:left top;padding:2 0 0 2;" text="bind:occtool" wordwrap="word"/>
  158. <Cell col="26" style="align:left top;padding:2 0 0 2;" text="bind:occcomment" wordwrap="word"/>
  159. <Cell col="27" displaytype="text" edittype="text" text="bind:aftneceyn" wordwrap="none" combodataset="ds_init_mngtsypflag01" combocodecol="value" combodatacol="label"/>
  160. <Cell col="28" style="align:left top;padding:2 0 0 2;" text="bind:aftmanasche" wordwrap="word"/>
  161. <Cell col="29" displaytype="text" edittype="text" style="align:left top;padding:2 0 0 2;" text="bind:aftrsltmana" wordwrap="word" combodataset="ds_init_mngtsypflag02" combocodecol="value" combodatacol="label"/>
  162. <Cell col="30" text="bind:rgstid"/>
  163. <Cell col="31" mask="####-##-##"/>
  164. <Cell col="32" mask="####-##-##"/>
  165. <Cell col="33"/>
  166. <Cell col="34"/>
  167. <Cell col="35"/>
  168. <Cell col="36"/>
  169. </Band>
  170. </Format>
  171. </Formats>
  172. </Grid>
  173. </Layout>
  174. </Layouts>
  175. </Div>
  176. </Layout>
  177. </Layouts>
  178. <Objects>
  179. <Dataset id="ds_grid_grd_empinfc" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  180. <ColumnInfo>
  181. <Column id="instcd" type="STRING" size="256"/>
  182. <Column id="personkind" type="STRING" size="256"/>
  183. <Column id="rgstdt" type="STRING" size="256"/>
  184. <Column id="status" type="STRING" size="256"/>
  185. <Column id="userid" type="STRING" size="256"/>
  186. <Column id="usernm" type="STRING" size="256"/>
  187. <Column id="pid" type="STRING" size="256"/>
  188. <Column id="sex" type="STRING" size="256"/>
  189. <Column id="age" type="STRING" size="256"/>
  190. <Column id="depthngnm" type="STRING" size="256"/>
  191. <Column id="jobkind" type="STRING" size="256"/>
  192. <Column id="workterm" type="STRING" size="256"/>
  193. <Column id="caspid" type="STRING" size="256"/>
  194. <Column id="cashbv" type="STRING" size="256"/>
  195. <Column id="cashcv" type="STRING" size="256"/>
  196. <Column id="cashcvpcr" type="STRING" size="256"/>
  197. <Column id="cashiv" type="STRING" size="256"/>
  198. <Column id="casetc" type="STRING" size="256"/>
  199. <Column id="occdd" type="STRING" size="256"/>
  200. <Column id="occplace" type="STRING" size="256"/>
  201. <Column id="occpath" type="STRING" size="256"/>
  202. <Column id="occkindnm" type="STRING" size="256"/>
  203. <Column id="occpart" type="STRING" size="256"/>
  204. <Column id="occworkflag" type="STRING" size="256"/>
  205. <Column id="occtool" type="STRING" size="256"/>
  206. <Column id="occcomment" type="STRING" size="256"/>
  207. <Column id="aftneceyn" type="STRING" size="256"/>
  208. <Column id="aftmanasche" type="STRING" size="256"/>
  209. <Column id="aftrsltmana" type="STRING" size="256"/>
  210. <Column id="genrdd" type="STRING" size="256"/>
  211. <Column id="lastupdtdt" type="STRING" size="256"/>
  212. <Column id="reptdt" type="STRING" size="256"/>
  213. <Column id="rgstid" type="STRING" size="256"/>
  214. </ColumnInfo>
  215. </Dataset>
  216. <Dataset id="ds_temp_date" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  217. <ColumnInfo>
  218. <Column id="label" type="STRING" size="256"/>
  219. <Column id="value" type="STRING" size="256"/>
  220. </ColumnInfo>
  221. <Rows>
  222. <Row>
  223. <Col id="label">보고일</Col>
  224. <Col id="value">R</Col>
  225. </Row>
  226. <Row>
  227. <Col id="label">전송일</Col>
  228. <Col id="value">S</Col>
  229. </Row>
  230. <Row>
  231. <Col id="label">관리일</Col>
  232. <Col id="value">A</Col>
  233. </Row>
  234. </Rows>
  235. </Dataset>
  236. <Dataset id="ds_init_status" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  237. <ColumnInfo>
  238. <Column id="value" type="STRING" size="256"/>
  239. <Column id="label" type="STRING" size="256"/>
  240. </ColumnInfo>
  241. <Rows>
  242. <Row>
  243. <Col id="label">저장</Col>
  244. <Col id="value">T</Col>
  245. </Row>
  246. <Row>
  247. <Col id="value">S</Col>
  248. <Col id="label">전송</Col>
  249. </Row>
  250. </Rows>
  251. </Dataset>
  252. <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  253. <ColumnInfo>
  254. <Column id="fromdd" type="STRING" size="256"/>
  255. <Column id="todd" type="STRING" size="256"/>
  256. <Column id="srchkind" type="STRING" size="256"/>
  257. <Column id="status" type="STRING" size="256"/>
  258. </ColumnInfo>
  259. <Rows>
  260. <Row>
  261. <Col id="status"/>
  262. <Col id="srchkind"/>
  263. <Col id="todd"/>
  264. <Col id="fromdd"/>
  265. </Row>
  266. </Rows>
  267. </Dataset>
  268. </Objects>
  269. <Bind>
  270. <BindItem id="item0" compid="grp_biz.group1.cmb_trgtmancnt" propid="value" datasetid="ds_send_reqdata" columnid="srchkind"/>
  271. <BindItem id="item1" compid="grp_biz.group1.ipt_fromdd" propid="value" datasetid="ds_send_reqdata" columnid="fromdd"/>
  272. <BindItem id="item2" compid="grp_biz.group1.ipt_todd" propid="value" datasetid="ds_send_reqdata" columnid="todd"/>
  273. </Bind>
  274. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  275. * System Name :
  276. * Job Name :
  277. * File Name : SMASI01100_직원감염노출사고보고서조회.xfdl
  278. * Creator :
  279. * Make Date :
  280. *
  281. * Description :
  282. *---------------------------------------------------------------------------------------
  283. * Modify Date Modifier Modify Description
  284. *---------------------------------------------------------------------------------------
  285. *
  286. *---------------------------------------------------------------------------------------
  287. ****************************************************************************************/
  288. //=======================================================================================
  289. // xjs Include
  290. //---------------------------------------------------------------------------------------
  291. include "com_commonxp::comm_main.xjs";
  292. //=======================================================================================
  293. // Function
  294. //---------------------------------------------------------------------------------------
  295. function date_add(sDate, nDays){
  296. var yy = parseInt(sDate.substr(0,4), 10);
  297. var mm = parseInt(sDate.substr(4,2), 10);
  298. var dd = parseInt(sDate.substr(6,2), 10);
  299. var d = new Date(yy, mm - 1, dd + nDays);
  300. yy = d.getFullYear().toString();
  301. mm = d.getMonth() + 1; mm = (mm < 10) ? '0' + mm : mm.toString();
  302. dd = d.getDate(); dd = (dd < 10) ? '0' + dd : dd.toString();
  303. return yy + mm + dd;
  304. }
  305. function SMASI01100_onload(obj:Form, e:LoadEventInfo)
  306. {
  307. frmf_initForm(obj); // 화면공통
  308. grdf_initGrid(grp_biz.grd_empinfc)
  309. grdf_setToolTipBind(grp_biz.grd_empinfc);
  310. //본원 발생일시 없음
  311. if(sysf_getUserInfo("dutplceinstcd") == '031'){
  312. grp_biz.grd_empinfc.setRealColSize(9, grp_biz.grd_empinfc.getFormatColProperty(9,"size"), false);
  313. }else{
  314. grp_biz.grd_empinfc.setRealColSize(9, 0, false);
  315. }
  316. grp_biz.grd_empinfc.setRealColSize(5, 0, false); //엑셀 사번출력 //원인체 기타 mask : expr:genrtm != null ? '@@:@@' : ''
  317. if(sysf_getUserInfo("dutplcecd")=="3110300000"){
  318. ds_send_reqdata.setColumn(0,"srchkind", "S");
  319. }else{
  320. ds_send_reqdata.setColumn(0,"srchkind", "R");
  321. }
  322. ds_send_reqdata.setColumn(0,"todd", utlf_getCurrentDate());
  323. ds_send_reqdata.setColumn(0,"fromdd", date_add(utlf_getCurrentDate(), -6));
  324. }
  325. function cf_TRASI01101(sSvcId, nErrorCode, sErrorMsg) {
  326. if(nErrorCode < 0) return;
  327. }
  328. /****************************************************************************************
  329. * Components : Button
  330. * Components ID : btn_search
  331. * Event : onclick
  332. * Argument : 01.obj : Object Event has occurred
  333. * : 02.e : Event Object
  334. * Description : 조회버튼
  335. ****************************************************************************************/
  336. function btn_search_onclick(obj:Button, e:ClickEventInfo)
  337. {
  338. var nHScollPos = grp_biz.grd_empinfc.hscrollbar.pos;
  339. if(sysf_getUserInfo("dutplcecd")=="3110300000"){
  340. ds_send_reqdata.setColumn(0,"status", "A");
  341. }else{
  342. ds_send_reqdata.setColumn(0,"status", "-");
  343. }
  344. var oParam = {};
  345. oParam.id = "TRASI01101";
  346. oParam.service = "infcmngtapp.EmpInfcMngt";
  347. oParam.method = "reqGetEmpInfcRecRefList";
  348. oParam.inds = "req=ds_send_reqdata";
  349. oParam.outds = "ds_grid_grd_empinfc=item";
  350. oParam.async = false;
  351. oParam.callback = "cf_TRASI01101";
  352. tranf_submit(oParam);
  353. grp_biz.grd_empinfc.hscrollbar.pos = nHScollPos;
  354. }
  355. /****************************************************************************************
  356. * Components : Button
  357. * Components ID : button2
  358. * Event : onclick
  359. * Argument : 01.obj : Object Event has occurred
  360. * : 02.e : Event Object
  361. * Description : 엑셀 버튼
  362. ****************************************************************************************/
  363. function button2_onclick(obj:Button, e:ClickEventInfo)
  364. {
  365. grp_biz.grd_empinfc.setRealColSize(5, 60, false);
  366. grdf_exportExcel(grp_biz.grd_empinfc, "직원감염노출사고보고서", "직원감염노출사고보고서", false, "" ,"user");
  367. grp_biz.grd_empinfc.setRealColSize(5, 0, false);
  368. }
  369. /****************************************************************************************
  370. * Components : Button
  371. * Components ID : btn_init
  372. * Event : onclick
  373. * Argument : 01.obj : Object Event has occurred
  374. * : 02.e : Event Object
  375. * Description : 초기화 버튼
  376. ****************************************************************************************/
  377. function btn_init_onclick(obj:Button, e:ClickEventInfo)
  378. {
  379. ds_grid_grd_empinfc.clearData();
  380. }
  381. /****************************************************************************************
  382. * Components : Edit
  383. * Components ID : ipt_trgtempnm
  384. * Event : onkeydown
  385. * Argument : 01.obj : Edit
  386. * : 02.e : KeyEventInfo
  387. * Description : 직원서명을 입력하고 엔터를 치면 조회가 된다.
  388. ****************************************************************************************/
  389. function grp_biz_group1_ipt_trgtempnm_onkeydown(obj:Edit, e:KeyEventInfo)
  390. {
  391. if(e.keycode == "13" ){
  392. fGetEmpInfcRecRefInfo();
  393. }
  394. }
  395. /****************************************************************************************
  396. * Components : Calendar
  397. * Components ID : ipt_todd
  398. * Event : onkeyup
  399. * Argument : 01.obj : Calendar
  400. * : 02.e : KeyEventInfo
  401. * Description : 아래쪽 방향키 입력시 달력 표시
  402. ****************************************************************************************/
  403. function grp_biz_group1_ipt_todd_onkeyup(obj:Calendar, e:KeyEventInfo)
  404. {
  405. if(e.keycode == "40") { //아래쪽 방향키 입력시
  406. obj.dropdown();
  407. }
  408. }
  409. function grp_biz_group1_ipt_fromdd_onchanged(obj:Calendar, e:ChangeEventInfo)
  410. {
  411. obj.updateToDataset();
  412. var sDate = ds_send_reqdata.getColumn(0, "fromdd");
  413. ds_send_reqdata.setColumn(0,"todd", date_add(sDate, 6));
  414. }
  415. function grp_biz_grd_empinfc_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  416. {
  417. frmf_setParameter("instcd", ds_grid_grd_empinfc.getColumn(e.row,"instcd"));
  418. frmf_setParameter("personkind", ds_grid_grd_empinfc.getColumn(e.row,"personkind"));
  419. //frmf_setParameter("rrgstno1", ds_grid_grd_empinfc.getColumn(e.row,"rrgstno1"));
  420. //frmf_setParameter("rrgstno2", ds_grid_grd_empinfc.getColumn(e.row,"rrgstno2"));
  421. frmf_setParameter("rgstdt", ds_grid_grd_empinfc.getColumn(e.row,"rgstdt"));
  422. frmf_setParameter("rgstid", ds_grid_grd_empinfc.getColumn(e.row,"rgstid"));
  423. frmf_modal("SMASI01000","SMASI01000", "","","","", "", "","","","","","M");
  424. }
  425. ]]></Script>
  426. </Form>
  427. </FDL>