SPASI03600_산모B형간염신고서.xfdl 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPASI03600" position="absolute 0 0 775 210" titletext="산모B형간염 표본감시 신고" onload="SPASI03600_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 0 756 25" id="grp_tle">
  8. <Layouts>
  9. <Layout>
  10. <Static text="산모B형간염 표본감시 신고서" position="absolute 0 0 269 25" id="caption6" class="tit_1"/>
  11. </Layout>
  12. </Layouts>
  13. </Div>
  14. <Div position="absolute 0 23 755 175" id="grp_main" class="div_DA_box">
  15. <Layouts>
  16. <Layout>
  17. <Static text="성별" position="absolute 393 5 448 28" align="align:center middle;" id="caption10" class="cell_1"/>
  18. <Shape position="absolute 0 144 750 150" linetype="horizontal" id="line56" class="line_3"/>
  19. <Static text="-" position="absolute 203 28 215 45" id="caption13" class="search_no_b"/>
  20. <Static text="주민등록번호" position="absolute 0 29 92 52" align="align:center middle;" id="caption1" class="cell_1" wordwrap="none"/>
  21. <Static text="성명" position="absolute 0 5 92 28" align="align:center middle;" id="caption2" class="cell_1"/>
  22. <Static text="나이" position="absolute 564 5 631 28" align="align:center middle;" id="caption11" class="cell_1"/>
  23. <Static text="작성요령 1. 완 전 접 종: 3회 접종 시&#13;&#10; 2. 불완접접종: 1~2회 접종 시" position="absolute 100 107 740 142" align="align:center middle;" id="caption3"/>
  24. <Static text="전염병명" position="absolute 0 53 92 76" align="align:center middle;" id="caption7" class="cell_1"/>
  25. <Static text="예방접종내력" position="absolute 0 77 92 149" align="align:center middle;" id="caption8" class="cell_1" wordwrap="none"/>
  26. <Shape position="absolute 0 24 750 30" linetype="horizontal" id="line4" class="line_3"/>
  27. <Shape position="absolute 0 48 750 54" linetype="horizontal" id="line3" class="line_3"/>
  28. <Shape position="absolute 0 0 750 6" linetype="vertical" id="line2" class="line_1"/>
  29. <Static text="세" position="absolute 733 7 748 27" align="align:center middle;" id="caption4"/>
  30. <Shape position="absolute 0 72 750 78" linetype="horizontal" id="line1" class="line_3"/>
  31. <Edit readonly="true" position="absolute 95 6 390 25" id="opt_nm"/>
  32. <Edit position="absolute 594 85 629 104" id="ipt_ioflag" class="input_default" visible="false"/>
  33. <Edit position="absolute 555 85 590 104" id="ipt_indd" class="input_default" visible="false"/>
  34. <Edit position="absolute 515 85 550 104" id="ipt_pid" class="input_default" visible="false"/>
  35. <Edit readonly="true" position="absolute 451 6 561 25" id="opt_sex"/>
  36. <Edit readonly="true" position="absolute 634 6 731 25" id="opt_age"/>
  37. <Edit readonly="true" position="absolute 98 30 198 49" id="opt_rgstno1"/>
  38. <Edit readonly="true" position="absolute 215 30 315 49" id="opt_rgstno2"/>
  39. <Calendar position="absolute 451 30 561 49" id="ipt_diagdd" class="input_essential"/>
  40. <Radio position="absolute 0 55 113 80" id="rdo_diagnm" visible="false" columncount="4" innerdataset="@ds_init_A0133" datacolumn="cdnm" codecolumn="cdid"/>
  41. <Radio position="absolute 100 81 508 106" id="rdo_vacnhist" columncount="4" innerdataset="@ds_init_A0134" datacolumn="cdnm" codecolumn="cdid"/>
  42. <Edit position="absolute 633 85 668 104" id="input1" class="input_default" visible="false"/>
  43. <Edit position="absolute 670 85 705 104" id="input2" class="input_default" visible="false"/>
  44. <Edit position="absolute 707 85 742 104" id="input3" class="input_default" visible="false"/>
  45. <Edit position="absolute 590 55 625 74" id="input4" class="input_default" visible="false"/>
  46. <Edit position="absolute 635 55 670 74" id="input5" class="input_default" visible="false"/>
  47. <Static text="진단일" position="absolute 393 29 448 52" align="align:center middle;" id="cap_diagdd" class="cell_1"/>
  48. <Edit position="absolute 680 55 715 74" id="input6" class="input_default" visible="false"/>
  49. <Static text="산모B형간염" position="absolute 99 57 199 77" id="caption5"/>
  50. </Layout>
  51. </Layouts>
  52. </Div>
  53. <Div position="absolute 0 177 755 204" id="grp_btn" scrollbars="autoboth">
  54. <Layouts>
  55. <Layout>
  56. <Button position="absolute 567 2 623 24" id="btn_save" class="btn4" text="저장" onclick="grp_btn_btn_save_onclick"/>
  57. <Button position="absolute 684 2 752 24" id="btn_init" class="btn4" text="초기화" onclick="grp_btn_btn_init_onclick"/>
  58. </Layout>
  59. </Layouts>
  60. </Div>
  61. <Button position="absolute 625 179 681 201" id="btn_cncl" class="btn4" text="삭제" onclick="btn_cncl_onclick"/>
  62. </Layout>
  63. </Layouts>
  64. <Objects>
  65. <Dataset id="ds_init_A0133" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  66. <ColumnInfo>
  67. <Column id="cdid" type="STRING" size="256"/>
  68. <Column id="cdnm" type="STRING" size="256"/>
  69. </ColumnInfo>
  70. </Dataset>
  71. <Dataset id="ds_init_A0134" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  72. <Dataset id="ds_infcsmmrsltreptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  73. <ColumnInfo>
  74. <Column id="state" type="STRING" size="256"/>
  75. <Column id="reptflag" type="STRING" size="256"/>
  76. <Column id="psnflag" type="STRING" size="256"/>
  77. <Column id="patnm" type="STRING" size="256"/>
  78. <Column id="sexflag" type="STRING" size="256"/>
  79. <Column id="age" type="STRING" size="256"/>
  80. <Column id="rgstno" type="STRING" size="256"/>
  81. <Column id="rgstno2" type="STRING" size="256"/>
  82. <Column id="diagdd" type="STRING" size="256"/>
  83. <Column id="spckindcd" type="STRING" size="256"/>
  84. <Column id="preinochstflag" type="STRING" size="256"/>
  85. <Column id="pid" type="STRING" size="256"/>
  86. <Column id="wrtedt" type="STRING" size="256"/>
  87. <Column id="instcd" type="STRING" size="256"/>
  88. <Column id="seqno" type="STRING" size="256"/>
  89. <Column id="cretno" type="STRING" size="256"/>
  90. <Column id="orddd" type="STRING" size="256"/>
  91. <Column id="indd" type="STRING" size="256"/>
  92. <Column id="orddeptcd" type="STRING" size="256"/>
  93. <Column id="lasthistyn" type="STRING" size="256"/>
  94. </ColumnInfo>
  95. <Rows>
  96. <Row>
  97. <Col id="state"/>
  98. <Col id="reptflag"/>
  99. <Col id="psnflag"/>
  100. <Col id="patnm"/>
  101. <Col id="sexflag"/>
  102. <Col id="age"/>
  103. <Col id="rgstno"/>
  104. <Col id="rgstno2"/>
  105. <Col id="diagdd"/>
  106. <Col id="spckindcd"/>
  107. <Col id="preinochstflag"/>
  108. <Col id="pid"/>
  109. <Col id="wrtedt"/>
  110. <Col id="instcd"/>
  111. <Col id="seqno"/>
  112. <Col id="cretno"/>
  113. <Col id="orddd"/>
  114. <Col id="indd"/>
  115. <Col id="orddeptcd"/>
  116. <Col id="lasthistyn">Y</Col>
  117. </Row>
  118. </Rows>
  119. </Dataset>
  120. <Dataset id="ds_data_paminfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  121. <Dataset id="ds_getlglydisinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  122. </Objects>
  123. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  124. * System Name :
  125. * Job Name :
  126. * Creator :
  127. * Make Date : 2015-06-04
  128. * Description :
  129. *---------------------------------------------------------------------------------------
  130. * Modify Date Modifier Modify Description
  131. *---------------------------------------------------------------------------------------
  132. * 2015-06-04 Live Converter TF->XP
  133. *
  134. *---------------------------------------------------------------------------------------
  135. ****************************************************************************************/
  136. include "com_commonxp::comm_main.xjs";
  137. var arErrorCode = new HashArray();
  138. function cf_TRASI01501(sSvcId, nErrorCode, sErrorMsg) {
  139. arErrorCode.push(sSvcId, nErrorCode);
  140. }
  141. function cf_TRASI01502(sSvcId, nErrorCode, sErrorMsg) {
  142. arErrorCode.push(sSvcId, nErrorCode);
  143. }
  144. function cf_TXASI03401(sSvcId, nErrorCode, sErrorMsg) {
  145. arErrorCode.push(sSvcId, nErrorCode);
  146. }
  147. function fInit() {
  148. grp_main.ipt_diagdd.value = "";
  149. grp_main.rdo_diagnm.value = "";
  150. ds_infcsmmrsltreptlist.setColumn(0,"preinochstflag", "");
  151. }
  152. function fChgReptDisable(result){
  153. if( frmf_isPopup() ){
  154. var strState = opener.frmf_getParameter("state");
  155. var menuParam = opener.frmf_getParameter("menuparam");
  156. }else {
  157. var strState = "I";
  158. }
  159. //(start) 수정 상태 셋팅 추가, 수정 및 삭제를 가능하도록 하기 위함 (2009.11.03 JJE)
  160. var chkWrtedt = ds_reptdtinfo.getColumn("reptdt");
  161. var chkReptdt = ds_reptdtinfo.getColumn("prt_reptdt");
  162. if(!utlf_isNull(chkWrtedt)) chkWrtedt = chkWrtedt.substring(0, 8);
  163. if(!utlf_isNull(chkReptdt)) chkReptdt = chkReptdt.substring(0, 8);
  164. if(!utlf_isNull(chkWrtedt) && chkWrtedt != "99991231" && !utlf_isNull(chkReptdt) && chkReptdt == "99991231" && utlf_isNull(strState)){
  165. var strState = "U"; //작성은 됐고, 출력(신고)는 안한 상태
  166. }
  167. //(end) 수정 상태 셋팅 끝
  168. //100622 진료 처방저장 시(작성은 됐고, 출력(신고)는 안한 상태 와 상관없음) -- 정리 필요
  169. if (opener.frmf_getParameter("PrcpLglyDis") != null && opener.frmf_getParameter("PrcpLglyDis") == "PrcpLglyDis" ) strState = "I";
  170. if(frmf_isPopup() && strState == "U" ){
  171. if(result == "6"){
  172. grp_main.enable = true;
  173. grp_btn.btn_save.enable = true;
  174. grp_btn.btn_init.enable = true;
  175. grp_btn.btn_cncl.enable= false;
  176. fInit();
  177. }else{
  178. grp_main.enable = false;
  179. grp_btn.btn_save.enable = false;
  180. grp_btn.btn_init.enable = false;
  181. grp_btn.btn_cncl.enable= true;
  182. }
  183. return;
  184. }else if(frmf_isPopup() && strState == "S" ){
  185. if(!utlf_isNull(menuParam)){
  186. //진료메뉴에서 호출시.
  187. if(opener.frmf_getParameter("DisabledChk")=="Y"){ //삭제된 신고서
  188. grp_main.enable = false;
  189. grp_btn.btn_save.enable = false;
  190. grp_btn.btn_init.enable = false;
  191. grp_btn.btn_cncl.enable= false;
  192. }else{
  193. grp_main.enable = true;
  194. grp_btn.btn_save.enable = true;
  195. grp_btn.btn_init.enable = true;
  196. grp_btn.btn_cncl.enable= true;
  197. }
  198. }else{
  199. //진료와 감염관리실 이외의 사용자일 경우 삭제버튼 불활성화 않음.
  200. if(opener.frmf_.getParameter("LglyDeptChk")=="N"){
  201. grp_btn.btn_cncl.enable= false;
  202. }else{
  203. grp_btn.btn_cncl.enable= true;
  204. }
  205. grp_main.enable = false;
  206. grp_btn.btn_save.enable = false; //추가(수정기능 개발 완료 시 false로 변경) @@ 2009.11.13 JJE
  207. grp_btn.btn_init.enable = false; //추가 2009.11.13 JJE
  208. }
  209. return;
  210. }else {
  211. grp_btn.btn_save.enable = true; //추가(수정기능 개발 완료 시 false로 변경) @@ 2009.11.13 JJE
  212. grp_btn.btn_init.enable = true; //추가 2009.11.13 JJE
  213. return;
  214. }
  215. if( utlf_isNull(ds_infcsmmrsltreptlist.getColumn(0,"pid"))){
  216. grp_main.enable = false;
  217. grp_btn.enable = false;
  218. }
  219. }
  220. function SPASI03600_onload(obj:Form, e:LoadEventInfo)
  221. {
  222. frmf_initForm(obj);
  223. appf_getCodeList([{dsNm: "ds_init_A0133" , cdGrpId: "A0133", sorField: ""},
  224. {dsNm: "ds_init_A0134" , cdGrpId: "A0134", sorField: ""}],
  225. false , false, "");
  226. var pid = "";
  227. var strRegtdt = "";
  228. var iDate = new Date();
  229. var strYearCal = "";
  230. var pamInfoCvs = sysf_getGlobalVariable("paminfo"); //상단정보가 있을 경우는 검색
  231. if(!utlf_isNull(pamInfoCvs)){ //cvs가 ""이 아닌 경우에만 처리함.
  232. ds_data_paminfo.loadCSV(pamInfoCVS);
  233. var ioflag = ds_data_paminfo.getColumn(0,"ioflag");
  234. if(ioflag == "I" || ioflag == "E"){
  235. pid = ds_data_paminfo.getColumn(0, "pid");
  236. indd = ds_data_paminfo.getColumn(0, "indd");
  237. cretno = ds_data_paminfo.getColumn(0, "cretno");
  238. ds_infcsmmrsltreptlist.setColumn(0, "pid", pid);
  239. ds_infcsmmrsltreptlist.setColumn(0, "indd", indd);
  240. ds_infcsmmrsltreptlist.setColumn(0, "cretno", cretno);
  241. ds_infcsmmrsltreptlist.setColumn(0, "psnflag", ioflag);
  242. }else if(ioflag == "O"){
  243. pid = ds_data_paminfo.getColumn(0, "pid");
  244. orddd = ds_data_paminfo.getColumn(0, "orddd");
  245. cretno = ds_data_paminfo.getColumn(0, "cretno");
  246. ds_infcsmmrsltreptlist.setColumn(0, "pid", pid);
  247. ds_infcsmmrsltreptlist.setColumn(0, "indd", orddd);
  248. ds_infcsmmrsltreptlist.setColumn(0, "cretno", cretno);
  249. ds_infcsmmrsltreptlist.setColumn(0, "psnflag", ioflag);
  250. }
  251. }else if(frmf_isPopup()){
  252. ds_infcsmmrsltreptlist.setColumn(0, "pid", opener.frmf_getParameter("pid"));
  253. ds_infcsmmrsltreptlist.setColumn(0, "indd", opener.frmf_getParameter("indd"));
  254. ds_infcsmmrsltreptlist.setColumn(0, "psnflag", opener.frmf_getParameter("psnflag"));
  255. ds_infcsmmrsltreptlist.setColumn(0, "wrtedt", opener.frmf_getParameter("wrtedt"));
  256. }
  257. if(!utlf_isNull(ds_infcsmmrsltreptlist.getColumn(0,"pid"))){
  258. var oParam = {};
  259. oParam.id = "TRASI01501";
  260. oParam.service = "infcmngtapp.LglyDisMngt";
  261. oParam.method = "reqGetLglyDisPatInfo";
  262. oParam.inds = "req=ds_infcsmmrsltreptlist";
  263. oParam.outds = "ds_getlglydisinfo=info";
  264. oParam.async = false;
  265. oParam.callback = "cf_TRASI01501";
  266. tranf_submit(oParam);
  267. if(arErrorCode.pop("TRASI01501") > -1){
  268. ds_infcsmmrsltreptlist.copyData(ds_getlglydisinfo);
  269. fChgReptDisable(result);
  270. }
  271. //@@
  272. var result = 1;
  273. if(!utlf_isNull(opener.frmf_getParameter("PrcpLglyDis"))){
  274. //처방에서 호출한 경우 상병체크하여 초기화
  275. fInit();
  276. result=6;
  277. }
  278. if(frmf_isPopup() && (opener.frmf_getParameter("state") == "U" || opener.frmf_getParameter("state") == "S" || !utlf_isNull(opener.frmf_getParameter("PrcpLglyDis")) )){
  279. ds_infcsmmrsltreptlist.setColumn(0, "state", opener.frmf_getParameter("state"));
  280. ds_infcsmmrsltreptlist.setColumn(0, "wrtedt", opener.frmf_getParameter("wrtedt"));
  281. ds_infcsmmrsltreptlist.setColumn(0, "seqno", opener.frmf_getParameter("seqno"));
  282. dsf_createDsRow("ds_reptdtinfo",
  283. [{col:"reptdt" , type:"string", size:256, val:opener.frmf_getParameter("reptdt")},
  284. {col:"reptyn" , type:"string", size:256, val:opener.frmf_getParameter("reptyn")},
  285. {col:"chgyn" , type:"string", size:256, val:opener.frmf_getParameter("chgyn")},
  286. {col:"prt_reptdt" , type:"string", size:256, val:opener.frmf_getParameter( "prt_reptdt")}
  287. ]);
  288. }else if(frmf_isPopup() && (opener.frmf_getParameter("state") != "U" || utlf_isNull(opener.frmf_getParameter("PrcpLglyDis"))) ){
  289. ds_infcsmmrsltreptlist.setColumn(0, "state", opener.frmf_getParameter("state"));
  290. dsf_createDsRow("ds_send_reqdata",
  291. [{col:"pid" , type:"string", size:256, val:ds_infcsmmrsltreptlist.getColumn(0,"pid")},
  292. {col:"reptflag" , type:"string", size:256, val:ds_infcsmmrsltreptlist.getColumn(0,"reptflag")}
  293. ]);
  294. strRegtdt = "";
  295. dsf_createDs("ds_reptdtinfo");
  296. var oParam = {};
  297. oParam.id = "TRASI01502";
  298. oParam.service = "infcmngtapp.LglyDisMngt";
  299. oParam.method = "reqGetReptdtInfo";
  300. oParam.inds = "req=ds_send_reqdata";
  301. oParam.outds = "ds_reptdtinfo=reptdtinfo";
  302. oParam.async = false;
  303. oParam.callback = "cf_TRASI01502";
  304. tranf_submit(oParam);
  305. if (arErrorCode.pop("TRASI01502") > -1){
  306. strRegtdt = ds_reptdtinfo.getColumn(0,"reptdt");
  307. }
  308. if( !utlf_isNull(strRegtdt) ){
  309. strYearCal = (iDate.getAddDate(-1, "Y")).getDateFormat();
  310. }
  311. if( ds_reptdtinfo.getColumn(0,"reptyn") == 'N' ){
  312. result = sysf_messageBox(strRegtdt.substring(0,4)+"년 "+strRegtdt.substring(4,6)+"월 "+strRegtdt.substring(6,8)+"일 "
  313. + "산모 B형감염 (으)로 전염병이 신고되어 있어 \n 신규 입력이 아니면 자료가 중복됩니다. \n 그래도 ", "Q003");
  314. }
  315. }
  316. fChgReptDisable();
  317. }else{
  318. grp_btn.enable = false;
  319. }
  320. }
  321. function grp_btn_btn_save_onclick(obj:Button, e:ClickEventInfo)
  322. {
  323. dsf_makeValue(ds_infcsmmrsltreptlist,"reptflag","string", "08");
  324. dsf_makeValue(ds_infcsmmrsltreptlist,"lglydiscd","string", "604");
  325. if( !frmf_isRequiredControls("ipt_diagdd") ){
  326. return;
  327. }
  328. if(utlf_isNull(ds_infcsmmrsltreptlist.getColumn(0,"diagdd")) ){
  329. sysf_messageBox("진단일은 ","I003");
  330. return;
  331. }
  332. if(utlf_isNull(ds_infcsmmrsltreptlist.getColumn(0,"spckindcd"))){
  333. sysf_messageBox("전염병명은","I003");
  334. return;
  335. }
  336. if(utlf_isNull(ds_infcsmmrsltreptlist.getColumn(0,"preinochstflag"))){
  337. sysf_messageBox("예방접종내력은","I003");
  338. return;
  339. }
  340. if(utlf_isNull(ds_infcsmmrsltreptlist.getColumn(0,"wrtedt"))){
  341. ds_infcsmmrsltreptlist.setColumn(0,"state", "I");
  342. ds_infcsmmrsltreptlist.setColumn(0,"wrtedt", utlf_getCurrentDate() +""+ utlf_getCurrentTime());
  343. } else {
  344. ds_infcsmmrsltreptlist.setColumn(0,"state", "U");
  345. }
  346. ds_infcsmmrsltreptlist.setColumn(0,"orddeptcd", ds_data_paminfo.getColumn(0,"orddeptcd"));
  347. //@@
  348. var Curstate = ds_infcsmmrsltreptlist.getColumn(0,"state")
  349. var oParam = {};
  350. oParam.id = "TXASI03401";
  351. oParam.service = "infcmngtapp.LglyDisMngt";
  352. oParam.method = "reqExeSpclLglyDisRec";
  353. oParam.inds = "req=ds_infcsmmrsltreptlist";
  354. oParam.outds = "ds_getlglydisinfo=info";
  355. oParam.async = false;
  356. oParam.callback = "cf_TXASI03401";
  357. tranf_submit(oParam);
  358. if(arErrorCode.pop("TXASI03401") > -1) {
  359. ds_infcsmmrsltreptlist.copyData(ds_getlglydisinfo);
  360. //@@
  361. if(Curstate == "I"){
  362. sysf_messageBox("저장되었습니다","I");
  363. }else if (Curstate == "U"){
  364. sysf_messageBox("수정되었습니다.","I");
  365. }
  366. this.close();
  367. }
  368. }
  369. function grp_btn_btn_init_onclick(obj:Button, e:ClickEventInfo)
  370. {
  371. fInit();
  372. }
  373. function btn_cncl_onclick(obj:Button, e:ClickEventInfo)
  374. {
  375. if(ds_reptdtinfo.getColumn(0, "prt_reptdt").substring(0,8) != "99991231" ){ //작성일자가 아닌 신고일자로 체크하도록 수정 (2009.11.13 JJE)
  376. sysf_messageBox(" 이미 신고된 건은 삭제 " ,"E001");
  377. return;
  378. }
  379. var result = sysf_messageBox("","Q001"); //삭제하시겠습니까?
  380. if (result == "7"){
  381. sysf_messageBox("삭제가 취소되었습니다","I");
  382. return;
  383. }else if (result =="6")
  384. {
  385. dsf_makeValue(ds_reptdtinfo,"reptdt", "string",opener.frmf_getParameter("reptdt")); //추가 (2009.11.13 JJE)
  386. dsf_makeValue(ds_reptdtinfo,"reptyn", "string",opener.frmf_getParameter("reptyn")); //추가 (2009.11.13 JJE)
  387. dsf_makeValue(ds_reptdtinfo,"chgyn", "string",opener.frmf_getParameter("chgyn")); //추가 (2009.11.13 JJE)
  388. dsf_makeValue(ds_reptdtinfo,"prt_reptdt", "string",opener.frmf_getParameter("prt_reptdt")); //추가 (2009.11.13 JJE)
  389. ds_infcsmmrsltreptlist.setColumn(0,"state", "D");
  390. var oParam = {};
  391. oParam.id = "TXASI03401";
  392. oParam.service = "infcmngtapp.LglyDisMngt";
  393. oParam.method = "reqExeSpclLglyDisRec";
  394. oParam.inds = "req=ds_infcsmmrsltreptlist";
  395. oParam.outds = "ds_getlglydisinfo=info";
  396. oParam.async = false;
  397. oParam.callback = "cf_TXASI03401";
  398. tranf_submit(oParam);
  399. if(arErrorCode.pop("TXASI03401") > -1){
  400. ds_infcsmmrsltreptlist.copyData(ds_getlglydisinfo);
  401. dsf_createDsRow("ds_send_reqdata",
  402. [{col:"pid" , type:"string", size:256, val:ds_infcsmmrsltreptlist.getColumn(0,"pid")},
  403. {col:"reptflag" , type:"string", size:256, val:ds_infcsmmrsltreptlist.getColumn(0,"reptflag")}
  404. ]);
  405. dsf_createDs("ds_reptdtinfo");
  406. var oParam = {};
  407. oParam.id = "TRASI01502";
  408. oParam.service = "infcmngtapp.LglyDisMngt";
  409. oParam.method = "reqGetReptdtInfo";
  410. oParam.inds = "req=ds_send_reqdata";
  411. oParam.outds = "ds_reptdtinfo=reptdtinfo";
  412. oParam.async = false;
  413. oParam.callback = "cf_TRASI01502";
  414. tranf_submit(oParam);
  415. if(arErrorCode.pop("TRASI01502") > -1){
  416. if( utlf_isNull(ds_reptdtinfo.getColumn(0,"reptdt")) ){
  417. sysf_messageBox("삭제" ,"I001");
  418. this.close();
  419. }
  420. }
  421. }
  422. }
  423. }
  424. ]]></Script>
  425. </Form>
  426. </FDL>