SPZHI02100_서버관리.xrw 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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:ms="urn:schemas-microsoft-com:xslt" xmlns:my="http://www.comsquare.co.kr/example" 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. <servcd/>
  24. <servnm/>
  25. <instcd/>
  26. <dispnm/>
  27. <hostnm/>
  28. <svctype/>
  29. <servtype/>
  30. <ostype/>
  31. <os/>
  32. <spec/>
  33. <cpucnt/>
  34. <corecnt/>
  35. <memvol/>
  36. <storvol/>
  37. <compcd/>
  38. <comptype/>
  39. <compnm/>
  40. <bigo/>
  41. </servdetl>
  42. </servdetlinfo>
  43. </main>
  44. <send>
  45. <search/>
  46. <save/>
  47. </send>
  48. <init/>
  49. <hidden>
  50. <instcds>
  51. <instcd>
  52. <label>본원</label>
  53. <value>031</value>
  54. </instcd>
  55. <instcd>
  56. <label>칠곡</label>
  57. <value>032</value>
  58. </instcd>
  59. </instcds>
  60. <ostypes>
  61. <ostype>
  62. <label>Windows</label>
  63. <value>W</value>
  64. </ostype>
  65. <ostype>
  66. <label>Unix</label>
  67. <value>U</value>
  68. </ostype>
  69. <ostype>
  70. <label>Linux</label>
  71. <value>L</value>
  72. </ostype>
  73. </ostypes>
  74. </hidden>
  75. </root>
  76. </instance>
  77. </model>
  78. </xhtml:head>
  79. <xhtml:body>
  80. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  81. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:186px; height:13; ">
  82. <![CDATA[서버관리]]>
  83. <script type="javascript" ev:event="ondblclick">
  84. <![CDATA[
  85. grp_copy.visible = true;
  86. ]]>
  87. </script>
  88. </caption>
  89. </group>
  90. <group id="group1" style="left:0px; top:13; width:1195px; height:27px; ">
  91. <button id="btn_print" class="btn3_letter2" navindex="97" visibility="hidden" style="left:3px; top:3px; width:56px; height:22px; ">
  92. <caption>출력</caption>
  93. </button>
  94. <button id="btn_init" class="btn4_letter3" navindex="101" style="left:1119px; top:3px; width:68px; height:22px; ">
  95. <caption>초기화</caption>
  96. <script type="javascript" ev:event="DOMActivate">
  97. <![CDATA[
  98. model.resetInstanceNode("/root/send");
  99. fInitialize();
  100. ]]>
  101. </script>
  102. </button>
  103. <button id="btn_save" class="btn4_letter2" navindex="100" style="left:1061px; top:3px; width:56px; height:22px; ">
  104. <caption>저장</caption>
  105. <script type="javascript" ev:event="DOMActivate">
  106. <![CDATA[
  107. ]]>
  108. </script>
  109. </button>
  110. <line id="line14" class="line_2" style="x1:0; y1:25; x2:1194; y2:25; "/>
  111. <button id="btn_new" class="btn4_letter2" navindex="101" style="left:1003px; top:3px; width:56px; height:22px; ">
  112. <caption>신규</caption>
  113. <script type="javascript" ev:event="DOMActivate">
  114. <![CDATA[
  115. var row;
  116. if(grd_servlist.rows-grd_servlist.fixedRows == 0){ // 데이타가 없으면
  117. row = grd_servlist.addRow();
  118. }else{
  119. row = grd_servlist.insertRow(1);
  120. }
  121. model.resetInstanceNode("/root/main/servdetlinfo/servdetl");
  122. smflag = "I";
  123. ]]>
  124. </script>
  125. </button>
  126. </group>
  127. <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:735px; font-family:돋움체; ">
  128. <group id="group2" style="left:0px; top:5px; width:480px; height:125px; font-family:돋움체; vertical-align:top; ">
  129. <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; "/>
  130. <caption id="cap_lrgcd_search" class="search_name" style="left:215px; top:10px; width:93px; height:17px; font-family:돋움체; ">표 시 명 :</caption>
  131. <button id="btn_search" class="btn1_letter2" navindex="20" style="left:420px; top:45px; width:56px; height:22px; font-family:돋움체; ">
  132. <caption>조회</caption>
  133. <script type="javascript" ev:event="DOMActivate">
  134. <![CDATA[
  135. /* 수정중이거나 입력 중인 데이터가 있는지 확인 */
  136. // misfGridRowStatusChange(grd_fixasettmplist, "/root/main/list/fixasetdet" , "/root/main/fixasetdet");
  137. //
  138. // var updtdata = getGridUpdateData(grd_fixasettmplist);
  139. //
  140. // if ( updtdata != "")
  141. // {
  142. // var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 조회 작업을","Q003");
  143. //
  144. // if (ret == 7) { // not OK
  145. // return;
  146. // }
  147. // }
  148. model.removeNodeset("/root/main/list/fixaset/fixasetlist");
  149. //rszfComboUnitList (cmb_fixasetunit,model.getValue(cmb_instcd_search.attribute("ref")),model.getValue(cmb_goodflag_search.attribute("ref")));
  150. // misfMsterDetailRetrieve();
  151. if(submit("TRRFC00202")){
  152. if(grd_fixasetlist.rows - grd_fixasetlist.fixedRows > 0 )
  153. {
  154. for (var currow = grd_fixasetlist.fixedRows ; currow < grd_fixasetlist.rows ; currow++)
  155. {
  156. if (grd_fixasetlist.valueMatrix(currow, grd_fixasetlist.colRef("dsplflag")) == "1") {
  157. grd_fixasetlist.cellstyle("background-color", currow, grd_fixasetlist.colRef("fixasetcd")) = "#ffff99";
  158. }
  159. }
  160. grd_fixasetlist.row = grwlow;
  161. grd_fixasetlist.dispatch("onrowchanged");
  162. }
  163. }
  164. ]]>
  165. </script>
  166. </button>
  167. <line id="line15" class="line_4" style="x1:415px; y1:5px; x2:415px; y2:113px; font-family:돋움체; border-color:#ffd799; "/>
  168. <caption id="caption8" class="search_name" style="left:215px; top:35px; width:95px; height:17px; font-family:돋움체; ">호스트명 :</caption>
  169. <caption id="caption4" class="search_name" style="left:5px; top:87px; width:95px; height:17px; font-family:돋움체; ">OS 타입 :</caption>
  170. <caption id="caption10" class="search_name" style="left:215px; top:87px; width:92px; height:17px; font-family:돋움체; ">OS 종류 :</caption>
  171. <select1 id="combo12" appearance="minimal" style="left:310px; top:86px; width:100px; height:19px; ">
  172. <choices>
  173. <item>
  174. <label>combo3</label>
  175. <value>combo3</value>
  176. </item>
  177. </choices>
  178. </select1>
  179. <input id="input1" style="left:310px; top:9px; width:100px; height:19px; "/>
  180. <select1 id="combo1" appearance="minimal" style="left:100px; top:86px; width:100px; height:19px; ">
  181. <choices>
  182. <itemset nodeset="/root/hidden/ostypes/ostype">
  183. <label ref="label"/>
  184. <value ref="value"/>
  185. </itemset>
  186. </choices>
  187. </select1>
  188. <input id="input2" style="left:310px; top:34px; width:100px; height:19px; "/>
  189. <caption id="caption1" class="search_name" style="left:5px; top:10px; width:117px; height:17px; font-family:돋움체; ">전산장비명:</caption>
  190. <input id="input3" ref="/root/send/fixasetlist/installplcecd_search" class="input_default" navindex="10" visibility="visible" style="left:100px; top:9px; width:100px; height:19px; ">
  191. <script type="javascript" ev:event="xforms-value-changed">
  192. <![CDATA[
  193. if(ipt_installplcecd_search.value.length == 0)
  194. ipt_installplcenm_search.value = "";
  195. else
  196. rszfValidationCheck("TRRAC90701", "custlist", "refcond,retrnm",
  197. "deptcd," + ipt_installplcecd_search.value, "", "installplcecd_search,installplcenm_search",
  198. ipt_installplcecd_search, "PPRAC00700", "","");
  199. installplcecd_search.refresh();
  200. installplcenm_search.refresh();
  201. ]]>
  202. </script>
  203. </input>
  204. <input id="input14" style="left:100px; top:35px; width:100px; height:19px; "/>
  205. <caption id="caption2" class="search_name" style="left:5px; top:35px; width:99px; height:17px; font-family:돋움체; ">서 버 명 :</caption>
  206. <caption id="caption3" class="search_name" style="left:5px; top:60px; width:97px; height:17px; font-family:돋움체; ">서버분류 :</caption>
  207. <select1 id="combo2" appearance="minimal" style="left:100px; top:60px; width:100px; height:19px; ">
  208. <choices>
  209. <item>
  210. <label>combo1</label>
  211. <value>combo1</value>
  212. </item>
  213. </choices>
  214. </select1>
  215. <caption id="caption5" class="search_name" style="left:215px; top:60px; width:103px; height:17px; font-family:돋움체; ">서비스분류:</caption>
  216. <select1 id="combo3" appearance="minimal" style="left:310px; top:60px; width:100px; height:19px; ">
  217. <choices>
  218. <item>
  219. <label>combo1</label>
  220. <value>combo1</value>
  221. </item>
  222. </choices>
  223. </select1>
  224. </group>
  225. <caption id="caption34" class="tit_2" style="left:0px; top:135px; width:130px; height:14px; font-family:돋움체; ">서버리스트</caption>
  226. <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="false" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" selectionmode="byrow" tooltip="true" navindex="21" style="left:0px; top:155px; width:480px; height:570px; font-family:돋움체; ">
  227. <col ref="servcd" visibility="hidden"/>
  228. <col ref="instcd" type="combo">
  229. <choices>
  230. <itemset nodeset="/root/hidden/instcds/instcd">
  231. <label ref="label"/>
  232. <value ref="value"/>
  233. </itemset>
  234. </choices>
  235. </col>
  236. <col ref="servnm"/>
  237. <col ref="comptype"/>
  238. <col ref="compnm"/>
  239. <col ref="ostype"/>
  240. <col ref="svctype"/>
  241. <script type="javascript" ev:event="xforms-value-changed">
  242. <![CDATA[
  243. ipt_vFlag.value = "Y";
  244. ]]>
  245. </script>
  246. <script type="javascript" ev:event="onrowchanged">
  247. <![CDATA[
  248. if (ipt_vFlag.value == "" && false)
  249. {
  250. fSearchInfo();
  251. }
  252. ]]>
  253. </script>
  254. <script type="javascript" ev:event="onaftersort">
  255. <![CDATA[
  256. grd_fixasetlist.gridToInstance();
  257. ]]>
  258. </script>
  259. <script type="javascript" ev:event="ondblclick">
  260. <![CDATA[
  261. if (ipt_vFlag.value == "")
  262. {
  263. fSearchInfo();
  264. }
  265. ]]>
  266. </script>
  267. </datagrid>
  268. <line id="line3" class="line_1" style="x1:0px; y1:150px; x2:480px; y2:150px; font-family:돋움체; "/>
  269. <line id="line9" class="line_1" style="x1:485px; y1:23px; x2:1192px; y2:23px; font-family:돋움체; "/>
  270. <line id="line1" class="line_2" style="x1:485px; y1:50px; x2:1024px; y2:50px; font-family:돋움체; "/>
  271. <caption id="caption18" class="tit_2" style="left:485px; top:9px; width:130px; height:14px; font-family:돋움체; ">서버상세내역</caption>
  272. <caption id="cap_goodflagengnm" class="cell_1" style="left:485px; top:28px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">서버코드</caption>
  273. <line id="line11" class="line_2" style="x1:485px; y1:170px; x2:1024px; y2:170px; font-family:돋움체; "/>
  274. <line id="line12" class="line_2" style="x1:485px; y1:215px; x2:1189px; y2:215px; font-family:돋움체; "/>
  275. <caption id="caption31" class="cell_1" style="left:485px; top:124px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">메모리용량</caption>
  276. <line id="line13" class="line_2" style="x1:485px; y1:146px; x2:1024px; y2:146px; font-family:돋움체; "/>
  277. <caption id="caption21" class="cell_1" style="left:485px; top:100px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">CPU수</caption>
  278. <caption id="caption7" class="cell_1" style="left:485px; top:52px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">서비스분류</caption>
  279. <caption id="caption13" class="cell_1" style="left:485px; top:76px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">OS타입</caption>
  280. <line id="line2" class="line_2" style="x1:485px; y1:122px; x2:1024px; y2:122px; font-family:돋움체; "/>
  281. <caption id="caption27" class="cell_1" style="left:485px; top:148px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">규격</caption>
  282. <line id="line4" class="line_2" style="x1:485px; y1:74px; x2:1024px; y2:74px; font-family:돋움체; "/>
  283. <line id="line5" class="line_2" style="x1:485px; y1:98px; x2:1024px; y2:98px; font-family:돋움체; "/>
  284. <line id="line6" class="line_3" style="x1:485px; y1:216px; x2:1189px; y2:216px; font-family:돋움체; "/>
  285. <caption id="caption26" class="cell_1" style="left:664px; top:28px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">기관</caption>
  286. <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; "/>
  287. <select1 id="cmb_instcd" ref="/root/main/servdetlinfo/servdetl/instcd" appearance="minimal" style="left:746px; top:29px; width:65px; height:19px; ">
  288. <choices>
  289. <itemset nodeset="/root/hidden/instcds/instcd">
  290. <label ref="label"/>
  291. <value ref="value"/>
  292. </itemset>
  293. </choices>
  294. </select1>
  295. <caption id="caption20" class="cell_1" style="left:844px; top:76px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">표시명</caption>
  296. <caption id="caption23" class="cell_1" style="left:844px; top:124px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">장비명</caption>
  297. <select1 id="comptype" ref="/root/main/servdetlinfo/servdetl/comptype" disabled="true" appearance="minimal" style="left:926px; top:101px; width:95px; height:19px; font-family:돋움체; background-color:#ecebec; ">
  298. <choices>
  299. <item>
  300. <label>combo1</label>
  301. <value>combo1</value>
  302. </item>
  303. </choices>
  304. </select1>
  305. <caption id="caption9" class="cell_1" style="left:844px; top:52px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">호스트명</caption>
  306. <caption id="caption25" class="cell_1" style="left:844px; top:100px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">장비분류</caption>
  307. <caption id="caption19" class="cell_1" style="left:844px; top:28px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">서버명</caption>
  308. <caption id="caption11" class="cell_1" style="left:664px; top:52px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">서버분류</caption>
  309. <select1 id="cmb_ostype" ref="/root/main/servdetlinfo/servdetl/ostype" appearance="minimal" style="left:567px; top:77px; width:95px; height:19px; ">
  310. <choices>
  311. <itemset nodeset="/root/hidden/ostypes/ostype">
  312. <label ref="label"/>
  313. <value ref="value"/>
  314. </itemset>
  315. </choices>
  316. </select1>
  317. <caption id="caption12" class="cell_1" style="left:664px; top:76px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">OS</caption>
  318. <input id="ipt_spec" ref="/root/main/servdetlinfo/servdetl/spec" style="left:567px; top:149px; width:455px; height:19px; "/>
  319. <caption id="caption14" class="cell_1" style="left:664px; top:124px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">저장공간용량</caption>
  320. <caption id="caption15" class="cell_1" style="left:664px; top:100px; width:80px; height:23px; font-family:돋움체; vertical-align:middle; ">CORE수</caption>
  321. <caption id="caption16" class="cell_1" style="left:485px; top:172px; width:80px; height:43px; font-family:돋움체; vertical-align:middle; ">비고</caption>
  322. <textarea id="ta_bigo" ref="/root/main/servdetlinfo/servdetl/bigo" style="left:567px; top:173px; width:455px; height:40px; "/>
  323. <input id="ipt_corecnt" ref="/root/main/servdetlinfo/servdetl/corecnt" style="left:746px; top:101px; width:95px; height:19px; font-family:돋움체; "/>
  324. <input id="ipt_storvol" ref="/root/main/servdetlinfo/servdetl/storvol" style="left:746px; top:125px; width:95px; height:19px; font-family:돋움체; "/>
  325. <select1 id="cmb_os" ref="/root/main/servdetlinfo/servdetl/os" appearance="minimal" style="left:746px; top:77px; width:95px; height:19px; ">
  326. <choices>
  327. <item>
  328. <label>combo4</label>
  329. <value>combo4</value>
  330. </item>
  331. </choices>
  332. </select1>
  333. <input id="ipt_cpucnt" ref="/root/main/servdetlinfo/servdetl/cpucnt" style="left:567px; top:101px; width:95px; height:19px; font-family:돋움체; "/>
  334. <input id="ipt_memvol" ref="/root/main/servdetlinfo/servdetl/memvol" style="left:567px; top:125px; width:95px; height:19px; font-family:돋움체; "/>
  335. <input id="ipt_compnm" ref="/root/main/servdetlinfo/servdetl/compnm" editable="false" style="left:926px; top:125px; width:95px; height:19px; font-family:돋움체; background-color:#ecebec; "/>
  336. <input id="ipt_dispnm" ref="/root/main/servdetlinfo/servdetl/dispnm" style="left:926px; top:77px; width:95px; height:19px; font-family:돋움체; "/>
  337. <input id="ipt_servnm" ref="/root/main/servdetlinfo/servdetl/servnm" style="left:926px; top:29px; width:95px; height:19px; font-family:돋움체; "/>
  338. <input id="ipt_hostnm" ref="/root/main/servdetlinfo/servdetl/hostnm" style="left:926px; top:53px; width:95px; height:19px; font-family:돋움체; "/>
  339. <button id="btn_comps" class="btn_sw" group="tab" selected="true" style="left:491px; top:223px; width:80px; height:22px; font-family:돋움체; ">
  340. <caption>S/W</caption>
  341. <toggle case="case1" ev:event="DOMActivate"/>
  342. </button>
  343. <button id="btn_addinfo" class="btn_sw" group="tab" style="left:571px; top:223px; width:90px; height:22px; font-family:돋움체; ">
  344. <caption>IP현황</caption>
  345. <toggle case="case2" ev:event="DOMActivate"/>
  346. </button>
  347. <button id="btn_rfchmandlist" class="btn_sw" group="tab" style="left:661px; top:223px; width:90px; height:22px; font-family:돋움체; ">
  348. <caption>파티션현황</caption>
  349. <toggle case="case3" ev:event="DOMActivate"/>
  350. </button>
  351. <switch id="switch1" style="left:485px; top:245px; width:705px; height:485px; font-family:돋움체; border-color:#c7a3cf; border-style:solid; ">
  352. <case id="case1" selected="true">
  353. <datagrid id="datagrid1" caption="SW명^SW버전^사용용도" colsep="^" colwidth="138, 150, 365" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:7px; width:700px; height:471px; ">
  354. <col type="inputbutton" style="text-align:center; "/>
  355. <col type="input"/>
  356. <col/>
  357. </datagrid>
  358. <line id="line45" class="line_1" style="x1:1px; y1:2px; x2:700px; y2:2px; "/>
  359. </case>
  360. <case id="case2">
  361. <line id="line46" class="line_1" style="x1:0px; y1:2px; x2:700px; y2:2px; "/>
  362. <datagrid id="datagrid2" caption="IP^사용용도" colsep="^" colwidth="122, 565" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:7px; width:700px; height:471px; ">
  363. <col type="input"/>
  364. <col type="input"/>
  365. </datagrid>
  366. </case>
  367. <case id="case3">
  368. <line id="line52" class="line_1" style="x1:0px; y1:2px; x2:700px; y2:2px; "/>
  369. <datagrid id="grd_rfchmandlist" nodeset="/root/main/list/rfchmandlist" caption="파티션명^할당량(MB)^사용량(MB)^사용률(%)^수집일자^스토리지^스토리지|파티션명^할당량(MB)^사용량(MB)^사용률(%)^수집일자^서버코드^서버명" colsep="^" colwidth="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; ">
  370. <col class="input_essential" ref="rpirconfromdd" type="input" format="yyyy-mm-dd" _key="true"/>
  371. <col ref="rpircontodd" type="input" format="#,###"/>
  372. <col ref="conamt" type="input" format="#,###" style="text-align:right; "/>
  373. <col type="output"/>
  374. <col ref="suplplcecd" type="inputdate"/>
  375. <col ref="fixasetcd" visibility="hidden"/>
  376. <col/>
  377. <script type="javascript" ev:event="onbuttonclick">
  378. <![CDATA[
  379. if (grd_rfchmandlist.col == grd_rfchmandlist.colRef("suplplcecd")) {//물품코드 버튼을 눌렀을 때
  380. rszfOpenPopUpListByWndName(grd_rfchmandlist,"",
  381. "suplplcecd,suplplcenm","SPRSD00220","instcd,goodflag",
  382. "cmb_instcd_search,cmb_goodflag_search","Y");
  383. }
  384. ]]>
  385. </script>
  386. <script type="javascript" ev:event="xforms-value-changed">
  387. <![CDATA[
  388. if(grd_rfchmandlist.col == grd_rfchmandlist.colRef("suplplcenm") && grd_rfchmandlist.valueMatrix(grd_rfchmandlist.row, grd_rfchmandlist.colRef("suplplcenm")).length> 0)
  389. {
  390. if(grd_rfchmandlist.valueMatrix(grd_rfchmandlist.row, grd_rfchmandlist.colRef("suplplcenm")).length == 0)
  391. grd_rfchmandlist.valueMatrix(grd_rfchmandlist.row, grd_rfchmandlist.colRef("suplplcecd")) = "";
  392. else
  393. rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm",
  394. cmb_instcd_search.value + "," + "custnm," + grd_rfchmandlist.valueMatrix(grd_rfchmandlist.row, grd_rfchmandlist.colRef("suplplcenm")), "", "suplplcecd,suplplcenm",
  395. grd_rfchmandlist, "SPRSD00220", "instcd","cmb_instcd_search");
  396. }
  397. else if(grd_rfchmandlist.col == grd_rfchmandlist.colRef("suplplcecd") && grd_rfchmandlist.valueMatrix(grd_rfchmandlist.row, grd_rfchmandlist.colRef("suplplcecd")).length> 0)
  398. {
  399. if(grd_rfchmandlist.valueMatrix(grd_rfchmandlist.row, grd_rfchmandlist.colRef("suplplcecd")).length == 0)
  400. grd_rfchmandlist.valueMatrix(grd_rfchmandlist.row, grd_rfchmandlist.colRef("suplplcenm")) = "";
  401. else
  402. rszfValidationCheck("TRRSD00221", "reqcustomlist", "instcd,refcond,retrnm",
  403. cmb_instcd_search.value + "," + "entrregno," + grd_rfchmandlist.valueMatrix(grd_rfchmandlist.row, grd_rfchmandlist.colRef("suplplcecd")), "", "suplplcecd,suplplcenm",
  404. grd_rfchmandlist, "SPRSD00220", "instcd","cmb_instcd_search");
  405. }
  406. ]]>
  407. </script>
  408. </datagrid>
  409. </case>
  410. </switch>
  411. <button id="btn_addrow_" class="btn2_letter3" navindex="94" style="left:1080px; top:224px; width:53px; height:19px; font-family:돋움체; ">
  412. <caption>행추가</caption>
  413. <script type="javascript" ev:event="DOMActivate">
  414. <![CDATA[
  415. if(btn_rfchmandlist.selected == true)
  416. {
  417. misfGridIUD(grd_rfchmandlist, "A");
  418. var cur_row = grd_rfchmandlist.row;
  419. //행추가를 누를시 기간코드,고정자산 값을 자동으로 저장한다.
  420. model.setValue(grd_rfchmandlist.attribute("nodeset")+"["+cur_row+"]/instcd",cmb_instcd_search.value);
  421. model.setValue(grd_rfchmandlist.attribute("nodeset")+"["+cur_row+"]/fixasetcd",ipt_fixasetcd.value);
  422. model.refresh();
  423. return;
  424. }
  425. else if(btn_comps.selected == true)
  426. {
  427. misfGridIUD(grd_comps, "A");
  428. var cur_row = grd_comps.row;
  429. //행추가를 누를시 기간코드,고정자산 값을 자동으로 저장한다.
  430. model.setValue(grd_comps.attribute("nodeset")+"["+cur_row+"]/instcd",cmb_instcd_search.value);
  431. model.setValue(grd_comps.attribute("nodeset")+"["+cur_row+"]/fixasetcd",ipt_fixasetcd.value);
  432. model.refresh();
  433. return;
  434. }
  435. ]]>
  436. </script>
  437. </button>
  438. <button id="btn_excel" class="btn5_letter3" navindex="93" style="left:1024px; top:224px; width:53px; height:19px; font-family:돋움체; ">
  439. <caption>Excel</caption>
  440. <script type="javascript" ev:event="DOMActivate">
  441. <![CDATA[
  442. if(btn_rfchmandlist.selected == true)
  443. {
  444. var fileName = window.fileDialog("save", ",", false, "보수계약정보", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  445. if (fileName != "")
  446. {
  447. grd_rfchmandlist.saveExcel(fileName, "보수계약정보List",true,true, "");
  448. }
  449. return;
  450. }
  451. else if(btn_comps.selected == true)
  452. {
  453. var fileName = window.fileDialog("save", ",", false, "구성품", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  454. if (fileName != "")
  455. {
  456. grd_comps.saveExcel(fileName, "구성품List",true,true, "");
  457. }
  458. return;
  459. }
  460. ]]>
  461. </script>
  462. </button>
  463. <button id="btn_delrow_" class="btn2_letter3" navindex="95" style="left:1136px; top:224px; width:53px; height:19px; font-family:돋움체; ">
  464. <caption>행삭제</caption>
  465. <script type="javascript" ev:event="DOMActivate">
  466. <![CDATA[
  467. if(btn_rfchmandlist.selected == true)
  468. {
  469. misfGridIUD(grd_rfchmandlist, "D");
  470. model.refresh();
  471. return;
  472. }
  473. else if(btn_comps.selected == true)
  474. {
  475. misfGridIUD(grd_comps, "D");
  476. model.refresh();
  477. return;
  478. }
  479. ]]>
  480. </script>
  481. </button>
  482. <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; "/>
  483. <select1 id="cmb_svctype" ref="/root/main/servdetlinfo/servdetl/svctype" appearance="minimal" style="left:567px; top:53px; width:95px; height:19px; ">
  484. <choices>
  485. <item>
  486. <label>combo4</label>
  487. <value>combo4</value>
  488. </item>
  489. </choices>
  490. </select1>
  491. <select1 id="cmb_servtype" ref="/root/main/servdetlinfo/servdetl/servtype" appearance="minimal" style="left:746px; top:53px; width:95px; height:19px; ">
  492. <choices>
  493. <item>
  494. <label>combo4</label>
  495. <value>combo4</value>
  496. </item>
  497. </choices>
  498. </select1>
  499. </group>
  500. </xhtml:body>
  501. </xhtml:html>