SMLPP01400_정도관리.xrw 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMLPP01400_정도관리.xrw
  4. * 설 명 : 정도관리 화면
  5. * 설 계 자 : (주)에이씨케이 - 유동철
  6. * 작 성 자 : (주)에이씨케이 - 유동철
  7. * 작 성 일 : 2007.08.24
  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. <grdetinfo>
  20. <grdeinfolist>
  21. <instcd/>
  22. <grdeflagcd/>
  23. <baseflagnm/>
  24. <grderesncd/>
  25. <resncnts/>
  26. <ptnolist/>
  27. <day01/>
  28. <day02/>
  29. <day03/>
  30. <day04/>
  31. <day05/>
  32. <day06/>
  33. <day07/>
  34. <day08/>
  35. <day09/>
  36. <day10/>
  37. <day11/>
  38. <day12/>
  39. <day13/>
  40. <day14/>
  41. <day15/>
  42. <day16/>
  43. <day17/>
  44. <day18/>
  45. <day19/>
  46. <day20/>
  47. <day21/>
  48. <day22/>
  49. <day23/>
  50. <day24/>
  51. <day25/>
  52. <day26/>
  53. <day27/>
  54. <day28/>
  55. <day29/>
  56. <day30/>
  57. <day31/>
  58. <grdegrupnm/>
  59. </grdeinfolist>
  60. </grdetinfo>
  61. </main>
  62. <send/>
  63. <init>
  64. <sysdt>
  65. <sysdtinfo>
  66. <sysdd/>
  67. <systm/>
  68. </sysdtinfo>
  69. </sysdt>
  70. </init>
  71. <hidden>
  72. <acptfromdd/>
  73. <acpttodd/>
  74. <refmthdcd/>
  75. <seameth>0</seameth>
  76. <seaval/>
  77. </hidden>
  78. <message/>
  79. </root>
  80. </instance>
  81. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  82. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  83. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  84. <script type="javascript" src="../../../lis/commonweb/js/LPZ001.js"/>
  85. <script type="javascript" ev:event="xforms-ready">
  86. <![CDATA[
  87. fExeInitialize();
  88. ]]>
  89. </script>
  90. <submission id="TRLPZ00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/sysdt/sysdtinfo"/>
  91. <submission id="TRLPP01401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/grdetinfo/grdeinfolist"/>
  92. </model>
  93. <script type="javascript">
  94. <![CDATA[
  95. /* @group : 정도관리 화면
  96. * @ver : 2007.02.24 (CMCDEV-0001)
  97. * @by : 유동철(ACK)
  98. * @-----------------------------------
  99. * @type : function
  100. * @access : public
  101. * @desc : 화면초기화 함수
  102. */
  103. function fExeInitialize() {
  104. //------------------------------------------------------
  105. model.removeNodeset("/root/main/grdetinfo/grdeinfolist");
  106. //--------------------------
  107. // 시스템일자 조회
  108. model.removeNodeset("/root/send");
  109. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  110. submit("TRLPZ00102");
  111. //------------
  112. // 초기값 설정
  113. model.makeValue("/root/hidden/seaval", ""); // 검색값
  114. model.makeValue("/root/hidden/acptfromdd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd")); // 정도일자(From)
  115. model.makeValue("/root/hidden/acpttodd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd")); // 정도일자(To)
  116. model.makeValue("/root/hidden/seameth", "1"); // 검색방법(등록번호)
  117. model.makeValue("/root/hidden/refmthdcd", "0"); // 검색방법(일별)
  118. //-------------
  119. model.refresh();
  120. }
  121. /* @group : 정도관리 화면
  122. * @ver : 2007.08.2 (CMCDEV-0001)
  123. * @by : 유동철(ACK)
  124. * @-----------------------------------
  125. * @type : function
  126. * @access : public
  127. * @desc : 감사판독 소요시간 조회 처리 함수
  128. */
  129. function fGetGradeInfoList() {
  130. model.removeNodeset("/root/send");
  131. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  132. model.makeValue("/root/send/grdefromdd", model.getValue("/root/hidden/acptfromdd"));
  133. model.makeValue("/root/send/grdetodd", model.getValue("/root/hidden/acpttodd"));
  134. model.makeValue("/root/send/refmthdcd", model.getValue("/root/hidden/refmthdcd")); // 0:일별, 1:월별, 2:년별
  135. //-------------------
  136. if(submit("TRLPP01401")) {
  137. grd_grdeinfolist.autoResize = true;
  138. }
  139. }
  140. /* @group : 정도관리
  141. * @ver : 2007.08.24 (CMCDEV-0001)
  142. * @by : 유동철(ACK)
  143. * @-----------------------------------
  144. * @type : function
  145. * @access : public
  146. * @desc : 정도관리 Excel저장 처리 Function
  147. */
  148. function fExeSaveToExcel() {
  149. lpzfExeSaveToExcel(grd_grdeinfolist, "정도관리");
  150. }
  151. /* @group : 검체별통계
  152. * @ver : 2009.08.25 (CMCDEV-0001)
  153. * @by : 박상환(평화이즈)
  154. * @-----------------------------------
  155. * @type : function
  156. * @access : public
  157. * @desc : 그리드 컬럼 숨김 처리 Function
  158. */
  159. function fExeRadioChange() {
  160. var iFromNo = 0;
  161. var iToNo = 0;
  162. var iWidth = 0;
  163. var bState = false;
  164. var iYear = 0;
  165. var sFromDD = model.getValue("/root/hidden/acptfromdd");
  166. var sToDD = model.getValue("/root/hidden/acpttodd");
  167. var sText = "기관코드^정도구분코드^정도구분명^정도사유코드^정도관리명^정도사유명^병리번호^총\n건수";
  168. //----------------------------------------------------
  169. if (model.getValue("/root/hidden/refmthdcd") == "0") {
  170. iFromNo = 5;
  171. iToNo = grd_grdeinfolist.cols;
  172. iWidth = 24;
  173. bState = false;
  174. sText = "기관코드^정도구분코드^정도구분명^정도사유코드^정도관리명^정도사유명^병리번호^총\n건수^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";
  175. } else if (model.getValue("/root/hidden/refmthdcd") == "1") {
  176. iFromNo = 21;
  177. iToNo = 39;
  178. iWidth = 70;
  179. bState = true;
  180. sText = "기관코드^정도구분코드^정도구분명^정도사유코드^정도관리명^정도사유명^병리번호^총\n건수^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";
  181. } else {
  182. iFromNo = 30;
  183. iToNo = 39;
  184. iWidth = 49;
  185. bState = true;
  186. //---------------------------------------------------------------------------------------
  187. for (var iNo=Number(sFromDD.substr(0,4)); iNo <= Number(sFromDD.substr(0,4))+20; iNo++) {
  188. sText += "^"+iNo;
  189. }
  190. }
  191. //---------------------------------
  192. for (var iNo=5; iNo <= grd_grdeinfolist.cols; iNo++) {
  193. if (iFromNo <= iNo && iToNo >= iNo) {
  194. grd_grdeinfolist.colHidden(iNo) = bState;
  195. grd_grdeinfolist.colWidth(iNo) = iWidth;
  196. } else {
  197. grd_grdeinfolist.colHidden(iNo) = !bState;
  198. grd_grdeinfolist.colWidth(iNo) = iWidth;
  199. }
  200. }
  201. //--- 고정적인 화면
  202. grd_grdeinfolist.colWidth(1) = "20";
  203. grd_grdeinfolist.colWidth(2) = "20";
  204. grd_grdeinfolist.colWidth(3) = "68";
  205. grd_grdeinfolist.colWidth(4) = "0"; // 정도사유코드 화면 숨기기
  206. grd_grdeinfolist.colWidth(5) = "271";
  207. grd_grdeinfolist.colWidth(6) = "130,";
  208. grd_grdeinfolist.colWidth(7) = "0"; // 병리번호 숨기기
  209. grd_grdeinfolist.colWidth(8) = "30";
  210. //--------------------------------
  211. grd_grdeinfolist.caption = sText;
  212. model.removeNodeset("/root/main/grdetinfo/grdeinfolist");
  213. //-------------
  214. model.refresh();
  215. }
  216. ]]>
  217. </script>
  218. </xhtml:head>
  219. <xhtml:body>
  220. <group id="grp_btn" style="left:0px; top:13; width:1195px; height:27px; ">
  221. <line id="line10" class="line_6" style="x1:0px; y1:25; x2:1194px; y2:25; "/>
  222. <button id="button13" class="btn6_letter5" style="left:5px; top:3px; width:92px; height:22px; ">
  223. <caption>EXCEL출력</caption>
  224. <script type="javascript" ev:event="DOMActivate">
  225. <![CDATA[
  226. fExeSaveToExcel();
  227. ]]>
  228. </script>
  229. </button>
  230. </group>
  231. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  232. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:220px; height:14px; ">정도관리 통계</caption>
  233. </group>
  234. <group id="grp_biz" style="left:0; top:40; width:1195; height:744; ">
  235. <caption id="caption4" class="tit_2" style="left:5px; top:55px; width:108px; height:14px; ">정도관리목록</caption>
  236. <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:1194px; y2:70px; "/>
  237. <group id="group2" style="left:0px; top:10px; width:1195px; height:35px; vertical-align:top; ">
  238. <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; "/>
  239. <line id="line13" class="line_4" style="x1:1108px; y1:7px; x2:1108px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  240. <caption id="caption2" class="search_name" style="left:15; top:9px; width:86px; height:17px; ">접수일자 :</caption>
  241. <caption id="caption5" class="search_no_b" style="left:207; top:8px; width:12px; height:17px; ">~</caption>
  242. <button id="btn_sea" class="btn1_letter2" navindex="5" 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. fGetGradeInfoList();
  247. ]]>
  248. </script>
  249. </button>
  250. <input id="ipt_cnclfromdd" ref="/root/hidden/acptfromdd" class="input_s_essential" navindex="2" inputtype="date" format="yyyy-mm-dd" mask="exclude" showmask="true" style="left:104; top:8px; width:100px; height:19px; "/>
  251. <input id="ipt_cncltodd" ref="/root/hidden/acpttodd" class="input_s_essential" navindex="3" inputtype="date" format="yyyy-mm-dd" mask="exclude" showmask="true" style="left:223; top:8px; width:100px; height:19px; "/>
  252. <select1 id="cbo_refmthdcd" ref="/root/hidden/refmthdcd" navindex="3" appearance="minimal" style="left:502px; top:8px; width:68px; height:19px; ">
  253. <choices>
  254. <item>
  255. <label>일별</label>
  256. <value>0</value>
  257. </item>
  258. <item>
  259. <label>월별</label>
  260. <value>1</value>
  261. </item>
  262. <item>
  263. <label>년별</label>
  264. <value>2</value>
  265. </item>
  266. </choices>
  267. <script type="javascript" ev:event="xforms-value-changed">
  268. <![CDATA[
  269. fExeRadioChange();
  270. ]]>
  271. </script>
  272. </select1>
  273. <caption id="caption1" class="search_name" style="left:413px; top:9px; width:86px; height:17px; ">검색방법 :</caption>
  274. </group>
  275. <datagrid id="grd_grdeinfolist" nodeset="/root/main/grdetinfo/grdeinfolist" class="datagrid2" caption="기관코드^정도구분코드^정도구분명^정도사유코드^정도관리명^정도사유명^병리번호^총&#xA;건수^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="20, 20, 68, 0, 271, 130, 0, 30, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24" explorerbar="sortshow" frozencols="8" rowheader="seq" rowsep="|" navindex="6" style="left:0; top:75px; width:1194px; height:653px; ">
  276. <col ref="instcd" visibility="hidden"/>
  277. <col ref="grdeflagcd" visibility="hidden"/>
  278. <col class="text_center" ref="baseflagnm"/>
  279. <col class="text_center" ref="grderesncd" visibility="hidden"/>
  280. <col class="text_center" ref="grdegrupnm" style="text-align:left; "/>
  281. <col ref="resncnts" style="text-align:left; "/>
  282. <col ref="ptnolist" visibility="hidden"/>
  283. <col ref="daytot" style="text-align:right; "/>
  284. <col class="text_right" ref="day01" format="#,###" mask="exclude" showmask="true"/>
  285. <col class="text_right" ref="day02" format="#,###" mask="exclude" showmask="true"/>
  286. <col class="text_right" ref="day03" format="#,###" mask="exclude" showmask="true"/>
  287. <col class="text_right" ref="day04" format="#,###" mask="exclude" showmask="true"/>
  288. <col class="text_right" ref="day05" format="#,###" mask="exclude" showmask="true"/>
  289. <col class="text_right" ref="day06" format="#,###" mask="exclude" showmask="true"/>
  290. <col class="text_right" ref="day07" format="#,###" mask="exclude" showmask="true"/>
  291. <col class="text_right" ref="day08" format="#,###" mask="exclude" showmask="true"/>
  292. <col class="text_right" ref="day09" format="#,###" mask="exclude" showmask="true"/>
  293. <col class="text_right" ref="day10" format="#,###" mask="exclude" showmask="true"/>
  294. <col class="text_right" ref="day11" format="#,###" mask="exclude" showmask="true"/>
  295. <col class="text_right" ref="day12" format="#,###" mask="exclude" showmask="true"/>
  296. <col class="text_right" ref="day13" format="#,###" mask="exclude" showmask="true"/>
  297. <col class="text_right" ref="day14" format="#,###" mask="exclude" showmask="true"/>
  298. <col class="text_right" ref="day15" format="#,###" mask="exclude" showmask="true"/>
  299. <col class="text_right" ref="day16" format="#,###" mask="exclude" showmask="true"/>
  300. <col class="text_right" ref="day17" format="#,###" mask="exclude" showmask="true"/>
  301. <col class="text_right" ref="day18" format="#,###" mask="exclude" showmask="true"/>
  302. <col class="text_right" ref="day19" format="#,###" mask="exclude" showmask="true"/>
  303. <col class="text_right" ref="day20" format="#,###" mask="exclude" showmask="true"/>
  304. <col class="text_right" ref="day21" format="#,###" mask="exclude" showmask="true"/>
  305. <col class="text_right" ref="day22" format="#,###" mask="exclude" showmask="true"/>
  306. <col class="text_right" ref="day23" format="#,###" mask="exclude" showmask="true"/>
  307. <col class="text_right" ref="day24" format="#,###" mask="exclude" showmask="true"/>
  308. <col class="text_right" ref="day25" format="#,###" mask="exclude" showmask="true"/>
  309. <col class="text_right" ref="day26" format="#,###" mask="exclude" showmask="true"/>
  310. <col class="text_right" ref="day27" format="#,###" mask="exclude" showmask="true"/>
  311. <col class="text_right" ref="day28" format="#,###" mask="exclude" showmask="true"/>
  312. <col class="text_right" ref="day29" format="#,###" mask="exclude" showmask="true"/>
  313. <col class="text_right" ref="day30" format="#,###" mask="exclude" showmask="true"/>
  314. <col class="text_right" ref="day31" format="#,###" mask="exclude" showmask="true"/>
  315. <script type="javascript" ev:event="onaftersort">
  316. <![CDATA[
  317. grd_grdeinfolist.gridToInstance();
  318. ]]>
  319. </script>
  320. </datagrid>
  321. </group>
  322. </xhtml:body>
  323. </xhtml:html>