SMAHA00500_단체예약현황조회.xfdl 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMAHA00500" position="absolute 0 0 1196 818" titletext="단체예약접수현황조회" oninit="SMAHA00500_oninit" onload="SMAHA00500_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption6" text="단체예약접수현황조회" class="tit_1" position="absolute 0 0 223 25"/>
  8. <Button id="btn_prntlist" taborder="1" text="명단출력" class="btn6" position="absolute 2 789 82 811" anchor="left bottom"/>
  9. <Grid id="grd_rsrvacptlst" taborder="2" binddataset="ds_main_cmpypreslist1_item" useinputpanel="false" position="absolute 0 94 1195 342" autoenter="select" cellsizingtype="col" autofittype="col" anchor="left top right">
  10. <Formats>
  11. <Format id="default">
  12. <Columns>
  13. <Column size="21"/>
  14. <Column size="50"/>
  15. <Column size="120"/>
  16. <Column size="90"/>
  17. <Column size="90"/>
  18. <Column size="80"/>
  19. <Column size="80"/>
  20. <Column size="80"/>
  21. <Column size="80"/>
  22. <Column size="80"/>
  23. <Column size="80"/>
  24. <Column size="80"/>
  25. <Column size="80"/>
  26. <Column size="80"/>
  27. <Column size="80"/>
  28. <Column size="0"/>
  29. </Columns>
  30. <Rows>
  31. <Row size="24" band="head"/>
  32. <Row size="24"/>
  33. <Row size="24" band="summ"/>
  34. </Rows>
  35. <Band id="head">
  36. <Cell/>
  37. <Cell col="1" text="선택"/>
  38. <Cell col="2" text="사업장명"/>
  39. <Cell col="3" text="계약일자"/>
  40. <Cell col="4" text="계약종류"/>
  41. <Cell col="5" text="총인원"/>
  42. <Cell col="6" text="예약"/>
  43. <Cell col="7" text="부도"/>
  44. <Cell col="8" text="보류"/>
  45. <Cell col="9" text="취소"/>
  46. <Cell col="10" text="접수인원"/>
  47. <Cell col="11" text="접수"/>
  48. <Cell col="12" text="수납"/>
  49. <Cell col="13" text="판정대기"/>
  50. <Cell col="14" text="판정완료"/>
  51. <Cell col="15" text="사업장코드"/>
  52. </Band>
  53. <Band id="body">
  54. <Cell celltype="head" expr="currow+1"/>
  55. <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:sel" expr="expr:sel == 'Y' ? 1 : 0"/>
  56. <Cell col="2" text="bind:cmpynm"/>
  57. <Cell col="3" displaytype="date" text="bind:condd" calendardisplaynulltype="nulltext" enable="false"/>
  58. <Cell col="4" displaytype="combo" text="bind:contype" combodataset="ds_init_baseinfo_contypelst_A0113" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  59. <Cell col="5" displaytype="number" text="bind:totpatcnt"/>
  60. <Cell col="6" displaytype="number" text="bind:rsrvcnt"/>
  61. <Cell col="7" displaytype="number" text="bind:failcnt"/>
  62. <Cell col="8" displaytype="number" text="bind:holdcnt"/>
  63. <Cell col="9" displaytype="number" text="bind:cnclcnt"/>
  64. <Cell col="10" displaytype="number" text="bind:acptpatcnt"/>
  65. <Cell col="11" displaytype="number" text="bind:acptcnt"/>
  66. <Cell col="12" displaytype="number" text="bind:rcptcnt"/>
  67. <Cell col="13" displaytype="number" text="bind:rsltcnt"/>
  68. <Cell col="14" displaytype="number" text="bind:judgcnt"/>
  69. <Cell col="15" text="bind:cmpycd"/>
  70. </Band>
  71. <Band id="summary">
  72. <Cell style="background:#808080ff;background2:#808080ff;color:white;color2:white;"/>
  73. <Cell col="1" style="background:#808080ff;background2:#808080ff;color:white;color2:white;"/>
  74. <Cell col="2" style="align:left middle;padding:0 0 0 3;background:#808080ff;background2:#808080ff;color:white;color2:white;font:arial,9,bold;" text="합계"/>
  75. <Cell col="3" style="background:#808080ff;background2:#808080ff;color:white;color2:white;font:arial,9,bold;"/>
  76. <Cell col="4" style="background:#808080ff;background2:#808080ff;color:white;color2:white;font:arial,9,bold;"/>
  77. <Cell col="5" displaytype="number" style="background:#808080ff;background2:#808080ff;color:white;color2:white;font:arial,9,bold;" text="expr:getSum('totpatcnt')"/>
  78. <Cell col="6" displaytype="number" style="background:#808080ff;background2:#808080ff;color:white;color2:white;font:arial,9,bold;" text="expr:getSum('rsrvcnt')"/>
  79. <Cell col="7" displaytype="number" style="background:#808080ff;background2:#808080ff;color:white;color2:white;font:arial,9,bold;" text="expr:getSum('failcnt')"/>
  80. <Cell col="8" displaytype="number" style="background:#808080ff;background2:#808080ff;color:white;color2:white;font:arial,9,bold;" text="expr:getSum('holdcnt')"/>
  81. <Cell col="9" displaytype="number" style="background:#808080ff;background2:#808080ff;color:white;color2:white;font:arial,9,bold;" text="expr:getSum('cnclcnt')"/>
  82. <Cell col="10" displaytype="number" style="background:#808080ff;background2:#808080ff;color:white;color2:white;font:arial,9,bold;" text="expr:getSum('acptpatcnt')"/>
  83. <Cell col="11" displaytype="number" style="background:#808080ff;background2:#808080ff;color:white;color2:white;font:arial,9,bold;" text="expr:getSum('acptcnt')"/>
  84. <Cell col="12" displaytype="number" style="background:#808080ff;background2:#808080ff;color:white;color2:white;font:arial,9,bold;" text="expr:getSum('rcptcnt')"/>
  85. <Cell col="13" displaytype="number" style="background:#808080ff;background2:#808080ff;color:white;color2:white;font:arial,9,bold;" text="expr:getSum('rsltcnt')"/>
  86. <Cell col="14" displaytype="number" style="background:#808080ff;background2:#808080ff;color:white;color2:white;font:arial,9,bold;" text="expr:getSum('judgcnt')"/>
  87. <Cell col="15"/>
  88. </Band>
  89. </Format>
  90. </Formats>
  91. </Grid>
  92. <Grid id="grd_ordlst" taborder="3" binddataset="ds_main_cmpypreslist2_item" useinputpanel="false" position="absolute 0 372 1195 782" autoenter="select" cellsizingtype="col" anchor="all">
  93. <Formats>
  94. <Format id="default">
  95. <Columns>
  96. <Column size="25" band="left"/>
  97. <Column size="110" band="left"/>
  98. <Column size="80" band="left"/>
  99. <Column size="120" band="left"/>
  100. <Column size="89" band="left"/>
  101. <Column size="80" band="left"/>
  102. <Column size="100"/>
  103. <Column size="100"/>
  104. <Column size="100"/>
  105. <Column size="100"/>
  106. <Column size="100"/>
  107. <Column size="100"/>
  108. <Column size="100"/>
  109. <Column size="60"/>
  110. <Column size="100"/>
  111. <Column size="200"/>
  112. <Column size="80"/>
  113. <Column size="250"/>
  114. <Column size="100"/>
  115. <Column size="100"/>
  116. <Column size="100"/>
  117. <Column size="100"/>
  118. <Column size="100"/>
  119. <Column size="100"/>
  120. <Column size="100"/>
  121. <Column size="0"/>
  122. </Columns>
  123. <Rows>
  124. <Row size="24" band="head"/>
  125. <Row size="24"/>
  126. </Rows>
  127. <Band id="head">
  128. <Cell/>
  129. <Cell col="1" text="등록번호"/>
  130. <Cell col="2" text="성명"/>
  131. <Cell col="3" text="주민등록번호"/>
  132. <Cell col="4" text="건진일자"/>
  133. <Cell col="5" text="상태"/>
  134. <Cell col="6" text="건진금액"/>
  135. <Cell col="7" text="추가금액"/>
  136. <Cell col="8" text="선택금액"/>
  137. <Cell col="9" text="단체금액"/>
  138. <Cell col="10" text="본인부담금액"/>
  139. <Cell col="11" text="조합금액"/>
  140. <Cell col="12" text="청구금액"/>
  141. <Cell col="13" text="청구여부"/>
  142. <Cell col="14" text="선택검사"/>
  143. <Cell col="15" text="추가검사"/>
  144. <Cell col="16" text="우편번호"/>
  145. <Cell col="17" text="주소"/>
  146. <Cell col="18" text="이메일"/>
  147. <Cell col="19" text="전화번호"/>
  148. <Cell col="20" text="핸드폰"/>
  149. <Cell col="21" text="부서"/>
  150. <Cell col="22" text="사번"/>
  151. <Cell col="23" text="관계"/>
  152. <Cell col="24" text="비고사항"/>
  153. <Cell col="25" text="예약시간"/>
  154. </Band>
  155. <Band id="body">
  156. <Cell celltype="head" expr="currow+1"/>
  157. <Cell col="1" text="bind:pid" enable="false"/>
  158. <Cell col="2" text="bind:hngnm" enable="false"/>
  159. <Cell col="3" text="bind:rrgstno" enable="false"/>
  160. <Cell col="4" displaytype="date" text="bind:orddd" calendardisplaynulltype="nulltext"/>
  161. <Cell col="5" displaytype="combo" style="align:center middle;" text="bind:statflag" combodataset="ds_init_baseinfo_statlst_A0107" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  162. <Cell col="6" displaytype="number" text="bind:baseexamamt"/>
  163. <Cell col="7" displaytype="number" text="bind:addexamamt"/>
  164. <Cell col="8" displaytype="number" text="bind:choiamt"/>
  165. <Cell col="9" displaytype="number" text="bind:cmpyamt"/>
  166. <Cell col="10" displaytype="number" text="bind:ownbamt"/>
  167. <Cell col="11" displaytype="number" text="bind:payinsubamt"/>
  168. <Cell col="12" displaytype="number" text="bind:clamamt"/>
  169. <Cell col="13" displaytype="checkbox" style="controlbackground:gainsboro;controlborder:1 solid #808080ff ;" text="bind:uncoflag" expr="expr:uncoflag == 'Y' ? 1 : 0" enable="false"/>
  170. <Cell col="14" displaytype="combo" style="align:center middle;" text="bind:choiflag" combodataset="ds_init_baseinfo_choiflaglst_A0116" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  171. <Cell col="15" style="align:left middle;" text="bind:testcd"/>
  172. <Cell col="16" text="bind:zipcd"/>
  173. <Cell col="17" text="bind:detladdr"/>
  174. <Cell col="18" text="bind:email"/>
  175. <Cell col="19" text="bind:telno"/>
  176. <Cell col="20" text="bind:mpphon"/>
  177. <Cell col="21" text="bind:deptcd"/>
  178. <Cell col="22" text="bind:clntempid"/>
  179. <Cell col="23" text="bind:relacd"/>
  180. <Cell col="24" displaytype="text" edittype="text" text="bind:remfact"/>
  181. <Cell col="25" text="bind:rsrvtm"/>
  182. </Band>
  183. </Format>
  184. </Formats>
  185. </Grid>
  186. <Shape id="line1" linetype="horizontal" class="line_10" position="absolute 0 89 1195 95" anchor="left top right"/>
  187. <Div id="group5" anchor="left top right" taborder="4" class="div_SA" position="absolute 0 25 1195 65">
  188. <Layouts>
  189. <Layout>
  190. <Static id="caption11" text="기준일자:" class="search_name" position="absolute 235 12 316 29"/>
  191. <Static id="caption12" text="사업체 :" class="search_name" position="absolute 755 12 833 29"/>
  192. <Shape id="line7" linetype="vertical" position="absolute 1107 11 1113 31" anchor="top right"/>
  193. <Radio id="rdo_srchcond" taborder="1" columncount="-1" rowcount="-1" codecolumn="codecolumn" datacolumn="datacolumn" class="radio_search" position="absolute 340 11 505 31">
  194. <Dataset id="innerdataset">
  195. <ColumnInfo>
  196. <Column id="codecolumn"/>
  197. <Column id="datacolumn"/>
  198. </ColumnInfo>
  199. <Rows>
  200. <Row>
  201. <Col id="codecolumn">C</Col>
  202. <Col id="datacolumn">예약</Col>
  203. </Row>
  204. <Row>
  205. <Col id="codecolumn">C1</Col>
  206. <Col id="datacolumn">예약등록</Col>
  207. </Row>
  208. <Row>
  209. <Col id="codecolumn">E</Col>
  210. <Col id="datacolumn">접수</Col>
  211. </Row>
  212. </Rows>
  213. </Dataset>
  214. </Radio>
  215. <Calendar id="ipt_srchfromdd" taborder="2" class="input_essential" position="absolute 513 11 613 30" autoselect="true" dateformat="yyyy-MM-dd" value="null"/>
  216. <Calendar id="ipt_srchtodd" taborder="3" class="input_essential" position="absolute 630 11 730 30" autoselect="true" dateformat="yyyy-MM-dd"/>
  217. <Edit id="ipt_srchcmpycd" taborder="4" class="input_search" position="absolute 830 11 930 30" onkeyup="group5_ipt_srchcmpycd_onkeyup" autoselect="true" autoskip="true"/>
  218. <Button id="btn_selcmpy" taborder="5" class="icon_search" position="absolute 935 11 951 27" onclick="group5_btn_selcmpy_onclick"/>
  219. <Edit id="opt_srchcmpynm" taborder="6" readonly="true" position="absolute 960 11 1100 30" class="output"/>
  220. <Button id="btn_search" taborder="7" text="조회" class="btn1" position="absolute 1123 10 1179 32" anchor="top right" onclick="group5_btn_search_onclick"/>
  221. <Static id="caption19" text="~" class="search_n_b" position="absolute 616 11 628 28"/>
  222. <Combo id="cmb_srchhealexamdetlflag" taborder="8" innerdataset="@ds_init_baseinfo_hedetlflaglst_A0069" codecolumn="cdid" datacolumn="cdnm" class="combo_search" position="absolute 92 12 217 31"/>
  223. <Static id="caption3" text="건진구분 :" class="search_name" position="absolute 5 12 91 29"/>
  224. <CheckBox id="chk_srchdateyn" taborder="9" position="absolute 310 10 330 30" truevalue="Y" onclick="group5_chk_srchdateyn_onclick"/>
  225. </Layout>
  226. </Layouts>
  227. </Div>
  228. <Shape id="line2" linetype="horizontal" class="line_10" position="absolute 0 367 1195 373" anchor="left top right"/>
  229. <Static id="caption1" text="단체현황" class="tit_2" position="absolute 0 73 151 95"/>
  230. <Static id="caption2" text="상세현황" class="tit_2" position="absolute 0 351 151 373"/>
  231. <Button id="btn_excel1" taborder="5" text="엑셀저장" class="btn7" position="absolute 1114 67 1195 89" anchor="top right" onclick="btn_excel1_onclick"/>
  232. <Button id="btn_excel2" taborder="6" text="엑셀저장" class="btn7" position="absolute 1114 345 1195 367" anchor="top right" onclick="btn_excel2_onclick"/>
  233. <Button id="btn_prntseq" taborder="7" text="순서표" class="btn6" position="absolute 84 789 156 811" anchor="left bottom"/>
  234. <Button id="btn_prntlabel" taborder="8" text="라벨출력" class="btn6" position="absolute 158 789 238 811" anchor="left bottom"/>
  235. <Button id="btn_prntname" taborder="9" text="이름표출력" class="btn6" position="absolute 240 789 332 811" anchor="left bottom"/>
  236. </Layout>
  237. </Layouts>
  238. <Objects>
  239. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  240. <ColumnInfo>
  241. <Column id="srchhealexamdetlflag" type="STRING" size="256"/>
  242. <Column id="srchhealexamflag" type="STRING" size="256"/>
  243. <Column id="srchdateyn" type="STRING" size="256"/>
  244. <Column id="srchcond" type="STRING" size="256"/>
  245. <Column id="srchfromdd" type="STRING" size="256"/>
  246. <Column id="srchtodd" type="STRING" size="256"/>
  247. <Column id="srchcmpycd" type="STRING" size="256"/>
  248. <Column id="srchcmpynm" type="STRING" size="256"/>
  249. <Column id="srchinstcd" type="STRING" size="256"/>
  250. <Column id="srchcondd" type="STRING" size="256"/>
  251. <Column id="srchcontype" type="STRING" size="256"/>
  252. <Column id="srchpkgcd" type="STRING" size="256"/>
  253. <Column id="srchstatflag" type="STRING" size="256"/>
  254. <Column id="srchselect" type="STRING" size="256"/>
  255. </ColumnInfo>
  256. <Rows>
  257. <Row>
  258. <Col id="srchhealexamdetlflag"/>
  259. <Col id="srchhealexamflag"/>
  260. <Col id="srchdateyn">Y</Col>
  261. <Col id="srchcond"/>
  262. <Col id="srchfromdd"/>
  263. <Col id="srchtodd"/>
  264. <Col id="srchcmpycd"/>
  265. <Col id="srchcmpynm"/>
  266. <Col id="srchinstcd"/>
  267. <Col id="srchcondd"/>
  268. <Col id="srchcontype"/>
  269. <Col id="srchpkgcd"/>
  270. <Col id="srchstatflag"/>
  271. <Col id="srchselect"/>
  272. </Row>
  273. </Rows>
  274. </Dataset>
  275. <Dataset id="ds_main_cmpypreslist1_item" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_cmpypreslist1_item_oncolumnchanged">
  276. <ColumnInfo>
  277. <Column id="condd" type="STRING" size="256" sumtext="계약일자"/>
  278. <Column id="contype" type="STRING" size="256" sumtext="계약구분"/>
  279. <Column id="cmpynm" type="STRING" size="256" sumtext="사업장명"/>
  280. <Column id="totpatcnt" type="INT" size="256" sumtext="총인원"/>
  281. <Column id="rsrvcnt" type="INT" size="256" sumtext="예약"/>
  282. <Column id="failcnt" type="INT" size="256" sumtext="예약"/>
  283. <Column id="holdcnt" type="INT" size="256" sumtext="보류"/>
  284. <Column id="cnclcnt" type="INT" size="256" sumtext="취소"/>
  285. <Column id="acptpatcnt" type="INT" size="256" sumtext="접수인원"/>
  286. <Column id="acptcnt" type="INT" size="256" sumtext="접수"/>
  287. <Column id="rcptcnt" type="INT" size="256" sumtext="수납"/>
  288. <Column id="rsltcnt" type="INT" size="256" sumtext="판정대기"/>
  289. <Column id="judgcnt" type="INT" size="256" sumtext="판정완료"/>
  290. <Column id="cmpycd" type="STRING" size="256" sumtext="사업체코드"/>
  291. <Column id="sel" type="STRING" size="256" sumtext="선택"/>
  292. </ColumnInfo>
  293. </Dataset>
  294. <Dataset id="ds_main_cmpypreslist2_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_cmpypreslist2_item_oncolumnchanged">
  295. <ColumnInfo>
  296. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  297. <Column id="hngnm" type="STRING" size="256" sumtext="성명"/>
  298. <Column id="rrgstno" type="STRING" size="256" sumtext="주민등록번호"/>
  299. <Column id="zipcd" type="STRING" size="256" sumtext="우편번호"/>
  300. <Column id="detlflag" type="STRING" size="256" sumtext="상세주소"/>
  301. <Column id="email" type="STRING" size="256" sumtext="이메일"/>
  302. <Column id="telno" type="STRING" size="256" sumtext="전화번호"/>
  303. <Column id="mpphon" type="STRING" size="256" sumtext="핸드폰번호"/>
  304. <Column id="deptcd" type="STRING" size="256" sumtext="부서코드"/>
  305. <Column id="clntempid" type="STRING" size="256" sumtext="사번"/>
  306. <Column id="relacd" type="STRING" size="256" sumtext="관계코드"/>
  307. <Column id="choiflag" type="STRING" size="256" sumtext="선택검사"/>
  308. <Column id="rsrvtm" type="STRING" size="256" sumtext="예약시간"/>
  309. <Column id="testcd" type="STRING" size="256" sumtext="추가검사"/>
  310. <Column id="orddd" type="STRING" size="256" sumtext="건진일자"/>
  311. <Column id="statflag" type="STRING" size="256" sumtext="상태"/>
  312. <Column id="baseexamamt" type="STRING" size="256" sumtext="건진금액"/>
  313. <Column id="addexamamt" type="STRING" size="256" sumtext="추가금액"/>
  314. <Column id="choiamt" type="STRING" size="256" sumtext="선택금액"/>
  315. <Column id="cmpyamt" type="STRING" size="256" sumtext="선택금액"/>
  316. <Column id="ownbamt" type="STRING" size="256" sumtext="선택금액"/>
  317. <Column id="payinsubamt" type="STRING" size="256" sumtext="조합금액"/>
  318. <Column id="clamamt" type="STRING" size="256" sumtext="청구금액"/>
  319. <Column id="uncoflag" type="STRING" size="256" sumtext="청구여부"/>
  320. <Column id="remfact" type="STRING" size="256" sumtext="비고사항"/>
  321. </ColumnInfo>
  322. </Dataset>
  323. <Dataset id="ds_init_baseinfo_contypelst_A0113" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  324. <ColumnInfo>
  325. <Column id="cdid" type="STRING" size="256"/>
  326. <Column id="cdnm" type="STRING" size="256"/>
  327. </ColumnInfo>
  328. </Dataset>
  329. <Dataset id="ds_init_baseinfo_statlst_A0107" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  330. <ColumnInfo>
  331. <Column id="cdnm" type="STRING" size="256"/>
  332. <Column id="cdid" type="STRING" size="256"/>
  333. </ColumnInfo>
  334. </Dataset>
  335. <Dataset id="ds_init_baseinfo_choiflaglst_A0116" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  336. <ColumnInfo>
  337. <Column id="cdnm" type="STRING" size="256"/>
  338. <Column id="cdid" type="STRING" size="256"/>
  339. </ColumnInfo>
  340. </Dataset>
  341. <Dataset id="ds_init_baseinfo_hedetlflaglst_A0069" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  342. <Dataset id="ds_init_baseinfo_hedetlflaglst_A0070" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  343. <Dataset id="ds_send_srchselect" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  344. </Objects>
  345. <Bind>
  346. <BindItem id="item0" compid="group5.cmb_srchhealexamdetlflag" propid="value" datasetid="ds_send" columnid="srchhealexamdetlflag"/>
  347. <BindItem id="item1" compid="group5.chk_srchdateyn" propid="value" datasetid="ds_send" columnid="srchdateyn"/>
  348. <BindItem id="item2" compid="group5.rdo_srchcond" propid="value" datasetid="ds_send" columnid="srchcond"/>
  349. <BindItem id="item3" compid="group5.ipt_srchfromdd" propid="value" datasetid="ds_send" columnid="srchfromdd"/>
  350. <BindItem id="item4" compid="group5.ipt_srchtodd" propid="value" datasetid="ds_send" columnid="srchtodd"/>
  351. <BindItem id="item5" compid="group5.ipt_srchcmpycd" propid="value" datasetid="ds_send" columnid="srchcmpycd"/>
  352. <BindItem id="item6" compid="group5.opt_srchcmpynm" propid="value" datasetid="ds_send" columnid="srchcmpynm"/>
  353. </Bind>
  354. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  355. * System Name :
  356. * Job Name :
  357. * Creator :
  358. * Make Date : 2015-11-13
  359. * Description :
  360. *---------------------------------------------------------------------------------------
  361. * Modify Date Modifier Modify Description
  362. *---------------------------------------------------------------------------------------
  363. * 2015-11-13 Live Converter TF->XP
  364. *
  365. *---------------------------------------------------------------------------------------
  366. ****************************************************************************************/
  367. include "com_commonxp::comm_main.xjs";
  368. include "ast_healexamxp::AHA001.xjs";
  369. var vHealExamFlag = "";
  370. var vHealExamDetlFlag = "";
  371. function SMAHA00500_oninit(obj:Form, e:InitEventInfo)
  372. {
  373. frmf_initForm(obj);
  374. }
  375. function SMAHA00500_onload(obj:Form, e:LoadEventInfo)
  376. {
  377. grdf_initGrid(grd_ordlst);
  378. grdf_initGrid(grd_rsrvacptlst);
  379. fGetBasicCdList();
  380. }
  381. function fGetBasicCdList()
  382. {
  383. vHealExamFlag = fGetHealExamFlag();
  384. vHealExamDetlFlag = fGetHealExamDetlFlag();
  385. if( vHealExamFlag == "C" )
  386. {
  387. var arrParam = [ {dsNm: "ds_init_baseinfo_hedetlflaglst_A0069", cdGrpId: "A0069"}
  388. ,{dsNm: "ds_init_baseinfo_choiflaglst_A0116", cdGrpId: "A0116"}
  389. ,{dsNm: "ds_init_baseinfo_rsrvflaglst_A0115", cdGrpId: "A0115"}
  390. ,{dsNm: "ds_init_baseinfo_statlst_A0107", cdGrpId: "A0107"}
  391. ,{dsNm: "ds_init_baseinfo_testflag_A0117", cdGrpId: "A0117"}
  392. ,{dsNm: "ds_init_baseinfo_contypelst_A0113", cdGrpId: "A0113"}];
  393. appf_getCodeList(arrParam);
  394. group5.cmb_srchhealexamdetlflag.value = vHealExamDetlFlag;
  395. }
  396. else
  397. {
  398. var arrParam = [ {dsNm: "ds_init_baseinfo_hedetlflaglst_A0070", cdGrpId: "A0070"}
  399. ,{dsNm: "ds_init_baseinfo_choiflaglst_A0116", cdGrpId: "A0116"}
  400. ,{dsNm: "ds_init_baseinfo_rsrvflaglst_A0115", cdGrpId: "A0115"}
  401. ,{dsNm: "ds_init_baseinfo_statlst_A0107", cdGrpId: "A0107"}
  402. ,{dsNm: "ds_init_baseinfo_testflag_A0117", cdGrpId: "A0117"}
  403. ,{dsNm: "ds_init_baseinfo_contypelst_A0113", cdGrpId: "A0113"}];
  404. appf_getCodeList(arrParam);
  405. }
  406. //submit("TRZBC00101");
  407. if( vHealExamFlag=="C" )
  408. {
  409. group5.cmb_srchhealexamdetlflag.innerdataset = "ds_init_baseinfo_hedetlflaglst_A0069";
  410. group5.cmb_srchhealexamdetlflag.datacolumn = "cdnm";
  411. group5.cmb_srchhealexamdetlflag.codecolumn = "cdid";
  412. }
  413. else
  414. {
  415. group5.cmb_srchhealexamdetlflag.innerdataset = "ds_init_baseinfo_hedetlflaglst_A0070";
  416. group5.cmb_srchhealexamdetlflag.datacolumn = "cdnm";
  417. group5.cmb_srchhealexamdetlflag.codecolumn = "cdid";
  418. }
  419. var curDt = utlf_getCurrentDate();
  420. group5.ipt_srchfromdd.value = curDt;
  421. group5.ipt_srchtodd.value = curDt;
  422. group5.rdo_srchcond.value = "C";
  423. ds_main_cmpypreslist1_item.clearData();
  424. ds_main_cmpypreslist2_item.clearData();
  425. }
  426. function group5_chk_srchdateyn_onclick(obj:CheckBox, e:ClickEventInfo)
  427. {
  428. if(obj.value == "Y")
  429. {
  430. }
  431. else
  432. {
  433. ds_send.setColumn(0, "srchdateyn", "");
  434. }
  435. }
  436. function group5_ipt_srchcmpycd_onkeyup(obj:Edit, e:KeyEventInfo)
  437. {
  438. if(e.keycode == 13)
  439. {
  440. obj.updateToDataset();
  441. group5.btn_selcmpy.click();
  442. }
  443. }
  444. function group5_btn_selcmpy_onclick(obj:Button, e:ClickEventInfo)
  445. {
  446. fGetComnCd("SMAHA00400", "08" , "nm", group5.ipt_srchcmpycd.value, group5.ipt_srchcmpycd, group5.opt_srchcmpynm);
  447. }
  448. function group5_btn_search_onclick(obj:Button, e:ClickEventInfo)
  449. {
  450. fGetRsrvAcptList();
  451. }
  452. function fGetRsrvAcptList()
  453. {
  454. ds_main_cmpypreslist1_item.clearData();
  455. ds_main_cmpypreslist2_item.clearData();
  456. if( utlf_isNull(vHealExamFlag))
  457. {
  458. sysf_messageBox("조회조건이 불충분합니다!", "E999");
  459. return ;
  460. }
  461. var cmpycd = ds_send.getColumn(0, "srchcmpycd");
  462. if(utlf_isNull(cmpycd))
  463. {
  464. sysf_messageBox("사업체코드를", "C001");
  465. return ;
  466. }
  467. ds_send.setColumn(0, "srchinstcd", sysf_getUserInfo("dutplceinstcd") );
  468. ds_send.setColumn(0, "srchhealexamflag", vHealExamFlag);
  469. var oParam = {};
  470. oParam.id = "TRAHA00501";
  471. oParam.service = "healexamrsrvacptapp.HealExamPrest";
  472. oParam.method = "reqGetCmntRsrvList1";
  473. oParam.inds = "req=ds_send";
  474. oParam.outds = "ds_main_cmpypreslist1_item=item";
  475. oParam.async = false;
  476. //oParam.callback = "cf_TRAHA00501";
  477. tranf_submit(oParam);
  478. }
  479. function ds_main_cmpypreslist1_item_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  480. {
  481. if(e.columnid == "sel")
  482. {
  483. obj.setColumn(e.row, "sel", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
  484. }
  485. fGetCmpyDetlList();
  486. }
  487. function fGetCmpyDetlList()
  488. {
  489. if(parseInt(ds_main_cmpypreslist1_item.getCaseCount("sel == 'Y'")) == 0)
  490. {
  491. ds_main_cmpypreslist2_item.clearData();
  492. return false;
  493. }
  494. for(var i = 0; i < ds_main_cmpypreslist1_item.rowcount; i++)
  495. {
  496. var chk = ds_main_cmpypreslist1_item.getColumn(i, "sel");
  497. if(chk == "Y")
  498. {
  499. ds_send.setColumn(0, "srchcondd" , ds_main_cmpypreslist1_item.getColumn(i, "condd"));
  500. ds_send.setColumn(0, "srchcontype" , ds_main_cmpypreslist1_item.getColumn(i, "contype"));
  501. ds_main_cmpypreslist1_item.updatecontrol = false;
  502. ds_main_cmpypreslist1_item.setRowType(i, "i");
  503. ds_main_cmpypreslist1_item.updatecontrol = true;
  504. }
  505. else
  506. {
  507. ds_main_cmpypreslist1_item.updatecontrol = false;
  508. ds_main_cmpypreslist1_item.setRowType(i, "");
  509. ds_main_cmpypreslist1_item.updatecontrol = true;
  510. }
  511. }
  512. ds_send_srchselect.copyData(grdf_getGridUpdateData(grd_rsrvacptlst));
  513. ds_send_srchselect.updateColID("cmpycd", "srchcmpycd");
  514. ds_send_srchselect.updateColID("condd", "srchcondd");
  515. ds_send_srchselect.updateColID("contype", "srchcontype");
  516. var oParam = {};
  517. oParam.id = "TRAHA00502";
  518. oParam.service = "healexamrsrvacptapp.HealExamPrest";
  519. oParam.method = "reqGetCmntRsrvList2";
  520. oParam.inds = "req=ds_send cmpyinfo=ds_send_srchselect";
  521. oParam.outds = "ds_main_cmpypreslist2_item=item";
  522. oParam.async = false;
  523. oParam.callback = "cf_TRAHA00502";
  524. tranf_submit(oParam);
  525. }
  526. function cf_TRAHA00502(sSvcId, nErrorCode, sErrorMsg)
  527. {
  528. if(nErrorCode < 0) return;
  529. else
  530. {
  531. ds_main_cmpypreslist1_item.applyChange();
  532. }
  533. }
  534. function btn_excel1_onclick(obj:Button, e:ClickEventInfo)
  535. {
  536. grdf_exportExcel(grd_rsrvacptlst, "excel", "SheetName", "true", "", "");
  537. }
  538. function btn_excel2_onclick(obj:Button, e:ClickEventInfo)
  539. {
  540. grdf_exportExcel(grd_ordlst, "excel", "SheetName", "true", "", "");
  541. }
  542. function ds_main_cmpypreslist2_item_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  543. {
  544. if(e.columnid == "uncoflag")
  545. {
  546. obj.setColumn(e.row, "uncoflag", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
  547. }
  548. }
  549. ]]></Script>
  550. </Form>
  551. </FDL>