SMRPD05200_중간관리자근무표.xfdl 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMRPD05200" position="absolute 0 0 1204 774" titletext="중간관리자근무표" oninit="SMRPD05200_oninit" onload="SMRPD05200_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption6" text="중간관리자근무표" class="tit_1" position="absolute 0 0 230 25"/>
  8. <Shape id="line75" class="line_6" position="absolute 0 47 1195 53" anchor="left top right"/>
  9. <Button id="btn_print" taborder="1" text="출력" class="btn6" visible="false" position="absolute 0 26 56 48" onclick="btn_print_onclick"/>
  10. <Shape id="line1" class="line_10" position="absolute 0 117 1195 123" anchor="left top right"/>
  11. <Static id="caption9" text="근무 스케줄" class="tit_2" position="absolute 0 101 109 122"/>
  12. <Div id="group4" anchor="left top right" taborder="2" class="div_SA2" position="absolute 0 51 1195 91">
  13. <Layouts>
  14. <Layout>
  15. <Static id="caption5" text="부서구분 :" class="search_name" position="absolute 523 12 609 29"/>
  16. <Shape id="line3" linetype="vertical" class="line_4" position="absolute 1107 6 1113 33" anchor="top right"/>
  17. <Static id="caption1" text="근무년월 :" class="search_name" position="absolute 298 11 389 28"/>
  18. <Calendar id="ipt_dutym" taborder="5" class="input_search" position="absolute 385 10 495 29" mask="yyyy-mm" autoselect="true" autoskip="true" onchanged="group4_ipt_dutym_onchanged" dateformat="yyyy-MM" value="null" editformat="yyyy-MM" style="align:center middle;"/>
  19. <Button id="btn_search" taborder="6" text="조회" class="btn1" position="absolute 1125 9 1181 31" onclick="group4_btn_search_onclick" anchor="top right"/>
  20. <Combo id="cmb_dutplce" taborder="7" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_search" enable="false" position="absolute 610 10 730 29" onitemchanged="group4_cmb_dutplce_onitemchanged">
  21. <Dataset id="innerdataset">
  22. <ColumnInfo>
  23. <Column id="codecolumn"/>
  24. <Column id="datacolumn"/>
  25. </ColumnInfo>
  26. <Rows>
  27. <Row>
  28. <Col id="codecolumn">all</Col>
  29. <Col id="datacolumn">전체</Col>
  30. </Row>
  31. <Row>
  32. <Col id="codecolumn">dpt</Col>
  33. <Col id="datacolumn">간호부</Col>
  34. </Row>
  35. </Rows>
  36. </Dataset>
  37. </Combo>
  38. <Combo id="cmb_instcd" taborder="8" class="combo_search" enable="false" position="absolute 92 10 270 29"/>
  39. <Static id="caption29" text="근무기관 :" class="search_name" position="absolute 4 11 90 28"/>
  40. </Layout>
  41. </Layouts>
  42. </Div>
  43. <Button id="btn_excsave" taborder="3" text="엑셀저장" class="btn7" position="absolute 1115 98 1195 117" onclick="btn_excsave_onclick" anchor="top right"/>
  44. <Button id="btn_retrsrvp" taborder="4" text="복무계획신청내역" class="btn2" visible="false" position="absolute 998 98 1114 117" onclick="btn_retrsrvp_onclick" anchor="top right"/>
  45. <Grid id="grd_dutschelist" class="text_center" taborder="5" binddataset="ds_main_dutlist_dutschelist" autoenter="select" useinputpanel="false" cellsizingtype="col" position="absolute 0 122 1195 768" anchor="all">
  46. <Formats>
  47. <Format id="default">
  48. <Columns>
  49. <Column size="28" band="left"/>
  50. <Column size="0" band="left"/>
  51. <Column size="0" band="left"/>
  52. <Column size="0" band="left"/>
  53. <Column size="0" band="left"/>
  54. <Column size="70" band="left"/>
  55. <Column size="60" band="left"/>
  56. <Column size="0"/>
  57. <Column size="100"/>
  58. <Column size="70"/>
  59. <Column size="35"/>
  60. <Column size="35"/>
  61. <Column size="35"/>
  62. <Column size="35"/>
  63. <Column size="35"/>
  64. <Column size="35"/>
  65. <Column size="35"/>
  66. <Column size="35"/>
  67. <Column size="35"/>
  68. <Column size="35"/>
  69. <Column size="35"/>
  70. <Column size="35"/>
  71. <Column size="35"/>
  72. <Column size="35"/>
  73. <Column size="35"/>
  74. <Column size="35"/>
  75. <Column size="35"/>
  76. <Column size="35"/>
  77. <Column size="35"/>
  78. <Column size="35"/>
  79. <Column size="35"/>
  80. <Column size="35"/>
  81. <Column size="35"/>
  82. <Column size="35"/>
  83. <Column size="35"/>
  84. <Column size="35"/>
  85. <Column size="35"/>
  86. <Column size="35"/>
  87. <Column size="35"/>
  88. <Column size="35"/>
  89. <Column size="35"/>
  90. <Column size="35"/>
  91. <Column size="53"/>
  92. <Column size="53"/>
  93. <Column size="53"/>
  94. <Column size="53"/>
  95. <Column size="53"/>
  96. <Column size="53"/>
  97. <Column size="53"/>
  98. <Column size="55"/>
  99. <Column size="55"/>
  100. <Column size="150"/>
  101. </Columns>
  102. <Rows>
  103. <Row size="24" band="head"/>
  104. <Row size="24" band="head"/>
  105. <Row size="24"/>
  106. </Rows>
  107. <Band id="head">
  108. <Cell rowspan="2" taborder="undefined"/>
  109. <Cell col="1" text="근무년월"/>
  110. <Cell col="2" text="근무부서"/>
  111. <Cell col="3" text="신청예정&#10;실시구분"/>
  112. <Cell col="4" text="기관코드"/>
  113. <Cell col="5" rowspan="2" text="사원번호" taborder="undefined"/>
  114. <Cell col="6" rowspan="2" text="성명" taborder="undefined"/>
  115. <Cell col="7" text="근무지부서코드"/>
  116. <Cell col="8" rowspan="2" text="근무부서" taborder="undefined"/>
  117. <Cell col="9" rowspan="2" text="직위" taborder="undefined"/>
  118. <Cell col="10" rowspan="2" text="P" taborder="undefined"/>
  119. <Cell col="11" text="1"/>
  120. <Cell col="12" text="2"/>
  121. <Cell col="13" text="3"/>
  122. <Cell col="14" text="4"/>
  123. <Cell col="15" text="5"/>
  124. <Cell col="16" text="6"/>
  125. <Cell col="17" text="7"/>
  126. <Cell col="18" text="8"/>
  127. <Cell col="19" text="9"/>
  128. <Cell col="20" text="10"/>
  129. <Cell col="21" text="11"/>
  130. <Cell col="22" text="12"/>
  131. <Cell col="23" text="13"/>
  132. <Cell col="24" text="14"/>
  133. <Cell col="25" text="15"/>
  134. <Cell col="26" text="16"/>
  135. <Cell col="27" text="17"/>
  136. <Cell col="28" text="18"/>
  137. <Cell col="29" text="19"/>
  138. <Cell col="30" text="20"/>
  139. <Cell col="31" text="21"/>
  140. <Cell col="32" text="22"/>
  141. <Cell col="33" text="23"/>
  142. <Cell col="34" text="24"/>
  143. <Cell col="35" text="25"/>
  144. <Cell col="36" text="26"/>
  145. <Cell col="37" text="27"/>
  146. <Cell col="38" text="28"/>
  147. <Cell col="39" text="29"/>
  148. <Cell col="40" text="30"/>
  149. <Cell col="41" text="31"/>
  150. <Cell col="42" rowspan="2" text="Total&#10;휴가수" taborder="undefined"/>
  151. <Cell col="43" rowspan="2" text="사용&#10;휴가수" taborder="undefined"/>
  152. <Cell col="44" rowspan="2" text="보호&#10;휴가수" taborder="undefined"/>
  153. <Cell col="45" rowspan="2" text="Day&#10;합계" taborder="undefined"/>
  154. <Cell col="46" rowspan="2" text="Evening&#10;합계" taborder="undefined"/>
  155. <Cell col="47" rowspan="2" text="Night&#10;합계" taborder="undefined"/>
  156. <Cell col="48" rowspan="2" text="Off&#10;합계" taborder="undefined"/>
  157. <Cell col="49" rowspan="2" text="시간제&#10;근무합계" taborder="undefined"/>
  158. <Cell col="50" rowspan="2" text="시간제&#10;주휴합계" taborder="undefined"/>
  159. <Cell col="51" rowspan="2" text="비고" taborder="undefined"/>
  160. <Cell row="1" col="1" text="근무년월"/>
  161. <Cell row="1" col="2" text="근무부서"/>
  162. <Cell row="1" col="3" text="신청예정&#10;실시구분"/>
  163. <Cell row="1" col="4" text="기관코드"/>
  164. <Cell row="1" col="7" text="근무지부서코드"/>
  165. <Cell row="1" col="11" text="월"/>
  166. <Cell row="1" col="12" text="화"/>
  167. <Cell row="1" col="13" text="수"/>
  168. <Cell row="1" col="14" text="목"/>
  169. <Cell row="1" col="15" text="금"/>
  170. <Cell row="1" col="16" text="토"/>
  171. <Cell row="1" col="17" text="일"/>
  172. <Cell row="1" col="18" text="월"/>
  173. <Cell row="1" col="19" text="화"/>
  174. <Cell row="1" col="20" text="수"/>
  175. <Cell row="1" col="21" text="목"/>
  176. <Cell row="1" col="22" text="금"/>
  177. <Cell row="1" col="23" text="토"/>
  178. <Cell row="1" col="24" text="일"/>
  179. <Cell row="1" col="25" text="월"/>
  180. <Cell row="1" col="26" text="화"/>
  181. <Cell row="1" col="27" text="수"/>
  182. <Cell row="1" col="28" text="목"/>
  183. <Cell row="1" col="29" text="금"/>
  184. <Cell row="1" col="30" text="토"/>
  185. <Cell row="1" col="31" text="일"/>
  186. <Cell row="1" col="32" text="월"/>
  187. <Cell row="1" col="33" text="화"/>
  188. <Cell row="1" col="34" text="수"/>
  189. <Cell row="1" col="35" text="목"/>
  190. <Cell row="1" col="36" text="금"/>
  191. <Cell row="1" col="37" text="토"/>
  192. <Cell row="1" col="38" text="일"/>
  193. <Cell row="1" col="39" text="월"/>
  194. <Cell row="1" col="40" text="화"/>
  195. <Cell row="1" col="41" text="수"/>
  196. </Band>
  197. <Band id="body">
  198. <Cell celltype="head"/>
  199. <Cell col="1" text="bind:dutym"/>
  200. <Cell col="2" text="bind:dutplcedeptcd"/>
  201. <Cell col="3" text="bind:appscheexecflag"/>
  202. <Cell col="4" text="bind:instcd"/>
  203. <Cell col="5" text="bind:emplno"/>
  204. <Cell col="6" text="bind:emplnm"/>
  205. <Cell col="7" text="bind:dutplcedeptcdtemp"/>
  206. <Cell col="8" text="bind:dutplcedeptnm" wordwrap="word"/>
  207. <Cell col="9" text="bind:jobrespnm"/>
  208. <Cell col="10" text="bind:part"/>
  209. <Cell col="11" style="font:돋움체,9;" text="bind:day01"/>
  210. <Cell col="12" style="font:돋움체,9;" text="bind:day02"/>
  211. <Cell col="13" style="font:돋움체,9;" text="bind:day03"/>
  212. <Cell col="14" style="font:돋움체,9;" text="bind:day04"/>
  213. <Cell col="15" style="font:돋움체,9;" text="bind:day05"/>
  214. <Cell col="16" style="font:돋움체,9;" text="bind:day06"/>
  215. <Cell col="17" style="font:돋움체,9;" text="bind:day07"/>
  216. <Cell col="18" style="font:돋움체,9;" text="bind:day08"/>
  217. <Cell col="19" style="font:돋움체,9;" text="bind:day09"/>
  218. <Cell col="20" style="font:돋움체,9;" text="bind:day10"/>
  219. <Cell col="21" style="font:돋움체,9;" text="bind:day11"/>
  220. <Cell col="22" style="font:돋움체,9;" text="bind:day12"/>
  221. <Cell col="23" style="font:돋움체,9;" text="bind:day13"/>
  222. <Cell col="24" style="font:돋움체,9;" text="bind:day14"/>
  223. <Cell col="25" style="font:돋움체,9;" text="bind:day15"/>
  224. <Cell col="26" style="font:돋움체,9;" text="bind:day16"/>
  225. <Cell col="27" style="font:돋움체,9;" text="bind:day17"/>
  226. <Cell col="28" style="font:돋움체,9;" text="bind:day18"/>
  227. <Cell col="29" style="font:돋움체,9;" text="bind:day19"/>
  228. <Cell col="30" style="font:돋움체,9;" text="bind:day20"/>
  229. <Cell col="31" style="font:돋움체,9;" text="bind:day21"/>
  230. <Cell col="32" style="font:돋움체,9;" text="bind:day22"/>
  231. <Cell col="33" style="font:돋움체,9;" text="bind:day23"/>
  232. <Cell col="34" style="font:돋움체,9;" text="bind:day24"/>
  233. <Cell col="35" style="font:돋움체,9;" text="bind:day25"/>
  234. <Cell col="36" style="font:돋움체,9;" text="bind:day26"/>
  235. <Cell col="37" style="font:돋움체,9;" text="bind:day27"/>
  236. <Cell col="38" style="font:돋움체,9;" text="bind:day28"/>
  237. <Cell col="39" style="font:돋움체,9;" text="bind:day29"/>
  238. <Cell col="40" style="font:돋움체,9;" text="bind:day30"/>
  239. <Cell col="41" style="font:돋움체,9;" text="bind:day31"/>
  240. <Cell col="42" text="bind:holitotcnt"/>
  241. <Cell col="43" text="bind:useholidayno"/>
  242. <Cell col="44" displaytype="number" text="bind:mensholidayno"/>
  243. <Cell col="45" displaytype="number" text="bind:daysum"/>
  244. <Cell col="46" displaytype="number" text="bind:eveningsum"/>
  245. <Cell col="47" displaytype="number" text="bind:nigtsum"/>
  246. <Cell col="48" displaytype="number" text="bind:offsum"/>
  247. <Cell col="49" displaytype="number" text="bind:surp1_totduttm"/>
  248. <Cell col="50" displaytype="number" text="bind:surp2_otofftm"/>
  249. <Cell col="51" displaytype="text" edittype="text" text="bind:cmt"/>
  250. </Band>
  251. </Format>
  252. </Formats>
  253. </Grid>
  254. </Layout>
  255. </Layouts>
  256. <Objects>
  257. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  258. <ColumnInfo>
  259. <Column id="instcd" type="STRING" size="256"/>
  260. <Column id="dutym" type="STRING" size="256"/>
  261. <Column id="deptkind" type="STRING" size="256"/>
  262. </ColumnInfo>
  263. <Rows>
  264. <Row>
  265. <Col id="instcd"/>
  266. <Col id="dutym"/>
  267. <Col id="deptkind">dpt</Col>
  268. </Row>
  269. </Rows>
  270. </Dataset>
  271. <Dataset id="ds_main_dutlist_dutschelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  272. <ColumnInfo>
  273. <Column id="dutplcedeptcd" type="STRING" size="256" sumtext="근무부서코드"/>
  274. <Column id="dutplcedeptnm" type="STRING" size="256" sumtext="근무부서명"/>
  275. <Column id="dutym" type="STRING" size="256" sumtext="근무년월"/>
  276. <Column id="appscheexecflag" type="STRING" size="256" sumtext="신청예정실시구분"/>
  277. <Column id="emplno" type="STRING" size="256" sumtext="사원번호"/>
  278. <Column id="emplnm" type="STRING" size="256" sumtext="사원명"/>
  279. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  280. <Column id="dutplcedeptcdtemp" type="STRING" size="256" sumtext="근무지부서코드"/>
  281. <Column id="dutplcedeptnmtemp" type="STRING" size="256" sumtext="근무지부서명"/>
  282. <Column id="jobkindcd" type="STRING" size="256" sumtext="직종코드"/>
  283. <Column id="jobrespcd" type="STRING" size="256" sumtext="직책코드"/>
  284. <Column id="jobrespnm" type="STRING" size="256" sumtext="직책코드"/>
  285. <Column id="jobkindnm" type="STRING" size="256" sumtext="직종명"/>
  286. <Column id="part" type="STRING" size="256" sumtext="part"/>
  287. <Column id="day01" type="STRING" size="256" sumtext="day01"/>
  288. <Column id="day02" type="STRING" size="256" sumtext="day02"/>
  289. <Column id="day03" type="STRING" size="256" sumtext="day03"/>
  290. <Column id="day04" type="STRING" size="256" sumtext="day04"/>
  291. <Column id="day05" type="STRING" size="256" sumtext="day05"/>
  292. <Column id="day06" type="STRING" size="256" sumtext="day06"/>
  293. <Column id="day07" type="STRING" size="256" sumtext="day07"/>
  294. <Column id="day08" type="STRING" size="256" sumtext="day08"/>
  295. <Column id="day09" type="STRING" size="256" sumtext="day09"/>
  296. <Column id="day10" type="STRING" size="256" sumtext="day10"/>
  297. <Column id="day11" type="STRING" size="256" sumtext="day11"/>
  298. <Column id="day12" type="STRING" size="256" sumtext="day12"/>
  299. <Column id="day13" type="STRING" size="256" sumtext="day13"/>
  300. <Column id="day14" type="STRING" size="256" sumtext="day14"/>
  301. <Column id="day15" type="STRING" size="256" sumtext="day15"/>
  302. <Column id="day16" type="STRING" size="256" sumtext="day16"/>
  303. <Column id="day17" type="STRING" size="256" sumtext="day17"/>
  304. <Column id="day18" type="STRING" size="256" sumtext="day18"/>
  305. <Column id="day19" type="STRING" size="256" sumtext="day19"/>
  306. <Column id="day20" type="STRING" size="256" sumtext="day20"/>
  307. <Column id="day21" type="STRING" size="256" sumtext="day21"/>
  308. <Column id="day22" type="STRING" size="256" sumtext="day22"/>
  309. <Column id="day23" type="STRING" size="256" sumtext="day23"/>
  310. <Column id="day24" type="STRING" size="256" sumtext="day24"/>
  311. <Column id="day25" type="STRING" size="256" sumtext="day25"/>
  312. <Column id="day26" type="STRING" size="256" sumtext="day26"/>
  313. <Column id="day27" type="STRING" size="256" sumtext="day27"/>
  314. <Column id="day28" type="STRING" size="256" sumtext="day28"/>
  315. <Column id="day29" type="STRING" size="256" sumtext="day29"/>
  316. <Column id="day30" type="STRING" size="256" sumtext="day30"/>
  317. <Column id="day31" type="STRING" size="256" sumtext="day31"/>
  318. <Column id="brngfwrdoffqty" type="STRING" size="256" sumtext="이월off수"/>
  319. <Column id="nigtcnt" type="STRING" size="256" sumtext="night수"/>
  320. <Column id="holitotcnt" type="STRING" size="256" sumtext="total휴가수"/>
  321. <Column id="useholidayno" type="BIGDECIMAL" size="256" sumtext="사용휴가수"/>
  322. <Column id="mensholidayno" type="STRING" size="256" sumtext="생리휴가수"/>
  323. <Column id="holicnt" type="STRING" size="256" sumtext="holiday수"/>
  324. <Column id="startdut" type="STRING" size="256" sumtext="start duty"/>
  325. <Column id="lastdut" type="STRING" size="256" sumtext="last duty"/>
  326. <Column id="daysum" type="STRING" size="256" sumtext="day합계"/>
  327. <Column id="eveningsum" type="STRING" size="256" sumtext="evening합계"/>
  328. <Column id="nigtsum" type="STRING" size="256" sumtext="night합계"/>
  329. <Column id="offsum" type="STRING" size="256" sumtext="off합계"/>
  330. <Column id="surp1_totduttm" type="STRING" size="256" sumtext="여분1_총근무시간"/>
  331. <Column id="surp2_otofftm" type="STRING" size="256" sumtext="여분2_ot+off시간"/>
  332. <Column id="surp3_ottm" type="STRING" size="256" sumtext="여분3_ot근무시간"/>
  333. <Column id="surp4_sumdutrcogtm" type="STRING" size="256" sumtext="여분4_총근무인정시간"/>
  334. <Column id="surp5_sumduttm" type="STRING" size="256" sumtext="여분5_총근무할시간"/>
  335. <Column id="sumyearno" type="STRING" size="256" sumtext="연차합계"/>
  336. <Column id="educsum" type="STRING" size="256" sumtext="교육합계"/>
  337. <Column id="remunrsum" type="STRING" size="256" sumtext="보수합계"/>
  338. <Column id="posdeptcd" type="STRING" size="256" sumtext="소속부서코드"/>
  339. <Column id="empflag" type="STRING" size="256" sumtext="직원구분"/>
  340. <Column id="execschecloseyn" type="STRING" size="256" sumtext="실시마감여부"/>
  341. <Column id="deprtmangrdutcnfmyn" type="STRING" size="256" sumtext="부서장근무확정여부"/>
  342. <Column id="psnworkdutcnfnyn" type="STRING" size="256" sumtext="인사팀근무확정여부"/>
  343. <Column id="cmt" type="STRING" size="256" sumtext="비고"/>
  344. <Column id="emplappyn" type="STRING" size="256" sumtext="여부"/>
  345. <Column id="suppflag" type="STRING" size="256" sumtext="지원여부"/>
  346. <Column id="anual" type="STRING" size="256" sumtext="년차"/>
  347. <Column id="entcodd" type="STRING" size="256" sumtext="입사일자"/>
  348. </ColumnInfo>
  349. </Dataset>
  350. <Dataset id="ds_main_daylist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  351. <ColumnInfo>
  352. <Column id="basedd" type="STRING" size="256" sumtext="날자"/>
  353. <Column id="holiflag" type="STRING" size="256" sumtext="휴일구분"/>
  354. <Column id="daynm" type="STRING" size="256" sumtext="요일명"/>
  355. </ColumnInfo>
  356. </Dataset>
  357. <Dataset id="ds_send_winparams" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  358. <ColumnInfo>
  359. <Column id="instcd" type="STRING" size="256"/>
  360. <Column id="dutunitcd" type="STRING" size="256"/>
  361. <Column id="dutym" type="STRING" size="256"/>
  362. </ColumnInfo>
  363. <Rows>
  364. <Row/>
  365. </Rows>
  366. </Dataset>
  367. <Dataset id="ds_main_printlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  368. </Objects>
  369. <Bind>
  370. <BindItem id="item0" compid="group4.cmb_instcd" propid="value" datasetid="ds_send" columnid="instcd"/>
  371. <BindItem id="item1" compid="group4.ipt_dutym" propid="value" datasetid="ds_send" columnid="dutym"/>
  372. <BindItem id="item2" compid="group4.cmb_dutplce" propid="value" datasetid="ds_send" columnid="deptkind"/>
  373. </Bind>
  374. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  375. * System Name :
  376. * Job Name :
  377. * Creator :
  378. * Make Date : 2017-06-19
  379. * Description :
  380. *---------------------------------------------------------------------------------------
  381. * Modify Date Modifier Modify Description
  382. *---------------------------------------------------------------------------------------
  383. * 2017-06-19 Live Converter TF->XP
  384. *
  385. *---------------------------------------------------------------------------------------
  386. ****************************************************************************************/
  387. include "com_commonxp::comm_main.xjs";
  388. include "mis_miscommonxp::MIS.xjs";
  389. include "mis_dligclaznsmngtxp::RPD001.xjs";
  390. include "mis_humtrafactmngtxp::RPB001.xjs";
  391. var arrDayMax = new Array();
  392. var arrEveningMax = new Array();
  393. var arrNightMax = new Array();
  394. var DUTCODE_FLAG = false;
  395. var ZOOM_FLAG = false;
  396. var MOUSE_DOWN = false;
  397. var FIRST_CHECK = false;
  398. var iDay1ColIdx = 10;
  399. var iDay31ColIdx = 42;
  400. var bFirst = true;
  401. var sCurYM = "";
  402. var SELECTED_ROW = -1;
  403. function SMRPD05200_oninit(obj:Form, e:InitEventInfo)
  404. {
  405. frmf_initForm(obj);
  406. }
  407. function SMRPD05200_onload(obj:Form, e:LoadEventInfo)
  408. {
  409. grdf_initGrid(grd_dutschelist);
  410. grdf_setRowTypeIcon(grd_dutschelist, 0);
  411. fInitialize();
  412. }
  413. function fInitialize()
  414. {
  415. ds_main_dutlist_dutschelist.clearData();
  416. //misfMsterDetailSet(grd_dutschelist, null, "TRRPD05201", "Y");
  417. misfComboInstCdListMulti("group4.cmb_instcd",utlf_getCurrentDate(),"","N");
  418. misfGetAndSetUserInfo();
  419. misfGetUserAuth();
  420. sCurYM = String(utlf_getCurrentDate()).substr(0, 6);
  421. ds_send.setColumn(0, "instcd", sysf_getUserInfo("dutplceinstcd"));
  422. ds_send.setColumn(0, "dutym", String(utlf_getCurrentDate()).substr(0, 6));
  423. if(sysf_getUserInfo("dutplceinstcd") == "001" && DUTY_PART_YN == "Y")
  424. {
  425. group4.cmb_instcd.enable = true;
  426. group4.cmb_dutplce.enable = true;
  427. }
  428. if(DUTY_PART_YN == "Y")
  429. {
  430. group4.cmb_dutplce.enable = true;
  431. }
  432. }
  433. function group4_ipt_dutym_onchanged(obj:Calendar, e:ChangeEventInfo)
  434. {
  435. var dutym = String(obj.value).substr(0,6);
  436. ds_send.setColumn(0, "dutym", dutym);
  437. var instcd = group4.cmb_instcd.value;
  438. if( utlf_getStringLength(dutym) == "6" )
  439. {
  440. ds_send.setColumn(0, "instcd", "");
  441. misfComboInstCdListMulti("group4.cmb_instcd",dutym+"31","","N");
  442. group4.cmb_instcd.value = instcd;
  443. }
  444. fDutYMValueChanged();
  445. }
  446. function fDutYMValueChanged()
  447. {
  448. dsf_makeValue(ds_send, "basedd", "string", ds_send.getColumn(0, "dutym"), 0);
  449. var oParam = {};
  450. oParam.id = "TRRPD02206";
  451. oParam.service = "dligclaznsmngtapp.DutScheMngt";
  452. oParam.method = "reqGetDayList";
  453. oParam.inds = "req=ds_send";
  454. oParam.outds = "ds_main_daylist=daylist";
  455. oParam.async = false;
  456. //oParam.callback = "cf_TRRPD02206";
  457. tranf_submit(oParam);
  458. group4.btn_search.click();
  459. }
  460. function group4_cmb_dutplce_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  461. {
  462. group4.btn_search.click();
  463. }
  464. function group4_btn_search_onclick(obj:Button, e:ClickEventInfo)
  465. {
  466. fRetrieve();
  467. }
  468. function fRetrieve()
  469. {
  470. var oParam = {};
  471. oParam.id = "TRRPD05201";
  472. oParam.service = "dligclaznsmngtapp.DutScheMngt";
  473. oParam.method = "reqGetDutScheListForMnger";
  474. oParam.inds = "req=ds_send";
  475. oParam.outds = "ds_main_dutlist_dutschelist=dutschelist";
  476. oParam.async = false;
  477. //oParam.callback = "cf_TRRPD05201";
  478. tranf_submit(oParam);
  479. dsf_makeValue(ds_send, "basedd", "string", ds_send.getColumn(0, "dutym"), 0);
  480. var oParam = {};
  481. oParam.id = "TRRPD02206";
  482. oParam.service = "dligclaznsmngtapp.DutScheMngt";
  483. oParam.method = "reqGetDayList";
  484. oParam.inds = "req=ds_send";
  485. oParam.outds = "ds_main_daylist=daylist";
  486. oParam.async = false;
  487. //oParam.callback = "cf_TRRPD02206";
  488. tranf_submit(oParam);
  489. fSetCalendarScheList();
  490. }
  491. function fSetCalendarScheList()
  492. {
  493. var basedd = new Array();
  494. var holiflag = new Array();
  495. var daynm = new Array();
  496. for( var i = 0; i < 31; i++)
  497. {
  498. basedd[i] = ds_main_daylist.getColumn(i, "basedd");
  499. holiflag[i] = ds_main_daylist.getColumn(i, "holiflag");
  500. daynm[i] = ds_main_daylist.getColumn(i, "daynm");
  501. var colID = "";
  502. if(String(i+1).length != 2)
  503. {
  504. colID = "day0"+parseInt(i+1);
  505. }
  506. else
  507. {
  508. colID = "day"+parseInt(i+1);
  509. }
  510. if(utlf_isNull(basedd[i]))
  511. {
  512. misfColHidden(grd_dutschelist, colID, true);
  513. }
  514. else
  515. {
  516. misfColHidden(grd_dutschelist, colID, false);
  517. grd_dutschelist.setCellProperty("Head", parseInt(i+57), "text", daynm[i]);
  518. }
  519. if(holiflag[i] == "4")
  520. {
  521. misfSetGridColor(grd_dutschelist, colID, "#0000FF", "C" , "")
  522. grd_dutschelist.setCellProperty("Head", parseInt(i+11), "color", "#0000FF");
  523. grd_dutschelist.setCellProperty("Head", parseInt(i+57), "color", "#0000FF");
  524. }
  525. else if(holiflag[i] == "0")
  526. {
  527. misfSetGridColor(grd_dutschelist, colID, "#FF0000", "C" , "");
  528. grd_dutschelist.setCellProperty("Head", parseInt(i+11), "color", "#FF0000");
  529. grd_dutschelist.setCellProperty("Head", parseInt(i+57), "color", "#FF0000");
  530. }
  531. else
  532. {
  533. misfSetGridColor(grd_dutschelist, colID, "#000000", "C" , "");
  534. grd_dutschelist.setCellProperty("Head", parseInt(i+11), "color", "");
  535. grd_dutschelist.setCellProperty("Head", parseInt(i+57), "color", "");
  536. }
  537. }
  538. }
  539. function btn_retrsrvp_onclick(obj:Button, e:ClickEventInfo)
  540. {
  541. ds_send_winparams.setColumn(0, "instcd", ds_send.getColumn(0, "instcd"));
  542. ds_send_winparams.setColumn(0, "dutunitcd", ds_send.getColumn(0, "dutunitcd"));
  543. ds_send_winparams.setColumn(0, "dutym", ds_send.getColumn(0, "dutym"));
  544. var objArg = new Object();
  545. objArg.arg_ds_target = ds_send_winparams;
  546. frmf_modal("SPRPD02610", "SPRPD02610", objArg, "", "", "", "", "", "", "", "", "", "M");
  547. }
  548. function btn_excsave_onclick(obj:Button, e:ClickEventInfo)
  549. {
  550. var sName = group4.cmb_instcd.text+ " " + String(ds_send.getColumn(0, "dutym")).substr(0, 4) + "년 " + String(ds_send.getColumn(0, "dutym")).substr(4, 2) + "월 " + "중간 관리자 근무표 (" + group4.cmb_dutplce.text+ ")";
  551. misfSaveExcel(grd_dutschelist, sName);
  552. }
  553. function btn_print_onclick(obj:Button, e:ClickEventInfo)
  554. {
  555. fPrint();
  556. }
  557. function fPrint()
  558. {
  559. var objDOM = rptf_createDOM();
  560. rptf_setNodeListToDOM(objDOM, "/root/main/print/printlist", ds_main_printlist);
  561. var objParam = new Object();
  562. objParam.xml_data_XML1 = objDOM.documentElement.source;
  563. var option = "";
  564. rptf_exeReportPreview30(["RPRPD02201"],[objParam], option, "");
  565. ds_main_printlist.clearData();
  566. }
  567. ]]></Script>
  568. </Form>
  569. </FDL>