SMMNE05900_기간별응급당직전문의조회.xfdl 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570
  1. <?xml version="1.0" encoding="utf-8" standalone="no"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMMNE05900" position="absolute 0 0 1100 890" titletext="스케줄 관리 (응급실 당직 전문의)" onload="SMMNE05900_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div id="group3" scrollbars="autoboth" position="absolute 0 72 1080 862" style="align:center ;">
  8. <Layouts>
  9. <Layout>
  10. <Shape id="line3" class="line_1" linetype="horizontal" position="absolute 0 0 1080 3" style="" anchor="default"/>
  11. <Grid id="grd_workerlist" binddataset="ds_main_workerinfo" position="absolute 0 5 1080 790" style="">
  12. <Formats>
  13. <Format id="default">
  14. <Columns>
  15. <Column size="90"/>
  16. <Column size="70"/>
  17. <Column size="100"/>
  18. <Column size="70"/>
  19. <Column size="100"/>
  20. <Column size="70"/>
  21. <Column size="100"/>
  22. <Column size="70"/>
  23. <Column size="100"/>
  24. <Column size="70"/>
  25. <Column size="100"/>
  26. <Column size="70"/>
  27. <Column size="100"/>
  28. <Column size="70"/>
  29. <Column size="100"/>
  30. <Column size="70"/>
  31. <Column size="100"/>
  32. <Column size="70"/>
  33. <Column size="100"/>
  34. <Column size="70"/>
  35. <Column size="100"/>
  36. <Column size="70"/>
  37. <Column size="100"/>
  38. <Column size="70"/>
  39. <Column size="100"/>
  40. <Column size="70"/>
  41. <Column size="100"/>
  42. <Column size="70"/>
  43. <Column size="100"/>
  44. <Column size="70"/>
  45. <Column size="100"/>
  46. <Column size="70"/>
  47. <Column size="100"/>
  48. <Column size="70"/>
  49. <Column size="100"/>
  50. <Column size="70"/>
  51. <Column size="100"/>
  52. <Column size="70"/>
  53. <Column size="100"/>
  54. <Column size="70"/>
  55. <Column size="100"/>
  56. <Column size="70"/>
  57. <Column size="100"/>
  58. <Column size="70"/>
  59. <Column size="100"/>
  60. <Column size="70"/>
  61. <Column size="100"/>
  62. </Columns>
  63. <Rows>
  64. <Row size="24" band="head"/>
  65. <Row size="24" band="head"/>
  66. <Row size="23"/>
  67. </Rows>
  68. <Band id="head">
  69. <Cell rowspan="2" text="일자" taborder="undefined"/>
  70. <Cell col="1" text="진료과1" taborder="undefined"/>
  71. <Cell col="2" text="진료과1" taborder="undefined"/>
  72. <Cell col="3" text="진료과2" taborder="undefined"/>
  73. <Cell col="4" text="진료과2" taborder="undefined"/>
  74. <Cell col="5" text="진료과3" taborder="undefined"/>
  75. <Cell col="6" text="진료과3" taborder="undefined"/>
  76. <Cell col="7" text="진료과4" taborder="undefined"/>
  77. <Cell col="8" text="진료과4" taborder="undefined"/>
  78. <Cell col="9" text="진료과5" taborder="undefined"/>
  79. <Cell col="10" text="진료과5" taborder="undefined"/>
  80. <Cell col="11" text="진료과6" taborder="undefined"/>
  81. <Cell col="12" text="진료과6" taborder="undefined"/>
  82. <Cell col="13" text="진료과7" taborder="undefined"/>
  83. <Cell col="14" text="진료과7" taborder="undefined"/>
  84. <Cell col="15" text="진료과8" taborder="undefined"/>
  85. <Cell col="16" text="진료과8" taborder="undefined"/>
  86. <Cell col="17" text="진료과9" taborder="undefined"/>
  87. <Cell col="18" text="진료과9" taborder="undefined"/>
  88. <Cell col="19" text="진료과10" taborder="undefined"/>
  89. <Cell col="20" text="진료과10" taborder="undefined"/>
  90. <Cell col="21" text="진료과11" taborder="undefined"/>
  91. <Cell col="22" text="진료과11" taborder="undefined"/>
  92. <Cell col="23" text="진료과12" taborder="undefined"/>
  93. <Cell col="24" text="진료과12" taborder="undefined"/>
  94. <Cell col="25" text="진료과13" taborder="undefined"/>
  95. <Cell col="26" text="진료과13" taborder="undefined"/>
  96. <Cell col="27" text="진료과14" taborder="undefined"/>
  97. <Cell col="28" text="진료과14" taborder="undefined"/>
  98. <Cell col="29" text="진료과15" taborder="undefined"/>
  99. <Cell col="30" text="진료과15" taborder="undefined"/>
  100. <Cell col="31" text="진료과16" taborder="undefined"/>
  101. <Cell col="32" text="진료과16" taborder="undefined"/>
  102. <Cell col="33" text="진료과17" taborder="undefined"/>
  103. <Cell col="34" text="진료과17" taborder="undefined"/>
  104. <Cell col="35" text="진료과18" taborder="undefined"/>
  105. <Cell col="36" text="진료과18" taborder="undefined"/>
  106. <Cell col="37" text="진료과19" taborder="undefined"/>
  107. <Cell col="38" text="진료과19" taborder="undefined"/>
  108. <Cell col="39" text="진료과20" taborder="undefined"/>
  109. <Cell col="40" text="진료과20" taborder="undefined"/>
  110. <Cell col="41" text="진료과21" taborder="undefined"/>
  111. <Cell col="42" text="진료과21" taborder="undefined"/>
  112. <Cell col="43" text="진료과22" taborder="undefined"/>
  113. <Cell col="44" text="진료과22" taborder="undefined"/>
  114. <Cell col="45" text="진료과23" taborder="undefined"/>
  115. <Cell col="46" text="진료과23" taborder="undefined"/>
  116. <Cell col="47" text="일자"/>
  117. <Cell col="48" text="의사"/>
  118. <Cell col="49" text="연락처"/>
  119. <Cell col="50" text="의사"/>
  120. <Cell col="51" text="연락처"/>
  121. <Cell col="52" text="의사"/>
  122. <Cell col="53" text="연락처"/>
  123. <Cell col="54" text="의사"/>
  124. <Cell col="55" text="연락처"/>
  125. <Cell col="56" text="의사"/>
  126. <Cell col="57" text="연락처"/>
  127. <Cell col="58" text="의사"/>
  128. <Cell col="59" text="연락처"/>
  129. <Cell col="60" text="의사"/>
  130. <Cell col="61" text="연락처"/>
  131. <Cell col="62" text="의사"/>
  132. <Cell col="63" text="연락처"/>
  133. <Cell col="64" text="의사"/>
  134. <Cell col="65" text="연락처"/>
  135. <Cell col="66" text="의사"/>
  136. <Cell col="67" text="연락처"/>
  137. <Cell col="68" text="의사"/>
  138. <Cell col="69" text="연락처"/>
  139. <Cell col="70" text="의사"/>
  140. <Cell col="71" text="연락처"/>
  141. <Cell col="72" text="의사"/>
  142. <Cell col="73" text="연락처"/>
  143. <Cell col="74" text="의사"/>
  144. <Cell col="75" text="연락처"/>
  145. <Cell col="76" text="의사"/>
  146. <Cell col="77" text="연락처"/>
  147. <Cell col="78" text="의사"/>
  148. <Cell col="79" text="연락처"/>
  149. <Cell col="80" text="의사"/>
  150. <Cell col="81" text="연락처"/>
  151. <Cell col="82" text="의사"/>
  152. <Cell col="83" text="연락처"/>
  153. <Cell col="84" text="의사"/>
  154. <Cell col="85" text="연락처"/>
  155. <Cell col="86" text="의사"/>
  156. <Cell col="87" text="연락처"/>
  157. <Cell col="88" text="의사"/>
  158. <Cell col="89" text="연락처"/>
  159. <Cell col="90" text="의사"/>
  160. <Cell col="91" text="연락처"/>
  161. <Cell col="92" text="의사"/>
  162. <Cell col="93" text="연락처"/>
  163. <Cell row="1" col="1" text="의사"/>
  164. <Cell row="1" col="2" text="연락처"/>
  165. <Cell row="1" col="3" text="의사"/>
  166. <Cell row="1" col="4" text="연락처"/>
  167. <Cell row="1" col="5" text="의사"/>
  168. <Cell row="1" col="6" text="연락처"/>
  169. <Cell row="1" col="7" text="의사"/>
  170. <Cell row="1" col="8" text="연락처"/>
  171. <Cell row="1" col="9" text="의사"/>
  172. <Cell row="1" col="10" text="연락처"/>
  173. <Cell row="1" col="11" text="의사"/>
  174. <Cell row="1" col="12" text="연락처"/>
  175. <Cell row="1" col="13" text="의사"/>
  176. <Cell row="1" col="14" text="연락처"/>
  177. <Cell row="1" col="15" text="의사"/>
  178. <Cell row="1" col="16" text="연락처"/>
  179. <Cell row="1" col="17" text="의사"/>
  180. <Cell row="1" col="18" text="연락처"/>
  181. <Cell row="1" col="19" text="의사"/>
  182. <Cell row="1" col="20" text="연락처"/>
  183. <Cell row="1" col="21" text="의사"/>
  184. <Cell row="1" col="22" text="연락처"/>
  185. <Cell row="1" col="23" text="의사"/>
  186. <Cell row="1" col="24" text="연락처"/>
  187. <Cell row="1" col="25" text="의사"/>
  188. <Cell row="1" col="26" text="연락처"/>
  189. <Cell row="1" col="27" text="의사"/>
  190. <Cell row="1" col="28" text="연락처"/>
  191. <Cell row="1" col="29" text="의사"/>
  192. <Cell row="1" col="30" text="연락처"/>
  193. <Cell row="1" col="31" text="의사"/>
  194. <Cell row="1" col="32" text="연락처"/>
  195. <Cell row="1" col="33" text="의사"/>
  196. <Cell row="1" col="34" text="연락처"/>
  197. <Cell row="1" col="35" text="의사"/>
  198. <Cell row="1" col="36" text="연락처"/>
  199. <Cell row="1" col="37" text="의사"/>
  200. <Cell row="1" col="38" text="연락처"/>
  201. <Cell row="1" col="39" text="의사"/>
  202. <Cell row="1" col="40" text="연락처"/>
  203. <Cell row="1" col="41" text="의사"/>
  204. <Cell row="1" col="42" text="연락처"/>
  205. <Cell row="1" col="43" text="의사"/>
  206. <Cell row="1" col="44" text="연락처"/>
  207. <Cell row="1" col="45" text="의사"/>
  208. <Cell row="1" col="46" text="연락처"/>
  209. </Band>
  210. <Band id="body">
  211. <Cell text="bind:workdd"/>
  212. <Cell col="1" text="bind:dr1"/>
  213. <Cell col="2" text="bind:no1"/>
  214. <Cell col="3" text="bind:dr2"/>
  215. <Cell col="4" text="bind:no2"/>
  216. <Cell col="5" text="bind:dr3"/>
  217. <Cell col="6" text="bind:no3"/>
  218. <Cell col="7" text="bind:dr4"/>
  219. <Cell col="8" text="bind:no4"/>
  220. <Cell col="9" text="bind:dr5"/>
  221. <Cell col="10" text="bind:no5"/>
  222. <Cell col="11" text="bind:dr6"/>
  223. <Cell col="12" text="bind:no6"/>
  224. <Cell col="13" text="bind:dr7"/>
  225. <Cell col="14" text="bind:no7"/>
  226. <Cell col="15" text="bind:dr8"/>
  227. <Cell col="16" text="bind:no8"/>
  228. <Cell col="17" text="bind:dr9"/>
  229. <Cell col="18" text="bind:no9"/>
  230. <Cell col="19" text="bind:dr10"/>
  231. <Cell col="20" text="bind:no10"/>
  232. <Cell col="21" text="bind:dr11"/>
  233. <Cell col="22" text="bind:no11"/>
  234. <Cell col="23" text="bind:dr12"/>
  235. <Cell col="24" text="bind:no12"/>
  236. <Cell col="25" text="bind:dr13"/>
  237. <Cell col="26" text="bind:no13"/>
  238. <Cell col="27" text="bind:dr14"/>
  239. <Cell col="28" text="bind:no14"/>
  240. <Cell col="29" text="bind:dr15"/>
  241. <Cell col="30" text="bind:no15"/>
  242. <Cell col="31" text="bind:dr16"/>
  243. <Cell col="32" text="bind:no16"/>
  244. <Cell col="33" text="bind:dr17"/>
  245. <Cell col="34" text="bind:no17"/>
  246. <Cell col="35" text="bind:dr18"/>
  247. <Cell col="36" text="bind:no18"/>
  248. <Cell col="37" text="bind:dr19"/>
  249. <Cell col="38" text="bind:no19"/>
  250. <Cell col="39" text="bind:dr20"/>
  251. <Cell col="40" text="bind:no20"/>
  252. <Cell col="41" text="bind:dr21"/>
  253. <Cell col="42" text="bind:no21"/>
  254. <Cell col="43" text="bind:dr22"/>
  255. <Cell col="44" text="bind:no22"/>
  256. <Cell col="45" text="bind:dr23"/>
  257. <Cell col="46" text="bind:no23"/>
  258. </Band>
  259. </Format>
  260. </Formats>
  261. </Grid>
  262. </Layout>
  263. </Layouts>
  264. </Div>
  265. <Static id="caption6" class="tit_1" position="absolute 0 0 224 21" style="" text="기간별 응급실 당직 전문의 조회"/>
  266. <Div id="group4" position="absolute 1 20 1081 70" style="align: top;" onkillfocus="group4_onkillfocus">
  267. <Layouts>
  268. <Layout>
  269. <Shape id="roundrect1" anchor="default" class="roundrect_search" type="roundrectangle" position="absolute 0 3 1080 47" style=""/>
  270. <Button id="btn_search" class="btn1" taborder="3" position="absolute 935 15 991 37" style="" text="조회" onclick="group4_btn_search_onclick"/>
  271. <Shape id="line1" linetype="vertical" position="absolute 923 9 926 38" style="border:1 solid #ffe4bb #ffe4bb;" anchor="default"/>
  272. <Button id="button3" class="btn7" taborder="3" position="absolute 995 15 1063 37" style="" text="EXCEL" onclick="group4_button3_onclick"/>
  273. <Button id="btn_bfyear" class="icon_pre_year" position="absolute 90 17 106 33" style="" text="" onclick="group4_btn_bfyear_onclick"/>
  274. <Button id="btn_bfmonth" class="icon_pre_month" position="absolute 108 17 124 33" style="" text="" onclick="group4_btn_bfmonth_onclick"/>
  275. <Button id="btn_afmonth" class="icon_next_month" position="absolute 217 17 233 33" style="" text="" onclick="group4_btn_afmonth_onclick"/>
  276. <Button id="btn_afyear" class="icon_next_year" position="absolute 235 17 251 33" style="" text="" onclick="group4_btn_afyear_onclick"/>
  277. <Static id="caption4" class="search_name" position="absolute 5 14 80 31" style="" text="당직년월 :" onclick="group4_caption4_onclick"/>
  278. <Calendar id="ipt_srchym" taborder="4" autoselect="true" dateformat="yyyy-MM" position="absolute 129 15 212 35" style="align:center middle;" value="null" editformat="yyyy-MM"/>
  279. </Layout>
  280. </Layouts>
  281. </Div>
  282. </Layout>
  283. </Layouts>
  284. <Objects>
  285. <Dataset id="ds_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  286. <ColumnInfo>
  287. <Column id="sdate" type="STRING" size="256"/>
  288. <Column id="edate" type="STRING" size="256"/>
  289. <Column id="gbn" type="STRING" size="256"/>
  290. <Column id="drid" type="STRING" size="256"/>
  291. <Column id="srchym" type="STRING" size="256"/>
  292. </ColumnInfo>
  293. <Rows>
  294. <Row>
  295. <Col id="sdate"/>
  296. <Col id="edate"/>
  297. <Col id="gbn">E</Col>
  298. <Col id="drid"/>
  299. <Col id="srchym"/>
  300. </Row>
  301. </Rows>
  302. </Dataset>
  303. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  304. <ColumnInfo>
  305. <Column id="send" type="STRING" size="256"/>
  306. </ColumnInfo>
  307. </Dataset>
  308. <Dataset id="ds_main_workerinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  309. <ColumnInfo>
  310. <Column id="workerinfolist" type="STRING" size="256"/>
  311. </ColumnInfo>
  312. <Rows>
  313. <Row>
  314. <Col id="workerinfolist"/>
  315. </Row>
  316. </Rows>
  317. </Dataset>
  318. <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  319. <ColumnInfo/>
  320. </Dataset>
  321. <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  322. <ColumnInfo>
  323. <Column id="init" type="STRING" size="256"/>
  324. </ColumnInfo>
  325. <Rows>
  326. <Row>
  327. <Col id="init"/>
  328. </Row>
  329. </Rows>
  330. </Dataset>
  331. <Dataset id="ds_send_info" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  332. <ColumnInfo>
  333. <Column id="send" type="STRING" size="256"/>
  334. </ColumnInfo>
  335. </Dataset>
  336. </Objects>
  337. <Bind>
  338. <BindItem id="item10" compid="group4.ipt_srchym" propid="value" datasetid="ds_cond" columnid="srchym"/>
  339. </Bind>
  340. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  341. * System Name :
  342. * Job Name :
  343. * Creator :
  344. * Make Date : 2015-11-13
  345. * Description :
  346. *---------------------------------------------------------------------------------------
  347. * Modify Date Modifier Modify Description
  348. *---------------------------------------------------------------------------------------
  349. * 2015-11-13 Live Converter TF->XP
  350. *
  351. *---------------------------------------------------------------------------------------
  352. ****************************************************************************************/
  353. include "com_commonxp::comm_main.xjs";
  354. include "emr_carecomxp::CareCom.xjs";
  355. function SMMNE05900_onload(obj:Form, e:LoadEventInfo) {
  356. frmf_initForm(obj);
  357. //grdf_initGrid(grd_XXX);
  358. //grdf_setGridSort(grd_XXX);
  359. //grdf_setRowTypeIcon(grd_XXX, 0_컬럼위치값);
  360. fInit();
  361. }
  362. function fInit() {
  363. var curym = utlf_getCurrentDate().substring(0, 6);
  364. dsf_makeValue( ds_cond, "srchym", "string", curym);
  365. }
  366. function fGetDrList() {
  367. var srchym = ds_cond.getColumn(0, "srchym");
  368. var sSdate = srchym.substring(0, 6) + "01";
  369. var sEdate = utlf_getLastDate(sSdate);
  370. //var sEdate = srchym + getDayCountForMonth(srchym.substring(0, 4), srchym.substring(4, 6));
  371. ds_cond.setColumn( 0, "sdate", sSdate);
  372. ds_cond.setColumn( 0, "edate", sEdate);
  373. var sGbn = ds_cond.getColumn(0, "gbn");
  374. //trace("sSdate:"+sSdate+"/"+sEdate);
  375. ds_send_info.clearData();
  376. dsf_makeValue( ds_send_info, "sdate", "string", sSdate);
  377. dsf_makeValue( ds_send_info, "edate", "string", sEdate);
  378. dsf_makeValue( ds_send_info, "gbn", "string", sGbn);
  379. //submit("TRMNE05901");
  380. var oParam = {};
  381. oParam.id = "TRMNE05901";
  382. oParam.service = "ercareapp.ERPatMngt";
  383. oParam.method = "reqGetErDrlistForDate";
  384. oParam.inds = "req=ds_send_info";
  385. oParam.outds = "ds_main_workerinfo=workerinfolist";
  386. oParam.async = false;
  387. //oParam.callback = "cf_TRMNE05901";
  388. tranf_submit(oParam);
  389. // function cf_TRMNE05901(sSvcId, nErrorCode, sErrorMsg) {
  390. // if(nErrorCode < 0) return;
  391. // }
  392. var j = 1;
  393. var col = "dept";
  394. for (var i = 1; i <= 23; i++) {
  395. col = "dept" + String(i);
  396. var sTitle = ds_main_workerinfo.getColumn(0, col);
  397. group3.grd_workerlist.setCellProperty("Head", j, "text", sTitle);
  398. j = j + 2;
  399. }
  400. }
  401. /**
  402. * _desc : 이전 년버튼 클릭시 - 전년도+월로 세팅
  403. * _
  404. * _param :
  405. * _return :
  406. * _author : dhkim 20090610
  407. * _---------------------------------------------------
  408. */
  409. function fClkBfYear(srchym){
  410. var yyear = srchym.substring(0, 4);
  411. var mmont = srchym.substring(4, 6);
  412. yyear--;
  413. srchym = yyear + mmont;
  414. ds_cond.setColumn( 0, "srchym", srchym);
  415. //model.refresh();
  416. }
  417. /**
  418. * _desc : 다음 년버튼 클릭시 - 다음년도+월로 세팅
  419. * _
  420. * _param :
  421. * _return :
  422. * _author : dhkim 20090610
  423. * _---------------------------------------------------
  424. */
  425. function fClkAfYear(srchym){
  426. var yyear = srchym.substring(0, 4);
  427. var mmont = srchym.substring(4, 6);
  428. yyear++;
  429. srchym = yyear + mmont;
  430. ds_cond.setColumn( 0, "srchym", srchym);
  431. //model.refresh();
  432. }
  433. /**
  434. * _desc : 이전 달버튼 클릭시 - 년도+전월 세팅
  435. * _
  436. * _param :
  437. * _return :
  438. * _author : dhkim 20090610
  439. * _---------------------------------------------------
  440. */
  441. function fClkBfMonth(srchym){
  442. var yyear = srchym.substring(0, 4);
  443. var mmont = srchym.substring(4, 6);
  444. mmont = mmont.toDate('MM').getAddDate(-1, "M").getDateFormat('MM');
  445. if(mmont == '12'){
  446. yyear--;
  447. }
  448. srchym = yyear + mmont;
  449. ds_cond.setColumn( 0, "srchym", srchym);
  450. //model.refresh();
  451. }
  452. /**
  453. * _desc : 다음 달버튼 클릭시 - 년도+다음월 세팅
  454. * _
  455. * _param :
  456. * _return :
  457. * _author : dhkim 20090610
  458. * _---------------------------------------------------
  459. */
  460. function fClkAfMonth(srchym){
  461. var yyear = srchym.substring(0, 4);
  462. var mmont = srchym.substring(4, 6);
  463. mmont = mmont.toDate('MM').getAddDate(+1, "M").getDateFormat('MM');
  464. if(mmont == '01'){
  465. yyear++;
  466. }
  467. srchym = yyear + mmont;
  468. ds_cond.setColumn( 0, "srchym", srchym);
  469. //model.refresh();
  470. }
  471. function group4_btn_search_onclick(obj:Button, e:ClickEventInfo) {
  472. fGetDrList();
  473. }
  474. function group4_onkillfocus(obj:Div, e:KillFocusEventInfo) {
  475. fInit();
  476. }
  477. function group4_button3_onclick(obj:Button, e:ClickEventInfo) {
  478. grdf_exportExcel(group3.grd_workerlist, "기간별응급당직전문의","Sheet1", true, "" , 'user' , false);
  479. }
  480. function group4_btn_bfyear_onclick(obj:Button, e:ClickEventInfo) {
  481. fClkBfYear(ds_cond.getColumn(0, "srchym"));
  482. }
  483. function group4_btn_bfmonth_onclick(obj:Button, e:ClickEventInfo) {
  484. fClkBfMonth(ds_cond.getColumn(0, "srchym"));
  485. }
  486. function group4_btn_afmonth_onclick(obj:Button, e:ClickEventInfo) {
  487. fClkAfMonth(ds_cond.getColumn(0, "srchym"));
  488. }
  489. function group4_btn_afyear_onclick(obj:Button, e:ClickEventInfo) {
  490. fClkAfYear(ds_cond.getColumn(0, "srchym"));
  491. }
  492. ]]></Script>
  493. </Form>
  494. </FDL>