SPMMO30000_EDC스케줄관리.xfdl 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPMMO30000" position="absolute 0 0 1036 851" titletext="EDCIS Schedule 당직관리" onload="SPMMO30000_onload" oninit="SPMMO30000_oninit" onbeforeclose="SPMMO30000_onbeforeclose">
  5. <Layouts>
  6. <Layout>
  7. <Shape id="roundrect3" type="roundrectangle" class="roundrect_example" position="absolute 332 790 1035 851"/>
  8. <Static id="cpt_grpmtitle" text="중증분류명" class="tit_2" visible="false" position="absolute 1 110 171 131"/>
  9. <Static id="caption3" text="◈ 당직대상자가 근무자관리에 연락처가 등록되어 있어야 당직스케줄을 입력하실 수 있습니다." position="absolute 340 801 876 816"/>
  10. <Div id="group2" taborder="1" position="absolute 299 726 319 731">
  11. <Layouts>
  12. <Layout>
  13. <Grid id="grd_grpmaster" taborder="0" binddataset="ds_main_grpmasterinfolist" useinputpanel="false" visible="false" position="absolute 0 0 329 117">
  14. <Formats>
  15. <Format id="default">
  16. <Columns>
  17. <Column size="326"/>
  18. <Column size="0"/>
  19. <Column size="0"/>
  20. <Column size="0"/>
  21. </Columns>
  22. <Rows>
  23. <Row size="24" band="head"/>
  24. <Row size="24"/>
  25. </Rows>
  26. <Band id="head">
  27. <Cell text="중증분류"/>
  28. <Cell col="1" text="grtype"/>
  29. <Cell col="2" text="staffid"/>
  30. <Cell col="3" text="orddeptcd"/>
  31. </Band>
  32. <Band id="body">
  33. <Cell text="bind:shownm"/>
  34. <Cell col="1" text="bind:grtype"/>
  35. <Cell col="2" text="bind:staffid"/>
  36. <Cell col="3" text="bind:orddeptcd"/>
  37. </Band>
  38. </Format>
  39. </Formats>
  40. </Grid>
  41. </Layout>
  42. </Layouts>
  43. </Div>
  44. <Shape id="line2" linetype="vertical" class="line_1" position="absolute 1 215 330 221"/>
  45. <Div id="group4" taborder="3" class="div_SA" position="absolute 0 24 330 105">
  46. <Layouts>
  47. <Layout>
  48. <Button id="btn_search" taborder="3" text="조회" class="btn1" position="absolute 265 19 321 41" onclick="group4_btn_search_onclick"/>
  49. <Shape id="line13" linetype="vertical" class="line_4" position="absolute 255 9 261 74"/>
  50. <Static id="caption4" text="당직월 :" class="search_name" position="absolute 5 9 64 26"/>
  51. <Static id="caption1" text="진료과 :" class="search_name" position="absolute 5 32 96 49"/>
  52. <Combo id="cmb_orddeptcd" taborder="5" innerdataset="@ds_init_deptlist" codecolumn="deptcd" datacolumn="depthngnm" position="absolute 66 32 251 51" onitemchanged="group4_cmb_orddeptcd_onitemchanged"/>
  53. <Button id="btn_bfyear" taborder="6" class="icon_pre_year" position="absolute 66 10 82 26" onclick="group4_btn_arrow_onclick"/>
  54. <Button id="btn_bfmonth" taborder="7" class="icon_pre_month" position="absolute 84 10 100 26" onclick="group4_btn_arrow_onclick"/>
  55. <Button id="btn_afmonth" taborder="8" class="icon_next_month" position="absolute 217 10 233 26" onclick="group4_btn_arrow_onclick"/>
  56. <Button id="btn_afyear" taborder="9" class="icon_next_year" position="absolute 235 10 251 26" onclick="group4_btn_arrow_onclick"/>
  57. <Static id="caption13" text="PART :" class="search_name" position="absolute 5 56 102 73"/>
  58. <Combo id="cmb_partinfo" taborder="10" innerdataset="@ds_init_deptpartinfo_partlist" codecolumn="partcd" datacolumn="partnm" position="absolute 66 55 251 74" onitemchanged="group4_cmb_partinfo_onitemchanged"/>
  59. <Calendar id="ipt_srchdd" taborder="11" autoselect="true" dateformat="yyyy-MM-dd" position="absolute 106 8 213 28" style="align:center middle;" onchanged="group4_ipt_srchdd_onchanged"/>
  60. </Layout>
  61. </Layouts>
  62. </Div>
  63. <Static id="caption2" text="상 세 정 보" class="tit_2" position="absolute 1 726 112 747"/>
  64. <Shape id="sha_state" type="roundrectangle" position="absolute 1 747 330 851"/>
  65. <Shape id="line1" linetype="horizontal" class="line_1" position="absolute 1 742 329 748" style="strokepen:3 solid #9ebed4ff;"/>
  66. <Static id="op_usernm" text="김달현" position="absolute 10 759 150 796" style="border:1 solid #c0c0c0ff ;color:#333399ff;align:center middle;font:Dotum,21;"/>
  67. <Static id="op_userid" text="00000000" position="absolute 160 759 315 796" style="border:1 solid #c0c0c0ff ;color:#333399ff;align:center middle;font:Dotum,21;"/>
  68. <Static id="op_mp" text="000-0000-0000" position="absolute 10 806 230 840" style="border:1 solid #c0c0c0ff ;color:#333399ff;align:center middle;font:Dotum,21;"/>
  69. <Static id="op_bp" text="0000" position="absolute 240 806 315 840" style="border:1 solid #c0c0c0ff ;color:#333399ff;align:center middle;font:Dotum,21;"/>
  70. <Grid id="grd_drlist" taborder="4" binddataset="ds_main_drinfolist" useinputpanel="false" position="absolute 0 128 330 666" autofittype="col" onlbuttonup="grd_drlist_onlbuttonup">
  71. <Formats>
  72. <Format id="default">
  73. <Columns>
  74. <Column size="312"/>
  75. <Column size="0"/>
  76. <Column size="0"/>
  77. <Column size="0"/>
  78. <Column size="0"/>
  79. <Column size="0"/>
  80. </Columns>
  81. <Rows>
  82. <Row size="24" band="head"/>
  83. <Row size="24"/>
  84. </Rows>
  85. <Band id="head">
  86. <Cell text="의사 Call 대상자"/>
  87. <Cell col="1" text="userid"/>
  88. <Cell col="2" text="userdeptcd"/>
  89. <Cell col="3" text="phone"/>
  90. <Cell col="4" text="bbtel"/>
  91. <Cell col="5" text="saveyn"/>
  92. </Band>
  93. <Band id="body">
  94. <Cell style="selectbackground:#7fef0fff;" text="bind:drnm"/>
  95. <Cell col="1" text="bind:drid"/>
  96. <Cell col="2" text="bind:deptcd"/>
  97. <Cell col="3" text="bind:phone"/>
  98. <Cell col="4" text="bind:bbtel"/>
  99. <Cell col="5" text="bind:saveyn"/>
  100. </Band>
  101. </Format>
  102. </Formats>
  103. </Grid>
  104. <Static id="caption12" visible="false" position="absolute 985 821 1000 836" style="background:#b7daffff;"/>
  105. <Static id="caption15" visible="false" position="absolute 1015 821 1030 836" style="background:#b7f9aaff;"/>
  106. <Static id="caption18" text="추가선택 대상자" position="absolute 360 820 455 840"/>
  107. <Static id="caption7" text="등록할 대상자" position="absolute 480 820 560 840"/>
  108. <Static id="caption10" text="기준시간" class="cell_1" position="absolute 0 695 115 718"/>
  109. <Static id="caption11" text="~" position="absolute 221 697 238 717"/>
  110. <MaskEdit id="op_fromtm" taborder="5" mask="@@:@@" enable="false" position="absolute 120 697 214 716" type="string" style=":disabled {align:center middle;}"/>
  111. <MaskEdit id="op_totm" taborder="6" mask="@@:@@" enable="false" position="absolute 235 697 329 716" style=":disabled {align:center middle;}" type="string"/>
  112. <Static id="caption8" text="기 준 시 간" class="tit_2" position="absolute 0 674 111 695"/>
  113. <Static id="caption9" text="의사 Call 대상자" class="tit_2" position="absolute 1 110 135 131"/>
  114. <Static id="caption6" text="응급 의사 CallVisit Schedule 등록" class="tit_1" position="absolute 0 0 258 25"/>
  115. <Shape id="line4" class="line_1" position="absolute 0 690 329 696" style="strokepen:3 solid #9ebed4ff;"/>
  116. <Static id="caption17" position="absolute 340 822 355 837" style="background:#f4a6eeff;border:1 solid #000000ff ;"/>
  117. <Static id="caption5" position="absolute 460 822 475 837" style="background:#7fef0fff;border:1 solid #000000ff ;"/>
  118. <Static id="cpt_worktitle" text="의사 Call 리스트" class="tit_2" position="absolute 334 24 565 46"/>
  119. <Edit id="op_staffid" taborder="7" readonly="true" visible="false" position="absolute 540 21 675 40"/>
  120. <Grid id="grd_workerlist" taborder="8" binddataset="ds_main_workerinfolist" useinputpanel="false" position="absolute 332 42 1034 781" autofittype="col" onlbuttonup="grd_workerlist_onlbuttonup" onkeyup="grd_workerlist_onkeyup" onrbuttondown="grd_workerlist_onrbuttondown" autoenter="select" selecttype="multiarea">
  121. <Formats>
  122. <Format id="default">
  123. <Columns>
  124. <Column size="155"/>
  125. <Column size="0"/>
  126. <Column size="135"/>
  127. <Column size="135"/>
  128. <Column size="135"/>
  129. <Column size="135"/>
  130. <Column size="0"/>
  131. <Column size="0"/>
  132. <Column size="0"/>
  133. <Column size="0"/>
  134. <Column size="0"/>
  135. <Column size="0"/>
  136. <Column size="0"/>
  137. <Column size="0"/>
  138. <Column size="0"/>
  139. <Column size="0"/>
  140. <Column size="0"/>
  141. <Column size="0"/>
  142. <Column size="0"/>
  143. <Column size="0"/>
  144. <Column size="0"/>
  145. <Column size="0"/>
  146. <Column size="0"/>
  147. <Column size="0"/>
  148. <Column size="0"/>
  149. <Column size="0"/>
  150. <Column size="0"/>
  151. </Columns>
  152. <Rows>
  153. <Row size="24" band="head"/>
  154. <Row size="24"/>
  155. </Rows>
  156. <Band id="head">
  157. <Cell text="일자"/>
  158. <Cell col="1" text="part"/>
  159. <Cell col="2" text="1"/>
  160. <Cell col="3" text="2"/>
  161. <Cell col="4" text="3"/>
  162. <Cell col="5" text="스탭"/>
  163. <Cell col="6" text="5"/>
  164. <Cell col="7" text="6"/>
  165. <Cell col="8" text="7"/>
  166. <Cell col="9" text="8"/>
  167. <Cell col="10" text="9"/>
  168. <Cell col="11" text="10"/>
  169. <Cell col="12" text="fromdd"/>
  170. <Cell col="13" text="todd"/>
  171. <Cell col="14" text="grtype"/>
  172. <Cell col="15" text="orddeptcd"/>
  173. <Cell col="16" text="staffid"/>
  174. <Cell col="17" text="drid1"/>
  175. <Cell col="18" text="drid2"/>
  176. <Cell col="19" text="drid3"/>
  177. <Cell col="20" text="drid4"/>
  178. <Cell col="21" text="drid5"/>
  179. <Cell col="22" text="drid6"/>
  180. <Cell col="23" text="drid7"/>
  181. <Cell col="24" text="drid8"/>
  182. <Cell col="25" text="drid9"/>
  183. <Cell col="26" text="drid10"/>
  184. </Band>
  185. <Band id="body">
  186. <Cell displaytype="date" style="background:#ffffffff;background2:#ffffffff;" text="bind:workdd"/>
  187. <Cell col="1" style="background:#ffffffff;background2:#ffffffff;" text="bind:deptdetlflag"/>
  188. <Cell col="2" style="background:EXPR(getColumn(currow,'selyn1')=='Y'?&quot;#F4A6EE&quot;:&quot;#FFFFFF&quot;);background2:EXPR(getColumn(currow,'selyn1')=='Y'?&quot;#F4A6EE&quot;:&quot;#FFFFFF&quot;);" text="bind:drnm1"/>
  189. <Cell col="3" style="background:EXPR(getColumn(currow,'selyn2')=='Y'?&quot;#F4A6EE&quot;:&quot;#FFFFFF&quot;);background2:EXPR(getColumn(currow,'selyn2')=='Y'?&quot;#F4A6EE&quot;:&quot;#FFFFFF&quot;);" text="bind:drnm2"/>
  190. <Cell col="4" style="background:EXPR(getColumn(currow,'selyn3')=='Y'?&quot;#F4A6EE&quot;:&quot;#FFFFFF&quot;);background2:EXPR(getColumn(currow,'selyn3')=='Y'?&quot;#F4A6EE&quot;:&quot;#FFFFFF&quot;);" text="bind:drnm3"/>
  191. <Cell col="5" style="background:EXPR(getColumn(currow,'selyn4')=='Y'?&quot;#F4A6EE&quot;:&quot;#FFFFFF&quot;);background2:EXPR(getColumn(currow,'selyn4')=='Y'?&quot;#F4A6EE&quot;:&quot;#FFFFFF&quot;);" text="bind:drnm4"/>
  192. <Cell col="6" text="bind:drnm5"/>
  193. <Cell col="7" text="bind:drnm6"/>
  194. <Cell col="8" text="bind:drnm7"/>
  195. <Cell col="9" text="bind:drnm8"/>
  196. <Cell col="10" text="bind:drnm9"/>
  197. <Cell col="11" text="bind:drnm10"/>
  198. <Cell col="12" text="bind:fromdd"/>
  199. <Cell col="13" text="bind:todd"/>
  200. <Cell col="14" text="bind:grtype"/>
  201. <Cell col="15" text="bind:orddeptcd"/>
  202. <Cell col="16" text="bind:staffid"/>
  203. <Cell col="17" text="bind:drid1"/>
  204. <Cell col="18" text="bind:drid2"/>
  205. <Cell col="19" text="bind:drid3"/>
  206. <Cell col="20" text="bind:drid4"/>
  207. <Cell col="21" text="bind:drid5"/>
  208. <Cell col="22" text="bind:drid6"/>
  209. <Cell col="23" text="bind:drid7"/>
  210. <Cell col="24" text="bind:drid8"/>
  211. <Cell col="25" text="bind:drid9"/>
  212. <Cell col="26" text="bind:drid10"/>
  213. </Band>
  214. </Format>
  215. </Formats>
  216. </Grid>
  217. <Button id="button42" taborder="9" text="저장" class="btn4" position="absolute 978 19 1034 41" onclick="button42_onclick"/>
  218. </Layout>
  219. </Layouts>
  220. <Objects>
  221. <Dataset id="ds_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  222. <ColumnInfo>
  223. <Column id="srchym" type="STRING" size="256"/>
  224. <Column id="srchdd" type="STRING" size="256"/>
  225. <Column id="orddeptcd" type="STRING" size="256"/>
  226. <Column id="deptpartinfo" type="STRING" size="256"/>
  227. </ColumnInfo>
  228. <Rows>
  229. <Row/>
  230. </Rows>
  231. </Dataset>
  232. <Dataset id="ds_init_deptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  233. <Dataset id="ds_main_titleinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  234. <ColumnInfo>
  235. <Column id="worktitle" type="STRING" size="256"/>
  236. <Column id="grpmtitle" type="STRING" size="256"/>
  237. <Column id="staffnm" type="STRING" size="256"/>
  238. <Column id="staffid" type="STRING" size="256"/>
  239. <Column id="fromtm" type="STRING" size="256"/>
  240. <Column id="totm" type="STRING" size="256"/>
  241. </ColumnInfo>
  242. </Dataset>
  243. <Dataset id="ds_init_deptpartinfo_partlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  244. <Dataset id="ds_main_drdetlinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  245. <ColumnInfo>
  246. <Column id="drnm" type="STRING" size="256"/>
  247. <Column id="drid" type="STRING" size="256"/>
  248. <Column id="deptcd" type="STRING" size="256"/>
  249. <Column id="phone" type="STRING" size="256"/>
  250. <Column id="bbtel" type="STRING" size="256"/>
  251. </ColumnInfo>
  252. </Dataset>
  253. <Dataset id="ds_main_workerinfolist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  254. <ColumnInfo>
  255. <Column id="workdd" type="STRING" size="256" sumtext="당직일자"/>
  256. <Column id="deptdetlflag" type="STRING" size="256" sumtext="부서상세구분"/>
  257. <Column id="drid1" type="STRING" size="256" sumtext="당직의사id1"/>
  258. <Column id="drid2" type="STRING" size="256" sumtext="당직의사id2"/>
  259. <Column id="drid3" type="STRING" size="256" sumtext="당직의사id3"/>
  260. <Column id="drid4" type="STRING" size="256" sumtext="당직의사id4"/>
  261. <Column id="drid5" type="STRING" size="256" sumtext="당직의사id5"/>
  262. <Column id="drid6" type="STRING" size="256" sumtext="당직의사id6"/>
  263. <Column id="drid7" type="STRING" size="256" sumtext="당직의사id7"/>
  264. <Column id="drid8" type="STRING" size="256" sumtext="당직의사id8"/>
  265. <Column id="drid9" type="STRING" size="256" sumtext="당직의사id9"/>
  266. <Column id="drid10" type="STRING" size="256" sumtext="당직의사id10"/>
  267. <Column id="fromdd" type="STRING" size="256" sumtext="당직시작일시"/>
  268. <Column id="todd" type="STRING" size="256" sumtext="당직종료일시"/>
  269. <Column id="grtype" type="STRING" size="256" sumtext="중증분류"/>
  270. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과"/>
  271. <Column id="staffid" type="STRING" size="256" sumtext="스탭아이디"/>
  272. <Column id="drnm1" type="STRING" size="256" sumtext="당직의사명1"/>
  273. <Column id="drnm2" type="STRING" size="256" sumtext="당직의사명2"/>
  274. <Column id="drnm3" type="STRING" size="256" sumtext="당직의사명3"/>
  275. <Column id="drnm4" type="STRING" size="256" sumtext="당직의사명4"/>
  276. <Column id="drnm5" type="STRING" size="256" sumtext="당직의사명5"/>
  277. <Column id="drnm6" type="STRING" size="256" sumtext="당직의사명6"/>
  278. <Column id="drnm7" type="STRING" size="256" sumtext="당직의사명7"/>
  279. <Column id="drnm8" type="STRING" size="256" sumtext="당직의사명8"/>
  280. <Column id="drnm9" type="STRING" size="256" sumtext="당직의사명9"/>
  281. <Column id="drnm10" type="STRING" size="256" sumtext="당직의사명10"/>
  282. </ColumnInfo>
  283. </Dataset>
  284. <Dataset id="ds_main_drinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  285. <ColumnInfo>
  286. <Column id="drnm" type="STRING" size="256" sumtext="당직대상자명"/>
  287. <Column id="drid" type="STRING" size="256" sumtext="당직대상자코드"/>
  288. <Column id="deptcd" type="STRING" size="256" sumtext="당직대상자부서코드"/>
  289. <Column id="phone" type="STRING" size="256" sumtext="핸드폰번호"/>
  290. <Column id="bbtel" type="STRING" size="256" sumtext="beeper"/>
  291. <Column id="saveyn" type="STRING" size="256" sumtext="근무자저장여부"/>
  292. <Column id="mespclyn" type="STRING" size="256" sumtext="주치의 여부 "/>
  293. </ColumnInfo>
  294. </Dataset>
  295. <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  296. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  297. <Dataset id="ds_code_codelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  298. <Dataset id="ds_orgscheinfo_workerinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  299. <Dataset id="ds_main_grpmasterinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  300. <ColumnInfo>
  301. <Column id="shownm" type="STRING" size="256"/>
  302. <Column id="grtype" type="STRING" size="256"/>
  303. <Column id="staffid" type="STRING" size="256"/>
  304. <Column id="orddeptcd" type="STRING" size="256"/>
  305. </ColumnInfo>
  306. </Dataset>
  307. </Objects>
  308. <Bind>
  309. <BindItem id="item1" compid="group4.cmb_orddeptcd" propid="value" datasetid="ds_cond" columnid="orddeptcd"/>
  310. <BindItem id="item2" compid="group4.cmb_partinfo" propid="value" datasetid="ds_cond" columnid="deptpartinfo"/>
  311. <BindItem id="item3" compid="op_fromtm" propid="value" datasetid="ds_main_titleinfo" columnid="fromtm"/>
  312. <BindItem id="item4" compid="op_totm" propid="value" datasetid="ds_main_titleinfo" columnid="totm"/>
  313. <BindItem id="item5" compid="op_usernm" propid="text" datasetid="ds_main_drdetlinfo" columnid="drnm"/>
  314. <BindItem id="item6" compid="op_userid" propid="text" datasetid="ds_main_drdetlinfo" columnid="drid"/>
  315. <BindItem id="item7" compid="op_mp" propid="text" datasetid="ds_main_drdetlinfo" columnid="phone"/>
  316. <BindItem id="item8" compid="op_bp" propid="text" datasetid="ds_main_drdetlinfo" columnid="bbtel"/>
  317. <BindItem id="item9" compid="op_staffid" propid="value" datasetid="ds_main_titleinfo" columnid="staffid"/>
  318. <BindItem id="item10" compid="group4.ipt_srchdd" propid="value" datasetid="ds_cond" columnid="srchdd"/>
  319. </Bind>
  320. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  321. * System Name :
  322. * Job Name :
  323. * Creator :
  324. * Make Date : 2015-01-21
  325. * Description :
  326. *---------------------------------------------------------------------------------------
  327. * Modify Date Modifier Modify Description
  328. *---------------------------------------------------------------------------------------
  329. * 2015-01-21 Live Converter TF->XP
  330. *
  331. *---------------------------------------------------------------------------------------
  332. ****************************************************************************************/
  333. //=======================================================================================
  334. // Lib Include
  335. //---------------------------------------------------------------------------------------
  336. include "com_commonxp::comm_main.xjs"
  337. include "emr_prcpmngtxp::MMOCommon.xjs"
  338. include "emr_prcpmngtxp::SPMMO30000.xjs"
  339. //include "emr_carecomxp::CareCom.xjs"
  340. //=======================================================================================
  341. // Event
  342. //---------------------------------------------------------------------------------------
  343. /****************************************************************************************
  344. * Components : Form
  345. * Components ID : SPMMO30000
  346. * Event : oninit
  347. * Argument : 01.obj : Object Event has occurred
  348. * : 02.e : Event Object
  349. * Description : 화면 처음 초기화시 폼초기화
  350. ****************************************************************************************/
  351. function SPMMO30000_oninit(obj:Form, e:InitEventInfo)
  352. {
  353. frmf_initForm(obj); // 폼 초기화
  354. }
  355. /****************************************************************************************
  356. * Components : Form
  357. * Components ID : SPMMO30000
  358. * Event : onload
  359. * Argument : 01.obj : Object Event has occurred
  360. * : 02.e : Event Object
  361. * Description : 화면 로드시 초기화 함수 실행
  362. ****************************************************************************************/
  363. function SPMMO30000_onload(obj:Form, e:LoadEventInfo)
  364. {
  365. fInit();
  366. frmf_createPopupMenu("popupMenu"
  367. ,"fMouseDownGridRow"
  368. ,[{id: "A", level: "0", title: "추가"} //항목추가
  369. ,{id: "R", level: "0", title: "새로고침"}] //항목추가
  370. );
  371. var ev = new ClickEventInfo;
  372. frmf_inputEnterKey("group4.btn_search", "onclick", ev );
  373. }
  374. /****************************************************************************************
  375. * Components : Form
  376. * Components ID : SPMMO30000
  377. * Event : onclose
  378. * Argument : 01.obj : Object Event has occurred
  379. * : 02.e : Event Object
  380. * Description : 화면 전환시 실행
  381. ****************************************************************************************/
  382. function SPMMO30000_onclose(obj:Form, e:CloseEventInfo)
  383. {
  384. //당직자를 조회하기 전에 이전 변경내역이 있는지 조회하여 재조회할것인지 여부에 따라 조회를 진행한다.
  385. var isRefresh = isScheduleRefresh(true);
  386. if(isRefresh == "N"){
  387. //grd_grpmaster.row = curRow;
  388. return;
  389. }else{
  390. //this.close();
  391. }
  392. }
  393. /****************************************************************************************
  394. * Components : Button
  395. * Components ID : group4.btn_search
  396. * Event : onclick
  397. * Argument : 01.obj : Object Event has occurred
  398. * : 02.e : Event Object
  399. * Description : 조회버튼 클릭
  400. ****************************************************************************************/
  401. function group4_btn_search_onclick(obj:Button, e:ClickEventInfo)
  402. {
  403. //당직자를 조회하기 전에 이전 변경내역이 있는지 조회하여 재조회할것인지 여부에 따라 조회를 진행한다.
  404. var isRefresh = isScheduleRefresh();
  405. if(isRefresh == "N"){
  406. //grd_grpmaster.row = curRow;
  407. return;
  408. }
  409. var orddeptcd = ds_cond.getColumn(0,"orddeptcd");
  410. var srchym = ds_cond.getColumn(0,"srchym");
  411. var grtype = "C";
  412. var orddeptcd = ds_cond.getColumn(0,"orddeptcd");
  413. var staffid = "";
  414. fGetDrInfo(orddeptcd);//선택된 진료과의 의사리스트조회
  415. fGetDeptDetlFlag(); // 진료과의 파트정보 조회
  416. fChkSelDeptDetlFlag();
  417. var deptpartinfo = ds_cond.getColumn(0,"deptpartinfo");
  418. fGetWorkScheduleList(srchym, grtype, orddeptcd, staffid, deptpartinfo);//당직자리스트를 조회한다
  419. }
  420. /****************************************************************************************
  421. * Components : Button
  422. * Components ID : group4.btn_bfyear(btn_bfmonth,btn_afmonth,btn_afyear)
  423. * Event : onclick
  424. * Argument : 01.obj : Object Event has occurred
  425. * : 02.e : Event Object
  426. * Description : 당직년월 변경 화살표 클릭시 실행
  427. ****************************************************************************************/
  428. function group4_btn_arrow_onclick(obj:Button, e:ClickEventInfo)
  429. {
  430. fClkArrowBtn(obj.name);
  431. //조회버튼 실행
  432. var ev = new ClickEventInfo;
  433. frmf_inputEnterKey("group4.btn_search", "onclick", ev );
  434. //타이틀 헤더세팅
  435. var curym = ds_cond.getColumn(0,"srchym");
  436. var worktitle = curym.substring(0, 4) + "년 " + curym.substr(4, 2) + "월 당직리스트";
  437. cpt_worktitle.text = worktitle;
  438. }
  439. /****************************************************************************************
  440. * Components : Combo
  441. * Components ID : group4.cmb_orddeptcd
  442. * Event : onitemchanged
  443. * Argument : 01.obj : Object Event has occurred
  444. * : 02.e : Event Object
  445. * Description : 진료과 변경시 조회실행
  446. ****************************************************************************************/
  447. function group4_cmb_orddeptcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  448. {
  449. var ev = new ClickEventInfo;
  450. frmf_inputEnterKey("group4.btn_search", "onclick", ev );
  451. }
  452. /****************************************************************************************
  453. * Components : Combo
  454. * Components ID : group4.cmb_partinfo
  455. * Event : onitemchanged
  456. * Argument : 01.obj : Object Event has occurred
  457. * : 02.e : Event Object
  458. * Description : PART 변경시 당직자 리스트 조회
  459. ****************************************************************************************/
  460. function group4_cmb_partinfo_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  461. {
  462. var srchym = ds_cond.getColumn(0,"srchym");
  463. var grtype = "C";
  464. var orddeptcd = ds_cond.getColumn(0,"orddeptcd");
  465. var staffid = "";
  466. var deptpartinfo = ds_cond.getColumn(0,"deptpartinfo");
  467. fGetWorkScheduleList(srchym, grtype, orddeptcd, staffid, deptpartinfo); //당직자리스트를 조회한다
  468. }
  469. /****************************************************************************************
  470. * Components : Grid
  471. * Components ID : grd_drlist
  472. * Event : onlbuttonup
  473. * Argument : 01.obj : Object Event has occurred
  474. * : 02.e : Event Object
  475. * Description : 의사 Call 대상자 클릭시 실행
  476. ****************************************************************************************/
  477. function grd_drlist_onlbuttonup(obj:Grid, e:GridMouseEventInfo)
  478. {
  479. var drid = ds_main_drinfolist.getColumn(ds_main_drinfolist.rowposition,"drid");
  480. fSetDrInfo("drlist", drid); //의사상세정보를 세팅
  481. fChkDeptDetlFlag(); // 파트정보가 있는지 확인하고 파트를 선택하지 않고 의사 선택시 블록킹
  482. }
  483. /****************************************************************************************
  484. * Components : Grid
  485. * Components ID : grd_workerlist
  486. * Event : onrbuttondown
  487. * Argument : 01.obj : Object Event has occurred
  488. * : 02.e : Event Object
  489. * Description : 마우스 우클릭시 팝업메뉴 띄움
  490. ****************************************************************************************/
  491. function grd_workerlist_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
  492. {
  493. if(e.row > -1 && obj.selectstartcol[0] > 1 && obj.selectendcol[0] > 1) {
  494. if(obj.selectstartrow == obj.selectendrow && obj.selectstartcol == obj.selectendcol) {
  495. obj.setFocus();
  496. grdf_setSelectedCell(obj, e);
  497. }
  498. popupMenu.trackPopup(e.screenX,e.screenY);
  499. }
  500. }
  501. /****************************************************************************************
  502. * Components : Grid
  503. * Components ID : grd_workerlist
  504. * Event : onlbuttonup
  505. * Argument : 01.obj : Object Event has occurred
  506. * : 02.e : Event Object
  507. * Description : 당직리스트에 선택된 당직대상자를 그리드에 세팅
  508. ****************************************************************************************/
  509. function grd_workerlist_onlbuttonup(obj:Grid, e:GridMouseEventInfo)
  510. {
  511. if(e.col > 0 && obj.selectstartrow == obj.selectendrow && obj.selectstartcol == obj.selectendcol){//기준일클릭한게 아니면 의사정보세팅
  512. fSetWorkDr("ADD");//당직리스트에 선택된 당직대상자를 그리드에 세팅
  513. }
  514. }
  515. /****************************************************************************************
  516. * Components : Grid
  517. * Components ID : grd_workerlist
  518. * Event : onkeyup
  519. * Argument : 01.obj : Object Event has occurred
  520. * : 02.e : Event Object
  521. * Description : DEL키나 Backspace키 눌렀을때 의사정보삭제
  522. ****************************************************************************************/
  523. function grd_workerlist_onkeyup(obj:Grid, e:KeyEventInfo)
  524. {
  525. // if(ds_main_workerinfolist.rowposition > -1 && obj.selectstartcol[0] > 1 && obj.selectendcol[0] > 1) {
  526. // var clickColNm = lf_getBindCellName(grd_workerlist,obj.currentcol);
  527. // if(clickColNm != "workdd") {//기준일클릭한게 아니면 의사정보세팅
  528. // if(e.keycode == 46 || e.keycode == 8) {
  529. // fSetWorkDr("DEL");//의사정보삭제
  530. // }
  531. // }
  532. // }
  533. }
  534. /****************************************************************************************
  535. * Components : Button
  536. * Components ID : button42
  537. * Event : onclick
  538. * Argument : 01.obj : Object Event has occurred
  539. * : 02.e : Event Object
  540. * Description : 저장버튼 클릭 스케줄 저장
  541. ****************************************************************************************/
  542. function button42_onclick(obj:Button, e:ClickEventInfo)
  543. {
  544. fSaveWorkDr();//당직자스케줄을저장한다
  545. }
  546. function SPMMO30000_onbeforeclose(obj:Form, e:CloseEventInfo)
  547. {
  548. //당직자를 조회하기 전에 이전 변경내역이 있는지 조회하여 재조회할것인지 여부에 따라 조회를 진행한다.
  549. var isRefresh = isScheduleRefresh(true);
  550. if(isRefresh == "N"){
  551. //grd_grpmaster.row = curRow;
  552. return false;
  553. }
  554. }
  555. function group4_ipt_srchdd_onchanged(obj:Calendar, e:ChangeEventInfo)
  556. {
  557. //당직년월을 조회하기전에 변경사항이 있는지 확인한다.
  558. var isRefresh = isScheduleRefresh();
  559. if(isRefresh == "N"){
  560. return;
  561. }
  562. fInit("A");
  563. //타이틀 헤더세팅
  564. var curym = ds_cond.getColumn(0,"srchym");
  565. var worktitle = curym.substring(0, 4) + "년 " + curym.substr(4, 2) + "월 당직리스트";
  566. cpt_worktitle.text = worktitle;
  567. }
  568. ]]></Script>
  569. </Form>
  570. </FDL>