SMRPD31000_전공의수련현황조회(과별).xfdl 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688
  1. <?xml version="1.0" encoding="utf-8" standalone="no"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMRPD31000" position="absolute 0 0 1204 794" titletext="전공의 수련현황 조회(과별)" oninit="SMRPD31000_oninit" onload="SMRPD31000_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption3" text="※ OFF 는 주간에 등록된 것만 count 됩니다." position="absolute 5 762 812 782" style="color:#800000;" anchor="left bottom"/>
  8. <Static id="caption6" text="전공의 수련현황 조회(과별)" class="tit_1" position="absolute 0 0 198 25"/>
  9. <Button id="btn_print" taborder="1" text="출력" class="btn6" position="absolute 1139 20 1195 42" style="align:left ;" anchor="top right" onclick="btn_print_onclick"/>
  10. <Shape id="line2" class="line_6" position="absolute 0 43 1195 46" anchor="left top right"/>
  11. <Div id="grp_sea" anchor="left top right" taborder="2" style="align: top;" class="div_SA2" position="absolute 0 45 1195 85">
  12. <Layouts>
  13. <Layout width="1195" height="40">
  14. <Shape id="line5" linetype="vertical" class="line_4" position="absolute 1080 8 1083 32" anchor="top right"/>
  15. <Button id="btn_search" taborder="6" text="조회" class="btn1" position="absolute 1100 9 1156 31" style="align:left ;" anchor="top right" onclick="grp_sea_btn_search_onclick"/>
  16. <Edit id="opt_deptnm" taborder="7" readonly="true" class="output" position="absolute 622 10 812 29" anchor="default"/>
  17. <Static id="caption1" text="부서코드" class="search_name" position="absolute 445 11 521 28" anchor="default"/>
  18. <Edit id="ipt_deptcd" taborder="8" class="input_default" position="absolute 527 10 602 29" onkeypress="group3_grp_sea_ipt_deptcd_onkeypress" anchor="default" autoselect="true" autoskip="true" onkeyup="grp_sea_ipt_deptcd_onkeyup"/>
  19. <Button id="btn_deptcd" taborder="9" class="icon_search" position="absolute 604 11 620 27" anchor="default" onclick="grp_sea_btn_deptcd_onclick"/>
  20. <Static id="caption9" text="근무년월" class="search_name" position="absolute 275 11 356 28" anchor="default"/>
  21. <Button id="btn_emplnos" taborder="10" class="icon_search" position="absolute 938 11 954 27" anchor="default" onclick="grp_sea_btn_emplnos_onclick"/>
  22. <Static id="caption2" text="사번" class="search_name" position="absolute 824 11 880 28" anchor="default"/>
  23. <Edit id="ipt_emplnos" taborder="11" class="input_default" position="absolute 879 10 935 29" anchor="default" autoselect="true" autoskip="true" onkeyup="grp_sea_ipt_emplnos_onkeyup"/>
  24. <Edit id="ipt_emplnms" taborder="12" class="input_default" position="absolute 955 10 1061 29" anchor="default" autoselect="true" autoskip="true" onkeyup="grp_sea_ipt_emplnms_onkeyup"/>
  25. <Calendar id="ipt_ym" taborder="13" class="input_default" position="absolute 357 10 435 29" style="align:center ;" mask="yyyy-mm" anchor="default" autoselect="true" autoskip="true" dateformat="yyyy-MM" value="null" editformat="yyyy-MM" onchanged="grp_sea_ipt_ym_onchanged"/>
  26. <Combo id="cmb_instcd" taborder="14" class="combo_s_default" position="absolute 112 10 254 29" columncount="-1" rowcount="-1" anchor="default" onitemchanged="grp_sea_cmb_instcd_onitemchanged"/>
  27. <Static id="caption29" text="기관코드" class="search_name" position="absolute 31 11 107 28" anchor="default"/>
  28. </Layout>
  29. </Layouts>
  30. </Div>
  31. <Button id="btn_excel" taborder="3" text="엑셀출력" class="btn7" position="absolute 1115 93 1195 112" style="align:left ;" anchor="top right" onclick="btn_excel_onclick"/>
  32. <Shape id="line3" class="line_10" position="absolute 0 110 1195 121" anchor="left top right"/>
  33. <Grid id="grd_emplist" taborder="4" binddataset="ds_main_emplist" useinputpanel="false" position="absolute 0 117 1195 757" autoenter="select" autofittype="col" cellsizingtype="col" anchor="all">
  34. <Formats>
  35. <Format id="default">
  36. <Columns>
  37. <Column size="0"/>
  38. <Column size="55"/>
  39. <Column size="42"/>
  40. <Column size="52"/>
  41. <Column size="110"/>
  42. <Column size="26"/>
  43. <Column size="26"/>
  44. <Column size="26"/>
  45. <Column size="26"/>
  46. <Column size="26"/>
  47. <Column size="26"/>
  48. <Column size="26"/>
  49. <Column size="26"/>
  50. <Column size="26"/>
  51. <Column size="26"/>
  52. <Column size="26"/>
  53. <Column size="26"/>
  54. <Column size="26"/>
  55. <Column size="26"/>
  56. <Column size="26"/>
  57. <Column size="26"/>
  58. <Column size="26"/>
  59. <Column size="26"/>
  60. <Column size="26"/>
  61. <Column size="26"/>
  62. <Column size="26"/>
  63. <Column size="26"/>
  64. <Column size="26"/>
  65. <Column size="26"/>
  66. <Column size="26"/>
  67. <Column size="26"/>
  68. <Column size="26"/>
  69. <Column size="26"/>
  70. <Column size="26"/>
  71. <Column size="26"/>
  72. <Column size="26"/>
  73. <Column size="85"/>
  74. </Columns>
  75. <Rows>
  76. <Row size="24" band="head"/>
  77. <Row size="24" band="head"/>
  78. <Row size="24"/>
  79. </Rows>
  80. <Band id="head">
  81. <Cell/>
  82. <Cell col="1" rowspan="2" text="년차" taborder="undefined"/>
  83. <Cell col="2" rowspan="2" text="사번" taborder="undefined"/>
  84. <Cell col="3" rowspan="2" text="성명" taborder="undefined"/>
  85. <Cell col="4" rowspan="2" text="근무형태" taborder="undefined"/>
  86. <Cell col="5"/>
  87. <Cell col="6"/>
  88. <Cell col="7"/>
  89. <Cell col="8"/>
  90. <Cell col="9"/>
  91. <Cell col="10"/>
  92. <Cell col="11"/>
  93. <Cell col="12"/>
  94. <Cell col="13"/>
  95. <Cell col="14"/>
  96. <Cell col="15"/>
  97. <Cell col="16"/>
  98. <Cell col="17"/>
  99. <Cell col="18"/>
  100. <Cell col="19"/>
  101. <Cell col="20"/>
  102. <Cell col="21"/>
  103. <Cell col="22"/>
  104. <Cell col="23"/>
  105. <Cell col="24"/>
  106. <Cell col="25"/>
  107. <Cell col="26"/>
  108. <Cell col="27"/>
  109. <Cell col="28"/>
  110. <Cell col="29"/>
  111. <Cell col="30"/>
  112. <Cell col="31"/>
  113. <Cell col="32"/>
  114. <Cell col="33"/>
  115. <Cell col="34"/>
  116. <Cell col="35"/>
  117. <Cell col="36" rowspan="2" text="월근로시간" taborder="undefined"/>
  118. <Cell col="37" text="사번"/>
  119. <Cell col="38" text="년차"/>
  120. <Cell col="39" text="사번"/>
  121. <Cell col="40" text="성명"/>
  122. <Cell col="41" text="근무형태"/>
  123. <Cell col="42" text="1"/>
  124. <Cell col="43" text="2"/>
  125. <Cell col="44" text="3"/>
  126. <Cell col="45" text="4"/>
  127. <Cell col="46" text="5"/>
  128. <Cell col="47" text="6"/>
  129. <Cell col="48" text="7"/>
  130. <Cell col="49" text="8"/>
  131. <Cell col="50" text="9"/>
  132. <Cell col="51" text="10"/>
  133. <Cell col="52" text="11"/>
  134. <Cell col="53" text="12"/>
  135. <Cell col="54" text="13"/>
  136. <Cell col="55" text="14"/>
  137. <Cell col="56" text="15"/>
  138. <Cell col="57" text="16"/>
  139. <Cell col="58" text="17"/>
  140. <Cell col="59" text="18"/>
  141. <Cell col="60" text="19"/>
  142. <Cell col="61" text="20"/>
  143. <Cell col="62" text="21"/>
  144. <Cell col="63" text="22"/>
  145. <Cell col="64" text="23"/>
  146. <Cell col="65" text="24"/>
  147. <Cell col="66" text="25"/>
  148. <Cell col="67" text="26"/>
  149. <Cell col="68" text="27"/>
  150. <Cell col="69" text="28"/>
  151. <Cell col="70" text="29"/>
  152. <Cell col="71" text="30"/>
  153. <Cell col="72" text="31"/>
  154. <Cell col="73" text="월근로시간"/>
  155. <Cell row="1"/>
  156. <Cell row="1" col="5" text="1"/>
  157. <Cell row="1" col="6" text="2"/>
  158. <Cell row="1" col="7" text="3"/>
  159. <Cell row="1" col="8" text="4"/>
  160. <Cell row="1" col="9" text="5"/>
  161. <Cell row="1" col="10" text="6"/>
  162. <Cell row="1" col="11" text="7"/>
  163. <Cell row="1" col="12" text="8"/>
  164. <Cell row="1" col="13" text="9"/>
  165. <Cell row="1" col="14" text="10"/>
  166. <Cell row="1" col="15" text="11"/>
  167. <Cell row="1" col="16" text="12"/>
  168. <Cell row="1" col="17" text="13"/>
  169. <Cell row="1" col="18" text="14"/>
  170. <Cell row="1" col="19" text="15"/>
  171. <Cell row="1" col="20" text="16"/>
  172. <Cell row="1" col="21" text="17"/>
  173. <Cell row="1" col="22" text="18"/>
  174. <Cell row="1" col="23" text="19"/>
  175. <Cell row="1" col="24" text="20"/>
  176. <Cell row="1" col="25" text="21"/>
  177. <Cell row="1" col="26" text="22"/>
  178. <Cell row="1" col="27" text="23"/>
  179. <Cell row="1" col="28" text="24"/>
  180. <Cell row="1" col="29" text="25"/>
  181. <Cell row="1" col="30" text="26"/>
  182. <Cell row="1" col="31" text="27"/>
  183. <Cell row="1" col="32" text="28"/>
  184. <Cell row="1" col="33" text="29"/>
  185. <Cell row="1" col="34" text="30"/>
  186. <Cell row="1" col="35" text="31"/>
  187. </Band>
  188. <Band id="body">
  189. <Cell/>
  190. <Cell col="1" text="bind:anual" suppress="1" suppressalign="middle,over"/>
  191. <Cell col="2" text="bind:emplno" suppress="2" suppressalign="middle,over"/>
  192. <Cell col="3" text="bind:emplnm" suppress="3" suppressalign="middle,over"/>
  193. <Cell col="4" style="align:center middle;padding:0 0 0 3;" text="bind:cdnm"/>
  194. <Cell col="5" displaytype="number" text="bind:d1" mask="#.#" maskchar=" "/>
  195. <Cell col="6" displaytype="number" text="bind:d2" mask="#.#" maskchar=" "/>
  196. <Cell col="7" displaytype="number" text="bind:d3" mask="#.#" maskchar=" "/>
  197. <Cell col="8" displaytype="number" text="bind:d4" mask="#.#" maskchar=" "/>
  198. <Cell col="9" displaytype="number" text="bind:d5" mask="#.#" maskchar=" "/>
  199. <Cell col="10" displaytype="number" text="bind:d6" mask="#.#" maskchar=" "/>
  200. <Cell col="11" displaytype="number" text="bind:d7" mask="#.#" maskchar=" "/>
  201. <Cell col="12" displaytype="number" text="bind:d8" mask="#.#" maskchar=" "/>
  202. <Cell col="13" displaytype="number" text="bind:d9" mask="#.#" maskchar=" "/>
  203. <Cell col="14" displaytype="number" text="bind:d10" mask="#.#" maskchar=" "/>
  204. <Cell col="15" displaytype="number" text="bind:d11" mask="#.#" maskchar=" "/>
  205. <Cell col="16" displaytype="number" text="bind:d12" mask="#.#" maskchar=" "/>
  206. <Cell col="17" displaytype="number" text="bind:d13" mask="#.#" maskchar=" "/>
  207. <Cell col="18" displaytype="number" text="bind:d14" mask="#.#" maskchar=" "/>
  208. <Cell col="19" displaytype="number" text="bind:d15" mask="#.#" maskchar=" "/>
  209. <Cell col="20" displaytype="number" text="bind:d16" mask="#.#" maskchar=" "/>
  210. <Cell col="21" displaytype="number" text="bind:d17" mask="#.#" maskchar=" "/>
  211. <Cell col="22" displaytype="number" text="bind:d18" mask="#.#" maskchar=" "/>
  212. <Cell col="23" displaytype="number" text="bind:d19" mask="#.#" maskchar=" "/>
  213. <Cell col="24" displaytype="number" text="bind:d20" mask="#.#" maskchar=" "/>
  214. <Cell col="25" displaytype="number" text="bind:d21" mask="#.#" maskchar=" "/>
  215. <Cell col="26" displaytype="number" text="bind:d22" mask="#.#" maskchar=" "/>
  216. <Cell col="27" displaytype="number" text="bind:d23" mask="#.#" maskchar=" "/>
  217. <Cell col="28" displaytype="number" text="bind:d24" mask="#.#" maskchar=" "/>
  218. <Cell col="29" displaytype="number" text="bind:d25" mask="#.#" maskchar=" "/>
  219. <Cell col="30" displaytype="number" text="bind:d26" mask="#.#" maskchar=" "/>
  220. <Cell col="31" displaytype="number" text="bind:d27" mask="#.#" maskchar=" "/>
  221. <Cell col="32" displaytype="number" text="bind:d28" mask="#.#" maskchar=" "/>
  222. <Cell col="33" displaytype="number" text="bind:d29" mask="#.#" maskchar=" "/>
  223. <Cell col="34" displaytype="number" text="bind:d30" mask="#.#" maskchar=" "/>
  224. <Cell col="35" displaytype="number" text="bind:d31" mask="#.#" maskchar=" "/>
  225. <Cell col="36" text="bind:msum"/>
  226. </Band>
  227. </Format>
  228. </Formats>
  229. </Grid>
  230. <Static id="caption21" text="수련 현황" class="tit_2" position="absolute 0 96 80 118"/>
  231. <Static id="caption26" text="※ 교육수련담당 확인 처리된 자료만 조회됩니다." position="absolute 270 757 555 777" style="color:#ff0000;" anchor="left bottom" visible="false"/>
  232. </Layout>
  233. </Layouts>
  234. <Objects>
  235. <Dataset id="ds_main_condition" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_condition_oncolumnchanged">
  236. <ColumnInfo>
  237. <Column id="instcd" type="STRING" size="256"/>
  238. <Column id="ym" type="STRING" size="256"/>
  239. <Column id="deptcd" type="STRING" size="256"/>
  240. <Column id="deptnm" type="STRING" size="256"/>
  241. <Column id="emplno" type="STRING" size="256"/>
  242. <Column id="emplnm" type="STRING" size="256"/>
  243. <Column id="powertp" type="STRING" size="256"/>
  244. </ColumnInfo>
  245. <Rows>
  246. <Row>
  247. <Col id="instcd"/>
  248. <Col id="ym"/>
  249. <Col id="deptcd"/>
  250. <Col id="deptnm"/>
  251. <Col id="emplno"/>
  252. <Col id="emplnm"/>
  253. <Col id="powertp"/>
  254. </Row>
  255. </Rows>
  256. </Dataset>
  257. <Dataset id="ds_main_emplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  258. <ColumnInfo>
  259. <Column id="emplno" type="STRING" size="256" sumtext="사번"/>
  260. <Column id="anual" type="STRING" size="256" sumtext="년차"/>
  261. <Column id="emplnm" type="STRING" size="256" sumtext="성명"/>
  262. <Column id="deptnm" type="STRING" size="256" sumtext="부서명"/>
  263. <Column id="cdnm" type="STRING" size="256" sumtext="근무형태"/>
  264. <Column id="d1" type="STRING" size="256" sumtext="d1"/>
  265. <Column id="d2" type="STRING" size="256" sumtext="d2"/>
  266. <Column id="d3" type="STRING" size="256" sumtext="d3"/>
  267. <Column id="d4" type="STRING" size="256" sumtext="d4"/>
  268. <Column id="d5" type="STRING" size="256" sumtext="d5"/>
  269. <Column id="d6" type="STRING" size="256" sumtext="d6"/>
  270. <Column id="d7" type="STRING" size="256" sumtext="d7"/>
  271. <Column id="d8" type="STRING" size="256" sumtext="d8"/>
  272. <Column id="d9" type="STRING" size="256" sumtext="d9"/>
  273. <Column id="d10" type="STRING" size="256" sumtext="d10"/>
  274. <Column id="d11" type="STRING" size="256" sumtext="d11"/>
  275. <Column id="d12" type="STRING" size="256" sumtext="d12"/>
  276. <Column id="d13" type="STRING" size="256" sumtext="d13"/>
  277. <Column id="d14" type="STRING" size="256" sumtext="d14"/>
  278. <Column id="d15" type="STRING" size="256" sumtext="d15"/>
  279. <Column id="d16" type="STRING" size="256" sumtext="d16"/>
  280. <Column id="d17" type="STRING" size="256" sumtext="d17"/>
  281. <Column id="d18" type="STRING" size="256" sumtext="d18"/>
  282. <Column id="d19" type="STRING" size="256" sumtext="d19"/>
  283. <Column id="d20" type="STRING" size="256" sumtext="d20"/>
  284. <Column id="d21" type="STRING" size="256" sumtext="d21"/>
  285. <Column id="d22" type="STRING" size="256" sumtext="d22"/>
  286. <Column id="d23" type="STRING" size="256" sumtext="d23"/>
  287. <Column id="d24" type="STRING" size="256" sumtext="d24"/>
  288. <Column id="d25" type="STRING" size="256" sumtext="d25"/>
  289. <Column id="d26" type="STRING" size="256" sumtext="d26"/>
  290. <Column id="d27" type="STRING" size="256" sumtext="d27"/>
  291. <Column id="d28" type="STRING" size="256" sumtext="d28"/>
  292. <Column id="d29" type="STRING" size="256" sumtext="d29"/>
  293. <Column id="d30" type="STRING" size="256" sumtext="d30"/>
  294. <Column id="d31" type="STRING" size="256" sumtext="d31"/>
  295. <Column id="msum" type="STRING" size="256" sumtext="월근로시간"/>
  296. </ColumnInfo>
  297. </Dataset>
  298. <Dataset id="ds_main_powerinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  299. <Dataset id="ds_print_daylist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  300. <Dataset id="ds_main_daylist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  301. <ColumnInfo>
  302. <Column id="dd" type="STRING" size="256"/>
  303. <Column id="day" type="STRING" size="256"/>
  304. <Column id="holiflag" type="STRING" size="256"/>
  305. </ColumnInfo>
  306. <Rows>
  307. <Row>
  308. <Col id="dd"/>
  309. <Col id="day"/>
  310. <Col id="holiflag"/>
  311. </Row>
  312. </Rows>
  313. </Dataset>
  314. <Dataset id="ds_print_holiflaglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  315. <ColumnInfo>
  316. <Column id="h1" type="STRING" size="256"/>
  317. <Column id="h2" type="STRING" size="256"/>
  318. <Column id="h3" type="STRING" size="256"/>
  319. <Column id="h4" type="STRING" size="256"/>
  320. <Column id="h5" type="STRING" size="256"/>
  321. <Column id="h6" type="STRING" size="256"/>
  322. <Column id="h7" type="STRING" size="256"/>
  323. <Column id="h8" type="STRING" size="256"/>
  324. <Column id="h9" type="STRING" size="256"/>
  325. <Column id="h10" type="STRING" size="256"/>
  326. <Column id="h11" type="STRING" size="256"/>
  327. <Column id="h12" type="STRING" size="256"/>
  328. <Column id="h13" type="STRING" size="256"/>
  329. <Column id="h14" type="STRING" size="256"/>
  330. <Column id="h15" type="STRING" size="256"/>
  331. <Column id="h16" type="STRING" size="256"/>
  332. <Column id="h17" type="STRING" size="256"/>
  333. <Column id="h18" type="STRING" size="256"/>
  334. <Column id="h19" type="STRING" size="256"/>
  335. <Column id="h20" type="STRING" size="256"/>
  336. <Column id="h21" type="STRING" size="256"/>
  337. <Column id="h22" type="STRING" size="256"/>
  338. <Column id="h23" type="STRING" size="256"/>
  339. <Column id="h24" type="STRING" size="256"/>
  340. <Column id="h25" type="STRING" size="256"/>
  341. <Column id="h26" type="STRING" size="256"/>
  342. <Column id="h27" type="STRING" size="256"/>
  343. <Column id="h28" type="STRING" size="256"/>
  344. <Column id="h29" type="STRING" size="256"/>
  345. <Column id="h30" type="STRING" size="256"/>
  346. <Column id="h31" type="STRING" size="256"/>
  347. </ColumnInfo>
  348. <Rows>
  349. <Row/>
  350. </Rows>
  351. </Dataset>
  352. <Dataset id="ds_print" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  353. <ColumnInfo>
  354. <Column id="ym" type="STRING" size="256"/>
  355. </ColumnInfo>
  356. <Rows>
  357. <Row/>
  358. </Rows>
  359. </Dataset>
  360. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  361. <ColumnInfo>
  362. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  363. <Column id="ym" type="STRING" size="256" sumtext="년월"/>
  364. </ColumnInfo>
  365. </Dataset>
  366. </Objects>
  367. <Bind>
  368. <BindItem id="item0" compid="grp_sea.cmb_instcd" propid="value" datasetid="ds_main_condition" columnid="instcd"/>
  369. <BindItem id="item1" compid="grp_sea.ipt_ym" propid="value" datasetid="ds_main_condition" columnid="ym"/>
  370. <BindItem id="item2" compid="grp_sea.ipt_deptcd" propid="value" datasetid="ds_main_condition" columnid="deptcd"/>
  371. <BindItem id="item3" compid="grp_sea.opt_deptnm" propid="value" datasetid="ds_main_condition" columnid="deptnm"/>
  372. <BindItem id="item4" compid="grp_sea.ipt_emplnos" propid="value" datasetid="ds_main_condition" columnid="emplno"/>
  373. <BindItem id="item5" compid="grp_sea.ipt_emplnms" propid="value" datasetid="ds_main_condition" columnid="emplnm"/>
  374. </Bind>
  375. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  376. * System Name :
  377. * Job Name :
  378. * Creator :
  379. * Make Date : 2017-06-19
  380. * Description :
  381. *---------------------------------------------------------------------------------------
  382. * Modify Date Modifier Modify Description
  383. *---------------------------------------------------------------------------------------
  384. * 2017-06-19 Live Converter TF->XP
  385. *
  386. *---------------------------------------------------------------------------------------
  387. ****************************************************************************************/
  388. include "com_commonxp::comm_main.xjs";
  389. include "mis_miscommonxp::MIS.xjs";
  390. include "mis_humtrafactmngtxp::RPB001.xjs";
  391. var arErrorCode = new HashArray();
  392. function SMRPD31000_oninit(obj:Form, e:InitEventInfo)
  393. {
  394. frmf_initForm(obj);
  395. }
  396. function SMRPD31000_onload(obj:Form, e:LoadEventInfo)
  397. {
  398. grdf_initGrid(grd_emplist);
  399. fOpenForm();
  400. }
  401. function fOpenForm()
  402. {
  403. misfComboInstCdListMulti("grp_sea.cmb_instcd", utlf_getCurrentDate(),"","N");
  404. grp_sea.cmb_instcd.value = sysf_getUserInfo("dutplceinstcd");
  405. ds_main_emplist.clearData();
  406. ds_main_condition.setColumn(0, "ym", String(utlf_getCurrentDate()).substring(0, 6));
  407. var oParam = {};
  408. oParam.id = "TRRPD30305";
  409. oParam.service = "dligclaznsmngtapp.DutScheMngt";
  410. oParam.method = "reqGetDutyPowerInfo";
  411. oParam.inds = "req=ds_main_condition";
  412. oParam.outds = "ds_main_powerinfo=powerinfo";
  413. oParam.async = false;
  414. oParam.callback = "cf_TRRPD30305";
  415. tranf_submit(oParam);
  416. if(arErrorCode.pop("TRRPD30305") > -1)
  417. {
  418. var powertp = ds_main_powerinfo.getColumn(0, "powertp");
  419. ds_main_condition.setColumn(0, "powertp", powertp);
  420. if(utlf_isNull(powertp)){}
  421. else if(powertp == "1"){}
  422. else if(powertp == "2") {}
  423. else if(powertp == "3")
  424. {
  425. if(sysf_getUserInfo("dutplceinstcd") == "031")
  426. {
  427. grp_sea.cmb_instcd.enable = true;
  428. }
  429. }
  430. else if(powertp == "4"){}
  431. }
  432. }
  433. function cf_TRRPD30305(sSvcId, nErrorCode, sErrorMsg)
  434. {
  435. arErrorCode.push(sSvcId, nErrorCode);
  436. if(nErrorCode < 0) return;
  437. }
  438. function grp_sea_cmb_instcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  439. {
  440. misfGridInit(grd_emplist);
  441. }
  442. function grp_sea_ipt_ym_onchanged(obj:Calendar, e:ChangeEventInfo)
  443. {
  444. ds_main_condition.setColumn(0, "ym", String(obj.value).substr(0,6));
  445. ds_main_emplist.clearData();
  446. }
  447. function ds_main_condition_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  448. {
  449. if(e.columnid == "deptcd")
  450. {
  451. grp_sea.ipt_deptcd.value = e.newvalue;
  452. grp_sea.ipt_deptcd.setFocus();
  453. ds_main_emplist.clearData();
  454. grp_sea.opt_deptnm.value = "";
  455. misfValidationCheck("02", "", "deptcd,deptnm" );
  456. }
  457. if(e.columnid == "emplno")
  458. {
  459. grp_sea.ipt_emplnos.setFocus();
  460. var recv_list = "emplno,emplnm" ;
  461. rpbfValidationCheck("EMPLNO", recv_list);
  462. if (String(grp_sea.ipt_emplnos.value).length > 0)
  463. {
  464. grp_sea.btn_search.click();
  465. }
  466. }
  467. if(e.columnid == "emplnm")
  468. {
  469. grp_sea.ipt_emplnms.setFocus();
  470. var recv_list = "emplno,emplnm" ;
  471. rpbfValidationCheck("EMPLNM", recv_list);
  472. if (String(grp_sea.ipt_emplnos.value).length > 0)
  473. {
  474. grp_sea.btn_search.click();
  475. }
  476. }
  477. }
  478. function grp_sea_btn_deptcd_onclick(obj:Button, e:ClickEventInfo)
  479. {
  480. var vOrigDeptcd = grp_sea.ipt_deptcd.value;
  481. var recv_list = "deptcd,deptnm";
  482. misfOpenPopUpList("02", grp_sea.ipt_deptcd,"", recv_list) ;
  483. if(vOrigDeptcd != grp_sea.ipt_deptcd.value)
  484. {
  485. ds_main_emplist.clearData();
  486. }
  487. }
  488. function grp_sea_ipt_deptcd_onkeyup(obj:Edit, e:KeyEventInfo)
  489. {
  490. if(e.keycode == 13)
  491. {
  492. obj.updateToDataset();
  493. }
  494. }
  495. function btn_excel_onclick(obj:Button, e:ClickEventInfo)
  496. {
  497. grdf_exportExcel(grd_emplist, "excel", "savetype", "true", "", "user");
  498. }
  499. function btn_print_onclick(obj:Button, e:ClickEventInfo)
  500. {
  501. for(var i = 1; i <= 31; i++)
  502. {
  503. dsf_makeValue(ds_print_daylist, "dy"+i, "string", grd_emplist.getCellProperty("Head", 4+i, "text"), 0);
  504. }
  505. var iLength = ds_main_daylist.rowcount;
  506. for(var i = 1; i <= 31; i++)
  507. {
  508. ds_print_holiflaglist.setColumn(0, "h" + i, "8");
  509. for(var k = 0; k < iLength; k++)
  510. {
  511. if(ds_main_daylist.getColumn(k, "dd") == i)
  512. {
  513. ds_print_holiflaglist.setColumn(0, "h"+i, ds_main_daylist.getColumn(k, "holiflag"));
  514. }
  515. }
  516. }
  517. ds_print.setColumn(0, "ym", ds_main_condition.getColumn(0, "ym"));
  518. var objDOM = rptf_createDOM();
  519. rptf_setNodeListToDOM(objDOM, "/root/print", ds_print);
  520. rptf_setNodeListToDOM(objDOM, "/root/print/holiflaglist", ds_print_holiflaglist);
  521. rptf_setNodeListToDOM(objDOM, "/root/print/daylist", ds_print_daylist);
  522. rptf_setNodeListToDOM(objDOM, "/root/main/emplist", ds_main_emplist);
  523. var objParam = new Object();
  524. objParam.xml_data_XML1 = objDOM.documentElement.source;
  525. var option = "";
  526. rptf_exeReportPreview30(["RPRPD31001"],[objParam], option);
  527. }
  528. function grp_sea_btn_search_onclick(obj:Button, e:ClickEventInfo)
  529. {
  530. fGetEmpList();
  531. var oParam = {};
  532. oParam.id = "TRRPD30902";
  533. oParam.service = "dligclaznsmngtapp.DutScheMngt";
  534. oParam.method = "reqGetMonDayList";
  535. oParam.inds = "req=ds_main_condition";
  536. oParam.outds = "ds_main_daylist=daylist";
  537. oParam.async = false;
  538. oParam.callback = "cf_TRRPD30902";
  539. tranf_submit(oParam);
  540. if(arErrorCode.pop("TRRPD30902") > -1)
  541. {
  542. var iLength = ds_main_daylist.rowcount;
  543. for(var i = 1; i <= 31; i++)
  544. {
  545. ds_main_emplist.setColumn(0, "d" + i, "");
  546. for(var k = 0; k < iLength; k++)
  547. {
  548. if(ds_main_daylist.getColumn(k, "dd") == i)
  549. {
  550. grd_emplist.setCellProperty("Head", parseInt(i+4), "text", ds_main_daylist.getColumn(k, "day"));
  551. if(ds_main_daylist.getColumn(k, "holiflag") != "8")
  552. {
  553. grd_emplist.setCellProperty("Head", parseInt(i+4), "color", "red");
  554. // grd_emplist.setCellProperty("Head", parseInt(i+4), "background", "#faeefa");
  555. // grd_emplist.setCellProperty("Head", parseInt(i+4), "background2", "#faeefa");
  556. grd_emplist.setCellProperty("Head", parseInt(i+4), "font", "arial,9,bold");
  557. grd_emplist.setCellProperty("Body", parseInt(i+4), "background", "#faeefa");
  558. grd_emplist.setCellProperty("Body", parseInt(i+4), "background2", "#faeefa");
  559. }
  560. else
  561. {
  562. grd_emplist.setCellProperty("Head", parseInt(i+4), "color", "black");
  563. // grd_emplist.setCellProperty("Head", parseInt(i+4), "background", "");
  564. // grd_emplist.setCellProperty("Head", parseInt(i+4), "background2", "");
  565. grd_emplist.setCellProperty("Head", parseInt(i+4), "font", "");
  566. grd_emplist.setCellProperty("Body", parseInt(i+4), "background", "");
  567. grd_emplist.setCellProperty("Body", parseInt(i+4), "background2", "");
  568. }
  569. }
  570. }
  571. }
  572. for(var i = 1; i <= 31; i++)
  573. {
  574. if(utlf_isNull(grd_emplist.getCellProperty("Head", parseInt(i+4), "text")))
  575. {
  576. misfColHidden(grd_emplist, "d"+i, true);
  577. }
  578. else
  579. {
  580. misfColHidden(grd_emplist, "d"+i, false);
  581. }
  582. }
  583. }
  584. }
  585. function cf_TRRPD30902(sSvcId, nErrorCode, sErrorMsg)
  586. {
  587. arErrorCode.push(sSvcId, nErrorCode);
  588. if(nErrorCode < 0) return;
  589. }
  590. function fGetEmpList()
  591. {
  592. if(String(ds_main_condition.getColumn(0, "ym")).length != 6 )
  593. {
  594. sysf_messageBox("근무년월을 정확하게 입력하십시요. ", "E999", "");
  595. grp_sea.ipt_ym.setFocus();
  596. return;
  597. }
  598. ds_main_emplist.clearData();
  599. if(sysf_getUserInfo("dutplceinstcd") == "032")
  600. {
  601. var sDeptcd = grp_sea.ipt_deptcd.value;
  602. if( sDeptcd == "2110500000" || sDeptcd == "2112300000" || sDeptcd == "2112400000" || sDeptcd == "2112500000" ||
  603. sDeptcd == "2112600000" || sDeptcd == "2112700000" || sDeptcd == "2112800000" || sDeptcd == "2112900000" )
  604. {
  605. ds_main_condition.setColumn(0, "deptcd", "2110000000");
  606. }
  607. }
  608. var oParam = {};
  609. oParam.id = "TRRPD30901";
  610. oParam.service = "dligclaznsmngtapp.DutScheMngt";
  611. oParam.method = "reqGetDutyEmpListAll";
  612. oParam.inds = "req=ds_main_condition";
  613. oParam.outds = "ds_main_emplist=emplist";
  614. oParam.async = false;
  615. //oParam.callback = "cf_TRRPD30901";
  616. tranf_submit(oParam);
  617. }
  618. function grp_sea_btn_emplnos_onclick(obj:Button, e:ClickEventInfo)
  619. {
  620. var recv_list = "emplno,emplnm" ;
  621. rpbfOpenPopUpList("SPRPB00101", grp_sea.ipt_emplnos, recv_list, "", "N");
  622. if (String(grp_sea.ipt_emplnos.value).length > 0)
  623. {
  624. grp_sea.btn_search.click();
  625. }
  626. }
  627. function grp_sea_ipt_emplnos_onkeyup(obj:Edit, e:KeyEventInfo)
  628. {
  629. if(e.keycode == 13)
  630. {
  631. obj.updateToDataset();
  632. //grp_sea.btn_search.click();
  633. }
  634. }
  635. function grp_sea_ipt_emplnms_onkeyup(obj:Edit, e:KeyEventInfo)
  636. {
  637. if(e.keycode == 13)
  638. {
  639. obj.updateToDataset();
  640. grp_sea.btn_search.click();
  641. }
  642. }
  643. ]]></Script>
  644. </Form>
  645. </FDL>