SMASI04500_직원간염예방접종관리등록.xfdl 38 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMASI04500" position="absolute 0 0 1100 734" titletext="직원간염예방접종 대상자 관리" onload="SMASI04500_onload" scrollbars="none" oninit="SMASI04500_oninit">
  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. </Layouts>
  11. </Div>
  12. <cp_deptList id="cp_deptList00" titletext="New Form" taborder="1" text="cp_deptList00" position="absolute 824 38 860 53"/>
  13. <cp_deptList id="cp_deptList01" titletext="New Form" taborder="2" text="cp_deptList00" position="absolute 863 38 899 53"/>
  14. <Div id="grp_tle" position="absolute 0 0 1100 26" anchor="default" positiontype="position" scrollbars="none">
  15. <Layouts>
  16. <Layout>
  17. <Static id="caption6" class="tit_1" position="absolute 0 0 213 26" anchor="default" text="직원간염예방접종 대상자 관리" positiontype="position"/>
  18. </Layout>
  19. </Layouts>
  20. </Div>
  21. <Div id="grp_biz" position="absolute 0 26 1100 731" anchor="all" positiontype="position" scrollbars="none">
  22. <Layouts>
  23. <Layout width="1100" height="708">
  24. <Div id="group1" position="absolute 0 0 1100 42" style="align:center top;" anchor="left top right" class="div_SA" scrollbars="none" positiontype="position">
  25. <Layouts>
  26. <Layout>
  27. <Static id="cap_fromdd" class="search_name" visible="true" position="absolute 8 13 82 33" anchor="left top" text="기간선택 :" positiontype="position"/>
  28. <Static id="caption19" class="search_no_b" position="absolute 291 13 307 33" anchor="left top" text="~" style="align:center middle;" positiontype="position"/>
  29. <Button id="btn_search" class="btn1" position="absolute 976 13 1032 33" anchor="left top" text="조회" onlbuttonup="btn_search_onlbuttonup" onclick="btn_search_onclick" taborder="3" positiontype="position"/>
  30. <Calendar id="ipt_fromdd" class="input_essential" position="absolute 177 13 291 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"/>
  31. <Calendar id="ipt_todd" class="input_essential" position="absolute 307 13 423 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"/>
  32. <Button id="button2" taborder="4" text="엑셀" onclick="button2_onclick" onlbuttonup="button2_onlbuttonup" class="btn7" position="absolute 1039 13 1091 33" anchor="left top"/>
  33. <Shape id="line5" linetype="vertical" class="line_4" position="absolute 430 12 434 34" anchor="left top"/>
  34. <Combo id="cmb_trgtmancnt" taborder="0" innerdataset="ds_temp_date" codecolumn="value" datacolumn="label" class="combo_default" position="absolute 82 13 167 33" anchor="left top"/>
  35. <Shape id="line00" linetype="vertical" class="line_4" position="absolute 966 12 970 34" anchor="left top"/>
  36. </Layout>
  37. </Layouts>
  38. </Div>
  39. <Static id="caption2" text="직원간염예방접종 대상자 관리" class="tit_2" position="absolute 0 44 205 64" onclick="grp_biz_caption2_onclick" anchor="default" positiontype="position"/>
  40. <Static id="caption3" text="정렬선택" class="cell_1" visible="false" position="absolute 1 97 71 121" style="align:center middle;" anchor="default" positiontype="position"/>
  41. <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"/>
  42. <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"/>
  43. <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"/>
  44. <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"/>
  45. <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"/>
  46. <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"/>
  47. <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"/>
  48. <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"/>
  49. <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"/>
  50. <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"/>
  51. <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"/>
  52. <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"/>
  53. <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"/>
  54. <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"/>
  55. <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"/>
  56. <Grid id="grd_empinfc" taborder="32" binddataset="ds_empinfc" useinputpanel="false" extendsizetype="both" cellsizingtype="col" oncelldblclick="grp_biz_grd_empinfc_oncelldblclick" position="absolute 0 62 1100 672" anchor="all" style="align:center middle;" onlbuttonDown="grd_empinfc_onlbuttonDown" onbuttondown="grd_empinfc_onbuttondown" onclick="grd_empinfc_onclick" selecttype="multirow" autoenter="select" autosizingtype="row" cellsizebandtype="allband">
  57. <Formats>
  58. <Format id="default">
  59. <Columns>
  60. <Column size="20" band="left"/>
  61. <Column size="30" band="left"/>
  62. <Column size="70" band="left"/>
  63. <Column size="45" band="left"/>
  64. <Column size="55" band="left"/>
  65. <Column size="30" band="left"/>
  66. <Column size="30" band="left"/>
  67. <Column size="65" band="left"/>
  68. <Column size="100"/>
  69. <Column size="70"/>
  70. <Column size="70"/>
  71. <Column size="100"/>
  72. <Column size="70"/>
  73. <Column size="100"/>
  74. <Column size="70"/>
  75. <Column size="100"/>
  76. <Column size="70"/>
  77. <Column size="100"/>
  78. <Column size="70"/>
  79. <Column size="70"/>
  80. <Column size="70"/>
  81. <Column size="70"/>
  82. <Column size="120"/>
  83. <Column size="70"/>
  84. <Column size="120"/>
  85. <Column size="150"/>
  86. </Columns>
  87. <Rows>
  88. <Row size="24" band="head"/>
  89. <Row size="24" band="head"/>
  90. <Row size="23"/>
  91. </Rows>
  92. <Band id="head">
  93. <Cell rowspan="2" taborder="undefined"/>
  94. <Cell col="1" rowspan="2" text="순번" taborder="undefined"/>
  95. <Cell col="2" rowspan="2" text="통보일" taborder="undefined"/>
  96. <Cell col="3" rowspan="2" text="사번" taborder="undefined"/>
  97. <Cell col="4" rowspan="2" text="성명" taborder="undefined"/>
  98. <Cell col="5" rowspan="2" text="성별" taborder="undefined"/>
  99. <Cell col="6" rowspan="2" text="나이" taborder="undefined"/>
  100. <Cell col="7" rowspan="2" text="등록번호" taborder="undefined"/>
  101. <Cell col="8" rowspan="2" text="부서" taborder="undefined"/>
  102. <Cell col="9" rowspan="2" text="직종" taborder="undefined"/>
  103. <Cell col="10" colspan="6" text="검사결과" taborder="undefined"/>
  104. <Cell col="16" colspan="2" text="접종 대상" taborder="undefined"/>
  105. <Cell col="18" rowspan="2" text="1차&#10;예방접종일" taborder="undefined"/>
  106. <Cell col="19" rowspan="2" text="2차&#10;예방접종일" taborder="undefined"/>
  107. <Cell col="20" rowspan="2" text="3차&#10;예방접종일" taborder="undefined"/>
  108. <Cell col="21" colspan="2" text="최종검사" taborder="undefined"/>
  109. <Cell col="23" colspan="2" text="관리결과" taborder="undefined"/>
  110. <Cell col="25" rowspan="2" text="비고" taborder="undefined"/>
  111. <Cell row="1" col="10" text="검사결과일"/>
  112. <Cell row="1" col="11" text="HAV Ab"/>
  113. <Cell row="1" col="12" text="검사결과일"/>
  114. <Cell row="1" col="13" text="HBsAg"/>
  115. <Cell row="1" col="14" text="검사결과일"/>
  116. <Cell row="1" col="15" text="HBsAb"/>
  117. <Cell row="1" col="16" text="구분"/>
  118. <Cell row="1" col="17" text="대상"/>
  119. <Cell row="1" col="21" text="결과일"/>
  120. <Cell row="1" col="22" text="최종항체검사결과"/>
  121. <Cell row="1" col="23" text="결과" taborder="undefined"/>
  122. <Cell row="1" col="24" text="결과상세"/>
  123. </Band>
  124. <Band id="body">
  125. <Cell displaytype="image"/>
  126. <Cell col="1" text="expr:currow + 1"/>
  127. <Cell col="2" displaytype="date" edittype="date" text="bind:notidd" editautoselect="true" editacceptsdirectionkey="true" calendardisplaynulltype="none"/>
  128. <Cell col="3" text="bind:userid"/>
  129. <Cell col="4" text="bind:usernm"/>
  130. <Cell col="5" displaytype="combo" style="align:center middle;" text="bind:sex" combodataset="ds_sex" combocodecol="code" combodatacol="value"/>
  131. <Cell col="6" style="align:center middle;" text="bind:age"/>
  132. <Cell col="7" edittype="text" style="align:center;" text="bind:pid"/>
  133. <Cell col="8" edittype="text" style="align:left;" text="bind:deptcd"/>
  134. <Cell col="9" edittype="text" style="padding:0 0 0 2;" text="bind:jobkindcd"/>
  135. <Cell col="10" displaytype="expr:utlf_isNull(utlf_trim(havabdt)) ? 'normal' : 'date'" text="bind:havabdt" mask="expr:utlf_isNull(havabdt) ? '' : 'yyyy-MM-dd'" maskchar=" "/>
  136. <Cell col="11" style="align:left;" text="bind:havabrslt"/>
  137. <Cell col="12" displaytype="expr:utlf_isNull(utlf_trim(hbsagdt)) ? 'normal' : 'date'" text="bind:hbsagdt" mask="expr:utlf_isNull(hbsagdt) ? '' : 'yyyy-MM-dd'" maskchar=" "/>
  138. <Cell col="13" style="align:left;" text="bind:hbsagrslt"/>
  139. <Cell col="14" displaytype="expr:utlf_isNull(utlf_trim(hbsabdt)) ? 'normal' : 'date'" text="bind:hbsabdt" mask="expr:utlf_isNull(hbsabdt) ? '' : 'yyyy-MM-dd'" maskchar=" "/>
  140. <Cell col="15" style="align:left middle;" text="bind:hbsabrslt"/>
  141. <Cell col="16" displaytype="combo" edittype="combo" style="padding:0 0 0 2;" text="bind:vaccgubun" combodataset="ds_vaccgubun" combocodecol="code" combodatacol="value"/>
  142. <Cell col="17" displaytype="combo" edittype="combo" style="padding:0 0 0 2;" text="bind:vaccobj" combodataset="ds_vaccobj" combocodecol="code" combodatacol="value"/>
  143. <Cell col="18" displaytype="date" edittype="date" text="bind:fstvaccdd" editautoselect="true" editacceptsdirectionkey="true" calendardisplaynulltype="none"/>
  144. <Cell col="19" displaytype="date" edittype="date" text="bind:sndvaccdd" editautoselect="true" editacceptsdirectionkey="true" calendardisplaynulltype="none"/>
  145. <Cell col="20" displaytype="date" edittype="date" text="bind:thdvaccdd" editautoselect="true" editacceptsdirectionkey="true" calendardisplaynulltype="none"/>
  146. <Cell col="21" displaytype="date" edittype="date" text="bind:lstexamdd" editautoselect="true" editacceptsdirectionkey="true" calendardisplaynulltype="none"/>
  147. <Cell col="22" edittype="textarea" style="align:left middle;" text="bind:lstexamrslt" autosizerow="limitmin"/>
  148. <Cell col="23" displaytype="combo" edittype="combo" style="align:center;" text="bind:mngtrslt" combodataset="ds_mngtrslt" combocodecol="code" combodatacol="value"/>
  149. <Cell col="24" edittype="textarea" style="align:left middle;" text="bind:mngtrsltdesc" wordwrap="word" autosizerow="limitmin"/>
  150. <Cell col="25" edittype="textarea" style="align:left middle;" text="bind:bigo" wordwrap="word" autosizerow="limitmin"/>
  151. </Band>
  152. </Format>
  153. </Formats>
  154. </Grid>
  155. <Button id="btn_load" taborder="33" text="파일열기" onclick="btn_load_onclick" class="btn2" enable="true" position="absolute 440 13 504 32" anchor="default"/>
  156. <Button id="bt_addrow" taborder="34" text="행추가" onclick="bt_addrow_onclick" class="btn2" position="absolute 509 13 565 33" anchor="top right" style=":disabled {font:Dotum,9;}"/>
  157. <Button id="bt_deleterow" taborder="36" text="행삭제" onclick="bt_deleterow_onclick" class="btn2" position="absolute 568 13 624 33" anchor="top right" style=":disabled {font:Dotum,9;}"/>
  158. <Button id="bt_save" taborder="37" text="저장" onclick="bt_save_onclick" class="btn4" position="absolute 964 684 1020 704" anchor="right bottom" style=":disabled {font:Dotum,9;}"/>
  159. <Shape id="line15" onclick="group5_line15_onclick" class="line_3" position="absolute 0 676 1097 682" anchor="default"/>
  160. <Button id="bt_init" taborder="38" text="초기화" onclick="bt_init_onclick" class="btn4" position="absolute 1027 683 1096 703" anchor="right bottom" style=":disabled {font:Dotum,9;}"/>
  161. </Layout>
  162. </Layouts>
  163. </Div>
  164. </Layout>
  165. </Layouts>
  166. <Objects>
  167. <Dataset id="ds_empinfc" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false" onvaluechanged="ds_empinfc_onvaluechanged" oncolumnchanged="ds_empinfc_oncolumnchanged">
  168. <ColumnInfo>
  169. <Column id="status" type="STRING" size="256"/>
  170. <Column id="no" type="STRING" size="256"/>
  171. <Column id="instcd" type="STRING" size="256"/>
  172. <Column id="pid" type="STRING" size="256"/>
  173. <Column id="gubun" type="STRING" size="256"/>
  174. <Column id="userid" type="STRING" size="256"/>
  175. <Column id="wrtedd" type="STRING" size="256"/>
  176. <Column id="wrtetm" type="STRING" size="256"/>
  177. <Column id="notidd" type="STRING" size="256"/>
  178. <Column id="seqno" type="STRING" size="256"/>
  179. <Column id="usernm" type="STRING" size="256"/>
  180. <Column id="jobkindcd" type="STRING" size="256"/>
  181. <Column id="deptcd" type="STRING" size="256"/>
  182. <Column id="deptdesc" type="STRING" size="256"/>
  183. <Column id="sex" type="STRING" size="256"/>
  184. <Column id="age" type="STRING" size="256"/>
  185. <Column id="vaccgubun" type="STRING" size="256"/>
  186. <Column id="vaccgubundesc" type="STRING" size="256"/>
  187. <Column id="vaccobj" type="STRING" size="256"/>
  188. <Column id="vaccobjdesc" type="STRING" size="256"/>
  189. <Column id="fstvaccdd" type="STRING" size="256"/>
  190. <Column id="fstvaccdesc" type="STRING" size="256"/>
  191. <Column id="sndvaccdd" type="STRING" size="256"/>
  192. <Column id="sndvaccdesc" type="STRING" size="256"/>
  193. <Column id="thdvaccdd" type="STRING" size="256"/>
  194. <Column id="thdvaccdesc" type="STRING" size="256"/>
  195. <Column id="lstexamdd" type="STRING" size="256"/>
  196. <Column id="lstexamrslt" type="STRING" size="256"/>
  197. <Column id="mngtrslt" type="STRING" size="256"/>
  198. <Column id="mngtrsltdesc" type="STRING" size="256"/>
  199. <Column id="bigo" type="STRING" size="256"/>
  200. <Column id="havabdt" type="STRING" size="256"/>
  201. <Column id="havabrslt" type="STRING" size="256"/>
  202. <Column id="hbsagdt" type="STRING" size="256"/>
  203. <Column id="hbsagrslt" type="STRING" size="256"/>
  204. <Column id="hbsabdt" type="STRING" size="256"/>
  205. <Column id="hbsabrslt" type="STRING" size="256"/>
  206. </ColumnInfo>
  207. </Dataset>
  208. <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  209. <ColumnInfo>
  210. <Column id="fromdd" type="STRING" size="256"/>
  211. <Column id="todd" type="STRING" size="256"/>
  212. <Column id="srchkind" type="STRING" size="256"/>
  213. <Column id="status" type="STRING" size="256"/>
  214. </ColumnInfo>
  215. <Rows>
  216. <Row>
  217. <Col id="status"/>
  218. <Col id="srchkind">1</Col>
  219. <Col id="todd"/>
  220. <Col id="fromdd"/>
  221. </Row>
  222. </Rows>
  223. </Dataset>
  224. <Dataset id="ds_loaddata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_loaddata_oncolumnchanged" onvaluechanged="ds_loaddata_onvaluechanged">
  225. <ColumnInfo>
  226. <Column id="no" type="STRING" size="256"/>
  227. <Column id="notidd" type="DATE" size="256"/>
  228. <Column id="userid" type="STRING" size="256"/>
  229. <Column id="usernm" type="STRING" size="256"/>
  230. <Column id="deptcd" type="STRING" size="256"/>
  231. <Column id="jobkindcd" type="STRING" size="256"/>
  232. <Column id="vaccgubun" type="STRING" size="256"/>
  233. <Column id="vaccobj" type="STRING" size="256"/>
  234. </ColumnInfo>
  235. </Dataset>
  236. <Dataset id="ds_sex" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  237. <ColumnInfo>
  238. <Column id="code" type="STRING" size="256"/>
  239. <Column id="value" type="STRING" size="256"/>
  240. </ColumnInfo>
  241. <Rows>
  242. <Row>
  243. <Col id="code">F</Col>
  244. <Col id="value">여</Col>
  245. </Row>
  246. <Row>
  247. <Col id="value">남</Col>
  248. <Col id="code">M</Col>
  249. </Row>
  250. </Rows>
  251. </Dataset>
  252. <Dataset id="ds_vaccgubun" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  253. <ColumnInfo>
  254. <Column id="code" type="STRING" size="256"/>
  255. <Column id="value" type="STRING" size="256"/>
  256. </ColumnInfo>
  257. <Rows>
  258. <Row>
  259. <Col id="code">1</Col>
  260. <Col id="value">신규입사</Col>
  261. </Row>
  262. <Row>
  263. <Col id="value">신장실배치</Col>
  264. <Col id="code">2</Col>
  265. </Row>
  266. <Row>
  267. <Col id="value">생애전환기</Col>
  268. <Col id="code">3</Col>
  269. </Row>
  270. </Rows>
  271. </Dataset>
  272. <Dataset id="ds_vaccobj" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  273. <ColumnInfo>
  274. <Column id="code" type="STRING" size="256"/>
  275. <Column id="value" type="STRING" size="256"/>
  276. </ColumnInfo>
  277. <Rows>
  278. <Row>
  279. <Col id="code">1</Col>
  280. <Col id="value">B형간염 예방접종</Col>
  281. </Row>
  282. <Row>
  283. <Col id="value">A형간염 예방접종</Col>
  284. <Col id="code">2</Col>
  285. </Row>
  286. <Row>
  287. <Col id="code">3</Col>
  288. <Col id="value">정밀항체검사</Col>
  289. </Row>
  290. </Rows>
  291. </Dataset>
  292. <Dataset id="ds_temp_date" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  293. <ColumnInfo>
  294. <Column id="label" type="STRING" size="256"/>
  295. <Column id="value" type="STRING" size="256"/>
  296. </ColumnInfo>
  297. <Rows>
  298. <Row>
  299. <Col id="label">등록일</Col>
  300. <Col id="value">1</Col>
  301. </Row>
  302. <Row>
  303. <Col id="label">통보일</Col>
  304. <Col id="value">2</Col>
  305. </Row>
  306. <Row>
  307. <Col id="label">1차예방접종일</Col>
  308. <Col id="value">3</Col>
  309. </Row>
  310. <Row>
  311. <Col id="label">2차예방접종일</Col>
  312. <Col id="value">4</Col>
  313. </Row>
  314. <Row>
  315. <Col id="label">3차예방접종일</Col>
  316. <Col id="value">5</Col>
  317. </Row>
  318. </Rows>
  319. </Dataset>
  320. <Dataset id="ds_mngtrslt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  321. <ColumnInfo>
  322. <Column id="code" type="STRING" size="256"/>
  323. <Column id="value" type="STRING" size="256"/>
  324. </ColumnInfo>
  325. <Rows>
  326. <Row>
  327. <Col id="code">1</Col>
  328. <Col id="value">접종완료</Col>
  329. </Row>
  330. <Row>
  331. <Col id="value">기간만료</Col>
  332. <Col id="code">2</Col>
  333. </Row>
  334. <Row>
  335. <Col id="code">9</Col>
  336. <Col id="value">기타</Col>
  337. </Row>
  338. </Rows>
  339. </Dataset>
  340. </Objects>
  341. <Bind>
  342. <BindItem id="item1" compid="grp_biz.group1.ipt_fromdd" propid="value" datasetid="ds_send_reqdata" columnid="fromdd"/>
  343. <BindItem id="item2" compid="grp_biz.group1.ipt_todd" propid="value" datasetid="ds_send_reqdata" columnid="todd"/>
  344. <BindItem id="item0" compid="grp_biz.group1.cmb_trgtmancnt" propid="value" datasetid="ds_send_reqdata" columnid="srchkind"/>
  345. </Bind>
  346. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  347. * System Name :
  348. * Job Name :
  349. * File Name : SMASI04500_직원간염예방접종 대상자 등록.xfdl
  350. * Creator :
  351. * Make Date : 2020.04.01
  352. *
  353. * Description : 최초개발
  354. *---------------------------------------------------------------------------------------
  355. * Modify Date Modifier Modify Description
  356. *---------------------------------------------------------------------------------------
  357. *
  358. *---------------------------------------------------------------------------------------
  359. ****************************************************************************************/
  360. //=======================================================================================
  361. // xjs Include
  362. //---------------------------------------------------------------------------------------
  363. include "com_commonxp::comm_main.xjs";
  364. var vInsertFlag="N";
  365. //=======================================================================================
  366. // Function
  367. //---------------------------------------------------------------------------------------
  368. function date_add(sDate, nDays){
  369. var yy = parseInt(sDate.substr(0,4), 10);
  370. var mm = parseInt(sDate.substr(4,2), 10);
  371. var dd = parseInt(sDate.substr(6,2), 10);
  372. var d = new Date(yy, mm - 1, dd + nDays);
  373. yy = d.getFullYear().toString();
  374. mm = d.getMonth() + 1; mm = (mm < 10) ? '0' + mm : mm.toString();
  375. dd = d.getDate(); dd = (dd < 10) ? '0' + dd : dd.toString();
  376. return yy + mm + dd;
  377. }
  378. //초기화
  379. function lf_Init(){
  380. // Grid 초기화
  381. //utlf_getCurrentDate(); //현재일자 YYYYMMDD
  382. //utlf_getCurrentTime(); //현재시간 HH:MM:TT
  383. grdf_setRowTypeIcon(grp_biz.grd_empinfc, 0); //상태값 표시
  384. grdf_initGrid(grp_biz.grd_empinfc);
  385. grdf_setToolTipBind(grp_biz.grd_empinfc);
  386. //Dataset 초기화
  387. ds_empinfc.clearData();
  388. ds_loaddata.clearData();
  389. grp_biz.bt_save.enable = false;
  390. //
  391. ds_send_reqdata.setColumn(0,"todd", utlf_getCurrentDate());
  392. ds_send_reqdata.setColumn(0,"fromdd", date_add(utlf_getCurrentDate(), -6));
  393. }
  394. //저장
  395. function lf_Save(){
  396. var oParam = {};
  397. oParam.id = "";
  398. oParam.service = "infcmngtapp.LglyDisMngt";
  399. oParam.method = "reqSetLglyDisHepttsEmplInfo";
  400. oParam.inds = "req=ds_empinfc:A send=ds_send_reqdata";
  401. oParam.outds = "ds_empinfc=getLglyDisHepttsEmplInfo";
  402. oParam.async = false;
  403. //oParam.callback = "cf_TRASI01101";
  404. tranf_submit(oParam);
  405. //grp_biz.grd_empinfc.setCellProperty("Body", 2, "edittype", "none");
  406. grp_biz.grd_empinfc.setCellProperty("Body", 3, "edittype", "none");
  407. grp_biz.grd_empinfc.setCellProperty("Body", 4, "edittype", "none");
  408. }
  409. //행추가
  410. function lf_AddRow(){
  411. /*
  412. Dataset.ROWTYPE_EMPTY 0 존재하지 않는 Row 상태
  413. Dataset.ROWTYPE_NORMAL 1 초기 Row 상태
  414. Dataset.ROWTYPE_INSERT 2 추가된 Row 상태
  415. Dataset.ROWTYPE_UPDATE 4 수정된 Row 상태
  416. Dataset.ROWTYPE_DELETE 8 삭제된 Row 상태
  417. Dataset.ROWTYPE_GROUP 16 Group 정보 Row 상태
  418. */
  419. var vDate = utlf_getCurrentDate();
  420. var vTm = utlf_getCurrentTime();
  421. ds_empinfc.addRow();
  422. // grp_biz.grd_empinfc.edittype ="text"
  423. grp_biz.grd_empinfc.setCellProperty("Body", 2, "edittype", "date");
  424. grp_biz.grd_empinfc.setCellProperty("Body", 3, "edittype", "text");
  425. grp_biz.grd_empinfc.setCellProperty("Body", 4, "edittype", "text");
  426. ds_empinfc.updatecontrol = false;
  427. ds_empinfc.enableevent = false;
  428. ds_empinfc.setColumn(ds_empinfc.rowposition,"status","i");
  429. ds_empinfc.setColumn(ds_empinfc.rowposition, "wrtedd", vDate);
  430. ds_empinfc.setColumn(ds_empinfc.rowposition, "wrtetm", vTm);
  431. ds_empinfc.updatecontrol = true;
  432. ds_empinfc.enableevent = true;
  433. }
  434. //행삭제
  435. function lf_Delete(){
  436. var nRow = ds_empinfc.rowposition;
  437. //Dataset 행삭제
  438. ds_empinfc.updatecontrol = false;
  439. if (ds_empinfc.getRowType(nRow) == Dataset.ROWTYPE_INSERT) {
  440. ds_empinfc.deleteRow(nRow);
  441. }
  442. else {
  443. ds_empinfc.updatecontrol = false;
  444. ds_empinfc.enableevent = false;
  445. ds_empinfc.setColumn(nRow,"status","d");
  446. var bSucc = ds_empinfc.setRowType(nRow, Dataset.ROWTYPE_DELETE);
  447. grp_biz.bt_save.enable = true;
  448. ds_empinfc.updatecontrol = true;
  449. ds_empinfc.enableevent = true;
  450. }
  451. ds_empinfc.updatecontrol = true;
  452. }
  453. //=======================================================================================
  454. function SMASI04500_oninit(obj:Form, e:InitEventInfo)
  455. {
  456. frmf_initForm(obj); // 화면공통
  457. }
  458. function SMASI04500_onload(obj:Form, e:LoadEventInfo)
  459. {
  460. lf_Init();
  461. }
  462. function cf_TRASI01101(sSvcId, nErrorCode, sErrorMsg) {
  463. if(nErrorCode < 0) return;
  464. }
  465. //=======================================================================================
  466. /****************************************************************************************
  467. * Components : Button
  468. * Components ID : btn_search
  469. * Event : onclick
  470. * Argument : 01.obj : Object Event has occurred
  471. * : 02.e : Event Object
  472. * Description : 조회버튼
  473. ****************************************************************************************/
  474. function btn_search_onclick(obj:Button, e:ClickEventInfo)
  475. {
  476. //var nHScollPos = grp_biz.grd_empinfc.hscrollbar.pos;
  477. if(sysf_getUserInfo("dutplcecd")=="3110300000"){
  478. ds_send_reqdata.setColumn(0,"status", "A");
  479. }else{
  480. ds_send_reqdata.setColumn(0,"status", "-");
  481. }
  482. var oParam = {};
  483. oParam.id = "";
  484. oParam.service = "infcmngtapp.LglyDisMngt";
  485. oParam.method = "reqGetLglyDisHepttsEmplInfo";
  486. oParam.inds = "req=ds_send_reqdata";
  487. oParam.outds = "ds_empinfc=getLglyDisHepttsEmplInfo";
  488. oParam.async = false;
  489. //oParam.callback = "cf_TRASI01101";
  490. tranf_submit(oParam);
  491. //grp_biz.grd_empinfc.setCellProperty("Body", 2, "edittype", "none");
  492. grp_biz.grd_empinfc.setCellProperty("Body", 5, "edittype", "none");
  493. grp_biz.grd_empinfc.setCellProperty("Body", 6, "edittype", "none");
  494. //grp_biz.grd_empinfc.hscrollbar.pos = nHScollPos;
  495. }
  496. /****************************************************************************************
  497. * Components : Button
  498. * Components ID : button2
  499. * Event : onclick
  500. * Argument : 01.obj : Object Event has occurred
  501. * : 02.e : Event Object
  502. * Description : 엑셀 버튼
  503. ****************************************************************************************/
  504. function button2_onclick(obj:Button, e:ClickEventInfo)
  505. {
  506. //grp_biz.grd_empinfc.setRealColSize(5, 60, false);
  507. grdf_exportExcel(grp_biz.grd_empinfc, "직원간염예방접종 대상자 리스트", "직원간염예방접종 대상자 리스트", false, "" ,"user");
  508. //grdf_exportExcelMulti("grp_biz.grd_empinfc,grp_biz.grd_empinfc00", "직원간염예방접종 대상자보고서", "직원간염예방접종 대상자1,직원간염예방접종 대상자2", false, "", "user", true);
  509. //grp_biz.grd_empinfc.setRealColSize(5, 0, false);
  510. }
  511. /****************************************************************************************
  512. * Components : Button
  513. * Components ID : btn_init
  514. * Event : onclick
  515. * Argument : 01.obj : Object Event has occurred
  516. * : 02.e : Event Object
  517. * Description : 초기화 버튼
  518. ****************************************************************************************/
  519. function btn_init_onclick(obj:Button, e:ClickEventInfo)
  520. {
  521. ds_empinfc.clearData();
  522. grp_biz.grd_empinfc.setCellProperty("Body", 2, "edittype", "none");
  523. grp_biz.grd_empinfc.setCellProperty("Body", 3, "edittype", "none");
  524. grp_biz.grd_empinfc.setCellProperty("Body", 4, "edittype", "none");
  525. }
  526. /****************************************************************************************
  527. * Components : Edit
  528. * Components ID : ipt_trgtempnm
  529. * Event : onkeydown
  530. * Argument : 01.obj : Edit
  531. * : 02.e : KeyEventInfo
  532. * Description : 직원서명을 입력하고 엔터를 치면 조회가 된다.
  533. ****************************************************************************************/
  534. function grp_biz_group1_ipt_trgtempnm_onkeydown(obj:Edit, e:KeyEventInfo)
  535. {
  536. if(e.keycode == "13" ){
  537. fGetEmpInfcRecRefInfo();
  538. }
  539. }
  540. /****************************************************************************************
  541. * Components : Calendar
  542. * Components ID : ipt_todd
  543. * Event : onkeyup
  544. * Argument : 01.obj : Calendar
  545. * : 02.e : KeyEventInfo
  546. * Description : 아래쪽 방향키 입력시 달력 표시
  547. ****************************************************************************************/
  548. function grp_biz_group1_ipt_todd_onkeyup(obj:Calendar, e:KeyEventInfo)
  549. {
  550. if(e.keycode == "40") { //아래쪽 방향키 입력시
  551. obj.dropdown();
  552. }
  553. }
  554. function grp_biz_group1_ipt_fromdd_onchanged(obj:Calendar, e:ChangeEventInfo)
  555. {
  556. obj.updateToDataset();
  557. var sDate = ds_send_reqdata.getColumn(0, "fromdd");
  558. ds_send_reqdata.setColumn(0,"todd", date_add(sDate, 6));
  559. }
  560. function grp_biz_grd_empinfc_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  561. {
  562. }
  563. /****************************************************************************************
  564. * Components : Button
  565. * Components ID : btn_load
  566. * Event : onclick
  567. * Argument : 01.obj : Object Event has occurred
  568. * : 02.e : Event Object
  569. * Description : 파일열기 버튼 실행(Excel업로드)
  570. ****************************************************************************************/
  571. function btn_load_onclick(obj:Button, e:ClickEventInfo)
  572. {
  573. ds_loaddata.clearData();
  574. var vDate = utlf_getCurrentDate();
  575. var vTm = utlf_getCurrentTime();
  576. grdf_ImportExcel("ds_loaddata", 2, grp_biz.grd_loaddata, 0);
  577. ds_empinfc.copyData(ds_loaddata, true);
  578. //dsf_copyDs(ds_empinfc, ds_loaddata);
  579. if(ds_empinfc.rowcount > 0) {
  580. ds_empinfc.addColumn("status", "String", 256);
  581. ds_empinfc.addColumn("instcd", "String", 256);
  582. ds_empinfc.addColumn("wrtedd", "String", 256);
  583. ds_empinfc.addColumn("wrtetm", "String", 256);
  584. ds_empinfc.addColumn("seqno", "String", 256);
  585. ds_empinfc.addColumn("notidd", "String", 256);
  586. ds_empinfc.addColumn("deptdesc", "String", 256);
  587. ds_empinfc.addColumn("vaccgubun", "String", 256);
  588. ds_empinfc.addColumn("vaccobj", "String", 256);
  589. ds_empinfc.updatecontrol = false;
  590. ds_empinfc.enableevent = false;
  591. for(var i = 0 ; i < ds_empinfc.rowcount ; i++) {
  592. ds_empinfc.setColumn(i,"status","i");
  593. ds_empinfc.setRowType(i, Dataset.ROWTYPE_INSERT);
  594. ds_empinfc.setColumn(i, "wrtedd", vDate);
  595. ds_empinfc.setColumn(i, "wrtetm", vTm);
  596. }
  597. ds_empinfc.updatecontrol = true;
  598. ds_empinfc.enableevent = true;
  599. }
  600. //ds_loaddata.copyData(ds_empinfc);
  601. grp_biz.btn_load.enable = true;
  602. grp_biz.bt_save.enable = true;
  603. }
  604. function ds_loaddata_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  605. {
  606. //ds_loaddata.updatecontrol = true;
  607. //dsf_datasetUpdateChk(obj)
  608. ds_loaddata.enableevent = false;
  609. ds_loaddata.updatecontrol = false;
  610. ds_loaddata.setRowType(ds_loaddata.rowposition, 4);
  611. ds_loaddata.updatecontrol = true;
  612. ds_loaddata.enableevent = true;
  613. }
  614. function ds_loaddata_onvaluechanged(obj:Dataset, e:DSColChangeEventInfo)
  615. {
  616. dsf_datasetUpdateChk(obj);
  617. }
  618. //행추가버튼
  619. function bt_addrow_onclick(obj:Button, e:ClickEventInfo)
  620. {
  621. //lf_Init();
  622. lf_AddRow();
  623. }
  624. //초기화버튼
  625. function bt_init_onclick(obj:Button, e:ClickEventInfo)
  626. {
  627. lf_Init();
  628. }
  629. //저장 버튼
  630. function bt_save_onclick(obj:Button, e:ClickEventInfo)
  631. {
  632. lf_Save();
  633. }
  634. //행삭제버튼
  635. function bt_deleterow_onclick(obj:Button, e:ClickEventInfo)
  636. {
  637. lf_Delete();
  638. }
  639. //ds_empinfc_value 변경
  640. function ds_empinfc_onvaluechanged(obj:Dataset, e:DSColChangeEventInfo)
  641. {
  642. // Dataset 변경되면 저장버튼 활성화
  643. if ( dsf_datasetUpdateChk(obj) ) {
  644. grp_biz.bt_save.enable = true;
  645. }
  646. else {
  647. grp_biz.bt_save.enable = false;
  648. }
  649. }
  650. function ds_empinfc_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  651. {
  652. if(ds_empinfc.getColumn(e.row, "status" != "i")){
  653. ds_empinfc.setRowType(e.row, Dataset.ROWTYPE_UPDATE);
  654. ds_empinfc.setColumn(e.row,"status","u");
  655. }
  656. if(e.columnid == "fstvaccdd"){
  657. //trace("111 :" + utlf_addDate(ds_empinfc.getColumn(ds_empinfc.rowposition, "fstvaccdd"),8));
  658. //trace("222 :" + utlf_isValidDateTime(ds_empinfc.getColumn(ds_empinfc.rowposition, "fstvaccdd"), "YYYYMMDD"));
  659. if(utlf_addDate(ds_empinfc.getColumn(ds_empinfc.rowposition, "fstvaccdd"),8)){
  660. ds_empinfc.setColumn(ds_empinfc.rowposition, "sndvaccdd", utlf_addDate(ds_empinfc.getColumn(ds_empinfc.rowposition, "fstvaccdd"),28));
  661. ds_empinfc.setColumn(ds_empinfc.rowposition, "thdvaccdd", utlf_addDate(ds_empinfc.getColumn(ds_empinfc.rowposition, "fstvaccdd"),180));
  662. ds_empinfc.setColumn(ds_empinfc.rowposition, "lstexamdd", utlf_addDate(ds_empinfc.getColumn(ds_empinfc.rowposition, "fstvaccdd"),210));
  663. }
  664. }
  665. }
  666. ]]></Script>
  667. </Form>
  668. </FDL>