SMAEA00800_예약취소 및 변경내역조회.xfdl 43 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMAEA00800" position="absolute 0 0 1201 805" titletext="검사 예약 변경 조회" onload="SMAEA00800_onload" style="background:transparent;">
  5. <Layouts>
  6. <Layout>
  7. <Shape id="line1" class="line_4" position="absolute 350 28 350 75" anchor="default" positiontype="position" linetype="vertical"/>
  8. <Static id="caption9" text="예약변경내역현황" class="tit_2" position="absolute 0 131 129 151" positiontype="position"/>
  9. <Grid id="grd_rsrvcnclprescond2" taborder="11" useinputpanel="false" position="absolute 0 152 1200 805" anchor="all" binddataset="ds_grid_grd_rsrvcnclprescond" positiontype="position" onbuttondown="grd_rsrvcnclprescond_onbuttondown" onclick="grd_rsrvcnclprescond_onclick" onrbuttondown="grd_rsrvcnclprescond_onrbuttondown" oncellclick="grd_rsrvcnclprescond_oncellclick" cellsizingtype="col" oncolresized="grd_rsrvcnclprescond_oncolresized" treeusecheckbox="false" autofittype="none" visible="false">
  10. <Formats>
  11. <Format id="default">
  12. <Columns>
  13. <Column size="30"/>
  14. <Column size="80"/>
  15. <Column size="115"/>
  16. <Column size="107"/>
  17. <Column size="70"/>
  18. <Column size="70"/>
  19. <Column size="110"/>
  20. <Column size="46"/>
  21. <Column size="115"/>
  22. <Column size="100"/>
  23. <Column size="99"/>
  24. <Column size="210"/>
  25. </Columns>
  26. <Rows>
  27. <Row size="22" band="head"/>
  28. <Row size="20"/>
  29. </Rows>
  30. <Band id="head">
  31. <Cell/>
  32. <Cell col="1" text="처방일자"/>
  33. <Cell col="2" text="저장일시"/>
  34. <Cell col="3" text="예약자"/>
  35. <Cell col="4" text="등록번호"/>
  36. <Cell col="5" text="환자명"/>
  37. <Cell col="6" text="주민번호"/>
  38. <Cell col="7" text="진료과"/>
  39. <Cell col="8" text="예약일시"/>
  40. <Cell col="9" text="검사실"/>
  41. <Cell col="10" text="처방코드"/>
  42. <Cell col="11" text="처방명"/>
  43. </Band>
  44. <Band id="body">
  45. <Cell celltype="head" style="background:EXPR(state == '취소' || state == '변경' ? '#ffcc99': '');background2:EXPR(state == '취소' || state == '변경' ? '#ffcc99': '');" expr="expr:currow + 1"/>
  46. <Cell col="1" style="align:center middle;background:EXPR(cnclyn == 'Y'?'#ffff00ff':'');background2:EXPR(cnclyn == 'Y'?'#ffff00ff':'');selectbackground:EXPR(cnclyn == 'Y'?'#ffff00ff':'');" text="bind:prcpdd" mask="expr:utlf_isNull(prcpdd)?'':'####-##-##'"/>
  47. <Cell col="2" text="bind:updtaft" mask="####-##-## ##:##"/>
  48. <Cell col="3" style="background2: ;" text="bind:rsrvrid"/>
  49. <Cell col="4" displaytype="text" style="align:center middle;background2: ;" text="bind:pid"/>
  50. <Cell col="5" style="background2: ;" text="bind:hngnm"/>
  51. <Cell col="6" style="background2: ;" text="bind:rrgstno"/>
  52. <Cell col="7" style="align:center middle;background2: ;" text="bind:prcpdept"/>
  53. <Cell col="8" style="align:center middle;background2: ;" text="bind:rsrvdt" mask="####-##-## ##:##"/>
  54. <Cell col="9" style="background2: ;" text="bind:excuroom"/>
  55. <Cell col="10" style="align:center middle;background2: ;" text="bind:prcpcd"/>
  56. <Cell col="11" style="align:left middle;background:EXPR(state == '취소' || state == '변경' ? '#ffcc99': '');background2:EXPR(state == '취소' || state == '변경' ? '#ffcc99': '');" text="bind:prcpnm"/>
  57. </Band>
  58. </Format>
  59. </Formats>
  60. </Grid>
  61. <Static id="caption6" text="검사 예약 변경 조회" class="tit_1" position="absolute 0 0 168 25" positiontype="position"/>
  62. <Static id="Static00" class="sta_DA_box" anchor="left top right" position="absolute 0 96 1200 122" positiontype="position"/>
  63. <Static id="caption5" text="환자명" class="cell_1" position="absolute 1 97 51 120" style="align:center middle;" positiontype="position"/>
  64. <Edit id="opt_hngnm" taborder="13" position="absolute 54 99 139 119" imemode="hangul" positiontype="position" readonly="true" class="output"/>
  65. <Static id="caption16" text="S/A" class="cell_1" position="absolute 142 97 185 120" style="align:center middle;" positiontype="position"/>
  66. <Edit id="opt_age" taborder="14" position="absolute 188 99 235 119" style="align:center middle;" imemode="hangul" enable="true" positiontype="position" readonly="true" class="output"/>
  67. <Static id="caption11" text="집전화" class="cell_1" position="absolute 238 97 288 120" style="align:center middle;" positiontype="position"/>
  68. <Edit id="opt_hometel" taborder="16" position="absolute 291 99 386 119" imemode="hangul" enable="true" positiontype="position" readonly="true" class="output"/>
  69. <Static id="caption8" text="핸드폰" class="cell_1" position="absolute 389 97 439 120" style="align:center middle;" positiontype="position"/>
  70. <Edit id="opt_mpphontel" taborder="17" position="absolute 442 99 566 119" imemode="hangul" enable="true" positiontype="position" readonly="true" class="output"/>
  71. <Static id="caption7" text="집주소" class="cell_1" position="absolute 569 97 619 120" style="align:center middle;" positiontype="position"/>
  72. <Edit id="opt_addr" taborder="18" position="absolute 624 99 1196 119" imemode="hangul" enable="true" positiontype="position" anchor="left top right" readonly="true" class="output"/>
  73. <Button id="button4" taborder="10" text="엑셀저장" onlbuttonup="button4_onlbuttonup" class="btn7" position="absolute 1123 124 1200 147" anchor="top right" positiontype="position" onclick="button4_onclick" visible="false"/>
  74. <Div id="grp_sea" anchor="left top right" taborder="26" style="align:center top;" class="div_SA" position="absolute 0 25 1200 85">
  75. <Layouts>
  76. <Layout>
  77. <Static id="caption3" text="처방일자" class="search_name" position="absolute 8 19 94 39" anchor="default"/>
  78. <Calendar id="ipt_startrsrvdd" taborder="13" autoselect="true" autoskip="true" dateformat="yyyy-MM-dd" onchanged="grp_sea_ipt_startrsrvdd_onchanged" class="input_default" position="absolute 84 19 184 39" style="align:center middle;" anchor="default"/>
  79. <Static id="caption2" text="~" position="absolute 184 19 200 39" style="align:center;" anchor="default"/>
  80. <Calendar id="ipt_endrsrvdd" taborder="14" autoselect="true" dateformat="yyyy-MM-dd" onchanged="grp_sea_ipt_endrsrvdd_onchanged" class="input_default" position="absolute 200 19 300 39" style="align:center middle;" anchor="default"/>
  81. <Static id="caption10" text="지원부서" class="search_name" position="absolute 324 8 410 28" anchor="default"/>
  82. <Combo id="cmb_deptcd" taborder="15" innerdataset="@ds_cmb_suppdept" codecolumn="suppdeptcd" datacolumn="depthngnm" onitemchanged="grp_sea_cmb_deptcd_onitemchanged" position="absolute 397 8 524 28" anchor="default" readonly="true"/>
  83. <Static id="caption12" text="검사/치료실" class="search_name" position="absolute 548 8 654 28" anchor="default"/>
  84. <Static id="caption1" text="주민번호" class="search_name" position="absolute 548 33 634 53" anchor="default"/>
  85. <Combo id="cmb_excuroom" taborder="16" innerdataset="@ds_cmb_initexecroom" codecolumn="basecd" datacolumn="basecdflagdesc" onitemchanged="grp_sea_cmb_excuroom_onitemchanged" class="combo_default" position="absolute 641 8 766 28" anchor="default" readonly="true"/>
  86. <Button id="button2" taborder="17" text="임시" onclick="button2_onclick" onlbuttonup="button2_onlbuttonup" class="btn1" visible="false" position="absolute 970 28 1026 48" anchor="default"/>
  87. <Button id="button1" taborder="18" text="임시" onclick="button1_onclick" onlbuttonup="button1_onlbuttonup" class="btn1" visible="false" position="absolute 1030 28 1086 48" anchor="default"/>
  88. <Button id="btn_sea" taborder="19" text="조회" onclick="btn_sea_onclick" onlbuttonup="btn_sea_onlbuttonup" class="btn1" position="absolute 1131 20 1187 40" anchor="top right"/>
  89. <MaskEdit id="input2" taborder="20" type="string" mask="######-#######" position="absolute 641 33 766 53" style="align:center middle;" align="align:center middle;" imemode="hangul" anchor="default" onkeydown="grp_sea_input2_onkeydown" displaynulltext=" "/>
  90. <Static id="caption00" text="등록번호" class="search_name" position="absolute 325 32 399 52" anchor="default"/>
  91. <Edit id="ipt_pid" taborder="21" readonly="false" class="input" position="absolute 397 33 505 53" anchor="default" onkeydown="grp_sea_ipt_pid_onkeydown" autoselect="true"/>
  92. <Button id="btn_pidsearch" taborder="22" class="icon_search" position="absolute 505 33 525 53" anchor="default" onclick="grp_sea_btn_pidsearch_onclick"/>
  93. </Layout>
  94. </Layouts>
  95. </Div>
  96. <Grid id="grd_rsrvcnclprescond" taborder="27" binddataset="ds_grid_grd_rsrvcnclprescond" useinputpanel="false" position="absolute 1 152 1200 805" cellsizingtype="both" extendsizetype="row" onrbuttondown="grd_rsrvcnclprescond_onrbuttondown" selecttype="cell" onkeydown="grd_rsrvcnclprescond_onkeydown" oncellclick="grd_rsrvcnclprescond_oncellclick">
  97. <Formats>
  98. <Format id="default">
  99. <Columns>
  100. <Column size="25" band="left"/>
  101. <Column size="80"/>
  102. <Column size="70"/>
  103. <Column size="75"/>
  104. <Column size="111"/>
  105. <Column size="90"/>
  106. <Column size="210"/>
  107. <Column size="60"/>
  108. <Column size="0"/>
  109. <Column size="110"/>
  110. <Column size="115"/>
  111. <Column size="55"/>
  112. <Column size="114"/>
  113. <Column size="125"/>
  114. <Column size="55"/>
  115. <Column size="153"/>
  116. <Column size="0"/>
  117. </Columns>
  118. <Rows>
  119. <Row size="24" band="head"/>
  120. <Row size="24"/>
  121. </Rows>
  122. <Band id="head">
  123. <Cell/>
  124. <Cell col="1" text="등록번호"/>
  125. <Cell col="2" text="환자명"/>
  126. <Cell col="3" text="처방일자"/>
  127. <Cell col="4" text="진료과(진료의)"/>
  128. <Cell col="5" text="처방코드"/>
  129. <Cell col="6" text="처방명"/>
  130. <Cell col="7" text="처방상태"/>
  131. <Cell col="8" text="구분"/>
  132. <Cell col="9" text="치료실"/>
  133. <Cell col="10" text="예약일시"/>
  134. <Cell col="11" text="예약자"/>
  135. <Cell col="12" text="변경일시"/>
  136. <Cell col="13" text="실시일시"/>
  137. <Cell col="14" text="실시자"/>
  138. <Cell col="15" text="사유"/>
  139. <Cell col="16" text="2"/>
  140. </Band>
  141. <Band id="body">
  142. <Cell celltype="head" text="expr:currow+1"/>
  143. <Cell col="1" style="background:EXPR(state=='취소'?'#ffcc99':'#ffffff');background2:EXPR(state=='취소'?'#ffcc99':'#ffffff');" text="bind:pid" suppress="1" suppressalign="middle,over" autosizerow="limitmin"/>
  144. <Cell col="2" style="background:EXPR(state=='취소'?'#ffcc99':'#ffffff');background2:EXPR(state=='취소'?'#ffcc99':'#ffffff');" text="bind:hngnm" suppress="1" suppressalign="middle,over" autosizerow="limitmin"/>
  145. <Cell col="3" displaytype="date" style="background:EXPR(state=='취소'?'#ffcc99':'#ffffff');background2:EXPR(state=='취소'?'#ffcc99':'#ffffff');" text="bind:prcpdd" suppress="2" suppressalign="middle,over" autosizerow="limitmin"/>
  146. <Cell col="4" displaytype="text" style="background:EXPR(state=='취소'?'#ffcc99':'#ffffff');background2:EXPR(state=='취소'?'#ffcc99':'#ffffff');" text="bind:prcpdept" suppress="3" suppressalign="middle,over" autosizerow="limitmin"/>
  147. <Cell col="5" displaytype="text" style="background:EXPR(state=='취소'?'#ffcc99':'#ffffff');background2:EXPR(state=='취소'?'#ffcc99':'#ffffff');" text="bind:prcpcd" suppress="4" suppressalign="middle,over" autosizerow="limitmin"/>
  148. <Cell col="6" displaytype="text" style="background:EXPR(state=='취소'?'#ffcc99':'#ffffff');background2:EXPR(state=='취소'?'#ffcc99':'#ffffff');" text="bind:prcpnm" wordwrap="char" suppress="4" suppressalign="middle,over" autosizerow="limitmin"/>
  149. <Cell col="7" displaytype="text" style="background:EXPR(state=='취소'?'#ffcc99':'#ffffff');background2:EXPR(state=='취소'?'#ffcc99':'#ffffff');" text="bind:execprcpstatcd" suppress="5" suppressalign="middle,over"/>
  150. <Cell col="8" style="background:EXPR(state=='취소'?'#ffcc99':'#ffffff');background2:EXPR(state=='취소'?'#ffcc99':'#ffffff');" text="bind:state"/>
  151. <Cell col="9" displaytype="text" style="background:EXPR(state=='취소'?'#ffcc99':'#ffffff');background2:EXPR(state=='취소'?'#ffcc99':'#ffffff');" text="bind:excuroom" wordwrap="char" suppress="6"/>
  152. <Cell col="10" displaytype="expr:utlf_isNull(updtaftrsrvdt)?'normal':'date'" style="background:EXPR(state=='취소'?'#ffcc99':'#ffffff');background2:EXPR(state=='취소'?'#ffcc99':'#ffffff');" text="bind:updtaftrsrvdt" mask="expr:utlf_isNull(updtaftrsrvdt)?'':'yyyy-MM-dd HH:mm'" suppress="7"/>
  153. <Cell col="11" style="background:EXPR(state=='취소'?'#ffcc99':'#ffffff');background2:EXPR(state=='취소'?'#ffcc99':'#ffffff');" text="bind:rsrvrid" suppress="8"/>
  154. <Cell col="12" displaytype="expr:utlf_isNull(updtaft)?'normal':'date'" style="background:EXPR(state=='취소'?'#ffcc99':'#ffffff');background2:EXPR(state=='취소'?'#ffcc99':'#ffffff');" text="bind:updtaft" mask="expr:utlf_isNull(updtaft)?'':'yyyy-MM-dd HH:mm'" suppress="9"/>
  155. <Cell col="13" displaytype="expr:utlf_isNull(execdt)?'normal':'date'" style="background:EXPR(state=='취소'?'#ffcc99':'#ffffff');background2:EXPR(state=='취소'?'#ffcc99':'#ffffff');" text="bind:execdt" mask="expr:utlf_isNull(execdt)?'':'yyyy-MM-dd HH:mm'" suppress="10"/>
  156. <Cell col="14" style="background:EXPR(state=='취소'?'#ffcc99':'#ffffff');background2:EXPR(state=='취소'?'#ffcc99':'#ffffff');" text="bind:execrid" suppress="11"/>
  157. <Cell col="15" displaytype="text" style="background:EXPR(state=='취소'?'#ffcc99':'#ffffff');background2:EXPR(state=='취소'?'#ffcc99':'#ffffff');" text="bind:cnclresncd" wordwrap="char" suppress="12"/>
  158. <Cell col="16" text="bind:execprcpuniqno"/>
  159. </Band>
  160. </Format>
  161. </Formats>
  162. </Grid>
  163. <Shape id="line2" class="line_10" position="absolute 0 147 1200 153"/>
  164. </Layout>
  165. </Layouts>
  166. <Objects>
  167. <Dataset id="ds_grid_grd_rsrvcnclprescond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  168. <ColumnInfo>
  169. <Column id="lvlbox" type="STRING"/>
  170. <Column id="prcpdd" type="STRING"/>
  171. <Column id="rsrvrid" type="STRING"/>
  172. <Column id="pid" type="STRING"/>
  173. <Column id="hngnm" type="STRING"/>
  174. <Column id="rrgstno" type="STRING"/>
  175. <Column id="prcpdept" type="STRING"/>
  176. <Column id="rsrvdt" type="STRING"/>
  177. <Column id="updtaft" type="STRING"/>
  178. <Column id="excuroom" type="STRING"/>
  179. <Column id="prcpcd" type="STRING"/>
  180. <Column id="prcpnm" type="STRING"/>
  181. <Column id="execprcpstatcd" type="STRING"/>
  182. <Column id="state" type="STRING"/>
  183. <Column id="excuroom" type="STRING"/>
  184. <Column id="execdt" type="STRING"/>
  185. <Column id="cnclresncd" type="STRING"/>
  186. <Column id="rsrvrid" type="STRING"/>
  187. <Column id="execrid" type="STRING"/>
  188. <Column id="execprcpuniqno" type="STRING"/>
  189. <Column id="lvl" type="STRING"/>
  190. <Column id="cnclyn" type="STRING" size="256"/>
  191. </ColumnInfo>
  192. </Dataset>
  193. <Dataset id="ds_cmb_suppdept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  194. <ColumnInfo>
  195. <Column id="depthngnm" type="STRING" size="256"/>
  196. <Column id="suppdeptcd" type="STRING" size="256"/>
  197. </ColumnInfo>
  198. </Dataset>
  199. <Dataset id="ds_cmb_initexecroom" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  200. <ColumnInfo>
  201. <Column id="basecd" type="STRING" size="256"/>
  202. <Column id="basecdflagdesc" type="STRING" size="256"/>
  203. <Column id="excuposseqcd" type="STRING" size="256"/>
  204. </ColumnInfo>
  205. </Dataset>
  206. <Dataset id="ds_data_paminfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  207. <Dataset id="ds_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  208. <ColumnInfo>
  209. <Column id="hngnm" type="STRING" size="256"/>
  210. <Column id="age" type="STRING" size="256"/>
  211. <Column id="sex" type="STRING" size="256"/>
  212. <Column id="hometel" type="STRING" size="256"/>
  213. <Column id="mpphontel" type="STRING" size="256"/>
  214. <Column id="addr" type="STRING" size="256"/>
  215. <Column id="rrgstno" type="STRING" size="256"/>
  216. <Column id="juminno" type="STRING" size="256"/>
  217. </ColumnInfo>
  218. <Rows>
  219. <Row/>
  220. </Rows>
  221. </Dataset>
  222. <Dataset id="ds_pat_req" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  223. <ColumnInfo>
  224. <Column id="pid" type="STRING" size="256"/>
  225. </ColumnInfo>
  226. <Rows>
  227. <Row>
  228. <Col id="pid"/>
  229. </Row>
  230. </Rows>
  231. </Dataset>
  232. <Dataset id="ds_patinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  233. <ColumnInfo>
  234. <Column id="hngnm" type="STRING" size="256"/>
  235. <Column id="age" type="STRING" size="256"/>
  236. <Column id="hometel" type="STRING" size="256"/>
  237. <Column id="mpphontel" type="STRING" size="256"/>
  238. <Column id="rrgstno" type="STRING" size="256"/>
  239. <Column id="zipcdaddr" type="STRING" size="256"/>
  240. </ColumnInfo>
  241. </Dataset>
  242. <Dataset id="ds_data_suppdept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  243. <ColumnInfo>
  244. <Column id="suppdeptcd"/>
  245. <Column id="suppdeptnm"/>
  246. </ColumnInfo>
  247. </Dataset>
  248. <Dataset id="ds_data_excuroom" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  249. <ColumnInfo>
  250. <Column id="basecd"/>
  251. <Column id="basecdflagdesc"/>
  252. </ColumnInfo>
  253. </Dataset>
  254. <Dataset id="ds_grid_sub_rsrvcnclpreslist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  255. <ColumnInfo>
  256. <Column id="rsrvridnm" type="STRING"/>
  257. <Column id="prcpdd" type="STRING"/>
  258. <Column id="rsrvrid" type="STRING"/>
  259. <Column id="pid" type="STRING"/>
  260. <Column id="hngnm" type="STRING"/>
  261. <Column id="rrgstno" type="STRING"/>
  262. <Column id="prcpdept" type="STRING"/>
  263. <Column id="rsrvdt" type="STRING"/>
  264. <Column id="updtaft" type="STRING"/>
  265. <Column id="excuroom" type="STRING"/>
  266. <Column id="prcpcd" type="STRING"/>
  267. <Column id="prcpnm" type="STRING"/>
  268. <Column id="execprcpstatcd" type="STRING"/>
  269. <Column id="state" type="STRING"/>
  270. <Column id="excuroom" type="STRING"/>
  271. <Column id="execdt" type="STRING"/>
  272. <Column id="cnclresncd" type="STRING"/>
  273. <Column id="rsrvrid" type="STRING"/>
  274. <Column id="execrid" type="STRING"/>
  275. <Column id="execprcpuniqno" type="STRING"/>
  276. <Column id="orddeptcd" type="STRING" size="256"/>
  277. </ColumnInfo>
  278. </Dataset>
  279. <Dataset id="ds_initexcuroomgrp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  280. <Dataset id="ds_initexcuroomgrp2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  281. <Dataset id="ds_initexecrid" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  282. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  283. <ColumnInfo>
  284. <Column id="basesuppdeptcd" type="STRING" size="256"/>
  285. <Column id="rbasecdflag" type="STRING" size="256"/>
  286. <Column id="ebasecdflag" type="STRING" size="256"/>
  287. <Column id="initflag" type="STRING" size="256"/>
  288. <Column id="pid" type="STRING" size="256"/>
  289. <Column id="largeclass" type="STRING" size="256"/>
  290. <Column id="cdgrupid" type="STRING" size="256"/>
  291. <Column id="gb" type="STRING" size="256"/>
  292. <Column id="suppdeptcd" type="STRING" size="256"/>
  293. <Column id="juminno" type="STRING" size="256"/>
  294. <Column id="fromdate" type="STRING" size="256"/>
  295. <Column id="todate" type="STRING" size="256"/>
  296. <Column id="excuroomcd" type="STRING" size="256"/>
  297. <Column id="flag" type="STRING" size="256"/>
  298. </ColumnInfo>
  299. <Rows>
  300. <Row/>
  301. </Rows>
  302. </Dataset>
  303. </Objects>
  304. <Bind>
  305. <BindItem id="item0" compid="opt_hngnm" propid="value" datasetid="ds_patinfo" columnid="hngnm"/>
  306. <BindItem id="item1" compid="opt_age" propid="value" datasetid="ds_patinfo" columnid="age"/>
  307. <BindItem id="item3" compid="opt_hometel" propid="value" datasetid="ds_patinfo" columnid="hometel"/>
  308. <BindItem id="item4" compid="opt_mpphontel" propid="value" datasetid="ds_patinfo" columnid="mpphontel"/>
  309. <BindItem id="item5" compid="opt_addr" propid="value" datasetid="ds_patinfo" columnid="addr"/>
  310. <BindItem id="item2" compid="grp_sea.ipt_startrsrvdd" propid="value" datasetid="ds_send" columnid="fromdate"/>
  311. <BindItem id="item6" compid="grp_sea.ipt_endrsrvdd" propid="value" datasetid="ds_send" columnid="todate"/>
  312. <BindItem id="item7" compid="grp_sea.cmb_deptcd" propid="value" datasetid="ds_send" columnid="suppdeptcd"/>
  313. <BindItem id="item8" compid="grp_sea.cmb_excuroom" propid="value" datasetid="ds_send" columnid="excuroomcd"/>
  314. <BindItem id="item9" compid="grp_sea.ipt_pid" propid="value" datasetid="ds_send" columnid="pid"/>
  315. <BindItem id="item10" compid="grp_sea.input2" propid="value" datasetid="ds_send" columnid="juminno"/>
  316. </Bind>
  317. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  318. * System Name : KU2.0
  319. * Job Name :
  320. * File Name :
  321. * Creator :
  322. * Make Date : 2016-03-24
  323. *
  324. * Description :
  325. *---------------------------------------------------------------------------------------
  326. * Modify Date Modifier Modify Description
  327. *---------------------------------------------------------------------------------------
  328. *
  329. *---------------------------------------------------------------------------------------
  330. ****************************************************************************************/
  331. //=======================================================================================
  332. // xjs Include
  333. //---------------------------------------------------------------------------------------
  334. include "com_commonxp::comm_main.xjs";
  335. include "com_departmentcodexp::ZSD001.xjs";
  336. include "ast_examcurexp::AEZ0001.xjs";
  337. include "com_basiccodexp::ZBC001.xjs";
  338. //=======================================================================================
  339. // Function
  340. //-------------------------
  341. var cellvalue = "";
  342. var bOnLoad = false;
  343. var pamInfoCSV = "";
  344. var lgv_pid = "";
  345. //******************************************************************
  346. // 등록번호 composite callback
  347. function lf_callBack_SearchPatInfo(cpId)
  348. {
  349. //해당 함수는 환자정보조회 모듈에서 조회 후 호출하는 함수입니다. Composit ID로 Composit구분하세요
  350. //Dataset에서 필요한 정보를 copy해서 사용하세요.(환자정보: cp_searchPatInfo00.ds_patInfo, 환자특이정보: cp_searchPatInfo00.ds_ptsp)
  351. // ds_patinfolist.setColumn(0, "rrgstno", "");
  352. // ds_patinfolist.setColumn(0, "hngnm", grp_sea.cp_patientInfo00.ds_patInfo.getColumn(0, "hngnm"));
  353. // ds_patinfolist.setColumn(0, "age", grp_sea.cp_patientInfo00.ds_patInfo.getColumn(0, "age"));
  354. // ds_patinfolist.setColumn(0, "sex", grp_sea.cp_patientInfo00.ds_patInfo.getColumn(0, "sex"));
  355. // ds_patinfolist.setColumn(0, "hometel", grp_sea.cp_patientInfo00.ds_patInfo.getColumn(0, "hometel"));
  356. // ds_patinfolist.setColumn(0, "mpphontel", grp_sea.cp_patientInfo00.ds_patInfo.getColumn(0, "mpphontel"));
  357. // ds_patinfolist.setColumn(0, "addr", grp_sea.cp_patientInfo00.ds_patInfo.getColumn(0, "addr"));
  358. // var rrg1 = grp_sea.cp_patientInfo00.ds_patInfo.getColumn(0, "rrgstno1");
  359. // var rrg2 = grp_sea.cp_patientInfo00.ds_patInfo.getColumn(0, "rrgstno2");
  360. // var rrgstno = rrg1 + rrg2;
  361. // ds_patinfolist.setColumn(0, "rrgstno", rrgstno);
  362. // grp_sea.input2.value = rrgstno;
  363. ds_send.setColumn(0, "gb", "1");
  364. readfunc();
  365. }
  366. // 검사치료실 가져오기
  367. function f_TRAEA01301()
  368. {
  369. dsf_createDsRow("ds_cmb_req",
  370. [{col:"basesuppdeptcd", val:suppdeptcd}
  371. ,{col:"rbasecdflag", val:"R"}
  372. ,{col:"ebasecdflag", val:"E"}
  373. ,{col:"instcd", val:""}
  374. ,{col:"initflag", val:"1"}
  375. ,{col:"alladdyn", val:""}
  376. ]);
  377. var oParam = {};
  378. oParam.id = "TRAEA01301";
  379. oParam.service = "examcureacptexecapp.ExamCureAcpt";
  380. oParam.method = "reqGetInitExamCureRoomGrpCodeList";
  381. oParam.inds = "reqparam=ds_cmb_req";
  382. oParam.outds = "ds_initexcuroomgrp=initexcuroomgrp ds_initexcuroomgrp2=initexcuroomgrp2 ds_cmb_initexecroom=initexcuroom ds_cmb_suppdept=suppdept";
  383. oParam.async = false;
  384. oParam.callback = "cf_TRAEA01301";
  385. tranf_submit(oParam);
  386. }
  387. function cf_TRAEA01301(sSvcId, objErrorCode, objErrorMsg)
  388. {
  389. grp_sea.cmb_deptcd.value = suppdeptcd;
  390. }
  391. // 조회
  392. function f_TRAEA00804()
  393. {
  394. ds_grid_grd_rsrvcnclprescond.clearData();
  395. ds_patinfolist.clearData();
  396. var objParam = new Object();
  397. objParam.id = "TRAEA00804";
  398. objParam.service = "examcurersrvapp.RsrvRef";
  399. objParam.method = "reqGetRsrvPresChnInfo";
  400. objParam.inds = "req=ds_send";
  401. objParam.outds ="ds_grid_grd_rsrvcnclprescond=item ds_patinfo=patinfolist";
  402. objParam.async = false;
  403. objParam.callback = "cf_TRAEA00804";
  404. tranf_submit(objParam);
  405. }
  406. function cf_TRAEA00804(sSvcId, nErrorCode, sErrorMsg) {
  407. if(nErrorCode < 0) return;
  408. ds_send.setColumn(0,"juminno",ds_patinfo.getColumn(0,"juminno"));
  409. ds_send.setColumn(0,"pid", ds_patinfo.getColumn(0,"pid"));
  410. // for (var i = 0; i < ds_grid_grd_rsrvcnclprescond.rowcount; i++){
  411. // if (ds_grid_grd_rsrvcnclprescond.getColumn(i,"state") == "취소"){
  412. // grd_rsrvcnclprescond.rowstyle(i, "data", "background-color") = "#ffcc99";
  413. // }else{
  414. // grd_rsrvcnclprescond.rowstyle(i, "data", "background-color") = "#ffffff";
  415. // }
  416. // }
  417. if (!utlf_isNull(ds_send.getColumn(0,"pid")) && !utlf_isNull(ds_send.getColumn(0,"juminno"))) {
  418. grd_rsrvcnclprescond.setFormatColProperty(1,"size",0);
  419. grd_rsrvcnclprescond.setFormatColProperty(2,"size",0);
  420. }else{
  421. grd_rsrvcnclprescond.setFormatColProperty(1,"size",80);
  422. grd_rsrvcnclprescond.setFormatColProperty(2,"size",70);
  423. }
  424. ds_grid_grd_rsrvcnclprescond.rowposition = -1;
  425. }
  426. function readfunc()
  427. {
  428. var _frdt = grp_sea.ipt_startrsrvdd.value;
  429. var _todt = grp_sea.ipt_endrsrvdd.value;
  430. if(utlf_isNull(_frdt) && !utlf_isNull(_todt))
  431. {
  432. sysf_messageBox("검색하실 날짜 범위의 시작 일자를 입력해 주십시오." , "I999");
  433. grp_sea.ipt_startrsrvdd.setFocus();
  434. return;
  435. }
  436. if(!utlf_isNull(_frdt) && utlf_isNull(_todt))
  437. {
  438. sysf_messageBox("검색하실 날짜 범위의 마지막 일자를 입력해 주십시오." , "I999");
  439. grp_sea.ipt_endrsrvdd.setFocus();
  440. return;
  441. }
  442. if ( utlf_getDateInterval(_frdt, _todt) < 0 ) {
  443. sysf_messageBox("입력하신 날짜 범위로는 검색할 수 없습니다. 기준일자를 확인해 주십시오." , "I999");
  444. grp_sea.ipt_startrsrvdd.setFocus();
  445. return;
  446. }
  447. // 이 부분 때문이 쿼리 오류 발생
  448. //ds_send.setColumn(0, "flag", "TRAEA04400");
  449. f_TRAEA00804();
  450. }
  451. function f_patinfo(){
  452. ds_pat_req.setColumn(0, "pid", ds_grid_grd_rsrvcnclprescond.getColumn(ds_grid_grd_rsrvcnclprescond.rowposition, "pid"));
  453. var objParam = new Object();
  454. objParam.service = "examcurersrvapp.RsrvRef";
  455. objParam.method = "reqGetPatDetailInfo";
  456. objParam.inds = "req=ds_pat_req";
  457. objParam.outds ="ds_patinfo=patlist";
  458. objParam.alert = false;
  459. tranf_submit(objParam);
  460. }
  461. // 통합예약용 지원부서
  462. function fGetdata_TRAEA05301()
  463. {
  464. dsf_createDsRow("ds_cond_req", [ {col:"basesuppdeptcd", val:suppdeptcd}
  465. , {col:"instcd", val:sysf_getUserInfo("dutplceinstcd")}
  466. ]);
  467. var objParam = new Object();
  468. objParam.id = "TRAEA05301";
  469. objParam.service = "examcurersrvapp.RsrvRef";
  470. objParam.method = "reqGetRsrvSuppDeptCdList";
  471. objParam.inds = "req=ds_cond_req";
  472. objParam.outds ="ds_data_suppdept=item";
  473. objParam.callback = "cbf_TRAEA05301";
  474. tranf_submit(objParam);
  475. }
  476. function cbf_TRAEA05301(strSvcID, nErrorCode, strErrorMsg){
  477. //에러 처리
  478. if(nErrorCode == 0){
  479. frmf_addComboItem("grp_sea.cmb_deptcd1", "-- 전체 --", "", "");
  480. grp_sea.cmb_deptcd1.index = 0;
  481. }else{
  482. }
  483. }
  484. // 통합예약용 검사 치료실
  485. function fGetdata_TRAEA00902(){
  486. var supcd = grp_sea.cmb_deptcd1.value;
  487. dsf_createDsRow("ds_send3_req",
  488. [{col:"basecd", val:""}
  489. ,{col:"basesuppdeptcd", val:supcd}
  490. ,{col:"rbasecdflag", val:"R"}
  491. ,{col:"instcd", val:sysf_getUserInfo("dutplceinstcd")}]);
  492. var objParam = new Object();
  493. objParam.id = "TRAEA00902";
  494. objParam.service = "examcurebaseapp.ExamCureRoom";
  495. objParam.method = "reqGetExamCureRoomGrpList";
  496. objParam.inds = "req=ds_send3_req";
  497. objParam.outds ="ds_data_excuroom=item";
  498. objParam.callback = "cbf_TRAEA00902";
  499. tranf_submit(objParam);
  500. }
  501. function cbf_TRAEA00902(strSvcID, nErrorCode, strErrorMsg){
  502. //에러 처리
  503. if(nErrorCode == 0){
  504. frmf_addComboItem("grp_sea.cmb_excuroom1", "-- 전체 --", "", "");
  505. grp_sea.cmb_excuroom1.index = 0;
  506. }else{
  507. }
  508. }
  509. //=======================================================================================
  510. // Event
  511. //---------------------------------------------------------------------------------------
  512. /****************************************************************************************
  513. * Components :
  514. * Components ID : SMAEA00800
  515. * Event : onload
  516. * Argument : 01.obj : Object Event has occurred
  517. * : 02.e : Event Object
  518. * Description :
  519. ****************************************************************************************/
  520. function SMAEA00800_onload(obj:Form, e:LoadEventInfo)
  521. {
  522. frmf_initForm(obj); // 화면공통
  523. lf_aezfSetSuppDeptcd();
  524. //부서정보 가져오기
  525. //ds_send.setColumn(0,"basesuppdeptcd",suppdeptcd);
  526. //환자정보조회 세팅
  527. var sdate = utlf_getCurrentDate();
  528. grp_sea.ipt_endrsrvdd.value = sdate;
  529. // 글로벌변수(등록번호)가 있는경우
  530. //초기날짜
  531. grp_sea.ipt_startrsrvdd.value = utlf_getCurrentDate().toDate().getAddDate(-12,"M").getDateFormat("YYYYMMDD");
  532. grp_sea.ipt_endrsrvdd.value = utlf_getCurrentDate().toDate().getAddDate(6,"M").getDateFormat("YYYYMMDD");
  533. //지원부서 가져오기
  534. f_TRAEA01301();
  535. grp_sea.cmb_deptcd.index=ds_cmb_suppdept.findRow("suppdeptcd",suppdeptcd);
  536. var gv_pid = sysf_getGlobalVariable("gv_pid", "A");
  537. if(!utlf_isNull(gv_pid)) {
  538. ds_send.setColumn(0,"pid",gv_pid);
  539. ds_send.setColumn(0,"gb","1");
  540. readfunc();
  541. }
  542. else
  543. {
  544. // 통합 예약에서 전달받은 pid 확인
  545. var pid = opener.frmf_getParameter("SMPEA00100_pid");
  546. if (!utlf_isNull(pid)) {
  547. ds_send.setColumn(0, "pid", pid);
  548. }
  549. ds_send.setColumn(0,"gb","1");
  550. if (!utlf_isNull(ds_send.getColumn(0,"pid")))
  551. {
  552. grd_rsrvcnclprescond.setRealColSize(1, 0);
  553. grd_rsrvcnclprescond.setRealColSize(2, 0);
  554. /*
  555. ds_send.setColumn(0,"suppdeptcd","");
  556. ds_send.setColumn(0,"excuroomcd",grp_sea.cmb_excuroom.value);
  557. ds_send.setColumn(0,"juminno",grp_sea.input2.value);
  558. ds_send.setColumn(0,"fromdate",grp_sea.ipt_startrsrvdd.value);
  559. ds_send.setColumn(0,"todate",grp_sea.ipt_endrsrvdd.value);
  560. */
  561. readfunc();
  562. }
  563. else
  564. {
  565. grp_sea.ipt_pid.setFocus();
  566. }
  567. }
  568. //마우스 우클릭 이벤트
  569. lf_init_SMAEA00800();
  570. }
  571. /****************************************************************************************
  572. * Components :
  573. * Components ID : btn_sea
  574. * Event : onclick
  575. * Argument : 01.obj : Object Event has occurred
  576. * : 02.e : Event Object
  577. * Description :
  578. ****************************************************************************************/
  579. function btn_sea_onclick(obj:Button, e:ClickEventInfo)
  580. {
  581. readfunc();
  582. }
  583. /****************************************************************************************
  584. * Components :
  585. * Components ID : button1
  586. * Event : onclick
  587. * Argument : 01.obj : Object Event has occurred
  588. * : 02.e : Event Object
  589. * Description :
  590. ****************************************************************************************/
  591. function button1_onclick(obj:Button, e:ClickEventInfo)
  592. {
  593. ds_send.setColumn(0, "gb", "1");
  594. readfunc();
  595. }
  596. /****************************************************************************************
  597. * Components :
  598. * Components ID : button2
  599. * Event : onclick
  600. * Argument : 01.obj : Object Event has occurred
  601. * : 02.e : Event Object
  602. * Description :
  603. ****************************************************************************************/
  604. function button2_onclick(obj:Button, e:ClickEventInfo)
  605. {
  606. ds_send.setColumn(0, "gb", "2");
  607. readfunc();
  608. }
  609. /****************************************************************************************
  610. * Components :
  611. * Components ID : button4
  612. * Event : onclick
  613. * Argument : 01.obj : Object Event has occurred
  614. * : 02.e : Event Object
  615. * Description :
  616. ****************************************************************************************/
  617. function button4_onclick(obj:Button, e:ClickEventInfo)
  618. {
  619. if(ds_grid_grd_rsrvcnclprescond.getRowCount() <= 0)
  620. {
  621. sysf_messageBox("엑셀파일로 저장할 리스트 내역이", "I004");
  622. return;
  623. }
  624. else
  625. {
  626. grdf_exportExcel(grd_rsrvcnclprescond, "검사예약변경조회", "sheet1");
  627. }
  628. }
  629. /****************************************************************************************
  630. * Components :
  631. * Components ID : radio2
  632. * Event : onitemchanged
  633. * Argument : 01.obj : Object Event has occurred
  634. * : 02.e : Event Object
  635. * Description : 정렬방식 선택시
  636. ****************************************************************************************/
  637. function radio2_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  638. {
  639. readfunc();
  640. }
  641. /****************************************************************************************
  642. * Components :
  643. * Components ID : button3
  644. * Event : onclick
  645. * Argument : 01.obj : Object Event has occurred
  646. * : 02.e : Event Object
  647. * Description : 정렬방식 제거
  648. ****************************************************************************************/
  649. function button3_onclick(obj:Button, e:ClickEventInfo)
  650. {
  651. radio2.value = "";
  652. grp_sea.btn_sea.click();
  653. }
  654. /****************************************************************************************
  655. * Components :
  656. * Components ID : grd_rsrvcnclprescond
  657. * Event : onrbuttondown
  658. * Argument : 01.obj : Object Event has occurred
  659. * : 02.e : Event Object
  660. * Description : 마우스 우클릭시 클립보드 형태로 그리드 셀값 복사
  661. ****************************************************************************************/
  662. function grd_rsrvcnclprescond_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
  663. {
  664. if(e.row >= 0)
  665. {
  666. this.ds_grid_grd_rsrvcnclprescond.rowposition = e.row;
  667. pmn_popupMenu.trackPopup(e.screenX,e.screenY);
  668. cellvalue = grd_rsrvcnclprescond.getCellProperty( "Body", e.cell, "text" ).replace("bind:", "");
  669. }
  670. }
  671. function lf_init_SMAEA00800()
  672. {
  673. frmf_createPopupMenu("pmn_popupMenu", "pmn_popupMenu_onmenuclick", [{id: "astgrid_liscopy", level: "1", title: "복사하기"}]);
  674. }
  675. function pmn_popupMenu_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
  676. {
  677. astgrid_liscopy();
  678. }
  679. function astgrid_liscopy()
  680. {
  681. var varCol = ds_grid_grd_rsrvcnclprescond.getColumn(ds_grid_grd_rsrvcnclprescond.rowposition, cellvalue);
  682. system.setClipboard("CF_TEXT", varCol);
  683. }
  684. /****************************************************************************************
  685. * Components :
  686. * Components ID : radio1
  687. * Event : onitemchanged
  688. * Argument : 01.obj : Object Event has occurred
  689. * : 02.e : Event Object
  690. * Description : tree여부 변경시 조회
  691. ****************************************************************************************/
  692. function grp_sea_radio1_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  693. {
  694. readfunc();
  695. }
  696. /****************************************************************************************
  697. * Components :
  698. * Components ID : input2
  699. * Event : ontextchanged
  700. * Argument : 01.obj : Object Event has occurred
  701. * : 02.e : Event Object
  702. * Description : 주민번호 입력시
  703. ****************************************************************************************/
  704. function grp_sea_input2_ontextchanged(obj:MaskEdit, e:TextChangedEventInfo)
  705. {
  706. if(!utlf_isNull(grp_sea.input2.value))
  707. {
  708. ds_send.setColumn(0, "gb", "2");
  709. readfunc();
  710. }
  711. }
  712. /****************************************************************************************
  713. * Components :
  714. * Components ID : cmb_excuroom
  715. * Event : onitemchanged
  716. * Argument : 01.obj : Object Event has occurred
  717. * : 02.e : Event Object
  718. * Description : 검사/치료실 선택시 조회
  719. ****************************************************************************************/
  720. function grp_sea_cmb_excuroom_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  721. {
  722. obj.updateToDataset();
  723. readfunc();
  724. }
  725. function grd_rsrvcnclprescond_oncolresized(obj:Grid, e:GridSizeChangedEventInfo)
  726. {
  727. if(e.newvalue == 0){
  728. obj.setRealColSize(e.subindex, 1);
  729. }
  730. }
  731. /****************************************************************************************
  732. * Components :
  733. * Components ID : cmb_deptcd
  734. * Event : onitemchanged
  735. * Argument : 01.obj : Object Event has occurred
  736. * : 02.e : Event Object
  737. * Description : 지원부서 선택시 조회
  738. ****************************************************************************************/
  739. function grp_sea_cmb_deptcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  740. {
  741. readfunc();
  742. }
  743. function grd_rsrvcnclprescond_oncellclick(obj:Grid, e:GridClickEventInfo)
  744. {
  745. // f_patinfo();
  746. cellvalue = grd_rsrvcnclprescond.getCellProperty( "Body", e.cell, "text" ).replace("bind:", "");
  747. }
  748. /****************************************************************************************
  749. * Components :
  750. * Components ID : cmb_deptcd1
  751. * Event : onitemchanged
  752. * Argument : 01.obj : Object Event has occurred
  753. * : 02.e : Event Object
  754. * Description : 통합예약용 지원부서 선택시 조회
  755. ****************************************************************************************/
  756. function grp_sea_cmb_deptcd1_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  757. {
  758. fGetdata_TRAEA00902();
  759. readfunc();
  760. }
  761. /****************************************************************************************
  762. * Components :
  763. * Components ID : cmb_deptcd1
  764. * Event : onitemchanged
  765. * Argument : 01.obj : Object Event has occurred
  766. * : 02.e : Event Object
  767. * Description : 통합예약용 검사/치료실 선택시 조회
  768. ****************************************************************************************/
  769. function grp_sea_cmb_excuroom1_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  770. {
  771. readfunc();
  772. }
  773. function group3_Button00_onclick(obj:Button, e:ClickEventInfo)
  774. {
  775. group3.visible = false;
  776. // 예약내역현황 그리드 원래 크기
  777. grd_rsrvcnclprescond.position.bottom = 805;
  778. }
  779. function grp_sea_ipt_pid_onkeydown(obj:Edit, e:KeyEventInfo)
  780. {
  781. if(e.keycode == 13)
  782. {
  783. obj.updateToDataset();
  784. readfunc();
  785. }
  786. }
  787. function grp_sea_input2_onkeydown(obj:MaskEdit, e:KeyEventInfo)
  788. {
  789. if(e.keycode == 13)
  790. {
  791. if (!utlf_isNull(obj.value)){
  792. ds_send.setColumn(0,"gb", "2");
  793. readfunc();
  794. }
  795. }
  796. }
  797. function grp_sea_btn_pidsearch_onclick(obj:Button, e:ClickEventInfo)
  798. {
  799. // 환자조회화면 호출
  800. frmf_modal("SPPMC02500", "SPPMC02500", "", "", "", "", "", "", "", "", "", "", "M");
  801. ds_send.setColumn(0,"pid",ds_patinfolist.getColumn(0,"pid"));
  802. ds_send.setColumn(0,"juminno",ds_patinfolist.getColumn(0,"juminno"));
  803. ds_send.setColumn(0,"gb" ,"1");
  804. if(!utlf_isNull(ds_send.getColumn(0,"pid"))) btn_sea_onclick();
  805. }
  806. function grd_rsrvcnclprescond_onkeydown(obj:Grid, e:KeyEventInfo)
  807. {
  808. if(e.ctrlKey == true && e.keycode == 67)
  809. {
  810. astgrid_liscopy();
  811. }
  812. }
  813. ]]></Script>
  814. </Form>
  815. </FDL>