SMRPV04900_내부고객만족도평가결과조회.xrw 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503
  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. <resultrpvdinpnlist/>
  11. <resultrpvdinvunlist/>
  12. <total/>
  13. <avg/>
  14. <cvsavg/>
  15. <exceldata>
  16. <excelgrid/>
  17. <titlelist/>
  18. </exceldata>
  19. </main>
  20. <send>
  21. <valuyy/>
  22. <fstscndhfyyflag/>
  23. <instcdx/>
  24. <valuclscd>01</valuclscd>
  25. <valumdlcd>001</valumdlcd>
  26. <valuclsdetlcd>001</valuclsdetlcd>
  27. <row_rpvdinpnlist/>
  28. <ioflag/>
  29. <sdeptcd/>
  30. <sdeptnm/>
  31. <save>
  32. <resultrpvdinpnlist/>
  33. </save>
  34. </send>
  35. <init>
  36. <inoutflag>
  37. <label>전체</label>
  38. <value>%</value>
  39. <label>내부</label>
  40. <value>I</value>
  41. <label>외부</label>
  42. <value>O</value>
  43. </inoutflag>
  44. </init>
  45. <temp>
  46. <exceldata>
  47. <excelgrid/>
  48. <titlelist/>
  49. </exceldata>
  50. </temp>
  51. </root>
  52. </instance>
  53. <submission id="TRRPV04901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/resultrpvdinpnlist"/>
  54. <submission id="TRRPV04902" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/row_rpvdinpnlist" resultref="/root/main/resultrpvdinvunlist"/>
  55. <submission id="TXRPV04901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden/temp"/>
  56. <submission id="TRRPV04903" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp/exceldata"/>
  57. <submission id="TXRPV04902" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/hidden/temp"/>
  58. </model>
  59. <script type="javascript" ev:event="xforms-ready">
  60. <![CDATA[
  61. fInitialize();
  62. model.refresh();
  63. ]]>
  64. </script>
  65. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  66. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  67. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  68. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  69. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  70. <script type="javascript" src="../../../mis/valuationmngtweb/js/RPV001.js"/>
  71. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  72. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  73. <script type="javascript">
  74. <![CDATA[
  75. // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
  76. function fInitialize() {
  77. //그리드 초기화
  78. misfGridInit(grd_rpvdinpnlist);
  79. misfGridInit(grd_rpvdinvulist);
  80. misfMsterDetailSet(grd_rpvdinpnlist, null, "TRRPV04901", "Y");
  81. misfMsterDetailSet(grd_rpvdinvulist, null, "TRRPV04902", "N");
  82. // 현재 년도 설정.
  83. model.setValue(ipt_valuyy.attribute("ref"), getCurrentDate().toDate().getDateFormat("YYYY"));
  84. model.removeNodeset(grd_rpvdinpnlist.nodeset);
  85. model.removeNodeset(grd_rpvdinvulist.nodeset);
  86. model.removeNodeset("/root/init/valucd");
  87. model.refresh();
  88. rpvfComboInstCdList("cmb_instcd");
  89. rpvfComboValuCdList(ipt_valuyy.value, "FSTSCNDHFYYFLAG,INOUTFLAG,VALUSCOR","cmb_fstscndhfyyflag,grd_rpvdinpnlist.inoutflag,grd_rpvdinvulist.valuscor");
  90. addComboItem( "cmb_fstscndhfyyflag", "[-- 전체 --]", "%", "above");
  91. cmb_fstscndhfyyflag.value = "%";
  92. addComboItem( "cmb_instcd", "[-- 전체 --]", "%", "above");
  93. rpvfComboDisableYn("cmb_instcd","ipt_sdeptcd,btn_sdeptcd,ipt_sdeptnm");
  94. cmb_inoutflag.value = "%";
  95. cmb_fstscndhfyyflag.refresh();
  96. cmb_instcd.refresh();
  97. cmb_inoutflag.refresh();
  98. model.setValue(cmb_instcd.attribute("ref"),getUserInfo("dutplceinstcd"));
  99. //model.setValue(ipt_sdeptcd.attribute("ref") , getUserInfo("posdeptcd"));
  100. //model.setValue(ipt_sdeptnm.attribute("ref") , getUserInfo("posdeptnm"));
  101. }
  102. function fDataGridSet()
  103. {
  104. misfGridInit(grd_datatemp);
  105. if(3 <= grd_rpvdinvulist.rows)
  106. {
  107. for(var i = 2; i < grd_rpvdinvulist.rows; i++)
  108. {
  109. misfGridIUD(grd_datatemp, "A");
  110. grd_datatemp.valueMatrix(grd_datatemp.row, grd_datatemp.colRef("deptnm")) = grd_rpvdinpnlist.labelMatrix(grd_rpvdinpnlist.row, grd_rpvdinpnlist.colRef("deptnm"));
  111. grd_datatemp.valueMatrix(grd_datatemp.row, grd_datatemp.colRef("inoutflag")) = grd_rpvdinpnlist.labelMatrix(grd_rpvdinpnlist.row, grd_rpvdinpnlist.colRef("inoutflag"));
  112. grd_datatemp.valueMatrix(grd_datatemp.row, grd_datatemp.colRef("fstavg")) = grd_rpvdinpnlist.labelMatrix(grd_rpvdinpnlist.row, grd_rpvdinpnlist.colRef("fstavg"));
  113. grd_datatemp.valueMatrix(grd_datatemp.row, grd_datatemp.colRef("scndavg")) = grd_rpvdinpnlist.labelMatrix(grd_rpvdinpnlist.row, grd_rpvdinpnlist.colRef("scndavg"));
  114. grd_datatemp.valueMatrix(grd_datatemp.row, grd_datatemp.colRef("totavg")) = grd_rpvdinpnlist.labelMatrix(grd_rpvdinpnlist.row, grd_rpvdinpnlist.colRef("totavg"));
  115. grd_datatemp.valueMatrix(grd_datatemp.row, grd_datatemp.colRef("fadjavg")) = grd_rpvdinpnlist.labelMatrix(grd_rpvdinpnlist.row, grd_rpvdinpnlist.colRef("fadjavg"));
  116. grd_datatemp.valueMatrix(grd_datatemp.row, grd_datatemp.colRef("sadjavg")) = grd_rpvdinpnlist.labelMatrix(grd_rpvdinpnlist.row, grd_rpvdinpnlist.colRef("sadjavg"));
  117. grd_datatemp.valueMatrix(grd_datatemp.row, grd_datatemp.colRef("adjtotal")) = grd_rpvdinpnlist.labelMatrix(grd_rpvdinpnlist.row, grd_rpvdinpnlist.colRef("adjtotal"));
  118. grd_datatemp.valueMatrix(grd_datatemp.row, grd_datatemp.colRef("instnm")) = grd_rpvdinvulist.labelMatrix(i, grd_rpvdinvulist.colRef("instnm"));
  119. grd_datatemp.valueMatrix(grd_datatemp.row, grd_datatemp.colRef("deptnm")) = grd_rpvdinvulist.labelMatrix(i, grd_rpvdinvulist.colRef("deptnm"));
  120. grd_datatemp.valueMatrix(grd_datatemp.row, grd_datatemp.colRef("jobrespnm")) = grd_rpvdinvulist.labelMatrix(i, grd_rpvdinvulist.colRef("jobrespnm"));
  121. grd_datatemp.valueMatrix(grd_datatemp.row, grd_datatemp.colRef("valupsnemplnm")) = grd_rpvdinvulist.labelMatrix(i, grd_rpvdinvulist.colRef("valupsnemplnm"));
  122. grd_datatemp.valueMatrix(grd_datatemp.row, grd_datatemp.colRef("valuitemcnts")) = grd_rpvdinvulist.labelMatrix(i, grd_rpvdinvulist.colRef("valuitemcnts"));
  123. grd_datatemp.valueMatrix(grd_datatemp.row, grd_datatemp.colRef("valuscor")) = grd_rpvdinvulist.labelMatrix(i, grd_rpvdinvulist.colRef("valuscor"));
  124. grd_datatemp.valueMatrix(grd_datatemp.row, grd_datatemp.colRef("cmt")) = grd_rpvdinvulist.labelMatrix(i, grd_rpvdinvulist.colRef("cmt"));
  125. }
  126. }else{
  127. misfGridIUD(grd_datatemp, "A");
  128. grd_datatemp.valueMatrix(grd_datatemp.row, grd_datatemp.colRef("deptnm")) = grd_rpvdinpnlist.labelMatrix(grd_rpvdinpnlist.row, grd_rpvdinpnlist.colRef("deptnm"));
  129. grd_datatemp.valueMatrix(grd_datatemp.row, grd_datatemp.colRef("inoutflag")) = grd_rpvdinpnlist.labelMatrix(grd_rpvdinpnlist.row, grd_rpvdinpnlist.colRef("inoutflag"));
  130. grd_datatemp.valueMatrix(grd_datatemp.row, grd_datatemp.colRef("fstavg")) = grd_rpvdinpnlist.labelMatrix(grd_rpvdinpnlist.row, grd_rpvdinpnlist.colRef("fstavg"));
  131. grd_datatemp.valueMatrix(grd_datatemp.row, grd_datatemp.colRef("scndavg")) = grd_rpvdinpnlist.labelMatrix(grd_rpvdinpnlist.row, grd_rpvdinpnlist.colRef("scndavg"));
  132. grd_datatemp.valueMatrix(grd_datatemp.row, grd_datatemp.colRef("totavg")) = grd_rpvdinpnlist.labelMatrix(grd_rpvdinpnlist.row, grd_rpvdinpnlist.colRef("totavg"));
  133. grd_datatemp.valueMatrix(grd_datatemp.row, grd_datatemp.colRef("fadjavg")) = grd_rpvdinpnlist.labelMatrix(grd_rpvdinpnlist.row, grd_rpvdinpnlist.colRef("fadjavg"));
  134. grd_datatemp.valueMatrix(grd_datatemp.row, grd_datatemp.colRef("sadjavg")) = grd_rpvdinpnlist.labelMatrix(grd_rpvdinpnlist.row, grd_rpvdinpnlist.colRef("sadjavg"));
  135. grd_datatemp.valueMatrix(grd_datatemp.row, grd_datatemp.colRef("adjtotal")) = grd_rpvdinpnlist.labelMatrix(grd_rpvdinpnlist.row, grd_rpvdinpnlist.colRef("adjtotal"));
  136. }
  137. }
  138. function fsumOravg()
  139. {
  140. var fsttot = 0.0;
  141. var scndtot = 0.0;
  142. var tot = 0.0;
  143. for(var i = grd_rpvdinpnlist.fixedRows; i < grd_rpvdinpnlist.rows; i++)
  144. {
  145. fsttot += parseFloat(grd_rpvdinpnlist.valueMatrix(i, grd_rpvdinpnlist.colRef("fstavg")));
  146. scndtot += parseFloat(grd_rpvdinpnlist.valueMatrix(i, grd_rpvdinpnlist.colRef("scndavg")));
  147. tot += parseFloat(grd_rpvdinpnlist.valueMatrix(i, grd_rpvdinpnlist.colRef("totavg")));
  148. }
  149. var fstavg = (fsttot / (grd_rpvdinpnlist.rows - grd_rpvdinpnlist.fixedRows)).toString();
  150. var scndavg = (scndtot/(grd_rpvdinpnlist.rows - grd_rpvdinpnlist.fixedRows)).toString();
  151. var totavg = (tot /(grd_rpvdinpnlist.rows - grd_rpvdinpnlist.fixedRows)).toString();
  152. ipt_total.value = fstavg.getRound(-3, "DOWN");
  153. ipt_avg.value = scndavg.getRound(-3, "DOWN");
  154. ipt_cvsavg.value = totavg.getRound(-3, "DOWN");
  155. }
  156. function setGrid()
  157. {
  158. //Start 그리드 초기화 작업. 노드고 뭐고 싹~!!! 다지워~!!
  159. for (var i = grd_datatemp.cols - 1; i >= 1 ; i--)
  160. {
  161. grd_datatemp.removeColumn(false);
  162. }
  163. misfGridInit(grd_datatemp);
  164. //End 그리드 초기화 작업. 노드고 뭐고 싹~!!! 다지워~!!
  165. //그리드 노드,컬럼,로우 설정.
  166. var title = model.getValue("/root/temp/exceldata/titlelist/title");
  167. var maxcnt = model.getValue("/root/temp/exceldata/titlelist/maxcnt");
  168. //col 추가
  169. grd_datatemp.addColumn("ref:" + "valuinstnm" + "; type:output;" + " style:" + "text-align:center;");
  170. grd_datatemp.addColumn("ref:" + "valudeptnm" + "; type:output;" + " style:" + "text-align:center;");
  171. grd_datatemp.addColumn("ref:" + "inoutflag" + "; type:output;" + " style:" + "text-align:center;");
  172. grd_datatemp.addColumn("ref:" + "fstavg" + "; format:" + "(-)#,###.0;" + "; type:output;" + " style:" + "text-align:right;");
  173. grd_datatemp.addColumn("ref:" + "scndavg" + "; format:" + "(-)#,###.0;" + "; type:output;" + " style:" + "text-align:right;");
  174. grd_datatemp.addColumn("ref:" + "totavg" + "; format:" + "(-)#,###.0;" + "; type:output;" + " style:" + "text-align:right;");
  175. grd_datatemp.addColumn("ref:" + "updtavg" + "; format:" + "(-)#,###.0;" + "; type:output;" + " style:" + "text-align:right;");
  176. grd_datatemp.addColumn("ref:" + "adjtotal" + "; format:" + "(-)#,###.0;" + "; type:output;" + " style:" + "text-align:right;");
  177. grd_datatemp.addColumn("ref:" + "instnm" + "; type:output;" + " style:" + "text-align:center;");
  178. grd_datatemp.addColumn("ref:" + "deptnm" + "; type:output;" + " style:" + "text-align:center;");
  179. grd_datatemp.addColumn("ref:" + "jobrespnm" + "; type:output;" + " style:" + "text-align:center;");
  180. grd_datatemp.addColumn("ref:" + "valupsnemplnm" + "; type:output;" + " style:" + "text-align:center;");
  181. for(var i = 1; i <= maxcnt ; i++)
  182. {
  183. var valuscor = "valuscor" + i.toString() ;
  184. grd_datatemp.addColumn("ref:" + valuscor + "; type:output;" + " style:" + "text-align:center;");
  185. }
  186. grd_datatemp.addColumn("ref:" + "cmt" + "; type:output;" + " style:" + "text-align:left;");
  187. grd_datatemp.caption = title;
  188. model.copyNode("/root/main/exceldata","/root/temp/exceldata");
  189. model.refresh();
  190. grd_datatemp.rebuild();
  191. }
  192. ]]>
  193. </script>
  194. </xhtml:head>
  195. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  196. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  197. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">고객 만족도 결과 조회</caption>
  198. </group>
  199. <group id="group2" scroll="auto" style="left:0px; top:38; width:1195px; height:744; ">
  200. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:0px; top:10px; width:1195px; height:35px; "/>
  201. <button id="btn_search" class="btn1_letter2" style="left:1125px; top:16px; width:56px; height:22px; ">
  202. <caption>조회</caption>
  203. <script type="javascript" ev:event="DOMActivate">
  204. <![CDATA[
  205. if(!isRequiredControls("ipt_valuyy")) return;
  206. if(!isRequiredControls("cmb_fstscndhfyyflag")) return;
  207. if(!isRequiredControls("cmb_instcd")) return;
  208. if(!isRequiredControls("cmb_inoutflag")) return;
  209. model.resetInstanceNode("/root/main");
  210. misfGridInit(grd_rpvdinvulist);
  211. submit("TRRPV04901");
  212. // 조회 내용이 있을시..
  213. if(grd_rpvdinpnlist.rows != grd_rpvdinpnlist.fixedRows)
  214. {
  215. grd_rpvdinpnlist.row = grd_rpvdinpnlist.fixedRows;
  216. grd_rpvdinpnlist.dispatch("onrowchanged");
  217. grd_rpvdinpnlist.select(grd_rpvdinpnlist.row, grd_rpvdinpnlist.fixedCols+3) = true;
  218. fsumOravg();
  219. }
  220. model.refresh();
  221. ]]>
  222. </script>
  223. </button>
  224. <line id="line13" class="line_4" style="x1:1110px; y1:11px; x2:1110px; y2:43px; "/>
  225. <datagrid id="grd_rpvdinpnlist" nodeset="/root/main/resultrpvdinpnlist" caption="피평가부서^내외부구분^상반기^하반기^평균^수정점수^상반기 조정 평균^하반기 조정 평균^조정평균|피평가부서^내외부구분^상반기^하반기^평균^수정점수^상반기 조정 평균^하반기 조정 평균^조정평균" colsep="^" colwidth="128, 70, 37, 36, 41, 36, 23, 29, 36, 100, 100, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:75px; width:420px; height:625px; ">
  226. <col ref="deptnm" style="text-align:center; "/>
  227. <col class="gridcombo" disabled="true" ref="inoutflag" type="combo">
  228. <choices>
  229. <itemset>
  230. <label/>
  231. <value/>
  232. </itemset>
  233. </choices>
  234. </col>
  235. <col ref="fstavg" format="#,###.0" style="text-align:right; "/>
  236. <col ref="scndavg" format="#,###.0" style="text-align:right; "/>
  237. <col ref="totavg" format="#,###.0" style="text-align:right; "/>
  238. <col ref="updtavg" type="input" format="#,###.0" style="text-align:right; "/>
  239. <col ref="fadjavg" visibility="hidden" format="#,###.0" style="text-align:right; "/>
  240. <col ref="sadjavg" visibility="hidden" format="#,###.0" style="text-align:right; "/>
  241. <col ref="adjtotal" format="#,###.0" style="text-align:right; "/>
  242. <col ref="deptcd" visibility="hidden"/>
  243. <col ref="instcd" visibility="hidden"/>
  244. <col ref="valuclscd" visibility="hidden"/>
  245. <col ref="valumdlcd" visibility="hidden"/>
  246. <col ref="valuclsdetlcd" visibility="hidden"/>
  247. <col ref="valuyy" visibility="hidden"/>
  248. <col ref="fstscndhfyyflag" visibility="hidden"/>
  249. <col ref="valupsnemplno" visibility="hidden"/>
  250. <col ref="instnm" visibility="hidden"/>
  251. <script type="javascript" ev:event="onrowchanged">
  252. <![CDATA[
  253. grd_rpvdinpnlist.dispatch("onmouseup");
  254. model.copyNode("/root/send/row_rpvdinpnlist", grd_rpvdinpnlist.attribute("nodeset") + "[" + (grd_rpvdinpnlist.row - 1) + "]");
  255. submit("TRRPV04902");
  256. ]]>
  257. </script>
  258. </datagrid>
  259. <caption id="caption4" class="tit_2" style="left:5px; top:54px; width:204px; height:13px; vertical-align:middle; ">고객 만족도 평가 결과 List</caption>
  260. <line id="line1" class="line_1" style="x1:0px; y1:69px; x2:420px; y2:69px; "/>
  261. <input id="ipt_valuyy" ref="/root/send/valuyy" class="input_s_essential" inputtype="date" format="yyyy" style="left:90px; top:17px; width:65px; height:19px; text-align:center; ">
  262. <script type="javascript" ev:event="xforms-value-changed">
  263. <![CDATA[
  264. if(!isRequiredControls("ipt_valuyy")) return;
  265. model.removeNodeset(grd_rpvdinpnlist.nodeset);
  266. model.removeNodeset(grd_rpvdinvulist.nodeset);
  267. model.removeNodeset("/root/init/valucd");
  268. model.refresh();
  269. rpvfComboValuCdList(ipt_valuyy.value, "FSTSCNDHFYYFLAG,INOUTFLAG,VALUSCOR","cmb_fstscndhfyyflag,grd_rpvdinpnlist.inoutflag,grd_rpvdinvulist.valuscor");
  270. addComboItem( "cmb_fstscndhfyyflag", "[-- 전체 --]", "%", "above");
  271. cmb_fstscndhfyyflag.value = "%";
  272. rpvfComboDisableYn("cmb_instcd","ipt_sdeptcd,btn_sdeptcd,ipt_sdeptnm");
  273. var instcd = cmb_instcd.value;
  274. if( getStringLength(ipt_valuyy.value) == "4" ) {
  275. rpvfComboInstCdList("cmb_instcd",ipt_valuyy.value);
  276. cmb_instcd.value = instcd;
  277. model.refresh();
  278. }
  279. model.refresh();
  280. ]]>
  281. </script>
  282. </input>
  283. <caption id="cap_valuyy" class="search_name" style="left:5px; top:18px; width:90px; height:17px; vertical-align:middle; ">기준년도 :</caption>
  284. <select1 id="cmb_instcd" ref="/root/send/instcdx" class="combo_s_essential" appearance="minimal" style="left:430px; top:17px; width:169px; height:19px; text-align:center; ">
  285. <choices>
  286. <itemset>
  287. <label/>
  288. <value/>
  289. </itemset>
  290. </choices>
  291. </select1>
  292. <caption id="cap_instcd" class="search_name" style="left:369px; top:18px; width:61px; height:17px; vertical-align:middle; ">기관 :</caption>
  293. <caption id="cap_total" class="cell_1" style="left:0px; top:710px; width:50px; height:23px; vertical-align:middle; ">상반기</caption>
  294. <input id="ipt_total" ref="/root/main/total" class="input_essential" disabled="true" format="#,###.##" style="left:53px; top:712px; width:60px; height:19px; text-align:right; "/>
  295. <caption id="cap_avg" class="cell_1" style="left:134px; top:710px; width:50px; height:23px; vertical-align:middle; ">하반기</caption>
  296. <input id="ipt_avg" ref="/root/main/avg" class="input_essential" disabled="true" format="#,###.##" style="left:187px; top:712px; width:60px; height:19px; text-align:right; "/>
  297. <caption id="cap_cvsavg" class="cell_1" style="left:268px; top:710px; width:50px; height:23px; vertical-align:middle; ">평균</caption>
  298. <input id="ipt_cvsavg" ref="/root/main/cvsavg" class="input_essential" disabled="true" format="#,###.##" style="left:320px; top:712px; width:60px; height:19px; text-align:right; "/>
  299. <datagrid id="grd_rpvdinvulist" nodeset="/root/main/resultrpvdinvunlist" autoresize="true" caption="기관^부서^직책^성명^설문내용^점수^의견^조정점수^평가자사번|기관^부서^직책^성명^설문내용^점수^의견^조정점수^평가자사번" colsep="^" colwidth="111, 108, 82, 67, 313, 45, 136, 227, 32, 25" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:425px; top:75px; width:768px; height:665px; ">
  300. <col ref="instnm"/>
  301. <col ref="deptnm"/>
  302. <col ref="jobrespnm"/>
  303. <col ref="valupsnemplnm" style="text-align:center; "/>
  304. <col ref="valuitemcnts" style="text-align:left; "/>
  305. <col ref="valuscor" style="text-align:right; ">
  306. <choices>
  307. <itemset>
  308. <label/>
  309. <value/>
  310. </itemset>
  311. </choices>
  312. </col>
  313. <col ref="cmt" visibility="hidden" style="text-align:left; "/>
  314. <col ref="valuitemcd" visibility="hidden"/>
  315. <col ref="aditscor" visibility="hidden" format="#,###" style="text-align:right; "/>
  316. <col ref="valupsnemplno" visibility="hidden" style="text-align:center; "/>
  317. </datagrid>
  318. <caption id="caption7" class="tit_2" style="left:425px; top:54px; width:217px; height:13px; vertical-align:middle; ">고객 만족도 평가 세부 List</caption>
  319. <line id="line2" class="line_1" style="x1:425px; y1:69px; x2:1193px; y2:69px; "/>
  320. <select1 id="cmb_fstscndhfyyflag" ref="/root/send/fstscndhfyyflag" class="combo_s_essential" appearance="minimal" style="left:245px; top:17px; width:110px; height:19px; text-align:center; ">
  321. <choices>
  322. <itemset>
  323. <label/>
  324. <value/>
  325. </itemset>
  326. </choices>
  327. <script type="javascript" ev:event="xforms-value-changed">
  328. <![CDATA[
  329. if ( cmb_fstscndhfyyflag.value != "1" && cmb_fstscndhfyyflag.value != "2" ) {
  330. btn_cnfmyn.disabled = true;
  331. }
  332. else {
  333. btn_cnfmyn.disabled = false;
  334. }
  335. ]]>
  336. </script>
  337. </select1>
  338. <caption id="cap_fstscndhfyyflag" class="search_name" style="left:163px; top:18px; width:81px; height:17px; vertical-align:middle; ">상하반기:</caption>
  339. <caption id="cap_inoutflag" class="search_name" style="left:615px; top:18px; width:95px; height:17px; vertical-align:middle; ">내외부구분:</caption>
  340. <select1 id="cmb_inoutflag" ref="/root/send/ioflag" class="combo_s_essential" appearance="minimal" style="left:715px; top:17px; width:105px; height:19px; text-align:center; ">
  341. <choices>
  342. <itemset nodeset="/root/init/inoutflag">
  343. <label ref="label"/>
  344. <value ref="value"/>
  345. </itemset>
  346. </choices>
  347. </select1>
  348. <caption id="cap_sdeptcd" class="search_name" style="left:825px; top:18px; width:62px; height:17px; ">부서 :</caption>
  349. <input id="ipt_sdeptnm" ref="/root/send/sdeptnm" class="input_default" style="left:888px; top:17px; width:112px; height:19px; ">
  350. <script type="javascript" ev:event="xforms-value-changed">
  351. <![CDATA[
  352. misfValidationCheck("02", "", "sdeptcd,sdeptnm" );
  353. model.refresh();
  354. ]]>
  355. </script>
  356. </input>
  357. <button id="btn_sdeptcd" class="icon_search" style="left:1006px; top:17px; width:16px; height:16px; ">
  358. <caption/>
  359. <script type="javascript" ev:event="DOMActivate">
  360. <![CDATA[
  361. var recv_list = "sdeptcd,sdeptnm";
  362. var instcd = cmb_instcd.value;
  363. rpvfOpenDeptCdHelp(ipt_sdeptnm,recv_list, instcd, "instcd");
  364. model.refresh();
  365. ]]>
  366. </script>
  367. </button>
  368. <input id="ipt_sdeptcd" ref="/root/send/sdeptcd" class="input_default" visibility="hidden" style="left:888px; top:17px; width:92px; height:19px; ">
  369. <script type="javascript" ev:event="xforms-value-changed">
  370. <![CDATA[
  371. misfValidationCheck("02", "", "sdeptcd,sdeptnm" );
  372. model.refresh();
  373. ]]>
  374. </script>
  375. </input>
  376. <datagrid id="grd_datatemp" nodeset="/root/main/exceldata/excelgrid" visibility="hidden" caption="^" colsep="^" colwidth="100, 100" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:5px; top:290px; width:1180px; height:390px; "/>
  377. <button id="btn_excel" class="btn2_letter4" style="left:1128px; top:49px; width:64px; height:19px; ">
  378. <caption>엑셀저장</caption>
  379. <script type="javascript" ev:event="DOMActivate">
  380. <![CDATA[
  381. //fDataGridSet();
  382. misfGridInit(grd_datatemp);
  383. submit("TRRPV04903");
  384. setGrid();
  385. var fileName = window.fileDialog ("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  386. if (fileName != "")
  387. {
  388. grd_datatemp.saveExcel(fileName);
  389. }
  390. ]]>
  391. </script>
  392. </button>
  393. <button id="btn_movescor" class="btn2_letter9" style="left:211px; top:48px; width:119px; height:19px; ">
  394. <caption>
  395. <![CDATA[평균점수->수정점수]]>
  396. </caption>
  397. <script type="javascript" ev:event="DOMActivate">
  398. <![CDATA[
  399. for (var i = grd_rpvdinpnlist.fixedRows; i < grd_rpvdinpnlist.rows; i++ ) {
  400. //if (grd_rpvdinpnlist.valueMatrix(i, grd_rpvdinpnlist.colRef("inoutflag")) == "I") {
  401. grd_rpvdinpnlist.valueMatrix(i, grd_rpvdinpnlist.colRef("updtavg")) = grd_rpvdinpnlist.valueMatrix(i, grd_rpvdinpnlist.colRef("totavg"));
  402. grd_rpvdinpnlist.rowStatus(i) = "2";
  403. //}
  404. }
  405. grd_rpvdinpnlist.refresh();
  406. ]]>
  407. </script>
  408. </button>
  409. <button id="btn_saveupdtscor" class="btn5_letter6" style="left:332px; top:48px; width:86px; height:19px; ">
  410. <caption>수정점수저장</caption>
  411. <script type="javascript" ev:event="DOMActivate">
  412. <![CDATA[
  413. misfSave("TXRPV04902");
  414. btn_search.dispatch("DOMActivate");
  415. ]]>
  416. </script>
  417. </button>
  418. </group>
  419. <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
  420. <line id="line6" class="line_6" style="x1:0px; y1:25; x2:1195px; y2:25; "/>
  421. <button id="btn_init" class="btn4_letter3" style="left:1124px; top:3px; width:68px; height:22px; ">
  422. <caption>초기화</caption>
  423. <script type="javascript" ev:event="DOMActivate">
  424. <![CDATA[
  425. window.reload() ;
  426. ]]>
  427. </script>
  428. </button>
  429. <button id="btn_cnfmyn" class="btn4_letter4" disabled="true" style="left:1041px; top:3px; width:68px; height:22px; ">
  430. <caption>점수조정</caption>
  431. <script type="javascript" ev:event="DOMActivate">
  432. <![CDATA[
  433. submit("TXRPV04901");
  434. btn_search.dispatch("DOMActivate");
  435. ]]>
  436. </script>
  437. </button>
  438. <button id="btn_print" class="btn4_letter2" style="left:980px; top:3px; width:56px; height:22px; ">
  439. <caption>출력</caption>
  440. <script type="javascript" ev:event="DOMActivate">
  441. <![CDATA[
  442. exeReportPreview("RPRPV04901", "XMLSTR");
  443. ]]>
  444. </script>
  445. </button>
  446. </group>
  447. </xhtml:body>
  448. </xhtml:html>