SMZTP00500_프로젝트진척관리(인수위용).xrw 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  4. <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">
  5. <xhtml:head>
  6. <xhtml:title>프로젝트진척관리(인수위용)</xhtml:title>
  7. <model id="model1">
  8. <instance id="instance1">
  9. <root xmlns="">
  10. <main>
  11. <projlist>
  12. <list>
  13. <proj>
  14. <count/>
  15. <reprdept/>
  16. <dept/>
  17. <subteam/>
  18. <lrg/>
  19. <mdl/>
  20. <sml/>
  21. <srfeflag/>
  22. <scrnid/>
  23. <scrnname/>
  24. <insuimp/>
  25. <detailfe/>
  26. <dev/>
  27. <schedd/>
  28. <acptdd/>
  29. <startdd/>
  30. <enddd/>
  31. <prcsrate/>
  32. <prcsyn/>
  33. <scrnveriyn/>
  34. <scrnveriper/>
  35. <scrnveridd/>
  36. <testendyn/>
  37. <testveriper/>
  38. <testdd/>
  39. <insuendyn/>
  40. <remark/>
  41. <funt1/>
  42. <funt2/>
  43. <funt3/>
  44. <updtneedyn/>
  45. <fstinptper/>
  46. <fstinptdd/>
  47. <updtper/>
  48. <updtdd/>
  49. <useyn/>
  50. <seq/>
  51. </proj>
  52. </list>
  53. </projlist>
  54. <list/>
  55. </main>
  56. <send>
  57. <search>
  58. <subteam/>
  59. <lrg/>
  60. <mdl/>
  61. <sml/>
  62. <srfeflag/>
  63. <scrnname/>
  64. </search>
  65. <projlist/>
  66. </send>
  67. <init>
  68. <srfe>
  69. <item>
  70. <name>전체</name>
  71. <id>-</id>
  72. </item>
  73. <item>
  74. <name>화면</name>
  75. <id>화면</id>
  76. </item>
  77. <item>
  78. <name>보고서</name>
  79. <id>보고서</id>
  80. </item>
  81. <item>
  82. <name>기능</name>
  83. <id>기능</id>
  84. </item>
  85. <item>
  86. <name>오류</name>
  87. <id>오류</id>
  88. </item>
  89. </srfe>
  90. <subteam>
  91. <item>
  92. <name>전체</name>
  93. <id>-</id>
  94. </item>
  95. <item>
  96. <name>원무</name>
  97. <id>원무</id>
  98. </item>
  99. <item>
  100. <name>EMR</name>
  101. <id>EMR</id>
  102. </item>
  103. <item>
  104. <name>SWAT</name>
  105. <id>SWAT</id>
  106. </item>
  107. <item>
  108. <name>공통</name>
  109. <id>공통</id>
  110. </item>
  111. </subteam>
  112. </init>
  113. </root>
  114. </instance>
  115. <submission id="TRTBP00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/projlist/list"/>
  116. <script type="javascript" ev:event="xforms-model-construct-done">
  117. <![CDATA[
  118. combo1.select(0);
  119. combo2.select(0);
  120. ]]>
  121. </script>
  122. <script type="javascript" ev:event="xforms-ready">
  123. <![CDATA[
  124. model.removeNodeset("/root/main/projlist/list/proj");
  125. var gridObj = document.all("grd_projlist");
  126. gridObj.cellStyle("background-image", 0, 2) = "";
  127. gridObj.cellStyle("background-color", 0, 2) = "yellow";
  128. gridObj.cellStyle("background-image", 0, 3) = "";
  129. gridObj.cellStyle("background-color", 0, 3) = "yellow";
  130. gridObj.cellStyle("background-image", 0, 11) = "";
  131. gridObj.cellStyle("background-color", 0, 11) = "yellow";
  132. gridObj.cellStyle("background-image", 0, 20) = "";
  133. gridObj.cellStyle("background-color", 0, 20) = "yellow";
  134. gridObj.cellStyle("background-image", 0, 21) = "";
  135. gridObj.cellStyle("background-color", 0, 21) = "yellow";
  136. gridObj.cellStyle("background-image", 0, 22) = "";
  137. gridObj.cellStyle("background-color", 0, 22) = "yellow";
  138. gridObj.cellStyle("background-image", 0, 23) = "";
  139. gridObj.cellStyle("background-color", 0, 23) = "yellow";
  140. gridObj.cellStyle("background-image", 0, 24) = "";
  141. gridObj.cellStyle("background-color", 0, 24) = "yellow";
  142. gridObj.cellStyle("background-image", 0, 25) = "";
  143. gridObj.cellStyle("background-color", 0, 25) = "yellow";
  144. gridObj.cellStyle("background-image", 0, 26) = "";
  145. gridObj.cellStyle("background-color", 0, 26) = "yellow";
  146. model.refresh();
  147. ]]>
  148. </script>
  149. <submission id="TXTBP00501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list"/>
  150. </model>
  151. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  152. <script type="javascript">
  153. <![CDATA[
  154. function checkGridUpdate(grid)
  155. {
  156. var iData = grid.getUpdateDataXml("insert");
  157. var uData = grid.getUpdateDataXml("update");
  158. var dData = grid.getUpdateDataXml("delete");
  159. if (iData=="" && uData=="" && dData=="") return false;
  160. else return true;
  161. }
  162. function checkGridField(grid, field)
  163. {
  164. //alert(grd_scrnlist.fixedRows);
  165. // alert(grd_scrnlist.rows);
  166. var nodeset = grid.nodeset;
  167. var iStatus;
  168. var iData = grid.getUpdateDataXml("insert");
  169. for (i=grid.fixedRows; i<grid.rows; i++)
  170. {
  171. iStatus = grid.rowstatus(i);
  172. if (iStatus == 1) // ?? ??? ?? ????
  173. {
  174. if(model.getValue(nodeset+"["+i+"]/"+field)=="") return false;
  175. }
  176. }
  177. return true;
  178. }
  179. ]]>
  180. </script>
  181. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  182. </xhtml:head>
  183. <xhtml:body guideline="1,1195;2,782;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  184. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  185. <caption id="caption1" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">프로젝트진척관리(인수위)</caption>
  186. </group>
  187. <group id="group5" scroll="auto" style="left:0px; top:45px; width:1195px; height:730px; ">
  188. <group id="group6" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
  189. <shape id="roundrect3" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; "/>
  190. <line id="line18" class="line_4" style="x1:1066px; y1:7px; x2:1066px; y2:29px; border-left-style:solid; "/>
  191. <caption id="caption2" class="search_name" style="left:6px; top:8px; width:86px; height:17px; ">SubTeam</caption>
  192. <caption id="caption3" class="search_name" style="left:201px; top:8px; width:66px; height:17px; ">대분류</caption>
  193. <caption id="caption4" class="search_name" style="left:376px; top:8px; width:71px; height:17px; ">중분류</caption>
  194. <caption id="caption5" class="search_name" style="left:551px; top:8px; width:66px; height:17px; ">소분류</caption>
  195. <caption id="caption6" class="search_name" style="left:725px; top:10px; width:54px; height:17px; ">구분</caption>
  196. <caption id="caption7" class="search_name" style="left:885px; top:10px; width:63px; height:17px; ">화면명</caption>
  197. <button id="button1" class="btn1_letter2" style="left:1100px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  198. <caption>조회</caption>
  199. <script type="javascript" ev:event="DOMActivate">
  200. <![CDATA[
  201. submit("TRTBP00101");
  202. ]]>
  203. </script>
  204. </button>
  205. <input id="input2" ref="/root/send/search/lrg" class="input_search" style="left:270px; top:10px; width:100px; height:19px; "/>
  206. <input id="input3" ref="/root/send/search/mdl" class="input_search" style="left:445px; top:10px; width:100px; height:19px; "/>
  207. <input id="input4" ref="/root/send/search/sml" class="input_search" style="left:620px; top:10px; width:100px; height:19px; "/>
  208. <select1 id="combo1" ref="/root/send/search/srfeflag" class="combo_search" appearance="minimal" style="left:780px; top:10px; width:100px; height:19px; ">
  209. <choices>
  210. <itemset nodeset="/root/init/srfe/item">
  211. <label ref="name"/>
  212. <value ref="id"/>
  213. </itemset>
  214. </choices>
  215. </select1>
  216. <input id="input5" ref="/root/send/search/scrnname" class="input_search" style="left:955px; top:10px; width:100px; height:19px; "/>
  217. <select1 id="combo2" ref="/root/send/search/subteam" class="combo_search" appearance="minimal" style="left:95px; top:10px; width:100px; height:19px; ">
  218. <choices>
  219. <itemset nodeset="/root/init/subteam/item">
  220. <label ref="name"/>
  221. <value ref="id"/>
  222. </itemset>
  223. </choices>
  224. </select1>
  225. </group>
  226. <line id="line20" class="line_1" style="x1:0px; y1:81px; x2:1194px; y2:81px; "/>
  227. <caption id="caption8" class="tit_2" style="left:5px; top:66px; width:160px; height:13px; ">프로젝트 진척관리내역</caption>
  228. <group id="group2" style="left:820px; top:55px; width:375px; height:25px; ">
  229. <button id="button3" class="btn2_letter4" disable.background-image="../../../com/commonweb/images/dis_btn2_letter4.gif" style="left:305px; top:5px; width:64px; height:19px; background-image:../../../com/commonweb/images/btn2_letter4.gif; ">
  230. <caption>엑셀저장</caption>
  231. <script type="javascript" ev:event="DOMActivate">
  232. <![CDATA[
  233. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  234. if (fileName != "")
  235. {
  236. grd_projlist.saveExcel(fileName);
  237. }
  238. ]]>
  239. </script>
  240. </button>
  241. </group>
  242. <datagrid id="grd_projlist" nodeset="/root/main/projlist/list/proj" caption="s^대표부서^해당부서^SubTeam^대분류^중분류^소분류^화면/보고서/기능/오류 구분^화면ID^화면명^인수위중요도^세부기능/오류^개발자^예정완료일^추가일^시작일^종료일^진행률^공정률적용여부^인수위 화면&#xA;검증완료여부^인수위 화면&#xA;검증자^인수위 화면&#xA;검증일자^인수위테스트&#xA;완료여부^인수위테스트&#xA;검증자^인수위테스트일자^인수위완료여부^비고^기능분해1^기능분해2^기능분해3^수정필요여부^최초입력자^입력일시^수정자^수정일시^사용여부^seq|s^대표부서^해당부서^SubTeam^대분류^중분류^소분류^화면/보고서/기능/오류 구분^화면ID^화면명^인수위중요도^세부기능/오류^개발자^예정완료일^추가일^시작일^종료일^진행률^공정률적용여부^인수위 화면&#xA;검증완료여부^인수위 화면&#xA;검증자^인수위 화면&#xA;검증일자^인수위테스트&#xA;완료여부^인수위테스트&#xA;검증자^인수위테스트일자^인수위완료여부^비고^기능분해1^기능분해2^기능분해3^수정필요여부^최초입력자^입력일시^수정자^수정일시^사용여부^seq" colsep="^" colwidth="1, 70, 70, 60, 80, 80, 80, 50, 60, 100, 50, 100, 45, 67, 67, 67, 67, 45, 100, 100, 100, 100, 100, 100, 100, 100, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1" dataheight="23" defaultrows="0" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:85px; width:1194px; height:640px; ">
  243. <col ref="count"/>
  244. <col ref="reprdept" type="input"/>
  245. <col ref="dept" type="input"/>
  246. <col ref="subteam"/>
  247. <col ref="lrg"/>
  248. <col ref="mdl"/>
  249. <col ref="sml"/>
  250. <col ref="srfeflag"/>
  251. <col ref="scrnid"/>
  252. <col ref="scrnname"/>
  253. <col ref="insuimp" type="input"/>
  254. <col ref="detailfe"/>
  255. <col ref="dev"/>
  256. <col ref="schedd"/>
  257. <col ref="acptdd"/>
  258. <col ref="startdd"/>
  259. <col ref="enddd"/>
  260. <col ref="prcsrate"/>
  261. <col ref="prcsyn"/>
  262. <col ref="scrnveriyn" type="input"/>
  263. <col ref="scrnveriper"/>
  264. <col ref="scrnveridd"/>
  265. <col ref="testendyn" type="input"/>
  266. <col ref="testveriper"/>
  267. <col ref="testdd"/>
  268. <col ref="insuendyn" type="input"/>
  269. <col ref="remark" type="input"/>
  270. <col ref="funt1" type="input"/>
  271. <col ref="funt2" type="input"/>
  272. <col ref="funt3" type="input"/>
  273. <col ref="updtneedyn" type="input"/>
  274. <col ref="fstinptper" type="input"/>
  275. <col ref="fstinptdd" type="input"/>
  276. <col ref="updtper" type="input"/>
  277. <col ref="updtdd" type="input"/>
  278. <col ref="useyn" type="input"/>
  279. <col ref="seq"/>
  280. </datagrid>
  281. </group>
  282. <group id="group3" style="left:0px; top:13px; width:1190px; height:27px; ">
  283. <button id="button2" class="btn4_letter2" disable.background-image="../../../com/commonweb/images/dis_btn4_letter2.gif" style="left:1060px; top:2px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
  284. <caption>저장</caption>
  285. <script type="javascript" ev:event="DOMActivate">
  286. <![CDATA[
  287. if(messageBox("", "Q002")){
  288. if(!checkGridUpdate(grd_projlist))
  289. {
  290. alert("저장할 자료가 존재하지 않습니다.");
  291. return;
  292. }
  293. if(checkGridField(grd_projlist,"subteam")==false)
  294. {
  295. alert("데이터중에 비어있는 필수필드가 있습니다.");
  296. return;
  297. }
  298. model.setValue("/root/send/projlist",grd_projlist.getUpdateData());
  299. if ( submit("TXTBP00501") ) {
  300. grd_projlist.clearStatus(); // submit() 성공하면 그리드의 i,u,d 상태 제거
  301. submit("TRTBP00101");
  302. //changeNodeSet();
  303. }
  304. }
  305. ]]>
  306. </script>
  307. </button>
  308. <button id="button7" class="btn4_letter3" disable.background-image="../../../com/commonweb/images/dis_btn4_letter3.gif" style="left:1120px; top:2px; width:68px; height:22px; background-image:../../../com/commonweb/images/btn4_letter3.gif; ">
  309. <caption>초기화</caption>
  310. <script type="javascript" ev:event="DOMActivate">
  311. <![CDATA[
  312. model.removeNodeset("/root/main/projlist/list/proj");
  313. model.resetInstanceNode("/root/send");
  314. //model.resetInstanceNode("/root/main/item");
  315. model.refresh();
  316. combo1.select(0);
  317. combo2.select(0);
  318. ]]>
  319. </script>
  320. </button>
  321. <line id="line1" class="line_6" style="x1:0px; y1:25px; x2:1189px; y2:25px; "/>
  322. </group>
  323. </xhtml:body>
  324. </xhtml:html>