SPZSA20203_논리계정그룹등록.xrw 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  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. <chkcount/>
  12. </list>
  13. <item>
  14. <flag/>
  15. <aliasnm/>
  16. </item>
  17. </main>
  18. <send>
  19. <acntgrupnm/>
  20. <alias/>
  21. </send>
  22. <init>
  23. </init>
  24. </root>
  25. </instance>
  26. <script type="javascript" ev:event="xforms-ready">
  27. <![CDATA[
  28. fInitialize();
  29. ]]>
  30. </script>
  31. <submission id="TRZSA20204" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/item"/>
  32. </model>
  33. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  34. <script type="javascript">
  35. <![CDATA[
  36. /*
  37. 초기화 작업을 합니다.
  38. */
  39. function fInitialize(){
  40. model.removeNodeset("/root/send/acntgrupnm");
  41. // ipt_acntgrupcd.value = model.getValue("/root/main/item/temp");
  42. // ipt_rrgstno.
  43. btn_setacntgrupnm.disabled = !checkAuth("X") ;
  44. model.refresh();
  45. }
  46. ]]>
  47. </script>
  48. </xhtml:head>
  49. <xhtml:body pagewidth="534" pageheight="160" style="border-color:#c7a3cf; ">
  50. <group id="grp_tle" style="left:0px; top:0px; width:534px; height:13px; ">
  51. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:525px; height:14px; ">별칭 등록</caption>
  52. </group>
  53. <group id="grp_input" scroll="auto" style="left:0px; top:36px; width:530px; height:119px; ">
  54. <caption id="caption9" class="tit_2" style="left:0px; top:10px; width:126px; height:14px; vertical-align:middle; ">별칭 등록</caption>
  55. <line id="line12" class="line_1" style="x1:0px; y1:27px; x2:529px; y2:26px; "/>
  56. <caption id="caption5" class="cell_1" style="left:0px; top:56px; width:107px; height:23px; vertical-align:middle; ">유형명</caption>
  57. <input id="ipt_aliasnm" ref="/root/main/item/aliasnm" class="input_essential" navindex="2" maxlength="4" appearance="input" style="left:108px; top:57px; width:189px; height:19px; border-style:solid; "/>
  58. <caption id="caption1" class="cell_1" style="left:0px; top:31px; width:105px; height:23px; vertical-align:middle; ">업무대분류약어</caption>
  59. <input id="ipt_flag" ref="/root/main/item/flag" class="input_essential" navindex="1" maxlength="1" style="left:109px; top:32px; width:189px; height:19px; "/>
  60. <output id="opt_sysnm" ref="/root/main/list/userid" class="ouput_fix" navindex="2" visibility="hidden" appearance="output" style="left:108px; top:82px; width:189px; height:19px; border-style:solid; "/>
  61. <caption id="caption2" class="cell_1" visibility="hidden" style="left:0px; top:81px; width:105px; height:23px; vertical-align:middle; ">시스템 명</caption>
  62. </group>
  63. <group id="grp_btn" style="left:0px; top:13px; width:531px; height:27px; ">
  64. <button id="btn_setacntgrupnm" class="btn4_letter2" navindex="3" style="left:474px; top:1px; width:56px; height:22px; ">
  65. <caption>확인</caption>
  66. <script type="javascript" ev:event="DOMActivate">
  67. <![CDATA[
  68. var alias = "UG"+ipt_flag.value+"_"+ipt_aliasnm.value;
  69. model.setValue("/root/send/alias", alias);
  70. if(submit("TRZSA20204")){
  71. if(model.getValue("/root/main/list/chkcount") > 0){
  72. var rtn = messageBox("기존 데이터가 존재합니다. 그래도 데이터를 ", "Q001");
  73. if(rtn!=0){
  74. var iParam_alias = alias;
  75. if ( checkOpener() ) {
  76. opener.javascript.setParameter("SPZSA20203_", iParam_alias);
  77. } else {
  78. var rtn = messageBox("상위화면을 찾을 수", "E001");
  79. }
  80. window.close();
  81. }
  82. } else {
  83. var iParam_alias = alias;
  84. if ( checkOpener() ) {
  85. opener.javascript.setParameter("SPZSA20203_", iParam_alias);
  86. } else {
  87. var rtn = messageBox("상위화면을 찾을 수", "E001");
  88. }
  89. window.close();
  90. }
  91. }
  92. ]]>
  93. </script>
  94. </button>
  95. <line id="line1" class="line_6" style="x1:0px; y1:25px; x2:525px; y2:25px; "/>
  96. </group>
  97. </xhtml:body>
  98. </xhtml:html>