SMAEA05900_파트별처방조회.xfdl 48 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMAEA05900" position="absolute 0 0 1186 776" titletext="영상의학 파트별 처방이력 관리" oninit="SMAEA05900_oninit" onload="SMAEA05900_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 2 745 1184 772" id="grp_btn">
  8. <Layouts>
  9. <Layout>
  10. <Button position="absolute 0 3 147 25" id="btn_prt" class="btn6" taborder="6" text="파트별 처방이력 출력" anchor="default" onclick="grp_btn_btn_prt_onclick"/>
  11. <Button position="absolute 235 3 383 25" id="button1" class="btn6" taborder="7" text="개인별 처방이력 출력" anchor="default" onclick="grp_btn_button1_onclick"/>
  12. <Edit position="absolute 386 5 406 24" id="ipt_prntnum" anchor="default"/>
  13. <CheckBox position="absolute 152 4 177 24" id="bool_part" anchor="default"/>
  14. <CheckBox position="absolute 410 4 435 24" id="bool_indi" anchor="default"/>
  15. <Static text="미리보기" position="absolute 177 5 227 25" id="caption5" anchor="default"/>
  16. <Static text="미리보기" position="absolute 433 5 483 25" id="caption7" anchor="default"/>
  17. </Layout>
  18. </Layouts>
  19. </Div>
  20. <Div position="absolute 0 18 1185 750" id="grp_main" scrollbars="autoboth">
  21. <Layouts>
  22. <Layout>
  23. <Static text="파트별 처방이력 LIST" position="absolute 0 56 190 72" id="caption45" class="tit_2" anchor="default"/>
  24. <Shape position="absolute 0 72 1185 78" linetype="horizontal" id="line18" class="line_10" anchor="default"/>
  25. <Grid position="absolute 0 77 1185 727" id="mltgrd_partlst" anchor="default" binddataset="ds_main_partprcplst_item" onexpandup="grp_main_mltgrd_partlst_onexpandup" autoenter="key">
  26. <Formats>
  27. <Format id="default">
  28. <Columns>
  29. <Column size="25"/>
  30. <Column size="25"/>
  31. <Column size="130"/>
  32. <Column size="85"/>
  33. <Column size="75"/>
  34. <Column size="80"/>
  35. <Column size="60"/>
  36. <Column size="90"/>
  37. <Column size="90"/>
  38. <Column size="50"/>
  39. <Column size="70"/>
  40. <Column size="90"/>
  41. <Column size="90"/>
  42. <Column size="100"/>
  43. <Column size="100"/>
  44. </Columns>
  45. <Rows>
  46. <Row size="24" band="head"/>
  47. <Row size="24" band="head"/>
  48. <Row size="24"/>
  49. <Row size="24"/>
  50. </Rows>
  51. <Band id="head">
  52. <Cell rowspan="2" taborder="undefined"/>
  53. <Cell col="1" rowspan="2" displaytype="checkbox" edittype="checkbox" taborder="undefined"/>
  54. <Cell col="2" text="촬 영 예 정"/>
  55. <Cell col="3" text="등 록 번 호"/>
  56. <Cell col="4" text="성 명"/>
  57. <Cell col="5" colspan="2" text="진 료 과" taborder="undefined"/>
  58. <Cell col="7" colspan="3" text="촬 영 의 뢰 내 역" taborder="undefined"/>
  59. <Cell col="10" text="촬 영 부 위"/>
  60. <Cell col="11" colspan="2" text="주 상 병" taborder="undefined"/>
  61. <Cell col="13" rowspan="2" text="접수 Comment" taborder="undefined"/>
  62. <Cell col="14" rowspan="2" text="실시 Comment" taborder="undefined"/>
  63. <Cell row="1" col="2" text="처 방 일 자"/>
  64. <Cell row="1" col="3" text="접 수 번 호"/>
  65. <Cell row="1" col="4" text="성 별/나 이"/>
  66. <Cell row="1" col="5" text="병 실" wordwrap="none"/>
  67. <Cell row="1" col="6" text="외 / 입"/>
  68. <Cell row="1" col="7" text="진 료 의"/>
  69. <Cell row="1" col="8" text="촬 영 실"/>
  70. <Cell row="1" col="9" text="횟 수"/>
  71. <Cell row="1" col="10" text="판 독 일 자"/>
  72. <Cell row="1" col="11" text="상 태"/>
  73. <Cell row="1" col="12" text="접 수 자"/>
  74. </Band>
  75. <Band id="body">
  76. <Cell rowspan="2" celltype="head" text="expr:currow+1" taborder="undefined"/>
  77. <Cell col="1" rowspan="2" displaytype="checkbox" edittype="checkbox" text="bind:check1" taborder="undefined"/>
  78. <Cell col="2" text="bind:rsrvdt"/>
  79. <Cell col="3" text="bind:pid"/>
  80. <Cell col="4" text="bind:patnm"/>
  81. <Cell col="5" colspan="2" style="align:left top;padding:5 2 0 2;" text="bind:orddepthngnm" taborder="undefined"/>
  82. <Cell col="7" colspan="3" style="align:left middle;padding:0 2 0 2;" text="bind:prcpnm" taborder="undefined"/>
  83. <Cell col="10" text="bind:section"/>
  84. <Cell col="11" colspan="2" style="align:left middle;padding:0 2 0 2;" text="bind:termengn" taborder="undefined"/>
  85. <Cell col="13" rowspan="2" displaytype="text" edittype="text" style="align:left top;padding:5 2 0 2;" text="bind:acptrem" taborder="undefined" expandshow="show"/>
  86. <Cell col="14" rowspan="2" displaytype="text" edittype="text" style="align:left top;padding:5 2 0 2;" text="bind:execrem" taborder="undefined" expandshow="show"/>
  87. <Cell row="1" col="2" text="bind:prcpdd" mask="@@@@-@@-@@ @@:@@:@@"/>
  88. <Cell row="1" col="3" text="bind:pacsno"/>
  89. <Cell row="1" col="4" text="bind:sna"/>
  90. <Cell row="1" col="5" text="bind:roomcd"/>
  91. <Cell row="1" col="6" text="bind:prcpgenrflag"/>
  92. <Cell row="1" col="7" text="bind:orddrnm"/>
  93. <Cell row="1" col="8" text="bind:basecdflagdes"/>
  94. <Cell row="1" col="9" text="bind:phocntstats"/>
  95. <Cell row="1" col="10" text="bind:cnfmdt"/>
  96. <Cell row="1" col="11" text="bind:dispexecprcpstatnm"/>
  97. <Cell row="1" col="12" text="bind:acptid"/>
  98. </Band>
  99. </Format>
  100. </Formats>
  101. </Grid>
  102. <Div position="absolute 390 295 835 540" id="grp_prcpcment" visible="false" anchor="default">
  103. <Layouts>
  104. <Layout>
  105. <Shape position="absolute 0 0 445 245" id="rectangle1" type="rectangle" anchor="default"/>
  106. <TextArea position="absolute 5 30 440 210" id="txt_prcpcment" anchor="default"/>
  107. <Button position="absolute 380 215 436 237" id="btn_cls" class="btn4" text="닫기" anchor="default" onclick="grp_main_grp_prcpcment_btn_cls_onclick"/>
  108. <Button position="absolute 320 215 376 237" id="btn_savecment" class="btn4" text="저장" anchor="default" onclick="grp_main_grp_prcpcment_btn_savecment_onclick"/>
  109. <Static text="접수Comment" position="absolute 5 12 178 28" id="caption32" class="tit_2" anchor="default"/>
  110. </Layout>
  111. </Layouts>
  112. </Div>
  113. <Div position="absolute 390 295 835 540" id="grp_execment" visible="false" anchor="default">
  114. <Layouts>
  115. <Layout>
  116. <Shape position="absolute 0 0 444 244" id="rectangle5" type="rectangle" anchor="default"/>
  117. <TextArea position="absolute 4 30 439 210" id="txta_exerem" anchor="default"/>
  118. <Button position="absolute 380 215 436 237" id="btn_execclse" class="btn4" text="닫기" anchor="default" onclick="grp_main_grp_execment_btn_execclse_onclick"/>
  119. <Button position="absolute 320 215 376 237" id="btn_execsave" class="btn4" text="저장" anchor="default" onclick="grp_main_grp_execment_btn_execsave_onclick"/>
  120. <Static text="실시Comment" position="absolute 4 12 177 28" id="caption8" class="tit_2" anchor="default"/>
  121. </Layout>
  122. </Layouts>
  123. </Div>
  124. </Layout>
  125. </Layouts>
  126. </Div>
  127. <Static id="caption6" text="영상의학 파트별 처방이력 관리" class="tit_1" position="absolute 0 0 220 25"/>
  128. <Div id="grp_srch" taborder="1" class="div_SA" position="absolute 0 25 1185 65">
  129. <Layouts>
  130. <Layout>
  131. <Shape id="line16" linetype="vertical" class="line_4" position="absolute 1102 9 1108 31" anchor="default"/>
  132. <Button id="btn_select" taborder="5" text="조회" class="btn1" position="absolute 1118 9 1174 31" anchor="default" onclick="grp_srch_btn_select_onclick"/>
  133. <Calendar id="ipt_srchtodd" taborder="6" class="input_essential" position="absolute 785 10 887 29" anchor="default"/>
  134. <Calendar id="ipt_srchfromdd" taborder="7" class="input_essential" position="absolute 659 10 761 29" anchor="default"/>
  135. <Static id="lbl_srchdd" text="구분 :" class="search_name" position="absolute 10 12 72 29" anchor="default"/>
  136. <Static id="lbl_~" text="~" class="search_no_b" position="absolute 768 12 780 29" anchor="default"/>
  137. <Static id="caption1" text="SECTION :" class="search_name" position="absolute 361 12 439 29" anchor="default"/>
  138. <Combo id="cmb_initsect" taborder="8" innerdataset="@ds_init_cmb_section" codecolumn="sectionid" datacolumn="sectionnm" class="combo_search" position="absolute 460 10 560 29" anchor="default"/>
  139. <Combo id="cmb_excuroomgrp" taborder="9" innerdataset="@ds_init_cmb_info_initexcuroomgrp" codecolumn="excuroomgrpcdid" datacolumn="excuroomgrpcdnm" class="combo_search" position="absolute 73 10 153 29" anchor="default" onitemchanged="grp_srch_cmb_excuroomgrp_onitemchanged"/>
  140. <Static id="caption2" text="조회기간 :" class="search_name" position="absolute 570 13 648 30" anchor="default"/>
  141. <Static id="caption3" text="구분 :" class="search_name" position="absolute 895 13 949 30" anchor="default"/>
  142. <Radio id="rdo_flag" taborder="10" columncount="3" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 952 12 1100 29" anchor="default">
  143. <Dataset id="innerdataset">
  144. <ColumnInfo>
  145. <Column id="codecolumn"/>
  146. <Column id="datacolumn"/>
  147. </ColumnInfo>
  148. <Rows>
  149. <Row>
  150. <Col id="codecolumn">A</Col>
  151. <Col id="datacolumn">전체</Col>
  152. </Row>
  153. <Row>
  154. <Col id="codecolumn">E</Col>
  155. <Col id="datacolumn">영상</Col>
  156. </Row>
  157. <Row>
  158. <Col id="codecolumn">S</Col>
  159. <Col id="datacolumn">건진</Col>
  160. </Row>
  161. </Rows>
  162. </Dataset>
  163. </Radio>
  164. <Static id="caption4" text="검사실 :" class="search_name" position="absolute 167 12 237 29" anchor="default"/>
  165. <Combo id="cmb_exroom" taborder="11" innerdataset="@ds_init_cmb_info2_initexecroom" codecolumn="excuroomcdid" datacolumn="excuroomcdnm" class="combo_search" position="absolute 244 10 350 29" anchor="default"/>
  166. </Layout>
  167. </Layouts>
  168. </Div>
  169. </Layout>
  170. </Layouts>
  171. <Objects>
  172. <Dataset id="ds_main_execrcodelist_execrcode" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  173. <ColumnInfo>
  174. <Column id="sortno" type="STRING" size="256"/>
  175. <Column id="basecd" type="STRING" size="256"/>
  176. <Column id="basecdflagdesc" type="STRING" size="256"/>
  177. <Column id="basecdcnts" type="STRING" size="256"/>
  178. <Column id="basecdflag" type="STRING" size="256"/>
  179. <Column id="basesuppdeptcd" type="STRING" size="256"/>
  180. <Column id="seq" type="STRING" size="256"/>
  181. </ColumnInfo>
  182. <Rows>
  183. <Row>
  184. <Col id="sortno"/>
  185. <Col id="basecd"/>
  186. <Col id="basecdflagdesc"/>
  187. <Col id="basecdcnts"/>
  188. <Col id="basecdflag"/>
  189. <Col id="basesuppdeptcd"/>
  190. <Col id="seq"/>
  191. </Row>
  192. </Rows>
  193. </Dataset>
  194. <Dataset id="ds_main_partprcplst_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  195. <ColumnInfo>
  196. <Column id="check1" type="STRING" size="256"/>
  197. <Column id="orddrid" type="STRING" size="256"/>
  198. <Column id="prcpdd" type="STRING" size="256"/>
  199. <Column id="rgsttm" type="STRING" size="256"/>
  200. <Column id="execprcpstatcd" type="STRING" size="256"/>
  201. <Column id="dispexecprcpstatnm" type="STRING" size="256"/>
  202. <Column id="prcpkindcd" type="STRING" size="256"/>
  203. <Column id="prcpnm" type="STRING" size="256"/>
  204. <Column id="wardcd" type="STRING" size="256"/>
  205. <Column id="wardcddeptengabbr" type="STRING" size="256"/>
  206. <Column id="roomcd" type="STRING" size="256"/>
  207. <Column id="prcpexecdeptcd" type="STRING" size="256"/>
  208. <Column id="inclprcpcd" type="STRING" size="256"/>
  209. <Column id="excuroomnm" type="STRING" size="256"/>
  210. <Column id="rgstdepthngnm" type="STRING" size="256"/>
  211. <Column id="rgstridnm" type="STRING" size="256"/>
  212. <Column id="prcpgenrflag" type="STRING" size="256"/>
  213. <Column id="rsrvdt" type="STRING" size="256"/>
  214. <Column id="execprcpuniqno" type="STRING" size="256"/>
  215. <Column id="calcscorcd" type="STRING" size="256"/>
  216. <Column id="prcpexecdeptcd" type="STRING" size="256"/>
  217. <Column id="excuroomcd" type="STRING" size="256"/>
  218. <Column id="excuroomgrpcd" type="STRING" size="256"/>
  219. <Column id="rgstdeptcd" type="STRING" size="256"/>
  220. <Column id="rgstrid" type="STRING" size="256"/>
  221. <Column id="pid" type="STRING" size="256"/>
  222. <Column id="portprcpflag" type="STRING" size="256"/>
  223. <Column id="inflag" type="STRING" size="256"/>
  224. <Column id="prcpno" type="STRING" size="256"/>
  225. <Column id="prcphistno" type="STRING" size="256"/>
  226. <Column id="rrgstno1" type="STRING" size="256"/>
  227. <Column id="rrgstno2" type="STRING" size="256"/>
  228. <Column id="sna" type="STRING" size="256"/>
  229. <Column id="rcptacptyn" type="STRING" size="256"/>
  230. <Column id="execbaseflag" type="STRING" size="256"/>
  231. <Column id="lrgcd" type="STRING" size="256"/>
  232. <Column id="mdlcd" type="STRING" size="256"/>
  233. <Column id="excupartcd" type="STRING" size="256"/>
  234. <Column id="modality" type="STRING" size="256"/>
  235. <Column id="acptrem" type="STRING" size="256"/>
  236. <Column id="execrem" type="STRING" size="256"/>
  237. <Column id="reqagnphoyn" type="STRING" size="256"/>
  238. <Column id="dyetrivialyn" type="STRING" size="256"/>
  239. <Column id="acptdt" type="STRING" size="256"/>
  240. <Column id="pacsnocretcdyn" type="STRING" size="256"/>
  241. <Column id="pacsnocretyn" type="STRING" size="256"/>
  242. <Column id="acptid" type="STRING" size="256"/>
  243. <Column id="execrid1" type="STRING" size="256"/>
  244. <Column id="execrid2" type="STRING" size="256"/>
  245. <Column id="execrid3" type="STRING" size="256"/>
  246. <Column id="execrid4" type="STRING" size="256"/>
  247. <Column id="execdd" type="STRING" size="256"/>
  248. <Column id="execdt" type="STRING" size="256"/>
  249. <Column id="cnfmdt" type="STRING" size="256"/>
  250. <Column id="ivinputyn" type="STRING" size="256"/>
  251. <Column id="arvtm" type="STRING" size="256"/>
  252. <Column id="excuexecfromdt1" type="STRING" size="256"/>
  253. <Column id="excueqcd1" type="STRING" size="256"/>
  254. <Column id="rslttmplcd" type="STRING" size="256"/>
  255. <Column id="eqmtifyn" type="STRING" size="256"/>
  256. <Column id="basecdflagdes" type="STRING" size="256"/>
  257. <Column id="rcptno" type="STRING" size="256"/>
  258. <Column id="prcpdelivefact" type="STRING" size="256"/>
  259. <Column id="clinccmtcnts" type="STRING" size="256"/>
  260. <Column id="patnm" type="STRING" size="256"/>
  261. <Column id="payflagcd" type="STRING" size="256"/>
  262. <Column id="rsrvdd" type="STRING" size="256"/>
  263. <Column id="prcphopedd" type="STRING" size="256"/>
  264. <Column id="orddepthngnm" type="STRING" size="256"/>
  265. <Column id="orddrnm" type="STRING" size="256"/>
  266. <Column id="cntctel" type="STRING" size="256"/>
  267. <Column id="rcptdd" type="STRING" size="256"/>
  268. <Column id="carecnfmdd" type="STRING" size="256"/>
  269. <Column id="orddeptcd" type="STRING" size="256"/>
  270. <Column id="orddd" type="STRING" size="256"/>
  271. <Column id="actorddd" type="STRING" size="256"/>
  272. <Column id="cretno" type="STRING" size="256"/>
  273. <Column id="precureprcpflag" type="STRING" size="256"/>
  274. <Column id="clincstdycd" type="STRING" size="256"/>
  275. <Column id="basesuppdeptcd" type="STRING" size="256"/>
  276. <Column id="migyn" type="STRING" size="256"/>
  277. <Column id="prcpkindnm" type="STRING" size="256"/>
  278. <Column id="section" type="STRING" size="256"/>
  279. <Column id="phocntstats" type="STRING" size="256"/>
  280. <Column id="pacsno" type="STRING" size="256"/>
  281. <Column id="mdlcd" type="STRING" size="256"/>
  282. <Column id="termengn" type="STRING" size="256"/>
  283. </ColumnInfo>
  284. <Rows>
  285. <Row/>
  286. </Rows>
  287. </Dataset>
  288. <Dataset id="ds_send_srch" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  289. <ColumnInfo>
  290. <Column id="srchfromdd" type="STRING" size="256"/>
  291. <Column id="srchtodd" type="STRING" size="256"/>
  292. <Column id="grupcdid" type="STRING" size="256"/>
  293. <Column id="suppdeptcd" type="STRING" size="256"/>
  294. <Column id="dutplceinstcd" type="STRING" size="256"/>
  295. <Column id="basesuppdeptcd" type="STRING" size="256"/>
  296. <Column id="srchprodid" type="STRING" size="256"/>
  297. <Column id="srchinitsect" type="STRING" size="256"/>
  298. <Column id="srchexcuroomgrp" type="STRING" size="256"/>
  299. <Column id="prcpcment" type="STRING" size="256"/>
  300. <Column id="execprcpuniqno" type="STRING" size="256"/>
  301. <Column id="prcpdd" type="STRING" size="256"/>
  302. <Column id="acptrem" type="STRING" size="256"/>
  303. <Column id="srchflag" type="STRING" size="256"/>
  304. <Column id="execrem" type="STRING" size="256"/>
  305. <Column id="srchexecroom" type="STRING" size="256"/>
  306. </ColumnInfo>
  307. <Rows>
  308. <Row>
  309. <Col id="srchfromdd"/>
  310. <Col id="srchtodd"/>
  311. <Col id="grupcdid"/>
  312. <Col id="suppdeptcd"/>
  313. <Col id="dutplceinstcd"/>
  314. <Col id="basesuppdeptcd"/>
  315. <Col id="srchprodid"/>
  316. <Col id="srchinitsect"/>
  317. <Col id="srchexcuroomgrp"/>
  318. <Col id="prcpcment"/>
  319. <Col id="execprcpuniqno"/>
  320. <Col id="prcpdd"/>
  321. <Col id="acptrem"/>
  322. <Col id="srchflag"/>
  323. <Col id="execrem"/>
  324. <Col id="srchexecroom"/>
  325. </Row>
  326. </Rows>
  327. </Dataset>
  328. <Dataset id="ds_send_globalinstance" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  329. <ColumnInfo>
  330. <Column id="instance1" type="STRING" size="256"/>
  331. </ColumnInfo>
  332. <Rows>
  333. <Row/>
  334. </Rows>
  335. </Dataset>
  336. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  337. <ColumnInfo>
  338. <Column id="basecd" type="STRING" size="256"/>
  339. <Column id="basecdflag" type="STRING" size="256"/>
  340. <Column id="instcd" type="STRING" size="256"/>
  341. <Column id="selectallyn" type="STRING" size="256"/>
  342. <Column id="prntnum" type="STRING" size="256"/>
  343. <Column id="bolpart" type="STRING" size="256"/>
  344. <Column id="bolindi" type="STRING" size="256"/>
  345. <Column id="excuroomgrpcdid" type="STRING" size="256"/>
  346. </ColumnInfo>
  347. <Rows>
  348. <Row>
  349. <Col id="basecd"/>
  350. <Col id="basecdflag"/>
  351. <Col id="instcd"/>
  352. <Col id="selectallyn"/>
  353. <Col id="prntnum"/>
  354. <Col id="bolpart"/>
  355. <Col id="bolindi"/>
  356. <Col id="excuroomgrpcdid"/>
  357. </Row>
  358. </Rows>
  359. </Dataset>
  360. <Dataset id="ds_hidden_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  361. <ColumnInfo>
  362. <Column id="count" type="STRING" size="256"/>
  363. </ColumnInfo>
  364. <Rows>
  365. <Row/>
  366. </Rows>
  367. </Dataset>
  368. <Dataset id="ds_init_baseinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  369. <ColumnInfo>
  370. <Column id="initinsukind" type="STRING" size="256"/>
  371. </ColumnInfo>
  372. <Rows>
  373. <Row/>
  374. </Rows>
  375. </Dataset>
  376. <Dataset id="ds_init_cmb_section" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  377. <ColumnInfo>
  378. <Column id="sectionid" type="STRING" size="256" sumtext="sectionid"/>
  379. <Column id="sectionnm" type="STRING" size="256" sumtext="sectionnm"/>
  380. </ColumnInfo>
  381. </Dataset>
  382. <Dataset id="ds_temp_templst" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  383. <Dataset id="ds_rexprnt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  384. <ColumnInfo>
  385. <Column id="srchfromdd" type="STRING" size="256"/>
  386. <Column id="srchtodd" type="STRING" size="256"/>
  387. <Column id="excuroomgrp" type="STRING" size="256"/>
  388. <Column id="initsect" type="STRING" size="256"/>
  389. <Column id="partprcplst" type="STRING" size="256"/>
  390. <Column id="execroom" type="STRING" size="256"/>
  391. </ColumnInfo>
  392. <Rows>
  393. <Row>
  394. <Col id="srchfromdd"/>
  395. <Col id="srchtodd"/>
  396. <Col id="excuroomgrp"/>
  397. <Col id="initsect"/>
  398. <Col id="partprcplst"/>
  399. <Col id="execroom"/>
  400. </Row>
  401. </Rows>
  402. </Dataset>
  403. <Dataset id="ds_rexdata_partprcplst" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  404. <Dataset id="ds_init_cmb_info_initexcuroomgrp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  405. <ColumnInfo>
  406. <Column id="excuroomgrpcdid" type="STRING" size="256"/>
  407. <Column id="excuroomgrpcdnm" type="STRING" size="256"/>
  408. </ColumnInfo>
  409. </Dataset>
  410. <Dataset id="ds_init_cmb_info_initexecroom" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  411. <ColumnInfo>
  412. <Column id="excuroomcdid" type="STRING" size="256"/>
  413. <Column id="excuroomcdnm" type="STRING" size="256"/>
  414. </ColumnInfo>
  415. </Dataset>
  416. <Dataset id="ds_init_cmb_info2_initexecroom" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  417. <ColumnInfo>
  418. <Column id="excuroomcdid" type="STRING" size="256"/>
  419. <Column id="excuroomcdnm" type="STRING" size="256"/>
  420. </ColumnInfo>
  421. </Dataset>
  422. </Objects>
  423. <Bind>
  424. <BindItem id="item0" compid="grp_srch.cmb_excuroomgrp" propid="value" datasetid="ds_send_srch" columnid="srchexcuroomgrp"/>
  425. <BindItem id="item1" compid="grp_srch.cmb_exroom" propid="value" datasetid="ds_send_srch" columnid="srchexecroom"/>
  426. <BindItem id="item2" compid="grp_srch.cmb_initsect" propid="value" datasetid="ds_send_srch" columnid="srchinitsect"/>
  427. <BindItem id="item3" compid="grp_srch.ipt_srchfromdd" propid="value" datasetid="ds_send_srch" columnid="srchfromdd"/>
  428. <BindItem id="item4" compid="grp_srch.ipt_srchtodd" propid="value" datasetid="ds_send_srch" columnid="srchtodd"/>
  429. <BindItem id="item5" compid="grp_srch.rdo_flag" propid="value" datasetid="ds_send_srch" columnid="srchflag"/>
  430. <BindItem id="item6" compid="grp_main.grp_execment.txta_exerem" propid="value" datasetid="ds_send_srch" columnid="execrem"/>
  431. <BindItem id="item7" compid="grp_main.grp_prcpcment.txt_prcpcment" propid="value" datasetid="ds_send_srch" columnid="acptrem"/>
  432. <BindItem id="item8" compid="grp_btn.bool_part" propid="value" datasetid="ds_send" columnid="bolpart"/>
  433. <BindItem id="item9" compid="grp_btn.ipt_prntnum" propid="value" datasetid="ds_send" columnid="prntnum"/>
  434. <BindItem id="item10" compid="grp_btn.bool_indi" propid="value" datasetid="ds_send" columnid="bolindi"/>
  435. </Bind>
  436. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  437. * System Name :
  438. * Job Name :
  439. * Creator :
  440. * Make Date : 2015-11-13
  441. * Description :
  442. *---------------------------------------------------------------------------------------
  443. * Modify Date Modifier Modify Description
  444. *---------------------------------------------------------------------------------------
  445. * 2015-11-13 Live Converter TF->XP
  446. *
  447. *---------------------------------------------------------------------------------------
  448. ****************************************************************************************/
  449. //=======================================================================================
  450. // Lib Include
  451. //---------------------------------------------------------------------------------------
  452. include "com_commonxp::comm_main.xjs"
  453. include "ast_examcurexp::AEZ0001.xjs"
  454. include "ast_examcurexp::combolist.xjs"
  455. //include "ast_dentalcraftxp::dentalcraftcombolist.xjs"
  456. //=======================================================================================
  457. // Global Form Variable
  458. //---------------------------------------------------------------------------------------
  459. var arErrorCode = new HashArray();
  460. var gSuppdeptcd = "";
  461. //=======================================================================================
  462. // Function
  463. //---------------------------------------------------------------------------------------
  464. /****************************************************************************************
  465. * Argument : N/A
  466. * Description : 화면 기본 초기화
  467. ****************************************************************************************/
  468. function fGetScreenInit() {
  469. ds_send.clearData();
  470. ds_send.addRow();
  471. ds_send_srch.setColumn(0,"srchfromdd", utlf_getCurrentDate() );
  472. ds_send_srch.setColumn(0,"srchtodd" , utlf_getCurrentDate() );
  473. ds_send_srch.setColumn(0,"srchflag" , "A");
  474. ds_send.setColumn(0,"prntnum", "1");
  475. }
  476. /****************************************************************************************
  477. * Argument : N/A
  478. * Description : 콤보 초기화
  479. ****************************************************************************************/
  480. function fGetComboInit() {
  481. lf_aezfSetSuppDeptcd(); //AEZ0001.xjs
  482. gSuppdeptcd = frmf_getParameter("AST_DEPTCD");
  483. ds_send_srch.setColumn(0,"suppdeptcd", gSuppdeptcd);
  484. dsf_createDsRow("ds_req", [
  485. {col:"basesuppdeptcd", val:gSuppdeptcd}
  486. ,{col:"basrcdflag" , val:""}
  487. ]);
  488. // Section 정보
  489. var oParam = {};
  490. oParam.id = "TRAEF00203";
  491. oParam.service = "examcurersrvapp.RsrvRef";
  492. oParam.method = "reqGetExamCdList";
  493. oParam.inds = "req=ds_req";
  494. oParam.outds = "ds_init_cmb_section=initsection";
  495. oParam.async = false;
  496. //oParam.callback = "cf_TRAEF00203";
  497. tranf_submit(oParam);
  498. // 구분 정보
  499. dsf_createDsRow("ds_reqparam", [
  500. {col:"basesuppdeptcd", type:"STRING", size:256, val:gSuppdeptcd}
  501. , {col:"rbasecdflag" , type:"STRING", size:256, val:"R"}
  502. , {col:"ebasecdflag" , type:"STRING", size:256, val:"E"}
  503. , {col:"instcd" , type:"STRING", size:256, val:""}
  504. , {col:"initflag" , type:"STRING", size:256, val:"1"}
  505. , {col:"alladdyn" , type:"STRING", size:256, val:""}
  506. ]);
  507. var oParam = {};
  508. oParam.id = "TRAEA01301";
  509. oParam.service = "examcureacptexecapp.ExamCureAcpt";
  510. oParam.method = "reqGetInitExamCureRoomGrpCodeList";
  511. oParam.inds = "reqparam=ds_reqparam";
  512. oParam.outds = "ds_init_cmb_info_initexcuroomgrp=initexcuroomgrp ds_init_cmb_info2_initexecroom=initexcuroom";
  513. oParam.async = false;
  514. oParam.callback = "cf_TRAEA01301";
  515. tranf_submit(oParam);
  516. // model.removeNodeset("/root/init/cmb_info/initexecroom");
  517. // var cnt = getNodesetCount("/root/init/cmb_info/initexecroom");
  518. // for( var i = 1; i <= cnt ; i++ ){
  519. // model.makeNode("/root/init/cmb_info2/initexecroom[" + i + "]");
  520. // model.copyNode("/root/init/cmb_info2/initexecroom[" + i + "]", "/root/init/cmb_info/initexecroom[" + i + "]");
  521. // }
  522. ds_init_cmb_info2_initexecroom.clearData();
  523. // 검사실 Combo박스 전체추가
  524. dsf_addDsItem(ds_init_cmb_info2_initexecroom,"excuroomcdid","excuroomcdnm","-- 전체 --","all");
  525. grp_srch.cmb_excuroomgrp.index = 0;
  526. grp_srch.cmb_exroom.index = 0;
  527. grp_srch.cmb_initsect.index = 0;
  528. grp_btn.bool_part.value = true;
  529. grp_btn.bool_indi.value = true;
  530. }
  531. function cf_TRAEA01301(sSvcId, nErrorCode, sErrorMsg) {
  532. if(nErrorCode < 0) return;
  533. ds_init_cmb_info_initexcuroomgrp.updateColID("basecdcnts" ,"excuroomgrpcdid");
  534. ds_init_cmb_info_initexcuroomgrp.updateColID("basecdcnts2" ,"excuroomgrpcdnm");
  535. ds_init_cmb_info2_initexecroom.updateColID("basecd" ,"excuroomcdid");
  536. ds_init_cmb_info2_initexecroom.updateColID("basecdflagdesc" ,"excuroomcdnm");
  537. }
  538. //=======================================================================================
  539. // Event
  540. //---------------------------------------------------------------------------------------
  541. /****************************************************************************************
  542. * Components : Form
  543. * Components ID : SMAEA05900
  544. * Event : oninit
  545. * Argument : 01.obj : Object Event has occurred
  546. * : 02.e : Event Object
  547. * Description : 화면 처음 초기화시 폼초기화
  548. ****************************************************************************************/
  549. function SMAEA05900_oninit(obj:Form, e:InitEventInfo)
  550. {
  551. frmf_initForm(obj); // 폼 초기화
  552. }
  553. /****************************************************************************************
  554. * Components : Form
  555. * Components ID : SMAEA05900
  556. * Event : onload
  557. * Argument : 01.obj : Object Event has occurred
  558. * : 02.e : Event Object
  559. * Description : 화면 처음 초기화시 폼초기화
  560. ****************************************************************************************/
  561. function SMAEA05900_onload(obj:Form, e:LoadEventInfo)
  562. {
  563. fGetScreenInit();
  564. fGetComboInit();
  565. }
  566. /****************************************************************************************
  567. * Components : Combo
  568. * Components ID : grp_srch.cmb_excuroomgrp
  569. * Event : onitemchanged
  570. * Argument : 01.obj : Object Event has occurred
  571. * : 02.e : Event Object
  572. * Description : 구분 변경하여 검사실 조회
  573. ****************************************************************************************/
  574. function grp_srch_cmb_excuroomgrp_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  575. {
  576. ds_send.setColumn(0,"excuroomgrpcdid",e.postvalue);
  577. dsf_createDsRow("ds_reqparam", [
  578. {col:"basesuppdeptcd", type:"STRING", size:256, val:gSuppdeptcd}
  579. , {col:"rbasecdflag", type:"STRING", size:256, val:"R"}
  580. , {col:"ebasecdflag", type:"STRING", size:256, val:"E"}
  581. , {col:"basecdcnts", type:"STRING", size:256, val:e.postvalue}
  582. ]);
  583. var oParam = {};
  584. oParam.id = "TRAEA01306";
  585. oParam.service = "examcureacptexecapp.ExamCureAcpt";
  586. oParam.method = "reqGetInitPhotoExamCureRoomCodeList";
  587. oParam.inds = "reqparam=ds_reqparam";
  588. oParam.outds = "ds_init_cmb_info2_initexecroom=initexcuroom";
  589. oParam.async = false;
  590. oParam.callback = "cf_TRAEA01306";
  591. tranf_submit(oParam);
  592. grp_srch.cmb_exroom.index = 0;
  593. }
  594. function cf_TRAEA01306(sSvcId, nErrorCode, sErrorMsg) {
  595. if(nErrorCode < 0) return;
  596. ds_init_cmb_info2_initexecroom.updateColID("basecd" ,"excuroomcdid");
  597. ds_init_cmb_info2_initexecroom.updateColID("basecdflagdesc" ,"excuroomcdnm");
  598. }
  599. /****************************************************************************************
  600. * Components : Button
  601. * Components ID : grp_srch.btn_select
  602. * Event : onclick
  603. * Argument : 01.obj : Object Event has occurred
  604. * : 02.e : Event Object
  605. * Description : 조회
  606. ****************************************************************************************/
  607. function grp_srch_btn_select_onclick(obj:Button, e:ClickEventInfo)
  608. {
  609. dsf_createDsRow("ds_req", [
  610. {col:"lrgcd" , type:"STRING", size:256, val:ds_send_srch.getColumn(0,"srchexcuroomgrp")}
  611. , {col:"section" , type:"STRING", size:256, val:ds_send_srch.getColumn(0,"srchinitsect")}
  612. , {col:"srchfromdd" , type:"STRING", size:256, val:ds_send_srch.getColumn(0,"srchfromdd")}
  613. , {col:"srchtodd" , type:"STRING", size:256, val:ds_send_srch.getColumn(0,"srchtodd")}
  614. , {col:"suppdeptcd" , type:"STRING", size:256, val:gSuppdeptcd}
  615. , {col:"srchflag" , type:"STRING", size:256, val:ds_send_srch.getColumn(0,"srchflag")}
  616. , {col:"srchexecroom" , type:"STRING", size:256, val:ds_send_srch.getColumn(0,"srchexecroom")}
  617. ]);
  618. var oParam = {};
  619. oParam.id = "TRAEA05900";
  620. oParam.service = "examcureacptexecapp.ExamCureAcpt";
  621. oParam.method = "reqGetExamCurePartPrcplist";
  622. oParam.inds = "req=ds_req";
  623. oParam.outds = "ds_main_partprcplst_item=item";
  624. oParam.async = false;
  625. oParam.callback = "cf_TRAEA05900";
  626. tranf_submit(oParam);
  627. var row = ds_main_partprcplst_item.rowcount;
  628. for(var i = 0 ; i < row ; i++){
  629. if(ds_main_partprcplst_item.getColumn(i,"cnfmdt") == "00000000000000" ) {
  630. ds_main_partprcplst_item.setColumn(i,"cnfmdt", "-");
  631. }
  632. ds_main_partprcplst_item.setColumn(i,"prcpdd", ds_main_partprcplst_item.getColumn(i,"prcpdd") + ds_main_partprcplst_item.getColumn(i,"rgsttm"));
  633. }
  634. }
  635. function cf_TRAEA05900(sSvcId, nErrorCode, sErrorMsg) {
  636. if(nErrorCode < 0) return;
  637. ds_main_partprcplst_item.updateColID("basecdflagdesc","basecdflagdes");
  638. }
  639. /****************************************************************************************
  640. * Components : Grid
  641. * Components ID : grp_main.mltgrd_partlst
  642. * Event : onexpandup
  643. * Argument : 01.obj : Object Event has occurred
  644. * : 02.e : Event Object
  645. * Description : 리스트 코멘트 버튼 클릭
  646. ****************************************************************************************/
  647. function grp_main_mltgrd_partlst_onexpandup(obj:Grid, e:GridMouseEventInfo)
  648. {
  649. /*
  650. * 처방 Comment 입력
  651. */
  652. if(e.col == obj.getBindCellIndex("body","acptrem")) {
  653. ds_send_srch.setColumn(0,"acptrem",ds_main_partprcplst_item.getColumn(e.row,"acptrem"));
  654. grp_main.grp_prcpcment.visible = true;
  655. }
  656. /*
  657. * 실시 Comment 입력
  658. */
  659. if(e.col == obj.getBindCellIndex("body","execrem")) {
  660. ds_send_srch.setColumn(0,"execrem",ds_main_partprcplst_item.getColumn(e.row,"execrem"));
  661. grp_main.grp_execment.visible = true;
  662. }
  663. }
  664. /****************************************************************************************
  665. * Components : Button
  666. * Components ID : grp_main.grp_execment.btn_execsave
  667. * Event : onclick
  668. * Argument : 01.obj : Object Event has occurred
  669. * : 02.e : Event Object
  670. * Description : 실시 Comment 입력
  671. ****************************************************************************************/
  672. function grp_main_grp_execment_btn_execsave_onclick(obj:Button, e:ClickEventInfo)
  673. {
  674. var idx = ds_main_partprcplst_item.rowposition;
  675. ds_send_srch.setColumn(0,"basesuppdeptcd", gSuppdeptcd);
  676. ds_send_srch.setColumn(0,"execprcpuniqno", ds_main_partprcplst_item.getColumn(idx,"execprcpuniqno"));
  677. ds_send_srch.setColumn(0,"prcpdd" , ds_main_partprcplst_item.getColumn(idx,"prcpdd").substring(0,8) );
  678. if ( sysf_messageBox("실시Comment 정보를","Q002")== 6 ) {
  679. dsf_setTypeFormat(ds_send_srch, "execprcpuniqno:INT");
  680. var oParam = {};
  681. oParam.id = "TXAER01202";
  682. oParam.service = "examcureacptexecapp.ExamCureAcpt";
  683. oParam.method = "reqExeAcptExecrem";
  684. oParam.inds = "reqparam=ds_send_srch";
  685. oParam.outds = "ds_hidden_item=item";
  686. oParam.async = false;
  687. oParam.callback = "cf_TXAER01202";
  688. tranf_submit(oParam);
  689. if(arErrorCode.pop("TXAER01202") > -1) {
  690. sysf_messageBox("저장이 완료되었습니다.","I999");
  691. grp_main.grp_execment.visible = false;
  692. frmf_inputEnterKey("grp_srch.btn_select", "onclick", new ClickEventInfo);
  693. }
  694. }
  695. }
  696. function cf_TXAER01202(sSvcId, nErrorCode, sErrorMsg) {
  697. arErrorCode.push(sSvcId, nErrorCode);
  698. }
  699. /****************************************************************************************
  700. * Components : Button
  701. * Components ID : grp_main.grp_execment.btn_execclse
  702. * Event : onclick
  703. * Argument : 01.obj : Object Event has occurred
  704. * : 02.e : Event Object
  705. * Description : 실시 Comment 닫기
  706. ****************************************************************************************/
  707. function grp_main_grp_execment_btn_execclse_onclick(obj:Button, e:ClickEventInfo)
  708. {
  709. grp_main.grp_execment.visible = false;
  710. }
  711. /****************************************************************************************
  712. * Components : Button
  713. * Components ID : grp_main.grp_prcpcment.btn_savecment
  714. * Event : onclick
  715. * Argument : 01.obj : Object Event has occurred
  716. * : 02.e : Event Object
  717. * Description : 접수 Comment 입력
  718. ****************************************************************************************/
  719. function grp_main_grp_prcpcment_btn_savecment_onclick(obj:Button, e:ClickEventInfo)
  720. {
  721. var idx = ds_main_partprcplst_item.rowposition;
  722. ds_send_srch.setColumn(0,"basesuppdeptcd", gSuppdeptcd);
  723. ds_send_srch.setColumn(0,"execprcpuniqno", ds_main_partprcplst_item.getColumn(idx,"execprcpuniqno"));
  724. ds_send_srch.setColumn(0,"prcpdd" , ds_main_partprcplst_item.getColumn(idx,"prcpdd").substring(0,8));
  725. if ( sysf_messageBox("접수Comment 정보를","Q002")== 6 ) {
  726. dsf_createDsRow("ds_reqparam", [
  727. {col:"acptrem" , type:"STRING", size:256, val:ds_send_srch.getColumn(0,"acptrem")}
  728. , {col:"prcpdd" , type:"STRING", size:256, val:ds_send_srch.getColumn(0,"prcpdd")}
  729. , {col:"execprcpuniqno" , type:"STRING", size:256, val:ds_send_srch.getColumn(0,"execprcpuniqno")}
  730. , {col:"suppdeptcd" , type:"STRING", size:256, val:ds_send_srch.getColumn(0,"basesuppdeptcd")}
  731. ]);
  732. dsf_setTypeFormat(ds_reqparam, "execprcpuniqno:INT");
  733. var oParam = {};
  734. oParam.id = "TXAEA01304";
  735. oParam.service = "examcureacptexecapp.ExamCureAcpt";
  736. oParam.method = "reqSetAcptremUpdate";
  737. oParam.inds = "reqparam=ds_reqparam";
  738. oParam.outds = "ds_hidden_item=item";
  739. oParam.async = false;
  740. oParam.callback = "cf_TXAEA01304";
  741. tranf_submit(oParam);
  742. if(arErrorCode.pop("TXAEA01304") > -1) {
  743. sysf_messageBox("저장이 완료되었습니다.","I999");
  744. grp_main.grp_prcpcment.visible = false;
  745. frmf_inputEnterKey("grp_srch.btn_select", "onclick", new ClickEventInfo);
  746. }
  747. }
  748. }
  749. function cf_TXAEA01304(sSvcId, nErrorCode, sErrorMsg) {
  750. arErrorCode.push(sSvcId, nErrorCode);
  751. }
  752. /****************************************************************************************
  753. * Components : Button
  754. * Components ID : grp_main.grp_prcpcment.btn_cls
  755. * Event : onclick
  756. * Argument : 01.obj : Object Event has occurred
  757. * : 02.e : Event Object
  758. * Description : 접수 Comment 닫기
  759. ****************************************************************************************/
  760. function grp_main_grp_prcpcment_btn_cls_onclick(obj:Button, e:ClickEventInfo)
  761. {
  762. grp_main.grp_prcpcment.visible = false;
  763. }
  764. /****************************************************************************************
  765. * Components : Button
  766. * Components ID : grp_btn.btn_prt
  767. * Event : onclick
  768. * Argument : 01.obj : Object Event has occurred
  769. * : 02.e : Event Object
  770. * Description : 파트별 처방이력 출력
  771. ****************************************************************************************/
  772. function grp_btn_btn_prt_onclick(obj:Button, e:ClickEventInfo)
  773. {
  774. ds_rexprnt.clearData();
  775. ds_rexdata_partprcplst.clearData();
  776. var partCnt = ds_main_partprcplst_item.rowcount;
  777. if( partCnt > 0 ) {
  778. if( !utlf_isNull(ds_send_srch.getColumn(0,"srchexcuroomgrp")) ) {
  779. ds_rexprnt.setColumn(0,"excuroomgrp",grp_srch.cmb_excuroomgrp.text);
  780. } else {
  781. ds_rexprnt.setColumn(0,"excuroomgrp","");
  782. }
  783. if( !utlf_isNull(ds_send_srch.getColumn(0,"srchinitsect")) ) {
  784. ds_rexprnt.setColumn(0,"initsect",grp_srch.cmb_initsect.text);
  785. } else {
  786. ds_rexprnt.setColumn(0,"initsect", "" );
  787. }
  788. if( ds_send_srch.getColumn(0,"srchexecroom") != "all" && !utlf_isNull(ds_send_srch.getColumn(0,"srchexecroom"))){
  789. ds_rexprnt.setColumn(0,"execroom", grp_srch.cmb_exroom.text );
  790. }else{
  791. ds_rexprnt.setColumn(0,"execroom", "" );
  792. }
  793. ds_rexprnt.setColumn(0,"srchfromdd",grp_srch.ipt_srchfromdd.text);
  794. ds_rexprnt.setColumn(0,"srchtodd", grp_srch.ipt_srchtodd.text);
  795. // 체크구분 ==> 전체출력
  796. var chckflag = 0;
  797. for (var a = 1 ; a <= partCnt ; a++ ) {
  798. if( model.getValue("/root/main/partprcplst/item[" + a + "]/check1") == "Y" ) {
  799. chckflag++;
  800. }
  801. }
  802. var idx = 0;
  803. if( chckflag > 0 ) {
  804. for (var a = 0 ; a < partCnt ; a++ ) {
  805. if( ds_main_partprcplst_item.getColumn(a,"check1") == "Y" ) {
  806. ds_rexdata_partprcplst.insertRow(idx);
  807. ds_rexdata_partprcplst.copyRow(idx,ds_main_partprcplst_item,a);
  808. ds_rexdata_partprcplst.setColumn(idx,"acptdt" , ds_main_partprcplst_item.getColumn(a,"acptdt"));
  809. ds_rexdata_partprcplst.setColumn(idx,"rsrvdt" , ds_main_partprcplst_item.getColumn(a,"rsrvdt"));
  810. idx++;
  811. }
  812. }
  813. } else { // 선택된 Row 없이 출력버튼을 누르면 전체출력
  814. for (var i = 0 ; i < partCnt ; i++ ) {
  815. ds_rexdata_partprcplst.insertRow(i);
  816. ds_rexdata_partprcplst.copyRow(i,ds_main_partprcplst_item,i);
  817. ds_rexdata_partprcplst.setColumn(i,"acptdt" , ds_main_partprcplst_item.getColumn(i,"acptdt"));
  818. ds_rexdata_partprcplst.setColumn(i,"rsrvdt" , ds_main_partprcplst_item.getColumn(i,"rsrvdt"));
  819. }
  820. }
  821. if( ds_send.getColumn(0,"bolpart") == "true"){
  822. // exeReportPreview("RPAEA05900", "XMLSTR" , "" , "" , "false" , "", "", "", "", "false");
  823. var objDOM = rptf_createDOM(); // DOM 객체 설정
  824. var objParam = new Object();
  825. rptf_setNodeListToDOM(objDOM, "/root/rexprnt/partprcplst/item" , ds_rexdata_partprcplst);
  826. rptf_setNodeListToDOM(objDOM, "/root/rexprnt" , ds_rexprnt);
  827. objParam.xml_data_XML1 = objDOM.documentElement.source;
  828. var option = "open=1;save=1;directprint=0;printdialog=1;print=1;zoom=0";
  829. rptf_exeReportPreview30(["RPAEA05900"],[objParam], option);
  830. }else{
  831. // exeReportPreview("RPAEA05900", "XMLSTR" , "" , "" , "true" , "", "", "", "", "true");
  832. var objDOM = rptf_createDOM(); // DOM 객체 설정
  833. var objParam = new Object();
  834. rptf_setNodeListToDOM(objDOM, "/root/rexprnt/partprcplst/item" , ds_rexdata_partprcplst);
  835. rptf_setNodeListToDOM(objDOM, "/root/rexprnt" , ds_rexprnt);
  836. objParam.xml_data_XML1 = objDOM.documentElement.source;
  837. var option = "open=1;save=1;directprint=1;printdialog=0;print=1;zoom=0";
  838. rptf_exeReportPreview30(["RPAEA05900"],[objParam], option);
  839. }
  840. }
  841. }
  842. /****************************************************************************************
  843. * Components : Button
  844. * Components ID : grp_btn.button1
  845. * Event : onclick
  846. * Argument : 01.obj : Object Event has occurred
  847. * : 02.e : Event Object
  848. * Description : 개인별 처방이력 출력
  849. ****************************************************************************************/
  850. function grp_btn_button1_onclick(obj:Button, e:ClickEventInfo)
  851. {
  852. var partCnt = ds_main_partprcplst_item.rowcount;
  853. if( partCnt > 0 ) {
  854. var temp = 0;
  855. // Check 확인
  856. for( var i = 0 ; i < partCnt ; i++ ) {
  857. if( ds_main_partprcplst_item.getColumn(i,"check1") == "Y" ) {
  858. temp++;
  859. }
  860. }
  861. var idx = 0;
  862. var num = ds_send.getColumn(0,"prntnum");
  863. if( temp > 0 ) {
  864. for (var a = 0 ; a < partCnt ; a++ ) {
  865. if( ds_main_partprcplst_item.getColumn(a,"check1") == "Y" ) {
  866. var nRow = ds_rexdata_partprcplst.addRow();
  867. ds_rexdata_partprcplst.copyData(nRow,ds_main_partprcplst_item,a);
  868. ds_rexdata_partprcplst.setColumn(0,"acptdt" , ds_main_partprcplst_item.getColumn(a,"acptdt").substring(0,8));
  869. ds_rexdata_partprcplst.setColumn(0,"rsrvdt" , ds_main_partprcplst_item.getColumn(a,"rsrvdt"));
  870. idx++;
  871. for( var j = 0 ; j < num ; j++) {
  872. if( ds_send.getColumn(0,"bolindi") == "true"){
  873. exeReportPreview("RPAEA05901", "XMLSTR" , "" , "" , "false" , "", "", "", "", "false");
  874. }else{
  875. exeReportPreview("RPAEA05901", "XMLSTR" , "" , "" , "true" , "", "", "", "", "true");
  876. }
  877. }
  878. ds_rexdata_partprcplst.clearData();
  879. }
  880. }
  881. } else { // 선택된 Row 없이 출력버튼을 누르면 전체출력
  882. for (var i = 0 ; i < partCnt ; i++ ) {
  883. var nRow = ds_rexdata_partprcplst.addRow();
  884. ds_rexdata_partprcplst.copyData(nRow,ds_main_partprcplst_item,i);
  885. ds_rexdata_partprcplst.setColumn(0,"acptdt" , ds_main_partprcplst_item.getColumn(i,"acptdt").substring(0,8));
  886. ds_rexdata_partprcplst.setColumn(0,"rsrvdt" , ds_main_partprcplst_item.getColumn(i,"rsrvdt"));
  887. for( var j = 0 ; j < num ; j++) {
  888. if( ds_send.getColumn(0,"bolindi") == "true"){
  889. // exeReportPreview("RPAEA05901", "XMLSTR" , "" , "" , "false" , "", "", "", "", "false");
  890. var objDOM = rptf_createDOM(); // DOM 객체 설정
  891. var objParam = new Object();
  892. rptf_setNodeListToDOM(objDOM, "/root/rexprnt/partprcplst/item" , ds_rexdata_partprcplst);
  893. objParam.xml_data_XML1 = objDOM.documentElement.source;
  894. var option = "open=1;save=1;directprint=0;printdialog=1;print=1;zoom=0";
  895. rptf_exeReportPreview30(["RPAEA05901"],[objParam], option);
  896. }else{
  897. // exeReportPreview("RPAEA05901", "XMLSTR" , "" , "" , "true" , "", "", "", "", "true");
  898. var objDOM = rptf_createDOM(); // DOM 객체 설정
  899. var objParam = new Object();
  900. rptf_setNodeListToDOM(objDOM, "/root/rexprnt/partprcplst/item" , ds_rexdata_partprcplst);
  901. objParam.xml_data_XML1 = objDOM.documentElement.source;
  902. var option = "open=1;save=1;directprint=1;printdialog=0;print=1;zoom=0";
  903. rptf_exeReportPreview30(["RPAEA05901"],[objParam], option);
  904. }
  905. }
  906. ds_rexdata_partprcplst.clearData();
  907. }
  908. }
  909. }
  910. }
  911. ]]></Script>
  912. </Form>
  913. </FDL>