SMAHS02700_재검현황.xfdl 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMAHS02700" position="absolute 0 0 1202 798" titletext="재검현황" oninit="SMAHS02700_oninit" onload="SMAHS02700_onload">
  5. <Layouts>
  6. <Layout>
  7. <Tab id="swt_reexlist" taborder="4" tabindex="0" position="absolute 0 73 1195 765" anchor="all">
  8. <Tabpages>
  9. <Tabpage id="case1" text="현황">
  10. <Layouts>
  11. <Layout>
  12. <Shape id="line17" linetype="horizontal" class="line_10" position="absolute 0 5 1195 11" anchor="left top right"/>
  13. <Grid id="grd_reexam" taborder="1" binddataset="ds_main_reexam_reexamlist" useinputpanel="false" position="absolute 0 10 1195 661" autoenter="select" cellsizingtype="col" anchor="all" oncelldblclick="swt_reexlist_case1_grd_reexam_oncelldblclick">
  14. <Formats>
  15. <Format id="default">
  16. <Columns>
  17. <Column size="23"/>
  18. <Column size="59"/>
  19. <Column size="0"/>
  20. <Column size="77"/>
  21. <Column size="77"/>
  22. <Column size="77"/>
  23. <Column size="77"/>
  24. <Column size="77"/>
  25. <Column size="77"/>
  26. <Column size="72"/>
  27. <Column size="77"/>
  28. <Column size="77"/>
  29. <Column size="77"/>
  30. <Column size="77"/>
  31. <Column size="77"/>
  32. <Column size="77"/>
  33. <Column size="77"/>
  34. <Column size="77"/>
  35. <Column size="77"/>
  36. <Column size="77"/>
  37. <Column size="77"/>
  38. <Column size="77"/>
  39. <Column size="77"/>
  40. <Column size="77"/>
  41. <Column size="100"/>
  42. <Column size="100"/>
  43. <Column size="100"/>
  44. <Column size="100"/>
  45. <Column size="100"/>
  46. </Columns>
  47. <Rows>
  48. <Row size="24" band="head"/>
  49. <Row size="24" band="head"/>
  50. <Row size="24"/>
  51. </Rows>
  52. <Band id="head">
  53. <Cell rowspan="2" taborder="undefined"/>
  54. <Cell col="1" rowspan="2" text="구분" taborder="undefined"/>
  55. <Cell col="2" text="구분코드"/>
  56. <Cell col="3" colspan="2" text="01월" taborder="undefined"/>
  57. <Cell col="5" colspan="2" text="02월" taborder="undefined"/>
  58. <Cell col="7" colspan="2" text="03월" taborder="undefined"/>
  59. <Cell col="9" colspan="2" text="04월" taborder="undefined"/>
  60. <Cell col="11" colspan="2" text="05월" taborder="undefined"/>
  61. <Cell col="13" colspan="2" text="06월" taborder="undefined"/>
  62. <Cell col="15" colspan="2" text="07월" taborder="undefined"/>
  63. <Cell col="17" colspan="2" text="08월" taborder="undefined"/>
  64. <Cell col="19" colspan="2" text="09월" taborder="undefined"/>
  65. <Cell col="21" colspan="2" text="10월" taborder="undefined"/>
  66. <Cell col="23" colspan="2" text="11월" taborder="undefined"/>
  67. <Cell col="25" colspan="2" text="12월" taborder="undefined"/>
  68. <Cell col="27" rowspan="2" text="합계" taborder="undefined"/>
  69. <Cell col="28" rowspan="2" text="합계2" taborder="undefined"/>
  70. <Cell row="1" col="2" text="구분코드"/>
  71. <Cell row="1" col="3" text="재검건수"/>
  72. <Cell row="1" col="4" text="실인원"/>
  73. <Cell row="1" col="5" text="재검건수"/>
  74. <Cell row="1" col="6" text="실인원"/>
  75. <Cell row="1" col="7" text="재검건수"/>
  76. <Cell row="1" col="8" text="실인원"/>
  77. <Cell row="1" col="9" text="재검건수"/>
  78. <Cell row="1" col="10" text="실인원"/>
  79. <Cell row="1" col="11" text="재검건수"/>
  80. <Cell row="1" col="12" text="실인원"/>
  81. <Cell row="1" col="13" text="재검건수"/>
  82. <Cell row="1" col="14" text="실인원"/>
  83. <Cell row="1" col="15" text="재검건수"/>
  84. <Cell row="1" col="16" text="실인원"/>
  85. <Cell row="1" col="17" text="재검건수"/>
  86. <Cell row="1" col="18" text="실인원"/>
  87. <Cell row="1" col="19" text="재검건수"/>
  88. <Cell row="1" col="20" text="실인원"/>
  89. <Cell row="1" col="21" text="재검건수"/>
  90. <Cell row="1" col="22" text="실인원"/>
  91. <Cell row="1" col="23" text="재검건수"/>
  92. <Cell row="1" col="24" text="실인원"/>
  93. <Cell row="1" col="25" text="재검건수"/>
  94. <Cell row="1" col="26" text="실인원"/>
  95. </Band>
  96. <Band id="body">
  97. <Cell celltype="head" expr="currow+1"/>
  98. <Cell col="1" text="bind:flagnm"/>
  99. <Cell col="2" text="bind:flagcd"/>
  100. <Cell col="3" displaytype="number" text="bind:mm011"/>
  101. <Cell col="4" displaytype="number" text="bind:mm012"/>
  102. <Cell col="5" displaytype="number" text="bind:mm021"/>
  103. <Cell col="6" displaytype="number" text="bind:mm022"/>
  104. <Cell col="7" displaytype="number" text="bind:mm031"/>
  105. <Cell col="8" displaytype="number" text="bind:mm032"/>
  106. <Cell col="9" displaytype="number" text="bind:mm041"/>
  107. <Cell col="10" displaytype="number" text="bind:mm042"/>
  108. <Cell col="11" displaytype="number" text="bind:mm051"/>
  109. <Cell col="12" displaytype="number" text="bind:mm052"/>
  110. <Cell col="13" displaytype="number" text="bind:mm061"/>
  111. <Cell col="14" displaytype="number" text="bind:mm062"/>
  112. <Cell col="15" displaytype="number" text="bind:mm071"/>
  113. <Cell col="16" displaytype="number" text="bind:mm072"/>
  114. <Cell col="17" displaytype="number" text="bind:mm081"/>
  115. <Cell col="18" displaytype="number" text="bind:mm082"/>
  116. <Cell col="19" displaytype="number" text="bind:mm091"/>
  117. <Cell col="20" displaytype="number" text="bind:mm092"/>
  118. <Cell col="21" displaytype="number" text="bind:mm101"/>
  119. <Cell col="22" displaytype="number" text="bind:mm102"/>
  120. <Cell col="23" displaytype="number" text="bind:mm111"/>
  121. <Cell col="24" displaytype="number" text="bind:mm112"/>
  122. <Cell col="25" displaytype="number" text="bind:mm121"/>
  123. <Cell col="26" displaytype="number" text="bind:mm122"/>
  124. <Cell col="27" displaytype="number" text="bind:tot1"/>
  125. <Cell col="28" displaytype="number" text="bind:tot2"/>
  126. </Band>
  127. </Format>
  128. </Formats>
  129. </Grid>
  130. </Layout>
  131. </Layouts>
  132. </Tabpage>
  133. <Tabpage id="case2" text="상세">
  134. <Layouts>
  135. <Layout>
  136. <Grid id="datagrid2" class="datagrid2" taborder="1" binddataset="ds_main_reexamfull_reexamlistfull" useinputpanel="false" position="absolute 0 10 1195 661" autoenter="select" autofittype="col" cellsizingtype="col" anchor="all">
  137. <Formats>
  138. <Format id="default">
  139. <Columns>
  140. <Column size="28"/>
  141. <Column size="70"/>
  142. <Column size="80"/>
  143. <Column size="80"/>
  144. <Column size="51"/>
  145. <Column size="80"/>
  146. <Column size="100"/>
  147. <Column size="100"/>
  148. <Column size="89"/>
  149. <Column size="90"/>
  150. <Column size="55"/>
  151. <Column size="60"/>
  152. <Column size="60"/>
  153. <Column size="216"/>
  154. </Columns>
  155. <Rows>
  156. <Row size="24" band="head"/>
  157. <Row size="24"/>
  158. </Rows>
  159. <Band id="head">
  160. <Cell/>
  161. <Cell col="1" text="환자번호"/>
  162. <Cell col="2" text="성명"/>
  163. <Cell col="3" text="예약희망일"/>
  164. <Cell col="4" text="건진구분코드"/>
  165. <Cell col="5" text="건진구분"/>
  166. <Cell col="6" text="재검검사목록"/>
  167. <Cell col="7" text="패키지명"/>
  168. <Cell col="8" text="전화번호"/>
  169. <Cell col="9" text="핸드폰번호"/>
  170. <Cell col="10" text="장소구분"/>
  171. <Cell col="11" text="우편번호1"/>
  172. <Cell col="12" text="우편번호2"/>
  173. <Cell col="13" text="주소"/>
  174. </Band>
  175. <Band id="body">
  176. <Cell celltype="head" expr="currow+1"/>
  177. <Cell col="1" text="bind:pid"/>
  178. <Cell col="2" text="bind:hngnm"/>
  179. <Cell col="3" text="bind:hopedd"/>
  180. <Cell col="4" text="bind:healexamdetlflag"/>
  181. <Cell col="5" text="bind:cdnm"/>
  182. <Cell col="6" text="bind:reexamcdlst"/>
  183. <Cell col="7" text="bind:pkgnm"/>
  184. <Cell col="8" text="bind:telno"/>
  185. <Cell col="9" text="bind:mpphon"/>
  186. <Cell col="10" text="bind:plceflag"/>
  187. <Cell col="11" text="bind:zipcd11"/>
  188. <Cell col="12" text="bind:zipcd12"/>
  189. <Cell col="13" text="bind:addr"/>
  190. </Band>
  191. </Format>
  192. </Formats>
  193. </Grid>
  194. <Shape id="line1" linetype="horizontal" class="line_10" position="absolute 0 5 1195 11" anchor="left top right"/>
  195. </Layout>
  196. </Layouts>
  197. </Tabpage>
  198. </Tabpages>
  199. </Tab>
  200. <Static id="caption6" text="재검현황" class="tit_1" position="absolute 0 0 134 25"/>
  201. <Div id="group2" anchor="left top right" taborder="1" class="div_SA" position="absolute 0 25 1195 65">
  202. <Layouts>
  203. <Layout>
  204. <Static id="caption2" text="조회연도 :" class="search_name" position="absolute 16 12 102 29"/>
  205. <Static id="caption3" text="구분 :" class="search_name" position="absolute 270 12 343 29"/>
  206. <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1103 9 1109 31" anchor="top right"/>
  207. <MaskEdit id="input26" taborder="1" mask="####" class="input_search" position="absolute 105 11 175 30" autoselect="true" autoskip="true" maskchar=" " type="string" trimtype="both" style="align:center middle;"/>
  208. <Button id="btn_search" taborder="2" text="조회" class="btn1" position="absolute 1122 9 1178 31" anchor="top right" onclick="group2_btn_search_onclick"/>
  209. <Combo id="cmb_srchhealexamflag" taborder="3" innerdataset="@ds_init_A0070list_A0070" codecolumn="cdid" datacolumn="cdnm" class="combo_search" position="absolute 335 11 445 30"/>
  210. <Static id="caption1" text="사업장코드" class="search_name" position="absolute 489 12 570 29"/>
  211. <Edit id="opt_cmpynm" taborder="4" readonly="true" position="absolute 690 11 859 30" class="output"/>
  212. <Edit id="ipt_cmpycd" taborder="5" position="absolute 585 11 665 30" autoselect="true" autoskip="true" onkeyup="group2_ipt_cmpycd_onkeyup"/>
  213. <Button id="button14" taborder="6" class="icon_search" position="absolute 670 12 686 28" onclick="group2_button14_onclick"/>
  214. </Layout>
  215. </Layouts>
  216. </Div>
  217. <Button id="button12" taborder="2" text="엑셀저장" class="btn7" position="absolute 1114 76 1194 95" anchor="top right" onclick="button12_onclick"/>
  218. <Shape id="line32" linetype="horizontal" class="line_6" position="absolute 0 765 1195 771" anchor="left right bottom"/>
  219. <Button id="btn_clear" taborder="5" text="초기화" class="btn4" position="absolute 1127 769 1195 791" anchor="right bottom" onclick="btn_clear_onclick"/>
  220. </Layout>
  221. </Layouts>
  222. <Objects>
  223. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  224. <ColumnInfo>
  225. <Column id="srchyear" type="STRING" size="256"/>
  226. <Column id="flag" type="STRING" size="256"/>
  227. <Column id="cmpycd" type="STRING" size="256"/>
  228. <Column id="cmpynm" type="STRING" size="256"/>
  229. <Column id="flagcd" type="STRING" size="256"/>
  230. <Column id="data1" type="STRING" size="256"/>
  231. <Column id="srchmonth" type="STRING" size="256"/>
  232. </ColumnInfo>
  233. <Rows>
  234. <Row>
  235. <Col id="srchyear"/>
  236. <Col id="flag"/>
  237. <Col id="cmpycd"/>
  238. <Col id="cmpynm"/>
  239. <Col id="flagcd"/>
  240. <Col id="data1"/>
  241. <Col id="srchmonth"/>
  242. </Row>
  243. </Rows>
  244. </Dataset>
  245. <Dataset id="ds_main_reexamfull_reexamlistfull" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  246. <ColumnInfo>
  247. <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
  248. <Column id="hngnm" type="STRING" size="256" sumtext="환자성명"/>
  249. <Column id="hopedd" type="STRING" size="256" sumtext="예약희망일"/>
  250. <Column id="healexamdetlflag" type="CDATE" size="256" sumtext="건진구분코드"/>
  251. <Column id="cdnm" type="CDATE" size="256" sumtext="건진구분"/>
  252. <Column id="reexamcdlst" type="CDATE" size="256" sumtext="재검검사목록"/>
  253. <Column id="pkgnm" type="CDATE" size="256" sumtext="패키지명"/>
  254. <Column id="telno" type="STRING" size="256" sumtext="전화번호"/>
  255. <Column id="mpphon" type="CDATE" size="256" sumtext="핸드폰번호"/>
  256. <Column id="plceflag" type="CDATE" size="256" sumtext="장소구분"/>
  257. <Column id="zipcd11" type="CDATE" size="256" sumtext="우편번호1"/>
  258. <Column id="zipcd12" type="STRING" size="256" sumtext="우편번호2"/>
  259. <Column id="addr" type="CDATE" size="256" sumtext="주소"/>
  260. </ColumnInfo>
  261. </Dataset>
  262. <Dataset id="ds_main_reexam_reexamlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  263. <ColumnInfo>
  264. <Column id="flagnm" type="STRING" size="256" sumtext="구분"/>
  265. <Column id="flagcd" type="STRING" size="256" sumtext="구분코드"/>
  266. <Column id="itemmm011" type="STRING" size="256" sumtext="01월재검건수"/>
  267. <Column id="mm012" type="CDATE" size="256" sumtext="01월실인원"/>
  268. <Column id="mm021" type="CDATE" size="256" sumtext="02월재검건수"/>
  269. <Column id="mm022" type="CDATE" size="256" sumtext="02월실인원"/>
  270. <Column id="mm031" type="CDATE" size="256" sumtext="03월재검건수"/>
  271. <Column id="mm032" type="STRING" size="256" sumtext="03월실인원"/>
  272. <Column id="mm041" type="CDATE" size="256" sumtext="04월재검건수"/>
  273. <Column id="mm042" type="CDATE" size="256" sumtext="04월실인원"/>
  274. <Column id="mm051" type="CDATE" size="256" sumtext="05월재검건수"/>
  275. <Column id="mm052" type="STRING" size="256" sumtext="05월실인원"/>
  276. <Column id="mm061" type="CDATE" size="256" sumtext="06월실인원"/>
  277. <Column id="mm062" type="CDATE" size="256" sumtext="06월재검건수"/>
  278. <Column id="mm071" type="CDATE" size="256" sumtext="07월실인원"/>
  279. <Column id="mm072" type="CDATE" size="256" sumtext="07월재검건수"/>
  280. <Column id="mm081" type="STRING" size="256" sumtext="08월실인원"/>
  281. <Column id="mm082" type="CDATE" size="256" sumtext="08월실인원"/>
  282. <Column id="mm091" type="CDATE" size="256" sumtext="09월재검건수"/>
  283. <Column id="mm092" type="CDATE" size="256" sumtext="09월실인원"/>
  284. <Column id="mm101" type="CDATE" size="256" sumtext="10월재검건수"/>
  285. <Column id="mm102" type="STRING" size="256" sumtext="10월실인원"/>
  286. <Column id="mm111" type="CDATE" size="256" sumtext="11월재검건수"/>
  287. <Column id="mm112" type="STRING" size="256" sumtext="11월실인원"/>
  288. <Column id="mm121" type="CDATE" size="256" sumtext="12월재검건수"/>
  289. <Column id="mm122" type="STRING" size="256" sumtext="12월실인원"/>
  290. <Column id="tot1" type="CDATE" size="256" sumtext="합계1"/>
  291. <Column id="tot2" type="STRING" size="256" sumtext="합계2"/>
  292. </ColumnInfo>
  293. </Dataset>
  294. <Dataset id="ds_init_A0070list_A0070" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  295. </Objects>
  296. <Bind>
  297. <BindItem id="item0" compid="group2.input26" propid="value" datasetid="ds_send" columnid="srchyear"/>
  298. <BindItem id="item1" compid="group2.cmb_srchhealexamflag" propid="value" datasetid="ds_send" columnid="flag"/>
  299. <BindItem id="item2" compid="group2.ipt_cmpycd" propid="value" datasetid="ds_send" columnid="cmpycd"/>
  300. <BindItem id="item3" compid="group2.opt_cmpynm" propid="value" datasetid="ds_send" columnid="cmpynm"/>
  301. </Bind>
  302. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  303. * System Name :
  304. * Job Name :
  305. * Creator :
  306. * Make Date : 2015-11-13
  307. * Description :
  308. *---------------------------------------------------------------------------------------
  309. * Modify Date Modifier Modify Description
  310. *---------------------------------------------------------------------------------------
  311. * 2015-11-13 Live Converter TF->XP
  312. *
  313. *---------------------------------------------------------------------------------------
  314. ****************************************************************************************/
  315. include "com_commonxp::comm_main.xjs";
  316. include "ast_healexamxp::AHA001.xjs";
  317. function SMAHS02700_oninit(obj:Form, e:InitEventInfo)
  318. {
  319. frmf_initForm(obj);
  320. }
  321. function SMAHS02700_onload(obj:Form, e:LoadEventInfo)
  322. {
  323. grdf_initGrid(swt_reexlist.case1.grd_reexam);
  324. btn_clear.click();
  325. var arrParam = [{dsNm: "ds_init_A0070list_A0070", cdGrpId: "A0070"}]
  326. appf_getCodeList(arrParam);
  327. }
  328. function group2_ipt_cmpycd_onkeyup(obj:Edit, e:KeyEventInfo)
  329. {
  330. if(e.keycode == 13)
  331. {
  332. obj.updateToDataset();
  333. group2.button14.click();
  334. }
  335. }
  336. function group2_button14_onclick(obj:Button, e:ClickEventInfo)
  337. {
  338. fGetComnCd("SMAHA01500", "09" , "cd", group2.ipt_cmpycd.value, group2.ipt_cmpycd, group2.opt_cmpynm);
  339. }
  340. function group2_btn_search_onclick(obj:Button, e:ClickEventInfo)
  341. {
  342. swt_reexlist.tabindex = 0;
  343. if(swt_reexlist.tabindex == 0)
  344. {
  345. ds_main_reexam_reexamlist.clearData();
  346. var oParam = {};
  347. oParam.id = "TRAHS02701";
  348. oParam.service = "healexamstatapp.StatRef";
  349. oParam.method = "reqGetReexamList";
  350. oParam.inds = "req=ds_send";
  351. oParam.outds = "ds_main_reexam_reexamlist=item";
  352. oParam.async = false;
  353. //oParam.callback = "cf_TRAHS02701";
  354. tranf_submit(oParam);
  355. if(ds_main_reexam_reexamlist.getColumnInfo("itemmm011"))
  356. {
  357. ds_main_reexam_reexamlist.updateColID("itemmm011", "mm011");
  358. }
  359. // 재검 현황 소계
  360. // grd_reexam.subtotalPosition = "below";
  361. // grd_reexam.subtotal("sum", 1, 3, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "소계", false);
  362. // grd_reexam.subtotal("sum", 1, 4, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "소계", false);
  363. // grd_reexam.subtotal("sum", 1, 5, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "소계", false);
  364. // grd_reexam.subtotal("sum", 1, 6, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "소계", false);
  365. // grd_reexam.subtotal("sum", 1, 7, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "소계", false);
  366. // grd_reexam.subtotal("sum", 1, 8, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "소계", false);
  367. // grd_reexam.subtotal("sum", 1, 9, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "소계", false);
  368. // grd_reexam.subtotal("sum", 1, 10, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "소계", false);
  369. // grd_reexam.subtotal("sum", 1, 11, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "소계", false);
  370. // grd_reexam.subtotal("sum", 1, 12, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "소계", false);
  371. // grd_reexam.subtotal("sum", 1, 13, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "소계", false);
  372. // grd_reexam.subtotal("sum", 1, 14, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "소계", false);
  373. // grd_reexam.subtotal("sum", 1, 15, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "소계", false);
  374. // grd_reexam.subtotal("sum", 1, 16, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "소계", false);
  375. // grd_reexam.subtotal("sum", 1, 17, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "소계", false);
  376. // grd_reexam.subtotal("sum", 1, 18, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "소계", false);
  377. // grd_reexam.subtotal("sum", 1, 19, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "소계", false);
  378. // grd_reexam.subtotal("sum", 1, 20, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "소계", false);
  379. // grd_reexam.subtotal("sum", 1, 21, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "소계", false);
  380. // grd_reexam.subtotal("sum", 1, 22, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "소계", false);
  381. // grd_reexam.subtotal("sum", 1, 23, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "소계", false);
  382. // grd_reexam.subtotal("sum", 1, 24, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "소계", false);
  383. // grd_reexam.subtotal("sum", 1, 25, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "소계", false);
  384. // grd_reexam.subtotal("sum", 1, 26, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "소계", false);
  385. //
  386. //
  387. // // 재검 현황 합계
  388. // grd_reexam.subtotalPosition = "below";
  389. // grd_reexam.subtotal("sum", -1, 3, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, " 합계", false);
  390. // grd_reexam.subtotal("sum", -1, 4, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "합계", false);
  391. // grd_reexam.subtotal("sum", -1, 5, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "합계", false);
  392. // grd_reexam.subtotal("sum", -1, 6, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "합계", false);
  393. // grd_reexam.subtotal("sum", -1, 7, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "합계", false);
  394. // grd_reexam.subtotal("sum", -1, 8, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "합계", false);
  395. // grd_reexam.subtotal("sum", -1, 9, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "합계", false);
  396. // grd_reexam.subtotal("sum", -1, 10, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "합계", false);
  397. // grd_reexam.subtotal("sum", -1, 11, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "합계", false);
  398. // grd_reexam.subtotal("sum", -1, 12, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "합계", false);
  399. // grd_reexam.subtotal("sum", -1, 13, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "합계", false);
  400. // grd_reexam.subtotal("sum", -1, 14, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "합계", false);
  401. // grd_reexam.subtotal("sum", -1, 15, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "합계", false);
  402. // grd_reexam.subtotal("sum", -1, 16, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "합계", false);
  403. // grd_reexam.subtotal("sum", -1, 17, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "합계", false);
  404. // grd_reexam.subtotal("sum", -1, 18, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "합계", false);
  405. // grd_reexam.subtotal("sum", -1, 19, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "합계", false);
  406. // grd_reexam.subtotal("sum", -1, 20, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "합계", false);
  407. // grd_reexam.subtotal("sum", -1, 21, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "합계", false);
  408. // grd_reexam.subtotal("sum", -1, 22, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "합계", false);
  409. // grd_reexam.subtotal("sum", -1, 23, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "합계", false);
  410. // grd_reexam.subtotal("sum", -1, 24, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "합계", false);
  411. // grd_reexam.subtotal("sum", -1, 25, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "합계", false);
  412. // grd_reexam.subtotal("sum", -1, 26, "format:(-)#,###; roundmode:round; roundpostion:2", "background-color:#fcd2c1; color:#0000; font-weight:bold; ", 1, "합계", false);
  413. }
  414. }
  415. function swt_reexlist_case1_grd_reexam_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  416. {
  417. var flagnm = ds_main_reexam_reexamlist.getColumn(ds_main_reexam_reexamlist.rowposition, "flagnm");
  418. if(flagnm == '소계' ||flagnm == '합계'|| utlf_isNull(flagnm))
  419. {
  420. return;
  421. }
  422. var srow = ds_main_reexam_reexamlist.rowposition;
  423. if (srow < 0 )
  424. {
  425. srow = 0;
  426. }
  427. var srchmonth = swt_reexlist.case1.grd_reexam.getHeadValue(e.col);
  428. srchmonth = String(srchmonth).substr(0,2);
  429. ds_send.setColumn(0, "srchmonth",srchmonth);
  430. ds_send.setColumn(0, "flagcd",ds_main_reexam_reexamlist.getColumn(srow, "flagcd"));
  431. swt_reexlist.tabindex = 1;
  432. var oParam = {};
  433. oParam.id = "TRAHS02702";
  434. oParam.service = "healexamstatapp.StatRef";
  435. oParam.method = "reqGetReexamDetlList";
  436. oParam.inds = "req=ds_send";
  437. oParam.outds = "ds_main_reexamfull_reexamlistfull=item";
  438. oParam.async = false;
  439. //oParam.callback = "cf_TRAHS02702";
  440. tranf_submit(oParam);
  441. }
  442. function btn_clear_onclick(obj:Button, e:ClickEventInfo)
  443. {
  444. ds_send.clearData();
  445. ds_send.addRow();
  446. ds_main_reexam_reexamlist.clearData();
  447. ds_main_reexamfull_reexamlistfull.clearData();
  448. var curDate = utlf_getCurrentDate();
  449. curDate = String(curDate).substr(0,4);
  450. ds_send.setColumn(0, "srchyear", curDate);
  451. swt_reexlist.tabindex = 0;
  452. }
  453. function button12_onclick(obj:Button, e:ClickEventInfo)
  454. {
  455. if (swt_reexlist.tabindex == 0)
  456. {
  457. grdf_exportExcel(swt_reexlist.case1.grd_reexam, "재검현황"+utlf_getCurrentDate(), "sheet", "true", "", "open");
  458. }
  459. if (swt_reexlist.tabindex == 1)
  460. {
  461. grdf_exportExcel(swt_reexlist.case2.datagrid2, "재검현황상세"+utlf_getCurrentDate(), "sheet", "true", "", "open");
  462. }
  463. }
  464. ]]></Script>
  465. </Form>
  466. </FDL>