SMAHA09990_상황실.xrw 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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. <ddaymngt>
  11. <ddaylist>
  12. <instcd/>
  13. <jobstat/>
  14. <seqnum/>
  15. <reqdate/>
  16. <reqdept/>
  17. <requser/>
  18. <reqprog/>
  19. <chktype/>
  20. <chkdesc/>
  21. <chkuser/>
  22. <reqtel/>
  23. <prouser/>
  24. <jobuser/>
  25. <enddate/>
  26. <prodesc/>
  27. <jobdesc/>
  28. <chkdesc2/>
  29. <jobflag/>
  30. <chfflag/>
  31. </ddaylist>
  32. </ddaymngt>
  33. </main>
  34. <send>
  35. <srchfromdd/>
  36. <srchtodd/>
  37. <srchflag>1</srchflag>
  38. <jobflag/>
  39. <chkflag/>
  40. <deptflag/>
  41. <userflag/>
  42. <savedata/>
  43. <srchinstcd/>
  44. <seqnum/>
  45. <reselect/>
  46. </send>
  47. <init>
  48. </init>
  49. <hidden/>
  50. <temp>
  51. <COUNT>
  52. <count>
  53. <cnt/>
  54. <cnt1/>
  55. <cnt2/>
  56. <cnt3/>
  57. <cnt4/>
  58. </count>
  59. <cacount>
  60. <cnt/>
  61. <cacnt1/>
  62. <cacnt2/>
  63. <cacnt3/>
  64. <cacnt4/>
  65. <cacnt5/>
  66. <cacnt6/>
  67. <cacnt7/>
  68. <cacnt8/>
  69. <cacnt9/>
  70. <cacnt10/>
  71. <cacnt11/>
  72. </cacount>
  73. </COUNT>
  74. </temp>
  75. <fwdData/>
  76. <rcvData/>
  77. <img/>
  78. </root>
  79. </instance>
  80. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  81. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  82. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  83. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  84. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  85. <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
  86. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  87. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  88. <script type="javascript" src="../../../com/authinfoweb/js/ZSA001.js"/>
  89. <script type="javascript" ev:event="xforms-ready">
  90. <![CDATA[
  91. var d_day = "20100605"; //오픈 날짜
  92. var date1 = new Date(d_day.substr(0,4),d_day.substr(4,2)-1,d_day.substr(6,2));
  93. var date2 = new Date( getCurrentDate().substr(0,4),getCurrentDate().substr(4,2)-1,getCurrentDate().substr(6,2));
  94. var day_temp = date2 - date1;
  95. var day = 1000*60*60*24;
  96. var cur_date = getCurrentDate(); //지정된 컬럼에 오늘 날짜를 넣는방법
  97. model.setValue( input2.attribute("ref") , cur_date);
  98. model.setValue( input3.attribute("ref") , cur_date);
  99. model.setValue("/root/send/srchinstcd", getUserInfo("dutplceinstcd"));
  100. var day_count = " " + parseInt(day_temp/day) + " 일"
  101. output14.value = day_count;
  102. getDayList();
  103. ]]>
  104. </script>
  105. <submission id="TRAHR05100" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/ddaymngt"/>
  106. <submission id="TRAHR05101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp/COUNT"/>
  107. <submission id="TXAHR05100" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden"/>
  108. <submission id="TXAGA00112" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send"/>
  109. </model>
  110. <script type="javascript">
  111. <![CDATA[
  112. //조회
  113. function getDayList() {
  114. model.removeNodeset("/root/main/ddaymngt/ddaylist");
  115. model.makeNode("/root/main/ddaymngt/ddaylist");
  116. datagrid1.rebuildStyle();
  117. submit("TRAHR05100",false);
  118. submit("TRAHR05101",false);
  119. model.refresh();
  120. var srcNodeList = model.instances(0).selectNodes ( "/root/main/ddaymngt/ddaylist" );
  121. for ( i=0; i <= srcNodeList.length; i++ ) {
  122. // var a1 = model.getValue ( "/root/main/ddaymngt/ddaylist[" + i + "]/chkdesc");
  123. // var a2 = a1.replace(/\n/g, "");
  124. // var a3 = a2.replace(/\r/g, "");
  125. // model.setValue("/root/main/ddaymngt/ddaylist[" + i + "]/chkdesc",a3);
  126. if(model.getValue ( "/root/main/ddaymngt/ddaylist[" + i + "]/chktype" ) == 'I'){
  127. datagrid1.RowStyle(i, "data", "background-color") = "#99ccff";
  128. }else if(model.getValue ( "/root/main/ddaymngt/ddaylist[" + i + "]/chktype" ) == 'H'){
  129. datagrid1.RowStyle(i, "data", "background-color") = "#ff9900";
  130. }else if(model.getValue ( "/root/main/ddaymngt/ddaylist[" + i + "]/jobstat" ) == '4'){
  131. datagrid1.RowStyle(i, "data", "background-color") = "#c0c0c0";
  132. }else if(model.getValue ( "/root/main/ddaymngt/ddaylist[" + i + "]/jobstat" ) == '3'){
  133. datagrid1.RowStyle(i, "data", "background-color") = "#FF99CC";
  134. }
  135. }
  136. }
  137. function fReSearch() {
  138. btn_sea.dispatch("DOMActivate");
  139. }
  140. ]]>
  141. </script>
  142. </xhtml:head>
  143. <xhtml:body guideline="1,1200;2,797;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  144. <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1194px; height:712px; ">
  145. <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
  146. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  147. <line id="line13" class="line_4" style="x1:1112px; y1:7px; x2:1112px; y2:29px; "/>
  148. <button id="btn_sea" class="btn1_letter2" navindex="5" style="left:1128px; top:7px; width:56px; height:22px; ">
  149. <caption>조회</caption>
  150. <script type="javascript" ev:event="DOMActivate">
  151. <![CDATA[
  152. getDayList();
  153. ]]>
  154. </script>
  155. </button>
  156. <caption id="caption2" class="search_name" style="left:5px; top:8px; width:96px; height:17px; ">조회기간 :</caption>
  157. <caption id="caption14" class="search_n_b" style="left:211px; top:9px; width:12px; height:17px; font-weight:bolder; ">~</caption>
  158. <input id="input2" ref="/root/send/srchfromdd" class="input_s_essential" navindex="1" inputtype="date" style="left:107px; top:8px; width:100px; height:19px; "/>
  159. <input id="input3" ref="/root/send/srchtodd" class="input_s_essential" navindex="2" inputtype="date" style="left:227px; top:8px; width:100px; height:19px; "/>
  160. <caption id="caption3" class="search_name" style="left:390px; top:10px; width:86px; height:17px; ">조회구분 :</caption>
  161. <select1 id="radio1" ref="/root/send/srchflag" navindex="3" appearance="full" cols="5" overflow="visible" style="left:480px; top:10px; width:290px; height:15px; text-align:left; vertical-align:middle; border-style:none; ">
  162. <choices>
  163. <item>
  164. <label>전체</label>
  165. <value>1</value>
  166. </item>
  167. <item>
  168. <label>상태별</label>
  169. <value>2</value>
  170. </item>
  171. <item>
  172. <label>유형별</label>
  173. <value>3</value>
  174. </item>
  175. <item>
  176. <label>신고자별</label>
  177. <value>4</value>
  178. </item>
  179. <item>
  180. <label>부서별</label>
  181. <value>5</value>
  182. </item>
  183. </choices>
  184. <script type="javascript" ev:event="xforms-value-changed">
  185. <![CDATA[
  186. var srchType = model.getValue("/root/send/srchflag");
  187. if(srchType == "1") {
  188. combo1.visible = false;
  189. combo2.visible = false;
  190. input1.visible = false;
  191. input4.visible = false;
  192. }else if(srchType == "2") {
  193. combo1.visible = true;
  194. combo2.visible = false;
  195. input1.visible = false;
  196. input4.visible = false;
  197. }else if(srchType == "3") {
  198. combo1.visible = false;
  199. combo2.visible = true;
  200. input1.visible = false;
  201. input4.visible = false;
  202. }else if(srchType == "4"){
  203. combo1.visible = false;
  204. combo2.visible = false;
  205. input1.visible = true;
  206. input4.visible = false;
  207. }else if(srchType == "5"){
  208. combo1.visible = false;
  209. combo2.visible = false;
  210. input1.visible = false;
  211. input4.visible = true;
  212. }
  213. ]]>
  214. </script>
  215. </select1>
  216. <select1 id="combo1" ref="/root/send/jobflag" visibility="hidden" appearance="minimal" style="left:825px; top:8px; width:180px; height:19px; ">
  217. <choices>
  218. <item>
  219. <label>접수</label>
  220. <value>1</value>
  221. </item>
  222. <item>
  223. <label>진행</label>
  224. <value>2</value>
  225. </item>
  226. <item>
  227. <label>사후</label>
  228. <value>3</value>
  229. </item>
  230. <item>
  231. <label>완료</label>
  232. <value>4</value>
  233. </item>
  234. </choices>
  235. </select1>
  236. </group>
  237. <line id="line1" class="line_1" style="x1:3px; y1:73px; x2:1194px; y2:74px; "/>
  238. <input id="input4" ref="/root/send/deptflag" visibility="hidden" style="left:825px; top:18px; width:180px; height:19px; "/>
  239. <select1 id="combo2" ref="/root/send/chkflag" visibility="hidden" appearance="minimal" style="left:825px; top:18px; width:180px; height:19px; ">
  240. <choices>
  241. <item>
  242. <label>단순오류</label>
  243. <value>A</value>
  244. </item>
  245. <item>
  246. <label>사용미숙</label>
  247. <value>B</value>
  248. </item>
  249. <item>
  250. <label>사용문의</label>
  251. <value>C</value>
  252. </item>
  253. <item>
  254. <label>Data오류</label>
  255. <value>D</value>
  256. </item>
  257. <item>
  258. <label>프로그램</label>
  259. <value>E</value>
  260. </item>
  261. <item>
  262. <label>H/W</label>
  263. <value>F</value>
  264. </item>
  265. <item>
  266. <label>기타</label>
  267. <value>G</value>
  268. </item>
  269. <item>
  270. <label>현장지원</label>
  271. <value>H</value>
  272. </item>
  273. <item>
  274. <label>기준자료</label>
  275. <value>J</value>
  276. </item>
  277. <item>
  278. <label>요청사항</label>
  279. <value>K</value>
  280. </item>
  281. <item>
  282. <label>공지사항</label>
  283. <value>I</value>
  284. </item>
  285. </choices>
  286. </select1>
  287. <datagrid id="datagrid1" nodeset="/root/main/ddaymngt/ddaylist" caption="기관코드^진행상태^일련번호^신고일시^현장부서^신고자^해당화면^상황접수유형^장애내용^접수자^연락번호^접수자^처리자^처리일시^처리내역^비고^진행상태^상황접수내역" colsep="^" colwidth="52, 62, 83, 100, 103, 70, 84, 87, 406, 61, 100, 61, 60, 100, 100, 100, 100, 100" ellipsis="true" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:3px; top:78px; width:1017px; height:632px; background-color:transparent; ">
  288. <col ref="instcd" visibility="hidden"/>
  289. <col disabled="true" ref="jobstat" type="combo" style="text-align:center; ">
  290. <choices>
  291. <item>
  292. <label>접수</label>
  293. <value>1</value>
  294. </item>
  295. <item>
  296. <label>진행</label>
  297. <value>2</value>
  298. </item>
  299. <item>
  300. <label>사후</label>
  301. <value>3</value>
  302. </item>
  303. <item>
  304. <label>완료</label>
  305. <value>4</value>
  306. </item>
  307. </choices>
  308. </col>
  309. <col ref="seqnum" visibility="hidden"/>
  310. <col ref="reqdate" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  311. <col ref="reqdept" style="text-align:center; "/>
  312. <col ref="requser" style="text-align:center; "/>
  313. <col ref="reqprog"/>
  314. <col disabled="true" ref="chktype" type="combo" style="text-align:center; ">
  315. <choices>
  316. <item>
  317. <label>단순오류</label>
  318. <value>A</value>
  319. </item>
  320. <item>
  321. <label>사용미숙</label>
  322. <value>B</value>
  323. </item>
  324. <item>
  325. <label>사용문의</label>
  326. <value>C</value>
  327. </item>
  328. <item>
  329. <label>Data오류</label>
  330. <value>D</value>
  331. </item>
  332. <item>
  333. <label>프로그램</label>
  334. <value>E</value>
  335. </item>
  336. <item>
  337. <label>H/W</label>
  338. <value>F</value>
  339. </item>
  340. <item>
  341. <label>기타</label>
  342. <value>G</value>
  343. </item>
  344. <item>
  345. <label>현장지원</label>
  346. <value>H</value>
  347. </item>
  348. <item>
  349. <label>기준자료</label>
  350. <value>J</value>
  351. </item>
  352. <item>
  353. <label>요청사항</label>
  354. <value>K</value>
  355. </item>
  356. <item>
  357. <label>공지사항</label>
  358. <value>I</value>
  359. </item>
  360. </choices>
  361. </col>
  362. <col ref="chkdesc" style="left:520px; top:23px; width:406px; height:23px; "/>
  363. <col ref="chkuser" style="text-align:center; "/>
  364. <col ref="reqtel" visibility="hidden"/>
  365. <col ref="prouser" visibility="hidden"/>
  366. <col ref="jobuser" visibility="hidden"/>
  367. <col ref="enddate" visibility="hidden"/>
  368. <col ref="prodesc" visibility="hidden"/>
  369. <col ref="jobdesc" visibility="hidden"/>
  370. <col ref="jobflag" visibility="hidden"/>
  371. <col ref="chfflag" visibility="hidden"/>
  372. <script type="javascript" ev:event="ondblclick">
  373. <![CDATA[
  374. var row = datagrid1.row;
  375. if(row > 0) {
  376. window.load("SPAHA09991_상황실입력수정.xrw",
  377. "modal",
  378. "",
  379. "width:850px; height:600px; resize:false; align:center;",
  380. "/root/main/ddaymngt/ddaylist[" + row + "]",
  381. "/root/main/list/new"
  382. );
  383. }
  384. ]]>
  385. </script>
  386. <script type="javascript" ev:event="onaftersort">
  387. <![CDATA[
  388. datagrid1.gridToInstance();
  389. ]]>
  390. </script>
  391. </datagrid>
  392. <output id="output6" ref="/root/temp/COUNT/cacount/cacnt3" style="left:1087px; top:486px; width:102px; height:19px; font-size:14pt; font-weight:bold; text-align:center; "/>
  393. <output id="output10" ref="/root/temp/COUNT/cacount/cacnt7" style="left:1087px; top:667px; width:102px; height:19px; font-size:14pt; font-weight:bold; text-align:center; "/>
  394. <output id="output7" ref="/root/temp/COUNT/cacount/cacnt4" style="left:1087px; top:512px; width:102px; height:19px; font-size:14pt; font-weight:bold; text-align:center; "/>
  395. <output id="output11" ref="/root/temp/COUNT/cacount/cacnt8" style="left:1087px; top:591px; width:102px; height:19px; font-size:14pt; font-weight:bold; text-align:center; "/>
  396. <output id="output8" ref="/root/temp/COUNT/cacount/cacnt1" style="left:1087px; top:434px; width:102px; height:19px; font-size:14pt; font-weight:bold; text-align:center; "/>
  397. <output id="output12" ref="/root/temp/COUNT/cacount/cacnt5" style="left:1087px; top:538px; width:102px; height:19px; font-size:14pt; font-weight:bold; text-align:center; "/>
  398. <output id="output9" ref="/root/temp/COUNT/cacount/cacnt2" style="left:1087px; top:460px; width:102px; height:19px; font-size:14pt; font-weight:bold; text-align:center; "/>
  399. <output id="output13" ref="/root/temp/COUNT/cacount/cacnt6" style="left:1087px; top:564px; width:102px; height:19px; font-size:14pt; font-weight:bold; text-align:center; "/>
  400. <output id="output17" ref="/root/temp/COUNT/cacount/cacnt10" style="left:1087px; top:617px; width:102px; height:19px; font-size:14pt; font-weight:bold; text-align:center; "/>
  401. <output id="output18" ref="/root/temp/COUNT/cacount/cacnt11" style="left:1087px; top:642px; width:102px; height:19px; font-size:14pt; font-weight:bold; text-align:center; "/>
  402. <caption id="caption20" class="cell_1" style="left:1025px; top:589px; width:60px; height:23px; text-align:center; vertical-align:middle; ">현장지원</caption>
  403. <caption id="caption10" class="cell_1" style="left:1025px; top:432px; width:60px; height:23px; text-align:center; vertical-align:middle; ">단순오류</caption>
  404. <caption id="caption11" class="cell_1" style="left:1025px; top:458px; width:60px; height:23px; text-align:center; vertical-align:middle; ">사용미숙</caption>
  405. <caption id="caption12" class="cell_1" style="left:1025px; top:484px; width:60px; height:23px; text-align:center; vertical-align:middle; ">사용문의</caption>
  406. <caption id="caption13" class="cell_1" style="left:1025px; top:510px; width:60px; height:23px; text-align:center; vertical-align:middle; ">Data오류</caption>
  407. <caption id="caption4" class="cell_1" style="left:1025px; top:341px; width:165px; height:35px; font-family:굴림체; font-weight:bold; text-align:center; vertical-align:middle; ">상황 접수 유형</caption>
  408. <caption id="caption15" class="cell_1" style="left:1025px; top:536px; width:60px; height:23px; text-align:center; vertical-align:middle; ">프로그램</caption>
  409. <caption id="caption16" class="cell_1" style="left:1025px; top:562px; width:60px; height:23px; text-align:center; vertical-align:middle; ">H/W</caption>
  410. <caption id="caption17" class="cell_1" style="left:1025px; top:665px; width:60px; height:23px; text-align:center; vertical-align:middle; ">기타</caption>
  411. <caption id="caption19" class="cell_2" style="left:1025px; top:206px; width:60px; height:23px; text-align:center; vertical-align:middle; ">전체</caption>
  412. <output id="output3" ref="/root/temp/COUNT/count/cnt" appearance="output" style="left:1087px; top:208px; width:102px; height:19px; font-size:14pt; font-weight:bold; text-align:center; "/>
  413. <line id="line46" class="line_2" style="x1:1025px; y1:456px; x2:1190px; y2:456px; "/>
  414. <line id="line3" class="line_2" style="x1:1025px; y1:256px; x2:1190px; y2:256px; "/>
  415. <line id="line4" class="line_2" style="x1:1025px; y1:482px; x2:1190px; y2:482px; "/>
  416. <line id="line5" class="line_2" style="x1:1025px; y1:508px; x2:1190px; y2:508px; "/>
  417. <line id="line6" class="line_2" style="x1:1025px; y1:534px; x2:1190px; y2:534px; "/>
  418. <line id="line7" class="line_2" style="x1:1025px; y1:560px; x2:1190px; y2:560px; "/>
  419. <line id="line8" class="line_2" style="x1:1025px; y1:586px; x2:1190px; y2:586px; "/>
  420. <line id="line9" class="line_2" style="x1:1025px; y1:612px; x2:1190px; y2:612px; "/>
  421. <line id="line10" class="line_2" style="x1:1025px; y1:638px; x2:1190px; y2:638px; "/>
  422. <caption id="caption5" class="cell_1" style="left:1025px; top:232px; width:60px; height:23px; text-align:center; vertical-align:middle; ">접수</caption>
  423. <output id="output1" ref="/root/temp/COUNT/count/cnt1" appearance="output" style="left:1087px; top:234px; width:102px; height:19px; font-size:14pt; font-weight:bold; color:#ff0000; text-align:center; "/>
  424. <caption id="caption7" class="cell_1" style="left:1025px; top:258px; width:60px; height:23px; text-align:center; vertical-align:middle; ">진행</caption>
  425. <output id="output2" ref="/root/temp/COUNT/count/cnt2" appearance="output" style="left:1087px; top:260px; width:102px; height:19px; font-size:14pt; font-weight:bold; color:#0000ff; text-align:center; "/>
  426. <line id="line11" class="line_2" style="x1:1025px; y1:282px; x2:1190px; y2:282px; "/>
  427. <caption id="caption8" class="cell_1" style="left:1025px; top:284px; width:60px; height:23px; text-align:center; vertical-align:middle; ">사후</caption>
  428. <output id="output4" ref="/root/temp/COUNT/count/cnt3" appearance="output" style="left:1087px; top:286px; width:102px; height:19px; font-size:14pt; font-weight:bold; color:#ff00ff; text-align:center; "/>
  429. <line id="line12" class="line_2" style="x1:1025px; y1:308px; x2:1190px; y2:308px; "/>
  430. <output id="output5" ref="/root/temp/COUNT/count/cnt4" appearance="output" style="left:1087px; top:312px; width:102px; height:19px; font-size:14pt; font-weight:bold; color:#808080; text-align:center; "/>
  431. <caption id="caption9" class="cell_1" style="left:1026px; top:310px; width:60px; height:23px; text-align:center; vertical-align:middle; ">완료</caption>
  432. <line id="line14" class="line_2" style="x1:1026px; y1:334px; x2:1191px; y2:334px; "/>
  433. <input id="input1" ref="/root/send/userflag" navindex="4" visibility="hidden" style="left:825px; top:18px; width:180px; height:19px; "/>
  434. <button id="button3" class="btn2_letter2" visibility="hidden" style="left:1082px; top:52px; width:42px; height:19px; ">
  435. <caption>삭제</caption>
  436. <script type="javascript" ev:event="DOMActivate">
  437. <![CDATA[
  438. var cur_seq = model.getValue("/root/main/ddaymngt/ddaylist["+datagrid1.row+"]/seqnum");
  439. if (cur_seq == " "){
  440. alert( " 삭제할 데이터를 선택하여 주시기 바랍니다" );
  441. }
  442. else{
  443. datagrid1.rebuildStyle();
  444. model.setValue("/root/send/seqnum",cur_seq);
  445. submit("TXAGA00112",false);
  446. submit("TRAHR05100",false);
  447. submit("TRAHR05101");
  448. var srcNodeList = model.instances(0).selectNodes ( "/root/main/ddaymngt/ddaylist" );
  449. for ( i=0; i <= srcNodeList.length; i++ ) {
  450. if(model.getValue ( "/root/main/ddaymngt/ddaylist[" + i + "]/chktype" ) == 'I'){
  451. datagrid1.RowStyle(i, "data", "background-color") = "#99ccff";
  452. }else if(model.getValue ( "/root/main/ddaymngt/ddaylist[" + i + "]/chktype" ) == 'H'){
  453. datagrid1.RowStyle(i, "data", "background-color") = "#ff9900";
  454. }else if(model.getValue ( "/root/main/ddaymngt/ddaylist[" + i + "]/jobstat" ) == '4'){
  455. datagrid1.RowStyle(i, "data", "background-color") = "#c0c0c0";
  456. }else if(model.getValue ( "/root/main/ddaymngt/ddaylist[" + i + "]/jobstat" ) == '3'){
  457. datagrid1.RowStyle(i, "data", "background-color") = "#FF99CC";
  458. }
  459. }
  460. model.refresh();
  461. alert(" 성공적으로 삭제 되었습니다");
  462. }
  463. ]]>
  464. </script>
  465. </button>
  466. <caption id="caption1" class="cell_1" style="left:1025px; top:120px; width:165px; height:42px; font-size:14pt; font-weight:bold; color:#ff0000; text-align:left; vertical-align:middle; ">D-Day :</caption>
  467. <output id="output14" style="left:1089px; top:131px; width:100px; height:19px; font-family:굴림; font-size:14pt; font-weight:bold; color:#ff0000; text-align:center; "/>
  468. <caption id="caption18" class="cell_1" style="left:1025px; top:171px; width:165px; height:34px; font-family:굴림체; font-weight:bold; text-align:center; vertical-align:middle; ">진행 상태 집계</caption>
  469. <line id="line15" class="line_1" style="x1:1025px; y1:335px; x2:1190px; y2:335px; "/>
  470. <line id="line16" class="line_1" style="x1:1025px; y1:165px; x2:1190px; y2:165px; "/>
  471. <caption id="caption21" class="cell_2" style="left:1025px; top:380px; width:60px; height:23px; text-align:center; vertical-align:middle; ">전체</caption>
  472. <output id="output15" ref="/root/temp/COUNT/cacount/cnt" style="left:1087px; top:382px; width:102px; height:19px; font-size:14pt; font-weight:bold; text-align:center; "/>
  473. <output id="output16" ref="/root/temp/COUNT/cacount/cacnt9" style="left:1087px; top:408px; width:102px; height:19px; font-size:14pt; font-weight:bold; text-align:center; "/>
  474. <caption id="caption22" class="cell_1" style="left:1025px; top:406px; width:60px; height:23px; text-align:center; vertical-align:middle; ">공지사항</caption>
  475. <line id="line2" class="line_2" style="x1:1025px; y1:230px; x2:1190px; y2:230px; "/>
  476. <line id="line17" class="line_2" style="x1:1025px; y1:430px; x2:1190px; y2:430px; "/>
  477. <line id="line18" class="line_2" style="x1:1025px; y1:404px; x2:1190px; y2:404px; "/>
  478. <caption id="caption23" class="cell_1" style="left:1025px; top:615px; width:60px; height:23px; text-align:center; vertical-align:middle; ">기준자료</caption>
  479. <caption id="caption24" class="cell_1" style="left:1025px; top:640px; width:60px; height:23px; text-align:center; vertical-align:middle; ">요청자료</caption>
  480. <bool id="bool1" checkvalue="Y,N" ref="/root/send/reselect" style="left:925px; top:50px; width:20px; height:20px; ">
  481. <script type="javascript" ev:event="xforms-value-changed">
  482. <![CDATA[
  483. var reselect = model.getValue("/root/send/reselect");
  484. if (reselect == "Y") {
  485. fReSearchID = window.setInterval("fReSearch()", 15000); //6시간
  486. } else {
  487. window.clearInterval(fReSearchID);
  488. }
  489. model.refresh();
  490. ]]>
  491. </script>
  492. </bool>
  493. <caption id="caption25" style="left:945px; top:50px; width:100px; height:20px; ">
  494. <![CDATA[자동 재조회]]>
  495. <script type="javascript" ev:event="onclick">
  496. <![CDATA[
  497. var reselect = model.getValue("/root/send/reselect");
  498. if (reselect == "N" || isNull(reselect)) {
  499. model.setValue("/root/send/reselect", "Y");
  500. } else {
  501. model.setValue("/root/send/reselect", "N");
  502. }
  503. model.refresh();
  504. ]]>
  505. </script>
  506. </caption>
  507. </group>
  508. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  509. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:144px; height:14px; ">상황실 프로그램</caption>
  510. </group>
  511. <button id="button1" class="btn2_letter4" navindex="7" style="left:1126px; top:62px; width:64px; height:19px; ">
  512. <caption>엑셀저장</caption>
  513. <script type="javascript" ev:event="DOMActivate">
  514. <![CDATA[
  515. var file = window.fileDialog("save", "", "true", "", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  516. if(file != "") {
  517. datagrid1.saveExcel(file, "colhiddenextend:true;");
  518. }
  519. ]]>
  520. </script>
  521. </button>
  522. <button id="button2" class="btn5_letter2" disabled="false" navindex="6" style="left:1075px; top:62px; width:42px; height:19px; ">
  523. <caption>입력</caption>
  524. <script type="javascript" ev:event="onclick">
  525. <![CDATA[
  526. datagrid1.rebuildStyle();
  527. model.makeValue("/root/fwdData/data","button2");
  528. window.load("SPAHA09990_상황실입력.xrw",
  529. "modal",
  530. "",
  531. "width:850px; height:600px; resize:false; align:center;",
  532. "/root/main/list/new",
  533. "/root/main/ddaymngt/ddaylist"
  534. );
  535. ]]>
  536. </script>
  537. </button>
  538. <line id="line52" class="line_3" style="x1:0px; y1:726px; x2:1195px; y2:726px; "/>
  539. <script type="javascript" ev:event="body(xhtml:body)">
  540. <![CDATA[
  541. ]]>
  542. </script>
  543. <img id="img1" visibility="visible" src="../../../com/commonweb/images/korean.jpg" appearance="image" style="left:1040px; top:104px; width:125px; height:20px; background-stretch:stretch; "/>
  544. <button id="button4" class="btn4_letter2" disabled="false" visibility="hidden" style="left:1130px; top:700px; width:56px; height:22px; ">
  545. <caption>닫기</caption>
  546. <script type="javascript" ev:event="onclick">
  547. <![CDATA[
  548. model.close();
  549. ]]>
  550. </script>
  551. </button>
  552. </xhtml:body>
  553. </xhtml:html>