SMSTP00900_수익일보상호검증.xfdl 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMSTP00900" position="absolute 0 0 1203 778" titletext="Untitle" oninit="SMSTP00900_oninit" onload="SMSTP00900_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 24 1195 64" id="group4" class="div_SA" anchor="left top right">
  8. <Layouts>
  9. <Layout>
  10. <Button position="absolute 977 10 1033 32" id="btn_search" class="btn1" text="조회" anchor="top right" onclick="group4_btn_search_onclick"/>
  11. <Calendar position="absolute 329 11 427 30" id="ipt_fromdd" class="input_default" taborder="7" visible="true" anchor="default" autoselect="true" autoskip="true"/>
  12. <Calendar position="absolute 442 11 540 30" id="ipt_todd" class="input_default" taborder="7" anchor="default" autoselect="true"/>
  13. <Button position="absolute 1045 10 1125 32" id="btn_excel" class="btn7" visible="true" text="EXCEL" anchor="top right" onclick="group4_btn_excel_onclick"/>
  14. <Combo position="absolute 104 10 219 29" id="cmb_ordflag" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default" onitemchanged="group4_cmb_ordflag_onitemchanged">
  15. <Dataset id="innerdataset">
  16. <ColumnInfo>
  17. <Column id="codecolumn"/>
  18. <Column id="datacolumn"/>
  19. </ColumnInfo>
  20. <Rows>
  21. <Row>
  22. <Col id="codecolumn">I</Col>
  23. <Col id="datacolumn">입원</Col>
  24. </Row>
  25. <Row>
  26. <Col id="codecolumn">O</Col>
  27. <Col id="datacolumn">외래</Col>
  28. </Row>
  29. </Rows>
  30. </Dataset>
  31. </Combo>
  32. <Static text="진료구분" position="absolute 15 11 113 28" id="caption6" class="search_name" anchor="default"/>
  33. <Static text="~" position="absolute 429 11 444 31" id="caption1" visible="true" anchor="default"/>
  34. <Static text="조회기간" position="absolute 253 12 327 29" id="caption2" class="search_name" anchor="default"/>
  35. <Shape position="absolute 1035 9 1041 33" linetype="vertical" id="line2" class="line_4" anchor="top right"/>
  36. <Button position="absolute 1128 10 1184 32" id="button1" class="btn6" text="출력" anchor="top right" onclick="group4_button1_onclick"/>
  37. </Layout>
  38. </Layouts>
  39. </Div>
  40. <Static text="수익일보상호검증" position="absolute 0 74 181 95" id="caption3" class="tit_2"/>
  41. <Shape position="absolute 0 90 1195 96" linetype="horizontal" id="line1" class="line_10" anchor="left top right"/>
  42. <Grid position="absolute 0 95 1195 749" id="grd_statinlist" class="datagrid2" binddataset="ds_main_statininfo_ret" autoenter="select" anchor="all" cellsizingtype="col">
  43. <Formats>
  44. <Format id="default">
  45. <Columns>
  46. <Column size="160"/>
  47. <Column size="110"/>
  48. <Column size="110"/>
  49. <Column size="110"/>
  50. <Column size="110"/>
  51. <Column size="110"/>
  52. <Column size="110"/>
  53. <Column size="110"/>
  54. <Column size="110"/>
  55. <Column size="110"/>
  56. <Column size="110"/>
  57. <Column size="110"/>
  58. <Column size="110"/>
  59. <Column size="110"/>
  60. <Column size="110"/>
  61. <Column size="110"/>
  62. <Column size="110"/>
  63. <Column size="110"/>
  64. <Column size="110"/>
  65. <Column size="110"/>
  66. <Column size="110"/>
  67. <Column size="110"/>
  68. <Column size="110"/>
  69. <Column size="110"/>
  70. <Column size="110"/>
  71. </Columns>
  72. <Rows>
  73. <Row size="32" band="head"/>
  74. <Row size="24"/>
  75. </Rows>
  76. <Band id="head">
  77. <Cell/>
  78. <Cell col="1" style="align:center middle;" text="장표" wordwrap="word"/>
  79. <Cell col="2" style="align:center middle;" text="장표" wordwrap="word"/>
  80. <Cell col="3" style="align:center middle;" text="장표" wordwrap="word"/>
  81. <Cell col="4" style="align:center middle;" text="장표" wordwrap="word"/>
  82. <Cell col="5" style="align:center middle;" text="장표" wordwrap="word"/>
  83. <Cell col="6" style="align:center middle;" text="장표" wordwrap="word"/>
  84. <Cell col="7" style="align:center middle;" text="장표" wordwrap="word"/>
  85. <Cell col="8" style="align:center middle;" text="장표" wordwrap="word"/>
  86. <Cell col="9" style="align:center middle;" text="장표" wordwrap="word"/>
  87. <Cell col="10" style="align:center middle;" text="장표" wordwrap="word"/>
  88. <Cell col="11" style="align:center middle;" text="장표" wordwrap="word"/>
  89. <Cell col="12" style="align:center middle;" text="장표" wordwrap="word"/>
  90. <Cell col="13" style="align:center middle;" text="장표" wordwrap="word"/>
  91. <Cell col="14" style="align:center middle;" text="장표" wordwrap="word"/>
  92. <Cell col="15" style="align:center middle;" text="장표" wordwrap="word"/>
  93. <Cell col="16" style="align:center middle;" text="장표" wordwrap="word"/>
  94. <Cell col="17" style="align:center middle;" text="장표" wordwrap="word"/>
  95. <Cell col="18" style="align:center middle;" text="장표" wordwrap="word"/>
  96. <Cell col="19" style="align:center middle;" text="장표" wordwrap="word"/>
  97. <Cell col="20" style="align:center middle;" text="장표" wordwrap="word"/>
  98. <Cell col="21" style="align:center middle;" text="장표" wordwrap="word"/>
  99. <Cell col="22" style="align:center middle;" text="장표" wordwrap="word"/>
  100. <Cell col="23" style="align:center middle;" text="장표" wordwrap="word"/>
  101. <Cell col="24" style="align:center middle;" text="장표" wordwrap="word"/>
  102. </Band>
  103. <Band id="body">
  104. <Cell style="align:left middle;padding:2 2 2 2;background:EXPR(errflag == 'Y' ? '#ff0000' : '');background2:EXPR(errflag == 'Y' ? '#ff0000' : '');font:EXPR(errflag == 'Y' ? '#ffffff' : '');" text="bind:col1"/>
  105. <Cell col="1" style="background:EXPR(errflag == 'Y' ? '#ff0000' : '');background2:EXPR(errflag == 'Y' ? '#ff0000' : '');font:EXPR(errflag == 'Y' ? '#ffffff' : '');" text="bind:col2"/>
  106. <Cell col="2" style="background:EXPR(errflag == 'Y' ? '#ff0000' : '');background2:EXPR(errflag == 'Y' ? '#ff0000' : '');font:EXPR(errflag == 'Y' ? '#ffffff' : '');" text="bind:col3"/>
  107. <Cell col="3" style="background:EXPR(errflag == 'Y' ? '#ff0000' : '');background2:EXPR(errflag == 'Y' ? '#ff0000' : '');font:EXPR(errflag == 'Y' ? '#ffffff' : '');" text="bind:col4"/>
  108. <Cell col="4" style="background:EXPR(errflag == 'Y' ? '#ff0000' : '');background2:EXPR(errflag == 'Y' ? '#ff0000' : '');font:EXPR(errflag == 'Y' ? '#ffffff' : '');" text="bind:col5"/>
  109. <Cell col="5" style="background:EXPR(errflag == 'Y' ? '#ff0000' : '');background2:EXPR(errflag == 'Y' ? '#ff0000' : '');font:EXPR(errflag == 'Y' ? '#ffffff' : '');" text="bind:col6"/>
  110. <Cell col="6" style="background:EXPR(errflag == 'Y' ? '#ff0000' : '');background2:EXPR(errflag == 'Y' ? '#ff0000' : '');font:EXPR(errflag == 'Y' ? '#ffffff' : '');" text="bind:col7"/>
  111. <Cell col="7" style="background:EXPR(errflag == 'Y' ? '#ff0000' : '');background2:EXPR(errflag == 'Y' ? '#ff0000' : '');font:EXPR(errflag == 'Y' ? '#ffffff' : '');" text="bind:col8"/>
  112. <Cell col="8" style="background:EXPR(errflag == 'Y' ? '#ff0000' : '');background2:EXPR(errflag == 'Y' ? '#ff0000' : '');font:EXPR(errflag == 'Y' ? '#ffffff' : '');" text="bind:col9"/>
  113. <Cell col="9" style="background:EXPR(errflag == 'Y' ? '#ff0000' : '');background2:EXPR(errflag == 'Y' ? '#ff0000' : '');font:EXPR(errflag == 'Y' ? '#ffffff' : '');" text="bind:col10"/>
  114. <Cell col="10" style="background:EXPR(errflag == 'Y' ? '#ff0000' : '');background2:EXPR(errflag == 'Y' ? '#ff0000' : '');font:EXPR(errflag == 'Y' ? '#ffffff' : '');" text="bind:col11"/>
  115. <Cell col="11" style="background:EXPR(errflag == 'Y' ? '#ff0000' : '');background2:EXPR(errflag == 'Y' ? '#ff0000' : '');font:EXPR(errflag == 'Y' ? '#ffffff' : '');" text="bind:col12"/>
  116. <Cell col="12" style="background:EXPR(errflag == 'Y' ? '#ff0000' : '');background2:EXPR(errflag == 'Y' ? '#ff0000' : '');font:EXPR(errflag == 'Y' ? '#ffffff' : '');" text="bind:col13"/>
  117. <Cell col="13" style="background:EXPR(errflag == 'Y' ? '#ff0000' : '');background2:EXPR(errflag == 'Y' ? '#ff0000' : '');font:EXPR(errflag == 'Y' ? '#ffffff' : '');" text="bind:col14"/>
  118. <Cell col="14" style="background:EXPR(errflag == 'Y' ? '#ff0000' : '');background2:EXPR(errflag == 'Y' ? '#ff0000' : '');font:EXPR(errflag == 'Y' ? '#ffffff' : '');" text="bind:col15"/>
  119. <Cell col="15" style="background:EXPR(errflag == 'Y' ? '#ff0000' : '');background2:EXPR(errflag == 'Y' ? '#ff0000' : '');font:EXPR(errflag == 'Y' ? '#ffffff' : '');" text="bind:col16"/>
  120. <Cell col="16" style="background:EXPR(errflag == 'Y' ? '#ff0000' : '');background2:EXPR(errflag == 'Y' ? '#ff0000' : '');font:EXPR(errflag == 'Y' ? '#ffffff' : '');" text="bind:col17"/>
  121. <Cell col="17" style="background:EXPR(errflag == 'Y' ? '#ff0000' : '');background2:EXPR(errflag == 'Y' ? '#ff0000' : '');font:EXPR(errflag == 'Y' ? '#ffffff' : '');" text="bind:col18"/>
  122. <Cell col="18" style="background:EXPR(errflag == 'Y' ? '#ff0000' : '');background2:EXPR(errflag == 'Y' ? '#ff0000' : '');font:EXPR(errflag == 'Y' ? '#ffffff' : '');" text="bind:col19"/>
  123. <Cell col="19" style="background:EXPR(errflag == 'Y' ? '#ff0000' : '');background2:EXPR(errflag == 'Y' ? '#ff0000' : '');font:EXPR(errflag == 'Y' ? '#ffffff' : '');" text="bind:col20"/>
  124. <Cell col="20" style="background:EXPR(errflag == 'Y' ? '#ff0000' : '');background2:EXPR(errflag == 'Y' ? '#ff0000' : '');font:EXPR(errflag == 'Y' ? '#ffffff' : '');" text="bind:col21"/>
  125. <Cell col="21" style="background:EXPR(errflag == 'Y' ? '#ff0000' : '');background2:EXPR(errflag == 'Y' ? '#ff0000' : '');font:EXPR(errflag == 'Y' ? '#ffffff' : '');" text="bind:col22"/>
  126. <Cell col="22" style="background:EXPR(errflag == 'Y' ? '#ff0000' : '');background2:EXPR(errflag == 'Y' ? '#ff0000' : '');font:EXPR(errflag == 'Y' ? '#ffffff' : '');" text="bind:col23"/>
  127. <Cell col="23" style="background:EXPR(errflag == 'Y' ? '#ff0000' : '');background2:EXPR(errflag == 'Y' ? '#ff0000' : '');font:EXPR(errflag == 'Y' ? '#ffffff' : '');" text="bind:col24"/>
  128. <Cell col="24" style="background:EXPR(errflag == 'Y' ? '#ff0000' : '');background2:EXPR(errflag == 'Y' ? '#ff0000' : '');font:EXPR(errflag == 'Y' ? '#ffffff' : '');" text="bind:col25"/>
  129. </Band>
  130. </Format>
  131. </Formats>
  132. </Grid>
  133. <Static text="※ 전년대비의료수익현황, 예산대비의료수익현황은 매월 1일부터 말일까지 조회해야 상호검증이 가능합니다." position="absolute 5 751 1000 771" id="caption4" anchor="left bottom" style="font:Dotum,9,bold;"/>
  134. <Static id="caption60" text="통계조회" class="tit_1" position="absolute 0 0 183 24"/>
  135. </Layout>
  136. </Layouts>
  137. <Objects>
  138. <Dataset id="ds_main_baseinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  139. <ColumnInfo>
  140. <Column id="docuflag" type="STRING" size="256"/>
  141. <Column id="ordflag" type="STRING" size="256"/>
  142. </ColumnInfo>
  143. <Rows>
  144. <Row>
  145. <Col id="docuflag">1</Col>
  146. <Col id="ordflag">I</Col>
  147. </Row>
  148. </Rows>
  149. </Dataset>
  150. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  151. <ColumnInfo>
  152. <Column id="fromdd" type="STRING" size="256"/>
  153. <Column id="todd" type="STRING" size="256"/>
  154. <Column id="ordflag" type="STRING" size="256"/>
  155. </ColumnInfo>
  156. <Rows>
  157. <Row>
  158. <Col id="fromdd"/>
  159. <Col id="todd"/>
  160. <Col id="ordflag"/>
  161. </Row>
  162. </Rows>
  163. </Dataset>
  164. <Dataset id="ds_main_statininfo_ret" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  165. <ColumnInfo>
  166. <Column id="col1" type="STRING" size="256" sumtext=""/>
  167. <Column id="col2" type="STRING" size="256" sumtext=""/>
  168. <Column id="col3" type="STRING" size="256" sumtext=""/>
  169. <Column id="col4" type="STRING" size="256" sumtext=""/>
  170. <Column id="col5" type="STRING" size="256" sumtext=""/>
  171. <Column id="col6" type="STRING" size="256" sumtext=""/>
  172. <Column id="col7" type="STRING" size="256" sumtext=""/>
  173. <Column id="col8" type="STRING" size="256" sumtext=""/>
  174. <Column id="col9" type="STRING" size="256" sumtext=""/>
  175. <Column id="col10" type="STRING" size="256" sumtext=""/>
  176. <Column id="col11" type="STRING" size="256" sumtext=""/>
  177. <Column id="col12" type="STRING" size="256" sumtext=""/>
  178. <Column id="col13" type="STRING" size="256" sumtext=""/>
  179. <Column id="col14" type="STRING" size="256" sumtext=""/>
  180. <Column id="col15" type="STRING" size="256" sumtext=""/>
  181. <Column id="col16" type="STRING" size="256" sumtext=""/>
  182. <Column id="col17" type="STRING" size="256" sumtext=""/>
  183. <Column id="col18" type="STRING" size="256" sumtext=""/>
  184. <Column id="col19" type="STRING" size="256" sumtext=""/>
  185. <Column id="col20" type="STRING" size="256" sumtext=""/>
  186. <Column id="col21" type="STRING" size="256" sumtext=""/>
  187. <Column id="col22" type="STRING" size="256" sumtext=""/>
  188. <Column id="col23" type="STRING" size="256" sumtext=""/>
  189. <Column id="col24" type="STRING" size="256" sumtext=""/>
  190. <Column id="col25" type="STRING" size="256" sumtext=""/>
  191. <Column id="errflag" type="STRING" size="256" sumtext=""/>
  192. </ColumnInfo>
  193. </Dataset>
  194. <Dataset id="ds_init_grdform_grdform" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  195. <Dataset id="ds_hidden_session" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  196. <ColumnInfo>
  197. <Column id="userid" type="STRING" size="256"/>
  198. <Column id="usernm" type="STRING" size="256"/>
  199. <Column id="posinstcd" type="STRING" size="256"/>
  200. <Column id="posinstnm" type="STRING" size="256"/>
  201. <Column id="dutplcecd" type="STRING" size="256"/>
  202. <Column id="dutplcenm" type="STRING" size="256"/>
  203. <Column id="dutinstnm" type="STRING" size="256"/>
  204. </ColumnInfo>
  205. <Rows>
  206. <Row>
  207. <Col id="userid"/>
  208. <Col id="usernm"/>
  209. <Col id="posinstcd"/>
  210. <Col id="posinstnm"/>
  211. <Col id="dutplcecd"/>
  212. <Col id="dutplcenm"/>
  213. <Col id="dutinstnm"/>
  214. </Row>
  215. </Rows>
  216. </Dataset>
  217. </Objects>
  218. <Bind>
  219. <BindItem id="item0" compid="group4.cmb_ordflag" propid="value" datasetid="ds_main_baseinfo" columnid="ordflag"/>
  220. <BindItem id="item1" compid="group4.ipt_fromdd" propid="value" datasetid="ds_send" columnid="fromdd"/>
  221. <BindItem id="item2" compid="group4.ipt_todd" propid="value" datasetid="ds_send" columnid="todd"/>
  222. </Bind>
  223. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  224. * System Name :
  225. * Job Name :
  226. * Creator :
  227. * Make Date : 2016-05-24
  228. * Description :
  229. *---------------------------------------------------------------------------------------
  230. * Modify Date Modifier Modify Description
  231. *---------------------------------------------------------------------------------------
  232. * 2016-05-24 Live Converter TF->XP
  233. *
  234. *---------------------------------------------------------------------------------------
  235. ****************************************************************************************/
  236. include "com_commonxp::comm_main.xjs";
  237. var arErrorCode = new HashArray();
  238. function SMSTP00900_oninit(obj:Form, e:InitEventInfo)
  239. {
  240. frmf_initForm(obj);
  241. }
  242. function SMSTP00900_onload(obj:Form, e:LoadEventInfo)
  243. {
  244. grdf_initGrid(grd_statinlist);
  245. ds_send.setColumn(0, "ordflag", ds_main_baseinfo.getColumn(0, "ordflag"));
  246. var oParam = {};
  247. oParam.id = "TRSTP00102";
  248. oParam.service = "stspamapp.StsPam";
  249. oParam.method = "reqGetGridData";
  250. oParam.inds = "req=ds_send";
  251. oParam.outds = "ds_init_grdform_grdform=grdform";
  252. oParam.async = false;
  253. oParam.callback = "cf_TRSTP00102";
  254. tranf_submit(oParam);
  255. if(arErrorCode.pop("TRSTP00102") > -1)
  256. {
  257. var grdTitle = ds_init_grdform_grdform.getColumn(0, "grdtitle");
  258. grdTitle = grdTitle.split("^")
  259. for(var i = 0; i < grdTitle.length; i++)
  260. {
  261. grd_statinlist.setCellProperty("Head", i, "text", grdTitle[i]);
  262. }
  263. var colCount = ds_init_grdform_grdform.getColumn(0, "colcount");
  264. for(var j = grd_statinlist.getFormatColCount()-1; j >= colCount; j--)
  265. {
  266. grd_statinlist.setFormatColProperty(j,"size",0);
  267. }
  268. }
  269. fGetUserInfo2();
  270. // 날짜전날로 Default로 넣어주기
  271. var currentDate = utlf_getCurrentDate();
  272. var date = currentDate.toDate("YYYYMMDD");
  273. date.getAddDate(-1, "D");
  274. var prvDate = date.getDateFormat();
  275. group4.ipt_fromdd.value = prvDate;
  276. group4.ipt_todd.value = prvDate;
  277. }
  278. function cf_TRSTP00102(sSvcId, nErrorCode, sErrorMsg) {
  279. arErrorCode.push(sSvcId, nErrorCode);
  280. }
  281. //로그인한 사용자 정보조회
  282. function fGetUserInfo2()
  283. {
  284. var sUserInfosS = sysf_getUserInfos();
  285. sUserInfosS = sUserInfosS + "|";
  286. var UserInfosS_Array = sUserInfosS.split("|");
  287. var userid = UserInfosS_Array[0]; //사용자번호
  288. var usernm = UserInfosS_Array[1]; //사용자이름
  289. var posinstcd = UserInfosS_Array[2]; //소속기관코드
  290. var posinstnm = UserInfosS_Array[3]; //소속기관명
  291. var dutplcecd = UserInfosS_Array[4]; //근무지부서코드
  292. var dutplcenm = UserInfosS_Array[5]; //근무지부서명
  293. var dutinstnm = UserInfosS_Array[7]; //근무지기관명
  294. ds_hidden_session.setColumn(0, "userid",userid);
  295. ds_hidden_session.setColumn(0, "usernm",usernm);
  296. ds_hidden_session.setColumn(0, "posinstcd",posinstcd);
  297. ds_hidden_session.setColumn(0, "posinstnm",posinstnm);
  298. ds_hidden_session.setColumn(0, "dutplcecd",dutplcecd);
  299. ds_hidden_session.setColumn(0, "dutplcenm",dutplcenm);
  300. ds_hidden_session.setColumn(0, "dutinstnm",dutinstnm);
  301. }
  302. function group4_cmb_ordflag_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  303. {
  304. ds_send.setColumn(0, "ordflag", obj.value);
  305. var oParam = {};
  306. oParam.id = "TRSTP00102";
  307. oParam.service = "stspamapp.StsPam";
  308. oParam.method = "reqGetGridData";
  309. oParam.inds = "req=ds_send";
  310. oParam.outds = "ds_init_grdform_grdform=grdform";
  311. oParam.async = false;
  312. oParam.callback = "cf_TRSTP00102";
  313. tranf_submit(oParam);
  314. if(arErrorCode.pop("TRSTP00102") > -1)
  315. {
  316. var grdTitle = ds_init_grdform_grdform.getColumn(0, "grdtitle");
  317. grdTitle = grdTitle.split("^")
  318. for(var i = 0; i < grdTitle.length; i++)
  319. {
  320. grd_statinlist.setCellProperty("Head", i, "text", grdTitle[i]);
  321. }
  322. for(var i = 1; i < grd_statinlist.getFormatColCount(); i++)
  323. {
  324. grd_statinlist.setFormatColProperty(i,"size", 110);
  325. }
  326. var colCount = ds_init_grdform_grdform.getColumn(0, "colcount");
  327. for(var j = grd_statinlist.getFormatColCount()-1; j >= colCount; j--)
  328. {
  329. grd_statinlist.setFormatColProperty(j,"size",0);
  330. }
  331. }
  332. ds_main_statininfo_ret.clearData();
  333. }
  334. function group4_btn_search_onclick(obj:Button, e:ClickEventInfo)
  335. {
  336. var fromdd = ds_send.getColumn(0, "fromdd");
  337. var todd = ds_send.getColumn(0, "todd");
  338. ds_send.setColumn(0, "ordflag",ds_main_baseinfo.getColumn(0, "ordflag"));
  339. var ordflag = ds_main_baseinfo.getColumn(0, "ordflag");
  340. var oParam = {};
  341. oParam.id = "TRSTP00101";
  342. oParam.service = "stspamapp.StsPam";
  343. oParam.method = "reqGetStatInList";
  344. oParam.inds = "req=ds_send";
  345. oParam.outds = "ds_main_statininfo_ret=getStatInList";
  346. oParam.async = false;
  347. //oParam.callback = "cf_TRSTP00101";
  348. tranf_submit(oParam);
  349. }
  350. function group4_btn_excel_onclick(obj:Button, e:ClickEventInfo)
  351. {
  352. var fromdd = ds_send.getColumn(0, "fromdd");
  353. var todd = ds_send.getColumn(0, "todd");
  354. //엑셀저장 여부(타이틀별)
  355. grdf_exportExcel(grd_statinlist, "수익일보상호검증("+fromdd+"~"+todd+")", "수익일보상호검증("+fromdd+"~"+todd+")", "true", "", "");
  356. }
  357. function group4_button1_onclick(obj:Button, e:ClickEventInfo)
  358. {
  359. // 입원, 외래를 구분하여 출력
  360. var temp = ds_main_baseinfo.getColumn(0, "ordflag");
  361. if(temp == "O")
  362. {
  363. var objDOM = rptf_createDOM();
  364. rptf_setNodeListToDOM(objDOM, "/root/send", ds_send);
  365. rptf_setNodeListToDOM(objDOM, "/root/hidden/session", ds_hidden_session);
  366. rptf_setNodeListToDOM(objDOM, "/root/main/statininfo/ret", ds_main_statininfo_ret);
  367. var objParam = new Object();
  368. objParam.xml_data_XML1 = objDOM.documentElement.source;
  369. var option = null;
  370. rptf_exeReportPreview30(["RPSTP00901"],[objParam], option);
  371. }
  372. else
  373. {
  374. var objDOM = rptf_createDOM();
  375. rptf_setNodeListToDOM(objDOM, "/root/send", ds_send);
  376. rptf_setNodeListToDOM(objDOM, "/root/hidden/session", ds_hidden_session);
  377. rptf_setNodeListToDOM(objDOM, "/root/main/statininfo/ret", ds_main_statininfo_ret);
  378. var objParam = new Object();
  379. objParam.xml_data_XML1 = objDOM.documentElement.source;
  380. var option = null;
  381. rptf_exeReportPreview30(["RPSTP00902"],[objParam], option);
  382. }
  383. }
  384. ]]></Script>
  385. </Form>
  386. </FDL>