SMAHA04091_공단대상자연계.xfdl 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMAHA04091" position="absolute 0 0 1198 783" titletext="공단대상자 관리" oninit="SMAHA04091_oninit" onload="SMAHA04091_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 25 1196 65" align="align:center top;" id="group5" class="div_SA" anchor="left top right">
  8. <Layouts>
  9. <Layout>
  10. <Static text="사업체 :" position="absolute 9 11 75 28" id="caption12" class="search_name" anchor="default"/>
  11. <Shape position="absolute 1107 11 1113 31" linetype="vertical" id="line7" anchor="top right"/>
  12. <Edit position="absolute 82 11 157 30" id="ipt_srchcmpycd" class="input_search" anchor="default" autoselect="true" autoskip="true" onkeyup="group5_ipt_srchcmpycd_onkeyup"/>
  13. <Button position="absolute 163 11 179 27" id="btn_selcmpy" class="icon_search" text="" anchor="default" onclick="group5_btn_selcmpy_onclick"/>
  14. <Edit readonly="true" position="absolute 185 11 315 30" id="opt_srchcmpynm" anchor="default" class="output"/>
  15. <Button position="absolute 1125 11 1181 33" id="btn_search" class="btn1" text="조회" anchor="top right" onclick="group5_btn_search_onclick"/>
  16. <Static text="성명 :" position="absolute 333 12 386 29" id="caption1" class="search_name" anchor="default"/>
  17. <Static text="-" position="absolute 621 11 633 28" id="caption93" class="search_n_b" anchor="default"/>
  18. <Edit position="absolute 390 11 457 30" id="ipt_srchpnm" class="input_search" anchor="default" autoselect="true" autoskip="true" onkeyup="group5_ipt_srchpnm_onkeyup"/>
  19. <MaskEdit position="absolute 556 11 613 30" id="ipt_srchrgstno1" class="input_search" mask="######" anchor="default" autoselect="true" autoskip="true" maskchar=" " type="string" trimtype="both" style="align:center middle;" onkeyup="group5_ipt_srchrgstno1_onkeyup"/>
  20. <MaskEdit position="absolute 635 11 692 30" id="ipt_srchrgstno2" class="input_search" mask="#######" anchor="default" autoselect="true" autoskip="true" maskchar=" " type="string" trimtype="both" style="align:center middle;" onkeyup="group5_ipt_srchrgstno2_onkeyup"/>
  21. <Edit position="absolute 790 11 867 30" id="ipt_srchpid" class="input_search" anchor="default" autoselect="true" autoskip="true" onkeyup="group5_ipt_srchpid_onkeyup"/>
  22. <Static text="주민번호 :" position="absolute 475 12 553 29" id="caption5" class="search_name" anchor="default"/>
  23. <Static text="사번/군번 :" position="absolute 705 12 783 29" id="caption7" class="search_name" anchor="default"/>
  24. </Layout>
  25. </Layouts>
  26. </Div>
  27. <Button position="absolute 1121 67 1196 89" id="btn_upload" class="btn2" text="파일업로드" anchor="top right" onclick="btn_upload_onclick"/>
  28. <Button position="absolute 1009 67 1062 89" id="button7" class="btn2" text="행추가" onclick="button7_onclick" anchor="top right"/>
  29. <Button position="absolute 1065 67 1118 89" id="button9" class="btn2" text="행삭제" onclick="button9_onclick" anchor="top right"/>
  30. <Shape position="absolute 0 89 1196 95" linetype="horizontal" id="line2" class="line_10" anchor="left top right"/>
  31. <Grid position="absolute 0 94 1196 752" id="grd_cupload" binddataset="ds_main_corglst_item" cellsizingtype="both" anchor="all" extendsizetype="row" autosizingtype="row" selecttype="multirow">
  32. <Formats>
  33. <Format id="default">
  34. <Columns>
  35. <Column size="22"/>
  36. <Column size="70"/>
  37. <Column size="90"/>
  38. <Column size="70"/>
  39. <Column size="50"/>
  40. <Column size="50"/>
  41. <Column size="80"/>
  42. <Column size="70"/>
  43. <Column size="90"/>
  44. <Column size="130"/>
  45. <Column size="80"/>
  46. <Column size="80"/>
  47. <Column size="80"/>
  48. <Column size="80"/>
  49. <Column size="80"/>
  50. <Column size="80"/>
  51. <Column size="80"/>
  52. <Column size="60"/>
  53. <Column size="60"/>
  54. <Column size="60"/>
  55. <Column size="60"/>
  56. <Column size="60"/>
  57. <Column size="60"/>
  58. <Column size="60"/>
  59. <Column size="60"/>
  60. <Column size="60"/>
  61. <Column size="60"/>
  62. <Column size="60"/>
  63. </Columns>
  64. <Rows>
  65. <Row size="24" band="head"/>
  66. <Row size="24"/>
  67. </Rows>
  68. <Band id="head">
  69. <Cell/>
  70. <Cell col="1" text="사번/군번"/>
  71. <Cell col="2" text="사업장코드"/>
  72. <Cell col="3" text="성명"/>
  73. <Cell col="4" colspan="2" text="주민번호" taborder="undefined"/>
  74. <Cell col="6" text="보험증번호"/>
  75. <Cell col="7" text="근무구분"/>
  76. <Cell col="8" text="자격취득일"/>
  77. <Cell col="9" text="근무부서"/>
  78. <Cell col="10" text="생애여부"/>
  79. <Cell col="11" text="위암"/>
  80. <Cell col="12" text="유방암"/>
  81. <Cell col="13" text="대장암"/>
  82. <Cell col="14" text="간암"/>
  83. <Cell col="15" text="자궁경부"/>
  84. <Cell col="16" text="간염검사"/>
  85. <Cell col="17" text="2차감염"/>
  86. <Cell col="18" text="영업소"/>
  87. <Cell col="19" text="직종코드"/>
  88. <Cell col="20" text="소속지사"/>
  89. <Cell col="21" text="보건소"/>
  90. <Cell col="22" text="년"/>
  91. <Cell col="23" text="반"/>
  92. <Cell col="24" text="번호"/>
  93. <Cell col="25" text="군병원"/>
  94. <Cell col="26" text="전입일자"/>
  95. <Cell col="27" text="챠트번호"/>
  96. </Band>
  97. <Band id="body">
  98. <Cell celltype="head"/>
  99. <Cell col="1" displaytype="text" edittype="text" style="align:left middle;padding:0 0 0 3;" text="bind:clntempid" enable="false"/>
  100. <Cell col="2" displaytype="text" edittype="text" style="align:left middle;padding:0 0 0 3;" text="bind:cmpycd" enable="false"/>
  101. <Cell col="3" displaytype="text" edittype="text" style="align:left middle;padding:0 0 0 3;" text="bind:subscrhngnm"/>
  102. <Cell col="4" displaytype="text" edittype="text" style="align:left middle;padding:0 0 0 3;" text="bind:subscrrrgstno1"/>
  103. <Cell col="5" displaytype="text" edittype="text" style="align:left middle;padding:0 0 0 3;" text="bind:subscrrrgstno2"/>
  104. <Cell col="6" displaytype="text" edittype="text" style="align:left middle;padding:0 0 0 3;" text="bind:insuid"/>
  105. <Cell col="7" displaytype="combo" edittype="combo" style="align:left middle;padding:0 0 0 3;" text="bind:jobkindflag" combodataset="ds_init_baseinfo_jobkindflag_A0112" combocodecol="cdid" combodatacol="cdnm"/>
  106. <Cell col="8" displaytype="date" edittype="date" style="align:left middle;padding:0 0 0 3;" text="bind:entcodd" calendardisplaynulltype="nulltext"/>
  107. <Cell col="9" displaytype="text" edittype="text" style="align:left middle;padding:3 3 3 3;" text="bind:clntdeptnm" wordwrap="word" autosizerow="limitmin"/>
  108. <Cell col="10" displaytype="combo" edittype="combo" style="align:left middle;padding:0 0 0 3;" text="bind:oraltestyn" combodataset="ds_cmb_oraltestyn" combocodecol="value" combodatacol="label"/>
  109. <Cell col="11" displaytype="combo" edittype="combo" style="align:left middle;padding:0 0 0 3;" text="bind:stmccncrflag" combodataset="ds_init_baseinfo_cancerapplst_G104" combocodecol="cdid" combodatacol="cdnm"/>
  110. <Cell col="12" displaytype="combo" edittype="combo" style="align:left middle;padding:0 0 0 3;" text="bind:mamcncrflag" combodataset="ds_init_baseinfo_cancerapplst_G104" combocodecol="cdid" combodatacol="cdnm"/>
  111. <Cell col="13" displaytype="combo" edittype="combo" style="align:left middle;padding:0 0 0 3;" text="bind:largeintescncrflag" combodataset="ds_init_baseinfo_cancerapplst_G104" combocodecol="cdid" combodatacol="cdnm"/>
  112. <Cell col="14" displaytype="combo" edittype="combo" style="align:left middle;padding:0 0 0 3;" text="bind:livcncrflag" combodataset="ds_init_baseinfo_cancerapplst_G104" combocodecol="cdid" combodatacol="cdnm"/>
  113. <Cell col="15" displaytype="combo" edittype="combo" style="align:left middle;padding:0 0 0 3;" text="bind:cervcncrflag" combodataset="ds_init_baseinfo_cancerapplst_G104" combocodecol="cdid" combodatacol="cdnm"/>
  114. <Cell col="16" displaytype="combo" edittype="combo" style="align:left middle;padding:0 0 0 3;" text="bind:fsthptstrgtyn" combodataset="ds_cmb_fsthptstrgtyn" combocodecol="value" combodatacol="label"/>
  115. <Cell col="17" displaytype="combo" edittype="combo" style="align:left middle;padding:0 0 0 3;" text="bind:scndhptstrgtyn" combodataset="ds_cmb_scndhptstrgtyn" combocodecol="value" combodatacol="label"/>
  116. <Cell col="18" style="align:left middle;padding:0 0 0 3;" text="bind:bizoffccd"/>
  117. <Cell col="19" style="align:left middle;padding:0 0 0 3;" text="bind:jobkindcd"/>
  118. <Cell col="20" style="align:left middle;padding:0 0 0 3;" text="bind:insucorpbrchcd"/>
  119. <Cell col="21" style="align:left middle;padding:0 0 0 3;" text="bind:healcntrcd"/>
  120. <Cell col="22" style="align:left middle;padding:0 0 0 3;" text="bind:schlgrde"/>
  121. <Cell col="23" style="align:left middle;padding:0 0 0 3;" text="bind:clsid"/>
  122. <Cell col="24" style="align:left middle;padding:0 0 0 3;" text="bind:studid"/>
  123. <Cell col="25" style="align:left middle;padding:0 0 0 3;" text="bind:armyhos"/>
  124. <Cell col="26" displaytype="date" edittype="date" style="align:left middle;padding:0 0 0 3;" text="bind:junibdd" calendardisplaynulltype="nulltext"/>
  125. <Cell col="27" displaytype="text" edittype="text" style="align:left middle;padding:0 0 0 3;" text="bind:visano"/>
  126. </Band>
  127. </Format>
  128. </Formats>
  129. </Grid>
  130. <Static id="caption6" text="공단대상자 관리" class="tit_1" position="absolute 0 0 145 25"/>
  131. <Button id="button33" taborder="1" text="초기화" class="btn4" position="absolute 1070 757 1138 779" anchor="right bottom" onclick="button33_onclick"/>
  132. <Button id="button8" taborder="2" text="저장" class="btn4" position="absolute 1140 757 1196 779" anchor="right bottom" onclick="button8_onclick"/>
  133. </Layout>
  134. </Layouts>
  135. <Objects>
  136. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  137. <ColumnInfo>
  138. <Column id="srchcmpycd" type="STRING" size="256"/>
  139. <Column id="srchcmpynm" type="STRING" size="256"/>
  140. <Column id="srchpnm" type="STRING" size="256"/>
  141. <Column id="srchrrgstno1" type="STRING" size="256"/>
  142. <Column id="srchrrgstno2" type="STRING" size="256"/>
  143. <Column id="srchclntempid" type="STRING" size="256"/>
  144. </ColumnInfo>
  145. <Rows>
  146. <Row>
  147. <Col id="srchcmpycd"/>
  148. <Col id="srchcmpynm"/>
  149. <Col id="srchpnm"/>
  150. <Col id="srchrrgstno1"/>
  151. <Col id="srchrrgstno2"/>
  152. <Col id="srchclntempid"/>
  153. </Row>
  154. </Rows>
  155. </Dataset>
  156. <Dataset id="ds_main_corglst_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  157. <ColumnInfo>
  158. <Column id="clntempid" type="STRING" size="256" sumtext="사번/군번"/>
  159. <Column id="cmpycd" type="STRING" size="256" sumtext="사업장코드"/>
  160. <Column id="subscrhngnm" type="STRING" size="256" sumtext="성명"/>
  161. <Column id="subscrrrgstno1" type="STRING" size="256" sumtext="주민번호1"/>
  162. <Column id="subscrrrgstno2" type="STRING" size="256" sumtext="주민번호2"/>
  163. <Column id="insuid" type="STRING" size="256" sumtext="보험증번호"/>
  164. <Column id="jobkindflag" type="STRING" size="256" sumtext="근무구분"/>
  165. <Column id="entcodd" type="STRING" size="256" sumtext="자격취득일자"/>
  166. <Column id="clntdeptnm" type="STRING" size="256" sumtext="근무부서"/>
  167. <Column id="oraltestyn" type="STRING" size="256" sumtext="생애여부"/>
  168. <Column id="stmccncrflag" type="STRING" size="256" sumtext="위암"/>
  169. <Column id="mamcncrflag" type="STRING" size="256" sumtext="유방암"/>
  170. <Column id="largeintescncrflag" type="STRING" size="256" sumtext="대장암"/>
  171. <Column id="livcncrflag" type="STRING" size="256" sumtext="간암"/>
  172. <Column id="cervcncrflag" type="STRING" size="256" sumtext="자궁경부"/>
  173. <Column id="fsthptstrgtyn" type="STRING" size="256" sumtext="간염검사"/>
  174. <Column id="scndhptstrgtyn" type="STRING" size="256" sumtext="2차감염"/>
  175. <Column id="bizoffccd" type="STRING" size="256" sumtext="영업소"/>
  176. <Column id="jobkindcd" type="STRING" size="256" sumtext="직종코드"/>
  177. <Column id="insucorpbrchcd" type="STRING" size="256" sumtext="소속지사"/>
  178. <Column id="healcntrcd" type="STRING" size="256" sumtext="보건소"/>
  179. <Column id="schlgrde" type="STRING" size="256" sumtext="년"/>
  180. <Column id="clsid" type="STRING" size="256" sumtext="반"/>
  181. <Column id="studid" type="STRING" size="256" sumtext="번호"/>
  182. <Column id="armyhos" type="STRING" size="256" sumtext="군병원"/>
  183. <Column id="junibdd" type="STRING" size="256" sumtext="전입일자"/>
  184. <Column id="visano" type="STRING" size="256" sumtext="챠트번호"/>
  185. </ColumnInfo>
  186. </Dataset>
  187. <Dataset id="ds_init_baseinfo_jobkindflag_A0112" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  188. <Dataset id="ds_cmb_oraltestyn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  189. <ColumnInfo>
  190. <Column id="label" type="STRING" size="256"/>
  191. <Column id="value" type="STRING" size="256"/>
  192. </ColumnInfo>
  193. <Rows>
  194. <Row>
  195. <Col id="label">생애전환기</Col>
  196. <Col id="value">Y</Col>
  197. </Row>
  198. <Row>
  199. <Col id="label">일반건진</Col>
  200. <Col id="value">N</Col>
  201. </Row>
  202. </Rows>
  203. </Dataset>
  204. <Dataset id="ds_init_baseinfo_cancerapplst_G104" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  205. <Dataset id="ds_cmb_fsthptstrgtyn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  206. <ColumnInfo>
  207. <Column id="label" type="STRING" size="256"/>
  208. <Column id="value" type="STRING" size="256"/>
  209. </ColumnInfo>
  210. <Rows>
  211. <Row>
  212. <Col id="label">대상</Col>
  213. <Col id="value">Y</Col>
  214. </Row>
  215. <Row>
  216. <Col id="label">비대상</Col>
  217. <Col id="value">N</Col>
  218. </Row>
  219. </Rows>
  220. </Dataset>
  221. <Dataset id="ds_cmb_scndhptstrgtyn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  222. <ColumnInfo>
  223. <Column id="label" type="STRING" size="256"/>
  224. <Column id="value" type="STRING" size="256"/>
  225. </ColumnInfo>
  226. <Rows>
  227. <Row>
  228. <Col id="label">대상</Col>
  229. <Col id="value">Y</Col>
  230. </Row>
  231. <Row>
  232. <Col id="label">비대상</Col>
  233. <Col id="value">N</Col>
  234. </Row>
  235. </Rows>
  236. </Dataset>
  237. </Objects>
  238. <Bind>
  239. <BindItem id="item0" compid="group5.ipt_srchcmpycd" propid="value" datasetid="ds_send" columnid="srchcmpycd"/>
  240. <BindItem id="item1" compid="group5.opt_srchcmpynm" propid="value" datasetid="ds_send" columnid="srchcmpynm"/>
  241. <BindItem id="item2" compid="group5.ipt_srchpnm" propid="value" datasetid="ds_send" columnid="srchpnm"/>
  242. <BindItem id="item3" compid="group5.ipt_srchrgstno1" propid="value" datasetid="ds_send" columnid="srchrrgstno1"/>
  243. <BindItem id="item4" compid="group5.ipt_srchrgstno2" propid="value" datasetid="ds_send" columnid="srchrrgstno2"/>
  244. <BindItem id="item5" compid="group5.ipt_srchpid" propid="value" datasetid="ds_send" columnid=""/>
  245. </Bind>
  246. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  247. * System Name :
  248. * Job Name :
  249. * Creator :
  250. * Make Date : 2015-11-13
  251. * Description :
  252. *---------------------------------------------------------------------------------------
  253. * Modify Date Modifier Modify Description
  254. *---------------------------------------------------------------------------------------
  255. * 2015-11-13 Live Converter TF->XP
  256. *
  257. *---------------------------------------------------------------------------------------
  258. ****************************************************************************************/
  259. include "com_commonxp::comm_main.xjs";
  260. include "ast_healexamxp::AHA001.xjs";
  261. include "ast_healthexambasexp::healcombolist.xjs";
  262. function SMAHA04091_oninit(obj:Form, e:InitEventInfo)
  263. {
  264. frmf_initForm(obj);
  265. }
  266. function SMAHA04091_onload(obj:Form, e:LoadEventInfo)
  267. {
  268. grdf_initGrid(grd_cupload);
  269. grdf_setRowTypeIcon(grd_cupload, 0);
  270. fGetBaseInfo();
  271. }
  272. function fGetBaseInfo()
  273. {
  274. var arrParam = [{dsNm: "ds_init_baseinfo_jobkindflag_A0112", cdGrpId: "A0112"}]
  275. appf_getCodeList(arrParam);
  276. var arrParam = [{dsNm: "ds_init_baseinfo_cancerapplst_G104", cdGrpId: "G104"}];
  277. healGetCodeList(arrParam);
  278. }
  279. function group5_ipt_srchcmpycd_onkeyup(obj:Edit, e:KeyEventInfo)
  280. {
  281. if(e.keycode == 13)
  282. {
  283. obj.updateToDataset();
  284. group5.btn_selcmpy.click();
  285. }
  286. }
  287. function group5_btn_selcmpy_onclick(obj:Button, e:ClickEventInfo)
  288. {
  289. fGetComnCd("SMAHA01500", "09" , "cd", group5.ipt_srchcmpycd.value, group5.ipt_srchcmpycd, group5.opt_srchcmpynm);
  290. }
  291. function group5_ipt_srchpnm_onkeyup(obj:Edit, e:KeyEventInfo)
  292. {
  293. if(e.keycode == 13)
  294. {
  295. obj.updateToDataset();
  296. fGetCorgLst();
  297. }
  298. }
  299. function fGetCorgLst()
  300. {
  301. ds_main_corglst_item.clearData();
  302. var oParam = {};
  303. oParam.id = "TXAHA04096";
  304. oParam.service = "healthexamrsrvacptapp.GnrlRsrvAcpt";
  305. oParam.method = "reqGetCorgList";
  306. oParam.inds = "req=ds_send";
  307. oParam.outds = "ds_main_corglst_item=item";
  308. oParam.async = false;
  309. //oParam.callback = "cf_TXAHA04096";
  310. tranf_submit(oParam);
  311. }
  312. function group5_ipt_srchrgstno1_onkeyup(obj:MaskEdit, e:KeyEventInfo)
  313. {
  314. if( e.keycode == 13 )
  315. {
  316. obj.updateToDataset();
  317. fGetCorgLst();
  318. }
  319. }
  320. function group5_ipt_srchrgstno2_onkeyup(obj:MaskEdit, e:KeyEventInfo)
  321. {
  322. if( e.keycode == 13 )
  323. {
  324. obj.updateToDataset();
  325. fGetCorgLst();
  326. }
  327. }
  328. function group5_ipt_srchpid_onkeyup(obj:Edit, e:KeyEventInfo)
  329. {
  330. if( e.keycode == 13 )
  331. {
  332. obj.updateToDataset();
  333. fGetCorgLst();
  334. }
  335. }
  336. function group5_btn_search_onclick(obj:Button, e:ClickEventInfo)
  337. {
  338. fGetCorgLst();
  339. }
  340. function button7_onclick(obj:Button, e:ClickEventInfo)
  341. {
  342. ds_main_corglst_item.addRow();
  343. }
  344. function button9_onclick(obj:Button, e:ClickEventInfo)
  345. {
  346. var rows = grdf_getSelectedRows(grd_cupload);
  347. for(var i = 0; i < rows.length; i++)
  348. {
  349. var m_row = rows[i];
  350. ds_main_corglst_item.updatecontrol = false;
  351. ds_main_corglst_item.setRowType(m_row, "d");
  352. }
  353. }
  354. function btn_upload_onclick(obj:Button, e:ClickEventInfo)
  355. {
  356. fFileUpload();
  357. }
  358. function fFileUpload()
  359. {
  360. grdf_ImportExcel("ds_main_corglst_item ", 2, grd_cupload, 0);
  361. }
  362. function button33_onclick(obj:Button, e:ClickEventInfo)
  363. {
  364. ds_main_corglst_item.clearData();
  365. }
  366. function button8_onclick(obj:Button, e:ClickEventInfo)
  367. {
  368. if( sysf_messageBox("공단대상자 정보를", "Q002") == 6)
  369. {
  370. fSaveCorg();
  371. fGetCorgLst();
  372. }
  373. }
  374. function fSaveCorg()
  375. {
  376. var saveCorg = grdf_getGridUpdateData(grd_cupload);
  377. if(saveCorg.rowcount != 0)
  378. {
  379. var oParam = {};
  380. oParam.id = "TXAHA04095";
  381. oParam.service = "healthexamrsrvacptapp.GnrlRsrvAcpt";
  382. oParam.method = "setExeCorg";
  383. oParam.inds = "req=ds_main_corglst_item:u";
  384. oParam.outds = "ds_=cnt";
  385. oParam.typeStr = "m";
  386. oParam.async = false;
  387. oParam.callback = "cf_TXAHA04095";
  388. tranf_submit(oParam);
  389. }
  390. else
  391. {
  392. sysf_messageBox("저장할 내역이", "E014");
  393. return;
  394. }
  395. }
  396. function cf_TXAHA04095(sSvcId, nErrorCode, sErrorMsg)
  397. {
  398. if(nErrorCode < 0) return;
  399. else
  400. {
  401. sysf_messageBox("정상적으로" , "I001");
  402. return;
  403. }
  404. }]]></Script>
  405. </Form>
  406. </FDL>