SPAEA00300_Angio일정조회.xfdl 35 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPAEA00300" position="absolute 0 0 388 356" titletext="Angio 일정조회" oninit="SPAEA00300_oninit" onload="SPAEA00300_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static text="Angio일정조회" position="absolute 0 7 375 23" id="caption1" class="tit_2"/>
  8. <Shape position="absolute 0 23 387 29" linetype="horizontal" id="line1" class="line_10"/>
  9. <Div position="absolute 0 28 387 319" id="grp_calendar" scrollbars="autoboth">
  10. <Layouts>
  11. <Layout>
  12. <Shape position="absolute 0 0 387 25" id="rectangle2" class="calendar_header" type="rectangle" anchor="default" style="strokepen:1 solid transparent;fillbrush:solid darkslateblue true;fillgradation:linear 0,0 white 100,100 darkmagenta;border:1 solid black ;gradation:linear 0,0 white 100,100 black;"/>
  13. <Button position="absolute 56 5 72 21" id="btn_preyear" class="icon_pre_year" text="" anchor="default" onclick="grp_calendar_btn_preyear_onclick"/>
  14. <Button position="absolute 74 5 90 21" id="btn_premonth" class="icon_pre_month" text="" anchor="default" onclick="grp_calendar_btn_premonth_onclick"/>
  15. <Button position="absolute 296 5 312 21" id="btn_nextmonth" class="icon_next_month" text="" anchor="default" onclick="grp_calendar_btn_nextmonth_onclick"/>
  16. <Button position="absolute 314 5 330 21" id="btn_nextyear" class="icon_next_year" text="" anchor="default" onclick="grp_calendar_btn_nextyear_onclick"/>
  17. <Edit readonly="true" position="absolute 122 3 168 22" id="opt_year" class="calendar_output" anchor="default" style="align:center middle;"/>
  18. <Edit readonly="true" position="absolute 211 3 241 22" id="opt_month" class="calendar_output" anchor="default" style="align:center middle;"/>
  19. <Static text="년" position="absolute 171 3 191 22" id="caption15" class="calendar_output" anchor="default"/>
  20. <Static text="월" position="absolute 244 3 264 22" id="caption18" class="calendar_output" anchor="default"/>
  21. <Grid id="grd_calendar" class="gridcalendar" taborder="1" binddataset="ds_hidden_calendar_weeklist_list" useinputpanel="false" selecttype="cell" autofittype="col,allrow" position="absolute 0 25 387 291" onlbuttonup="grp_calendar_grd_calendar_onlbuttonup">
  22. <Formats>
  23. <Format id="default">
  24. <Columns>
  25. <Column size="40"/>
  26. <Column size="40"/>
  27. <Column size="40"/>
  28. <Column size="40"/>
  29. <Column size="40"/>
  30. <Column size="40"/>
  31. <Column size="40"/>
  32. </Columns>
  33. <Rows>
  34. <Row size="24" band="head"/>
  35. <Row size="24"/>
  36. <Row size="24"/>
  37. </Rows>
  38. <Band id="head">
  39. <Cell text="일"/>
  40. <Cell col="1" text="월"/>
  41. <Cell col="2" text="화"/>
  42. <Cell col="3" text="수"/>
  43. <Cell col="4" text="목"/>
  44. <Cell col="5" text="금"/>
  45. <Cell col="6" text="토"/>
  46. </Band>
  47. <Band id="body">
  48. <Cell rowspan="2" style="background:EXPR(!utlf_isNull(getColumn(currow,'sun_reglscheflag'))?getColumn(currow,'sun_reglscheflag'):&quot;#ffffff&quot;);background2:EXPR(!utlf_isNull(getColumn(currow,'sun_reglscheflag'))?getColumn(currow,'sun_reglscheflag'):&quot;#ffffff&quot;);color2: ;selectbackground:#daa7d9ff;" taborder="undefined">
  49. <Cell style="background:EXPR(!utlf_isNull(getColumn(currow,'sun_reglscheflag'))?getColumn(currow,'sun_reglscheflag'):&quot;#ffffff&quot;);background2:EXPR(!utlf_isNull(getColumn(currow,'sun_reglscheflag'))?getColumn(currow,'sun_reglscheflag'):&quot;#ffffff&quot;);color:EXPR(getColumn(currow,'sun_dutflag')=='8'?'red':'black');color2:EXPR(getColumn(currow,'sun_dutflag')=='8'?'red':'black');selectbackground:#daa7d9ff;" text="bind:sun" taborder="undefined"/>
  50. <Cell row="1" style="background:EXPR(!utlf_isNull(getColumn(currow,'sun_reglscheflag'))?getColumn(currow,'sun_reglscheflag'):&quot;#ffffff&quot;);background2:EXPR(!utlf_isNull(getColumn(currow,'sun_reglscheflag'))?getColumn(currow,'sun_reglscheflag'):&quot;#ffffff&quot;);color:EXPR(getColumn(currow,'sun_dutflag')=='8'?'red':'black');color2:EXPR(getColumn(currow,'sun_dutflag')=='8'?'red':'black');selectbackground:#daa7d9ff;" text="bind:sun_memo" taborder="undefined"/>
  51. </Cell>
  52. <Cell col="1" rowspan="2" style="background:EXPR(!utlf_isNull(getColumn(currow,'mon_reglscheflag'))?getColumn(currow,'mon_reglscheflag'):&quot;#ffffff&quot;);background2:EXPR(!utlf_isNull(getColumn(currow,'mon_reglscheflag'))?getColumn(currow,'mon_reglscheflag'):&quot;#ffffff&quot;);color2: ;selectbackground:#daa7d9ff;" taborder="undefined">
  53. <Cell style="background:EXPR(!utlf_isNull(getColumn(currow,'mon_reglscheflag'))?getColumn(currow,'mon_reglscheflag'):&quot;#ffffff&quot;);background2:EXPR(!utlf_isNull(getColumn(currow,'mon_reglscheflag'))?getColumn(currow,'mon_reglscheflag'):&quot;#ffffff&quot;);color:EXPR(getColumn(currow,'mon_dutflag')=='8'?'red':'black');color2:EXPR(getColumn(currow,'mon_dutflag')=='8'?'red':'black');selectbackground:#daa7d9ff;" text="bind:mon" taborder="undefined"/>
  54. <Cell row="1" style="background:EXPR(!utlf_isNull(getColumn(currow,'mon_reglscheflag'))?getColumn(currow,'mon_reglscheflag'):&quot;#ffffff&quot;);background2:EXPR(!utlf_isNull(getColumn(currow,'mon_reglscheflag'))?getColumn(currow,'mon_reglscheflag'):&quot;#ffffff&quot;);color:EXPR(getColumn(currow,'mon_dutflag')=='8'?'red':'black');color2:EXPR(getColumn(currow,'mon_dutflag')=='8'?'red':'black');selectbackground:#daa7d9ff;" text="bind:mon_memo" taborder="undefined"/>
  55. </Cell>
  56. <Cell col="2" rowspan="2" style="background:EXPR(!utlf_isNull(getColumn(currow,'tue_reglscheflag'))?getColumn(currow,'tue_reglscheflag'):&quot;#ffffff&quot;);background2:EXPR(!utlf_isNull(getColumn(currow,'tue_reglscheflag'))?getColumn(currow,'tue_reglscheflag'):&quot;#ffffff&quot;);color2: ;selectbackground:#daa7d9ff;" taborder="undefined">
  57. <Cell style="background:EXPR(!utlf_isNull(getColumn(currow,'tue_reglscheflag'))?getColumn(currow,'tue_reglscheflag'):&quot;#ffffff&quot;);background2:EXPR(!utlf_isNull(getColumn(currow,'tue_reglscheflag'))?getColumn(currow,'tue_reglscheflag'):&quot;#ffffff&quot;);color:EXPR(getColumn(currow,'tue_dutflag')=='8'?'red':'black');color2:EXPR(getColumn(currow,'tue_dutflag')=='8'?'red':'black');selectbackground:#daa7d9ff;" text="bind:tue" taborder="undefined"/>
  58. <Cell row="1" style="background:EXPR(!utlf_isNull(getColumn(currow,'tue_reglscheflag'))?getColumn(currow,'tue_reglscheflag'):&quot;#ffffff&quot;);background2:EXPR(!utlf_isNull(getColumn(currow,'tue_reglscheflag'))?getColumn(currow,'tue_reglscheflag'):&quot;#ffffff&quot;);color:EXPR(getColumn(currow,'tue_dutflag')=='8'?'red':'black');color2:EXPR(getColumn(currow,'tue_dutflag')=='8'?'red':'black');selectbackground:#daa7d9ff;" text="bind:tue_memo" taborder="undefined"/>
  59. </Cell>
  60. <Cell col="3" rowspan="2" style="background:EXPR(!utlf_isNull(getColumn(currow,'wed_reglscheflag'))?getColumn(currow,'wed_reglscheflag'):&quot;#ffffff&quot;);background2:EXPR(!utlf_isNull(getColumn(currow,'wed_reglscheflag'))?getColumn(currow,'wed_reglscheflag'):&quot;#ffffff&quot;);color2: ;selectbackground:#daa7d9ff;" taborder="undefined">
  61. <Cell style="background:EXPR(!utlf_isNull(getColumn(currow,'wed_reglscheflag'))?getColumn(currow,'wed_reglscheflag'):&quot;#ffffff&quot;);background2:EXPR(!utlf_isNull(getColumn(currow,'wed_reglscheflag'))?getColumn(currow,'wed_reglscheflag'):&quot;#ffffff&quot;);color:EXPR(getColumn(currow,'wed_dutflag')=='8'?'red':'black');color2:EXPR(getColumn(currow,'wed_dutflag')=='8'?'red':'black');selectbackground:#daa7d9ff;" text="bind:wed" taborder="undefined"/>
  62. <Cell row="1" style="background:EXPR(!utlf_isNull(getColumn(currow,'wed_reglscheflag'))?getColumn(currow,'wed_reglscheflag'):&quot;#ffffff&quot;);background2:EXPR(!utlf_isNull(getColumn(currow,'wed_reglscheflag'))?getColumn(currow,'wed_reglscheflag'):&quot;#ffffff&quot;);color:EXPR(getColumn(currow,'wed_dutflag')=='8'?'red':'black');color2:EXPR(getColumn(currow,'wed_dutflag')=='8'?'red':'black');selectbackground:#daa7d9ff;" text="bind:wed_memo" taborder="undefined"/>
  63. </Cell>
  64. <Cell col="4" rowspan="2" style="background:EXPR(!utlf_isNull(getColumn(currow,'thu_reglscheflag'))?getColumn(currow,'thu_reglscheflag'):&quot;#ffffff&quot;);background2:EXPR(!utlf_isNull(getColumn(currow,'thu_reglscheflag'))?getColumn(currow,'thu_reglscheflag'):&quot;#ffffff&quot;);selectbackground:#daa7d9ff;" taborder="undefined">
  65. <Cell style="background:EXPR(!utlf_isNull(getColumn(currow,'thu_reglscheflag'))?getColumn(currow,'thu_reglscheflag'):&quot;#ffffff&quot;);background2:EXPR(!utlf_isNull(getColumn(currow,'thu_reglscheflag'))?getColumn(currow,'thu_reglscheflag'):&quot;#ffffff&quot;);color:EXPR(getColumn(currow,'thu_dutflag')=='8'?'red':'black');color2:EXPR(getColumn(currow,'thu_dutflag')=='8'?'red':'black');selectbackground:#daa7d9ff;" text="bind:thu" taborder="undefined"/>
  66. <Cell row="1" style="background:EXPR(!utlf_isNull(getColumn(currow,'thu_reglscheflag'))?getColumn(currow,'thu_reglscheflag'):&quot;#ffffff&quot;);background2:EXPR(!utlf_isNull(getColumn(currow,'thu_reglscheflag'))?getColumn(currow,'thu_reglscheflag'):&quot;#ffffff&quot;);color:EXPR(getColumn(currow,'thu_dutflag')=='8'?'red':'black');color2:EXPR(getColumn(currow,'thu_dutflag')=='8'?'red':'black');selectbackground:#daa7d9ff;" text="bind:thu_memo" taborder="undefined"/>
  67. </Cell>
  68. <Cell col="5" rowspan="2" style="background:EXPR(!utlf_isNull(getColumn(currow,'fri_reglscheflag'))?getColumn(currow,'fri_reglscheflag'):&quot;#ffffff&quot;);background2:EXPR(!utlf_isNull(getColumn(currow,'fri_reglscheflag'))?getColumn(currow,'fri_reglscheflag'):&quot;#ffffff&quot;);color2: ;selectbackground:#daa7d9ff;" taborder="undefined">
  69. <Cell style="background:EXPR(!utlf_isNull(getColumn(currow,'fri_reglscheflag'))?getColumn(currow,'fri_reglscheflag'):&quot;#ffffff&quot;);background2:EXPR(!utlf_isNull(getColumn(currow,'fri_reglscheflag'))?getColumn(currow,'fri_reglscheflag'):&quot;#ffffff&quot;);color:EXPR(getColumn(currow,'fri_dutflag')=='8'?'red':'black');color2:EXPR(getColumn(currow,'fri_dutflag')=='8'?'red':'black');selectbackground:#daa7d9ff;" text="bind:fri" taborder="undefined"/>
  70. <Cell row="1" style="background:EXPR(!utlf_isNull(getColumn(currow,'fri_reglscheflag'))?getColumn(currow,'fri_reglscheflag'):&quot;#ffffff&quot;);background2:EXPR(!utlf_isNull(getColumn(currow,'fri_reglscheflag'))?getColumn(currow,'fri_reglscheflag'):&quot;#ffffff&quot;);color:EXPR(getColumn(currow,'fri_dutflag')=='8'?'red':'black');color2:EXPR(getColumn(currow,'fri_dutflag')=='8'?'red':'black');selectbackground:#daa7d9ff;" text="bind:fri_memo" taborder="undefined"/>
  71. </Cell>
  72. <Cell col="6" rowspan="2" style="background:EXPR(!utlf_isNull(getColumn(currow,'sat_reglscheflag'))?getColumn(currow,'sat_reglscheflag'):&quot;#ffffff&quot;);background2:EXPR(!utlf_isNull(getColumn(currow,'sat_reglscheflag'))?getColumn(currow,'sat_reglscheflag'):&quot;#ffffff&quot;);color: ;selectbackground:#daa7d9ff;" taborder="undefined">
  73. <Cell style="background:EXPR(!utlf_isNull(getColumn(currow,'sat_reglscheflag'))?getColumn(currow,'sat_reglscheflag'):&quot;#ffffff&quot;);background2:EXPR(!utlf_isNull(getColumn(currow,'sat_reglscheflag'))?getColumn(currow,'sat_reglscheflag'):&quot;#ffffff&quot;);color:EXPR(getColumn(currow,'sat_dutflag')=='8'?'red':'blue');color2:EXPR(getColumn(currow,'sat_dutflag')=='8'?'red':'blue');selectbackground:#daa7d9ff;" text="bind:sat" taborder="undefined"/>
  74. <Cell row="1" style="background:EXPR(!utlf_isNull(getColumn(currow,'sat_reglscheflag'))?getColumn(currow,'sat_reglscheflag'):&quot;#ffffff&quot;);background2:EXPR(!utlf_isNull(getColumn(currow,'sat_reglscheflag'))?getColumn(currow,'sat_reglscheflag'):&quot;#ffffff&quot;);color:EXPR(getColumn(currow,'sat_dutflag')=='8'?'red':'blue');color2:EXPR(getColumn(currow,'sat_dutflag')=='8'?'red':'blue');selectbackground:#daa7d9ff;" text="bind:sat_memo" taborder="undefined"/>
  75. </Cell>
  76. </Band>
  77. </Format>
  78. </Formats>
  79. </Grid>
  80. <Grid position="absolute 115 100 260 270" id="grd_temp" visible="false" binddataset="ds_init_curerprescondlist_opcalendar" anchor="default">
  81. <Formats>
  82. <Format id="default">
  83. <Columns>
  84. <Column size="76"/>
  85. <Column size="62"/>
  86. </Columns>
  87. <Rows>
  88. <Row size="24" band="head"/>
  89. <Row size="24"/>
  90. </Rows>
  91. <Band id="head">
  92. <Cell text="일자(dd)"/>
  93. <Cell col="1" text="인원현황"/>
  94. </Band>
  95. <Band id="body">
  96. <Cell text="bind:opdd"/>
  97. <Cell col="1" text="bind:count"/>
  98. </Band>
  99. </Format>
  100. </Formats>
  101. </Grid>
  102. </Layout>
  103. </Layouts>
  104. </Div>
  105. <Div position="absolute 0 326 387 349" id="grp_btn" scrollbars="autoboth">
  106. <Layouts>
  107. <Layout>
  108. <Button position="absolute 0 0 80 22" id="button91" class="btn3" text="일정등록" anchor="default" onclick="grp_btn_button91_onclick"/>
  109. <Button position="absolute 330 0 386 22" id="button2" class="btn4" text="닫기" anchor="default" onclick="grp_btn_button2_onclick"/>
  110. </Layout>
  111. </Layouts>
  112. </Div>
  113. </Layout>
  114. </Layouts>
  115. <Objects>
  116. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  117. <ColumnInfo>
  118. <Column id="opdd" type="STRING" size="256"/>
  119. </ColumnInfo>
  120. <Rows>
  121. <Row/>
  122. </Rows>
  123. </Dataset>
  124. <Dataset id="ds_init_curerprescondlist_opcalendar" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  125. <ColumnInfo>
  126. <Column id="opdd" type="STRING" size="256"/>
  127. <Column id="count" type="STRING" size="256"/>
  128. </ColumnInfo>
  129. </Dataset>
  130. <Dataset id="ds_hidden_calendar" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  131. <ColumnInfo>
  132. <Column id="year" type="STRING" size="256"/>
  133. <Column id="month" type="STRING" size="256"/>
  134. </ColumnInfo>
  135. <Rows>
  136. <Row/>
  137. </Rows>
  138. </Dataset>
  139. <Dataset id="ds_hidden_grdcellcolor" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  140. <ColumnInfo>
  141. <Column id="calrow" type="STRING" size="256"/>
  142. <Column id="calcol" type="STRING" size="256"/>
  143. </ColumnInfo>
  144. <Rows>
  145. <Row/>
  146. </Rows>
  147. </Dataset>
  148. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  149. <ColumnInfo>
  150. <Column id="count" type="STRING" size="256"/>
  151. </ColumnInfo>
  152. <Rows>
  153. <Row/>
  154. </Rows>
  155. </Dataset>
  156. <Dataset id="ds_hidden_calendar_weeklist_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  157. <ColumnInfo>
  158. <Column id="sun" type="STRING" size="256"/>
  159. <Column id="mon" type="STRING" size="256"/>
  160. <Column id="tue" type="STRING" size="256"/>
  161. <Column id="wed" type="STRING" size="256"/>
  162. <Column id="thu" type="STRING" size="256"/>
  163. <Column id="fri" type="STRING" size="256"/>
  164. <Column id="sat" type="STRING" size="256"/>
  165. <Column id="sun_memo" type="STRING" size="256"/>
  166. <Column id="mon_memo" type="STRING" size="256"/>
  167. <Column id="tue_memo" type="STRING" size="256"/>
  168. <Column id="wed_memo" type="STRING" size="256"/>
  169. <Column id="thu_memo" type="STRING" size="256"/>
  170. <Column id="fri_memo" type="STRING" size="256"/>
  171. <Column id="sat_memo" type="STRING" size="256"/>
  172. <Column id="sun_dutflag" type="STRING" size="256"/>
  173. <Column id="mon_dutflag" type="STRING" size="256"/>
  174. <Column id="tue_dutflag" type="STRING" size="256"/>
  175. <Column id="wed_dutflag" type="STRING" size="256"/>
  176. <Column id="thu_dutflag" type="STRING" size="256"/>
  177. <Column id="fri_dutflag" type="STRING" size="256"/>
  178. <Column id="sat_dutflag" type="STRING" size="256"/>
  179. <Column id="sun_ampmflag" type="STRING" size="256"/>
  180. <Column id="mon_ampmflag" type="STRING" size="256"/>
  181. <Column id="tue_ampmflag" type="STRING" size="256"/>
  182. <Column id="wed_ampmflag" type="STRING" size="256"/>
  183. <Column id="thu_ampmflag" type="STRING" size="256"/>
  184. <Column id="fri_ampmflag" type="STRING" size="256"/>
  185. <Column id="sat_ampmflag" type="STRING" size="256"/>
  186. <Column id="sun_ordendresn" type="STRING" size="256"/>
  187. <Column id="mon_ordendresn" type="STRING" size="256"/>
  188. <Column id="tue_ordendresn" type="STRING" size="256"/>
  189. <Column id="wed_ordendresn" type="STRING" size="256"/>
  190. <Column id="thu_ordendresn" type="STRING" size="256"/>
  191. <Column id="fri_ordendresn" type="STRING" size="256"/>
  192. <Column id="sat_ordendresn" type="STRING" size="256"/>
  193. <Column id="sun_ordendresnmin" type="STRING" size="256"/>
  194. <Column id="mon_ordendresnmin" type="STRING" size="256"/>
  195. <Column id="tue_ordendresnmin" type="STRING" size="256"/>
  196. <Column id="wed_ordendresnmin" type="STRING" size="256"/>
  197. <Column id="thu_ordendresnmin" type="STRING" size="256"/>
  198. <Column id="fri_ordendresnmin" type="STRING" size="256"/>
  199. <Column id="sat_ordendresnmin" type="STRING" size="256"/>
  200. <Column id="sun_reglscheflag" type="STRING" size="256"/>
  201. <Column id="mon_reglscheflag" type="STRING" size="256"/>
  202. <Column id="tue_reglscheflag" type="STRING" size="256"/>
  203. <Column id="wed_reglscheflag" type="STRING" size="256"/>
  204. <Column id="thu_reglscheflag" type="STRING" size="256"/>
  205. <Column id="fri_reglscheflag" type="STRING" size="256"/>
  206. <Column id="sat_reglscheflag" type="STRING" size="256"/>
  207. </ColumnInfo>
  208. </Dataset>
  209. </Objects>
  210. <Bind>
  211. <BindItem id="item0" compid="grp_calendar.opt_month" propid="value" datasetid="ds_hidden_calendar" columnid="month"/>
  212. <BindItem id="item1" compid="grp_calendar.opt_year" propid="value" datasetid="ds_hidden_calendar" columnid="year"/>
  213. </Bind>
  214. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  215. * System Name :
  216. * Job Name :
  217. * Creator :
  218. * Make Date : 2015-11-13
  219. * Description :
  220. *---------------------------------------------------------------------------------------
  221. * Modify Date Modifier Modify Description
  222. *---------------------------------------------------------------------------------------
  223. * 2015-11-13 Live Converter TF->XP
  224. *
  225. *---------------------------------------------------------------------------------------
  226. ****************************************************************************************/
  227. //=======================================================================================
  228. // Lib Include
  229. //---------------------------------------------------------------------------------------
  230. include "com_commonxp::comm_main.xjs"
  231. include "ast_examcurexp::AEZ0001.xjs"
  232. //=======================================================================================
  233. // Global Form Variable
  234. //---------------------------------------------------------------------------------------
  235. var arErrorCode = new HashArray();
  236. var gSuppdeptcd = "";
  237. var dayArr = ["sun","mon","tue","wed","thu","fri","sat"];
  238. var dayMemoArr = ["sun_memo","mon_memo","tue_memo","wed_memo","thu_memo","fri_memo","sat_memo"];
  239. //=======================================================================================
  240. // Function
  241. //---------------------------------------------------------------------------------------
  242. /****************************************************************************************
  243. * Argument : N/A
  244. * Description : 달력 초기화
  245. ****************************************************************************************/
  246. function initCalendar() {
  247. lf_aezfSetSuppDeptcd(); //AEZ0001.xjs
  248. gSuppdeptcd = frmf_getParameter("AST_DEPTCD");
  249. var curDate = utlf_getCurrentDate().toDate();
  250. ds_hidden_calendar.setColumn(0,"year" , curDate.getDateFormat("YYYY"));
  251. ds_hidden_calendar.setColumn(0,"month", curDate.getDateFormat("MM"));
  252. setCalendar(curDate);
  253. }
  254. /****************************************************************************************
  255. * Argument : N/A
  256. * Description : 달력세팅
  257. ****************************************************************************************/
  258. function setCalendar(dateObj) {
  259. // 그리드 초기화
  260. ds_hidden_calendar_weeklist_list.clearData();
  261. dateObj.setDate(1);
  262. var startDay = dateObj.getDay();
  263. var days = dateObj.getMonthDay();
  264. var rows = Math.ceil( ( startDay + days ) / 7 );
  265. for( var i = 0; i < rows; i++ )
  266. ds_hidden_calendar_weeklist_list.addRow();
  267. var rowIndex = 0;
  268. var colIndex = startDay;
  269. var toRIndex = 0;
  270. var toCIndex = 0;
  271. for( var i = 1; i <= days; i++ ) {
  272. ds_hidden_calendar_weeklist_list.setColumn(rowIndex,dayArr[colIndex%7],i);
  273. // ds_hidden_calendar_weeklist_list.setColumn(rowIndex,dayMemoArr[colIndex%7],"0/0");
  274. if(i == parseInt(utlf_getCurrentDate().substr(6,2))) {
  275. toRIndex = rowIndex;
  276. toCIndex = colIndex;
  277. }
  278. colIndex++;
  279. if( colIndex == 7 ) {
  280. colIndex = 0;
  281. rowIndex++;
  282. }
  283. }
  284. ds_hidden_calendar_weeklist_list.rowposition = toRIndex;
  285. grp_calendar.grd_calendar.setCellPos(toCIndex);
  286. // fCalendar();
  287. setRsrvPresCondByMonth();
  288. }
  289. /* @group : 접수관리(기능검사)
  290. * @ver : 2007.08.10
  291. * @by : 임헤정
  292. * @-----------------------------------
  293. * @type : function
  294. * @access : public
  295. * @desc : 오늘날짜 달력에 표시
  296. */
  297. function setCurrentDate() {
  298. var curDate = getCurrentDate().substr(6,2); //오늘날짜
  299. var curWeek = getCurrentDate().toDate().getDayOfWeek("E").toLowerCase(); //오늘요일
  300. if(curDate <10) {
  301. curDate= curDate.substr(1,1);
  302. }
  303. if(curWeek == "sun")
  304. model.setValue("/root/hidden/grdcellcolor/calcol",0);
  305. if(curWeek == "mon")
  306. model.setValue("/root/hidden/grdcellcolor/calcol",1);
  307. if(curWeek == "tue")
  308. model.setValue("/root/hidden/grdcellcolor/calcol",2);
  309. if(curWeek == "wed")
  310. model.setValue("/root/hidden/grdcellcolor/calcol",3);
  311. if(curWeek == "thu")
  312. model.setValue("/root/hidden/grdcellcolor/calcol",4);
  313. if(curWeek == "fri")
  314. model.setValue("/root/hidden/grdcellcolor/calcol",5);
  315. if(curWeek == "sat")
  316. model.setValue("/root/hidden/grdcellcolor/calcol",6);
  317. for(var i = 0 ; i <grd_calendar.rows; i++ ) {
  318. if(model.getValue("/root/hidden/calendar/weeklist/list["+i+"]/"+curWeek) == curDate ) {
  319. model.setValue("/root/hidden/grdcellcolor/calrow",i);
  320. }
  321. }
  322. setCellColor(grd_calendar)
  323. }
  324. function setCellColor(gridObj) {
  325. var calRow = 0;
  326. var calCol = 0;
  327. calRow = Number(model.getValue("/root/hidden/grdcellcolor/calrow"));
  328. calCol = Number(model.getValue("/root/hidden/grdcellcolor/calcol"));
  329. gridObj.rebuildStyle();
  330. gridObj.cellStyle("background-color", calRow, calCol) = "#daa7d9";
  331. if( calCol < 7 )
  332. calCol += 7;
  333. else
  334. calCol -= 7;
  335. gridObj.cellStyle("background-color", calRow, calCol) = "#daa7d9";
  336. }
  337. /****************************************************************************************
  338. * Argument : N/A
  339. * Description : 달력에 일자별로 일정현황을 보여준다.
  340. ****************************************************************************************/
  341. function setRsrvPresCondByMonth() {
  342. dsf_createDsRow("ds_reqparam", [
  343. {col:"basesuppdeptcd", type:"STRING", size:256, val:ds_send.getColumn(0,"opdd")}
  344. , {col:"suppdeptcd", type:"STRING", size:256, val:gSuppdeptcd}
  345. ]);
  346. var oParam = {};
  347. oParam.id = "TRAEA02404";
  348. oParam.service = "examcurebaseapp.AngioSche";
  349. oParam.method = "reqGetAngioScheCountList";
  350. oParam.inds = "reqparam=ds_reqparam";
  351. oParam.outds = "ds_init_curerprescondlist_opcalendar=opcalendar";
  352. oParam.async = false;
  353. //oParam.callback = "cf_TRAEA02404";
  354. tranf_submit(oParam);
  355. var isMonth = ds_hidden_calendar.getColumn(0,"month");
  356. var isYear = ds_hidden_calendar.getColumn(0,"year");
  357. var isDate = (isYear+isMonth+1).toDate();
  358. var startDay = isDate.getDay();
  359. for (var i = 0; i < ds_init_curerprescondlist_opcalendar.rowcount; i++) {
  360. var dd = ds_init_curerprescondlist_opcalendar.getColumn(i,"opdd");
  361. var _year = dd.substr(0, 4);
  362. var _month = dd.substr(4, 2);
  363. if ( _year != isYear || _month != isMonth)
  364. continue;
  365. var colidx = dd.toDate().getDay();
  366. var rowidx = Math.ceil( ( startDay + Number(dd.substr(6,2)) ) / 7 ) - 1;
  367. // ds_hidden_calendar_weeklist_list.setColumn(rowidx, dayMemoArr[colidx%7], ds_init_curerprescondlist_rsrvcalendar.getColumn(i,"count") + "/" + ds_init_curerprescondlist_rsrvcalendar.getColumn(i,"max")) ;
  368. // grd_calendar.valueMatrix(rowidx, colidx+7) = "일정: " + model.getValue("/root/init/curerprescondlist/opcalendar[" + i + "]/count");
  369. ds_hidden_calendar_weeklist_list.setColumn(rowidx, dayMemoArr[colidx%7], "일정: " + ds_init_curerprescondlist_opcalendar.getColumn(i,"count"));
  370. }
  371. }
  372. /****************************************************************************************
  373. * Argument : gridObj - 달력그리드 ID
  374. * Description : 달력에서 선택한 날짜에 대한 Angio 검사현황 조회
  375. ****************************************************************************************/
  376. function getAngioSche(gridObj) {
  377. var calRow = ds_hidden_grdcellcolor.getColumn(0,"calrow");
  378. var calCol = ds_hidden_grdcellcolor.getColumn(0,"calcol");
  379. if( calCol >= 7 )
  380. calCol -= 7;
  381. var yyyy = ds_hidden_calendar.getColumn(0,"year");
  382. var mm = ds_hidden_calendar.getColumn(0,"month");
  383. var dd = ds_hidden_calendar_weeklist_list.getColumn(parseInt(calRow), parseInt(calCol));
  384. if (utlf_getStringLength(dd) == 1) {
  385. dd = "0" + dd;
  386. }
  387. ds_send.setColumn(0,"opdd", yyyy + mm + dd);
  388. dsf_makeValue(ds_send,"frdt","string",ds_send.getColumn(0,"opdd"));
  389. var objArg = new Object();
  390. objArg.arg_ds_send = ds_send;
  391. frmf_open("SMAEA02400", "SMAEA02400", objArg, null, 50, 50, null, null, null, null, null, null, "M");
  392. }
  393. /****************************************************************************************
  394. * Argument : gridObj - 달력그리드 ID
  395. * Description : 달력에서 선택한 날짜에 대한 Angio 일정 등록
  396. ****************************************************************************************/
  397. function insAngioSche(gridObj) {
  398. var calRow = ds_hidden_grdcellcolor.getColumn(0,"calrow");
  399. var calCol = ds_hidden_grdcellcolor.getColumn(0,"calcol");
  400. if( calCol >= 7 )
  401. calCol -= 7;
  402. var yyyy = ds_hidden_calendar.getColumn(0,"year");
  403. var mm = ds_hidden_calendar.getColumn(0,"month");
  404. var dd = ds_hidden_calendar_weeklist_list.getColumn(parseInt(calRow), parseInt(calCol));
  405. if (utlf_getStringLength(dd) == 1) {
  406. dd = "0" + dd;
  407. }
  408. ds_send.setColumn(0,"opdd", yyyy + mm + dd);
  409. var objArg = new Object();
  410. objArg.arg_ds_send_data = ds_send;
  411. frmf_open("SPAEA00400", "SPAEA00400", objArg, null, 300, 250, null, null, null, null, null, null, "M");
  412. }
  413. //=======================================================================================
  414. // Event
  415. //---------------------------------------------------------------------------------------
  416. /****************************************************************************************
  417. * Components : Form
  418. * Components ID : SPAEA00300
  419. * Event : oninit
  420. * Argument : 01.obj : Object Event has occurred
  421. * : 02.e : Event Object
  422. * Description : 화면 처음 초기화시 폼초기화
  423. ****************************************************************************************/
  424. function SPAEA00300_oninit(obj:Form, e:InitEventInfo)
  425. {
  426. frmf_initForm(obj); // 폼 초기화
  427. }
  428. /****************************************************************************************
  429. * Components : Form
  430. * Components ID : SPAEA00300
  431. * Event : onload
  432. * Argument : 01.obj : Object Event has occurred
  433. * : 02.e : Event Object
  434. * Description : 화면 처음 초기화시 폼초기화
  435. ****************************************************************************************/
  436. function SPAEA00300_onload(obj:Form, e:LoadEventInfo)
  437. {
  438. initCalendar();
  439. // setCurrentDate();
  440. //20101011 해당근무지에 따라 타이틀 변경 - 박재영
  441. var dutplcenm = sysf_getUserInfo("dutplcenm");
  442. this.titletext = dutplcenm + " 수술일정조회";
  443. caption1.text = dutplcenm + " 수술일정조회";
  444. }
  445. /****************************************************************************************
  446. * Components : Button
  447. * Components ID : grp_calendar.btn_preyear
  448. * Event : onclick
  449. * Argument : 01.obj : Object Event has occurred
  450. * : 02.e : Event Object
  451. * Description : 전년 변경
  452. ****************************************************************************************/
  453. function grp_calendar_btn_preyear_onclick(obj:Button, e:ClickEventInfo)
  454. {
  455. var isMonth = ds_hidden_calendar.getColumn(0,"month");
  456. var isYear = ds_hidden_calendar.getColumn(0,"year");
  457. var isDate = (isYear+isMonth+1).toDate().getAddDate(-1,'Y');
  458. ds_hidden_calendar.setColumn(0,"year", isDate.getDateFormat("YYYY"));
  459. ds_hidden_calendar.setColumn(0,"month", isDate.getDateFormat("MM"));
  460. setCalendar(isDate);
  461. }
  462. /****************************************************************************************
  463. * Components : Button
  464. * Components ID : grp_calendar.btn_premonth
  465. * Event : onclick
  466. * Argument : 01.obj : Object Event has occurred
  467. * : 02.e : Event Object
  468. * Description : 전월 변경
  469. ****************************************************************************************/
  470. function grp_calendar_btn_premonth_onclick(obj:Button, e:ClickEventInfo)
  471. {
  472. var isMonth = ds_hidden_calendar.getColumn(0,"month");
  473. var isYear = ds_hidden_calendar.getColumn(0,"year");
  474. var isDate = (isYear+isMonth+1).toDate().getAddDate(-1,'M');
  475. ds_hidden_calendar.setColumn(0,"year", isDate.getDateFormat("YYYY"));
  476. ds_hidden_calendar.setColumn(0,"month", isDate.getDateFormat("MM"));
  477. setCalendar(isDate);
  478. }
  479. /****************************************************************************************
  480. * Components : Button
  481. * Components ID : grp_calendar.btn_nextmonth
  482. * Event : onclick
  483. * Argument : 01.obj : Object Event has occurred
  484. * : 02.e : Event Object
  485. * Description : 후월 변경
  486. ****************************************************************************************/
  487. function grp_calendar_btn_nextmonth_onclick(obj:Button, e:ClickEventInfo)
  488. {
  489. var isMonth = ds_hidden_calendar.getColumn(0,"month");
  490. var isYear = ds_hidden_calendar.getColumn(0,"year");
  491. var isDate = (isYear+isMonth+1).toDate().getAddDate(1,'M');
  492. ds_hidden_calendar.setColumn(0,"year", isDate.getDateFormat("YYYY"));
  493. ds_hidden_calendar.setColumn(0,"month", isDate.getDateFormat("MM"));
  494. setCalendar(isDate);
  495. }
  496. /****************************************************************************************
  497. * Components : Button
  498. * Components ID : grp_calendar.btn_nextyear
  499. * Event : onclick
  500. * Argument : 01.obj : Object Event has occurred
  501. * : 02.e : Event Object
  502. * Description : 후년 변경
  503. ****************************************************************************************/
  504. function grp_calendar_btn_nextyear_onclick(obj:Button, e:ClickEventInfo)
  505. {
  506. var isMonth = ds_hidden_calendar.getColumn(0,"month");
  507. var isYear = ds_hidden_calendar.getColumn(0,"year");
  508. var isDate = (isYear+isMonth+1).toDate().getAddDate(1,'Y');
  509. ds_hidden_calendar.setColumn(0,"year", isDate.getDateFormat("YYYY"));
  510. ds_hidden_calendar.setColumn(0,"month", isDate.getDateFormat("MM"));
  511. setCalendar(isDate);
  512. }
  513. /****************************************************************************************
  514. * Components : Grid
  515. * Components ID : grp_calendar.grd_calendar
  516. * Event : onlbuttonup
  517. * Argument : 01.obj : Object Event has occurred
  518. * : 02.e : Event Object
  519. * Description : 일정선택
  520. ****************************************************************************************/
  521. function grp_calendar_grd_calendar_onlbuttonup(obj:Grid, e:GridMouseEventInfo)
  522. {
  523. ds_hidden_grdcellcolor.setColumn(0,"calrow",e.row);
  524. ds_hidden_grdcellcolor.setColumn(0,"calcol",e.col);
  525. // setCellColor(obj);
  526. getAngioSche(obj);
  527. }
  528. /****************************************************************************************
  529. * Components : Button
  530. * Components ID : grp_btn.button91
  531. * Event : onclick
  532. * Argument : 01.obj : Object Event has occurred
  533. * : 02.e : Event Object
  534. * Description : 일정등록
  535. ****************************************************************************************/
  536. function grp_btn_button91_onclick(obj:Button, e:ClickEventInfo)
  537. {
  538. insAngioSche(grp_calendar.grd_calendar);
  539. }
  540. /****************************************************************************************
  541. * Components : Button
  542. * Components ID : grp_btn.button2
  543. * Event : onclick
  544. * Argument : 01.obj : Object Event has occurred
  545. * : 02.e : Event Object
  546. * Description : 닫기
  547. ****************************************************************************************/
  548. function grp_btn_button2_onclick(obj:Button, e:ClickEventInfo)
  549. {
  550. this.close();
  551. }
  552. ]]></Script>
  553. </Form>
  554. </FDL>