SMLPS01800_선정보제공통계.xrw 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMLPS01800_선정보제공통계.xrw
  4. * 설 명 : 검체별통계 화면
  5. * 설 계 자 : (주)평화이즈 - 박상환
  6. * 작 성 자 : (주)평화이즈 - 박상환
  7. * 작 성 일 : 2009.07.16
  8. * 수정이력 :
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  12. <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">
  13. <xhtml:head>
  14. <xhtml:title>선정보제공통계</xhtml:title>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root xmlns="">
  18. <main>
  19. <statstinfo>
  20. <statsinfolist>
  21. <orddeptcd/>
  22. <orddrid/>
  23. <diagcnts/>
  24. <readdrid/>
  25. <day01/>
  26. <day02/>
  27. <day03/>
  28. <day04/>
  29. <day05/>
  30. <day06/>
  31. <day07/>
  32. <day08/>
  33. <day09/>
  34. <day10/>
  35. <day11/>
  36. <day12/>
  37. <day13/>
  38. <day14/>
  39. <day15/>
  40. <day16/>
  41. <day17/>
  42. <day18/>
  43. <day19/>
  44. <day20/>
  45. <day21/>
  46. <day22/>
  47. <day23/>
  48. <day24/>
  49. <day25/>
  50. <day26/>
  51. <day27/>
  52. <day28/>
  53. <day29/>
  54. <day30/>
  55. <day31/>
  56. <daytot/>
  57. </statsinfolist>
  58. </statstinfo>
  59. </main>
  60. <send>
  61. <readfromdd/>
  62. <readtodd/>
  63. <srchflag/>
  64. </send>
  65. <init>
  66. <sysdt>
  67. <sysdtinfo>
  68. <sysdd/>
  69. <systm/>
  70. </sysdtinfo>
  71. </sysdt>
  72. <resncd>
  73. <resncdlist>
  74. <instcd/>
  75. <baseflagcd/>
  76. <resncd/>
  77. <resncnts/>
  78. </resncdlist>
  79. </resncd>
  80. <patflagcd/>
  81. </init>
  82. <hidden>
  83. </hidden>
  84. <message/>
  85. </root>
  86. </instance>
  87. <bind id="bind01" ref="/root/main/statstinfo/statsinfolist/day01" readonly="../choi/@readonly = 'true'"/>
  88. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  89. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  90. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  91. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  92. <script type="javascript" src="../../../lis/commonweb/js/LPZ001.js"/>
  93. <script type="javascript" ev:event="xforms-ready">
  94. <![CDATA[
  95. fExeInitialize();
  96. ]]>
  97. </script>
  98. <submission id="TRLPS01801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/statstinfo/statsinfolist"/>
  99. </model>
  100. <script type="javascript">
  101. <![CDATA[
  102. /* @group : 선정보제공통제
  103. * @ver : 2009.07.17
  104. * @by : 박상환(평화이즈)
  105. * @-----------------------------------
  106. * @type : function
  107. * @access : public
  108. * @desc : 화면초기화 함수
  109. */
  110. function fExeInitialize() {
  111. //---------------------------------------------------------
  112. model.removeNodeset("/root/main/statstinfo/statsinfolist");
  113. //------------
  114. // 초기값 설정
  115. ipt_readfromdd.value = getCurrentDate().substr(0,6).toDate().getAddDate(1,"D").getDateFormat("YYYYMMDD");
  116. ipt_readtodd.value = getCurrentDate().substr(0,6) + ipt_readfromdd.value.toDate().getMonthDay();
  117. cbo_srchflag.value = "1";
  118. //----------------
  119. fSrchFlagChange(cbo_srchflag.value);
  120. model.refresh();
  121. }
  122. /* @group : 선정보제공통제
  123. * @ver : 2009.07.17
  124. * @by : 박상환(평화이즈)
  125. * @-----------------------------------
  126. * @type : function
  127. * @access : public
  128. * @desc : 화면초기화 함수
  129. */
  130. function fGetStatsInfoList() {
  131. //--------------------------------
  132. model.removeNodeset("/root/main/statstinfo/statsinfolist");
  133. //-------------------
  134. submit("TRLPS01801");
  135. }
  136. /* @group : 선정보제공통제
  137. * @ver : 2009.07.17
  138. * @by : 박상환(평화이즈)
  139. * @-----------------------------------
  140. * @type : function
  141. * @access : public
  142. * @desc : 화면초기화 함수
  143. */
  144. function fExeSaveToExcel() {
  145. var sTitle = "";
  146. // switch (model.getValue("/root/hidden/refmthdcd")) {
  147. // case "0" : sTitle = "검체별 (일별) 통계";
  148. // break;
  149. // case "1" : sTitle = "검체별 (월별) 통계";
  150. // break;
  151. // case "2" : sTitle = "검체별 (년별) 통계";
  152. // break;
  153. // }
  154. //grd_statsinfolist.saveExcel("C:\\SMLPS00400_검체별통계.xls", sTitle, false, false);
  155. lpzfExeSaveToExcel(grd_statsinfolist, sTitle);
  156. }
  157. /* @group : 선정보제공통제
  158. * @ver : 2009.07.17
  159. * @by : 박상환(평화이즈)
  160. * @-----------------------------------
  161. * @type : function
  162. * @access : public
  163. * @desc : 화면초기화 함수
  164. */
  165. function fSrchFlagChange() {
  166. // 선택된 조회구분외 숨기기
  167. if(cbo_srchflag.value == "1"){
  168. grd_statsinfolist.colHidden(1) = false;
  169. grd_statsinfolist.colHidden(2) = true;
  170. grd_statsinfolist.colHidden(3) = true;
  171. grd_statsinfolist.colHidden(4) = true;
  172. }else if(cbo_srchflag.value == "2"){
  173. grd_statsinfolist.colHidden(1) = true;
  174. grd_statsinfolist.colHidden(2) = false;
  175. grd_statsinfolist.colHidden(3) = true;
  176. grd_statsinfolist.colHidden(4) = true;
  177. }else if(cbo_srchflag.value == "3"){
  178. grd_statsinfolist.colHidden(1) = true;
  179. grd_statsinfolist.colHidden(2) = true;
  180. grd_statsinfolist.colHidden(3) = false;
  181. grd_statsinfolist.colHidden(4) = true;
  182. }else{
  183. grd_statsinfolist.colHidden(1) = true;
  184. grd_statsinfolist.colHidden(2) = true;
  185. grd_statsinfolist.colHidden(3) = true;
  186. grd_statsinfolist.colHidden(4) = false;
  187. }
  188. fGetStatsInfoList();
  189. //-------------
  190. model.refresh();
  191. }
  192. ]]>
  193. </script>
  194. </xhtml:head>
  195. <xhtml:body>
  196. <group id="grp_btn" style="left:0px; top:13; width:1195px; height:27px; ">
  197. <line id="line10" class="line_6" style="x1:0px; y1:25; x2:1194px; y2:25; "/>
  198. <button id="button13" class="btn6_letter5" navindex="10" style="left:5px; top:3px; width:92px; height:22px; ">
  199. <caption>EXCEL저장</caption>
  200. <script type="javascript" ev:event="DOMActivate">
  201. <![CDATA[
  202. fExeSaveToExcel();
  203. ]]>
  204. </script>
  205. </button>
  206. </group>
  207. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  208. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:180px; height:14px; ">선정보제공통계</caption>
  209. </group>
  210. <group id="grp_biz" style="left:0; top:40; width:1195; height:744; ">
  211. <caption id="caption4" class="tit_2" style="left:5px; top:55px; width:140px; height:13px; ">접수검체목록</caption>
  212. <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:1194px; y2:70px; "/>
  213. <datagrid id="grd_statsinfolist" nodeset="/root/main/statstinfo/statsinfolist" class="datagrid2" autoresize="true" caption="진료과^주치의^진단^병리의사^01^02^03^04^05^06^07^08^09^10^11^12^13^14^15^16^17^18^19^20^21^22^23^24^25^26^27^28^29^30^31^총건수" colsep="^" colwidth="80, 80, 150, 80, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 50" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" navindex="9" style="left:0; top:75px; width:1194px; height:653px; ">
  214. <col class="text_center" ref="orddeptcd"/>
  215. <col class="text_center" ref="orddrid"/>
  216. <col class="text_center" ref="diagcnts"/>
  217. <col class="text_center" ref="readdrid"/>
  218. <col class="text_right" ref="day01" format="#,###" mask="exclude" showmask="true"/>
  219. <col class="text_right" ref="day02" format="#,###" mask="exclude" showmask="true"/>
  220. <col class="text_right" ref="day03" format="#,###" mask="exclude" showmask="true"/>
  221. <col class="text_right" ref="day04" format="#,###" mask="exclude" showmask="true"/>
  222. <col class="text_right" ref="day05" format="#,###" mask="exclude" showmask="true"/>
  223. <col class="text_right" ref="day06" format="#,###" mask="exclude" showmask="true"/>
  224. <col class="text_right" ref="day07" format="#,###" mask="exclude" showmask="true"/>
  225. <col class="text_right" ref="day08" format="#,###" mask="exclude" showmask="true"/>
  226. <col class="text_right" ref="day09" format="#,###" mask="exclude" showmask="true"/>
  227. <col class="text_right" ref="day10" format="#,###" mask="exclude" showmask="true"/>
  228. <col class="text_right" ref="day11" format="#,###" mask="exclude" showmask="true"/>
  229. <col class="text_right" ref="day12" format="#,###" mask="exclude" showmask="true"/>
  230. <col class="text_right" ref="day13" format="#,###" mask="exclude" showmask="true"/>
  231. <col class="text_right" ref="day14" format="#,###" mask="exclude" showmask="true"/>
  232. <col class="text_right" ref="day15" format="#,###" mask="exclude" showmask="true"/>
  233. <col class="text_right" ref="day16" format="#,###" mask="exclude" showmask="true"/>
  234. <col class="text_right" ref="day17" format="#,###" mask="exclude" showmask="true"/>
  235. <col class="text_right" ref="day18" format="#,###" mask="exclude" showmask="true"/>
  236. <col class="text_right" ref="day19" format="#,###" mask="exclude" showmask="true"/>
  237. <col class="text_right" ref="day20" format="#,###" mask="exclude" showmask="true"/>
  238. <col class="text_right" ref="day21" format="#,###" mask="exclude" showmask="true"/>
  239. <col class="text_right" ref="day22" format="#,###" mask="exclude" showmask="true"/>
  240. <col class="text_right" ref="day23" format="#,###" mask="exclude" showmask="true"/>
  241. <col class="text_right" ref="day24" format="#,###" mask="exclude" showmask="true"/>
  242. <col class="text_right" ref="day25" format="#,###" mask="exclude" showmask="true"/>
  243. <col class="text_right" ref="day26" format="#,###" mask="exclude" showmask="true"/>
  244. <col class="text_right" ref="day27" format="#,###" mask="exclude" showmask="true"/>
  245. <col class="text_right" ref="day28" format="#,###" mask="exclude" showmask="true"/>
  246. <col class="text_right" ref="day29" format="#,###" mask="exclude" showmask="true"/>
  247. <col class="text_right" ref="day30" format="#,###" mask="exclude" showmask="true"/>
  248. <col class="text_right" ref="day31" format="#,###" mask="exclude" showmask="true"/>
  249. <col class="text_right" ref="daytot" format="#,###" mask="exclude" showmask="true"/>
  250. <script type="javascript" ev:event="onaftersort">
  251. <![CDATA[
  252. grd_statsinfolist.gridToInstance();
  253. ]]>
  254. </script>
  255. </datagrid>
  256. <group id="grp_sea" style="left:0px; top:10px; width:1195px; height:35px; vertical-align:top; ">
  257. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  258. <line id="line13" class="line_4" style="x1:1108px; y1:7px; x2:1108px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  259. <caption id="caption2" class="search_name" style="left:15; top:9px; width:86px; height:17px; ">발송일자 :</caption>
  260. <caption id="caption5" class="search_no_b" style="left:201px; top:8px; width:12px; height:17px; ">~</caption>
  261. <button id="btn_sea" class="btn1_letter2" navindex="8" style="left:1123px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  262. <caption>조회</caption>
  263. <script type="javascript" ev:event="DOMActivate">
  264. <![CDATA[
  265. fGetStatsInfoList();
  266. ]]>
  267. </script>
  268. </button>
  269. <input id="ipt_readfromdd" ref="/root/send/readfromdd" class="input_s_essential" navindex="1" inputtype="date" format="yyyy-mm-dd" mask="exclude" showmask="true" style="left:104; top:8px; width:92; height:19px; "/>
  270. <input id="ipt_readtodd" ref="/root/send/readtodd" class="input_s_essential" navindex="2" inputtype="date" format="yyyy-mm-dd" mask="exclude" showmask="true" style="left:217px; top:8px; width:92px; height:19px; "/>
  271. <caption id="caption7" class="search_name" style="left:604px; top:9px; width:86px; height:17px; ">조회구분 :</caption>
  272. <select1 id="cbo_srchflag" ref="/root/send/srchflag" navindex="5" appearance="minimal" style="left:695px; top:8px; width:120px; height:19px; ">
  273. <choices>
  274. <item>
  275. <label>진료과별</label>
  276. <value>1</value>
  277. </item>
  278. <item>
  279. <label>주치의별</label>
  280. <value>2</value>
  281. </item>
  282. <item>
  283. <label>진단별</label>
  284. <value>3</value>
  285. </item>
  286. <item>
  287. <label>병리의사별</label>
  288. <value>4</value>
  289. </item>
  290. </choices>
  291. <script type="javascript" ev:event="xforms-value-changed">
  292. <![CDATA[
  293. fSrchFlagChange();
  294. ]]>
  295. </script>
  296. </select1>
  297. </group>
  298. </group>
  299. </xhtml:body>
  300. </xhtml:html>