SMLPS00900_판독평균소요시간통계.xrw 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMLPS00900_판독평균소요시간통계.xrw
  4. * 설 명 : 판독평균소요시간통계 화면
  5. * 설 계 자 : (주)에이씨케이 - 유동철
  6. * 작 성 자 : (주)에이씨케이 - 유동철
  7. * 작 성 일 : 2007.08.30
  8. * 수정이력 :
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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. <statscd/>
  22. <statsnm/>
  23. <maketm/>
  24. <makereadtm/>
  25. <tottm/>
  26. </statsinfolist>
  27. </statstinfo>
  28. </main>
  29. <send/>
  30. <init>
  31. <sysdt>
  32. <sysdtinfo>
  33. <sysdd/>
  34. <systm/>
  35. </sysdtinfo>
  36. </sysdt>
  37. <ptnocd>
  38. <ptnocdlist>
  39. <instcd/>
  40. <ptnocd/>
  41. <ptnonm/>
  42. </ptnocdlist>
  43. </ptnocd>
  44. <ptnocode/>
  45. <fromyear/>
  46. <fromptno/>
  47. <toyear/>
  48. <toptno/>
  49. <refmthdcd/>
  50. <refval/>
  51. <acptfromdd/>
  52. <acpttodd/>
  53. <statscondcd/>
  54. </init>
  55. <hidden>
  56. <dispcondcd/>
  57. <testflagcd/>
  58. <statsworkflagcd/>
  59. </hidden>
  60. <message/>
  61. </root>
  62. </instance>
  63. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  64. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  65. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  66. <script type="javascript" src="../../../lis/commonweb/js/LPZ001.js"/>
  67. <script type="javascript" ev:event="xforms-ready">
  68. <![CDATA[
  69. fExeInitialize();
  70. ]]>
  71. </script>
  72. <submission id="TRLPZ00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/sysdt/sysdtinfo"/>
  73. <submission id="TRLPZ00109" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/ptnocd/ptnocdlist"/>
  74. <submission id="TRLPS00901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/statstinfo/statsinfolist"/>
  75. </model>
  76. <script type="javascript">
  77. <![CDATA[
  78. /* @group : 판독평균소요시간통계 화면
  79. * @ver : 2007.08.30 (CMCDEV-0001)
  80. * @by : 유동철(ACK)
  81. * @-----------------------------------
  82. * @type : function
  83. * @access : public
  84. * @desc : 화면초기화 함수
  85. */
  86. function fExeInitialize() {
  87. var sCurDate = "";
  88. //---------------------------------------------------------
  89. model.removeNodeset("/root/main/statstinfo/statsinfolist");
  90. //----------------
  91. // 시스템일자 조회
  92. model.removeNodeset("/root/send");
  93. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  94. submit("TRLPZ00102", false);
  95. submit("TRLPZ00109");
  96. //------------
  97. // 초기값 설정
  98. sCurDate = model.getValue("/root/init/sysdt/sysdtinfo/sysdd");
  99. model.makeValue("/root/init/ptnocode", ""); // 검색값
  100. model.makeValue("/root/init/fromyear", sCurDate.substr(2,2));
  101. model.makeValue("/root/init/toyear", sCurDate.substr(2,2));
  102. model.makeValue("/root/init/fromptno", "");
  103. model.makeValue("/root/init/toptno", "");
  104. model.makeValue("/root/init/acptfromdd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd")); // 접수일자(From)
  105. model.makeValue("/root/init/acpttodd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd")); // 접수일자(To)
  106. model.makeValue("/root/init/refmthdcd", "1");
  107. model.makeValue("/root/init/refval", "");
  108. model.makeValue("/root/init/statscondcd", "0");
  109. model.toggle("acptdd");
  110. model.setFocus("ipt_refval");
  111. //--------------
  112. model.refresh();
  113. }
  114. /* @group : 판독평균소요시간통계 화면
  115. * @ver : 2007.08.30 (CMCDEV-0001)
  116. * @by : 유동철(ACK)
  117. * @-----------------------------------
  118. * @type : function
  119. * @access : public
  120. * @desc : 검사/검체별 통계 조회 처리 함수
  121. */
  122. function fGetStatsInfoList() {
  123. var sTemp = "";
  124. var sFromDD = model.getValue("/root/init/acptfromdd");
  125. var sToDD = model.getValue("/root/init/acpttodd");
  126. //------------------------------------------------
  127. if (model.getValue("/root/init/ptnocode") != "") {
  128. //------------------------------------------------
  129. if (model.getValue("/root/init/fromyear") == "") {
  130. model.makeValue("/root/init/fromyear", sFromDD.substr(2,2));
  131. } else {
  132. sTemp = model.getValue("/root/init/fromyear");
  133. model.makeValue("/root/init/fromyear", sTemp.getLeftPad(2, "0"));
  134. }
  135. //----------------------------------------------
  136. if (model.getValue("/root/init/toyear") == "") {
  137. model.makeValue("/root/init/toyear", sToDD.substr(2,2));
  138. } else {
  139. sTemp = model.getValue("/root/init/toyear");
  140. model.makeValue("/root/init/toyear", sTemp.getLeftPad(2, "0"));
  141. }
  142. //------------------------------------------------
  143. if (model.getValue("/root/init/fromptno") == "") {
  144. model.makeValue("/root/init/fromptno", "000000");
  145. } else {
  146. sTemp = model.getValue("/root/init/fromptno");
  147. model.makeValue("/root/init/fromptno", sTemp.getLeftPad(6, "0"));
  148. }
  149. //----------------------------------------------
  150. if (model.getValue("/root/init/toptno") == "") {
  151. model.makeValue("/root/init/toptno", "999999");
  152. } else {
  153. sTemp = model.getValue("/root/init/toptno");
  154. model.makeValue("/root/init/toptno", sTemp.getLeftPad(6, "0"));
  155. }
  156. }
  157. //--------------------------------------------
  158. sTemp = model.getValue("/root/init/ptnocode");
  159. model.removeNodeset("/root/send");
  160. model.removeNodeset("/root/main/statstinfo/statsinfolist");
  161. //--------------------------------------------------------------------------
  162. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  163. model.makeValue("/root/send/acptfromdd", model.getValue("/root/init/acptfromdd"));
  164. model.makeValue("/root/send/acpttodd", model.getValue("/root/init/acpttodd"));
  165. model.makeValue("/root/send/refmthdcd", model.getValue("/root/init/refmthdcd"));
  166. model.makeValue("/root/send/refval", model.getValue("/root/init/refval"));
  167. model.makeValue("/root/send/statscondcd", model.getValue("/root/init/statscondcd"));
  168. model.makeValue("/root/send/ptnocode", sTemp.replace("-", ""));
  169. model.makeValue("/root/send/fromyear", model.getValue("/root/init/fromyear"));
  170. model.makeValue("/root/send/fromptno", model.getValue("/root/init/fromptno"));
  171. model.makeValue("/root/send/toyear", model.getValue("/root/init/toyear"));
  172. model.makeValue("/root/send/toptno", model.getValue("/root/init/toptno"));
  173. //-------------------
  174. submit("TRLPS00901");
  175. }
  176. /* @group : 판독평균소요시간통계
  177. * @ver : 2007.08.24 (CMCDEV-0001)
  178. * @by : 유동철(ACK)
  179. * @-----------------------------------
  180. * @type : function
  181. * @access : public
  182. * @desc : 판독평균소요시간통계 Excel저장 처리 Function
  183. */
  184. function fExeSaveToExcel() {
  185. lpzfExeSaveToExcel(grd_statsinfolist, "sTitle");
  186. }
  187. /* @group : 판독평균소요시간통계
  188. * @ver : 2007.08.25 (CMCDEV-0001)
  189. * @by : 유동철(ACK)
  190. * @-----------------------------------
  191. * @type : function
  192. * @access : public
  193. * @desc : 그리드 컬럼 숨김 처리 Function
  194. */
  195. function fExeRefMthdChange() {
  196. if (model.getValue("/root/init/refmthdcd") == "0") {
  197. model.toggle("ptnocase");
  198. model.setFocus("ipt_fromptno");
  199. } else {
  200. model.toggle("acptdd");
  201. model.setFocus("ipt_refval");
  202. }
  203. //-------------
  204. model.refresh();
  205. }
  206. ]]>
  207. </script>
  208. </xhtml:head>
  209. <xhtml:body>
  210. <group id="grp_btn" style="left:0px; top:13; width:1195px; height:27px; ">
  211. <line id="line10" class="line_6" style="x1:0px; y1:25; x2:1194px; y2:25; "/>
  212. <button id="btn_excel" class="btn6_letter5" navindex="12" style="left:5px; top:3px; width:92px; height:22px; ">
  213. <caption>EXCEL저장</caption>
  214. <script type="javascript" ev:event="DOMActivate">
  215. <![CDATA[
  216. fExeSaveToExcel();
  217. ]]>
  218. </script>
  219. </button>
  220. </group>
  221. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  222. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:180px; height:14px; ">판독 평균소요시간 통계</caption>
  223. </group>
  224. <group id="grp_biz" style="left:0; top:40; width:1195; height:744; ">
  225. <caption id="caption4" class="tit_2" style="left:5px; top:55px; width:180px; height:14px; ">접수 검사/진료과 목록</caption>
  226. <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:1194px; y2:70px; "/>
  227. <datagrid id="grd_statsinfolist" nodeset="/root/main/statstinfo/statsinfolist" autoresize="true" caption="코드^명칭^슬라이드제작 소요시간(평균)^판독소요시간(평균)^전체소요시간(평균)" colsep="^" colwidth="102, 300, 250, 250, 250" explorerbar="sortshow" rowheader="seq" rowsep="|" navindex="10" style="left:0px; top:75px; width:1194px; height:653px; ">
  228. <col ref="statscd"/>
  229. <col ref="statsnm"/>
  230. <col class="text_center" ref="maketm"/>
  231. <col class="text_center" ref="makereadtm"/>
  232. <col class="text_right" ref="tottm" format="#,###" mask="exclude" roundmode="round" showmask="true"/>
  233. <script type="javascript" ev:event="onaftersort">
  234. <![CDATA[
  235. grd_statsinfolist.gridToInstance();
  236. ]]>
  237. </script>
  238. </datagrid>
  239. <group id="grp_sea" style="left:0px; top:10px; width:1195px; height:35px; vertical-align:top; ">
  240. <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; "/>
  241. <line id="line13" class="line_4" style="x1:1108px; y1:7px; x2:1108px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  242. <button id="btn_sea" class="btn1_letter2" navindex="11" style="left:1123px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  243. <caption>조회</caption>
  244. <script type="javascript" ev:event="DOMActivate">
  245. <![CDATA[
  246. fGetStatsInfoList();
  247. ]]>
  248. </script>
  249. </button>
  250. <switch id="swt_refmthd" class="sw_no_border" style="left:15px; top:1px; width:335px; height:33px; ">
  251. <case id="ptnocase" selected="true" style="background-color:#fffbf2; ">
  252. <select1 id="cbo_ptnocd" ref="/root/init/ptnocode" navindex="1" appearance="minimal" style="left:94px; top:7px; width:51px; height:19px; ">
  253. <choices>
  254. <itemset nodeset="/root/init/ptnocd/ptnocdlist">
  255. <label ref="ptnocd"/>
  256. <value ref="ptnocd"/>
  257. </itemset>
  258. </choices>
  259. </select1>
  260. <caption id="caption1" class="search_name" style="left:1px; top:8px; width:112px; height:17px; ">병리번호 :</caption>
  261. <input id="ipt_fromyear" ref="/root/init/fromyear" class="text_center" navindex="2" maxlength="2" style="left:148px; top:7px; width:27px; height:19px; "/>
  262. <input id="ipt_fromptno" ref="/root/init/fromptno" class="text_center" navindex="3" maxlength="6" style="left:178px; top:7px; width:50px; height:19px; "/>
  263. <caption id="caption3" class="search_no_b" style="left:231px; top:8px; width:12px; height:17px; ">~</caption>
  264. <input id="input1" ref="/root/init/toptno" class="text_center" navindex="5" maxlength="6" style="left:276px; top:7px; width:50px; height:19px; "/>
  265. <input id="input2" ref="/root/init/toyear" class="text_center" navindex="4" maxlength="2" style="left:246px; top:7px; width:27px; height:19px; "/>
  266. </case>
  267. <case id="acptdd" style="background-color:#fffbf2; ">
  268. <caption id="caption7" class="search_name" style="left:1px; top:8px; width:86px; height:17px; ">검색값 :</caption>
  269. <input id="ipt_refval" ref="/root/init/refval" navindex="6" style="left:80px; top:7px; width:250px; height:19px; "/>
  270. </case>
  271. </switch>
  272. <input id="ipt_cncltodd" ref="/root/init/acpttodd" class="input_s_essential" navindex="10" inputtype="date" format="yyyy-mm-dd" mask="exclude" showmask="true" style="left:995px; top:8px; width:100px; height:19px; "/>
  273. <input id="ipt_cnclfromdd" ref="/root/init/acptfromdd" class="input_s_essential" navindex="9" inputtype="date" format="yyyy-mm-dd" mask="exclude" showmask="true" style="left:876px; top:8px; width:100px; height:19px; "/>
  274. <caption id="caption2" class="search_name" style="left:787px; top:9px; width:86px; height:17px; ">접수일자 :</caption>
  275. <caption id="caption5" class="search_no_b" style="left:979px; top:8px; width:12px; height:17px; ">~</caption>
  276. <caption id="caption8" class="search_name" style="left:384px; top:9px; width:86px; height:17px; ">검색방법 :</caption>
  277. <select1 id="cbo_refmthdcd" ref="/root/init/refmthdcd" navindex="7" appearance="minimal" style="left:475px; top:8px; width:85px; height:19px; ">
  278. <choices>
  279. <item>
  280. <label>병리번호</label>
  281. <value>0</value>
  282. </item>
  283. <item>
  284. <label>등록번호</label>
  285. <value>1</value>
  286. </item>
  287. </choices>
  288. <script type="javascript" ev:event="xforms-value-changed">
  289. <![CDATA[
  290. fExeRefMthdChange();
  291. ]]>
  292. </script>
  293. </select1>
  294. <caption id="caption9" class="search_name" style="left:584px; top:9px; width:86px; height:17px; ">통계조건 :</caption>
  295. <select1 id="cbo_statscondcd" ref="/root/init/statscondcd" navindex="8" appearance="minimal" style="left:675px; top:8px; width:85px; height:19px; ">
  296. <choices>
  297. <item>
  298. <label>처방별</label>
  299. <value>0</value>
  300. </item>
  301. <item>
  302. <label>진료과별</label>
  303. <value>1</value>
  304. </item>
  305. <item>
  306. <label>검체별</label>
  307. <value>2</value>
  308. </item>
  309. </choices>
  310. </select1>
  311. </group>
  312. </group>
  313. </xhtml:body>
  314. </xhtml:html>