SMPIF30140_자격보류관리.xfdl 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMPIF30140" position="absolute 0 0 1213 703" titletext="자격보류내역" oninit="SMPIF30140_oninit" onload="SMPIF30140_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 0 1194 669" id="group3" scrollbars="autoboth">
  8. <Layouts>
  9. <Layout>
  10. <Static text="자격보류내역" position="absolute 1 10 119 32" id="caption1" class="tit_2"/>
  11. <Shape position="absolute 0 26 1194 32" linetype="horizontal" id="line1" class="line_1" style="strokepen:3 solid #33bbbbff;"/>
  12. <Grid position="absolute 0 31 1194 663" id="grd_qualrete" class="datagrid2" binddataset="ds_main_list00_gridqualrete00" cellsizingtype="col" cellclickbound="cell">
  13. <Formats>
  14. <Format id="default">
  15. <Columns>
  16. <Column size="0"/>
  17. <Column size="0"/>
  18. <Column size="0"/>
  19. <Column size="0"/>
  20. <Column size="0"/>
  21. <Column size="0"/>
  22. <Column size="0"/>
  23. <Column size="39"/>
  24. <Column size="40"/>
  25. <Column size="60"/>
  26. <Column size="50"/>
  27. <Column size="60"/>
  28. <Column size="60"/>
  29. <Column size="100"/>
  30. <Column size="70"/>
  31. <Column size="50"/>
  32. <Column size="80"/>
  33. <Column size="80"/>
  34. <Column size="80"/>
  35. <Column size="80"/>
  36. <Column size="80"/>
  37. <Column size="80"/>
  38. <Column size="80"/>
  39. <Column size="80"/>
  40. <Column size="80"/>
  41. <Column size="80"/>
  42. <Column size="80"/>
  43. <Column size="120"/>
  44. <Column size="60"/>
  45. <Column size="80"/>
  46. <Column size="70"/>
  47. <Column size="120"/>
  48. <Column size="80"/>
  49. <Column size="80"/>
  50. <Column size="130"/>
  51. <Column size="100"/>
  52. <Column size="55"/>
  53. <Column size="0"/>
  54. <Column size="0"/>
  55. <Column size="0"/>
  56. </Columns>
  57. <Rows>
  58. <Row size="36" band="head"/>
  59. <Row size="24"/>
  60. </Rows>
  61. <Band id="head">
  62. <Cell text="청구월"/>
  63. <Cell col="1" text="미수일련번호"/>
  64. <Cell col="2" text="기관기호"/>
  65. <Cell col="3" text="심사차수"/>
  66. <Cell col="4" text="접수번호"/>
  67. <Cell col="5" text="청구번호"/>
  68. <Cell col="6" text="기존자격반송상태"/>
  69. <Cell col="7" text="No"/>
  70. <Cell col="8" text="입금&#10;여부"/>
  71. <Cell col="9" text="자격반송&#10;여부"/>
  72. <Cell col="10" text="명일련"/>
  73. <Cell col="11" text="보류번호"/>
  74. <Cell col="12" text="보류사유"/>
  75. <Cell col="13" text="보류사유설명"/>
  76. <Cell col="14" text="등록번호"/>
  77. <Cell col="15" text="수진자"/>
  78. <Cell col="16" text="총진료비"/>
  79. <Cell col="17" text="청구액"/>
  80. <Cell col="18" text="장애인기금"/>
  81. <Cell col="19" text="대불금"/>
  82. <Cell col="20" text="심결액"/>
  83. <Cell col="21" text="심결장애인&#10;기금"/>
  84. <Cell col="22" text="심결대불금"/>
  85. <Cell col="23" text="기관삭감액"/>
  86. <Cell col="24" text="장애인전환금"/>
  87. <Cell col="25" text="입금액"/>
  88. <Cell col="26" text="입금기관기호"/>
  89. <Cell col="27" text="입금기관명"/>
  90. <Cell col="28" text="보험유형"/>
  91. <Cell col="29" text="의료급여&#10;종별구분"/>
  92. <Cell col="30" text="기관기호"/>
  93. <Cell col="31" text="기관명"/>
  94. <Cell col="32" text="변경보험유형"/>
  95. <Cell col="33" text="변경기관기호"/>
  96. <Cell col="34" text="변경기관명"/>
  97. <Cell col="35" text="변경증번호"/>
  98. <Cell col="36" text="심사자"/>
  99. <Cell col="37" text="재원&#10;심사자"/>
  100. <Cell col="38" text="상태"/>
  101. <Cell col="39"/>
  102. </Band>
  103. <Band id="body">
  104. <Cell text="bind:clamym"/>
  105. <Cell col="1" text="bind:decoseq"/>
  106. <Cell col="2" text="bind:instcd"/>
  107. <Cell col="3" text="bind:judgdg"/>
  108. <Cell col="4" text="bind:acptno"/>
  109. <Cell col="5" text="bind:clamno"/>
  110. <Cell col="6" text="bind:firqualsendflag"/>
  111. <Cell col="7" text="bind:reteseqno"/>
  112. <Cell col="8" text="bind:depoyn"/>
  113. <Cell col="9" displaytype="checkbox" edittype="checkbox" text="bind:qualsendflag" expr="qualsendflag == 'Y' || qualsendflag == '1' ? 1 : 0"/>
  114. <Cell col="10" text="bind:docuseqno"/>
  115. <Cell col="11" displaytype="text" edittype="text" text="bind:reteno"/>
  116. <Cell col="12" displaytype="text" edittype="text" text="bind:reteresn"/>
  117. <Cell col="13" text="bind:reteresnrem"/>
  118. <Cell col="14" text="bind:pid"/>
  119. <Cell col="15" text="bind:patnm"/>
  120. <Cell col="16" displaytype="number" text="bind:clmcstotamt"/>
  121. <Cell col="17" displaytype="number" text="bind:clclamamt"/>
  122. <Cell col="18" displaytype="number" text="bind:clhandicaprfund"/>
  123. <Cell col="19" displaytype="number" text="bind:clsubtamt"/>
  124. <Cell col="20" displaytype="number" text="bind:jrjudgdeciamt"/>
  125. <Cell col="21" displaytype="number" text="bind:jrhandicaprfund"/>
  126. <Cell col="22" displaytype="number" text="bind:jrsubtamt"/>
  127. <Cell col="23" displaytype="number" text="bind:instreductamt"/>
  128. <Cell col="24" displaytype="number" text="bind:handicapcvrtamt"/>
  129. <Cell col="25" displaytype="number" text="bind:depoamt"/>
  130. <Cell col="26" text="bind:depoprocinstmark"/>
  131. <Cell col="27" text="bind:depoprocinstmarknm"/>
  132. <Cell col="28" text="bind:insukind"/>
  133. <Cell col="29" text="bind:medcarekindflag"/>
  134. <Cell col="30" text="bind:procinstmark"/>
  135. <Cell col="31" text="bind:procinstmarknm"/>
  136. <Cell col="32" displaytype="text" edittype="text" text="bind:updtinsukind"/>
  137. <Cell col="33" displaytype="text" edittype="text" text="bind:updtprocinstmark"/>
  138. <Cell col="34" displaytype="text" edittype="text" text="bind:updtprocinstmarknm"/>
  139. <Cell col="35" displaytype="text" edittype="text" text="bind:updtcertno"/>
  140. <Cell col="36" text="bind:judgrid"/>
  141. <Cell col="37" text="bind:clamdg"/>
  142. <Cell col="38" text="bind:pidsn"/>
  143. <Cell col="39" text="bind:seq"/>
  144. </Band>
  145. </Format>
  146. </Formats>
  147. </Grid>
  148. <Button position="absolute 1112 7 1194 26" id="button12" class="btn7" text="엑셀저장" onclick="group3_button12_onclick"/>
  149. <Button position="absolute 1047 7 1111 26" id="btn_listselect" class="btn2" text="전체선택" onclick="group3_btn_listselect_onclick"/>
  150. </Layout>
  151. </Layouts>
  152. </Div>
  153. <Div position="absolute 2 659 1196 692" id="group2" scrollbars="autoboth">
  154. <Layouts>
  155. <Layout>
  156. <Button position="absolute 0 5 56 27" id="button93" class="btn6" text="출력" anchor="default" enable="false" onclick="group2_button93_onclick"/>
  157. <Button position="absolute 1136 5 1192 27" id="button3" class="btn4" text="닫기" anchor="default" onclick="group2_button3_onclick"/>
  158. <Button position="absolute 1078 5 1134 27" id="button42" class="btn4" text="저장" anchor="default" onclick="group2_button42_onclick"/>
  159. </Layout>
  160. </Layouts>
  161. </Div>
  162. </Layout>
  163. </Layouts>
  164. <Objects>
  165. <Dataset id="ds_send_sendlnk" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  166. <Dataset id="ds_send_sendlist00" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  167. <ColumnInfo>
  168. <Column id="clamno" type="STRING" size="256"/>
  169. <Column id="acptno" type="STRING" size="256"/>
  170. <Column id="judgdg" type="STRING" size="256"/>
  171. <Column id="instcd" type="STRING" size="256"/>
  172. <Column id="cpcd" type="STRING" size="256"/>
  173. <Column id="assocd" type="STRING" size="256"/>
  174. </ColumnInfo>
  175. <Rows>
  176. <Row/>
  177. </Rows>
  178. </Dataset>
  179. <Dataset id="ds_main_list00_gridqualrete00" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_list00_gridqualrete00_oncolumnchanged">
  180. <ColumnInfo>
  181. <Column id="clamym" type="STRING" size="256" sumtext="청구월"/>
  182. <Column id="decoseq" type="STRING" size="256" sumtext="미수일련번호"/>
  183. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  184. <Column id="judgdg" type="STRING" size="256" sumtext="심사차수"/>
  185. <Column id="acptno" type="STRING" size="256" sumtext="접수번호"/>
  186. <Column id="clamno" type="STRING" size="256" sumtext="청구번호"/>
  187. <Column id="firqualsendflag" type="STRING" size="256" sumtext="기존자격반송상태"/>
  188. <Column id="reteseqno" type="STRING" size="256" sumtext="순번"/>
  189. <Column id="depoyn" type="STRING" size="256" sumtext="입금엽 "/>
  190. <Column id="qualsendflag" type="STRING" size="256" sumtext="자격반송여부"/>
  191. <Column id="docuseqno" type="STRING" size="256" sumtext="명일련"/>
  192. <Column id="reteno" type="STRING" size="256" sumtext="보류번호"/>
  193. <Column id="reteresn" type="STRING" size="256" sumtext="보류사유"/>
  194. <Column id="reteresnrem" type="STRING" size="256" sumtext="보류사유설명"/>
  195. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  196. <Column id="patnm" type="STRING" size="256" sumtext="수진자명"/>
  197. <Column id="clmcstotamt" type="STRING" size="256" sumtext="청구총진료비"/>
  198. <Column id="clclamamt" type="STRING" size="256" sumtext="청구액"/>
  199. <Column id="clhandicaprfund" type="STRING" size="256" sumtext="청구장애인기금"/>
  200. <Column id="clsubtamt" type="STRING" size="256" sumtext="청구대불금"/>
  201. <Column id="jrjudgdeciamt" type="STRING" size="256" sumtext="심결액"/>
  202. <Column id="jrhandicaprfund" type="STRING" size="256" sumtext="심결장애인기금"/>
  203. <Column id="jrsubtamt" type="STRING" size="256" sumtext="심결대불금"/>
  204. <Column id="instreductamt" type="STRING" size="256" sumtext="기관삭감액"/>
  205. <Column id="handicapcvrtamt" type="STRING" size="256" sumtext="장애인전환금"/>
  206. <Column id="depoamt" type="STRING" size="256" sumtext="입금액"/>
  207. <Column id="depoprocinstmark" type="STRING" size="256" sumtext="입금기관기호"/>
  208. <Column id="depoprocinstmarknm" type="STRING" size="256" sumtext="입금기관명"/>
  209. <Column id="insukind" type="STRING" size="256" sumtext="보험유형"/>
  210. <Column id="medcarekindflag" type="STRING" size="256" sumtext="의료급여종별구분"/>
  211. <Column id="procinstmark" type="STRING" size="256" sumtext="기관기호"/>
  212. <Column id="procinstmarknm" type="STRING" size="256" sumtext="기관명"/>
  213. <Column id="updtinsukind" type="STRING" size="256" sumtext="변경보험유형"/>
  214. <Column id="updtprocinstmark" type="STRING" size="256" sumtext="변경기관기호"/>
  215. <Column id="updtprocinstmarknm" type="STRING" size="256" sumtext="변경기관명"/>
  216. <Column id="updtcertno" type="STRING" size="256" sumtext="변경증번호"/>
  217. <Column id="judgrid" type="STRING" size="256" sumtext="심사자"/>
  218. <Column id="clamdg" type="STRING" size="256" sumtext="청구차수"/>
  219. <Column id="pidsn" type="STRING" size="256" sumtext="등록번호순번"/>
  220. <Column id="seq" type="STRING" size="256" sumtext="순번"/>
  221. </ColumnInfo>
  222. </Dataset>
  223. </Objects>
  224. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  225. * System Name :
  226. * Job Name :
  227. * Creator :
  228. * Make Date : 2016-05-24
  229. * Description :
  230. *---------------------------------------------------------------------------------------
  231. * Modify Date Modifier Modify Description
  232. *---------------------------------------------------------------------------------------
  233. * 2016-05-24 Live Converter TF->XP
  234. *
  235. *---------------------------------------------------------------------------------------
  236. ****************************************************************************************/
  237. include "com_commonxp::comm_main.xjs";
  238. include "pam_pamcomnxp::PAM001.xjs";
  239. include "pam_pamcomnxp::PAM.xjs";
  240. function SMPIF30140_oninit(obj:Form, e:InitEventInfo)
  241. {
  242. frmf_initForm(obj);
  243. }
  244. function SMPIF30140_onload(obj:Form, e:LoadEventInfo)
  245. {
  246. if(frmf_checkOpener())
  247. {
  248. ds_send_sendlnk.copyData(arg_ds_send_sendlnk);
  249. }
  250. select_init();
  251. }
  252. function select_init()
  253. {
  254. var vclamno, vacptno, vinstcd, vjudgdg, cpcd, assocd ;
  255. vclamno = ds_send_sendlnk.getColumn(0, "clamno");
  256. vacptno = ds_send_sendlnk.getColumn(0, "acptno");
  257. vjudgdg = ds_send_sendlnk.getColumn(0, "judgdg");
  258. vinstcd = ds_send_sendlnk.getColumn(0, "instcd");
  259. vcpcd = ds_send_sendlnk.getColumn(0, "cpcd");
  260. vassocd = ds_send_sendlnk.getColumn(0, "assocd");
  261. if(utlf_isNull(vacptno) || utlf_isNull(vclamno) || utlf_isNull(vjudgdg))
  262. {
  263. return;
  264. }
  265. ds_send_sendlist00.setColumn(0, "acptno", vacptno);
  266. ds_send_sendlist00.setColumn(0, "clamno", vclamno);
  267. ds_send_sendlist00.setColumn(0, "judgdg", vjudgdg);
  268. ds_send_sendlist00.setColumn(0, "instcd", vinstcd);
  269. ds_send_sendlist00.setColumn(0, "cpcd", vcpcd);
  270. ds_send_sendlist00.setColumn(0, "assocd", vassocd);
  271. var oParam = {};
  272. oParam.id = "TRPIF30141";
  273. oParam.service = "clamuncoapp.ClamUnco";
  274. oParam.method = "reqGetQualReteSpec";
  275. oParam.inds = "req=ds_send_sendlist00";
  276. oParam.outds = "ds_main_list00_gridqualrete00=gridqualrete00";
  277. oParam.async = false;
  278. //oParam.callback = "cf_TRPIF30141";
  279. tranf_submit(oParam);
  280. }
  281. function group3_btn_listselect_onclick(obj:Button, e:ClickEventInfo)
  282. {
  283. var vrowcount = ds_main_list00_gridqualrete00.rowcount
  284. var vretechk ;
  285. if(group3.btn_listselect.text == "전체선택")
  286. {
  287. vretechk = "Y" ;
  288. group3.btn_listselect.text = "전체해제" ;
  289. }
  290. else
  291. {
  292. vretechk = "N" ;
  293. group3.btn_listselect.text = "전체선택" ;
  294. }
  295. for (var i = 0; i < vrowcount; i++)
  296. {
  297. ds_main_list00_gridqualrete00.setColumn(i, "qualsendflag", vretechk);
  298. }
  299. }
  300. function group3_button12_onclick(obj:Button, e:ClickEventInfo)
  301. {
  302. var today = new Date();
  303. var yy = today.getYear() + "";
  304. var mm = today.getMonth() + 1;
  305. var dd = today.getDate();
  306. if(mm < 10)
  307. {
  308. mm = "0" + mm;
  309. }
  310. else
  311. {
  312. mm = mm + "";
  313. }
  314. if(dd < 10)
  315. {
  316. dd = "0" + dd;
  317. }
  318. else
  319. {
  320. dd = dd + "";
  321. }
  322. var tmp = yy + mm + dd;
  323. if(ds_main_list00_gridqualrete00.rowcount == 0)
  324. {
  325. sysf_messageBox("엑셀저장할 내역이", "I004"); ///엑셀저장할 내역이 없습니다.
  326. }
  327. else
  328. {
  329. grdf_exportExcel(group3.grd_qualrete, "자격보류관리_"+tmp, "see");
  330. }
  331. }
  332. function group2_button42_onclick(obj:Button, e:ClickEventInfo)
  333. {
  334. var oParam = {};
  335. oParam.id = "TXPIF30141";
  336. oParam.service = "clamuncoapp.ClamUnco";
  337. oParam.method = "reqSetQualRete";
  338. oParam.inds = "req=ds_main_list00_gridqualrete00";
  339. oParam.outds = "";
  340. oParam.async = false;
  341. //oParam.callback = "cf_TXPIF30141";
  342. tranf_submit(oParam);
  343. select_init() ;
  344. }
  345. function group2_button3_onclick(obj:Button, e:ClickEventInfo)
  346. {
  347. this.close();
  348. }
  349. function group2_button93_onclick(obj:Button, e:ClickEventInfo)
  350. {
  351. }
  352. function ds_main_list00_gridqualrete00_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  353. {
  354. if( e.columnid == "qualsendflag" ){
  355. obj.setColumn(e.row, "qualsendflag", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
  356. }
  357. }
  358. ]]></Script>
  359. </Form>
  360. </FDL>