SMLPS01500_세포진단비율.xrw 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMLPS01500_세포 진단비율 통계.xrw
  4. * 설 명 : 세포 진단비율 통계 화면
  5. * 설 계 자 : (주)에이씨케이 - 유동철
  6. * 작 성 자 : (주)에이씨케이 - 유동철
  7. * 작 성 일 : 2008.07.06
  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. <instcd/>
  22. <diagmain/>
  23. <diagnm/>
  24. <diagcnt1/>
  25. <diagcnt2/>
  26. <diagcnt3/>
  27. <diagcnt4/>
  28. <diagcnt5/>
  29. <diagtotal/>
  30. <diagrate/>
  31. </statsinfolist>
  32. </statstinfo>
  33. </main>
  34. <send/>
  35. <init>
  36. <sysdt>
  37. <sysdtinfo>
  38. <sysdd/>
  39. <systm/>
  40. </sysdtinfo>
  41. </sysdt>
  42. <resncd>
  43. <resncdlist>
  44. <instcd/>
  45. <baseflagcd/>
  46. <resncd/>
  47. <resncnts/>
  48. </resncdlist>
  49. </resncd>
  50. <statsfromdd/>
  51. <statstodd/>
  52. <statsworkflagcd/>
  53. <diagflagcd/>
  54. </init>
  55. <hidden>
  56. <seaval/>
  57. </hidden>
  58. <message/>
  59. </root>
  60. </instance>
  61. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  62. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  63. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  64. <script type="javascript" src="../../../lis/commonweb/js/LPZ001.js"/>
  65. <script type="javascript" ev:event="xforms-ready">
  66. <![CDATA[
  67. fExeInitialize();
  68. ]]>
  69. </script>
  70. <submission id="TRLPZ00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/sysdt/sysdtinfo"/>
  71. <submission id="TRLPZ00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/resncd/resncdlist"/>
  72. <submission id="TRLPS01501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/statstinfo/statsinfolist"/>
  73. </model>
  74. <script type="javascript">
  75. <![CDATA[
  76. /* @group : 세포 진단비율 통계 화면
  77. * @ver : 2008.07.06 (CMCDEV-0001)
  78. * @by : 유동철(ACK)
  79. * @-----------------------------------
  80. * @type : function
  81. * @access : public
  82. * @desc : 화면초기화 함수
  83. */
  84. function fExeInitialize() {
  85. //---------------------------------------------------------
  86. model.removeNodeset("/root/main/statstinfo/statsinfolist");
  87. //----------------
  88. // 시스템일자 조회
  89. model.removeNodeset("/root/send");
  90. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  91. submit("TRLPZ00102");
  92. //------------------
  93. // 통계구분코드 조회
  94. model.makeValue("/root/send/baseflagcd", "'84'" );
  95. submit("TRLPZ00103");
  96. //------------
  97. // 초기값 설정
  98. model.makeValue("/root/init/statsfromdd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd")); // 보고일자(From)
  99. model.makeValue("/root/init/statstodd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd")); // 보고일자(To)
  100. model.makeValue("/root/init/statsworkflagcd", "ZZZZ"); // 통계구분
  101. model.makeValue("/root/init/diagflagcd", "0");
  102. //-------------------
  103. fExeDiagFlagChange();
  104. model.refresh();
  105. }
  106. /* @group : 세포 진단비율 통계 화면
  107. * @ver : 2008.07.06 (CMCDEV-0001)
  108. * @by : 유동철(ACK)
  109. * @-----------------------------------
  110. * @type : function
  111. * @access : public
  112. * @desc : 감사판독 소요시간 조회 처리 함수
  113. */
  114. function fGetStatsInfoList() {
  115. //--------------------------------
  116. model.removeNodeset("/root/send");
  117. model.removeNodeset("/root/main/statstinfo/statsinfolist");
  118. //--------------------------------------------------------------------------
  119. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  120. model.makeValue("/root/send/statsfromdd", model.getValue("/root/init/statsfromdd"));
  121. model.makeValue("/root/send/statstodd", model.getValue("/root/init/statstodd"));
  122. model.makeValue("/root/send/statsworkflagcd", "'"+model.getValue("/root/init/statsworkflagcd")+"'");
  123. model.makeValue("/root/send/diagflagcd", model.getValue("/root/init/diagflagcd"));
  124. //-------------------
  125. submit("TRLPS01501");
  126. //-------------
  127. // SubTotal설정
  128. if (model.getValue("/root/init/diagflagcd") == "0") {
  129. grd_statsinfolist.subtotal("sum", -1, grd_statsinfolist.colRef("diagcnt1"),"", "", 3, "Total");
  130. } else {
  131. grd_statsinfolist.subtotal("sum", -1, grd_statsinfolist.colRef("diagcnt1"),"", "", 2, "Total");
  132. grd_statsinfolist.subtotal("sum", -1, grd_statsinfolist.colRef("diagcnt2"),"", "", 2, "Total");
  133. grd_statsinfolist.subtotal("sum", -1, grd_statsinfolist.colRef("diagcnt3"),"", "", 2, "Total");
  134. grd_statsinfolist.subtotal("sum", -1, grd_statsinfolist.colRef("diagcnt4"),"", "", 2, "Total");
  135. grd_statsinfolist.subtotal("sum", -1, grd_statsinfolist.colRef("diagcnt5"),"", "", 2, "Total");
  136. }
  137. //--------------------------
  138. grd_statsinfolist.refresh();
  139. }
  140. /* @group : 세포 진단비율 통계
  141. * @ver : 2008.07.06 (CMCDEV-0001)
  142. * @by : 유동철(ACK)
  143. * @-----------------------------------
  144. * @type : function
  145. * @access : public
  146. * @desc : 세포 진단비율 통계 Excel저장 처리 Function
  147. */
  148. function fExeSaveToExcel() {
  149. //----------------------------------------------------------
  150. lpzfExeSaveToExcel(grd_statsinfolist, "세포 진단 비율통계");
  151. }
  152. /* @group : 세포 진단비율 통계
  153. * @ver : 2008.07.07 (CMCDEV-0001)
  154. * @by : 유동철(ACK)
  155. * @-----------------------------------
  156. * @type : function
  157. * @access : public
  158. * @desc : 진단구분 변경 처리 Function
  159. */
  160. function fExeDiagFlagChange() {
  161. //----------------------------------------------------
  162. if (model.getValue("/root/init/diagflagcd") == "0") {
  163. grd_statsinfolist.caption = "기관코드^진단명^진단명^건수^^^^^총건수^비율";
  164. grd_statsinfolist.colWidth(1) = 0;
  165. grd_statsinfolist.colWidth(2) = 470;
  166. grd_statsinfolist.colWidth(3) = 470;
  167. grd_statsinfolist.colWidth(4) = 120;
  168. grd_statsinfolist.colWidth(5) = 0;
  169. grd_statsinfolist.colWidth(6) = 0;
  170. grd_statsinfolist.colWidth(7) = 0;
  171. grd_statsinfolist.colWidth(8) = 0;
  172. grd_statsinfolist.colWidth(9) = 0;
  173. grd_statsinfolist.colWidth(10) = 100;
  174. } else {
  175. grd_statsinfolist.caption = "기관코드^진단명^진단명^Unsatisfactory for evaluation^Negative(Benign)^Atypical cells^Malignant Neoplasm^Others^총건수^비율";
  176. grd_statsinfolist.colWidth(1) = 0;
  177. grd_statsinfolist.colWidth(2) = 450;
  178. grd_statsinfolist.colWidth(3) = 0;
  179. grd_statsinfolist.colWidth(4) = 120;
  180. grd_statsinfolist.colWidth(5) = 120;
  181. grd_statsinfolist.colWidth(6) = 120;
  182. grd_statsinfolist.colWidth(7) = 120;
  183. grd_statsinfolist.colWidth(8) = 120;
  184. grd_statsinfolist.colWidth(9) = 0;
  185. grd_statsinfolist.colWidth(10) = 100;
  186. }
  187. //--------------------------
  188. grd_statsinfolist.refresh();
  189. }
  190. ]]>
  191. </script>
  192. </xhtml:head>
  193. <xhtml:body>
  194. <group id="grp_btn" style="left:0px; top:13; width:1195px; height:27px; ">
  195. <line id="line10" class="line_6" style="x1:0px; y1:25; x2:1194px; y2:25; "/>
  196. <button id="button13" class="btn6_letter5" navindex="8" style="left:5px; top:3px; width:92px; height:22px; ">
  197. <caption>EXCEL저장</caption>
  198. <script type="javascript" ev:event="DOMActivate">
  199. <![CDATA[
  200. fExeSaveToExcel();
  201. ]]>
  202. </script>
  203. </button>
  204. </group>
  205. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  206. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:300px; height:14px; ">세포 진단비율</caption>
  207. </group>
  208. <group id="grp_biz" style="left:0; top:40; width:1195; height:744; ">
  209. <caption id="caption4" class="tit_2" style="left:5px; top:55px; width:180px; height:13px; ">접수검사목록</caption>
  210. <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:1194px; y2:70px; "/>
  211. <datagrid id="grd_statsinfolist" nodeset="/root/main/statstinfo/statsinfolist" class="datagrid2" autoresize="true" caption="기관코드^진단명^진단명^Unsatisfactory for &#xA;evaluation^Negative(Benign)^Atypical cells^Malignant&#xA;Neoplasm^Others^총건수^비율" colsep="^" colwidth="0, 450, 0, 120, 120, 120, 120, 120, 0, 100" explorerbar="sortshow" rowheader="seq" rowsep="|" navindex="7" style="left:0; top:75px; width:1194px; height:653px; ">
  212. <col ref="instcd"/>
  213. <col class="text_center" ref="diagmain"/>
  214. <col class="text_center" ref="diagnm"/>
  215. <col class="text_right" ref="diagcnt1" format="#,###" mask="exclude" showmask="true"/>
  216. <col class="text_right" ref="diagcnt2" format="#,###" mask="exclude" showmask="true"/>
  217. <col class="text_right" ref="diagcnt3" format="#,###" mask="exclude" showmask="true"/>
  218. <col class="text_right" ref="diagcnt4" format="#,###" mask="exclude" showmask="true"/>
  219. <col class="text_right" ref="diagcnt5" format="#,###" mask="exclude" showmask="true"/>
  220. <col class="text_right" ref="diagtotal" format="#,###" mask="exclude" showmask="true"/>
  221. <col class="text_right" ref="diagrate" format="#,###" mask="exclude" showmask="true"/>
  222. <script type="javascript" ev:event="onaftersort">
  223. <![CDATA[
  224. grd_statsinfolist.gridToInstance();
  225. ]]>
  226. </script>
  227. </datagrid>
  228. <group id="grp_sea" style="left:0px; top:10px; width:1195px; height:35px; vertical-align:top; ">
  229. <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; "/>
  230. <line id="line13" class="line_4" style="x1:1108px; y1:7px; x2:1108px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  231. <caption id="caption2" class="search_name" style="left:15; top:9px; width:86px; height:17px; ">진단일자 :</caption>
  232. <caption id="caption5" class="search_no_b" style="left:207; top:8px; width:12px; height:17px; ">~</caption>
  233. <button id="btn_sea" class="btn1_letter2" navindex="6" style="left:1123px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  234. <caption>조회</caption>
  235. <script type="javascript" ev:event="DOMActivate">
  236. <![CDATA[
  237. fGetStatsInfoList();
  238. ]]>
  239. </script>
  240. </button>
  241. <input id="ipt_cnclfromdd" ref="/root/init/statsfromdd" class="input_s_essential" navindex="1" inputtype="date" format="yyyy-mm-dd" mask="exclude" showmask="true" style="left:104; top:8px; width:100px; height:19px; "/>
  242. <input id="ipt_cncltodd" ref="/root/init/statstodd" class="input_s_essential" navindex="2" inputtype="date" format="yyyy-mm-dd" mask="exclude" showmask="true" style="left:223; top:8px; width:100px; height:19px; "/>
  243. <caption id="caption8" class="search_name" visibility="hidden" style="left:441px; top:6px; width:86px; height:17px; ">통계구분 :</caption>
  244. <select1 id="cbo_statsflagcd" ref="/root/init/statsworkflagcd" navindex="5" visibility="hidden" appearance="minimal" style="left:530px; top:8px; width:148px; height:19px; ">
  245. <choices>
  246. <itemset nodeset="/root/init/resncd/resncdlist">
  247. <label ref="resncnts"/>
  248. <value ref="resncd"/>
  249. </itemset>
  250. </choices>
  251. </select1>
  252. <caption id="caption1" class="search_name" style="left:905px; top:9px; width:86px; height:17px; ">진단구분 :</caption>
  253. <select1 id="combo1" ref="/root/init/diagflagcd" appearance="minimal" style="left:995px; top:8px; width:100px; height:19px; ">
  254. <choices>
  255. <item>
  256. <label>부인과</label>
  257. <value>0</value>
  258. </item>
  259. <item>
  260. <label>비부인과</label>
  261. <value>1</value>
  262. </item>
  263. </choices>
  264. <script type="javascript" ev:event="xforms-value-changed">
  265. <![CDATA[
  266. fExeDiagFlagChange();
  267. ]]>
  268. </script>
  269. </select1>
  270. </group>
  271. </group>
  272. </xhtml:body>
  273. </xhtml:html>