SPZHA09001_요청사항입력.xrw 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344
  1. <?xml version="1.0" encoding="UTF-8"?>
  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. <new>
  12. <instcd/>
  13. <reqseqe/>
  14. <reqdate/>
  15. <requser/>
  16. <reqkind>1</reqkind>
  17. <reqcont>1</reqcont>
  18. <reqpart>1</reqpart>
  19. <reqdesc/>
  20. <reqerro/>
  21. <reqtelp/>
  22. <reprecv/>
  23. <rephand/>
  24. <repchkd/>
  25. <rependd/>
  26. <reppros>1</reppros>
  27. <reptitl/>
  28. <repdesc/>
  29. </new>
  30. <update>
  31. </update>
  32. </list>
  33. </main>
  34. <send>
  35. <retrparams>
  36. <instcd/>
  37. <seqnum/>
  38. </retrparams>
  39. <req>
  40. </req>
  41. <reqparm/>
  42. <save/>
  43. </send>
  44. <init/>
  45. <hidden>
  46. <ddaylist/>
  47. </hidden>
  48. <target/>
  49. </root>
  50. </instance>
  51. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  52. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  53. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  54. <script type="javascript" ev:event="xforms-ready">
  55. <![CDATA[
  56. if( checkOpener() ){
  57. copyNodesetType("/root/send/reqparm" , "/root/main/list/new", "replace");
  58. var reqDate = model.getValue("/root/main/list/new/reqdate");
  59. var repChkd = model.getValue("/root/main/list/new/repchkd");
  60. var cur_date = getCurrentDate();
  61. if ( reqDate == "") {
  62. model.setValue( input1.attribute("ref"), cur_date);
  63. }else {
  64. reqDate = reqDate.substr(0, 8);
  65. model.setValue( "/root/main/list/new/reqdate", reqDate);
  66. }
  67. if ( repChkd == "") {
  68. model.setValue( input10.attribute("ref"), cur_date);
  69. }else {
  70. repChkd = repChkd.substr(0, 8);
  71. model.setValue( "/root/main/list/new/repchkd", repChkd);
  72. }
  73. model.setValue( input11.attribute("ref"), cur_date);
  74. model.refresh();
  75. }
  76. ]]>
  77. </script>
  78. <submission id="TXZHA00211" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqparm" resultref="/root/main/list/new"/>
  79. </model>
  80. <script type="javascript">
  81. <![CDATA[
  82. /*
  83. var cur_date = getCurrentDate();
  84. var cur_time = getCurrentTime();
  85. model.setValue( input6.attribute("ref") , cur_date + cur_time.substring(0,4,10));
  86. model.refresh();
  87. */
  88. ]]>
  89. </script>
  90. </xhtml:head>
  91. <xhtml:body pagewidth="705" pageheight="685" guideline="1,1194;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  92. <group id="group3" scroll="auto" style="left:0px; top:20px; width:690px; height:625px; ">
  93. <group id="group2" style="left:0px; top:10px; width:685px; height:30px; text-align:center; vertical-align:top; ">
  94. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:1px; top:0px; width:682px; height:25px; text-align:center; vertical-align:middle; background-color:#fffbf2; border-color:#ffd799; "/>
  95. </group>
  96. <caption id="caption20" class="cell_1" style="left:0px; top:129px; width:100px; height:125px; text-align:center; vertical-align:middle; ">요청내용(*)</caption>
  97. <line id="line46" class="line_2" style="x1:0px; y1:75px; x2:335px; y2:75px; "/>
  98. <caption id="caption11" class="cell_1" style="left:0px; top:51px; width:100px; height:23px; text-align:center; vertical-align:middle; ">요청일(*)</caption>
  99. <caption id="caption12" class="cell_1" style="left:0px; top:77px; width:100px; height:23px; text-align:center; vertical-align:middle; ">요청자(*)</caption>
  100. <caption id="caption13" class="cell_1" style="left:0px; top:103px; width:100px; height:23px; text-align:center; vertical-align:middle; ">연락처(*)</caption>
  101. <caption id="caption14" class="cell_1" style="left:349px; top:51px; width:100px; height:23px; text-align:center; vertical-align:middle; ">요청사항(*)</caption>
  102. <caption id="caption15" class="cell_1" style="left:349px; top:77px; width:100px; height:23px; text-align:center; vertical-align:middle; ">요청파트(*)</caption>
  103. <caption id="caption16" class="cell_1" style="left:349px; top:103px; width:100px; height:23px; text-align:center; vertical-align:middle; ">요청부문(*)</caption>
  104. <line id="line11" class="line_2" style="x1:0px; y1:101px; x2:335px; y2:101px; "/>
  105. <line id="line12" class="line_2" style="x1:0px; y1:127px; x2:335px; y2:127px; "/>
  106. <group id="group1" style="left:0px; top:325px; width:685px; height:30px; text-align:center; vertical-align:top; ">
  107. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:1px; top:0px; width:682px; height:25px; text-align:center; vertical-align:middle; background-color:#fffbf2; border-color:#ffd799; "/>
  108. </group>
  109. <line id="line2" class="line_2" style="x1:0px; y1:313px; x2:685px; y2:313px; "/>
  110. <line id="line26" class="line_1" style="x1:0px; y1:46px; x2:683px; y2:46px; "/>
  111. <line id="line10" class="line_1" style="x1:0px; y1:361px; x2:683px; y2:361px; "/>
  112. <input id="input1" ref="/root/main/list/new/reqdate" class="input_default" inputtype="date" style="left:106px; top:53px; width:228px; height:19px; "/>
  113. <input id="input2" ref="/root/main/list/new/requser" class="input_default" navindex="2" style="left:106px; top:79px; width:228px; height:19px; "/>
  114. <input id="input3" ref="/root/main/list/new/reqtelp" class="input_default" navindex="3" style="left:106px; top:105px; width:228px; height:19px; "/>
  115. <select1 id="combo3" ref="/root/main/list/new/reqkind" navindex="6" appearance="minimal" style="left:455px; top:105px; width:228px; height:19px; ">
  116. <choices>
  117. <item>
  118. <label>와스</label>
  119. <value>1</value>
  120. </item>
  121. <item>
  122. <label>웹서버</label>
  123. <value>2</value>
  124. </item>
  125. <item>
  126. <label>프레임워크</label>
  127. <value>3</value>
  128. </item>
  129. <item>
  130. <label>UI</label>
  131. <value>4</value>
  132. </item>
  133. <item>
  134. <label>DB</label>
  135. <value>5</value>
  136. </item>
  137. <item>
  138. <label>기술검토</label>
  139. <value>6</value>
  140. </item>
  141. <item>
  142. <label>로컬환경셋팅</label>
  143. <value>7</value>
  144. </item>
  145. <item>
  146. <label>프로그램셋팅</label>
  147. <value>8</value>
  148. </item>
  149. <item>
  150. <label>버그리포트</label>
  151. <value>9</value>
  152. </item>
  153. </choices>
  154. </select1>
  155. <textarea id="textarea1" ref="/root/main/list/new/reqdesc" navindex="7" maxlength="1000" style="left:105px; top:130px; width:578px; height:124px; ">
  156. <script type="javascript" ev:event="onmaxlength">
  157. <![CDATA[
  158. alert(" 입력하실 내용을 초과 하셨습니다. MAX(1000)자");
  159. ]]>
  160. </script>
  161. </textarea>
  162. <line id="line13" class="line_2" style="x1:350px; y1:101px; x2:685px; y2:101px; "/>
  163. <line id="line14" class="line_2" style="x1:350px; y1:127px; x2:685px; y2:127px; "/>
  164. <line id="line15" class="line_2" style="x1:350px; y1:75px; x2:685px; y2:75px; "/>
  165. <caption id="caption3" class="cell_1" style="left:0px; top:257px; width:100px; height:55px; text-align:center; vertical-align:middle; ">오류내용</caption>
  166. <textarea id="textarea4" ref="/root/main/list/new/reqerro" navindex="8" maxlength="500" style="left:105px; top:258px; width:578px; height:54px; ">
  167. <script type="javascript" ev:event="onmaxlength">
  168. <![CDATA[
  169. alert(" 입력하실 내용을 초과 하셨습니다. MAX(500)자");
  170. ]]>
  171. </script>
  172. </textarea>
  173. <line id="line8" class="line_2" style="x1:1px; y1:255px; x2:686px; y2:255px; "/>
  174. <line id="line3" class="line_2" style="x1:0px; y1:420px; x2:335px; y2:420px; "/>
  175. <line id="line5" class="line_2" style="x1:350px; y1:420px; x2:685px; y2:420px; "/>
  176. <line id="line6" class="line_2" style="x1:0px; y1:394px; x2:335px; y2:394px; "/>
  177. <caption id="caption4" class="cell_1" style="left:0px; top:370px; width:100px; height:23px; text-align:center; vertical-align:middle; ">접수일</caption>
  178. <line id="line16" class="line_2" style="x1:350px; y1:394px; x2:685px; y2:394px; "/>
  179. <caption id="caption5" class="cell_1" style="left:0px; top:396px; width:100px; height:23px; text-align:center; vertical-align:middle; ">접수자</caption>
  180. <caption id="caption7" class="cell_1" style="left:0px; top:422px; width:100px; height:23px; text-align:center; vertical-align:middle; ">처리자</caption>
  181. <caption id="caption8" class="cell_1" style="left:349px; top:370px; width:100px; height:23px; text-align:center; vertical-align:middle; ">완료일</caption>
  182. <input id="input6" ref="/root/main/list/new/reprecv" class="input_default" navindex="10" style="left:106px; top:398px; width:228px; height:19px; "/>
  183. <caption id="caption17" class="cell_1" style="left:349px; top:396px; width:100px; height:23px; text-align:center; vertical-align:middle; ">진행상태</caption>
  184. <input id="input7" ref="/root/main/list/new/rephand" class="input_default" navindex="11" style="left:106px; top:424px; width:228px; height:19px; "/>
  185. <input id="input10" ref="/root/main/list/new/repchkd" class="input_default" navindex="9" inputtype="date" style="left:106px; top:372px; width:228px; height:19px; "/>
  186. <input id="input11" ref="/root/main/list/new/rependd" class="input_default" navindex="13" inputtype="date" style="left:455px; top:372px; width:228px; height:19px; "/>
  187. <line id="line1" class="line_2" style="x1:1px; y1:472px; x2:686px; y2:472px; "/>
  188. <caption id="caption9" class="cell_1" style="left:0px; top:448px; width:100px; height:23px; text-align:center; vertical-align:middle; ">내용 Title</caption>
  189. <caption id="caption10" class="cell_1" style="left:0px; top:474px; width:100px; height:146px; text-align:center; vertical-align:middle; ">처리내역</caption>
  190. <line id="line7" class="line_2" style="x1:0px; y1:622px; x2:685px; y2:622px; "/>
  191. <textarea id="textarea2" ref="/root/main/list/new/reptitl" navindex="12" maxlength="500" style="left:105px; top:450px; width:578px; height:19px; ">
  192. <script type="javascript" ev:event="onmaxlength">
  193. <![CDATA[
  194. alert(" 입력하실 내용을 초과 하셨습니다. MAX(500)자");
  195. ]]>
  196. </script>
  197. </textarea>
  198. <textarea id="textarea3" ref="/root/main/list/new/repdesc" navindex="15" maxlength="1000" style="left:105px; top:475px; width:578px; height:145px; ">
  199. <script type="javascript" ev:event="onmaxlength">
  200. <![CDATA[
  201. alert(" 입력하실 내용을 초과 하셨습니다. MAX(1000)자");
  202. ]]>
  203. </script>
  204. </textarea>
  205. <line id="line4" class="line_2" style="x1:0px; y1:446px; x2:685px; y2:446px; "/>
  206. <select1 id="combo2" ref="/root/main/list/new/reqpart" navindex="5" appearance="minimal" style="left:455px; top:79px; width:228px; height:19px; ">
  207. <choices>
  208. <item>
  209. <label>기반기술</label>
  210. <value>1</value>
  211. </item>
  212. <item>
  213. <label>프레임워크</label>
  214. <value>2</value>
  215. </item>
  216. <item>
  217. <label>DBA</label>
  218. <value>3</value>
  219. </item>
  220. </choices>
  221. </select1>
  222. <select1 id="combo1" ref="/root/main/list/new/reqcont" navindex="4" appearance="minimal" style="left:455px; top:53px; width:228px; height:19px; ">
  223. <choices>
  224. <item>
  225. <label>단순문의</label>
  226. <value>1</value>
  227. </item>
  228. <item>
  229. <label>Source오류</label>
  230. <value>2</value>
  231. </item>
  232. <item>
  233. <label>설정오류</label>
  234. <value>3</value>
  235. </item>
  236. <item>
  237. <label>Data오류</label>
  238. <value>4</value>
  239. </item>
  240. <item>
  241. <label>사용미숙</label>
  242. <value>5</value>
  243. </item>
  244. <item>
  245. <label>개발미숙</label>
  246. <value>6</value>
  247. </item>
  248. </choices>
  249. </select1>
  250. <select1 id="combo4" ref="/root/main/list/new/reppros" navindex="14" appearance="minimal" style="left:455px; top:398px; width:228px; height:19px; ">
  251. <choices>
  252. <item>
  253. <label>접수</label>
  254. <value>1</value>
  255. </item>
  256. <item>
  257. <label>진행 중</label>
  258. <value>2</value>
  259. </item>
  260. <item>
  261. <label>추후처리</label>
  262. <value>3</value>
  263. </item>
  264. <item>
  265. <label>완료</label>
  266. <value>4</value>
  267. </item>
  268. </choices>
  269. </select1>
  270. </group>
  271. <group id="group4" scroll="auto" style="left:0px; top:648px; width:685px; height:28px; ">
  272. <button id="button9" class="btn4_letter2" navindex="17" style="left:629px; top:3px; width:56px; height:22px; ">
  273. <caption>종료</caption>
  274. <close ev:event="onclick"/>
  275. </button>
  276. <button id="button2" class="btn4_letter2" visibility="hidden" style="left:567px; top:3px; width:56px; height:22px; ">
  277. <caption>삭제</caption>
  278. <!--
  279. <script type="javascript" ev:event="DOMActivate">
  280. <![CDATA[
  281. ]]>
  282. </script>
  283. -->
  284. </button>
  285. <button id="button3" class="btn4_letter2" navindex="16" style="left:568px; top:3px; width:56px; height:22px; ">
  286. <caption>저장</caption>
  287. <script type="javascript" ev:event="DOMActivate">
  288. <![CDATA[
  289. copyNodesetType("/root/send/reqparm" , "/root/main/list/new", "replace");
  290. var reqSeqe = model.getValue("/root/main/list/new/reqseqe");
  291. if (model.getValue("/root/main/list/new/reqdate") == "" ) {
  292. messageBox("요청일이 입력되지", "E007");
  293. return;
  294. }
  295. if (model.getValue("/root/main/list/new/requser") == "" ) {
  296. messageBox("요청자가 입력되지", "E007");
  297. return;
  298. }
  299. if (model.getValue("/root/main/list/new/reqtelp") == "" ) {
  300. messageBox("연락처가 입력되지", "E007");
  301. return;
  302. }
  303. if (model.getValue("/root/main/list/new/reqdesc") == "" ) {
  304. messageBox("요청내용이 입력되지", "E007");
  305. return;
  306. }
  307. if(reqSeqe==""){
  308. var savechk = messageBox('저장', 'S001'); // 예. 6, 아니오. 7, 취소. 2
  309. model.makeNode("/root/send/reqparm/savetype");
  310. model.setValue("/root/send/reqparm/savetype", "i");
  311. }else{
  312. var savechk = messageBox('수정', 'S001'); // 예. 6, 아니오. 7, 취소. 2
  313. model.makeNode("/root/send/reqparm/savetype");
  314. model.setValue("/root/send/reqparm/savetype", "u");
  315. }
  316. if(savechk=="6"){
  317. if(submit("TXZHA00211")) {
  318. opener.javascript.getReqList();
  319. alert("정상적으로 입력되었습니다");
  320. model.close();
  321. }
  322. }
  323. ]]>
  324. </script>
  325. </button>
  326. </group>
  327. <group id="grp_tle" style="left:0px; top:0px; width:680px; height:13px; ">
  328. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:144px; height:14px; ">지원 요청사항입력</caption>
  329. </group>
  330. <caption id="caption18" class="search_name" style="left:10px; top:35px; width:117px; height:17px; ">요청사항 입력 :</caption>
  331. <caption id="caption2" class="search_name" style="left:10px; top:350px; width:117px; height:17px; ">처리사항 입력 :</caption>
  332. </xhtml:body>
  333. </xhtml:html>