SMZHI02100_서버관리.xrw 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:my="http://www.comsquare.co.kr/example" xmlns:ms="urn:schemas-microsoft-com:xslt" 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" xmlns:cs="http://www.comsquare.co.kr/xforms">
  4. <xhtml:head>
  5. <xhtml:title>서버관리</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <servinfo>
  11. <servlist>
  12. <servcd/>
  13. <instcd/>
  14. <servnm/>
  15. <comptype/>
  16. <compnm/>
  17. <ostype/>
  18. <svctype/>
  19. </servlist>
  20. </servinfo>
  21. <servdetlinfo>
  22. <servdetl>
  23. </servdetl>
  24. </servdetlinfo>
  25. <saveresultinfo>
  26. <servlist>
  27. <servcd/>
  28. </servlist>
  29. </saveresultinfo>
  30. <swinfo>
  31. <swlist>
  32. <swnm/>
  33. <swver/>
  34. <usge/>
  35. <servcd/>
  36. <oldswnm/>
  37. <oldswver/>
  38. </swlist>
  39. </swinfo>
  40. <ipinfo>
  41. <iplist>
  42. <ip/>
  43. <usge/>
  44. <servcd/>
  45. <oldip/>
  46. </iplist>
  47. </ipinfo>
  48. <partinfo>
  49. <partlist>
  50. <partnm/>
  51. <setvol/>
  52. <usevol/>
  53. <useper/>
  54. <colldd/>
  55. <storservcd/>
  56. <storservnm/>
  57. <servcd/>
  58. <oldpartnm/>
  59. </partlist>
  60. </partinfo>
  61. </main>
  62. <send>
  63. <search>
  64. <compnm/>
  65. <servnm/>
  66. <servtype/>
  67. <ostype/>
  68. <dispnm/>
  69. <hostnm/>
  70. <svctype/>
  71. <os/>
  72. </search>
  73. <save>
  74. <servdata/>
  75. <swdata/>
  76. <ipdata/>
  77. <partdata/>
  78. </save>
  79. <searchdetl>
  80. <servcd/>
  81. </searchdetl>
  82. </send>
  83. <init>
  84. <codeinfo/>
  85. </init>
  86. <hidden>
  87. <instcds>
  88. <instcd>
  89. <label>본원</label>
  90. <value>031</value>
  91. </instcd>
  92. <instcd>
  93. <label>칠곡</label>
  94. <value>032</value>
  95. </instcd>
  96. </instcds>
  97. <ostypes>
  98. <ostype>
  99. <label>Windows</label>
  100. <value>W</value>
  101. </ostype>
  102. <ostype>
  103. <label>Unix</label>
  104. <value>U</value>
  105. </ostype>
  106. <ostype>
  107. <label>Linux</label>
  108. <value>L</value>
  109. </ostype>
  110. </ostypes>
  111. <servdetl>
  112. <servcd/>
  113. <servnm/>
  114. <instcd/>
  115. <dispnm/>
  116. <hostnm/>
  117. <svctype/>
  118. <servtype/>
  119. <ostype/>
  120. <os/>
  121. <spec/>
  122. <cpucnt/>
  123. <corecnt/>
  124. <memvol/>
  125. <storvol/>
  126. <compcd/>
  127. <comptype/>
  128. <compnm/>
  129. <bigo/>
  130. </servdetl>
  131. </hidden>
  132. </root>
  133. </instance>
  134. <submission id="TRZHI02101" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/init/codeinfo"/>
  135. <submission id="TRZHI02102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/search" resultref="/root/main/servinfo"/>
  136. <submission id="TRZHI02103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchdetl" resultref="/root/main/servdetlinfo"/>
  137. <submission id="TXZHI02101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save/servdata" resultref="/root/main/saveresultinfo"/>
  138. <script type="javascript" ev:event="xforms-ready">
  139. <![CDATA[
  140. fInitialize();
  141. ]]>
  142. </script>
  143. </model>
  144. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  145. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  146. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  147. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  148. <script type="javascript">
  149. <![CDATA[
  150. var smflag;
  151. var vflag;
  152. var caseflag = "case1";
  153. function fInitialize(){
  154. model.removeNodeset("/root/main/servinfo");
  155. model.makeNode("/root/main/servinfo");
  156. submit("TRZHI02101");
  157. model.refresh();
  158. }
  159. function fSearchDetl(){
  160. if(grd_servlist.rows-grd_servlist.fixedRows == 0){
  161. return;
  162. }
  163. // var updtdata = getGridUpdateData(grd_servlist);
  164. // if ( updtdata != "")
  165. // {
  166. // var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 조회 작업을","Q003");
  167. // if (ret == 7) { // not OK
  168. // return;
  169. // }
  170. // }
  171. model.setValue("/root/send/searchdetl/servcd",model.getValue("/root/main/servinfo/servlist["+grd_servlist.row+"]/servcd"));
  172. submit("TRZHI02103");
  173. }
  174. ]]>
  175. </script>
  176. </xhtml:head>
  177. <xhtml:body>
  178. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  179. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:186px; height:13; ">
  180. <![CDATA[서버관리]]>
  181. <script type="javascript" ev:event="ondblclick">
  182. <![CDATA[
  183. grp_copy.visible = true;
  184. ]]>
  185. </script>
  186. </caption>
  187. </group>
  188. <group id="group1" style="left:0px; top:13; width:1195px; height:27px; ">
  189. <button id="btn_print" class="btn3_letter2" navindex="97" visibility="hidden" style="left:3px; top:3px; width:56px; height:22px; ">
  190. <caption>출력</caption>
  191. </button>
  192. <button id="btn_init" class="btn4_letter3" navindex="101" style="left:1119px; top:3px; width:68px; height:22px; ">
  193. <caption>초기화</caption>
  194. <script type="javascript" ev:event="DOMActivate">
  195. <![CDATA[
  196. model.resetInstanceNode("/root/send");
  197. fInitialize();
  198. ]]>
  199. </script>
  200. </button>
  201. <button id="btn_save" class="btn4_letter2" navindex="100" style="left:1061px; top:3px; width:56px; height:22px; ">
  202. <caption>저장</caption>
  203. <script type="javascript" ev:event="DOMActivate">
  204. <![CDATA[
  205. model.copyNode("/root/send/save/servdata","/root/main/servdetlinfo/servdetl");
  206. model.setValue("/root/send/save/swdata",grd_sw.getUpdateData());
  207. model.setValue("/root/send/save/ipdata",grd_ip.getUpdateData());
  208. model.setValue("/root/send/save/partdata",grd_part.getUpdateData());
  209. model.makeValue("/root/send/save/servdata/sm",smflag);
  210. submit("TXZHI02101");
  211. if(smflag == "i"){
  212. model.setValue("/root/main/servdetlinfo/servdetl/servcd",model.getValue("/root/main/saveresultinfo/servlist/servcd"));
  213. smflag = "u";
  214. }
  215. model.refresh();
  216. ]]>
  217. </script>
  218. </button>
  219. <line id="line14" class="line_2" style="x1:0; y1:25; x2:1194; y2:25; "/>
  220. <button id="btn_new" class="btn4_letter2" navindex="101" style="left:1003px; top:3px; width:56px; height:22px; ">
  221. <caption>신규</caption>
  222. <script type="javascript" ev:event="DOMActivate">
  223. <![CDATA[
  224. //model.resetInstanceNode("/root/main/servdetlinfo/servdetl");
  225. model.copyNode("/root/main/servdetlinfo/servdetl","/root/hidden/servdetl");
  226. smflag = "i";
  227. model.refresh();
  228. ]]>
  229. </script>
  230. </button>
  231. </group>
  232. <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:735px; font-family:돋움체; ">
  233. <group id="group2" style="left:0px; top:5px; width:480px; height:125px; font-family:돋움체; vertical-align:top; ">
  234. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:480px; height:125px; font-family:돋움체; background-color:#fffbf2; border-color:#ffd799; "/>
  235. <caption id="cap_lrgcd_search" class="search_name" style="left:215px; top:10px; width:93px; height:17px; font-family:돋움체; ">표 시 명 :</caption>
  236. <button id="btn_search" class="btn1_letter2" navindex="20" style="left:420px; top:45px; width:56px; height:22px; font-family:돋움체; ">
  237. <caption>조회</caption>
  238. <script type="javascript" ev:event="DOMActivate">
  239. <![CDATA[
  240. /* 수정중이거나 입력 중인 데이터가 있는지 확인 */
  241. // misfGridRowStatusChange(grd_fixasettmplist, "/root/main/list/fixasetdet" , "/root/main/fixasetdet");
  242. //
  243. var updtdata = getGridUpdateData(grd_servlist);
  244. if ( updtdata != "")
  245. {
  246. var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 조회 작업을","Q003");
  247. if (ret == 7) { // not OK
  248. return;
  249. }
  250. }
  251. //model.removeNodeset("/root/main/list/fixaset/fixasetlist");
  252. //rszfComboUnitList (cmb_fixasetunit,model.getValue(cmb_instcd_search.attribute("ref")),model.getValue(cmb_goodflag_search.attribute("ref")));
  253. // misfMsterDetailRetrieve();
  254. if(submit("TRZHI02102")){
  255. vflag = "";
  256. }
  257. ]]>
  258. </script>
  259. </button>
  260. <line id="line15" class="line_4" style="x1:415px; y1:5px; x2:415px; y2:113px; font-family:돋움체; border-color:#ffd799; "/>
  261. <caption id="caption8" class="search_name" style="left:215px; top:35px; width:95px; height:17px; font-family:돋움체; ">호스트명 :</caption>
  262. <caption id="caption4" class="search_name" style="left:5px; top:87px; width:95px; height:17px; font-family:돋움체; ">OS 타입 :</caption>
  263. <caption id="caption10" class="search_name" style="left:215px; top:87px; width:92px; height:17px; font-family:돋움체; ">OS 종류 :</caption>
  264. <select1 id="combo12" ref="/root/send/search/os" appearance="minimal" style="left:310px; top:86px; width:100px; height:19px; ">
  265. <choices>
  266. <item>
  267. <label>combo3</label>
  268. <value>combo3</value>
  269. </item>
  270. </choices>
  271. </select1>
  272. <input id="input1" ref="/root/send/search/dispnm" style="left:310px; top:9px; width:100px; height:19px; "/>
  273. <select1 id="combo1" ref="/root/send/search/ostype" appearance="minimal" style="left:100px; top:86px; width:100px; height:19px; ">
  274. <choices>
  275. <itemset nodeset="/root/hidden/ostypes/ostype">
  276. <label ref="label"/>
  277. <value ref="value"/>
  278. </itemset>
  279. </choices>
  280. </select1>
  281. <input id="input2" ref="/root/send/search/hostnm" style="left:310px; top:34px; width:100px; height:19px; "/>
  282. <caption id="caption1" class="search_name" style="left:5px; top:10px; width:117px; height:17px; font-family:돋움체; ">전산장비명:</caption>
  283. <input id="input3" ref="/root/send/search/compnm" class="input_default" navindex="10" visibility="visible" style="left:100px; top:9px; width:100px; height:19px; ">
  284. <script type="javascript" ev:event="xforms-value-changed">
  285. <![CDATA[
  286. if(ipt_installplcecd_search.value.length == 0)
  287. ipt_installplcenm_search.value = "";
  288. else
  289. rszfValidationCheck("TRRAC90701", "custlist", "refcond,retrnm",
  290. "deptcd," + ipt_installplcecd_search.value, "", "installplcecd_search,installplcenm_search",
  291. ipt_installplcecd_search, "PPRAC00700", "","");
  292. installplcecd_search.refresh();
  293. installplcenm_search.refresh();
  294. ]]>
  295. </script>
  296. </input>
  297. <input id="input14" ref="/root/send/search/servnm" style="left:100px; top:35px; width:100px; height:19px; "/>
  298. <caption id="caption2" class="search_name" style="left:5px; top:35px; width:99px; height:17px; font-family:돋움체; ">서 버 명 :</caption>
  299. <caption id="caption3" class="search_name" style="left:5px; top:60px; width:97px; height:17px; font-family:돋움체; ">서버분류 :</caption>
  300. <select1 id="combo2" ref="/root/send/search/servtype" appearance="minimal" style="left:100px; top:60px; width:100px; height:19px; ">
  301. <choices>
  302. <item>
  303. <label>combo1</label>
  304. <value>combo1</value>
  305. </item>
  306. </choices>
  307. </select1>
  308. <caption id="caption5" class="search_name" style="left:215px; top:60px; width:103px; height:17px; font-family:돋움체; ">서비스분류:</caption>
  309. <select1 id="combo3" ref="/root/send/search/svctype" appearance="minimal" style="left:310px; top:60px; width:100px; height:19px; ">
  310. <choices>
  311. <item>
  312. <label>combo1</label>
  313. <value>combo1</value>
  314. </item>
  315. </choices>
  316. </select1>
  317. </group>
  318. <caption id="caption34" class="tit_2" style="left:0px; top:135px; width:130px; height:14px; font-family:돋움체; ">서버리스트</caption>
  319. <datagrid id="grd_servlist" nodeset="/root/main/servinfo/servlist" class="datagrid2" scroll="auto" caption="서버코드^기관^서버명^장비분류^장비명^OS타입^서비스분류" colsep="^" colwidth="23, 56, 123, 60, 69, 53, 73" dataheight="25" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" selectionmode="byrow" tooltip="true" navindex="21" style="left:0px; top:155px; width:480px; height:570px; font-family:돋움체; ">
  320. <col ref="servcd" visibility="hidden"/>
  321. <col ref="instcd" type="combo">
  322. <choices>
  323. <itemset nodeset="/root/hidden/instcds/instcd">
  324. <label ref="label"/>
  325. <value ref="value"/>
  326. </itemset>
  327. </choices>
  328. </col>
  329. <col ref="servnm"/>
  330. <col ref="comptype"/>
  331. <col ref="compnm"/>
  332. <col ref="ostype"/>
  333. <col ref="svctype" type="combo">
  334. <choices>
  335. <itemset nodeset="/root/init/codeinfo/C0201">
  336. <label ref="cdnm"/>
  337. <value ref="cdid"/>
  338. </itemset>
  339. </choices>
  340. </col>
  341. <script type="javascript" ev:event="xforms-value-changed">
  342. <![CDATA[
  343. vflag = "Y";
  344. ]]>
  345. </script>
  346. <script type="javascript" ev:event="onrowchanged">
  347. <![CDATA[
  348. if (isNull(vflag))
  349. {
  350. fSearchDetl();
  351. }
  352. ]]>
  353. </script>
  354. <script type="javascript" ev:event="onaftersort">
  355. <![CDATA[
  356. grd_servlist.gridToInstance();
  357. ]]>
  358. </script>
  359. <script type="javascript" ev:event="ondblclick">
  360. <![CDATA[
  361. if (isNull(vflag))
  362. {
  363. fSearchDetl();
  364. }
  365. ]]>
  366. </script>
  367. </datagrid>
  368. <line id="line3" class="line_1" style="x1:0px; y1:150px; x2:480px; y2:150px; font-family:돋움체; "/>
  369. <line id="line9" class="line_1" style="x1:485px; y1:23px; x2:1192px; y2:23px; font-family:돋움체; "/>
  370. <line id="line1" class="line_2" style="x1:485px; y1:50px; x2:1024px; y2:50px; font-family:돋움체; "/>
  371. <caption id="caption18" class="tit_2" style="left:485px; top:9px; width:130px; height:14px; font-family:돋움체; ">서버상세내역</caption>
  372. <caption id="cap_goodflagengnm" class="cell_1" style="left:485px; top:28px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">서버코드</caption>
  373. <line id="line11" class="line_2" style="x1:485px; y1:170px; x2:1024px; y2:170px; font-family:돋움체; "/>
  374. <line id="line12" class="line_2" style="x1:485px; y1:215px; x2:1189px; y2:215px; font-family:돋움체; "/>
  375. <caption id="caption31" class="cell_1" style="left:485px; top:124px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">전산장비</caption>
  376. <line id="line13" class="line_2" style="x1:485px; y1:146px; x2:1024px; y2:146px; font-family:돋움체; "/>
  377. <caption id="caption21" class="cell_1" style="left:485px; top:100px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">CPU수</caption>
  378. <caption id="caption7" class="cell_1" style="left:485px; top:52px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">서비스분류</caption>
  379. <caption id="caption13" class="cell_1" style="left:485px; top:76px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">OS타입</caption>
  380. <line id="line2" class="line_2" style="x1:485px; y1:122px; x2:1024px; y2:122px; font-family:돋움체; "/>
  381. <caption id="caption27" class="cell_1" style="left:485px; top:148px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">규격</caption>
  382. <line id="line4" class="line_2" style="x1:485px; y1:74px; x2:1024px; y2:74px; font-family:돋움체; "/>
  383. <line id="line5" class="line_2" style="x1:485px; y1:98px; x2:1024px; y2:98px; font-family:돋움체; "/>
  384. <line id="line6" class="line_3" style="x1:485px; y1:216px; x2:1189px; y2:216px; font-family:돋움체; "/>
  385. <caption id="caption26" class="cell_1" style="left:664px; top:28px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">기관</caption>
  386. <input id="ipt_servcd" ref="/root/main/servdetlinfo/servdetl/servcd" editable="false" style="left:567px; top:29px; width:95px; height:19px; font-family:돋움체; background-color:#ecebec; "/>
  387. <select1 id="cmb_instcd" ref="/root/main/servdetlinfo/servdetl/instcd" appearance="minimal" style="left:746px; top:29px; width:65px; height:19px; ">
  388. <choices>
  389. <itemset nodeset="/root/hidden/instcds/instcd">
  390. <label ref="label"/>
  391. <value ref="value"/>
  392. </itemset>
  393. </choices>
  394. </select1>
  395. <caption id="caption20" class="cell_1" style="left:844px; top:76px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">표시명</caption>
  396. <caption id="caption23" class="cell_1" style="left:844px; top:124px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">저장용량</caption>
  397. <select1 id="comptype" ref="/root/main/servdetlinfo/servdetl/comptype" disabled="true" appearance="minimal" style="left:565px; top:125px; width:95px; height:19px; font-family:돋움체; background-color:#ecebec; ">
  398. <choices>
  399. <item>
  400. <label>combo1</label>
  401. <value>combo1</value>
  402. </item>
  403. </choices>
  404. </select1>
  405. <caption id="caption9" class="cell_1" style="left:844px; top:52px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">호스트명</caption>
  406. <caption id="caption25" class="cell_1" style="left:844px; top:100px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">메모리용량</caption>
  407. <caption id="caption19" class="cell_1" style="left:844px; top:28px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">서버명</caption>
  408. <caption id="caption11" class="cell_1" style="left:664px; top:52px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">서버분류</caption>
  409. <select1 id="cmb_ostype" ref="/root/main/servdetlinfo/servdetl/ostype" appearance="minimal" style="left:567px; top:77px; width:95px; height:19px; ">
  410. <choices>
  411. <itemset nodeset="/root/hidden/ostypes/ostype">
  412. <label ref="label"/>
  413. <value ref="value"/>
  414. </itemset>
  415. </choices>
  416. </select1>
  417. <caption id="caption12" class="cell_1" style="left:664px; top:76px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">OS</caption>
  418. <input id="ipt_spec" ref="/root/main/servdetlinfo/servdetl/spec" style="left:567px; top:149px; width:454px; height:19px; "/>
  419. <caption id="caption15" class="cell_1" style="left:664px; top:100px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">CORE수</caption>
  420. <caption id="caption16" class="cell_1" style="left:485px; top:172px; width:80px; height:43px; font-family:돋움체; vertical-align:middle; ">비고</caption>
  421. <textarea id="ta_bigo" ref="/root/main/servdetlinfo/servdetl/bigo" style="left:567px; top:173px; width:455px; height:40px; "/>
  422. <input id="ipt_corecnt" ref="/root/main/servdetlinfo/servdetl/corecnt" style="left:746px; top:101px; width:95px; height:19px; font-family:돋움체; "/>
  423. <input id="ipt_storvol" ref="/root/main/servdetlinfo/servdetl/storvol" style="left:926px; top:125px; width:95px; height:19px; font-family:돋움체; "/>
  424. <select1 id="cmb_os" ref="/root/main/servdetlinfo/servdetl/os" appearance="minimal" style="left:746px; top:77px; width:95px; height:19px; ">
  425. <choices>
  426. <itemset nodeset="/root/init/codeinfo/C0203">
  427. <label ref="cdnm"/>
  428. <value ref="cdid"/>
  429. </itemset>
  430. </choices>
  431. </select1>
  432. <input id="ipt_cpucnt" ref="/root/main/servdetlinfo/servdetl/cpucnt" style="left:567px; top:101px; width:95px; height:19px; font-family:돋움체; "/>
  433. <input id="ipt_memvol" ref="/root/main/servdetlinfo/servdetl/memvol" style="left:926px; top:101px; width:95px; height:19px; font-family:돋움체; "/>
  434. <input id="ipt_compnm" ref="/root/main/servdetlinfo/servdetl/compnm" editable="false" style="left:665px; top:125px; width:120px; height:19px; font-family:돋움체; "/>
  435. <input id="ipt_dispnm" ref="/root/main/servdetlinfo/servdetl/dispnm" style="left:926px; top:77px; width:95px; height:19px; font-family:돋움체; "/>
  436. <input id="ipt_servnm" ref="/root/main/servdetlinfo/servdetl/servnm" style="left:926px; top:29px; width:95px; height:19px; font-family:돋움체; "/>
  437. <input id="ipt_hostnm" ref="/root/main/servdetlinfo/servdetl/hostnm" style="left:926px; top:53px; width:95px; height:19px; font-family:돋움체; "/>
  438. <button id="btn_sw" class="btn_sw" group="tab" selected="true" style="left:491px; top:223px; width:80px; height:22px; font-family:돋움체; ">
  439. <caption>S/W</caption>
  440. <toggle case="case1" ev:event="DOMActivate"/>
  441. </button>
  442. <button id="btn_ip" class="btn_sw" group="tab" style="left:571px; top:223px; width:90px; height:22px; font-family:돋움체; ">
  443. <caption>IP현황</caption>
  444. <toggle case="case2" ev:event="DOMActivate"/>
  445. </button>
  446. <button id="btn_part" class="btn_sw" group="tab" style="left:661px; top:223px; width:90px; height:22px; font-family:돋움체; ">
  447. <caption>파티션현황</caption>
  448. <toggle case="case3" ev:event="DOMActivate"/>
  449. </button>
  450. <switch id="switch1" style="left:485px; top:245px; width:705px; height:485px; font-family:돋움체; border-color:#c7a3cf; border-style:solid; ">
  451. <case id="case1" selected="true">
  452. <datagrid id="grd_sw" caption="servcd^SW명^SW버전^사용용도" colsep="^" colwidth="34, 138, 150, 365" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:5px; width:700px; height:471px; ">
  453. <col ref="servcd" visibility="hidden"/>
  454. <col ref="swnm" type="inputbutton" style="text-align:center; "/>
  455. <col ref="swver" type="input"/>
  456. <col ref="usge" type="input"/>
  457. </datagrid>
  458. <line id="line45" class="line_1" style="x1:1px; y1:2px; x2:700px; y2:2px; "/>
  459. </case>
  460. <case id="case2">
  461. <line id="line46" class="line_1" style="x1:0px; y1:2px; x2:700px; y2:2px; "/>
  462. <datagrid id="grd_ip" caption="servcd^IP^사용용도" colsep="^" colwidth="23, 105, 545" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:7px; width:700px; height:471px; ">
  463. <col ref="servcd"/>
  464. <col ref="ip" type="input" style="text-align:center; "/>
  465. <col ref="usge" type="input"/>
  466. </datagrid>
  467. </case>
  468. <case id="case3">
  469. <line id="line52" class="line_1" style="x1:0px; y1:2px; x2:700px; y2:2px; "/>
  470. <datagrid id="grd_part" nodeset="/root/main/list/rfchmandlist" caption="servcd^파티션명^할당량(MB)^사용량(MB)^사용률(%)^수집일자^스토리지^스토리지|servcd^파티션명^할당량(MB)^사용량(MB)^사용률(%)^수집일자^서버코드^서버명" colsep="^" colwidth="23, 132, 87, 82, 64, 90, 100, 100" dataheight="60" explorerbar="sortmove" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:0px; top:7px; width:700px; height:471px; ">
  471. <col ref="servcd" visibility="hidden"/>
  472. <col class="input_essential" ref="partnm" type="input" format="yyyy-mm-dd" _key="true"/>
  473. <col ref="setvol" type="input" format="#,###"/>
  474. <col ref="usevol" type="input" format="#,###" style="text-align:right; "/>
  475. <col ref="useper" type="output"/>
  476. <col ref="colldd" type="inputdate"/>
  477. <col ref="servcd" type="inputbutton"/>
  478. <col ref="servnm"/>
  479. <script type="javascript" ev:event="onbuttonclick">
  480. <![CDATA[
  481. // if (grd_rfchmandlist.col == grd_rfchmandlist.colRef("suplplcecd")) {//물품코드 버튼을 눌렀을 때
  482. // rszfOpenPopUpListByWndName(grd_rfchmandlist,"",
  483. // "suplplcecd,suplplcenm","SPRSD00220","instcd,goodflag",
  484. // "cmb_instcd_search,cmb_goodflag_search","Y");
  485. // }
  486. ]]>
  487. </script>
  488. <script type="javascript" ev:event="xforms-value-changed">
  489. <![CDATA[
  490. // if(grd_rfchmandlist.col == grd_rfchmandlist.colRef("suplplcenm") && grd_rfchmandlist.valueMatrix(grd_rfchmandlist.row, grd_rfchmandlist.colRef("suplplcenm")).length> 0)
  491. // {
  492. // if(grd_rfchmandlist.valueMatrix(grd_rfchmandlist.row, grd_rfchmandlist.colRef("suplplcenm")).length == 0)
  493. // grd_rfchmandlist.valueMatrix(grd_rfchmandlist.row, grd_rfchmandlist.colRef("suplplcecd")) = "";
  494. // else
  495. // rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm",
  496. // cmb_instcd_search.value + "," + "custnm," + grd_rfchmandlist.valueMatrix(grd_rfchmandlist.row, grd_rfchmandlist.colRef("suplplcenm")), "", "suplplcecd,suplplcenm",
  497. // grd_rfchmandlist, "SPRSD00220", "instcd","cmb_instcd_search");
  498. // }
  499. // else if(grd_rfchmandlist.col == grd_rfchmandlist.colRef("suplplcecd") && grd_rfchmandlist.valueMatrix(grd_rfchmandlist.row, grd_rfchmandlist.colRef("suplplcecd")).length> 0)
  500. // {
  501. // if(grd_rfchmandlist.valueMatrix(grd_rfchmandlist.row, grd_rfchmandlist.colRef("suplplcecd")).length == 0)
  502. // grd_rfchmandlist.valueMatrix(grd_rfchmandlist.row, grd_rfchmandlist.colRef("suplplcenm")) = "";
  503. // else
  504. // rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm",
  505. // cmb_instcd_search.value + "," + "entrregno," + grd_rfchmandlist.valueMatrix(grd_rfchmandlist.row, grd_rfchmandlist.colRef("suplplcecd")), "", "suplplcecd,suplplcenm",
  506. // grd_rfchmandlist, "SPRSD00220", "instcd","cmb_instcd_search");
  507. // }
  508. ]]>
  509. </script>
  510. </datagrid>
  511. </case>
  512. </switch>
  513. <button id="btn_addrow_" class="btn2_letter3" navindex="94" style="left:1080px; top:224px; width:53px; height:19px; font-family:돋움체; ">
  514. <caption>행추가</caption>
  515. <script type="javascript" ev:event="DOMActivate">
  516. <![CDATA[
  517. if(btn_sw.selected == true){
  518. grd_sw.addRow();
  519. grd_sw.select(grd_sw.row, grd_sw.col) = true;
  520. }else if(btn_ip.selected == true){
  521. grd_ip.addRow();
  522. grd_ip.select(grd_ip.row, grd_ip.col) = true;
  523. }else if(btn_part.selected == true){
  524. grd_part.addRow();
  525. grd_part.select(grd_part.row, grd_part.col) = true;
  526. var cur_row = grd_part.row;
  527. //행추가를 누를시 기간코드,고정자산 값을 자동으로 저장한다.
  528. model.setValue(grd_part.attribute("nodeset")+"["+cur_row+"]/storservcd",ipt_servcd.value);
  529. model.setValue(grd_part.attribute("nodeset")+"["+cur_row+"]/storservnm",ipt_servnm.value);
  530. }
  531. model.refresh();
  532. if(btn_rfchmandlist.selected == true)
  533. {
  534. misfGridIUD(grd_rfchmandlist, "A");
  535. var cur_row = grd_rfchmandlist.row;
  536. //행추가를 누를시 기간코드,고정자산 값을 자동으로 저장한다.
  537. model.setValue(grd_rfchmandlist.attribute("nodeset")+"["+cur_row+"]/instcd",cmb_instcd_search.value);
  538. model.setValue(grd_rfchmandlist.attribute("nodeset")+"["+cur_row+"]/fixasetcd",ipt_fixasetcd.value);
  539. model.refresh();
  540. return;
  541. }
  542. else if(btn_comps.selected == true)
  543. {
  544. misfGridIUD(grd_comps, "A");
  545. var cur_row = grd_comps.row;
  546. //행추가를 누를시 기간코드,고정자산 값을 자동으로 저장한다.
  547. model.setValue(grd_comps.attribute("nodeset")+"["+cur_row+"]/instcd",cmb_instcd_search.value);
  548. model.setValue(grd_comps.attribute("nodeset")+"["+cur_row+"]/fixasetcd",ipt_fixasetcd.value);
  549. model.refresh();
  550. return;
  551. }
  552. ]]>
  553. </script>
  554. </button>
  555. <button id="btn_excel" class="btn5_letter3" navindex="93" style="left:1024px; top:224px; width:53px; height:19px; font-family:돋움체; ">
  556. <caption>Excel</caption>
  557. <script type="javascript" ev:event="DOMActivate">
  558. <![CDATA[
  559. if(btn_rfchmandlist.selected == true)
  560. {
  561. var fileName = window.fileDialog("save", ",", false, "보수계약정보", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  562. if (fileName != "")
  563. {
  564. grd_rfchmandlist.saveExcel(fileName, "보수계약정보List",true,true, "");
  565. }
  566. return;
  567. }
  568. else if(btn_comps.selected == true)
  569. {
  570. var fileName = window.fileDialog("save", ",", false, "구성품", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  571. if (fileName != "")
  572. {
  573. grd_comps.saveExcel(fileName, "구성품List",true,true, "");
  574. }
  575. return;
  576. }
  577. ]]>
  578. </script>
  579. </button>
  580. <button id="btn_delrow_" class="btn2_letter3" navindex="95" style="left:1136px; top:224px; width:53px; height:19px; font-family:돋움체; ">
  581. <caption>행삭제</caption>
  582. <script type="javascript" ev:event="DOMActivate">
  583. <![CDATA[
  584. if(btn_rfchmandlist.selected == true)
  585. {
  586. misfGridIUD(grd_rfchmandlist, "D");
  587. model.refresh();
  588. return;
  589. }
  590. else if(btn_comps.selected == true)
  591. {
  592. misfGridIUD(grd_comps, "D");
  593. model.refresh();
  594. return;
  595. }
  596. ]]>
  597. </script>
  598. </button>
  599. <img id="img_view" ref="/root/main/newElement" src="..\..\..\com\commonweb\images\no_image2.gif" style="left:1026px; top:31px; width:163px; height:181px; vertical-align:middle; background-stretch:stretch; "/>
  600. <select1 id="cmb_svctype" ref="/root/main/servdetlinfo/servdetl/svctype" appearance="minimal" style="left:567px; top:53px; width:95px; height:19px; ">
  601. <choices>
  602. <itemset nodeset="/root/init/codeinfo/C0201">
  603. <label ref="cdnm"/>
  604. <value ref="cdid"/>
  605. </itemset>
  606. </choices>
  607. </select1>
  608. <select1 id="cmb_servtype" ref="/root/main/servdetlinfo/servdetl/servtype" appearance="minimal" style="left:746px; top:53px; width:95px; height:19px; ">
  609. <choices>
  610. <itemset nodeset="/root/init/codeinfo/C0202">
  611. <label ref="cdnm"/>
  612. <value ref="cdid"/>
  613. </itemset>
  614. </choices>
  615. </select1>
  616. <button id="btn_userid" class="icon_search" navindex="5" style="left:790px; top:125px; width:16px; height:16px; ">
  617. <caption/>
  618. <script type="javascript" ev:event="DOMActivate">
  619. <![CDATA[
  620. //misfOpenPopUpList("01", ipt_reqmannm, "", "reqmanid,reqmannm","","instcd");
  621. modal("SPZSU10103_사용자부서조회", "1", "200", "200", "SPZSU10103","","/root/tmp/popup");
  622. var iParam = getParameter("SPZSU10103_");
  623. if(iParam != ""){
  624. model.removeNodeset("/root/hidden/onerowselect");
  625. model.makeNode("/root/hidden/onerowselect");
  626. setCSVToNode("/root/hidden/onerowselect", iParam);
  627. model.setValue("/root/main/confdetlinfo/selected/confuserid", model.getValue("/root/hidden/onerowselect/list/userid") );
  628. model.setValue("/root/main/confdetlinfo/selected/confusernm", model.getValue("/root/hidden/onerowselect/list/usernm") );
  629. var rtn = messageBox("기관과 부서까지 ", "Q009");
  630. if(rtn == 6){
  631. model.setValue("/root/main/confdetlinfo/selected/confinstcd", model.getValue("/root/hidden/onerowselect/list/dutplceinstcd") );
  632. model.setValue("/root/main/confdetlinfo/selected/confdeptcd", model.getValue("/root/hidden/onerowselect/list/dutplcecd") );
  633. model.setValue("/root/main/confdetlinfo/selected/confdeptnm", model.getValue("/root/hidden/onerowselect/list/dutplcenm") );
  634. }
  635. clearParameter("SPZSU10103_");
  636. }
  637. model.refresh();
  638. ]]>
  639. </script>
  640. </button>
  641. </group>
  642. </xhtml:body>
  643. </xhtml:html>