SMLPP01400_정도관리.xfdl 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMLPP01400" position="absolute 0 0 1197 753" titletext="정도관리" oninit="SMLPP01400_oninit" onload="SMLPP01400_onload">
  5. <Layouts>
  6. <Layout>
  7. <Button id="button13" taborder="1" text="EXCEL출력" class="btn7" position="absolute 1103 66 1195 88" onclick="button13_onclick" anchor="top right"/>
  8. <Static id="caption4" text="정도관리목록" class="tit_2" position="absolute 1 77 109 93" anchor="left top"/>
  9. <Shape id="line1" linetype="horizontal" class="line_1" position="absolute 0 93 1194 99" style="strokepen:3 solid #33bbbbff;" anchor="left top right"/>
  10. <Div id="group2" taborder="2" position="absolute 0 25 1195 60" class="div_SA" anchor="left top right">
  11. <Layouts>
  12. <Layout>
  13. <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1105 7 1111 29" anchor="top right"/>
  14. <Static id="caption2" text="접수일자 :" class="search_name" position="absolute 543 9 629 26" anchor="left top"/>
  15. <Static id="caption5" text="~" class="search_no_b" position="absolute 735 8 747 25" anchor="left top"/>
  16. <Button id="btn_sea" taborder="4" text="조회" class="btn1" position="absolute 1123 7 1179 29" anchor="top right" onclick="group2_btn_sea_onclick"/>
  17. <Calendar id="ipt_cnclfromdd" taborder="5" class="input_s_essential" position="absolute 632 8 732 27" mask="yyyy-mm-dd" anchor="left top"/>
  18. <Calendar id="ipt_cncltodd" taborder="6" class="input_s_essential" position="absolute 751 8 851 27" mask="yyyy-mm-dd" anchor="left top"/>
  19. <Combo id="cbo_refmthdcd" taborder="7" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 1030 8 1098 27" anchor="left top" onitemchanged="group2_cbo_refmthdcd_onitemchanged">
  20. <Dataset id="innerdataset">
  21. <ColumnInfo>
  22. <Column id="codecolumn"/>
  23. <Column id="datacolumn"/>
  24. </ColumnInfo>
  25. <Rows>
  26. <Row>
  27. <Col id="codecolumn">0</Col>
  28. <Col id="datacolumn">일별</Col>
  29. </Row>
  30. <Row>
  31. <Col id="codecolumn">1</Col>
  32. <Col id="datacolumn">월별</Col>
  33. </Row>
  34. <Row>
  35. <Col id="codecolumn">2</Col>
  36. <Col id="datacolumn">년별</Col>
  37. </Row>
  38. </Rows>
  39. </Dataset>
  40. </Combo>
  41. <Static id="caption1" text="검색방법 :" class="search_name" position="absolute 941 9 1027 26" anchor="left top"/>
  42. <Static id="caption00" text="병리번호" class="search_name" position="absolute 23 8 91 28"/>
  43. <Combo id="cbo_ptnocd" taborder="8" innerdataset="ds_cond_ptnocode" codecolumn="ptnocd" datacolumn="ptnonm" position="absolute 99 8 255 28"/>
  44. <Edit id="ipt_fromyear" taborder="9" class="text_center" position="absolute 258 8 285 28"/>
  45. <Edit id="ipt_fromptno" taborder="10" oneditclick="group2_ipt_fromptno_oneditclick" class="text_center" position="absolute 288 8 338 28"/>
  46. <Static id="caption03" text="~" class="search_no_b" position="absolute 343 11 355 28" anchor="left top"/>
  47. <Edit id="ipt_toyear" taborder="11" class="text_center" position="absolute 354 8 381 28"/>
  48. <Edit id="ipt_toptno" taborder="12" class="text_center" position="absolute 384 8 434 28"/>
  49. </Layout>
  50. </Layouts>
  51. </Div>
  52. <Grid id="grd_grdeinfolist" class="datagrid2" taborder="3" binddataset="ds_grd_grdeinfolist" useinputpanel="false" position="absolute 0 97 1194 750" autofittype="col" anchor="all">
  53. <Formats>
  54. <Format id="default">
  55. <Columns>
  56. <Column size="0"/>
  57. <Column size="0"/>
  58. <Column size="25"/>
  59. <Column size="68"/>
  60. <Column size="0"/>
  61. <Column size="242"/>
  62. <Column size="129"/>
  63. <Column size="0"/>
  64. <Column size="30"/>
  65. <Column size="24"/>
  66. <Column size="24"/>
  67. <Column size="24"/>
  68. <Column size="24"/>
  69. <Column size="24"/>
  70. <Column size="24"/>
  71. <Column size="24"/>
  72. <Column size="24"/>
  73. <Column size="24"/>
  74. <Column size="24"/>
  75. <Column size="24"/>
  76. <Column size="24"/>
  77. <Column size="24"/>
  78. <Column size="24"/>
  79. <Column size="24"/>
  80. <Column size="24"/>
  81. <Column size="24"/>
  82. <Column size="24"/>
  83. <Column size="24"/>
  84. <Column size="24"/>
  85. <Column size="24"/>
  86. <Column size="24"/>
  87. <Column size="24"/>
  88. <Column size="24"/>
  89. <Column size="24"/>
  90. <Column size="24"/>
  91. <Column size="24"/>
  92. <Column size="24"/>
  93. <Column size="24"/>
  94. <Column size="24"/>
  95. <Column size="24"/>
  96. </Columns>
  97. <Rows>
  98. <Row size="26" band="head"/>
  99. <Row size="24"/>
  100. </Rows>
  101. <Band id="head">
  102. <Cell text="기관코드"/>
  103. <Cell col="1" text="정도구분코드"/>
  104. <Cell col="2"/>
  105. <Cell col="3" text="정도구분명"/>
  106. <Cell col="4" text="정도사유코드"/>
  107. <Cell col="5" text="정도관리명"/>
  108. <Cell col="6" text="정도사유명"/>
  109. <Cell col="7" text="병리번호"/>
  110. <Cell col="8" text="총&#10;건수"/>
  111. <Cell col="9" text="01"/>
  112. <Cell col="10" text="02"/>
  113. <Cell col="11" text="03"/>
  114. <Cell col="12" text="04"/>
  115. <Cell col="13" text="05"/>
  116. <Cell col="14" text="06"/>
  117. <Cell col="15" text="07"/>
  118. <Cell col="16" text="08"/>
  119. <Cell col="17" text="09"/>
  120. <Cell col="18" text="10"/>
  121. <Cell col="19" text="11"/>
  122. <Cell col="20" text="12"/>
  123. <Cell col="21" text="13"/>
  124. <Cell col="22" text="14"/>
  125. <Cell col="23" text="15"/>
  126. <Cell col="24" text="16"/>
  127. <Cell col="25" text="17"/>
  128. <Cell col="26" text="18"/>
  129. <Cell col="27" text="19"/>
  130. <Cell col="28" text="20"/>
  131. <Cell col="29" text="21"/>
  132. <Cell col="30" text="22"/>
  133. <Cell col="31" text="23"/>
  134. <Cell col="32" text="24"/>
  135. <Cell col="33" text="25"/>
  136. <Cell col="34" text="26"/>
  137. <Cell col="35" text="27"/>
  138. <Cell col="36" text="28"/>
  139. <Cell col="37" text="29"/>
  140. <Cell col="38" text="30"/>
  141. <Cell col="39" text="31"/>
  142. </Band>
  143. <Band id="body">
  144. <Cell text="bind:instcd"/>
  145. <Cell col="1" text="bind:grdeflagcd"/>
  146. <Cell col="2" text="expr:currow + 1"/>
  147. <Cell col="3" class="text_center" text="bind:baseflagnm"/>
  148. <Cell col="4" class="text_center" text="bind:grderesncd"/>
  149. <Cell col="5" class="text_center" text="bind:grdegrupnm"/>
  150. <Cell col="6" text="bind:resncnts"/>
  151. <Cell col="7" text="bind:ptnolist"/>
  152. <Cell col="8" text="bind:daytot"/>
  153. <Cell col="9" class="text_right" text="bind:day01"/>
  154. <Cell col="10" class="text_right" text="bind:day02"/>
  155. <Cell col="11" class="text_right" text="bind:day03"/>
  156. <Cell col="12" class="text_right" text="bind:day04"/>
  157. <Cell col="13" class="text_right" text="bind:day05"/>
  158. <Cell col="14" class="text_right" text="bind:day06"/>
  159. <Cell col="15" class="text_right" text="bind:day07"/>
  160. <Cell col="16" class="text_right" text="bind:day08"/>
  161. <Cell col="17" class="text_right" text="bind:day09"/>
  162. <Cell col="18" class="text_right" text="bind:day10"/>
  163. <Cell col="19" class="text_right" text="bind:day11"/>
  164. <Cell col="20" class="text_right" text="bind:day12"/>
  165. <Cell col="21" class="text_right" text="bind:day13"/>
  166. <Cell col="22" class="text_right" text="bind:day14"/>
  167. <Cell col="23" class="text_right" text="bind:day15"/>
  168. <Cell col="24" class="text_right" text="bind:day16"/>
  169. <Cell col="25" class="text_right" text="bind:day17"/>
  170. <Cell col="26" class="text_right" text="bind:day18"/>
  171. <Cell col="27" class="text_right" text="bind:day19"/>
  172. <Cell col="28" class="text_right" text="bind:day20"/>
  173. <Cell col="29" class="text_right" text="bind:day21"/>
  174. <Cell col="30" class="text_right" text="bind:day22"/>
  175. <Cell col="31" class="text_right" text="bind:day23"/>
  176. <Cell col="32" class="text_right" text="bind:day24"/>
  177. <Cell col="33" class="text_right" text="bind:day25"/>
  178. <Cell col="34" class="text_right" text="bind:day26"/>
  179. <Cell col="35" class="text_right" text="bind:day27"/>
  180. <Cell col="36" class="text_right" text="bind:day28"/>
  181. <Cell col="37" class="text_right" text="bind:day29"/>
  182. <Cell col="38" class="text_right" text="bind:day30"/>
  183. <Cell col="39" class="text_right" text="bind:day31"/>
  184. </Band>
  185. </Format>
  186. </Formats>
  187. </Grid>
  188. <Static id="caption6" text="정도관리 통계" class="tit_1" position="absolute 0 0 117 25" anchor="left top"/>
  189. </Layout>
  190. </Layouts>
  191. <Objects>
  192. <Dataset id="ds_grd_grdeinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  193. <ColumnInfo>
  194. <Column id="instcd" type="STRING"/>
  195. <Column id="grdeflagcd" type="STRING"/>
  196. <Column id="baseflagnm" type="STRING"/>
  197. <Column id="grderesncd" type="STRING"/>
  198. <Column id="grdegrupnm" type="STRING"/>
  199. <Column id="resncnts" type="STRING"/>
  200. <Column id="ptnolist" type="STRING"/>
  201. <Column id="daytot" type="STRING"/>
  202. <Column id="day01" type="STRING"/>
  203. <Column id="day02" type="STRING"/>
  204. <Column id="day03" type="STRING"/>
  205. <Column id="day04" type="STRING"/>
  206. <Column id="day05" type="STRING"/>
  207. <Column id="day06" type="STRING"/>
  208. <Column id="day07" type="STRING"/>
  209. <Column id="day08" type="STRING"/>
  210. <Column id="day09" type="STRING"/>
  211. <Column id="day10" type="STRING"/>
  212. <Column id="day11" type="STRING"/>
  213. <Column id="day12" type="STRING"/>
  214. <Column id="day13" type="STRING"/>
  215. <Column id="day14" type="STRING"/>
  216. <Column id="day15" type="STRING"/>
  217. <Column id="day16" type="STRING"/>
  218. <Column id="day17" type="STRING"/>
  219. <Column id="day18" type="STRING"/>
  220. <Column id="day19" type="STRING"/>
  221. <Column id="day20" type="STRING"/>
  222. <Column id="day21" type="STRING"/>
  223. <Column id="day22" type="STRING"/>
  224. <Column id="day23" type="STRING"/>
  225. <Column id="day24" type="STRING"/>
  226. <Column id="day25" type="STRING"/>
  227. <Column id="day26" type="STRING"/>
  228. <Column id="day27" type="STRING"/>
  229. <Column id="day28" type="STRING"/>
  230. <Column id="day29" type="STRING"/>
  231. <Column id="day30" type="STRING"/>
  232. <Column id="day31" type="STRING"/>
  233. </ColumnInfo>
  234. </Dataset>
  235. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  236. <ColumnInfo>
  237. <Column id="seaval" type="STRING" size="256"/>
  238. <Column id="acptfromdd" type="STRING" size="256"/>
  239. <Column id="acpttodd" type="STRING" size="256"/>
  240. <Column id="seameth" type="STRING" size="256"/>
  241. <Column id="refmthdcd" type="STRING" size="256"/>
  242. </ColumnInfo>
  243. <Rows>
  244. <Row>
  245. <Col id="seameth">0</Col>
  246. </Row>
  247. </Rows>
  248. </Dataset>
  249. <Dataset id="ds_data_sysdtinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  250. <ColumnInfo>
  251. <Column id="sysdd" type="STRING" size="256"/>
  252. <Column id="systm" type="STRING" size="256"/>
  253. </ColumnInfo>
  254. </Dataset>
  255. <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  256. <ColumnInfo>
  257. <Column id="acptfromdd" type="STRING" size="256"/>
  258. <Column id="acpttodd" type="STRING" size="256"/>
  259. <Column id="refmthdcd" type="STRING" size="256"/>
  260. <Column id="refval" type="STRING" size="256"/>
  261. <Column id="ptnocode" type="STRING" size="256"/>
  262. <Column id="fromyear" type="STRING" size="256"/>
  263. <Column id="fromptno" type="STRING" size="256"/>
  264. <Column id="toyear" type="STRING" size="256"/>
  265. <Column id="toptno" type="STRING" size="256"/>
  266. <Column id="chrgdrid" type="STRING" size="256"/>
  267. <Column id="refflagcd" type="STRING" size="256"/>
  268. </ColumnInfo>
  269. <Rows>
  270. <Row>
  271. <Col id="acptfromdd"/>
  272. <Col id="acpttodd"/>
  273. <Col id="refmthdcd"/>
  274. <Col id="refval"/>
  275. <Col id="ptnocode"/>
  276. <Col id="fromyear"/>
  277. <Col id="fromptno"/>
  278. <Col id="toyear"/>
  279. <Col id="toptno"/>
  280. <Col id="chrgdrid"/>
  281. </Row>
  282. </Rows>
  283. </Dataset>
  284. <Dataset id="ds_cond_ptnocode" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  285. <ColumnInfo>
  286. <Column id="instcd" type="STRING" size="256"/>
  287. <Column id="ptnocd" type="STRING" size="256"/>
  288. <Column id="ptnonm" type="STRING" size="256"/>
  289. </ColumnInfo>
  290. </Dataset>
  291. </Objects>
  292. <Bind>
  293. <BindItem id="item0" compid="group2.ipt_cnclfromdd" propid="value" datasetid="ds_hidden" columnid="acptfromdd"/>
  294. <BindItem id="item1" compid="group2.ipt_cncltodd" propid="value" datasetid="ds_hidden" columnid="acpttodd"/>
  295. <BindItem id="item2" compid="group2.cbo_refmthdcd" propid="value" datasetid="ds_hidden" columnid="refmthdcd"/>
  296. <BindItem id="item3" compid="group2.cbo_ptnocd" propid="value" datasetid="ds_init" columnid="ptnocode"/>
  297. <BindItem id="item4" compid="group2.ipt_fromyear" propid="value" datasetid="ds_init" columnid="fromyear"/>
  298. <BindItem id="item5" compid="group2.ipt_fromptno" propid="value" datasetid="ds_init" columnid="fromptno"/>
  299. <BindItem id="item6" compid="group2.ipt_toyear" propid="value" datasetid="ds_init" columnid="toyear"/>
  300. <BindItem id="item7" compid="group2.ipt_toptno" propid="value" datasetid="ds_init" columnid="toptno"/>
  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. function SMLPP01400_oninit(obj:Form, e:InitEventInfo)
  317. {
  318. frmf_initForm(obj);
  319. }
  320. function SMLPP01400_onload(obj:Form, e:LoadEventInfo)
  321. {
  322. grdf_initGrid(grd_grdeinfolist);
  323. fExeInitialize();
  324. }
  325. //초기화
  326. function fExeInitialize()
  327. {
  328. dsf_createDsRow("ds_send", [{col: "instcd", val: sysf_getUserInfo("dutplceinstcd")}]);
  329. var oParam = {};
  330. oParam.id = "TRLPZ00102";
  331. oParam.service = "plgycomnusemngtapp.BaseInfoCode";
  332. oParam.method = "reqGetSystemDateTimeInformation";
  333. oParam.inds = "refData=ds_send";
  334. oParam.outds = "ds_data_sysdtinfo=sysdtinfo";
  335. oParam.async = false;
  336. //oParam.callback = "cf_TRLPZ00102";
  337. tranf_submit(oParam);
  338. dsf_createDsRow("ds_temp_search", [{col: "instcd", val : sysf_getUserInfo("dutplceinstcd")}
  339. ,{col : "refflagcd", val : "0"}]);
  340. var oParam = {};
  341. oParam.id = "TRLPZ00109";
  342. oParam.service = "plgycomnusemngtapp.BaseInfoCode";
  343. oParam.method = "reqGetPtNoCdList";
  344. oParam.inds = "refdata=ds_temp_search";
  345. oParam.outds = "ds_cond_ptnocode=rsltlist";
  346. oParam.async = false;
  347. //oParam.callback = "cf_TRLPZ00109";
  348. tranf_submit(oParam);
  349. ds_hidden.setColumn(0, "seaval", "");
  350. ds_hidden.setColumn(0, "acptfromdd", utlf_getCurrentDate());
  351. ds_hidden.setColumn(0, "acpttodd", utlf_getCurrentDate());
  352. ds_hidden.setColumn(0, "seameth", "1");
  353. ds_hidden.setColumn(0, "refmthdcd", "0");
  354. sCurDate = ds_data_sysdtinfo.getColumn(0, "sysdd");
  355. ds_init.setColumn(0, "ptnocode", "");
  356. ds_init.setColumn(0, "fromyear", sCurDate.substr(2,2));
  357. ds_init.setColumn(0, "fromptno", "");
  358. ds_init.setColumn(0, "toyear", sCurDate.substr(2,2));
  359. ds_init.setColumn(0, "toptno", "");
  360. }
  361. //조회
  362. function fGetGradeInfoList()
  363. {
  364. var sTemp = "";
  365. var sFromDD = ds_init.getColumn(0, "acptfromdd");
  366. var sToDD = ds_init.getColumn(0, "acpttodd");
  367. if(!utlf_isNull(ds_init.getColumn(0, "ptnocode")))
  368. {
  369. if(utlf_isNull(ds_init.getColumn(0, "fromyear")))
  370. {
  371. ds_init.getColumn(0, "fromyear", sFromDD.substr(2,2));
  372. }
  373. else
  374. {
  375. sTemp = ds_init.getColumn(0, "fromyear");
  376. ds_init.setColumn(0, "fromyear", sTemp.getLeftPad(2, "0"));
  377. }
  378. if( utlf_isNull(ds_init.getColumn(0, "fromptno")))
  379. {
  380. ds_init.setColumn(0, "fromptno", "000000");
  381. }
  382. else
  383. {
  384. sTemp = ds_init.getColumn(0, "fromptno");
  385. ds_init.setColumn(0, "fromptno", sTemp.getLeftPad(6, "0"));
  386. }
  387. if( utlf_isNull(ds_init.getColumn(0, "toyear")))
  388. {
  389. ds_init.setColumn(0, "toyear", sToDD.substr(2,2));
  390. }
  391. else
  392. {
  393. sTemp = ds_init.getColumn(0, "toyear");
  394. ds_init.setColumn(0, "toyear", sTemp.getLeftPad(2, "0"));
  395. }
  396. if( utlf_isNull(ds_init.getColumn(0, "toptno")))
  397. {
  398. ds_init.setColumn(0, "toptno", "999999");
  399. }
  400. else
  401. {
  402. sTemp = ds_init.getColumn(0, "toptno");
  403. ds_init.setColumn(0, "toptno", sTemp.getLeftPad(6, "0"));
  404. }
  405. }
  406. sTemp = ds_init.getColumn(0, "ptnocode");
  407. dsf_createDsRow("ds_send",[{col: "instcd", val : sysf_getUserInfo("dutplceinstcd") }
  408. ,{col: "grdefromdd", val : ds_hidden.getColumn(0, "acptfromdd") }
  409. ,{col: "grdetodd", val : ds_hidden.getColumn(0, "acpttodd") }
  410. ,{col: "ptnocode", val : sTemp.replace("-", "")}
  411. ,{col: "fromyear", val : ds_init.getColumn(0, "fromyear")}
  412. ,{col: "fromptno", val : ds_init.getColumn(0, "fromptno")}
  413. ,{col: "toyear", val : ds_init.getColumn(0, "toyear")}
  414. ,{col: "toptno", val : ds_init.getColumn(0, "toptno")}
  415. ,{col: "refmthdcd", val : ds_hidden.getColumn(0, "refmthdcd")}]);
  416. // dsf_createDsRow("ds_send", [{col: "instcd", val : sysf_getUserInfo("dutplceinstcd")}
  417. // ,{col: "grdefromdd", val : ds_hidden.getColumn(0, "acptfromdd")}
  418. // ,{col: "grdetodd", val : ds_hidden.getColumn(0, "acpttodd")}
  419. // ,{col: "refmthdcd", val : ds_hidden.getColumn(0, "refmthdcd")}]);
  420. var oParam = {};
  421. oParam.id = "TRLPP01401";
  422. oParam.service = "plgyrefmngtapp.AcptSpecRef";
  423. oParam.method = "reqGetGradeList";
  424. oParam.inds = "refData=ds_send";
  425. oParam.outds = "ds_grd_grdeinfolist=reflist";
  426. oParam.async = false;
  427. //oParam.callback = "cf_TRLPP01401";
  428. tranf_submit(oParam);
  429. }
  430. function fExeRadioChange()
  431. {
  432. for(var i = 21; i <= 39; i++)
  433. {
  434. grd_grdeinfolist.setFormatColProperty(i, "size", 24);
  435. }
  436. var iFromNo = 0;
  437. var iToNo = 0;
  438. var iWidth = 0;
  439. var bState = false;
  440. var k = 0;
  441. var iYear = 0;
  442. var sFromDD = group2.ipt_cnclfromdd.value;
  443. sFromDD_d = sFromDD.toFormatString("%Y%m%d");
  444. var sToDD = group2.ipt_cncltodd.value;
  445. sToDD_d = sToDD.toFormatString("%Y%m%d");
  446. if(group2.cbo_refmthdcd.value == "0")
  447. {
  448. iFromNo = 5;
  449. iToNo = grd_grdeinfolist.colcount;
  450. iWidth = 31;
  451. bState = false;
  452. sText = "구분코드^검사코드^검사실^검사항목^01^02^03^04^05^06^07^08^09^10^11^12^13^14^15^16^17^18^19^20^21^22^23^24^25^26^27^28^29^30^31^총\n건수";
  453. for(var i = 1; i <= 31; i++)
  454. {
  455. grd_grdeinfolist.setCellProperty("head", 8+i, "text", i);
  456. }
  457. }
  458. else if(group2.cbo_refmthdcd.value == "1")
  459. {
  460. iFromNo = 17;
  461. iToNo = 35;
  462. iWidth = 75;
  463. bState = true;
  464. sText = "구분코드^검사코드^검사실^검사항목^01^02^03^04^05^06^07^08^09^10^11^12^13^14^15^16^17^18^19^20^21^22^23^24^25^26^27^28^29^30^31^총\n건수";
  465. for(var i = 1; i <= 31; i++)
  466. {
  467. grd_grdeinfolist.setCellProperty("head", 8+i, "text", i);
  468. if(i > 12)
  469. {
  470. grd_grdeinfolist.setFormatColProperty(8+i, "size", 0);
  471. }
  472. }
  473. }
  474. else
  475. {
  476. iFromNo = 25;
  477. iToNo = 35;
  478. iWidth = 47;
  479. bState = true;
  480. for (var iNo = toNumber(sFromDD_d.substr(0,4)); iNo <= toNumber(sFromDD_d.substr(0,4)) + 20; iNo++)
  481. {
  482. grd_grdeinfolist.setCellProperty("head", 9+k, "text", iNo);
  483. k++;
  484. }
  485. for(var j = 30; j <= 39; j++)
  486. {
  487. grd_grdeinfolist.setFormatColProperty(j, "size", 0);
  488. }
  489. }
  490. }
  491. //조회
  492. function group2_btn_sea_onclick(obj:Button, e:ClickEventInfo)
  493. {
  494. fGetGradeInfoList();
  495. }
  496. function group2_cbo_refmthdcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  497. {
  498. fExeRadioChange();
  499. }
  500. function button13_onclick(obj:Button, e:ClickEventInfo)
  501. {
  502. grdf_exportExcel(grd_grdeinfolist, "정도관리", "sheet1", false);
  503. }
  504. ]]></Script>
  505. </Form>
  506. </FDL>