SMZSU10500_사용자연계에러로그관리.xrw 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="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. <list>
  11. <userlinkcallbacklist>
  12. </userlinkcallbacklist>
  13. </list>
  14. </main>
  15. <send>
  16. <userid/>
  17. <fromdd/>
  18. <userkindcd/>
  19. <usernm/>
  20. <pwd/>
  21. <todd/>
  22. <posinstcd/>
  23. <posdeptcd/>
  24. <orginstcd/>
  25. <orgdeptcd/>
  26. <email/>
  27. <mpphonno/>
  28. <rrgstno/>
  29. <entcodd/>
  30. <pdano/>
  31. <anouserid/>
  32. <dutinstcd/>
  33. <dutunitcd/>
  34. <dutplceinstcd/>
  35. <dutplcecd/>
  36. <psnworkyn/>
  37. <licnsno/>
  38. <medispclno/>
  39. <specordyn/>
  40. <majorfild/>
  41. <prfshipflagcd/>
  42. <jobkindcd/>
  43. <jobposcd/>
  44. <jobrespcd/>
  45. <grupjoblncd/>
  46. <apntflag/>
  47. <tempyn/>
  48. <spnm/>
  49. <userlinknm/>
  50. <logstatus/>
  51. <serial/>
  52. <status/>
  53. <userengnm/>
  54. </send>
  55. <search>
  56. <userlinknm/>
  57. <logstatus/>
  58. </search>
  59. <hidden>
  60. <result/>
  61. </hidden>
  62. </root>
  63. </instance>
  64. <script type="javascript" ev:event="xforms-ready">
  65. <![CDATA[
  66. model.setValue("/root/search/logstatus", "N");
  67. model.refresh();
  68. ]]>
  69. </script>
  70. <submission id="TRZSU10112" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/list/userlinkcallbacklist"/>
  71. <submission id="TXZSU10114" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden"/>
  72. <submission id="TXZSU10115" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden/result"/>
  73. </model>
  74. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  75. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  76. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  77. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  78. <script type="javascript" src="../../../com/userdeptinfoweb/js/ZSU001.js"/>
  79. <script type="javascript" src="../../../com/userdeptinfoweb/js/ZSU002.js"/>
  80. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  81. </xhtml:head>
  82. <xhtml:body guideline="1,1195;2,236;2,237;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  83. <group id="grp_tle" style="left:0px; top:0px; width:1194px; height:13px; ">
  84. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">사용자연계에러로그관리</caption>
  85. </group>
  86. <group id="grp_biz" scroll="auto" style="left:0px; top:36px; width:1195px; height:744px; ">
  87. <group id="grp_sea" style="left:0px; top:10px; width:1195px; height:40px; vertical-align:top; ">
  88. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  89. <button id="btn_search" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
  90. <caption>조회</caption>
  91. <script type="javascript" ev:event="DOMActivate">
  92. <![CDATA[
  93. var userlinknm = model.getValue("/root/search/userlinknm");
  94. var logstatus = model.getValue("/root/search/logstatus");
  95. model.setValue("/root/send/userlinknm", userlinknm);
  96. model.setValue("/root/send/logstatus", logstatus);
  97. submit("TRZSU10112");
  98. /*
  99. for(var i=0; i<grd_userlinkcallbacklist.rows; i++){
  100. var delyn = grd_userlinkcallbacklist.valueMatrix(i, grd_userlinkcallbacklist.colRef("delyn"));
  101. if(delyn=="Y"){
  102. grd_userlinkcallbacklist.rowStyle(i, "data", "background-color" ) = "#b9e5fb";
  103. }else{
  104. grd_userlinkcallbacklist.rowStyle(i, "data", "background-color" ) = "#c8e67b";
  105. }
  106. }
  107. */
  108. model.refresh();
  109. ]]>
  110. </script>
  111. </button>
  112. <select1 id="rd_logstatus" ref="/root/search/logstatus" appearance="full" cols="3" rows="1" overflow="visible" style="left:855px; top:10px; width:205px; height:20px; font-weight:bold; border-style:none; ">
  113. <choices>
  114. <item>
  115. <label>재처리필요항목</label>
  116. <value>N</value>
  117. </item>
  118. <item>
  119. <label>처리된항목</label>
  120. <value>Y</value>
  121. </item>
  122. </choices>
  123. <script type="javascript" ev:event="xforms-select">
  124. <![CDATA[
  125. model.removenode("/root/main/list/userlinkcallbacklist");
  126. model.makenode("/root/main/list/userlinkcallbacklist");
  127. model.refresh();
  128. ]]>
  129. </script>
  130. </select1>
  131. </group>
  132. <line id="line12" class="line_1" style="x1:0px; y1:725px; x2:1194px; y2:725px; "/>
  133. <line id="line1" class="line_1" style="x1:0px; y1:75px; x2:1194px; y2:75px; "/>
  134. <line id="line9" class="line_3" style="x1:0px; y1:395px; x2:1194px; y2:395px; "/>
  135. <line id="line2" class="line_3" style="x1:0px; y1:724px; x2:1194px; y2:724px; "/>
  136. <caption id="caption17" class="tit_2" style="left:0px; top:55px; width:160px; height:14px; ">사용자연계에러로그목록</caption>
  137. <button id="btn_save_excel" class="btn2_letter4" navindex="15" style="left:1127px; top:54px; width:64px; height:19px; ">
  138. <caption>엑셀저장</caption>
  139. <script type="javascript" ev:event="DOMActivate">
  140. <![CDATA[
  141. var fileName = window.fileDialog("save", ",", false, "사용자부서정보", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  142. if (fileName != "")
  143. {
  144. grd_userlinkcallbacklist.saveExcel(fileName);
  145. }
  146. ]]>
  147. </script>
  148. </button>
  149. <line id="line4" class="line_3" style="x1:0px; y1:723px; x2:1195px; y2:723px; "/>
  150. <button id="btn_adduserdept" class="btn2_letter2" navindex="58" style="left:1145px; top:402px; width:42px; height:88px; ">
  151. <caption>선택</caption>
  152. <script type="javascript" ev:event="DOMActivate">
  153. <![CDATA[
  154. var retrived = model.getValue("/root/main/search/retrived");
  155. if(retrived!="true"){
  156. alert("조회가 되지 않았습니다.");
  157. return;
  158. }
  159. var process = model.getValue("/root/main/item/process");
  160. if(process!="retrive"){
  161. var operation = model.getValue("/root/main/search/operation");
  162. alert("사용자부서정보를 목록에서 선택하세요.");
  163. return;
  164. }
  165. var operation = model.getValue("/root/main/search/operation");
  166. var iRow = grd_userdeptinfo.row;
  167. if(iRow>0){
  168. copyNodeType("/root/main/item", "/root/main/list/userlist["+iRow+"]");
  169. model.setValue("/root/main/item/dutplceinstcd", "");
  170. model.setValue("/root/main/item/dutplceinstnm", "");
  171. model.setValue("/root/main/item/dutplcecd", "");
  172. model.setValue("/root/main/item/dutplcenm", "");
  173. model.makeValue("/root/main/item/label","사용자부서정보추가(이력추가)");
  174. fDisableProcessControl("true");
  175. ipt_licnsno.disabled = "false";
  176. ipt_medispclno.disabled = "false";
  177. cmb_specord.disabled = "false";
  178. ipt_majorfild.disabled = "false";
  179. cmb_psnwork.disabled = "false";
  180. cmb_dutplceinstcd.disabled = "false";
  181. opt_dutplcenm.disabled = "false";
  182. btn_dutplce_search.disabled = "false";
  183. cmb_apntflag.disabled = "false";
  184. cmb_jobkind.disabled = "false";
  185. cmb_jobpos.disabled = "false";
  186. cmb_jobresp.disabled = "false";
  187. cmb_prfshipflag.disabled = "false";
  188. cmb_tempyn.disabled = "false";
  189. ipt_fromdd.disabled = "false";
  190. ipt_todd.disabled = "false";
  191. model.setValue("/root/main/item/process", "create");
  192. model.refresh();
  193. }else{
  194. alert("사용자부서정보 추가시 목록에서 기존이력을 선택한후 기능을 수행하세요.");
  195. return;
  196. }
  197. model.refresh();
  198. ]]>
  199. </script>
  200. </button>
  201. <multilinegrid id="grd_userlinkcallbacklist" nodeset="/root/main/list/userlinkcallbacklist/userlinkcallback" caption="연계명^연계명^사용자ID^사용자명^적용시작일자^사용자유형코드^사용자유형명^패스워드^적용종료일자^소속기관코드^소속기관명^소속부서코드|소속부서명^원소속기관코드^원소속기관명^원소속부서코드^원소속부서명^이메일^핸드폰번호^주민등록번호^입사일자^PDA번호^타사용자ID^근무기관코드|근무기관명^근무부서코드^근무부서명^근무지기관코드^근무지기관명^근무지코드^근무지명^인사연동여부^의사면허번호^전문의번호^선택진료여부^전공분야|교직구분코드^교직구분명^직종코드^직종명^직위코드^직위명^직책코드^직책명^발령구분코드^발령구분명^임시여부^직군코드|직군명^일련번호^처리형태^삭제여부^사용자영문명^메세지^메세지^메세지^메세지^메세지^메세지^메세지|최초등록자ID^최초등록자명^최초등록일시^최종수정자ID^최종수정자명^최종수정일시^연계프로시져명^연계프로시져명^연계프로시져명^^^" colsep="^" colwidth="100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" rowsep="|" mergecellsfixedrows="bycolrec" style="left:0px; top:78px; width:1195px; height:646px; ">
  202. <row>
  203. <col colspan="2" ref="spdesc"/>
  204. <col ref="userid"/>
  205. <col ref="usernm"/>
  206. <col ref="fromdd"/>
  207. <col ref="userkindcd"/>
  208. <col ref="userkindnm"/>
  209. <col ref="pwd"/>
  210. <col ref="todd"/>
  211. <col ref="posinstcd"/>
  212. <col ref="posinstnm"/>
  213. <col ref="posdeptcd"/>
  214. </row>
  215. <row>
  216. <col ref="posdeptnm"/>
  217. <col ref="orginstcd"/>
  218. <col ref="orginstnm"/>
  219. <col ref="orgdeptcd"/>
  220. <col ref="orgdeptnm"/>
  221. <col ref="email"/>
  222. <col ref="mpphonno"/>
  223. <col ref="rrgstno"/>
  224. <col ref="entcodd"/>
  225. <col ref="pdano"/>
  226. <col ref="anouserid"/>
  227. <col ref="dutinstcd"/>
  228. </row>
  229. <row>
  230. <col ref="dutinstnm"/>
  231. <col ref="dutunitcd"/>
  232. <col ref="dutunitnm"/>
  233. <col ref="dutplceinstcd"/>
  234. <col ref="dutplceinstnm"/>
  235. <col ref="dutplcecd"/>
  236. <col ref="dutplcenm"/>
  237. <col ref="psnworkyn"/>
  238. <col ref="licnsno"/>
  239. <col ref="medispclno"/>
  240. <col ref="specordyn"/>
  241. <col ref="majorfild"/>
  242. </row>
  243. <row>
  244. <col ref="prfshipflagcd"/>
  245. <col ref="prfshipflagnm"/>
  246. <col ref="jobkindcd"/>
  247. <col ref="jobkindnm"/>
  248. <col ref="jobposcd"/>
  249. <col ref="jobposnm"/>
  250. <col ref="jobrespcd"/>
  251. <col ref="jobrespnm"/>
  252. <col ref="apntflag"/>
  253. <col ref="apntflagnm"/>
  254. <col ref="tempyn"/>
  255. <col ref="grupjoblncd"/>
  256. </row>
  257. <row ref="/root/main/list/userlinkcallbacklist/userlinkcallback">
  258. <col ref="grupjoblnnm"/>
  259. <col ref="serial"/>
  260. <col ref="status"/>
  261. <col ref="delyn"/>
  262. <col ref="userengnm"/>
  263. <col colspan="7" ref="msg"/>
  264. </row>
  265. <row>
  266. <col ref="fstrgstrid"/>
  267. <col ref="fstrgstrnm"/>
  268. <col ref="fstrgstdt" format="yyyy-mm-dd hh:nn:ss"/>
  269. <col ref="lastupdtrid"/>
  270. <col ref="lastupdtrnm"/>
  271. <col ref="lastupdtdt" format="yyyy-mm-dd hh:nn:ss"/>
  272. <col colspan="3" ref="spnm"/>
  273. <col colspan="3"/>
  274. </row>
  275. </multilinegrid>
  276. </group>
  277. <group id="grp_btn" style="left:0px; top:13px; width:1195px; height:27px; ">
  278. <button id="btn_save" class="btn4_letter3" style="left:1120px; top:0px; width:68px; height:22px; ">
  279. <caption>재처리</caption>
  280. <script type="javascript" ev:event="DOMActivate">
  281. <![CDATA[
  282. var row = grd_userlinkcallbacklist.row;
  283. var delyn = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("delyn"));
  284. if(delyn=="Y"){
  285. messageBox("이미 처리된 항목은 삭제만 가능합니다.", "I");
  286. return;
  287. }else if(row<grd_userlinkcallbacklist.fixedRows){
  288. messageBox("처리할 항목을 선택하세요.", "I");
  289. return;
  290. }
  291. var serial = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("serial"));
  292. var userid = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("userid"));
  293. var fromdd = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("fromdd"));
  294. var userkindcd = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("userkindcd"));
  295. var usernm = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("usernm"));
  296. var userengnm = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("userengnm"));
  297. var pwd = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("pwd"));
  298. var todd = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("todd"));
  299. var posinstcd = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("posinstcd"));
  300. var posdeptcd = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("posdeptcd"));
  301. var orginstcd = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("orginstcd"));
  302. var orgdeptcd = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("orgdeptcd"));
  303. var email = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("email"));
  304. var mpphonno = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("mpphonno"));
  305. var rrgstno = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("rrgstno"));
  306. var entcodd = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("entcodd"));
  307. var pdano = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("pdano"));
  308. var anouserid = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("anouserid"));
  309. var dutinstcd = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("dutinstcd"));
  310. var dutunitcd = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("dutunitcd"));
  311. var dutplceinstcd = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("dutplceinstcd"));
  312. var dutplcecd = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("dutplcecd"));
  313. var psnworkyn = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("psnworkyn"));
  314. var licnsno = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("licnsno"));
  315. var medispclno = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("medispclno"));
  316. var specordyn = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("specordyn"));
  317. var majorfild = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("majorfild"));
  318. var prfshipflagcd = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("prfshipflagcd"));
  319. var jobkindcd = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("jobkindcd"));
  320. var jobposcd = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("jobposcd"));
  321. var jobrespcd = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("jobrespcd"));
  322. var grupjoblncd = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("grupjoblncd"));
  323. var apntflag = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("apntflag"));
  324. var tempyn = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("tempyn"));
  325. var spnm = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("spnm"));
  326. var status = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("status"));
  327. var serial = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("serial"));
  328. model.setValue("/root/send/userid", userid);
  329. model.setValue("/root/send/fromdd", fromdd);
  330. model.setValue("/root/send/userkindcd", userkindcd);
  331. model.setValue("/root/send/usernm", usernm);
  332. model.setValue("/root/send/userengnm", userengnm);
  333. model.setValue("/root/send/pwd", pwd);
  334. model.setValue("/root/send/todd", todd);
  335. model.setValue("/root/send/posinstcd", posinstcd);
  336. model.setValue("/root/send/posdeptcd", posdeptcd);
  337. model.setValue("/root/send/orginstcd", orginstcd);
  338. model.setValue("/root/send/orgdeptcd", orgdeptcd);
  339. model.setValue("/root/send/email", email);
  340. model.setValue("/root/send/mpphonno", mpphonno);
  341. model.setValue("/root/send/rrgstno", rrgstno);
  342. model.setValue("/root/send/entcodd", entcodd);
  343. model.setValue("/root/send/pdano", pdano);
  344. model.setValue("/root/send/anouserid", anouserid);
  345. model.setValue("/root/send/dutinstcd", dutinstcd);
  346. model.setValue("/root/send/dutunitcd", dutunitcd);
  347. model.setValue("/root/send/dutplceinstcd", dutplceinstcd);
  348. model.setValue("/root/send/dutplcecd", dutplcecd);
  349. model.setValue("/root/send/psnworkyn", psnworkyn);
  350. model.setValue("/root/send/licnsno", licnsno);
  351. model.setValue("/root/send/medispclno", medispclno);
  352. model.setValue("/root/send/specordyn", specordyn);
  353. model.setValue("/root/send/majorfild", majorfild);
  354. model.setValue("/root/send/prfshipflagcd", prfshipflagcd);
  355. model.setValue("/root/send/jobkindcd", jobkindcd);
  356. model.setValue("/root/send/jobposcd", jobposcd);
  357. model.setValue("/root/send/jobrespcd", jobrespcd);
  358. model.setValue("/root/send/grupjoblncd", grupjoblncd);
  359. model.setValue("/root/send/apntflag", apntflag);
  360. model.setValue("/root/send/tempyn", tempyn);
  361. model.setValue("/root/send/spnm", spnm);
  362. model.setValue("/root/send/status", status);
  363. model.setValue("/root/send/serial", serial);
  364. var success = submit("TXZSU10114");
  365. if(!success){
  366. messageBox("서버측 장애로 인해 재처리에 실패하였습니다.", "C");
  367. }else{
  368. var retstatus = model.getValue("/root/hidden/result/retstatus");
  369. var retmessage = model.getValue("/root/hidden/result/retmessage");
  370. var pcode = null;
  371. if(retstatus>=0){
  372. pcode = "I";
  373. messageBox(retmessage, pcode);
  374. }else{
  375. pcode = "C";
  376. messageBox(retmessage, pcode);
  377. return;
  378. }
  379. }
  380. success = submit("TRZSU10112");
  381. if(!success){
  382. messageBox("재처리후 조회에 실패하였습니다.", "C");
  383. return;
  384. }
  385. for(var i=grd_userlinkcallbacklist.fixedRows; i<grd_userlinkcallbacklist.rows; i++){
  386. var delyn = grd_userlinkcallbacklist.valueMatrix(i, grd_userlinkcallbacklist.colRef("delyn"));
  387. var comp_serial = grd_userlinkcallbacklist.valueMatrix(i, grd_userlinkcallbacklist.colRef("serial"));
  388. if(delyn=="Y"){
  389. grd_userlinkcallbacklist.rowStyle(i, "data", "background-color" ) = "#b9e5fb";
  390. }else{
  391. grd_userlinkcallbacklist.rowStyle(i, "data", "background-color" ) = "#c8e67b";
  392. }
  393. if(serial==comp_serial){
  394. grd_userlinkcallbacklist.row = i;
  395. grd_userlinkcallbacklist.topRow = i;
  396. model.setFocus("grd_userlinkcallbacklist");
  397. }
  398. }
  399. ]]>
  400. </script>
  401. </button>
  402. <line id="line3" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
  403. <button id="button1" class="btn4_letter2" style="left:1064px; top:0px; width:56px; height:22px; ">
  404. <caption>삭제</caption>
  405. <script type="javascript" ev:event="DOMActivate">
  406. <![CDATA[
  407. var row = grd_userlinkcallbacklist.row;
  408. if(row>0){
  409. var delyn = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("delyn"));
  410. if("Y"==delyn){
  411. messageBox("이미 삭제된 항목은 삭제 처리할수 없습니다.", "I");
  412. return;
  413. }else{
  414. var serial = grd_userlinkcallbacklist.valueMatrix(row, grd_userlinkcallbacklist.colRef("serial"));
  415. model.setValue("/root/send/serial", serial);
  416. var success = submit("TXZSU10115");
  417. }
  418. }else{
  419. messageBox('처리할 항목을 선택하세요', "I");
  420. }
  421. ]]>
  422. </script>
  423. </button>
  424. </group>
  425. </xhtml:body>
  426. </xhtml:html>