SPCVO00900_VOC자체처리의견.xrw 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * Name : SPCVO00900_VOC자체처리의견
  4. * Summary : VOC 자체처리의견
  5. * Programmer : 김준규
  6. * Date Written : 2007.10.23
  7. * History :
  8. * Remark :
  9. -->
  10. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  11. <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">
  12. <xhtml:head>
  13. <xhtml:title>VOC 자체처리의견</xhtml:title>
  14. <model id="model1">
  15. <instance id="instance1">
  16. <root xmlns="">
  17. <main>
  18. <vocdata>
  19. <accept>
  20. <acptseq/>
  21. <acptdd/>
  22. <prcsstat/>
  23. <selfcnts/>
  24. <selfyn/>
  25. <selfdeptnotiyn/>
  26. <selfnoticnts/>
  27. </accept>
  28. </vocdata>
  29. <temp>
  30. <data>
  31. <srchacptdd1/>
  32. <srchacptdd2/>
  33. <srchacpttypecd/>
  34. <srchprcsstatcd/>
  35. <srchdeptcd/>
  36. <srchdeptnm/>
  37. <srchpatnm/>
  38. <srchpid/>
  39. <srchfstrgstrnm/>
  40. <reqacptdd/>
  41. <reqacptseq/>
  42. <reqrgstseq/>
  43. <reqdeptcd/>
  44. <reqdeptnm/>
  45. <reqempid/>
  46. <reqempnm/>
  47. <reqcsteamreqcnts/>
  48. </data>
  49. <key>
  50. <sndacptdd/>
  51. <sndacptseq/>
  52. <sndrgstseq/>
  53. <sndexeflag/>
  54. <deptnm/>
  55. </key>
  56. </temp>
  57. </main>
  58. <temp/>
  59. <send>
  60. <data>
  61. </data>
  62. </send>
  63. <init/>
  64. </root>
  65. </instance>
  66. <submission id="TRCVO00901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/temp/key" resultref="/root/main/vocdata"/>
  67. <submission id="TXCVO00901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/vocdata/accept"/>
  68. </model>
  69. <script type="javascript" ev:event="xforms-ready">
  70. <![CDATA[
  71. var reAcptDD = model.getValue("/root/main/temp/key/sndacptdd")
  72. var reAcptSeq = model.getValue("/root/main/temp/key/sndacptseq")
  73. var reExeflag = model.getValue("/root/main/temp/key/sndexeflag")
  74. var check_deptview = model.getValue("/root/main/temp/key/deptnm");
  75. if (( reAcptDD == "" || reAcptDD == null ) || ( reAcptSeq == "" || reAcptSeq == null )) {
  76. var rtn = messageBox("조회에 필요한 항목이 전달되지", "E007");
  77. if(rtn == 1){
  78. window.close();
  79. }
  80. } else {
  81. submit("TRCVO00901");
  82. if( model.getValue("/root/main/vocdata/accept/prcsstat") != "자체처리" ) {
  83. model.makeValue("/root/main/vocdata/accept/selfyn", "");
  84. } else {
  85. model.makeValue("/root/main/vocdata/accept/selfyn", "Y");
  86. }
  87. }
  88. if ( reExeflag != "Y" ) {
  89. btn_save.visible = false;
  90. } else {
  91. btn_save.visible = true;
  92. model.setValue("/root/main/vocdata/accept/selfyn", "Y");
  93. }
  94. if (model.getValue("/root/main/vocdata/accept/selfdeptnotiyn") == "Y"){
  95. chk_selfdeptnotiyn.disabled = true;
  96. tar_SelfNotiCnts.disabled = false;
  97. tar_SelfNotiCnts.attribute("editable") = "false";
  98. } else {
  99. tar_SelfNotiCnts.disabled = true;
  100. }
  101. fCheckAuth();
  102. model.refresh();
  103. ]]>
  104. </script>
  105. <script type="javascript">
  106. <![CDATA[
  107. function fCheckAuth() {
  108. // 권한체크
  109. if (!checkAuth("r")) {
  110. }
  111. if (!checkAuth("x")) {
  112. }
  113. if (!checkAuth("p")) {
  114. }
  115. }
  116. ]]>
  117. </script>
  118. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  119. </xhtml:head>
  120. <xhtml:body pagewidth="630" pageheight="370" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  121. <group id="grp_tle" style="left:0px; top:0px; width:610px; height:13px; ">
  122. <caption id="caption1" class="tit_1" style="left:0px; top:0px; width:132px; height:14px; ">VOC 자체처리 정보</caption>
  123. </group>
  124. <group id="grp_customer" style="left:0px; top:13px; width:610px; height:307px; ">
  125. <line id="line2" class="line_1" style="x1:0px; y1:5px; x2:610px; y2:5px; "/>
  126. <line id="line7" class="line_2" visibility="hidden" style="x1:0px; y1:202px; x2:610px; y2:202px; "/>
  127. <line id="line1" class="line_3" style="x1:0px; y1:304px; x2:610px; y2:304px; "/>
  128. <caption id="caption10" class="cell_1" style="left:0px; top:10px; width:105px; height:296px; text-align:center; vertical-align:middle; ">
  129. <![CDATA[민원담당부서
  130. 의견]]>
  131. </caption>
  132. <select id="chk_selfyn" ref="/root/main/vocdata/accept/selfyn" disabled="true" overflow="visible" appearance="full" disable.background-color="transparent" style="left:110px; top:14px; width:91px; height:19px; font-weight:bold; border-style:none; ">
  133. <choices>
  134. <item>
  135. <label>자체 처리함</label>
  136. <value>Y</value>
  137. </item>
  138. </choices>
  139. </select>
  140. <select id="chk_selfdeptnotiyn" ref="/root/main/vocdata/accept/selfdeptnotiyn" visibility="hidden" overflow="visible" appearance="full" style="left:206px; top:14px; width:171px; height:19px; font-weight:bold; border-style:none; ">
  141. <choices>
  142. <item>
  143. <label>자체 처리 내용 부서 알림</label>
  144. <value>Y</value>
  145. </item>
  146. </choices>
  147. <script type="javascript" ev:event="xforms-select">
  148. <![CDATA[
  149. var check_deptview = model.getValue("/root/main/temp/key/deptnm");
  150. if (check_deptview !=null) {
  151. tar_SelfNotiCnts.disabled = "false";
  152. var r_selfyn = model.getValue("/root/main/vocdata/accept/selfyn");
  153. if (r_selfyn == ""){
  154. model.setValue("/root/main/vocdata/accept/selfyn", "Y");
  155. tar_SelfCnts.disabled = "false";
  156. model.refresh();
  157. }
  158. } else {
  159. messageBox("해당부서가 없어 자체 처리 내용 부서 알림을 선택 ", "E001");
  160. model.setValue("/root/main/vocdata/accept/selfdeptnotiyn", "");
  161. model.refresh();
  162. }
  163. ]]>
  164. </script>
  165. <script type="javascript" ev:event="xforms-deselect">
  166. <![CDATA[
  167. tar_SelfNotiCnts.disabled = "true";
  168. model.setValue("/root/main/vocdata/accept/selfnoticnts", "");
  169. model.refresh();
  170. ]]>
  171. </script>
  172. </select>
  173. <caption id="caption6" class="cell_1" style="left:379px; top:10px; width:105px; height:23px; text-align:center; vertical-align:middle; ">진행상태</caption>
  174. <output id="opt_PrcsStat" ref="/root/main/vocdata/accept/prcsstat" class="output_fix" style="left:488px; top:11px; width:122px; height:19px; "/>
  175. <textarea id="tar_SelfCnts" ref="/root/main/vocdata/accept/selfcnts" scroll="vertical" style="left:108px; top:34px; width:502px; height:270px; "/>
  176. <caption id="caption2" class="cell_1" visibility="hidden" style="left:0px; top:205px; width:105px; height:100px; text-align:center; vertical-align:middle; ">부서알림내용</caption>
  177. <textarea id="tar_SelfNotiCnts" ref="/root/main/vocdata/accept/selfnoticnts" visibility="hidden" scroll="vertical" style="left:108px; top:207px; width:500px; height:95px; "/>
  178. </group>
  179. <group id="grp_btn" scroll="auto" style="left:0px; top:320px; width:610px; height:27px; ">
  180. <button id="btn_save" class="btn4_letter2" visibility="hidden" style="left:494px; top:5px; width:56px; height:22px; ">
  181. <caption>저장</caption>
  182. <script type="javascript" ev:event="DOMActivate">
  183. <![CDATA[
  184. if (model.getValue("/root/main/vocdata/accept/selfyn") == "Y"){
  185. if (model.getValue("/root/main/vocdata/accept/selfcnts") == "") {
  186. messageBox("자체 처리 사유를 ", "C001");
  187. model.setFocus("tar_SelfCnts");
  188. } else if ( (model.getValue("/root/main/vocdata/accept/selfdeptnotiyn") == "Y") && (model.getValue("/root/main/vocdata/accept/selfnoticnts") == "") ) {
  189. messageBox("자체 처리 부서 알림 내용을 ", "C001");
  190. model.setFocus("tar_SelfNotiCnts");
  191. } else {
  192. if(submit("TXCVO00901")){
  193. var rtn = messageBox("자체 처리가 ", "I002");
  194. model.removenode("/root/main/temp/key/sndexeflag");
  195. model.removenode("/root/main/temp/key/deptnm");
  196. model.refresh();
  197. parent.javaScript.fNavigateX();
  198. window.close();
  199. }
  200. }
  201. } else {
  202. }
  203. ]]>
  204. </script>
  205. </button>
  206. <button id="btn_close" class="btn4_letter2" style="left:554px; top:5px; width:56px; height:22px; ">
  207. <caption>닫기</caption>
  208. <close ev:event="DOMActivate"/>
  209. </button>
  210. </group>
  211. </xhtml:body>
  212. </xhtml:html>