SPAHA09990_상황실입력.xrw 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311
  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. <new>
  12. <reqdate/>
  13. <reqdept/>
  14. <requser/>
  15. <reqtel/>
  16. <reqprog/>
  17. <chktype/>
  18. <chkuser/>
  19. <chkdesc/>
  20. <prouser/>
  21. <jobuser/>
  22. <enddate/>
  23. <prodesc/>
  24. <jobdesc/>
  25. <jobstat>1</jobstat>
  26. <seqnum/>
  27. <instcd/>
  28. <status/>
  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. <save/>
  42. </send>
  43. <init/>
  44. <hidden>
  45. <ddaylist/>
  46. </hidden>
  47. <target/>
  48. </root>
  49. </instance>
  50. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  51. <script type="javascript" src="../../../com/commonweb/js/numericHelper.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" src="../../../com/commonweb/js/stringHelper.js"/>
  55. <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
  56. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  57. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  58. <script type="javascript" src="../../../com/authinfoweb/js/ZSA001.js"/>
  59. <script type="javascript" ev:event="xforms-ready">
  60. <![CDATA[
  61. if( checkOpener() ){
  62. copyNodesetType("/root/send/req" , "/root/main/list/new", "replace", model , opener.model);
  63. opener.model.makeNode("/root/temp/okflag");
  64. model.setValue("/root/main/list/new/instcd", getUserInfo("dutplceinstcd"));
  65. model.setValue("/root/main/list/new/jobstat",'1');
  66. model.refresh();
  67. }
  68. ]]>
  69. </script>
  70. <submission id="TRAHR05110" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden/ddaymngt"/>
  71. <submission id="TXAGA00111" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/list/new"/>
  72. <submission id="TXAGA00112" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/hidden"/>
  73. <submission id="TXAGA00113" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/list/new"/>
  74. </model>
  75. <script type="javascript">
  76. <![CDATA[
  77. var cur_date = getCurrentDate();
  78. var cur_time = getCurrentTime();
  79. model.setValue( input6.attribute("ref") , cur_date + cur_time.substring(0,4,10));
  80. model.refresh();
  81. ]]>
  82. </script>
  83. </xhtml:head>
  84. <xhtml:body pagewidth="700" pageheight="700" guideline="1,1194;1,684;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  85. <group id="group3" scroll="auto" style="left:0px; top:10px; width:685px; height:650px; ">
  86. <group id="group2" style="left:0px; top:10px; width:685px; height:40px; text-align:center; vertical-align:top; ">
  87. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:1px; top:0px; width:682px; height:40px; text-align:center; vertical-align:middle; background-color:#fffbf2; border-color:#ffd799; "/>
  88. <caption id="caption2" class="search" style="left:260px; top:10px; width:175px; height:17px; font-size:12pt; font-weight:bold; text-align:center; ">[입력]상황접수내역</caption>
  89. </group>
  90. <line id="line8" class="line_2" style="x1:0px; y1:215px; x2:306px; y2:215px; "/>
  91. <line id="line9" class="line_2" style="x1:0px; y1:241px; x2:306px; y2:241px; "/>
  92. <caption id="caption20" class="cell_1" style="left:0px; top:243px; width:84px; height:83px; text-align:center; vertical-align:middle; ">장애내용</caption>
  93. <line id="line46" class="line_2" style="x1:0px; y1:85px; x2:306px; y2:85px; "/>
  94. <caption id="caption11" class="cell_1" style="left:0px; top:61px; width:84px; height:23px; text-align:center; vertical-align:middle; ">현장신고일시</caption>
  95. <caption id="caption12" class="cell_1" style="left:0px; top:87px; width:84px; height:23px; text-align:center; vertical-align:middle; ">현장부서</caption>
  96. <caption id="caption13" class="cell_1" style="left:0px; top:113px; width:84px; height:23px; text-align:center; vertical-align:middle; ">현장신고자</caption>
  97. <caption id="caption14" class="cell_1" style="left:0px; top:139px; width:84px; height:23px; text-align:center; vertical-align:middle; ">현장연락번호</caption>
  98. <caption id="caption15" class="cell_1" style="left:0px; top:165px; width:84px; height:23px; text-align:center; vertical-align:middle; ">해당화면</caption>
  99. <caption id="caption16" class="cell_1" style="left:0px; top:191px; width:84px; height:23px; text-align:center; vertical-align:middle; ">유형</caption>
  100. <line id="line11" class="line_2" style="x1:0px; y1:111px; x2:306px; y2:111px; "/>
  101. <caption id="caption17" class="cell_1" style="left:0px; top:217px; width:84px; height:23px; text-align:center; vertical-align:middle; ">상황실접수자</caption>
  102. <line id="line12" class="line_2" style="x1:0px; y1:137px; x2:306px; y2:137px; "/>
  103. <line id="line13" class="line_2" style="x1:0px; y1:163px; x2:306px; y2:163px; "/>
  104. <line id="line14" class="line_2" style="x1:0px; y1:189px; x2:306px; y2:189px; "/>
  105. <group id="group1" style="left:0px; top:340px; width:685px; height:40px; text-align:center; vertical-align:top; ">
  106. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:1px; top:0px; width:682px; height:40px; text-align:center; vertical-align:middle; background-color:#fffbf2; border-color:#ffd799; "/>
  107. <caption id="caption1" class="search" style="left:265px; top:10px; width:175px; height:17px; font-size:12pt; font-weight:bold; text-align:center; ">[수정]상황처리내역</caption>
  108. </group>
  109. <line id="line1" class="line_2" style="x1:0px; y1:649px; x2:306px; y2:649px; "/>
  110. <line id="line3" class="line_2" style="x1:0px; y1:440px; x2:307px; y2:440px; "/>
  111. <line id="line4" class="line_2" style="x1:0px; y1:466px; x2:307px; y2:466px; "/>
  112. <line id="line5" class="line_2" style="x1:0px; y1:545px; x2:685px; y2:545px; "/>
  113. <line id="line6" class="line_2" style="x1:0px; y1:414px; x2:307px; y2:414px; "/>
  114. <line id="line7" class="line_2" style="x1:0px; y1:623px; x2:685px; y2:623px; "/>
  115. <caption id="caption4" class="cell_1" style="left:0px; top:390px; width:84px; height:23px; text-align:center; vertical-align:middle; ">처리접수자</caption>
  116. <caption id="caption5" class="cell_1" style="left:0px; top:416px; width:84px; height:23px; text-align:center; vertical-align:middle; ">처리자</caption>
  117. <caption id="caption7" class="cell_1" style="left:0px; top:442px; width:84px; height:23px; text-align:center; vertical-align:middle; ">처리일시</caption>
  118. <caption id="caption8" class="cell_1" style="left:0px; top:468px; width:84px; height:76px; text-align:center; vertical-align:middle; ">처리내역</caption>
  119. <caption id="caption9" class="cell_1" style="left:0px; top:547px; width:84px; height:75px; text-align:center; vertical-align:middle; ">비고</caption>
  120. <caption id="caption10" class="cell_1" style="left:0px; top:625px; width:84px; height:23px; text-align:center; vertical-align:middle; ">진행상태</caption>
  121. <line id="line2" class="line_2" style="x1:0px; y1:327px; x2:685px; y2:327px; "/>
  122. <line id="line26" class="line_1" style="x1:0px; y1:56px; x2:683px; y2:56px; "/>
  123. <line id="line10" class="line_1" style="x1:0px; y1:385px; x2:683px; y2:385px; "/>
  124. <input id="input6" ref="/root/main/list/new/reqdate" class="input_default" navindex="1" inputtype="date" style="left:86px; top:63px; width:220px; height:19px; "/>
  125. <input id="input1" ref="/root/main/list/new/reqdept" class="input_default" navindex="2" style="left:86px; top:89px; width:220px; height:19px; "/>
  126. <input id="input2" ref="/root/main/list/new/requser" class="input_default" navindex="3" style="left:86px; top:115px; width:220px; height:19px; "/>
  127. <input id="input3" ref="/root/main/list/new/reqtel" class="input_default" navindex="4" style="left:86px; top:141px; width:220px; height:19px; "/>
  128. <input id="input4" ref="/root/main/list/new/reqprog" class="input_default" navindex="5" style="left:86px; top:167px; width:220px; height:19px; "/>
  129. <input id="input7" ref="/root/main/list/new/chkuser" class="input_default" navindex="7" style="left:86px; top:219px; width:220px; height:19px; "/>
  130. <input id="input11" ref="/root/main/list/new/jobuser" class="input_default" navindex="10" style="left:86px; top:418px; width:220px; height:19px; "/>
  131. <input id="input12" ref="/root/main/list/new/enddate" class="input_default" navindex="11" inputtype="date" format="yyyy-mm-dd" style="left:86px; top:444px; width:220px; height:19px; "/>
  132. <input id="input13" ref="/root/main/list/new/prouser" class="input_default" navindex="9" style="left:86px; top:392px; width:220px; height:19px; "/>
  133. <select1 id="combo1" ref="/root/main/list/new/chktype" navindex="6" appearance="minimal" style="left:86px; top:193px; width:220px; height:19px; ">
  134. <choices>
  135. <item>
  136. <label>단순오류</label>
  137. <value>A</value>
  138. </item>
  139. <item>
  140. <label>사용미숙</label>
  141. <value>B</value>
  142. </item>
  143. <item>
  144. <label>사용문의</label>
  145. <value>C</value>
  146. </item>
  147. <item>
  148. <label>Data오류</label>
  149. <value>D</value>
  150. </item>
  151. <item>
  152. <label>프로그램</label>
  153. <value>E</value>
  154. </item>
  155. <item>
  156. <label>HARDWARE</label>
  157. <value>F</value>
  158. </item>
  159. <item>
  160. <label>현장지원</label>
  161. <value>H</value>
  162. </item>
  163. <item>
  164. <label>공지사항</label>
  165. <value>I</value>
  166. </item>
  167. <item>
  168. <label>기타</label>
  169. <value>G</value>
  170. </item>
  171. <item>
  172. <label>기준자료</label>
  173. <value>J</value>
  174. </item>
  175. <item>
  176. <label>요청사항</label>
  177. <value>K</value>
  178. </item>
  179. </choices>
  180. </select1>
  181. <select1 id="combo2" ref="/root/main/list/new/jobstat" navindex="14" appearance="minimal" style="left:86px; top:627px; width:220px; height:19px; ">
  182. <choices>
  183. <item>
  184. <label>접수</label>
  185. <value>1</value>
  186. </item>
  187. <item>
  188. <label>진행중</label>
  189. <value>2</value>
  190. </item>
  191. <item>
  192. <label>사후처리</label>
  193. <value>3</value>
  194. </item>
  195. <item>
  196. <label>완료</label>
  197. <value>4</value>
  198. </item>
  199. </choices>
  200. </select1>
  201. <caption id="caption3" class="cell_1" visibility="hidden" style="left:0px; top:294px; width:84px; height:23px; text-align:center; vertical-align:middle; ">기관코드</caption>
  202. <caption id="caption18" class="cell_1" visibility="hidden" style="left:315px; top:624px; width:84px; height:23px; text-align:center; vertical-align:middle; ">일련번호</caption>
  203. <input id="input5" ref="/root/main/list/new/instcd" class="input_default" visibility="hidden" style="left:86px; top:296px; width:220px; height:19px; "/>
  204. <input id="input14" ref="/root/main/list/new/seqnum" class="input_default" navindex="15" visibility="hidden" style="left:401px; top:626px; width:220px; height:19px; "/>
  205. <textarea id="textarea1" ref="/root/main/list/new/chkdesc" navindex="8" maxlength="400" style="left:86px; top:244px; width:599px; height:81px; ">
  206. <script type="javascript" ev:event="onmaxlength">
  207. <![CDATA[
  208. alert(" 입력하실 내용을 초과 하셨습니다. MAX(400)자");
  209. ]]>
  210. </script>
  211. </textarea>
  212. <textarea id="textarea2" ref="/root/main/list/new/prodesc" navindex="12" maxlength="400" style="left:86px; top:470px; width:599px; height:73px; ">
  213. <script type="javascript" ev:event="onmaxlength">
  214. <![CDATA[
  215. alert(" 입력하실 내용을 초과 하셨습니다. MAX(400)자");
  216. ]]>
  217. </script>
  218. </textarea>
  219. <textarea id="textarea3" ref="/root/main/list/new/jobdesc" navindex="13" maxlength="400" style="left:86px; top:548px; width:599px; height:73px; ">
  220. <script type="javascript" ev:event="onmaxlength">
  221. <![CDATA[
  222. alert(" 입력하실 내용을 초과 하셨습니다. MAX(400)자");
  223. ]]>
  224. </script>
  225. </textarea>
  226. </group>
  227. <group id="group4" scroll="auto" style="left:0px; top:665px; width:685px; height:28px; ">
  228. <button id="button9" class="btn4_letter2" navindex="17" style="left:629px; top:3px; width:56px; height:22px; ">
  229. <caption>종료</caption>
  230. <close ev:event="onclick"/>
  231. </button>
  232. <button id="button2" class="btn4_letter2" visibility="hidden" style="left:567px; top:3px; width:56px; height:22px; ">
  233. <caption>삭제</caption>
  234. <script type="javascript" ev:event="DOMActivate">
  235. <![CDATA[
  236. copyNodesetType("/root/send/req" , "/root/main/list/new", "replace");
  237. if(submit("TXAGA00112")) {
  238. opener.javascript.getDayList();
  239. window.close();
  240. }
  241. ]]>
  242. </script>
  243. </button>
  244. <button id="button3" class="btn4_letter2" navindex="16" style="left:568px; top:3px; width:56px; height:22px; ">
  245. <caption>저장</caption>
  246. <script type="javascript" ev:event="DOMActivate">
  247. <![CDATA[
  248. copyNodesetType("/root/send/req" , "/root/main/list/new", "replace");
  249. if (model.getValue("/root/main/list/new/reqdate") == "" ) {
  250. messageBox("현장신고일시가 입력되지", "E007");
  251. return;
  252. }
  253. if (model.getValue("/root/main/list/new/reqdept") == "" ) {
  254. messageBox("현장부서가 입력되지", "E007");
  255. return;
  256. }
  257. if (model.getValue("/root/main/list/new/requser") == "" ) {
  258. messageBox("현장신고자가 입력되지", "E007");
  259. return;
  260. }
  261. if (model.getValue("/root/main/list/new/reqtel") == "" ) {
  262. messageBox("연락처가 입력되지", "E007");
  263. return;
  264. }
  265. if (model.getValue("/root/main/list/new/reqprog") == "" ) {
  266. messageBox("해당화면이 입력되지", "E007");
  267. return;
  268. }
  269. if (model.getValue("/root/main/list/new/chktype") == "" ) {
  270. messageBox("유형이 선택되지", "E007");
  271. return;
  272. }
  273. if (model.getValue("/root/main/list/new/chkuser") == "" ) {
  274. messageBox("접수자가 입력되지", "E007");
  275. return;
  276. }
  277. if (model.getValue("/root/main/list/new/chkdesc") == "" ) {
  278. messageBox("장애내용이 입력되지", "E007");
  279. return;
  280. }
  281. if(submit("TXAGA00111")) {
  282. opener.javascript.getDayList();
  283. alert("정상적으로 입력되었습니다");
  284. model.close();
  285. }
  286. ]]>
  287. </script>
  288. </button>
  289. </group>
  290. <group id="grp_tle" style="left:0px; top:0px; width:680px; height:13px; ">
  291. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:144px; height:14px; ">상황실입력</caption>
  292. </group>
  293. </xhtml:body>
  294. </xhtml:html>