SPSTC00100_청구환자리스트.xfdl 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489
  1. <?xml version="1.0" encoding="utf-8" standalone="no"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml" />
  4. <Form id="SPSTC00100" position="absolute 0 0 1280 1024" titletext="청구환자 리스트" onload="SPSTC00100_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption26" class="tit_2" position="absolute 0 1 205 14" style="" text="청구환자 리스트" />
  8. <Shape id="line1" class="line_1" linetype="horizontal" position="absolute 0 15 1210 18" style="" anchor="default" />
  9. <Grid id="datagrid1" class="datagrid2" position="absolute 0 20 1210 755" style="">
  10. <Formats>
  11. <Format id="default">
  12. <Columns>
  13. <Column size="80" />
  14. <Column size="40" />
  15. <Column size="70" />
  16. <Column size="80" />
  17. <Column size="30" />
  18. <Column size="80" />
  19. <Column size="80" />
  20. <Column size="80" />
  21. <Column size="80" />
  22. <Column size="70" />
  23. <Column size="70" />
  24. <Column size="70" />
  25. <Column size="50" />
  26. <Column size="80" />
  27. <Column size="80" />
  28. <Column size="80" />
  29. <Column size="80" />
  30. <Column size="80" />
  31. <Column size="80" />
  32. <Column size="80" />
  33. <Column size="80" />
  34. <Column size="80" />
  35. <Column size="80" />
  36. <Column size="80" />
  37. <Column size="90" />
  38. <Column size="90" />
  39. <Column size="70" />
  40. <Column size="80" />
  41. <Column size="80" />
  42. <Column size="90" />
  43. <Column size="80" />
  44. <Column size="150" />
  45. <Column size="100" />
  46. </Columns>
  47. <Rows>
  48. <Row size="23" band="head" />
  49. <Row size="23" />
  50. </Rows>
  51. <Band id="head">
  52. <Cell text="보험유형" />
  53. <Cell col="1" text="내원유형" />
  54. <Cell col="2" text="청구월" />
  55. <Cell col="3" text="청구형태" />
  56. <Cell col="4" text="청구차수" />
  57. <Cell col="5" text="진료월" />
  58. <Cell col="6" text="청구분야" />
  59. <Cell col="7" text="청구과" />
  60. <Cell col="8" text="진료과" />
  61. <Cell col="9" text="주치의" />
  62. <Cell col="10" text="주치의코드" />
  63. <Cell col="11" text="주상병" />
  64. <Cell col="12" text="명일련" />
  65. <Cell col="13" text="등록번호" />
  66. <Cell col="14" text="수진자" />
  67. <Cell col="15" text="보조유형" />
  68. <Cell col="16" text="총진료비" />
  69. <Cell col="17" text="본인부담금" />
  70. <Cell col="18" text="청구액" />
  71. <Cell col="19" text="상한액" />
  72. <Cell col="20" text="지원금" />
  73. <Cell col="21" text="장애인" />
  74. <Cell col="22" text="대불금" />
  75. <Cell col="23" text="선택진료료" />
  76. <Cell col="24" text="청구번호" />
  77. <Cell col="25" text="접수일자" />
  78. <Cell col="26" text="접수번호" />
  79. <Cell col="27" text="심사자" />
  80. <Cell col="28" text="심사상태" />
  81. <Cell col="29" text="심사일시" />
  82. <Cell col="30" text="기관기호" />
  83. <Cell col="31" text="기관명" />
  84. <Cell col="32" text="사고접수번호" />
  85. </Band>
  86. <Band id="body">
  87. <Cell text="bind:insukind" />
  88. <Cell col="1" text="bind:ioflag" />
  89. <Cell col="2" text="bind:clamym" />
  90. <Cell col="3" text="bind:clamflagcd" />
  91. <Cell col="4" text="bind:clamdg" />
  92. <Cell col="5" text="bind:ordym" />
  93. <Cell col="6" text="bind:clamfield" />
  94. <Cell col="7" text="bind:clamdept" />
  95. <Cell col="8" text="bind:orddept" />
  96. <Cell col="9" text="bind:orddrnm" />
  97. <Cell col="10" text="bind:orddrid" />
  98. <Cell col="11" text="bind:diagcd" />
  99. <Cell col="12" text="bind:docuseqno" />
  100. <Cell col="13" text="bind:pid" />
  101. <Cell col="14" text="bind:pnm" />
  102. <Cell col="15" text="bind:suppkind" />
  103. <Cell col="16" text="bind:totordamt" />
  104. <Cell col="17" text="bind:ownbamt" />
  105. <Cell col="18" text="bind:medcaretotamt" />
  106. <Cell col="19" text="bind:ownbmaxexamt" />
  107. <Cell col="20" text="bind:suppamt" />
  108. <Cell col="21" text="bind:handcaprfund" />
  109. <Cell col="22" text="bind:subtamt" />
  110. <Cell col="23" text="bind:specamt" />
  111. <Cell col="24" text="bind:clamno" />
  112. <Cell col="25" text="bind:acptdd" />
  113. <Cell col="26" text="bind:acptno" />
  114. <Cell col="27" text="bind:judgnm" />
  115. <Cell col="28" text="bind:judgstate" />
  116. <Cell col="29" text="bind:judgdd" />
  117. <Cell col="30" text="bind:insuno" />
  118. <Cell col="31" text="bind:insucdnm" />
  119. <Cell col="32" text="bind:acdacptno" />
  120. </Band>
  121. </Format>
  122. </Formats>
  123. </Grid>
  124. <Button id="btn_nextpage" class="btn4_letter5" position="absolute 1110 762 1202 784" style="" text="다음페이지" onclick="btn_nextpage_onclick" />
  125. <Button id="button1" class="btn3_letter5" position="absolute 965 762 1057 784" style="" text="이전페이지" onclick="button1_onclick" />
  126. <Static id="caption1" position="absolute 1058 765 1078 780" style="font:,,bold;align:right ;" text="caption1" />
  127. <Static id="caption2" position="absolute 1088 765 1108 780" style="font:,,bold;align:left ;" text="caption2" />
  128. <Static id="caption3" position="absolute 1078 765 1088 780" style="" text="/" />
  129. </Layout>
  130. </Layouts>
  131. <Objects>
  132. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  133. <ColumnInfo />
  134. </Dataset>
  135. <Dataset id="ds_main_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  136. <ColumnInfo />
  137. </Dataset>
  138. <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  139. <ColumnInfo />
  140. </Dataset>
  141. <Dataset id="ds_init_page" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  142. <ColumnInfo>
  143. <Column id="totalpage" type="STRING" size="256" />
  144. <Column id="nowpage" type="STRING" size="256" />
  145. </ColumnInfo>
  146. </Dataset>
  147. <Dataset id="ds_main_list_gridlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  148. <ColumnInfo>
  149. <Column id="insukind" type="STRING" size="256" />
  150. <Column id="ioflag" type="STRING" size="256" />
  151. <Column id="clamym" type="STRING" size="256" />
  152. <Column id="clamflagcd" type="STRING" size="256" />
  153. <Column id="clamdg" type="STRING" size="256" />
  154. <Column id="ordym" type="STRING" size="256" />
  155. <Column id="clamfield" type="STRING" size="256" />
  156. <Column id="clamdept" type="STRING" size="256" />
  157. <Column id="orddept" type="STRING" size="256" />
  158. <Column id="orddrnm" type="STRING" size="256" />
  159. <Column id="orddrid" type="STRING" size="256" />
  160. <Column id="diagcd" type="STRING" size="256" />
  161. <Column id="docuseqno" type="STRING" size="256" />
  162. <Column id="pid" type="STRING" size="256" />
  163. <Column id="pnm" type="STRING" size="256" />
  164. <Column id="suppkind" type="STRING" size="256" />
  165. <Column id="totordamt" type="STRING" size="256" />
  166. <Column id="ownbamt" type="STRING" size="256" />
  167. <Column id="medcaretotamt" type="STRING" size="256" />
  168. <Column id="ownbmaxexamt" type="STRING" size="256" />
  169. <Column id="suppamt" type="STRING" size="256" />
  170. <Column id="handcaprfund" type="STRING" size="256" />
  171. <Column id="subtamt" type="STRING" size="256" />
  172. <Column id="specamt" type="STRING" size="256" />
  173. <Column id="clamno" type="STRING" size="256" />
  174. <Column id="acptdd" type="STRING" size="256" />
  175. <Column id="acptno" type="STRING" size="256" />
  176. <Column id="judgnm" type="STRING" size="256" />
  177. <Column id="judgstate" type="STRING" size="256" />
  178. <Column id="judgdd" type="STRING" size="256" />
  179. <Column id="insuno" type="STRING" size="256" />
  180. <Column id="insucdnm" type="STRING" size="256" />
  181. <Column id="acdacptno" type="STRING" size="256" />
  182. </ColumnInfo>
  183. <Rows>
  184. <Row>
  185. <Col id="insukind"></Col>
  186. <Col id="ioflag"></Col>
  187. <Col id="clamym"></Col>
  188. <Col id="clamflagcd"></Col>
  189. <Col id="clamdg"></Col>
  190. <Col id="ordym"></Col>
  191. <Col id="clamfield"></Col>
  192. <Col id="clamdept"></Col>
  193. <Col id="orddept"></Col>
  194. <Col id="orddrnm"></Col>
  195. <Col id="orddrid"></Col>
  196. <Col id="diagcd"></Col>
  197. <Col id="docuseqno"></Col>
  198. <Col id="pid"></Col>
  199. <Col id="pnm"></Col>
  200. <Col id="suppkind"></Col>
  201. <Col id="totordamt"></Col>
  202. <Col id="ownbamt"></Col>
  203. <Col id="medcaretotamt"></Col>
  204. <Col id="ownbmaxexamt"></Col>
  205. <Col id="suppamt"></Col>
  206. <Col id="handcaprfund"></Col>
  207. <Col id="subtamt"></Col>
  208. <Col id="specamt"></Col>
  209. <Col id="clamno"></Col>
  210. <Col id="acptdd"></Col>
  211. <Col id="acptno"></Col>
  212. <Col id="judgnm"></Col>
  213. <Col id="judgstate"></Col>
  214. <Col id="judgdd"></Col>
  215. <Col id="insuno"></Col>
  216. <Col id="insucdnm"></Col>
  217. <Col id="acdacptno"></Col>
  218. </Row>
  219. </Rows>
  220. </Dataset>
  221. <Dataset id="ds_send_senddata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  222. <ColumnInfo>
  223. <Column id="rptmid" type="STRING" size="256" />
  224. <Column id="insukind" type="STRING" size="256" />
  225. <Column id="prockindflag" type="STRING" size="256" />
  226. <Column id="ioflag" type="STRING" size="256" />
  227. <Column id="clamym" type="STRING" size="256" />
  228. <Column id="clamflagcd" type="STRING" size="256" />
  229. <Column id="clamdg" type="STRING" size="256" />
  230. <Column id="ordym" type="STRING" size="256" />
  231. <Column id="sumtypecd" type="STRING" size="256" />
  232. <Column id="clamno" type="STRING" size="256" />
  233. <Column id="acptdd" type="STRING" size="256" />
  234. <Column id="acptno" type="STRING" size="256" />
  235. <Column id="deptflag" type="STRING" size="256" />
  236. <Column id="deptcd" type="STRING" size="256" />
  237. <Column id="insuno" type="STRING" size="256" />
  238. <Column id="citycd" type="STRING" size="256" />
  239. <Column id="srownum" type="STRING" size="256" />
  240. <Column id="erownum" type="STRING" size="256" />
  241. <Column id="sumfromdd" type="STRING" size="256" />
  242. <Column id="sumtodd" type="STRING" size="256" />
  243. <Column id="sumgb" type="STRING" size="256" />
  244. <Column id="sumclamflagcd" type="STRING" size="256" />
  245. <Column id="sumclamdg" type="STRING" size="256" />
  246. <Column id="sumprockindflag" type="STRING" size="256" />
  247. <Column id="sumioflag" type="STRING" size="256" />
  248. </ColumnInfo>
  249. <Rows>
  250. <Row>
  251. <Col id="rptmid"></Col>
  252. <Col id="insukind"></Col>
  253. <Col id="prockindflag"></Col>
  254. <Col id="ioflag"></Col>
  255. <Col id="clamym"></Col>
  256. <Col id="clamflagcd"></Col>
  257. <Col id="clamdg"></Col>
  258. <Col id="ordym"></Col>
  259. <Col id="sumtypecd"></Col>
  260. <Col id="clamno"></Col>
  261. <Col id="acptdd"></Col>
  262. <Col id="acptno"></Col>
  263. <Col id="deptflag"></Col>
  264. <Col id="deptcd"></Col>
  265. <Col id="insuno"></Col>
  266. <Col id="citycd"></Col>
  267. <Col id="srownum"></Col>
  268. <Col id="erownum"></Col>
  269. <Col id="sumfromdd"></Col>
  270. <Col id="sumtodd"></Col>
  271. <Col id="sumgb"></Col>
  272. <Col id="sumclamflagcd"></Col>
  273. <Col id="sumclamdg"></Col>
  274. <Col id="sumprockindflag"></Col>
  275. <Col id="sumioflag"></Col>
  276. </Row>
  277. </Rows>
  278. </Dataset>
  279. <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  280. <ColumnInfo />
  281. </Dataset>
  282. </Objects>
  283. <Bind>
  284. <BindItem id="item0" compid="caption1" propid="value" datasetid="ds_init_page" columnid="nowpage" />
  285. <BindItem id="item1" compid="caption2" propid="value" datasetid="ds_init_page" columnid="totalpage" />
  286. </Bind>
  287. <Script type="xscript4.0"><![CDATA[function SPSTC00100_onload(obj:Form, e:LoadEventInfo) {
  288. frmf_initForm(obj);
  289. //grdf_initGrid(grd_XXX);
  290. //grdf_setGridSort(grd_XXX);
  291. //grdf_setRowTypeIcon(grd_XXX, 0_컬럼위치값);
  292. // 부모창에서 개발자ID을 얻어 와서 조건으로 줘서 조회를 한다.
  293. var rptmid = opener.ds_send.getColumn(0, "in_rptcd");
  294. if (rptmid=="RR01147")
  295. {
  296. var insukind = opener.model.getValue("ds_init_rptm_grid_ret[" + opener.dgrd_rpt.row + " - 1 ]_hid1");
  297. var ioflag = opener.model.getValue("ds_init_rptm_grid_ret[" + opener.dgrd_rpt.row + " - 1]_hid2");
  298. var clamym = opener.model.getValue("ds_init_rptm_grid_ret[" + opener.dgrd_rpt.row + " - 1]_col3").replace("/","");
  299. var clamflagcd = opener.model.getValue("ds_init_rptm_grid_ret[" + opener.dgrd_rpt.row + " - 1]_hid3");
  300. var clamdg = opener.model.getValue("ds_init_rptm_grid_ret[" + opener.dgrd_rpt.row + " - 1]_col5");
  301. var ordym = opener.model.getValue("ds_init_rptm_grid_ret[" + opener.dgrd_rpt.row + " - 1]_col6").replace("/","");
  302. var sumtypecd = opener.model.getValue("ds_init_rptm_grid_ret[" + opener.dgrd_rpt.row + " - 1]_hid4");
  303. var clamno = opener.model.getValue("ds_init_rptm_grid_ret[" + opener.dgrd_rpt.row + " - 1 ]_col8");
  304. var acptdd = opener.model.getValue("ds_init_rptm_grid_ret[" + opener.dgrd_rpt.row + " - 1 ]_col9").replace("-","").replace("-","");
  305. var acptno = opener.model.getValue("ds_init_rptm_grid_ret[" + opener.dgrd_rpt.row + " - 1 ]_col10");
  306. ds_send_senddata.setColumn( 0, "insukind",insukind);
  307. ds_send_senddata.setColumn( 0, "ioflag",ioflag);
  308. ds_send_senddata.setColumn( 0, "clamym",clamym);
  309. ds_send_senddata.setColumn( 0, "clamflagcd",clamflagcd);
  310. ds_send_senddata.setColumn( 0, "clamdg",clamdg);
  311. ds_send_senddata.setColumn( 0, "ordym",ordym);
  312. ds_send_senddata.setColumn( 0, "sumtypecd",sumtypecd);
  313. ds_send_senddata.setColumn( 0, "clamno",clamno);
  314. ds_send_senddata.setColumn( 0, "acptdd",acptdd);
  315. ds_send_senddata.setColumn( 0, "acptno",acptno);
  316. var totalpage = opener.dgrd_rpt.textmatrix(opener.dgrd_rpt.row,opener.dgrd_rpt.colRef("col11")).replace(",","");
  317. }
  318. else if (rptmid=="RR01148")
  319. {
  320. var insukind = opener.model.getValue("ds_init_rptm_grid_ret[" + opener.dgrd_rpt.row + " - 1 ]_hid1");
  321. var ioflag = opener.model.getValue("ds_init_rptm_grid_ret[" + opener.dgrd_rpt.row + " - 1]_hid2");
  322. var clamym = opener.model.getValue("ds_init_rptm_grid_ret[" + opener.dgrd_rpt.row + " - 1]_col3").replace("/","");
  323. var clamflagcd = opener.model.getValue("ds_init_rptm_grid_ret[" + opener.dgrd_rpt.row + " - 1]_hid3");
  324. var clamdg = opener.model.getValue("ds_init_rptm_grid_ret[" + opener.dgrd_rpt.row + " - 1]_col5");
  325. var ordym = opener.model.getValue("ds_init_rptm_grid_ret[" + opener.dgrd_rpt.row + " - 1]_col6").replace("/","");
  326. var deptflag = opener.ds_send.getColumn(0, "in_cond5");
  327. var deptcd = opener.model.getValue("ds_init_rptm_grid_ret[" + opener.dgrd_rpt.row + " - 1 ]_hid4");
  328. // input box에 넘겨 받은 값을 입력한다.
  329. ds_send_senddata.setColumn( 0, "rptmid",rptmid);
  330. ds_send_senddata.setColumn( 0, "insukind",insukind);
  331. ds_send_senddata.setColumn( 0, "ioflag",ioflag);
  332. ds_send_senddata.setColumn( 0, "clamym",clamym);
  333. ds_send_senddata.setColumn( 0, "clamflagcd",clamflagcd);
  334. ds_send_senddata.setColumn( 0, "clamdg",clamdg);
  335. ds_send_senddata.setColumn( 0, "ordym",ordym);
  336. ds_send_senddata.setColumn( 0, "deptflag",deptflag);
  337. ds_send_senddata.setColumn( 0, "deptcd",deptcd);
  338. var totalpage = opener.dgrd_rpt.textmatrix(opener.dgrd_rpt.row,opener.dgrd_rpt.colRef("col8")).replace(",","");
  339. }
  340. else if (rptmid=="RR01149")
  341. {
  342. var prockindflag = opener.model.getValue("ds_init_rptm_grid_ret[" + opener.dgrd_rpt.row + " - 1 ]_hid1");
  343. var ioflag = opener.model.getValue("ds_init_rptm_grid_ret[" + opener.dgrd_rpt.row + " - 1]_hid2");
  344. var clamym = opener.model.getValue("ds_init_rptm_grid_ret[" + opener.dgrd_rpt.row + " - 1]_col3").replace("/","");
  345. var clamflagcd = opener.model.getValue("ds_init_rptm_grid_ret[" + opener.dgrd_rpt.row + " - 1]_hid3");
  346. var clamdg = opener.model.getValue("ds_init_rptm_grid_ret[" + opener.dgrd_rpt.row + " - 1]_col5");
  347. var ordym = opener.model.getValue("ds_init_rptm_grid_ret[" + opener.dgrd_rpt.row + " - 1]_col6").replace("/","");
  348. var citycd = opener.model.getValue("ds_init_rptm_grid_ret[" + opener.dgrd_rpt.row + " - 1 ]_hid4");
  349. var insuno = opener.model.getValue("ds_init_rptm_grid_ret[" + opener.dgrd_rpt.row + " - 1 ]_col8");
  350. var clamno = opener.model.getValue("ds_init_rptm_grid_ret[" + opener.dgrd_rpt.row + " - 1 ]_col10");
  351. var acptdd = opener.model.getValue("ds_init_rptm_grid_ret[" + opener.dgrd_rpt.row + " - 1 ]_col11").replace("-","").replace("-","");
  352. var acptno = opener.model.getValue("ds_init_rptm_grid_ret[" + opener.dgrd_rpt.row + " - 1 ]_col12");
  353. //조회기간
  354. var sumgb = opener.ds_send.getColumn(0, "in_sum");
  355. var sumfromdd = opener.ds_send.getColumn(0, "in_fromdd");
  356. var sumtodd = opener.ds_send.getColumn(0, "in_todd");
  357. var sumclamflagcd = opener.ds_send.getColumn(0, "in_cond2");
  358. var sumclamdg = opener.ds_send.getColumn(0, "in_cond7");
  359. var sumprockindflag = opener.ds_send.getColumn(0, "in_cond3");
  360. var sumioflag = opener.ds_send.getColumn(0, "in_cond4");
  361. if (insuno=="" && opener.ds_send.getColumn(0, "in_cond6") != "00") {
  362. insuno = opener.ds_send.getColumn(0, "in_cond6");
  363. }
  364. // input box에 넘겨 받은 값을 입력한다.
  365. ds_send_senddata.setColumn( 0, "rptmid",rptmid);
  366. ds_send_senddata.setColumn( 0, "prockindflag",prockindflag);
  367. ds_send_senddata.setColumn( 0, "ioflag",ioflag);
  368. ds_send_senddata.setColumn( 0, "clamym",clamym);
  369. ds_send_senddata.setColumn( 0, "clamflagcd",clamflagcd);
  370. ds_send_senddata.setColumn( 0, "clamdg",clamdg);
  371. ds_send_senddata.setColumn( 0, "ordym",ordym);
  372. ds_send_senddata.setColumn( 0, "citycd",citycd);
  373. ds_send_senddata.setColumn( 0, "insuno",insuno);
  374. ds_send_senddata.setColumn( 0, "clamno",clamno);
  375. ds_send_senddata.setColumn( 0, "acptdd",acptdd);
  376. ds_send_senddata.setColumn( 0, "acptno",acptno);
  377. ds_send_senddata.setColumn( 0, "sumfromdd",sumfromdd);
  378. ds_send_senddata.setColumn( 0, "sumtodd",sumtodd);
  379. ds_send_senddata.setColumn( 0, "sumgb",sumgb);
  380. ds_send_senddata.setColumn( 0, "sumclamflagcd",sumclamflagcd);
  381. ds_send_senddata.setColumn( 0, "sumclamdg",sumclamdg);
  382. ds_send_senddata.setColumn( 0, "sumprockindflag",sumprockindflag);
  383. ds_send_senddata.setColumn( 0, "sumioflag",sumioflag);
  384. var totalpage = opener.dgrd_rpt.textmatrix(opener.dgrd_rpt.row,opener.dgrd_rpt.colRef("col13")).replace(",","");
  385. }
  386. //page 설정
  387. ds_init_page.setColumn( 0, "totalpage",Math.ceil(totalpage_100));
  388. ds_init_page.setColumn( 0, "nowpage","1");
  389. //caption1.refresh();
  390. //caption2.refresh();
  391. // submit("TRSTC00600");
  392. var oParam = {};
  393. oParam.id = "TRSTC00600";
  394. oParam.service = "stscomapp.StsCom";
  395. oParam.method = "reqGetStsPtntList";
  396. oParam.inds = "req=ds_";
  397. oParam.outds = "ds_=ret";
  398. oParam.async = false;
  399. oParam.callback = "cf_TRSTC00600";
  400. tranf_submit(oParam);
  401. /*
  402. function cf_TRSTC00600(sSvcId, nErrorCode, sErrorMsg) {
  403. if(nErrorCode < 0) return;
  404. }
  405. function cf_TRSTC00600(sSvcId, nErrorCode, sErrorMsg) {
  406. arErrorCode.push(sSvcId, nErrorCode);
  407. }
  408. arErrorCode.pop("TRSTC00600") > -1
  409. arErrorCode.pop("TRSTC00600") < 0
  410. */
  411. showgriddata(1);
  412. }
  413. include '../../.._com_commonweb_js_common.js'
  414. include '../../.._com_commonweb_js_dateHelper.js'
  415. include '../../.._com_commonweb_js_numericHelper.js'
  416. include '../../.._com_commonweb_js_stringHelper.js'
  417. include '../../.._com_commonweb_js_tfHelper.js'
  418. include '../../.._com_basiccodeweb_js_ZBC001.js'
  419. function showgriddata(page){
  420. var nodeList = instance1.selectNodes("ds_main_list_gridlist");
  421. model.destroy("ds_main_list2");
  422. var firstrow = (page-1)*100+1;
  423. var lastrow = page*100;
  424. datagrid1.nodeset="ds_main_list_gridlist[position() >= " + firstrow + " and position() <= " + parseInt(lastrow) + "]";
  425. //datagrid1.refresh();
  426. }
  427. function btn_nextpage_onclick(obj:Button, e:ClickEventInfo) {
  428. var totalpage = ds_init_page.getColumn(0, "totalpage");
  429. var nowpage = ds_init_page.getColumn(0, "nowpage");
  430. if (Number(nowpage) < Number(totalpage)) {
  431. var nextpage = Number(nowpage) + 1;
  432. //page 설정
  433. ds_init_page.setColumn( 0, "nowpage",nextpage);
  434. //caption1.refresh();
  435. showgriddata(nextpage);
  436. }
  437. }
  438. function button1_onclick(obj:Button, e:ClickEventInfo) {
  439. var totalpage = ds_init_page.getColumn(0, "totalpage");
  440. var nowpage = ds_init_page.getColumn(0, "nowpage");
  441. if (Number(nowpage) > 1) {
  442. var nextpage = Number(nowpage) - 1;
  443. //page 설정
  444. ds_init_page.setColumn( 0, "nowpage",nextpage);
  445. //caption1.refresh();
  446. showgriddata(nextpage);
  447. }
  448. }
  449. ]]></Script>
  450. </Form>
  451. </FDL>