SMRPB60000_개인용인증서신청등록.xrw 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet ype="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  4. <xhtml:head>
  5. <xhtml:title>개인용 인증서 신청</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <certdocument>
  11. <certdocumentlist/>
  12. <certbaselist/>
  13. </certdocument>
  14. <copycertdocument>
  15. <certdocumentlist/>
  16. </copycertdocument>
  17. <issflag>
  18. <issflaglist/>
  19. </issflag>
  20. </main>
  21. <send>
  22. <certdocument>
  23. <emplno/>
  24. <emplnm/>
  25. </certdocument>
  26. <save>
  27. <certdocumentlist/>
  28. </save>
  29. <issflag>
  30. <emplno/>
  31. <instcd/>
  32. <issflag/>
  33. </issflag>
  34. <print>
  35. <certdocumentlist/>
  36. </print>
  37. </send>
  38. <temp/>
  39. <init/>
  40. </root>
  41. </instance>
  42. <submission id="TRRPB60001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/certdocument" resultref="/root/main/certdocument"/>
  43. <submission id="TXRPB60001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/temp"/>
  44. <submission id="TRRPB60002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/issflag" resultref="/root/main/issflag"/>
  45. </model>
  46. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  47. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  48. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  49. <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
  50. <script type="javascript" ev:event="xforms-ready">
  51. <![CDATA[
  52. fInitialize();
  53. ]]>
  54. </script>
  55. <script type="javascript">
  56. <![CDATA[
  57. function fInitialize()
  58. {
  59. model.removenode(grd_certdocumentlist.nodeset);
  60. model.refresh();
  61. // misfComboComCdList("Z0007", cmb_instcd);
  62. // misfGridComboComCdList("Z0007", grd_emplauthlist, "dutplceinst");
  63. // makeReportPreview(0,1,1,1);
  64. model.refresh();
  65. misfMsterDetailSet(grd_certdocumentlist, null, "TRRPB60001", "Y");
  66. // model.setValue("/root/send/retrparams/instcd", getUserInfo("dutplceinstcd"));
  67. // grd_emplauthlist.rowHeight(0) = 35;
  68. // if(getUserInfo("dutplceinstcd") != "001")
  69. // {
  70. // cmb_instcd.disabled= true;
  71. // }
  72. // btn_search.dispatch("DOMActivate");
  73. ipt_emplno.value = getUserInfo("userid");
  74. ipt_emplnm.value = getUserInfo("usernm");
  75. misfMsterDetailRetrieve();
  76. //model.refresh();
  77. }
  78. function fDisableSet(pBool) {
  79. ipt_name.disabled = pBool;
  80. ipt_emplengnm.disabled = pBool;
  81. ipt_rregno.disabled = pBool;
  82. ipt_mpphonno.disabled = pBool;
  83. ipt_email.disabled = pBool;
  84. ipt_telno.disabled = pBool;
  85. //cmb_appflag.disabled = pBool;
  86. cmb_reissresn.disabled = pBool;
  87. ipt_etcresn.disabled = pBool;
  88. //cmb_grdecd.disabled = pBool;
  89. if (grd_certdocumentlist.rowStatus(grd_certdocumentlist.row) == "1" && pBool == false) {
  90. cmb_issflag.disabled = false;
  91. }
  92. else {
  93. cmb_issflag.disabled = true;
  94. }
  95. //cmb_appflag.disabled = pBool;
  96. }
  97. function fSaveCheck() {
  98. if (ipt_name.value == "" ) {
  99. messageBox("성명(한글)을 입력 하세요.","");
  100. return false;
  101. }
  102. /*if (ipt_emplengnm.value == "") {
  103. messageBox("성명(영문)을 입력 하세요.","");
  104. return false;
  105. }*/
  106. if (ipt_rregno.value == "") {
  107. messageBox("주민 등록 번호를 입력 하세요.","");
  108. return false;
  109. }
  110. /*if (ipt_mpphonno.value == "") {
  111. messageBox("휴대폰 번호를 입력 하세요.","");
  112. return false;
  113. }*/
  114. /*if (ipt_email.value == "") {
  115. messageBox("이메일을 입력 하세요.","");
  116. return false;
  117. }*/
  118. /*if (ipt_telno.value == "") {
  119. messageBox("전화 번호를 입력 하세요.","");
  120. return false;
  121. }*/
  122. return true;
  123. }
  124. ]]>
  125. </script>
  126. </xhtml:head>
  127. <xhtml:body style="margin-left:8; margin-right:8; ">
  128. <group id="group2" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
  129. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; height:36px; "/>
  130. <caption id="caption278" class="tit_2" style="left:5px; top:55px; width:162px; height:14px; ">인증서 신청 내용</caption>
  131. <line id="line207" class="line_1" style="x1:0px; y1:70px; x2:1193px; y2:69px; "/>
  132. <caption id="caption3" class="search_name" style="left:5px; top:20px; width:86px; height:17px; ">사원번호 :</caption>
  133. <button id="btn_search" class="btn1_letter2" navindex="8" style="left:1125px; top:17px; width:56px; height:22px; text-align:left; ">
  134. <caption>조회</caption>
  135. <script type="javascript" ev:event="DOMActivate">
  136. <![CDATA[
  137. model.resetInstanceNode("/root/main/copycertdocument/certdocumentlist");
  138. fDisableSet(true);
  139. misfMsterDetailRetrieve();
  140. ]]>
  141. </script>
  142. </button>
  143. <line id="line3" class="line_4" style="x1:1110px; y1:14px; x2:1110px; y2:42px; border-color:#ffe4bb; border-left-style:solid; "/>
  144. <input id="ipt_lbrunionjobrespnm" ref="/root/main/item/lbrunionjobrespnm" class="input_search" visibility="hidden"/>
  145. <input id="ipt_lbrunionjobresp" ref="/root/main/item/dutplceinst" visibility="hidden"/>
  146. <input id="ipt_emplno_m" ref="/root/main/imsiitem/emplno" visibility="hidden"/>
  147. <input id="ipt_lbrunionrgstyn_m" ref="/root/main/imsiitem/lbrunionrgstyn" visibility="hidden"/>
  148. <input id="ipt_lbrunionrgstdd_m" ref="/root/main/imsiitem/lbrunionrgstdd" visibility="hidden"/>
  149. <input id="ipt_lbrunionsecssdd_m" ref="/root/main/imsiitem/lbrunionsecssdd" visibility="hidden"/>
  150. <input id="ipt_lbrunionjobresp_m" ref="/root/main/imsiitem/lbrunionjobresp" visibility="hidden"/>
  151. <input id="ipt_lbrunionjobrespnm_m" ref="/root/main/imsiitem/lbrunionjobrespnm" visibility="hidden"/>
  152. <input id="ipt_asgnmpostndd_m" ref="/root/main/imsiitem/asgnmpostndd" visibility="hidden"/>
  153. <input id="ipt_todd_m" ref="/root/main/imsiitem/todd" visibility="hidden"/>
  154. <input id="ipt_cur_row" ref="/root/init/cur_row_m" class="input_search" visibility="hidden"/>
  155. <datagrid id="grd_certdocumentlist" nodeset="/root/main/certdocument/certdocumentlist" caption="인증서종류^신청구분^신청일^기관^부서^성명^영문성명^휴대폰^이메일^전화번호^신청여부^발급여부^주민등록번호^기관^재발급사유^기타사유^인증서등급^용도^사번^신청구분OLD^발급구분^기관명^근무부서코드|인증서종류^신청구분^신청일^기관^부서^성명^영문성명^휴대폰^이메일^전화번호^신청여부^발급여부^주민등록번호^기관^재발급사유^기타사유^인증서등급^용도^사번^신청구분OLD^발급구분^기관명^근무부서코드" colsep="^" colwidth="100, 106, 97, 121, 133, 91, 99, 109, 141, 89, 34, 32, 85, 32, 32, 40, 45, 31, 25, 100, 100, 100, 100, 100, 100, 100" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:0px; top:73px; width:1193px; height:522px; ">
  156. <col disabled="true" ref="issflag" type="combo">
  157. <choices>
  158. <item>
  159. <label>EMR</label>
  160. <value>01</value>
  161. </item>
  162. <item>
  163. <label>VPN</label>
  164. <value>02</value>
  165. </item>
  166. </choices>
  167. </col>
  168. <col disabled="true" ref="appflag" type="combo">
  169. <choices>
  170. <item>
  171. <label>신규발급</label>
  172. <value>01</value>
  173. </item>
  174. <item>
  175. <label>재발급</label>
  176. <value>02</value>
  177. </item>
  178. </choices>
  179. </col>
  180. <col ref="appdd"/>
  181. <col ref="instnm"/>
  182. <col ref="deptnm"/>
  183. <col ref="emplnm"/>
  184. <col ref="emplengnm"/>
  185. <col ref="mpphonno"/>
  186. <col ref="emailaddr"/>
  187. <col ref="telno"/>
  188. <col ref="cnfmyn"/>
  189. <col ref="psnworkteamcnfmyn" style="left:458px; top:43px; width:99px; height:23px; "/>
  190. <col ref="rregno" visibility="hidden"/>
  191. <col ref="instcd" visibility="hidden"/>
  192. <col ref="reissresn" visibility="hidden"/>
  193. <col ref="etcresn" visibility="hidden"/>
  194. <col ref="grdecd" visibility="hidden"/>
  195. <col ref="usgecd" visibility="hidden"/>
  196. <col ref="oldappflag" visibility="hidden"/>
  197. <col ref="emplno" visibility="hidden"/>
  198. <col ref="oldissflag" visibility="hidden"/>
  199. <col ref="issflagnm" visibility="hidden"/>
  200. <col ref="appflagnm" visibility="hidden"/>
  201. <col ref="reissresnnm" visibility="hidden"/>
  202. <col ref="grdecdnm" visibility="hidden"/>
  203. <col ref="deptcd" visibility="hidden"/>
  204. <script type="javascript" ev:event="onrowchanged">
  205. <![CDATA[
  206. model.copyNode("/root/main/copycertdocument/certdocumentlist",
  207. "/root/main/certdocument/certdocumentlist[" + (grd_certdocumentlist.row - grd_certdocumentlist.fixedRows + 1) + "]") ;
  208. if (grd_certdocumentlist.valueMatrix(grd_certdocumentlist.row, grd_certdocumentlist.colRef("psnworkteamcnfmyn")) == "Y") {
  209. fDisableSet(true);
  210. btn_cnfmyn.disabled = true;
  211. btn_cnfmyncan.disabled = true;
  212. }
  213. else {
  214. if (grd_certdocumentlist.valueMatrix(grd_certdocumentlist.row, grd_certdocumentlist.colRef("cnfmyn")) == "Y") {
  215. fDisableSet(true);
  216. btn_cnfmyn.disabled = true;
  217. btn_cnfmyncan.disabled = false;
  218. }
  219. else {
  220. fDisableSet(false);
  221. btn_cnfmyn.disabled = false;
  222. btn_cnfmyncan.disabled = true;
  223. }
  224. }
  225. model.refresh();
  226. cmb_appflag.dispatch("xforms-value-changed");
  227. ]]>
  228. </script>
  229. </datagrid>
  230. <input id="ipt_emplno" ref="/root/send/certdocument/emplno" class="input_search" disabled="true" style="left:93px; top:19px; width:65px; height:19px; ">
  231. <script type="javascript" ev:event="onkeypress">
  232. <![CDATA[
  233. if(event.keyCode == 13)
  234. {
  235. if(ipt_emplno.value == ipt_emplno.currentText) return;
  236. ipt_emplno.value = ipt_emplno.currentText;
  237. rpbfValidationCheck("EMPLNO", "emplno,emplnm");
  238. model.refresh();
  239. }
  240. ]]>
  241. </script>
  242. <script type="javascript" ev:event="xforms-value-changed">
  243. <![CDATA[
  244. rpbfValidationCheck("EMPLNO", "emplno,emplnm");
  245. model.refresh();
  246. ]]>
  247. </script>
  248. </input>
  249. <button id="btn_emplhelp" class="icon_search" disabled="false" style="left:162px; top:21px; width:16px; height:16px; ">
  250. <caption/>
  251. <script type="javascript" ev:event="DOMActivate">
  252. <![CDATA[
  253. rpbfOpenPopUpList("SPRPB00101", ipt_emplno, "emplno,emplnm", "", "N");
  254. model.refresh();
  255. ]]>
  256. </script>
  257. </button>
  258. <input id="ipt_emplnm" ref="/root/send/certdocument/emplnm" class="input_search" disabled="true" style="left:182px; top:19px; width:120px; height:19px; ">
  259. <script type="javascript" ev:event="onkeypress">
  260. <![CDATA[
  261. if(event.keyCode == 13)
  262. {
  263. if(ipt_emplnm.value == ipt_emplnm.currentText) return;
  264. ipt_emplnm.value = ipt_emplnm.currentText;
  265. rpbfValidationCheck("EMPLNM", "emplno,emplnm");
  266. model.refresh();
  267. }
  268. ]]>
  269. </script>
  270. <script type="javascript" ev:event="xforms-value-changed">
  271. <![CDATA[
  272. rpbfValidationCheck("EMPLNM", "emplno,emplnm");
  273. model.refresh();
  274. ]]>
  275. </script>
  276. </input>
  277. <button id="btn_addrow" class="btn2_letter3" style="left:1085px; top:605px; width:53px; height:19px; ">
  278. <caption>추가</caption>
  279. <script type="javascript" ev:event="DOMActivate">
  280. <![CDATA[
  281. var updtdata = getGridUpdateData(grd_certdocumentlist);
  282. if (updtdata != "" ) {
  283. messageBox("변경된 데이터가 존재 합니다. 저장후 확정 하세요.","");
  284. return;
  285. }
  286. misfGridIUD(grd_certdocumentlist, "A");
  287. model.copyNode("/root/main/certdocument/certdocumentlist[" + (grd_certdocumentlist.row - grd_certdocumentlist.fixedRows + 1) + "]",
  288. "/root/main/certdocument/certbaselist");
  289. fDisableSet(false);
  290. model.copyNode("/root/main/copycertdocument/certdocumentlist",
  291. "/root/main/certdocument/certbaselist");
  292. model.refresh();
  293. cmb_issflag.dispatch("xforms-value-changed");
  294. ]]>
  295. </script>
  296. </button>
  297. <button id="btn_delrow" class="btn2_letter3" style="left:1140px; top:605px; width:53px; height:19px; ">
  298. <caption>삭제</caption>
  299. <script type="javascript" ev:event="DOMActivate">
  300. <![CDATA[
  301. if (grd_certdocumentlist.valueMatrix(grd_certdocumentlist.row,
  302. grd_certdocumentlist.colRef("cnfmyn") ) == "Y") {
  303. messageBox("확정이 되어서 삭제 할 수 없습니다.","");
  304. return;
  305. }
  306. misfGridIUD(grd_certdocumentlist, "D");
  307. ]]>
  308. </script>
  309. </button>
  310. <caption id="caption329" class="cell_1" style="left:308px; top:631px; width:90px; height:23px; ">성명(영문)</caption>
  311. <caption id="caption2" class="cell_1" style="left:3px; top:631px; width:90px; height:23px; ">성명(한글)</caption>
  312. <input id="ipt_name" ref="/root/main/copycertdocument/certdocumentlist/emplnm" class="input_essential" disabled="true" navindex="2" style="left:95px; top:633px; width:203px; height:19px; font-family:굴림체; font-size:12pt; font-weight:bold; color:#0000ff; "/>
  313. <input id="ipt_emplengnm" ref="/root/main/copycertdocument/certdocumentlist/emplengnm" class="input_essential" disabled="true" navindex="3" style="left:400px; top:633px; width:208px; height:19px; "/>
  314. <caption id="caption308" class="cell_1" style="left:615px; top:631px; width:90px; height:23px; vertical-align:middle; ">주민등록번호</caption>
  315. <input id="ipt_rregno" ref="/root/main/copycertdocument/certdocumentlist/rregno" class="input_essential" disabled="true" navindex="10" format="999999-9999999" style="left:707px; top:633px; width:203px; height:19px; "/>
  316. <caption id="caption1" class="cell_1" style="left:3px; top:656px; width:90px; height:23px; vertical-align:middle; ">Email</caption>
  317. <input id="ipt_email" ref="/root/main/copycertdocument/certdocumentlist/emailaddr" class="input_essential" disabled="true" navindex="10" style="left:95px; top:658px; width:203px; height:19px; "/>
  318. <caption id="caption333" class="cell_1" style="left:920px; top:631px; width:90px; height:23px; ">휴대폰</caption>
  319. <input id="ipt_mpphonno" ref="/root/main/copycertdocument/certdocumentlist/mpphonno" class="input_essential" disabled="true" navindex="9" style="left:1012px; top:633px; width:178px; height:19px; "/>
  320. <input id="ipt_telno" ref="/root/main/copycertdocument/certdocumentlist/telno" class="input_essential" disabled="true" navindex="8" style="left:400px; top:658px; width:208px; height:19px; "/>
  321. <caption id="caption331" class="cell_1" style="left:308px; top:656px; width:90px; height:23px; ">전화번호</caption>
  322. <line id="line1" class="line_1" style="x1:0px; y1:628px; x2:1193px; y2:627px; "/>
  323. <caption id="caption4" class="tit_2" style="left:5px; top:611px; width:180px; height:14px; ">공인 인증서 신청</caption>
  324. <select1 id="cmb_appflag" ref="/root/main/copycertdocument/certdocumentlist/appflag" class="combo_essential" disabled="true" navindex="7" appearance="minimal" style="left:400px; top:693px; width:208px; height:19px; ">
  325. <choices>
  326. <item>
  327. <label>신규발급</label>
  328. <value>01</value>
  329. </item>
  330. <item>
  331. <label>재발급</label>
  332. <value>02</value>
  333. </item>
  334. </choices>
  335. <script type="javascript" ev:event="xforms-value-changed">
  336. <![CDATA[
  337. if (grd_certdocumentlist.valueMatrix(grd_certdocumentlist.row, grd_certdocumentlist.colRef("cnfmyn")) != "Y") {
  338. if (cmb_appflag.value == "01") {
  339. cmb_reissresn.value = "";
  340. ipt_etcresn.value = "";
  341. cmb_reissresn.disabled = true;
  342. ipt_etcresn.disabled = true;
  343. }
  344. else {
  345. cmb_reissresn.disabled = false;
  346. ipt_etcresn.disabled = false;
  347. }
  348. }
  349. ]]>
  350. </script>
  351. </select1>
  352. <caption id="caption5" class="cell_1" style="left:308px; top:691px; width:90px; height:23px; ">신청구분</caption>
  353. <select1 id="cmb_reissresn" ref="/root/main/copycertdocument/certdocumentlist/reissresn" class="combo_essential" disabled="true" navindex="7" appearance="minimal" style="left:707px; top:693px; width:208px; height:19px; ">
  354. <choices>
  355. <item>
  356. <label>전자서명비밀번호분실</label>
  357. <value>01</value>
  358. </item>
  359. <item>
  360. <label>인증서 분실/삭제</label>
  361. <value>02</value>
  362. </item>
  363. <item>
  364. <label>저장매체 포맷폐지시 사유</label>
  365. <value>03</value>
  366. </item>
  367. <item>
  368. <label>전자서명생성키 신뢰 손상</label>
  369. <value>04</value>
  370. </item>
  371. <item>
  372. <label>가입자식별명(DN)의 변경</label>
  373. <value>05</value>
  374. </item>
  375. <item>
  376. <label>인증서를 더이상 사용하지 않음</label>
  377. <value>06</value>
  378. </item>
  379. </choices>
  380. </select1>
  381. <caption id="caption7" class="cell_1" style="left:615px; top:691px; width:90px; height:23px; ">재발급사유</caption>
  382. <caption id="caption8" class="cell_1" style="left:3px; top:716px; width:90px; height:23px; vertical-align:middle; ">기타사유</caption>
  383. <input id="ipt_etcresn" ref="/root/main/copycertdocument/certdocumentlist/etcresn" class="input_essential" disabled="true" navindex="10" style="left:95px; top:718px; width:513px; height:19px; "/>
  384. <select1 id="cmb_grdecd" ref="/root/main/copycertdocument/certdocumentlist/grdecd" class="combo_essential" disabled="true" navindex="7" appearance="minimal" style="left:707px; top:718px; width:208px; height:19px; ">
  385. <choices>
  386. <item>
  387. <label>Platinum(플레티넘)</label>
  388. <value>01</value>
  389. </item>
  390. <item>
  391. <label>Gold(골드)</label>
  392. <value>02</value>
  393. </item>
  394. <item>
  395. <label>Silver(실버)</label>
  396. <value>03</value>
  397. </item>
  398. </choices>
  399. </select1>
  400. <caption id="caption9" class="cell_1" style="left:615px; top:716px; width:90px; height:23px; ">인증서 등급</caption>
  401. <line id="line2" class="line_3" style="x1:0px; y1:683px; x2:1193px; y2:683px; "/>
  402. <select1 id="cmb_issflag" ref="/root/main/copycertdocument/certdocumentlist/issflag" class="combo_essential" disabled="true" navindex="7" appearance="minimal" style="left:95px; top:693px; width:203px; height:19px; ">
  403. <choices>
  404. <item>
  405. <label>EMR</label>
  406. <value>01</value>
  407. </item>
  408. <item>
  409. <label>VPN</label>
  410. <value>02</value>
  411. </item>
  412. </choices>
  413. <script type="javascript" ev:event="xforms-value-changed">
  414. <![CDATA[
  415. model.setValue("/root/send/issflag/emplno", grd_certdocumentlist.valueMatrix(grd_certdocumentlist.row, grd_certdocumentlist.colRef("emplno")));
  416. model.setValue("/root/send/issflag/instcd", grd_certdocumentlist.valueMatrix(grd_certdocumentlist.row, grd_certdocumentlist.colRef("instcd")));
  417. model.setValue("/root/send/issflag/issflag", cmb_issflag.value);
  418. submit("TRRPB60002");
  419. cmb_appflag.value = model.getValue("/root/main/issflag/issflaglist/appflag");
  420. cmb_appflag.dispatch("xforms-value-changed");
  421. model.refresh();
  422. ]]>
  423. </script>
  424. </select1>
  425. <caption id="caption10" class="cell_1" style="left:3px; top:691px; width:90px; height:23px; ">인증서종류</caption>
  426. </group>
  427. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  428. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">개인용 공인 인증서 신청</caption>
  429. </group>
  430. <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
  431. <button id="btn_save" class="btn4_letter2" style="left:1139px; top:3px; width:56px; height:22px; ">
  432. <caption>저장</caption>
  433. <script type="javascript" ev:event="DOMActivate">
  434. <![CDATA[
  435. var bfstr = getNodeListCSV(instance1.selectNodes("/root/main/certdocument/certdocumentlist[" + (grd_certdocumentlist.row - grd_certdocumentlist.fixedRows + 1) + "]"));
  436. var afstr = getNodeListCSV(instance1.selectNodes("/root/main/copycertdocument/certdocumentlist"));
  437. if (bfstr != afstr) {
  438. model.removenode("/root/send/save");
  439. model.makeNode("/root/send/save/certdocumentlist");
  440. model.copyNode("/root/main/certdocument/certdocumentlist[" + (grd_certdocumentlist.row - grd_certdocumentlist.fixedRows + 1) + "]",
  441. "/root/main/copycertdocument/certdocumentlist");
  442. model.refresh();
  443. if (grd_certdocumentlist.rowstatus(grd_certdocumentlist.row) == 0 ||
  444. grd_certdocumentlist.rowstatus(grd_certdocumentlist.row) == 2) {
  445. grd_certdocumentlist.rowstatus(grd_certdocumentlist.row) = 2;
  446. }
  447. }
  448. if (fSaveCheck() == false) {
  449. return;
  450. }
  451. misfSave("TXRPB60001");
  452. btn_search.dispatch("DOMActivate");
  453. ]]>
  454. </script>
  455. </button>
  456. <line id="line75" class="line_6" style="x1:0; y1:25; x2:1195; y2:25; "/>
  457. <button id="btn_cnfmyn" class="btn4_letter2" style="left:1082px; top:3px; width:56px; height:22px; ">
  458. <caption>신청</caption>
  459. <script type="javascript" ev:event="DOMActivate">
  460. <![CDATA[
  461. var updtdata = getGridUpdateData(grd_certdocumentlist);
  462. if (updtdata != "" ) {
  463. messageBox("변경된 데이터가 존재 합니다. 저장후 확정 하세요.","");
  464. return;
  465. }
  466. model.setValue("/root/main/copycertdocument/certdocumentlist/cnfmyn","Y");
  467. model.removenode("/root/send/save");
  468. model.makeNode("/root/send/save/certdocumentlist");
  469. model.copyNode("/root/main/certdocument/certdocumentlist[" + (grd_certdocumentlist.row - grd_certdocumentlist.fixedRows + 1) + "]",
  470. "/root/main/copycertdocument/certdocumentlist");
  471. model.refresh();
  472. grd_certdocumentlist.rowstatus(grd_certdocumentlist.row) = 2;
  473. misfSave("TXRPB60001");
  474. if (model.getValue(gvErrorMsgPath + "/type") != "error") {
  475. btn_cnfmyn.disabled = true;
  476. btn_cnfmyncan.disabled = false;
  477. fDisableSet(true);
  478. model.copyNode("/root/send/print/certdocumentlist", "/root/main/certdocument/certdocumentlist[" + (grd_certdocumentlist.row - grd_certdocumentlist.fixedRows + 1) + "]");
  479. exeReportPreview("RPRPB60000", "XMLSTR" , "" , "" , "true" , "false", "", "", "", "true","","","","","","","","false");
  480. exeReportPreview("RPRPB60001", "XMLSTR" , "" , "" , "true" , "false", "", "", "", "true","","","","","","","","false");
  481. }
  482. ]]>
  483. </script>
  484. </button>
  485. <button id="btn_cnfmyncan" class="btn4_letter4" disabled="true" style="left:1001px; top:3px; width:80px; height:22px; ">
  486. <caption>신청취소</caption>
  487. <script type="javascript" ev:event="DOMActivate">
  488. <![CDATA[
  489. var updtdata = getGridUpdateData(grd_certdocumentlist);
  490. if (updtdata != "" ) {
  491. messageBox("변경된 데이터가 존재 합니다. 저장후 확정 하세요.","");
  492. return;
  493. }
  494. model.setValue("/root/main/copycertdocument/certdocumentlist/cnfmyn","N");
  495. model.removenode("/root/send/save");
  496. model.makeNode("/root/send/save/certdocumentlist");
  497. model.copyNode("/root/main/certdocument/certdocumentlist[" + (grd_certdocumentlist.row - grd_certdocumentlist.fixedRows + 1) + "]",
  498. "/root/main/copycertdocument/certdocumentlist");
  499. model.refresh();
  500. grd_certdocumentlist.rowstatus(grd_certdocumentlist.row) = 2;
  501. misfSave("TXRPB60001");
  502. btn_cnfmyn.disabled = false;
  503. btn_cnfmyncan.disabled = true;
  504. fDisableSet(false);
  505. ]]>
  506. </script>
  507. </button>
  508. </group>
  509. </xhtml:body>
  510. </xhtml:html>