SMAHA00400_건진자예약접수현황조회.xfdl 84 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMAHA00400" position="absolute 0 0 1203 777" titletext="건진자예약접수현황조회" oninit="SMAHA00400_oninit" onload="SMAHA00400_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption6" text="예약접수현황조회" class="tit_1" position="absolute 0 0 159 25"/>
  8. <Button id="btn_prntlist" taborder="1" text="명단출력" class="btn6" position="absolute 94 749 174 771" anchor="left bottom" onclick="btn_prntlist_onclick"/>
  9. <Tab id="swt_prest" taborder="2" tabindex="0" position="absolute 0 117 1195 741" anchor="all">
  10. <Tabpages>
  11. <Tabpage id="case_prest" text="현황">
  12. <Layouts>
  13. <Layout>
  14. <Grid id="grd_shadow" taborder="2" binddataset="ds_main_rsrvacptlst_item" autoenter="select" useinputpanel="false" cellsizingtype="both" visible="false" position="absolute 0 0 1195 593" anchor="all">
  15. <Formats>
  16. <Format id="default">
  17. <Columns>
  18. <Column size="29"/>
  19. <Column size="41"/>
  20. <Column size="55"/>
  21. <Column size="76"/>
  22. <Column size="60"/>
  23. <Column size="39"/>
  24. <Column size="0"/>
  25. <Column size="124"/>
  26. <Column size="146"/>
  27. <Column size="80"/>
  28. <Column size="100"/>
  29. <Column size="100"/>
  30. <Column size="139"/>
  31. <Column size="100"/>
  32. <Column size="100"/>
  33. <Column size="100"/>
  34. <Column size="100"/>
  35. <Column size="101"/>
  36. <Column size="60"/>
  37. <Column size="150"/>
  38. <Column size="100"/>
  39. <Column size="100"/>
  40. <Column size="100"/>
  41. <Column size="100"/>
  42. <Column size="100"/>
  43. </Columns>
  44. <Rows>
  45. <Row size="24" band="head"/>
  46. <Row size="24"/>
  47. </Rows>
  48. <Band id="head">
  49. <Cell/>
  50. <Cell col="1" text="상태"/>
  51. <Cell col="2" text="예약구분"/>
  52. <Cell col="3" text="성명"/>
  53. <Cell col="4" text="등록번호"/>
  54. <Cell col="5" text="성별"/>
  55. <Cell col="6" text="나이"/>
  56. <Cell col="7" text="패키지명"/>
  57. <Cell col="8" text="사업체명"/>
  58. <Cell col="9" text="전화번호"/>
  59. <Cell col="10" text="휴대폰번호"/>
  60. <Cell col="11" text="주민번호"/>
  61. <Cell col="12" text="예약등록일"/>
  62. <Cell col="13" text="최초등록일시"/>
  63. <Cell col="14" text="접수일시"/>
  64. <Cell col="15" text="주소"/>
  65. <Cell col="16" text="위검사"/>
  66. <Cell col="17" text="선택검사 및 추가검사"/>
  67. <Cell col="18" text="상담구분"/>
  68. <Cell col="19" text="결과상담일시"/>
  69. <Cell col="20" text="비고"/>
  70. <Cell col="21" text="소계"/>
  71. <Cell col="22" text="할인금액"/>
  72. <Cell col="23" text="미수금액"/>
  73. <Cell col="24" text="실수납액"/>
  74. </Band>
  75. <Band id="body">
  76. <Cell celltype="head" expr="currow+1"/>
  77. <Cell col="1" displaytype="combo" text="bind:statflag" combodataset="ds_init_baseinfo_statlst_A0107" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  78. <Cell col="2" displaytype="combo" text="bind:rsrvflag" combodataset="ds_init_baseinfo_rsrvflaglst_A0115" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  79. <Cell col="3" text="bind:hngnm"/>
  80. <Cell col="4" text="bind:pid"/>
  81. <Cell col="5" text="bind:sex"/>
  82. <Cell col="6" text="bind:age"/>
  83. <Cell col="7" text="bind:pkgnm"/>
  84. <Cell col="8" text="bind:cmpynm"/>
  85. <Cell col="9" text="bind:telno"/>
  86. <Cell col="10" text="bind:mpphonno"/>
  87. <Cell col="11" text="bind:rgstno"/>
  88. <Cell col="12" displaytype="date" text="bind:orddttm" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
  89. <Cell col="13" displaytype="date" text="bind:fstrgstdt" mask="yyyy-MM-dd hh:mm" calendardisplaynulltype="nulltext"/>
  90. <Cell col="14" displaytype="date" text="bind:rsrvdttm" mask="yyyy-MM-dd hh:mm" calendardisplaynulltype="nulltext"/>
  91. <Cell col="15" text="bind:addr"/>
  92. <Cell col="16" displaytype="combo" edittype="combo" text="bind:choiflag" combodataset="ds_init_baseinfo_choiflaglst_A0116" combocodecol="cdid" combodatacol="cdnm"/>
  93. <Cell col="17" text="bind:testnm"/>
  94. <Cell col="18" displaytype="combo" edittype="combo" text="bind:rsltcnstflag" enable="false"/>
  95. <Cell col="19" displaytype="date" text="bind:rsltcnstdd" mask="yyyy-MM-dd hh:mm" calendardisplaynulltype="nulltext"/>
  96. <Cell col="20" text="bind:remcnts"/>
  97. <Cell col="21" text="bind:totamt"/>
  98. <Cell col="22" text="bind:discamt"/>
  99. <Cell col="23" text="bind:restamt"/>
  100. <Cell col="24" text="bind:rcptamt"/>
  101. </Band>
  102. </Format>
  103. </Formats>
  104. </Grid>
  105. <Grid id="grd_rsrvacptlst" taborder="1" binddataset="ds_main_rsrvacptlst_item" autoenter="select" useinputpanel="false" cellsizingtype="both" position="absolute 0 0 1195 593" anchor="all" oncelldblclick="swt_prest_case_prest_grd_rsrvacptlst_oncelldblclick" cellclickbound="cell">
  106. <Formats>
  107. <Format id="default">
  108. <Columns>
  109. <Column size="30" band="left"/>
  110. <Column size="33" band="left"/>
  111. <Column size="60" band="left"/>
  112. <Column size="55" band="left"/>
  113. <Column size="76" band="left"/>
  114. <Column size="60" band="left"/>
  115. <Column size="39" band="left"/>
  116. <Column size="39" band="left"/>
  117. <Column size="40" band="left"/>
  118. <Column size="62" band="left"/>
  119. <Column size="129"/>
  120. <Column size="55"/>
  121. <Column size="114"/>
  122. <Column size="95"/>
  123. <Column size="100"/>
  124. <Column size="100"/>
  125. <Column size="0"/>
  126. <Column size="100"/>
  127. <Column size="100"/>
  128. <Column size="100"/>
  129. <Column size="100"/>
  130. <Column size="0"/>
  131. <Column size="137"/>
  132. <Column size="60"/>
  133. <Column size="130"/>
  134. <Column size="200"/>
  135. <Column size="0"/>
  136. <Column size="0"/>
  137. <Column size="0"/>
  138. <Column size="0"/>
  139. <Column size="0"/>
  140. <Column size="0"/>
  141. <Column size="0"/>
  142. <Column size="0"/>
  143. <Column size="0"/>
  144. <Column size="0"/>
  145. <Column size="0"/>
  146. <Column size="0"/>
  147. <Column size="0"/>
  148. <Column size="0"/>
  149. <Column size="0"/>
  150. <Column size="0"/>
  151. </Columns>
  152. <Rows>
  153. <Row size="24" band="head"/>
  154. <Row size="24"/>
  155. </Rows>
  156. <Band id="head">
  157. <Cell/>
  158. <Cell col="1"/>
  159. <Cell col="2" text="상태"/>
  160. <Cell col="3" text="예약구분"/>
  161. <Cell col="4" text="성명"/>
  162. <Cell col="5" text="등록번호"/>
  163. <Cell col="6" text="성별"/>
  164. <Cell col="7" text="나이"/>
  165. <Cell col="8" text="VIP"/>
  166. <Cell col="9" text="VIP 사유"/>
  167. <Cell col="10" text="패키지명"/>
  168. <Cell col="11" text="누적횟수"/>
  169. <Cell col="12" text="사업체명"/>
  170. <Cell col="13" text="전화번호"/>
  171. <Cell col="14" text="휴대폰번호"/>
  172. <Cell col="15" text="주민번호"/>
  173. <Cell col="16" text="예약등록일"/>
  174. <Cell col="17" text="최초등록일시"/>
  175. <Cell col="18" text="접수일시"/>
  176. <Cell col="19" text="주소"/>
  177. <Cell col="20" text="위검사"/>
  178. <Cell col="21" text="선택검사 및 추가검사"/>
  179. <Cell col="22" text="선택검사 및 추가검사"/>
  180. <Cell col="23" text="상담구분"/>
  181. <Cell col="24" text="결과상담일시"/>
  182. <Cell col="25" text="비고"/>
  183. <Cell col="26" text="소계"/>
  184. <Cell col="27" text="할인금액"/>
  185. <Cell col="28" text="미수금액"/>
  186. <Cell col="29" text="실수납액"/>
  187. <Cell col="30" text="rsrvdd"/>
  188. <Cell col="31" text="rsrvno"/>
  189. <Cell col="32" text="cretno"/>
  190. <Cell col="33" text="orddd"/>
  191. <Cell col="34" text="cmpycd"/>
  192. <Cell col="35" text="conseq"/>
  193. <Cell col="36" text="conhistseq"/>
  194. <Cell col="37" text="hopedd"/>
  195. <Cell col="38" text="expireyn"/>
  196. <Cell col="39" text="clntempid"/>
  197. <Cell col="40" text="disccd"/>
  198. <Cell col="41" text="rsrvyn"/>
  199. </Band>
  200. <Band id="body">
  201. <Cell celltype="head" expr="currow+1"/>
  202. <Cell col="1" displaytype="checkbox" edittype="checkbox" style="background:EXPR(vipyn == 'Y' ? '#FFC0CB' : '');background2:EXPR(vipyn == 'Y' ? '#FFC0CB' : '');" text="bind:sel" expr="expr:sel == 'Y' ? 1 : 0"/>
  203. <Cell col="2" displaytype="combo" style="align:left middle;padding:0 0 0 3;background:EXPR(vipyn == 'Y' ? '#FFC0CB' : '');background2:EXPR(vipyn == 'Y' ? '#FFC0CB' : '');" text="bind:statflag" combodataset="ds_init_baseinfo_statlst_A0107" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  204. <Cell col="3" displaytype="combo" style="align:left middle;padding:0 0 0 3;background:EXPR(vipyn == 'Y' ? '#FFC0CB' : '');background2:EXPR(vipyn == 'Y' ? '#FFC0CB' : '');" text="bind:rsrvflag" combodataset="ds_init_baseinfo_rsrvflaglst_A0115" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  205. <Cell col="4" style="align:left middle;padding:0 0 0 3;background:EXPR(vipyn == 'Y' ? '#FFC0CB' : '');background2:EXPR(vipyn == 'Y' ? '#FFC0CB' : '');" text="bind:hngnm"/>
  206. <Cell col="5" style="align:left middle;padding:0 0 0 3;background:EXPR(vipyn == 'Y' ? '#FFC0CB' : '');background2:EXPR(vipyn == 'Y' ? '#FFC0CB' : '');" text="bind:pid"/>
  207. <Cell col="6" style="align:left middle;padding:0 0 0 3;background:EXPR(vipyn == 'Y' ? '#FFC0CB' : '');background2:EXPR(vipyn == 'Y' ? '#FFC0CB' : '');" text="bind:sex"/>
  208. <Cell col="7" style="align:left middle;padding:0 0 0 3;background:EXPR(vipyn == 'Y' ? '#FFC0CB' : '');background2:EXPR(vipyn == 'Y' ? '#FFC0CB' : '');" text="bind:age"/>
  209. <Cell col="8" style="align:left middle;padding:0 0 0 3;" text="bind:vipyn"/>
  210. <Cell col="9" style="align:left middle;padding:0 0 0 3;" text="bind:clntgrde"/>
  211. <Cell col="10" style="align:left middle;padding:0 0 0 3;background:EXPR(vipyn == 'Y' ? '#FFC0CB' : '');background2:EXPR(vipyn == 'Y' ? '#FFC0CB' : '');" text="bind:pkgnm"/>
  212. <Cell col="11" style="align:left middle;padding:0 0 0 3;background:EXPR(vipyn == 'Y' ? '#FFC0CB' : '');background2:EXPR(vipyn == 'Y' ? '#FFC0CB' : '');" text="bind:totcnt"/>
  213. <Cell col="12" style="align:left middle;padding:0 0 0 3;background:EXPR(vipyn == 'Y' ? '#FFC0CB' : '');background2:EXPR(vipyn == 'Y' ? '#FFC0CB' : '');" text="bind:cmpynm"/>
  214. <Cell col="13" style="align:left middle;padding:0 0 0 3;background:EXPR(vipyn == 'Y' ? '#FFC0CB' : '');background2:EXPR(vipyn == 'Y' ? '#FFC0CB' : '');" text="bind:telno"/>
  215. <Cell col="14" style="align:left middle;padding:0 0 0 3;background:EXPR(vipyn == 'Y' ? '#FFC0CB' : '');background2:EXPR(vipyn == 'Y' ? '#FFC0CB' : '');" text="bind:mpphonno"/>
  216. <Cell col="15" style="align:left middle;padding:0 0 0 3;background:EXPR(vipyn == 'Y' ? '#FFC0CB' : '');background2:EXPR(vipyn == 'Y' ? '#FFC0CB' : '');" text="bind:rgstno"/>
  217. <Cell col="16" style="align:left middle;padding:0 0 0 3;background:EXPR(vipyn == 'Y' ? '#FFC0CB' : '');background2:EXPR(vipyn == 'Y' ? '#FFC0CB' : '');" text="bind:orddttm" mask="yyyy-mm-dd hh:nn"/>
  218. <Cell col="17" displaytype="date" style="align:left middle;padding:0 0 0 3;background:EXPR(vipyn == 'Y' ? '#FFC0CB' : '');background2:EXPR(vipyn == 'Y' ? '#FFC0CB' : '');" text="bind:fstrgstdt" mask="yyyy-MM-dd hh:mm" calendardisplaynulltype="nulltext"/>
  219. <Cell col="18" displaytype="date" style="align:left middle;padding:0 0 0 3;background:EXPR(vipyn == 'Y' ? '#FFC0CB' : '');background2:EXPR(vipyn == 'Y' ? '#FFC0CB' : '');" text="bind:rsrvdttm" mask="yyyy-MM-dd hh:mm" calendardisplaynulltype="nulltext"/>
  220. <Cell col="19" style="align:left middle;padding:0 0 0 3;background:EXPR(vipyn == 'Y' ? '#FFC0CB' : '');background2:EXPR(vipyn == 'Y' ? '#FFC0CB' : '');" text="bind:addr"/>
  221. <Cell col="20" displaytype="combo" edittype="combo" style="align:left middle;padding:0 0 0 3;background:EXPR(vipyn == 'Y' ? '#FFC0CB' : '');background2:EXPR(vipyn == 'Y' ? '#FFC0CB' : '');" text="bind:choiflag" combodataset="ds_init_baseinfo_choiflaglst_A0116" combocodecol="cdid" combodatacol="cdnm"/>
  222. <Cell col="21" style="align:left middle;padding:0 0 0 3;background:EXPR(vipyn == 'Y' ? '#FFC0CB' : '');background2:EXPR(vipyn == 'Y' ? '#FFC0CB' : '');" text="bind:testcd"/>
  223. <Cell col="22" style="align:left middle;padding:0 0 0 3;background:EXPR(vipyn == 'Y' ? '#FFC0CB' : '');background2:EXPR(vipyn == 'Y' ? '#FFC0CB' : '');" text="bind:testnm"/>
  224. <Cell col="23" displaytype="combo" style="align:left middle;padding:0 0 0 3;background:EXPR(vipyn == 'Y' ? '#FFC0CB' : '');background2:EXPR(vipyn == 'Y' ? '#FFC0CB' : '');" text="bind:rsltcnstflag" combodataset="ds_init_baseinfo_rsltcnstflaglst_S080" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  225. <Cell col="24" displaytype="date" style="align:left middle;padding:0 0 0 3;background:EXPR(vipyn == 'Y' ? '#FFC0CB' : '');background2:EXPR(vipyn == 'Y' ? '#FFC0CB' : '');" text="bind:rsltcnstdd" mask="yyyy-MM-dd hh:mm" calendardisplaynulltype="nulltext"/>
  226. <Cell col="25" displaytype="text" style="align:left top;padding:4 2 1 2;background:EXPR(vipyn == 'Y' ? '#FFC0CB' : '');background2:EXPR(vipyn == 'Y' ? '#FFC0CB' : '');" text="bind:remcnts"/>
  227. <Cell col="26" displaytype="number" style="background:EXPR(vipyn == 'Y' ? '#FFC0CB' : '');background2:EXPR(vipyn == 'Y' ? '#FFC0CB' : '');" text="bind:totamt"/>
  228. <Cell col="27" displaytype="number" style="background:EXPR(vipyn == 'Y' ? '#FFC0CB' : '');background2:EXPR(vipyn == 'Y' ? '#FFC0CB' : '');" text="bind:discamt"/>
  229. <Cell col="28" displaytype="number" style="background:EXPR(vipyn == 'Y' ? '#FFC0CB' : '');background2:EXPR(vipyn == 'Y' ? '#FFC0CB' : '');" text="bind:restamt"/>
  230. <Cell col="29" displaytype="number" style="background:EXPR(vipyn == 'Y' ? '#FFC0CB' : '');background2:EXPR(vipyn == 'Y' ? '#FFC0CB' : '');" text="bind:rcptamt"/>
  231. <Cell col="30" text="bind:rsrvdd"/>
  232. <Cell col="31" text="bind:rsrvno"/>
  233. <Cell col="32" text="bind:cretno"/>
  234. <Cell col="33" text="bind:orddd"/>
  235. <Cell col="34" text="bind:cmpycd"/>
  236. <Cell col="35" text="bind:conseq"/>
  237. <Cell col="36" text="bind:conhistseq"/>
  238. <Cell col="37" text="bind:hopedd"/>
  239. <Cell col="38" text="bind:expireyn"/>
  240. <Cell col="39" text="bind:clntempid"/>
  241. <Cell col="40" text="bind:disccd"/>
  242. <Cell col="41" text="bind:rsrvyn"/>
  243. </Band>
  244. </Format>
  245. </Formats>
  246. </Grid>
  247. <CheckBox id="chk_add" taborder="3" position="absolute 39 2 58 22" truevalue="Y" onclick="swt_prest_case_prest_chk_add_onclick" oncolumnchanged="ds_main_rsrvacptlst_item_oncolumnchanged"/>
  248. </Layout>
  249. </Layouts>
  250. </Tabpage>
  251. <Tabpage id="case_detl" text="상세현황">
  252. <Layouts>
  253. <Layout>
  254. <Grid id="grd_ordlst" taborder="0" binddataset="ds_main_ordinfo_ordlst" autoenter="select" useinputpanel="false" cellsizingtype="col" autofittype="col" position="absolute 0 0 1195 593" anchor="all">
  255. <Formats>
  256. <Format id="default">
  257. <Columns>
  258. <Column size="23"/>
  259. <Column size="36"/>
  260. <Column size="73"/>
  261. <Column size="91"/>
  262. <Column size="89"/>
  263. <Column size="308"/>
  264. <Column size="155"/>
  265. <Column size="100"/>
  266. <Column size="100"/>
  267. <Column size="0"/>
  268. <Column size="0"/>
  269. </Columns>
  270. <Rows>
  271. <Row size="24" band="head"/>
  272. <Row size="24"/>
  273. </Rows>
  274. <Band id="head">
  275. <Cell/>
  276. <Cell col="1" text="D/C"/>
  277. <Cell col="2" text="처방구분"/>
  278. <Cell col="3" text="청구방법"/>
  279. <Cell col="4" text="처방코드"/>
  280. <Cell col="5" text="처방명"/>
  281. <Cell col="6" text="시행부서"/>
  282. <Cell col="7" text="예약일자"/>
  283. <Cell col="8" text="예약시간"/>
  284. <Cell col="9" text="처방일자"/>
  285. <Cell col="10" text="처방번호"/>
  286. </Band>
  287. <Band id="body">
  288. <Cell celltype="head"/>
  289. <Cell col="1" displaytype="checkbox" style="controlbackground:darkgray;controlborder:1 solid #808080ff ;" text="bind:dcflag" expr="expr:dcflag == 'Y' ? 1 : 0" enable="false"/>
  290. <Cell col="2" displaytype="combo" edittype="combo" style="align:left middle;padding:0 0 0 3;" text="bind:testflag" combodataset="ds_init_baseinfo_testflag_A0117" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  291. <Cell col="3" displaytype="combo" style="align:left middle;padding:0 0 0 3;" text="bind:uncocd" combodataset="ds_init_baseinfo_pamcdlst_uncocdlst" combocodecol="cd" combodatacol="nm" enable="false"/>
  292. <Cell col="4" style="align:left middle;padding:0 0 0 3;" text="bind:testcd"/>
  293. <Cell col="5" displaytype="text" style="align:left middle;padding:0 0 0 3;" text="bind:testnm"/>
  294. <Cell col="6" displaytype="text" style="align:left middle;padding:0 0 0 3;" text="bind:prcpexecdeptcd"/>
  295. <Cell col="7" displaytype="date" style="align:left middle;padding:0 0 0 3;" text="bind:rsrvdd" calendardisplaynulltype="nulltext"/>
  296. <Cell col="8" displaytype="date" style="align:left middle;padding:0 0 0 3;" text="bind:rsrvtm" mask="hh:mm:ss" calendardisplaynulltype="nulltext"/>
  297. <Cell col="9" text="bind:lastupdtrid"/>
  298. <Cell col="10" text="bind:lastupdtdt"/>
  299. </Band>
  300. </Format>
  301. </Formats>
  302. </Grid>
  303. </Layout>
  304. </Layouts>
  305. </Tabpage>
  306. </Tabpages>
  307. </Tab>
  308. <Div id="group5" taborder="3" class="div_SA" position="absolute 0 25 1195 105" anchor="left top right">
  309. <Layouts>
  310. <Layout>
  311. <Static id="caption11" text="상태 :" class="search_name" position="absolute 237 7 301 24"/>
  312. <Static id="caption12" text="사업체 :" class="search_name" position="absolute 7 56 81 73"/>
  313. <Shape id="line7" linetype="vertical" position="absolute 1107 11 1113 70" anchor="top right"/>
  314. <Radio id="rdo_srchcond" taborder="1" codecolumn="codecolumn" datacolumn="datacolumn" class="radio_search" position="absolute 303 5 494 25" columncount="-1" rowcount="-1">
  315. <Dataset id="innerdataset">
  316. <ColumnInfo>
  317. <Column id="codecolumn"/>
  318. <Column id="datacolumn"/>
  319. </ColumnInfo>
  320. <Rows>
  321. <Row>
  322. <Col id="codecolumn">C</Col>
  323. <Col id="datacolumn">예약</Col>
  324. </Row>
  325. <Row>
  326. <Col id="codecolumn">C1</Col>
  327. <Col id="datacolumn">예약등록</Col>
  328. </Row>
  329. <Row>
  330. <Col id="codecolumn">E</Col>
  331. <Col id="datacolumn">접수</Col>
  332. </Row>
  333. </Rows>
  334. </Dataset>
  335. </Radio>
  336. <Calendar id="ipt_srchfromdd" taborder="2" class="input_s_essential" position="absolute 558 6 658 25" autoselect="true" autoskip="true"/>
  337. <Calendar id="ipt_srchtodd" taborder="3" class="input_s_essential" position="absolute 685 6 785 25" autoselect="true" autoskip="true"/>
  338. <Combo id="cmb_srchroomcd" taborder="4" innerdataset="@ds_init_room_roomlst_itemroom" codecolumn="testroomcd" datacolumn="testroomnm" class="combo_s_essential" position="absolute 83 31 208 50"/>
  339. <Edit id="ipt_srchcmpycd" taborder="5" class="input_search" position="absolute 83 56 158 75" autoselect="true" autoskip="true" onkeyup="group5_ipt_srchcmpycd_onkeyup"/>
  340. <Button id="btn_selcmpy" taborder="6" class="icon_search" position="absolute 164 56 180 72" onclick="group5_btn_selcmpy_onclick"/>
  341. <Edit id="opt_srchcmpynm" taborder="7" readonly="true" position="absolute 186 56 316 75" class="output"/>
  342. <Edit id="ipt_srchpkgcd" taborder="8" class="input_search" position="absolute 418 56 493 75" autoselect="true" autoskip="true"/>
  343. <Button id="btn_selpkg" taborder="9" class="icon_search" position="absolute 500 56 516 72" onclick="group5_btn_selpkg_onclick"/>
  344. <Edit id="opt_srchpkgnm" taborder="10" readonly="true" position="absolute 525 56 655 75" class="output"/>
  345. <Button id="btn_search" taborder="11" text="조회" class="btn1" position="absolute 1125 31 1181 53" anchor="top right" onclick="group5_btn_search_onclick"/>
  346. <Static id="caption19" text="~" class="search_n_b" position="absolute 666 9 678 23"/>
  347. <Static id="caption1" text="성명 :" class="search_name" position="absolute 237 31 290 48"/>
  348. <Static id="caption2" text="패키지 :" class="search_name" position="absolute 340 56 435 73"/>
  349. <Combo id="cmb_srchhealexamdetlflag" taborder="12" innerdataset="@ds_init_baseinfo_hedetlflaglst_A0069" codecolumn="cdid" datacolumn="cdnm" class="combo_search" position="absolute 83 6 208 25"/>
  350. <Static id="caption3" text="건진구분 :" class="search_name" position="absolute 7 6 85 23"/>
  351. <Static id="caption4" text="검사실 :" class="search_name" position="absolute 7 30 75 47"/>
  352. <Static id="caption93" text="-" class="search_n_b" position="absolute 539 30 551 47"/>
  353. <Edit id="ipt_srchpnm" taborder="13" class="input_search" position="absolute 295 30 362 49" autoselect="true" autoskip="true" onkeyup="group5_ipt_srchpnm_onkeyup"/>
  354. <MaskEdit id="ipt_srchrgstno1" taborder="14" mask="######" class="input_search" position="absolute 474 30 531 49" autoselect="true" autoskip="true" maskchar=" " type="string" trimtype="both" style="align:center middle;" onkeyup="group5_ipt_srchrgstno1_onkeyup"/>
  355. <MaskEdit id="ipt_srchrgstno2" taborder="15" mask="#######" class="input_search" position="absolute 553 30 610 49" autoselect="true" autoskip="true" maskchar=" " type="string" trimtype="both" style="align:center middle;" onkeyup="group5_ipt_srchrgstno2_onkeyup"/>
  356. <Edit id="ipt_srchpid" taborder="16" class="input_search" position="absolute 723 30 800 49" autoselect="true" autoskip="true" onkeyup="group5_ipt_srchpid_onkeyup"/>
  357. <Static id="caption5" text="주민번호 :" class="search_name" position="absolute 385 31 471 48"/>
  358. <Static id="caption7" text="등록번호 :" class="search_name" position="absolute 633 31 719 48"/>
  359. <Static id="caption8" text="일자 :" class="search_name" position="absolute 492 7 556 24"/>
  360. <Static id="caption9" text="건진장소 :" class="search_name" position="absolute 810 8 905 25"/>
  361. <Combo id="combo1" taborder="17" innerdataset="@ds_init_baseinfo_healexamplacelst_S600" codecolumn="cdid" datacolumn="cdnm" class="combo_search" position="absolute 902 7 1027 26" onitemchanged="group5_combo1_onitemchanged"/>
  362. <Static id="caption13" text="검사코드 :" class="search_name" position="absolute 680 56 785 73"/>
  363. <Button id="button2" taborder="18" class="icon_search" position="absolute 850 56 866 72" onclick="group5_button2_onclick"/>
  364. <Edit id="opt_srchtestnm" taborder="19" readonly="true" position="absolute 870 56 1000 75" class="output"/>
  365. <Edit id="ipt_srchtestcd" taborder="20" class="input_search" position="absolute 768 56 843 75" autoselect="true" autoskip="true"/>
  366. </Layout>
  367. </Layouts>
  368. </Div>
  369. <Button id="btn_excel" taborder="4" text="엑셀저장" class="btn7" position="absolute 1115 117 1195 139" anchor="top right" onclick="btn_excel_onclick"/>
  370. <Button id="btn_prntseq" taborder="5" text="순서표" class="btn6" position="absolute 176 749 256 771" anchor="left bottom" onclick="btn_prntseq_onclick"/>
  371. <Button id="btn_prntlabel" taborder="6" text="라벨출력" class="btn6" position="absolute 258 749 338 771" anchor="left bottom" onclick="btn_prntlabel_onclick"/>
  372. <Button id="btn_prntname" taborder="7" text="이름표출력" class="btn6" position="absolute 340 749 432 771" anchor="left bottom" onclick="btn_prntname_onclick"/>
  373. <CheckBox id="chk_lookaheadyn" taborder="8" position="absolute 607 749 675 769" anchor="left bottom" truevalue="Y" text="미리보기" onclick="chk_lookaheadyn_onclick"/>
  374. <Button id="button1" taborder="9" text="결과기록지" class="btn6" position="absolute 434 749 526 771" anchor="left bottom" onclick="button1_onclick"/>
  375. <Button id="btn_prntset" taborder="10" text="프린터설정" class="btn3" position="absolute 0 749 92 771" anchor="left bottom" onclick="btn_prntset_onclick"/>
  376. <Edit id="input1" taborder="11" position="absolute 564 750 603 769" anchor="left bottom"/>
  377. <Static id="caption10" text="장수" class="cell_1" position="absolute 528 750 563 770" anchor="left bottom"/>
  378. <Button id="btn_rsrvprnt" taborder="12" text="예약안내" class="btn6" visible="false" position="absolute 678 749 758 771" anchor="left bottom" onclick="btn_rsrvprnt_onclick"/>
  379. </Layout>
  380. </Layouts>
  381. <Objects>
  382. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  383. <ColumnInfo>
  384. <Column id="srchstatfg" type="STRING" size="256"/>
  385. <Column id="srchfromdd" type="STRING" size="256"/>
  386. <Column id="srchtodd" type="STRING" size="256"/>
  387. <Column id="srchroomcd" type="STRING" size="256"/>
  388. <Column id="srchcmpycd" type="STRING" size="256"/>
  389. <Column id="srchconseq" type="STRING" size="256"/>
  390. <Column id="srchcmpynm" type="STRING" size="256"/>
  391. <Column id="srchpkgcd" type="STRING" size="256"/>
  392. <Column id="srchpkgnm" type="STRING" size="256"/>
  393. <Column id="srchtestcd" type="STRING" size="256"/>
  394. <Column id="srchtestnm" type="STRING" size="256"/>
  395. <Column id="srchinstcd" type="STRING" size="256"/>
  396. <Column id="srchhealexamdetlflag" type="STRING" size="256"/>
  397. <Column id="srchhealexamflag" type="STRING" size="256"/>
  398. <Column id="srchpid" type="STRING" size="256"/>
  399. <Column id="srchinstcd" type="STRING" size="256"/>
  400. <Column id="srchrsrvdd" type="STRING" size="256"/>
  401. <Column id="srchrsrvno" type="STRING" size="256"/>
  402. <Column id="srchorddd" type="STRING" size="256"/>
  403. <Column id="srchcretno" type="STRING" size="256"/>
  404. <Column id="srchcond2" type="STRING" size="256"/>
  405. <Column id="srchpnm" type="STRING" size="256"/>
  406. <Column id="srchrgstno1" type="STRING" size="256"/>
  407. <Column id="srchrgstno2" type="STRING" size="256"/>
  408. <Column id="srchdateyn" type="STRING" size="256"/>
  409. <Column id="srchsex" type="STRING" size="256"/>
  410. <Column id="srchhealexamplacecd" type="STRING" size="256"/>
  411. <Column id="prtcnt" type="STRING" size="256"/>
  412. </ColumnInfo>
  413. <Rows>
  414. <Row>
  415. <Col id="srchstatfg">C</Col>
  416. <Col id="srchfromdd"/>
  417. <Col id="srchtodd"/>
  418. <Col id="srchroomcd"/>
  419. <Col id="srchcmpycd"/>
  420. <Col id="srchconseq"/>
  421. <Col id="srchcmpynm"/>
  422. <Col id="srchpkgcd"/>
  423. <Col id="srchpkgnm"/>
  424. <Col id="srchtestcd"/>
  425. <Col id="srchtestnm"/>
  426. <Col id="srchinstcd"/>
  427. <Col id="srchhealexamdetlflag"/>
  428. <Col id="srchhealexamflag"/>
  429. <Col id="srchpid"/>
  430. <Col id="srchinstcd"/>
  431. <Col id="srchrsrvdd"/>
  432. <Col id="srchrsrvno"/>
  433. <Col id="srchorddd"/>
  434. <Col id="srchcretno"/>
  435. <Col id="srchcond2">pnm</Col>
  436. <Col id="srchpnm"/>
  437. <Col id="srchrgstno1"/>
  438. <Col id="srchrgstno2"/>
  439. <Col id="srchdateyn">Y</Col>
  440. <Col id="srchsex"/>
  441. <Col id="srchhealexamplacecd"/>
  442. <Col id="prtcnt"/>
  443. </Row>
  444. </Rows>
  445. </Dataset>
  446. <Dataset id="ds_main_rsrvacptlst_item" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_rsrvacptlst_item_oncolumnchanged">
  447. <ColumnInfo>
  448. <Column id="sel" type="STRING" size="256" sumtext="선택"/>
  449. <Column id="hngnm" type="STRING" size="256" sumtext="성명"/>
  450. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  451. <Column id="sex" type="STRING" size="256" sumtext="성별/나이"/>
  452. <Column id="age" type="STRING" size="256" sumtext="성별/나이"/>
  453. <Column id="sexage" type="STRING" size="256" sumtext="성별/나이"/>
  454. <Column id="pkgnm" type="STRING" size="256" sumtext="pkg명"/>
  455. <Column id="pkgcd" type="STRING" size="256" sumtext="pkg코드"/>
  456. <Column id="cmpynm" type="STRING" size="256" sumtext="업체명"/>
  457. <Column id="telno" type="STRING" size="256" sumtext="전화번호"/>
  458. <Column id="mpphonno" type="STRING" size="256" sumtext="휴대폰번호"/>
  459. <Column id="rgstno" type="STRING" size="256" sumtext="주민번호"/>
  460. <Column id="rsrvdttm" type="STRING" size="256" sumtext="예약일시"/>
  461. <Column id="orddttm" type="STRING" size="256" sumtext="접수일시"/>
  462. <Column id="orddd" type="STRING" size="256" sumtext="접수일자"/>
  463. <Column id="hopedd" type="STRING" size="256" sumtext="접수일자"/>
  464. <Column id="addr" type="STRING" size="256" sumtext="주소"/>
  465. <Column id="choiflag" type="STRING" size="256" sumtext="선택사항"/>
  466. <Column id="remcnts" type="STRING" size="256" sumtext="접수비고"/>
  467. <Column id="rsrvflag" type="STRING" size="256" sumtext="예약구분"/>
  468. <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
  469. <Column id="rsrvdd" type="STRING" size="256" sumtext="등록일자"/>
  470. <Column id="rsrvno" type="STRING" size="256" sumtext="예약번호"/>
  471. <Column id="statflag" type="STRING" size="256" sumtext="상태구분"/>
  472. <Column id="cmpycd" type="STRING" size="256" sumtext="업체코드"/>
  473. <Column id="conseq" type="INT" size="256" sumtext="계약번호"/>
  474. <Column id="conhistseq" type="INT" size="256" sumtext="계약이력번호"/>
  475. <Column id="rsltcnstflag" type="STRING" size="256" sumtext="결과상담구분"/>
  476. <Column id="rsltcnstdd" type="STRING" size="256" sumtext="결과상담일자"/>
  477. <Column id="jobposcd" type="STRING" size="256" sumtext="직위코드"/>
  478. <Column id="testcd" type="STRING" size="256" sumtext="추가검사"/>
  479. <Column id="testnm" type="STRING" size="256" sumtext="추가검사명"/>
  480. <Column id="fstrgstdt" type="STRING" size="256" sumtext="최초생성일시"/>
  481. <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종수정자"/>
  482. <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종수정일시"/>
  483. <Column id="totamt" type="STRING" size="256" sumtext="소계"/>
  484. <Column id="discamt" type="STRING" size="256" sumtext="할인금액"/>
  485. <Column id="reduamt" type="STRING" size="256" sumtext="감면금액"/>
  486. <Column id="restamt" type="STRING" size="256" sumtext="미수금액"/>
  487. <Column id="rcptamt" type="STRING" size="256" sumtext="실수납액"/>
  488. <Column id="totcnt" type="STRING" size="256" sumtext="누적횟수"/>
  489. <Column id="disccd" type="STRING" size="256" sumtext="DC코드"/>
  490. <Column id="clntempid" type="STRING" size="256" sumtext="관계자사번"/>
  491. <Column id="clntempidyn" type="STRING" size="256" sumtext="관계자여부"/>
  492. <Column id="hopedd_b" type="STRING" size="256" sumtext="이전검진일"/>
  493. <Column id="hopedd_bb" type="STRING" size="256" sumtext="전전검진일"/>
  494. <Column id="rsrvyn" type="STRING" size="256" sumtext="안내문발송여부"/>
  495. <Column id="expireyn" type="STRING" size="256" sumtext="직원소개 매핑여부"/>
  496. <Column id="vipyn" type="STRING" size="256" sumtext="vip여부"/>
  497. <Column id="clntgrde" type="STRING" size="256" sumtext="vip사유"/>
  498. <Column id="rsrvtm" type="STRING" size="256" sumtext="예약시간"/>
  499. </ColumnInfo>
  500. </Dataset>
  501. <Dataset id="ds_main_ordinfo_ordlst" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_ordinfo_ordlst_oncolumnchanged">
  502. <ColumnInfo>
  503. <Column id="sel" type="STRING" size="256" sumtext="선택구분"/>
  504. <Column id="dcflag" type="STRING" size="256" sumtext="D/C구분"/>
  505. <Column id="testflag" type="STRING" size="256" sumtext="검사구분"/>
  506. <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
  507. <Column id="cretno" type="STRING" size="256" sumtext="외래생성번호"/>
  508. <Column id="uncocd" type="STRING" size="256" sumtext="청구방법"/>
  509. <Column id="calcscorcd" type="STRING" size="256" sumtext="처방코드"/>
  510. <Column id="testcd" type="STRING" size="256" sumtext="처방코드"/>
  511. <Column id="testnm" type="STRING" size="256" sumtext="처방명"/>
  512. <Column id="scoreamt" type="STRING" size="256" sumtext="단가"/>
  513. <Column id="prcpexecdeptcd" type="STRING" size="256" sumtext="시행부서코드"/>
  514. <Column id="execdeptnm" type="STRING" size="256" sumtext="시행부서명"/>
  515. <Column id="outtestdeptcd" type="STRING" size="256" sumtext="시행부서명"/>
  516. <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종수정자"/>
  517. <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종수정일시"/>
  518. <Column id="pid" type="STRING" size="256" sumtext="환자id"/>
  519. <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
  520. <Column id="prcpdd" type="STRING" size="256" sumtext="처방일자"/>
  521. <Column id="prcpno" type="STRING" size="256" sumtext="처방번호"/>
  522. <Column id="rcptstat" type="STRING" size="256" sumtext="수납상태"/>
  523. <Column id="rsrvflag" type="STRING" size="256" sumtext="예약구분"/>
  524. <Column id="rsrvdd" type="STRING" size="256" sumtext="예약일자"/>
  525. <Column id="rsrvtm" type="STRING" size="256" sumtext="예약시간"/>
  526. <Column id="m" type="STRING" size="256" sumtext="실행구분"/>
  527. <Column id="examseq" type="STRING" size="256" sumtext="examseq"/>
  528. <Column id="grupflag" type="STRING" size="256" sumtext="묶음검사 구분"/>
  529. <Column id="pkgcd" type="STRING" size="256" sumtext="묶음검사 구분"/>
  530. <Column id="dcynflag" type="STRING" size="256" sumtext="처방삭제여부"/>
  531. <Column id="addexamdel" type="STRING" size="256" sumtext="추가검사만 삭제여부 "/>
  532. <Column id="execprcpuniqno" type="STRING" size="256" sumtext="처방유일번호"/>
  533. <Column id="acpt_rsrvdd" type="STRING" size="256" sumtext="건진등록일자"/>
  534. <Column id="acpt_rsrvno" type="STRING" size="256" sumtext="예약번호"/>
  535. <Column id="acpt_hopedd" type="STRING" size="256" sumtext="건진접수일자"/>
  536. </ColumnInfo>
  537. </Dataset>
  538. <Dataset id="ds_init_baseinfo_testflag_A0117" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  539. <Dataset id="ds_init_baseinfo_pamcdlst_uncocdlst" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  540. <ColumnInfo>
  541. <Column id="cd" type="STRING" size="256" sumtext="코드"/>
  542. <Column id="nm" type="STRING" size="256" sumtext="코드명"/>
  543. <Column id="cmpyrate" type="INT" size="256" sumtext="단체부담율"/>
  544. <Column id="insurate" type="INT" size="256" sumtext="공단부담율"/>
  545. <Column id="cntrrate" type="INT" size="256" sumtext="보건소부담률"/>
  546. <Column id="ownrate" type="INT" size="256" sumtext="개인부담율"/>
  547. </ColumnInfo>
  548. </Dataset>
  549. <Dataset id="ds_init_baseinfo_statlst_A0107" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  550. <Dataset id="ds_init_baseinfo_rsrvflaglst_A0115" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  551. <Dataset id="ds_init_baseinfo_hedetlflaglst_A0069" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  552. <Dataset id="ds_init_room_roomlst_itemroom" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  553. <ColumnInfo>
  554. <Column id="sel" type="STRING" size="256" sumtext="선택"/>
  555. <Column id="testroomcd" type="STRING" size="256" sumtext="검사실코드"/>
  556. <Column id="testroomnm" type="STRING" size="256" sumtext="검사실명"/>
  557. <Column id="cnt" type="INT" size="256" sumtext="인원"/>
  558. <Column id="healexamplacecd" type="STRING" size="256" sumtext="건진장소"/>
  559. </ColumnInfo>
  560. </Dataset>
  561. <Dataset id="ds_init_baseinfo_healexamplacelst_S600" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  562. <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  563. <ColumnInfo>
  564. <Column id="sel_add" type="STRING" size="256"/>
  565. </ColumnInfo>
  566. <Rows>
  567. <Row/>
  568. </Rows>
  569. </Dataset>
  570. <Dataset id="ds_main_barcdprntsetup_prntsetupinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  571. <ColumnInfo>
  572. <Column id="prntsetupinfo" type="STRING" size="256" sumtext="코드"/>
  573. <Column id="macaddr" type="STRING" size="256" sumtext="macaddr"/>
  574. </ColumnInfo>
  575. </Dataset>
  576. <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  577. <ColumnInfo>
  578. <Column id="okflag" type="STRING" size="256"/>
  579. <Column id="lookaheadyn" type="STRING" size="256"/>
  580. </ColumnInfo>
  581. <Rows>
  582. <Row>
  583. <Col id="lookaheadyn"/>
  584. <Col id="okflag"/>
  585. </Row>
  586. </Rows>
  587. </Dataset>
  588. <Dataset id="ds_temp_pkginfo_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  589. <Dataset id="ds_temp_testinfo_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  590. <Dataset id="ds_main_prntpatlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  591. <ColumnInfo>
  592. <Column id="sel" type="STRING" size="256" sumtext="선택"/>
  593. <Column id="hngnm" type="STRING" size="256" sumtext="성명"/>
  594. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  595. <Column id="sex" type="STRING" size="256" sumtext="성별/나이"/>
  596. <Column id="age" type="STRING" size="256" sumtext="성별/나이"/>
  597. <Column id="sexage" type="STRING" size="256" sumtext="성별/나이"/>
  598. <Column id="pkgnm" type="STRING" size="256" sumtext="pkg명"/>
  599. <Column id="pkgcd" type="STRING" size="256" sumtext="pkg코드"/>
  600. <Column id="cmpynm" type="STRING" size="256" sumtext="업체명"/>
  601. <Column id="telno" type="STRING" size="256" sumtext="전화번호"/>
  602. <Column id="mpphonno" type="STRING" size="256" sumtext="휴대폰번호"/>
  603. <Column id="rgstno" type="STRING" size="256" sumtext="주민번호"/>
  604. <Column id="rsrvdttm" type="STRING" size="256" sumtext="예약일시"/>
  605. <Column id="orddttm" type="STRING" size="256" sumtext="접수일시"/>
  606. <Column id="orddd" type="STRING" size="256" sumtext="접수일자"/>
  607. <Column id="hopedd" type="STRING" size="256" sumtext="접수일자"/>
  608. <Column id="addr" type="STRING" size="256" sumtext="주소"/>
  609. <Column id="choiflag" type="STRING" size="256" sumtext="선택사항"/>
  610. <Column id="remcnts" type="STRING" size="256" sumtext="접수비고"/>
  611. <Column id="rsrvflag" type="STRING" size="256" sumtext="예약구분"/>
  612. <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
  613. <Column id="rsrvdd" type="STRING" size="256" sumtext="등록일자"/>
  614. <Column id="rsrvno" type="STRING" size="256" sumtext="예약번호"/>
  615. <Column id="statflag" type="STRING" size="256" sumtext="상태구분"/>
  616. <Column id="cmpycd" type="STRING" size="256" sumtext="업체코드"/>
  617. <Column id="conseq" type="INT" size="256" sumtext="계약번호"/>
  618. <Column id="conhistseq" type="INT" size="256" sumtext="계약이력번호"/>
  619. <Column id="rsltcnstflag" type="STRING" size="256" sumtext="결과상담구분"/>
  620. <Column id="rsltcnstdd" type="STRING" size="256" sumtext="결과상담일자"/>
  621. <Column id="jobposcd" type="STRING" size="256" sumtext="직위코드"/>
  622. <Column id="testcd" type="STRING" size="256" sumtext="추가검사"/>
  623. <Column id="testnm" type="STRING" size="256" sumtext="추가검사명"/>
  624. <Column id="fstrgstdt" type="STRING" size="256" sumtext="최초생성일시"/>
  625. <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종수정자"/>
  626. <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종수정일시"/>
  627. <Column id="totamt" type="STRING" size="256" sumtext="소계"/>
  628. <Column id="discamt" type="STRING" size="256" sumtext="할인금액"/>
  629. <Column id="reduamt" type="STRING" size="256" sumtext="감면금액"/>
  630. <Column id="restamt" type="STRING" size="256" sumtext="미수금액"/>
  631. <Column id="rcptamt" type="STRING" size="256" sumtext="실수납액"/>
  632. <Column id="totcnt" type="STRING" size="256" sumtext="누적횟수"/>
  633. <Column id="disccd" type="STRING" size="256" sumtext="DC코드"/>
  634. <Column id="clntempid" type="STRING" size="256" sumtext="관계자사번"/>
  635. <Column id="clntempidyn" type="STRING" size="256" sumtext="관계자여부"/>
  636. <Column id="hopedd_b" type="STRING" size="256" sumtext="이전검진일"/>
  637. <Column id="hopedd_bb" type="STRING" size="256" sumtext="전전검진일"/>
  638. <Column id="rsrvyn" type="STRING" size="256" sumtext="안내문발송여부"/>
  639. <Column id="expireyn" type="STRING" size="256" sumtext="직원소개 매핑여부"/>
  640. <Column id="vipyn" type="STRING" size="256" sumtext="vip여부"/>
  641. <Column id="clntgrde" type="STRING" size="256" sumtext="vip사유"/>
  642. <Column id="rsrvtm" type="STRING" size="256" sumtext="예약시간"/>
  643. </ColumnInfo>
  644. </Dataset>
  645. <Dataset id="ds_main_seqprntdata_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  646. <ColumnInfo>
  647. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  648. <Column id="hngnm" type="STRING" size="256" sumtext="성명"/>
  649. <Column id="sexage" type="STRING" size="256" sumtext="성별/나이"/>
  650. <Column id="pkgnm" type="STRING" size="256" sumtext="pkg명"/>
  651. <Column id="brthdd" type="STRING" size="256" sumtext="생년월일"/>
  652. <Column id="rsrvno" type="STRING" size="256" sumtext="예약번호"/>
  653. <Column id="testroomcd" type="STRING" size="256" sumtext="검사실코드"/>
  654. <Column id="testroomnm" type="STRING" size="256" sumtext="검사실명"/>
  655. </ColumnInfo>
  656. </Dataset>
  657. <Dataset id="ds_main_seqprntdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  658. <Dataset id="ds_main_seqprntdata_labelname" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  659. <ColumnInfo>
  660. <Column id="sel" type="STRING" size="256" sumtext="선택"/>
  661. <Column id="hngnm" type="STRING" size="256" sumtext="성명"/>
  662. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  663. <Column id="sex" type="STRING" size="256" sumtext="성별/나이"/>
  664. <Column id="age" type="STRING" size="256" sumtext="성별/나이"/>
  665. <Column id="sexage" type="STRING" size="256" sumtext="성별/나이"/>
  666. <Column id="pkgnm" type="STRING" size="256" sumtext="pkg명"/>
  667. <Column id="pkgcd" type="STRING" size="256" sumtext="pkg코드"/>
  668. <Column id="cmpynm" type="STRING" size="256" sumtext="업체명"/>
  669. <Column id="telno" type="STRING" size="256" sumtext="전화번호"/>
  670. <Column id="mpphonno" type="STRING" size="256" sumtext="휴대폰번호"/>
  671. <Column id="rgstno" type="STRING" size="256" sumtext="주민번호"/>
  672. <Column id="rsrvdttm" type="STRING" size="256" sumtext="예약일시"/>
  673. <Column id="orddttm" type="STRING" size="256" sumtext="접수일시"/>
  674. <Column id="orddd" type="STRING" size="256" sumtext="접수일자"/>
  675. <Column id="hopedd" type="STRING" size="256" sumtext="접수일자"/>
  676. <Column id="addr" type="STRING" size="256" sumtext="주소"/>
  677. <Column id="choiflag" type="STRING" size="256" sumtext="선택사항"/>
  678. <Column id="remcnts" type="STRING" size="256" sumtext="접수비고"/>
  679. <Column id="rsrvflag" type="STRING" size="256" sumtext="예약구분"/>
  680. <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
  681. <Column id="rsrvdd" type="STRING" size="256" sumtext="등록일자"/>
  682. <Column id="rsrvno" type="STRING" size="256" sumtext="예약번호"/>
  683. <Column id="statflag" type="STRING" size="256" sumtext="상태구분"/>
  684. <Column id="cmpycd" type="STRING" size="256" sumtext="업체코드"/>
  685. <Column id="conseq" type="INT" size="256" sumtext="계약번호"/>
  686. <Column id="conhistseq" type="INT" size="256" sumtext="계약이력번호"/>
  687. <Column id="rsltcnstflag" type="STRING" size="256" sumtext="결과상담구분"/>
  688. <Column id="rsltcnstdd" type="STRING" size="256" sumtext="결과상담일자"/>
  689. <Column id="jobposcd" type="STRING" size="256" sumtext="직위코드"/>
  690. <Column id="testcd" type="STRING" size="256" sumtext="추가검사"/>
  691. <Column id="testnm" type="STRING" size="256" sumtext="추가검사명"/>
  692. <Column id="fstrgstdt" type="STRING" size="256" sumtext="최초생성일시"/>
  693. <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종수정자"/>
  694. <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종수정일시"/>
  695. <Column id="totamt" type="STRING" size="256" sumtext="소계"/>
  696. <Column id="discamt" type="STRING" size="256" sumtext="할인금액"/>
  697. <Column id="reduamt" type="STRING" size="256" sumtext="감면금액"/>
  698. <Column id="restamt" type="STRING" size="256" sumtext="미수금액"/>
  699. <Column id="rcptamt" type="STRING" size="256" sumtext="실수납액"/>
  700. <Column id="totcnt" type="STRING" size="256" sumtext="누적횟수"/>
  701. <Column id="disccd" type="STRING" size="256" sumtext="DC코드"/>
  702. <Column id="clntempid" type="STRING" size="256" sumtext="관계자사번"/>
  703. <Column id="clntempidyn" type="STRING" size="256" sumtext="관계자여부"/>
  704. <Column id="hopedd_b" type="STRING" size="256" sumtext="이전검진일"/>
  705. <Column id="hopedd_bb" type="STRING" size="256" sumtext="전전검진일"/>
  706. <Column id="rsrvyn" type="STRING" size="256" sumtext="안내문발송여부"/>
  707. <Column id="expireyn" type="STRING" size="256" sumtext="직원소개 매핑여부"/>
  708. <Column id="vipyn" type="STRING" size="256" sumtext="vip여부"/>
  709. <Column id="clntgrde" type="STRING" size="256" sumtext="vip사유"/>
  710. <Column id="rsrvtm" type="STRING" size="256" sumtext="예약시간"/>
  711. </ColumnInfo>
  712. </Dataset>
  713. <Dataset id="ds_rexBarInfo_barcode_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  714. <ColumnInfo>
  715. <Column id="pid" type="STRING" size="256"/>
  716. <Column id="hngnm" type="STRING" size="256"/>
  717. <Column id="sex" type="STRING" size="256"/>
  718. <Column id="age" type="STRING" size="256"/>
  719. <Column id="healexamno" type="STRING" size="256"/>
  720. <Column id="srchhealexamdetlflag" type="STRING" size="256"/>
  721. <Column id="rgstno" type="STRING" size="256"/>
  722. <Column id="hopedd" type="STRING" size="256"/>
  723. <Column id="hopedd_b" type="STRING" size="256"/>
  724. <Column id="hopedd_bb" type="STRING" size="256"/>
  725. </ColumnInfo>
  726. <Rows>
  727. <Row>
  728. <Col id="pid"/>
  729. <Col id="hngnm"/>
  730. <Col id="sex"/>
  731. <Col id="age"/>
  732. <Col id="healexamno"/>
  733. <Col id="srchhealexamdetlflag"/>
  734. <Col id="rgstno"/>
  735. <Col id="hopedd"/>
  736. <Col id="hopedd_b"/>
  737. <Col id="hopedd_bb"/>
  738. </Row>
  739. </Rows>
  740. </Dataset>
  741. <Dataset id="ds_main_seqscndprntdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  742. </Objects>
  743. <Bind>
  744. <BindItem id="item0" compid="group5.cmb_srchhealexamdetlflag" propid="value" datasetid="ds_send" columnid="srchhealexamdetlflag"/>
  745. <BindItem id="item1" compid="group5.cmb_srchroomcd" propid="value" datasetid="ds_send" columnid="srchroomcd"/>
  746. <BindItem id="item2" compid="group5.ipt_srchcmpycd" propid="value" datasetid="ds_send" columnid="srchcmpycd"/>
  747. <BindItem id="item3" compid="group5.opt_srchcmpynm" propid="value" datasetid="ds_send" columnid="srchcmpynm"/>
  748. <BindItem id="item4" compid="group5.ipt_srchpnm" propid="value" datasetid="ds_send" columnid="srchpnm"/>
  749. <BindItem id="item5" compid="group5.rdo_srchcond" propid="value" datasetid="ds_send" columnid="srchstatfg"/>
  750. <BindItem id="item6" compid="group5.ipt_srchrgstno1" propid="value" datasetid="ds_send" columnid="srchrgstno1"/>
  751. <BindItem id="item7" compid="group5.ipt_srchrgstno2" propid="value" datasetid="ds_send" columnid="srchrgstno2"/>
  752. <BindItem id="item8" compid="group5.ipt_srchpkgcd" propid="value" datasetid="ds_send" columnid="srchpkgcd"/>
  753. <BindItem id="item9" compid="group5.opt_srchpkgnm" propid="value" datasetid="ds_send" columnid="srchpkgnm"/>
  754. <BindItem id="item10" compid="group5.ipt_srchtestcd" propid="value" datasetid="ds_send" columnid="srchtestcd"/>
  755. <BindItem id="item11" compid="group5.opt_srchtestnm" propid="value" datasetid="ds_send" columnid="srchtestnm"/>
  756. <BindItem id="item12" compid="group5.ipt_srchpid" propid="value" datasetid="ds_send" columnid="srchpid"/>
  757. <BindItem id="item13" compid="group5.ipt_srchfromdd" propid="value" datasetid="ds_send" columnid="srchfromdd"/>
  758. <BindItem id="item14" compid="group5.ipt_srchtodd" propid="value" datasetid="ds_send" columnid="srchtodd"/>
  759. <BindItem id="item15" compid="group5.combo1" propid="value" datasetid="ds_send" columnid="srchhealexamplacecd"/>
  760. <BindItem id="item16" compid="swt_prest.case_prest.chk_add" propid="value" datasetid="ds_main" columnid="sel_add"/>
  761. <BindItem id="item17" compid="input1" propid="value" datasetid="ds_send" columnid="prtcnt"/>
  762. <BindItem id="item18" compid="chk_lookaheadyn" propid="value" datasetid="ds_temp" columnid="lookaheadyn"/>
  763. </Bind>
  764. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  765. * System Name :
  766. * Job Name :
  767. * Creator :
  768. * Make Date : 2015-11-13
  769. * Description :
  770. *---------------------------------------------------------------------------------------
  771. * Modify Date Modifier Modify Description
  772. *---------------------------------------------------------------------------------------
  773. * 2015-11-13 Live Converter TF->XP
  774. *
  775. *---------------------------------------------------------------------------------------
  776. ****************************************************************************************/
  777. include "com_commonxp::comm_main.xjs";
  778. include "ast_healexamxp::AHA001.xjs";
  779. include "ast_healthexambasexp::healcombolist.xjs";
  780. include "com_commodulexp::SSZFM00901.xjs";
  781. var vHealExamFlag = ""; //건진구분
  782. var vSrchCond2 = "pnm"; //조회조건2 : 성명
  783. var vSrchCond3 = "pid"; //조회조건3 : 등록번호
  784. var vSrchCond4 = "rgstno"; //조회조건4 : 주민번호
  785. function SMAHA00400_oninit(obj:Form, e:InitEventInfo)
  786. {
  787. frmf_initForm(obj);
  788. }
  789. function SMAHA00400_onload(obj:Form, e:LoadEventInfo)
  790. {
  791. grdf_initGrid(swt_prest.case_detl.grd_ordlst);
  792. grdf_setRowTypeIcon(swt_prest.case_detl.grd_ordlst, 0);
  793. grdf_initGrid(swt_prest.case_prest.grd_rsrvacptlst);
  794. grdf_initGrid(swt_prest.case_prest.grd_shadow);
  795. grdf_setToolTipBind(swt_prest.case_prest.grd_rsrvacptlst);
  796. grdf_setToolTipBind(swt_prest.case_prest.grd_shadow);
  797. grdf_setToolTipBind(swt_prest.case_detl.grd_ordlst);
  798. if(frmf_checkOpener())
  799. {
  800. fOpenInit();
  801. }
  802. else
  803. {
  804. fGetComnCdList();
  805. fGetBasicCdList();
  806. }
  807. chk_lookaheadyn.value = "Y";
  808. ds_send.setColumn(0, "prtcnt", "1");
  809. dsf_makeValue(ds_send, "scrnid", "string", frmf_getScreenID());
  810. var oParam = {};
  811. oParam.id = "TRLLC90101";
  812. oParam.service = "diagtestapplib.LisCommon";
  813. oParam.method = "reqGetSetUpInfo";
  814. oParam.inds = "scrnid=ds_send";
  815. oParam.outds = "ds_main_barcdprntsetup_prntsetupinfo=getSetUpInfo";
  816. oParam.async = false;
  817. //oParam.callback = "cf_TRLLC90101";
  818. tranf_submit(oParam);
  819. lf_convertXmlToDs(ds_main_barcdprntsetup_prntsetupinfo.getColumn(0,"prntsetupinfo")); //XML데이터로 프리터설정 관련 DS생성
  820. var instcd = sysf_getUserInfo("dutplceinstcd");
  821. if (instcd == "032")
  822. {
  823. btn_rsrvprnt.visible = true;
  824. }
  825. }
  826. function fOpenInit()
  827. {
  828. if( !frmf_checkOpener() ) return ;
  829. var sHealExamFg = opener.frmf_getParameter("SMAHA00400_PARAM1");
  830. var sHealExamDetlFg = opener.frmf_getParameter("SMAHA00400_PARAM2");
  831. var sDateChkYN = opener.frmf_getParameter("SMAHA00400_PARAM3");
  832. if(sDateChkYN == "N")
  833. {
  834. sDateChkYN = "";
  835. }
  836. var sStatFg = opener.frmf_getParameter("SMAHA00400_PARAM4");
  837. var sCmpyCd = opener.frmf_getParameter("SMAHA00400_PARAM5");
  838. var sRoomCd = opener.frmf_getParameter("SMAHA00400_PARAM6");
  839. var sPnm = opener.frmf_getParameter("SMAHA00400_PARAM7");
  840. var sPid = opener.frmf_getParameter("SMAHA00400_PARAM8");
  841. var sRgstNo1 = opener.frmf_getParameter("SMAHA00400_PARAM9");
  842. var sRgstNo2 = opener.frmf_getParameter("SMAHA00400_PARAM10");
  843. var sPkgCd = opener.frmf_getParameter("SMAHA00400_PARAM11");
  844. var sSrchcond2 = opener.frmf_getParameter("SMAHA00400_PARAM12");
  845. fGetComnCdList();
  846. sHealExamDetlFg = vHealExamFlag + "01";
  847. sStatFg = "C";
  848. fGetBasicCdList();
  849. group5.cmb_srchhealexamdetlflag.value = sHealExamDetlFg;
  850. group5.rdo_srchcond.value = sStatFg;
  851. group5.ipt_srchcmpycd.value = sCmpyCd;
  852. group5.cmb_srchroomcd.value = sRoomCd;
  853. group5.ipt_srchpnm.value = sPnm;
  854. group5.ipt_srchpid.value = sPid;
  855. group5.ipt_srchrgstno1.value = sRgstNo1;
  856. group5.ipt_srchrgstno2.value = sRgstNo2;
  857. fGetRsrvAcptList(sSrchcond2);
  858. }
  859. function fGetComnCdList()
  860. {
  861. if(utlf_isNull(vHealExamFlag))
  862. {
  863. vHealExamFlag = fGetHealExamFlag();
  864. }
  865. if(vHealExamFlag == "C")
  866. {
  867. var arrParam = [{dsNm: "ds_init_baseinfo_hedetlflaglst_A0069", cdGrpId: "A0069"}
  868. ,{dsNm: "ds_init_baseinfo_choiflaglst_A0116", cdGrpId: "A0116"}
  869. ,{dsNm: "ds_init_baseinfo_rsrvflaglst_A0115", cdGrpId: "A0115"}
  870. ,{dsNm: "ds_init_baseinfo_testflag_A0117", cdGrpId: "A0117"}
  871. ,{dsNm: "ds_init_baseinfo_statlst_A0107", cdGrpId: "A0107"}]
  872. appf_getCodeList(arrParam);
  873. }
  874. else
  875. {
  876. var arrParam = [{dsNm: "ds_init_baseinfo_hedetlflaglst_A0070", cdGrpId: "A0070"}
  877. ,{dsNm: "ds_init_baseinfo_choiflaglst_A0116", cdGrpId: "A0116"}
  878. ,{dsNm: "ds_init_baseinfo_rsrvflaglst_A0115", cdGrpId: "A0115"}
  879. ,{dsNm: "ds_init_baseinfo_testflag_A0117", cdGrpId: "A0117"}
  880. ,{dsNm: "ds_init_baseinfo_statlst_A0107", cdGrpId: "A0107"}]
  881. appf_getCodeList(arrParam);
  882. }
  883. //submit("TRZBC00101");
  884. }
  885. function fGetBasicCdList()
  886. {
  887. var arrParam = [{dsNm: "ds_init_baseinfo_healexamplacelst_S600", cdGrpId: "S600"}
  888. ,{dsNm: "ds_init_baseinfo_rsltcnstflaglst_S080", cdGrpId: "S080"}];
  889. healGetCodeList(arrParam);
  890. ds_send.setColumn(0, "srchinstcd", sysf_getUserInfo("posinstcd"));
  891. var oParam = {};
  892. oParam.id = "TRAHA00104";
  893. oParam.service = "healexambaseapp.ComCode";
  894. oParam.method = "reqGetDiscCdList";
  895. oParam.inds = "req=ds_send";
  896. oParam.outds = "ds_=disccdlst ds_init_baseinfo_pamcdlst_uncocdlst=uncocdlst ds_=cncruncocdlst ds_=calclst";
  897. oParam.async = false;
  898. //oParam.callback = "cf_TRAHA00104";
  899. tranf_submit(oParam);
  900. ds_send.setColumn(0, "srchinstcd", sysf_getUserInfo("posinstcd") );
  901. var oParam = {};
  902. oParam.id = "TRAHB01502";
  903. oParam.service = "healexambaseapp.ComCode";
  904. oParam.method = "reqGetRoomCdList";
  905. oParam.inds = "req=ds_send";
  906. oParam.outds = "ds_init_room_roomlst_itemroom=item";
  907. oParam.async = false;
  908. //oParam.callback = "cf_TRAHB01502";
  909. tranf_submit(oParam);
  910. if(vHealExamFlag=="C")
  911. {
  912. group5.cmb_srchhealexamdetlflag.innerdataset = "ds_init_baseinfo_hedetlflaglst_A0069";
  913. group5.cmb_srchhealexamdetlflag.codecolumn = "cdid";
  914. group5.cmb_srchhealexamdetlflag.datacolumn = "cdnm";
  915. var sDetlFg = "ds_init_baseinfo_hedetlflaglst_A0069";
  916. }
  917. else
  918. {
  919. group5.cmb_srchhealexamdetlflag.innerdataset = "ds_init_baseinfo_hedetlflaglst_A0070";
  920. group5.cmb_srchhealexamdetlflag.codecolumn = "cdid";
  921. group5.cmb_srchhealexamdetlflag.datacolumn = "cdnm";
  922. var sDetlFg = "ds_init_baseinfo_hedetlflaglst_A0070";
  923. }
  924. var curDt = utlf_getCurrentDate();
  925. group5.cmb_srchhealexamdetlflag.index = 0;
  926. group5.ipt_srchfromdd.value = curDt;
  927. group5.ipt_srchtodd.value = curDt;
  928. ds_main_rsrvacptlst_item.clearData();
  929. ds_main_ordinfo_ordlst.clearData();
  930. swt_prest.tabindex = 0;
  931. var vHealExamDetlFg = fGetHealExamDetlFlag();
  932. var nodelist = eval(sDetlFg);
  933. if(nodelist.rowcount > 0)
  934. {
  935. group5.cmb_srchhealexamdetlflag.value = vHealExamDetlFg;
  936. }
  937. }
  938. function fGetRsrvAcptList(srchcond2)
  939. {
  940. if(!utlf_isNull(srchcond2))
  941. {
  942. vSrchCond2 = srchcond2;
  943. }
  944. ds_main_rsrvacptlst_item.clearData();
  945. if(utlf_isNull(vHealExamFlag))
  946. {
  947. sysf_messageBox("조회조건이 불충분합니다!", "E999");
  948. return;
  949. }
  950. if(ds_send.getColumn(0, "srchdateyn") != "Y" )
  951. {
  952. if(utlf_isNull(ds_send.getColumn(0, "srchpid")) && String(ds_send.getColumn(0, "srchpnm")).length < 2 &&
  953. String(ds_send.getColumn(0, "srchrgstno1")).length < 6 && String(ds_send.getColumn(0, "srchrgstno2")).length < 7)
  954. {
  955. sysf_messageBox("일자에 구분없이 조회할 경우 성명, 등록번호, 주민번호 중 한 조건을 반드시 입력하셔야 합니다.", "E999");
  956. return;
  957. }
  958. }
  959. ds_send.setColumn(0, "srchinstcd", sysf_getUserInfo("posinstcd"));
  960. ds_send.setColumn(0, "srchhealexamflag", vHealExamFlag);
  961. ds_send.setColumn(0, "srchcond2", vSrchCond2);
  962. var oParam = {};
  963. oParam.id = "TRAHA00401";
  964. oParam.service = "healexamrsrvacptapp.HealExamPrest";
  965. oParam.method = "reqGetHealExamPrestList";
  966. oParam.inds = "req=ds_send";
  967. oParam.outds = "ds_main_rsrvacptlst_item=item";
  968. oParam.async = false;
  969. //oParam.callback = "cf_TRAHA00401";
  970. tranf_submit(oParam);
  971. }
  972. function group5_ipt_srchcmpycd_onkeyup(obj:Edit, e:KeyEventInfo)
  973. {
  974. if(e.keycode == 13)
  975. {
  976. obj.updateToDataset();
  977. group5.btn_selcmpy.click();
  978. }
  979. }
  980. function group5_btn_selcmpy_onclick(obj:Button, e:ClickEventInfo)
  981. {
  982. if (vHealExamFlag == "C")
  983. {
  984. fGetComnCd("SMAHA00400", "08" , "nm", group5.ipt_srchcmpycd.value, group5.ipt_srchcmpycd,group5.opt_srchcmpynm);
  985. }
  986. else
  987. {
  988. fGetComnCd("SMAHA01500", "09" , "cd", group5.ipt_srchcmpycd.value, group5.ipt_srchcmpycd,group5.opt_srchcmpynm);
  989. }
  990. }
  991. function group5_btn_selpkg_onclick(obj:Button, e:ClickEventInfo)
  992. {
  993. ds_temp.setColumn(0, "okflag", "");
  994. ds_temp_pkginfo_item.clearData();
  995. fGetPkgCd("SMAHA00100", "P", "N","nm" , group5.ipt_srchpkgcd.value, ds_send.getColumn(0, "srchhealexamdetlflag") , "" , "ds_temp_pkginfo_item");
  996. if(ds_temp.getColumn(0, "okflag") == "ok")
  997. {
  998. group5.ipt_srchpkgcd.value = ds_temp_pkginfo_item.getColumn(0, "pkgcd");
  999. group5.opt_srchpkgnm.value = ds_temp_pkginfo_item.getColumn(0, "pkgnm");
  1000. }
  1001. }
  1002. function group5_button2_onclick(obj:Button, e:ClickEventInfo)
  1003. {
  1004. ds_temp.setColumn(0, "okflag", "");
  1005. ds_temp_testinfo_item.clearData();
  1006. fGetPkgCd("SMAHA00100", "A", "N","nm" , group5.ipt_srchtestcd.value, ds_send.getColumn(0, "srchhealexamdetlflag") , "" , "ds_temp_testinfo_item");
  1007. if(ds_temp.getColumn(0, "okflag") == "ok")
  1008. {
  1009. group5.ipt_srchtestcd.value = ds_temp_testinfo_item.getColumn(0, "testcd");
  1010. group5.opt_srchtestnm.value = ds_temp_testinfo_item.getColumn(0, "testnm");
  1011. }
  1012. }
  1013. function group5_ipt_srchpnm_onkeyup(obj:Edit, e:KeyEventInfo)
  1014. {
  1015. if(e.keycode == 13)
  1016. {
  1017. obj.updateToDataset();
  1018. fGetRsrvAcptList("pnm");
  1019. group5.ipt_srchrgstno1.setFocus();
  1020. }
  1021. }
  1022. function group5_ipt_srchrgstno1_onkeyup(obj:MaskEdit, e:KeyEventInfo)
  1023. {
  1024. if(e.keycode == 13)
  1025. {
  1026. obj.updateToDataset();
  1027. fGetRsrvAcptList("rgstno");
  1028. }
  1029. }
  1030. function group5_ipt_srchrgstno2_onkeyup(obj:MaskEdit, e:KeyEventInfo)
  1031. {
  1032. if(e.keycode == 13)
  1033. {
  1034. obj.updateToDataset();
  1035. fGetRsrvAcptList("rgstno");
  1036. }
  1037. }
  1038. function group5_ipt_srchpid_onkeyup(obj:Edit, e:KeyEventInfo)
  1039. {
  1040. if(e.keycode == 13)
  1041. {
  1042. obj.updateToDataset();
  1043. fGetRsrvAcptList("pid");
  1044. }
  1045. }
  1046. function group5_combo1_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1047. {
  1048. ds_init_room_roomlst_itemroom.clearData();
  1049. ds_send.setColumn(0, "srchroomcd","");
  1050. var oParam = {};
  1051. oParam.id = "TRAHB01502";
  1052. oParam.service = "healexambaseapp.ComCode";
  1053. oParam.method = "reqGetRoomCdList";
  1054. oParam.inds = "req=ds_send";
  1055. oParam.outds = "ds_init_room_roomlst_itemroom=item";
  1056. oParam.async = false;
  1057. //oParam.callback = "cf_TRAHB01502";
  1058. tranf_submit(oParam);
  1059. }
  1060. function group5_btn_search_onclick(obj:Button, e:ClickEventInfo)
  1061. {
  1062. if(utlf_isNull(group5.ipt_srchcmpycd.value))
  1063. {
  1064. ds_send.setColumn(0, "srchcmpynm", "");
  1065. }
  1066. if(utlf_isNull(group5.ipt_srchpkgcd.value))
  1067. {
  1068. ds_send.setColumn(0, "srchpkgnm", "");
  1069. }
  1070. if(!utlf_isNull(group5.ipt_srchpnm.value))
  1071. {
  1072. fGetRsrvAcptList(vSrchCond2);
  1073. }
  1074. else if(!utlf_isNull(group5.ipt_srchpid.value))
  1075. {
  1076. fGetRsrvAcptList(vSrchCond3);
  1077. }
  1078. else if(!utlf_isNull(group5.ipt_srchrgstno1.value))
  1079. {
  1080. fGetRsrvAcptList(vSrchCond4);
  1081. }
  1082. else
  1083. {
  1084. fGetRsrvAcptList();
  1085. }
  1086. }
  1087. function swt_prest_case_prest_grd_rsrvacptlst_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  1088. {
  1089. if(frmf_checkOpener())
  1090. {
  1091. fSetRsrvInfo();
  1092. }
  1093. else
  1094. {
  1095. fGetOrdInfo();
  1096. }
  1097. }
  1098. function fSetRsrvInfo()
  1099. {
  1100. if(!frmf_checkOpener()) return;
  1101. var idx = ds_main_rsrvacptlst_item.rowposition;
  1102. if(idx < 0) return;
  1103. var vRsrvdd = ds_main_rsrvacptlst_item.getColumn(idx, "rsrvdd");
  1104. var vRsrvno = ds_main_rsrvacptlst_item.getColumn(idx, "rsrvno");
  1105. if(utlf_isNull(vRsrvdd) || utlf_isNull(vRsrvno)) return;
  1106. var vDestNd = opener.frmf_getParameter("SMAHA00400_PARAM13");
  1107. dsf_makeValue(eval("opener."+vDestNd), "rsrvdd", "string", vRsrvdd);
  1108. dsf_makeValue(eval("opener."+vDestNd), "rsrvno", "string", vRsrvno);
  1109. var receiveref = eval("opener.ds_temp_SMAHA00400");
  1110. opener.dsf_makeValue(receiveref, "okflag", "string", "ok", 0);
  1111. this.close();
  1112. }
  1113. function fGetOrdInfo()
  1114. {
  1115. ds_main_ordinfo_ordlst.clearData();
  1116. var idx = ds_main_rsrvacptlst_item.rowposition;
  1117. if(idx < 0)
  1118. {
  1119. sysf_messageBox("건진항목을 선택하세요", "E999");
  1120. return ;
  1121. }
  1122. vTmp = String(ds_main_rsrvacptlst_item.getColumn(idx , "rgstno"));
  1123. ds_send.setColumn(0, "srchhealexamflag" , fGetHealExamFlag());
  1124. ds_send.setColumn(0, "srchpid" , ds_main_rsrvacptlst_item.getColumn(idx, "pid"));
  1125. ds_send.setColumn(0, "srchpnm" , ds_main_rsrvacptlst_item.getColumn(idx, "hngnm"));
  1126. ds_send.setColumn(0, "srchrgstno1" , vTmp.substr(0 ,6));
  1127. ds_send.setColumn(0, "srchrgstno2" , vTmp.substr(7 ,7));
  1128. ds_send.setColumn(0, "srchrsrvdd" , ds_main_rsrvacptlst_item.getColumn(idx, "rsrvdd"));
  1129. ds_send.setColumn(0, "srchrsrvno" , ds_main_rsrvacptlst_item.getColumn(idx, "rsrvno"));
  1130. ds_send.setColumn(0, "srchorddd" , ds_main_rsrvacptlst_item.getColumn(idx, "orddd"));
  1131. ds_send.setColumn(0, "srchcretno" , ds_main_rsrvacptlst_item.getColumn(idx, "cretno"));
  1132. var oParam = {};
  1133. oParam.id = "TRAHA00701";
  1134. oParam.service = "healexamrsrvacptapp.RsrvAcpt";
  1135. oParam.method = "reqGetOrdInfo";
  1136. oParam.inds = "req=ds_send";
  1137. oParam.outds = "ds_main_ordinfo_ordlst=item ds_=info";
  1138. oParam.async = false;
  1139. oParam.callback = "cf_TRAHA00701";
  1140. tranf_submit(oParam);
  1141. }
  1142. function cf_TRAHA00701(sSvcId, nErrorCode, sErrorMsg)
  1143. {
  1144. if(nErrorCode < 0) return;
  1145. else
  1146. {
  1147. swt_prest.tabindex = 1;
  1148. }
  1149. }
  1150. function ds_main_ordinfo_ordlst_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  1151. {
  1152. if(e.columnid == "dcflag")
  1153. {
  1154. obj.setColumn(e.row, "dcflag", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
  1155. }
  1156. }
  1157. function swt_prest_case_prest_chk_add_onclick(obj:CheckBox, e:ClickEventInfo)
  1158. {
  1159. if(obj.value == "Y")
  1160. {
  1161. fSetGrdCheck("Y", swt_prest.case_prest.grd_rsrvacptlst);
  1162. }
  1163. else
  1164. {
  1165. fSetGrdCheck("N", swt_prest.case_prest.grd_rsrvacptlst);
  1166. }
  1167. }
  1168. function fSetGrdCheck(vCheck, vGrid)
  1169. {
  1170. for(var i = 0; i < this.objects[vGrid.binddataset].rowcount; i++)
  1171. {
  1172. this.objects[vGrid.binddataset].setColumn(i, "sel", vCheck);
  1173. }
  1174. }
  1175. function ds_main_rsrvacptlst_item_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  1176. {
  1177. if(e.columnid == "sel")
  1178. {
  1179. obj.setColumn(e.row, "sel", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
  1180. }
  1181. }
  1182. function btn_excel_onclick(obj:Button, e:ClickEventInfo)
  1183. {
  1184. if(swt_prest.tabindex == 0)
  1185. {
  1186. if(ds_main_rsrvacptlst_item.rowcount == 0) return;
  1187. else
  1188. {
  1189. grdf_exportExcel(swt_prest.case_prest.grd_shadow, "excel", "예약접수현황", "true", "", "");
  1190. }
  1191. }
  1192. else
  1193. {
  1194. if(ds_main_rsrvacptlst_item.rowcount == 0) return;
  1195. else
  1196. {
  1197. grdf_exportExcel(swt_prest.case_prest.grd_ordlst, "excel", "SheetName", "true", "", "");
  1198. }
  1199. }
  1200. }
  1201. function btn_prntset_onclick(obj:Button, e:ClickEventInfo)
  1202. {
  1203. fSetPrint();
  1204. }
  1205. function fSetPrint()
  1206. {
  1207. var objArg = new Object();
  1208. objArg.arg_sSetupInfo = ds_main_barcdprntsetup_prntsetupinfo.getColumn(0,"prntsetupinfo");
  1209. frmf_open("SPZUR00300", "SPZUR00300", objArg, "", "", "", "", "", "", "", "", "", "M");
  1210. }
  1211. function btn_prntlist_onclick(obj:Button, e:ClickEventInfo)
  1212. {
  1213. fRsrvPatListPrnt();
  1214. }
  1215. function fRsrvPatListPrnt()
  1216. {
  1217. var nodeList = ds_main_rsrvacptlst_item.getCaseCount("sel == 'Y'");
  1218. if(nodeList == 0)
  1219. {
  1220. sysf_messageBox("출력할 내역이 ", "I004");
  1221. return ;
  1222. }
  1223. ds_main_prntpatlist.copyData(ds_main_rsrvacptlst_item);
  1224. ds_main_prntpatlist.clearData();
  1225. for(var i = 0; i < ds_main_rsrvacptlst_item.rowcount; i++)
  1226. {
  1227. if(ds_main_rsrvacptlst_item.getColumn(i, "sel") == "Y")
  1228. {
  1229. var addRow = ds_main_prntpatlist.addRow();
  1230. ds_main_prntpatlist.copyRow(addRow, ds_main_rsrvacptlst_item, i)
  1231. }
  1232. }
  1233. if(chk_lookaheadyn.value == "Y")
  1234. {
  1235. var objDOM = rptf_createDOM();
  1236. rptf_setNodeListToDOM(objDOM, "/root/main/prntpatlist/list", ds_main_prntpatlist);
  1237. var objParam = new Object();
  1238. objParam.xml_data_XML1 = objDOM.documentElement.source;
  1239. var option = null;
  1240. rptf_exeReportPreview30(["RPAHA00401"],[objParam], option);
  1241. }
  1242. else
  1243. {
  1244. var objDOM = rptf_createDOM();
  1245. rptf_setNodeListToDOM(objDOM, "/root/main/prntpatlist/list", ds_main_prntpatlist);
  1246. var objParam = new Object();
  1247. objParam.xml_data_XML1 = objDOM.documentElement.source;
  1248. var option = "directprint=1";
  1249. rptf_exeReportPreview30(["RPAHA00401"],[objParam], option);
  1250. }
  1251. }
  1252. function btn_prntseq_onclick(obj:Button, e:ClickEventInfo)
  1253. {
  1254. fPrntScndSeq();
  1255. }
  1256. function fPrntScndSeq()
  1257. {
  1258. var cnt = ds_main_rsrvacptlst_item.rowcount;
  1259. var sel = "";
  1260. var nodeList = null;
  1261. for(var i = 0; i < cnt; i++)
  1262. {
  1263. sel = ds_main_rsrvacptlst_item.getColumn(i, "sel");
  1264. if(sel == "Y")
  1265. {
  1266. ds_send.setColumn(0, "srchhealexamflag", fGetHealExamFlag());
  1267. ds_send.setColumn(0, "srchrsrvdd", ds_main_rsrvacptlst_item.getColumn(i, "rsrvdd"));
  1268. ds_send.setColumn(0, "srchrsrvno", ds_main_rsrvacptlst_item.getColumn(i, "rsrvno"));
  1269. ds_send.setColumn(0, "srchcmpycd", ds_main_rsrvacptlst_item.getColumn(i, "cmpycd"));
  1270. ds_send.setColumn(0, "srchconseq", ds_main_rsrvacptlst_item.getColumn(i, "conseq"));
  1271. dsf_makeValue(ds_send, "srchchoiflag", "string", ds_main_rsrvacptlst_item.getColumn(i, "choiflag"));
  1272. var oParam = {};
  1273. oParam.id = "TRAHA00402";
  1274. oParam.service = "healexamrsrvacptapp.HealExamPrest";
  1275. oParam.method = "reqGetSeqPrntData";
  1276. oParam.inds = "req=ds_send";
  1277. oParam.outds = "ds_main_seqprntdata_item=item ds_=itemadd";
  1278. oParam.async = false;
  1279. //oParam.callback = "cf_TRAHA00402";
  1280. tranf_submit(oParam);
  1281. dsf_makeValue(ds_main_seqscndprntdata, "pid", "string", ds_main_rsrvacptlst_item.getColumn(i, "pid"));
  1282. dsf_makeValue(ds_main_seqscndprntdata, "hngnm", "string", ds_main_rsrvacptlst_item.getColumn(i, "hngnm"));
  1283. dsf_makeValue(ds_main_seqscndprntdata, "sexage", "string", ds_main_rsrvacptlst_item.getColumn(i, "sexage"));
  1284. dsf_makeValue(ds_main_seqscndprntdata, "pkgnm", "string", ds_main_rsrvacptlst_item.getColumn(i, "pkgnm"));
  1285. dsf_makeValue(ds_main_seqscndprntdata, "brtdd", "string", "");
  1286. dsf_makeValue(ds_main_seqscndprntdata, "orddd", "string", "");
  1287. dsf_makeValue(ds_main_seqscndprntdata, "cmpynm", "string", ds_main_rsrvacptlst_item.getColumn(i, "cmpynm"));
  1288. dsf_makeValue(ds_main_seqscndprntdata, "rrgstno", "string", ds_main_rsrvacptlst_item.getColumn(i, "rgstno"));
  1289. dsf_makeValue(ds_main_seqscndprntdata, "hopedd", "string", ds_main_rsrvacptlst_item.getColumn(i, "hopedd"));
  1290. for(var j = 0; j < ds_main_seqprntdata_item.rowcount; j++)
  1291. {
  1292. dsf_makeValue(ds_main_seqscndprntdata, "testroom"+ j, ds_main_seqprntdata_item.getColumn(j, "testroomnm"));
  1293. }
  1294. nodeList = ds_main_seqscndprntdata;
  1295. if(nodeList.rowcount > 0)
  1296. {
  1297. if(chk_lookaheadyn.value == "Y")
  1298. {
  1299. var objDOM = rptf_createDOM();
  1300. rptf_setNodeListToDOM(objDOM, "/root/main/seqscndprntdata", ds_main_seqscndprntdata);
  1301. var objParam = new Object();
  1302. objParam.xml_data_XML1 = objDOM.documentElement.source;
  1303. var option = "";
  1304. rptf_exeReportPreview30(["RPAHA00412"],[objParam], option);
  1305. }
  1306. else
  1307. {
  1308. var objDOM = rptf_createDOM();
  1309. rptf_setNodeListToDOM(objDOM, "/root/main/seqscndprntdata", ds_main_seqscndprntdata);
  1310. var objParam = new Object();
  1311. objParam.xml_data_XML1 = objDOM.documentElement.source;
  1312. var option = "directprint=1";
  1313. rptf_exeReportPreview30(["RPAHA00412"],[objParam], option);
  1314. }
  1315. }
  1316. }
  1317. }
  1318. }
  1319. function btn_prntlabel_onclick(obj:Button, e:ClickEventInfo)
  1320. {
  1321. fGetLabelName();
  1322. }
  1323. function fGetLabelName()
  1324. {
  1325. ds_main_seqprntdata_labelname.clearData();
  1326. for(var i = 0; i < ds_main_rsrvacptlst_item.rowcount; i++)
  1327. {
  1328. if(ds_main_rsrvacptlst_item.getColumn(i, "sel") == "Y")
  1329. {
  1330. var addRow = ds_main_seqprntdata_labelname.addRow();
  1331. ds_main_seqprntdata_labelname.copyRow(addRow, ds_main_rsrvacptlst_item, i)
  1332. }
  1333. }
  1334. nodeList = ds_main_seqprntdata_labelname.rowcount;
  1335. if(nodeList > 0)
  1336. {
  1337. rptf_printRexbar("RPAHA00403",chk_lookaheadyn.value,"root/main/seqprntdata/labelname/list",ds_main_seqprntdata_labelname);
  1338. // if(chk_lookaheadyn.value == "Y")
  1339. // {
  1340. // var objDOM = rptf_createDOM();
  1341. // rptf_setNodeListToDOM(objDOM, "/root/main/seqprntdata/labelname/list", ds_main_seqprntdata_labelname);
  1342. // var objParam = new Object();
  1343. // objParam.xml_data_XML1 = objDOM.documentElement.source;
  1344. // var option = "";
  1345. // rptf_exeReportPreview30(["RPAHA00403"],[objParam], option);
  1346. // rptf_printRexbar("RPAHA00403","Y","root/main/seqprntdata/labelname/list",ds_main_seqprntdata_labelname);
  1347. // }
  1348. // else
  1349. // {
  1350. // var objDOM = rptf_createDOM();
  1351. // rptf_setNodeListToDOM(objDOM, "/root/main/seqprntdata/labelname/list", ds_main_seqprntdata_labelname);
  1352. // var objParam = new Object();
  1353. // objParam.xml_data_XML1 = objDOM.documentElement.source;
  1354. // var option = "directprint=1;printdialog=0;";
  1355. // rptf_exeReportPreview30(["RPAHA00403"],[objParam], option);
  1356. // rptf_printRexbar("RPAHA00403",null,"/root/main/seqprntdata/labelname/list",ds_main_seqprntdata_labelname);
  1357. // }
  1358. }
  1359. }
  1360. function btn_prntname_onclick(obj:Button, e:ClickEventInfo)
  1361. {
  1362. fGetBarCodeList();
  1363. }
  1364. function fGetBarCodeList()
  1365. {
  1366. var cnt = ds_main_rsrvacptlst_item.rowcount;
  1367. var sel = "";
  1368. var prtcnt = ds_send.getColumn(0, "prtcnt");
  1369. for(var i = 0; i < prtcnt; i++)
  1370. {
  1371. for(var j = 0; j < cnt; j++)
  1372. {
  1373. sel = ds_main_rsrvacptlst_item.getColumn(j, "sel");
  1374. if (sel == "Y")
  1375. {
  1376. ds_rexBarInfo_barcode_list.clearData();
  1377. ds_rexBarInfo_barcode_list.addRow();
  1378. ds_rexBarInfo_barcode_list.setColumn(0, "pid", ds_main_rsrvacptlst_item.getColumn(j, "pid"));
  1379. ds_rexBarInfo_barcode_list.setColumn(0, "hngnm", ds_main_rsrvacptlst_item.getColumn(j, "hngnm"));
  1380. ds_rexBarInfo_barcode_list.setColumn(0, "sex", ds_main_rsrvacptlst_item.getColumn(j, "sex"));
  1381. ds_rexBarInfo_barcode_list.setColumn(0, "age", ds_main_rsrvacptlst_item.getColumn(j, "age"));
  1382. ds_rexBarInfo_barcode_list.setColumn(0, "hopedd", ds_main_rsrvacptlst_item.getColumn(j, "hopedd"));
  1383. ds_rexBarInfo_barcode_list.setColumn(0, "srchhealexamdetlflag", group5.cmb_srchhealexamdetlflag.text);
  1384. ds_rexBarInfo_barcode_list.setColumn(0, "healexamno", ds_main_rsrvacptlst_item.getColumn(j, "rsrvno"));
  1385. ds_rexBarInfo_barcode_list.setColumn(0, "hopedd_b", ds_main_rsrvacptlst_item.getColumn(j, "hopedd_b"));
  1386. ds_rexBarInfo_barcode_list.setColumn(0, "hopedd_bb", ds_main_rsrvacptlst_item.getColumn(j, "hopedd_bb"));
  1387. frmf_modal("SPMNZ00300", "SPMNZ00300", "", "", "", "", "", "", "", "", "", "", "M");
  1388. //1.0에서 미리보기 관계없이 바로 출력됨으로 수정 .2018.05.25
  1389. rptf_printRexbar("RPAHR09033","","root/rexBarInfo/barcode/list",ds_rexBarInfo_barcode_list);
  1390. // rptf_printRexbar("RPAHR09033",chk_lookaheadyn.value,"root/rexBarInfo/barcode/list",ds_rexBarInfo_barcode_list);
  1391. // if(chk_lookaheadyn.value == "Y")
  1392. // {
  1393. // trace('1');
  1394. // var objDOM = rptf_createDOM();
  1395. // rptf_setNodeListToDOM(objDOM, "/root/rexBarInfo/barcode/list", ds_rexBarInfo_barcode_list);
  1396. // var objParam = new Object();
  1397. // objParam.xml_data_XML1 = objDOM.documentElement.source;
  1398. //
  1399. // var option = "open=1;save=1;directprint=1;printdialog=0;print=1;zoom=0;";
  1400. // rptf_exeReportPreview30(["RPAHR09033"],[objParam], option);
  1401. // }
  1402. // else
  1403. // {
  1404. // trace('2');
  1405. // var objDOM = rptf_createDOM();
  1406. // rptf_setNodeListToDOM(objDOM, "/root/rexBarInfo/barcode/list", ds_rexBarInfo_barcode_list);
  1407. // var objParam = new Object();
  1408. // objParam.xml_data_XML1 = objDOM.documentElement.source;
  1409. // //var option = "directprint=1";
  1410. // var option = "";
  1411. // rptf_exeReportPreview30(["RPAHR09033"],[objParam], option);
  1412. // }
  1413. }
  1414. }
  1415. }
  1416. }
  1417. function button1_onclick(obj:Button, e:ClickEventInfo)
  1418. {
  1419. fGetRslt();
  1420. }
  1421. function fGetRslt()
  1422. {
  1423. var nodeList = ds_main_rsrvacptlst_item.getCaseCount("sel == 'Y'");
  1424. if(nodeList == 0)
  1425. {
  1426. sysf_messageBox("출력할 내역이 ", "I004");
  1427. return ;
  1428. }
  1429. ds_main_prntpatlist.clearData();
  1430. for(var i = 0; i < ds_main_rsrvacptlst_item.rowcount; i++)
  1431. {
  1432. if(ds_main_rsrvacptlst_item.getColumn(i, "sel") == "Y")
  1433. {
  1434. var addRow = ds_main_prntpatlist.addRow();
  1435. ds_main_prntpatlist.copyRow(addRow, ds_main_rsrvacptlst_item, i)
  1436. }
  1437. }
  1438. if(chk_lookaheadyn.value == "Y")
  1439. {
  1440. var objDOM = rptf_createDOM();
  1441. rptf_setNodeListToDOM(objDOM, "/root/main/prntpatlist/list", ds_main_prntpatlist);
  1442. var objParam = new Object();
  1443. objParam.xml_data_XML1 = objDOM.documentElement.source;
  1444. var option = "";
  1445. rptf_exeReportPreview30(["RPAHA00405"],[objParam], option);
  1446. }
  1447. else
  1448. {
  1449. var objDOM = rptf_createDOM();
  1450. rptf_setNodeListToDOM(objDOM, "/root/main/prntpatlist/list", ds_main_prntpatlist);
  1451. var objParam = new Object();
  1452. objParam.xml_data_XML1 = objDOM.documentElement.source;
  1453. var option = "directprint=1";
  1454. rptf_exeReportPreview30(["RPAHA00405"],[objParam], option);
  1455. }
  1456. }
  1457. function chk_lookaheadyn_onclick(obj:CheckBox, e:ClickEventInfo)
  1458. {
  1459. if(obj.value == "Y")
  1460. {
  1461. }
  1462. else
  1463. {
  1464. ds_temp.setColumn(0, "lookaheadyn", "");
  1465. }
  1466. }
  1467. function btn_rsrvprnt_onclick(obj:Button, e:ClickEventInfo)
  1468. {
  1469. fRsrvPatInfoPrnt();
  1470. }
  1471. /**=============================================================================================
  1472. @desc : 예약프로그램 안내문 출력.(선택내역만 출력)
  1473. *=============================================================================================*/
  1474. function fRsrvPatInfoPrnt(){
  1475. dsf_createDs("ds_nodeList");
  1476. ds_main_rsrvacptlst_item.filter("sel=='Y'")
  1477. ds_nodeList.copyData(ds_main_rsrvacptlst_item, true);
  1478. ds_main_rsrvacptlst_item.filter("");
  1479. if(ds_nodeList.rowcount == 0){
  1480. sysf_messageBox("출력할 내역이 ", "I004");
  1481. return ;
  1482. }
  1483. var objDOM = rptf_createDOM(); // DOM 객체 설정
  1484. rptf_setNodeListToDOM(objDOM, "/root/main/rsrvprntdata/list" , ds_nodeList);
  1485. var objParam = new Object();
  1486. objParam.xml_data_XML1 = objDOM.documentElement.source;
  1487. var option = "directprint=1;printdialog=0;";
  1488. if(chk_lookaheadyn.value == "Y") option = "";
  1489. rptf_exeReportPreview30(["RPAHA00415"],[objParam], option);
  1490. } ]]></Script>
  1491. </Form>
  1492. </FDL>