SMAHR00930_월별검사사용실적.xrw 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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. <detlinfo>
  11. <item>
  12. <hopemm/>
  13. <prcpcd/>
  14. <testnm/>
  15. <totcnt/>
  16. <scoreamt/>
  17. <dd01/>
  18. <dd02/>
  19. <dd03/>
  20. <dd04/>
  21. <dd05/>
  22. <dd06/>
  23. <dd07/>
  24. <dd08/>
  25. <dd09/>
  26. <dd10/>
  27. <dd11/>
  28. <dd12/>
  29. <dd13/>
  30. <dd14/>
  31. <dd15/>
  32. <dd16/>
  33. <dd17/>
  34. <dd18/>
  35. <dd19/>
  36. <dd20/>
  37. <dd21/>
  38. <dd22/>
  39. <dd23/>
  40. <dd24/>
  41. <dd25/>
  42. <dd26/>
  43. <dd27/>
  44. <dd28/>
  45. <dd29/>
  46. <dd30/>
  47. <dd31/>
  48. </item>
  49. </detlinfo>
  50. </main>
  51. <send>
  52. <srchhopedd/>
  53. <srchhealexamflag/>
  54. <srchinstcd/>
  55. <srchhealexamdetlflag/>
  56. <srchprcpcd/>
  57. <srchtestnm/>
  58. <srchhealexamplacecd/>
  59. <srchroomcd/>
  60. </send>
  61. <init>
  62. <baseinfo>
  63. <healexamflaglst>
  64. <cdid/>
  65. <cdnm/>
  66. </healexamflaglst>
  67. <healexamdetlflag>
  68. <item>
  69. <cdid/>
  70. <cdnm/>
  71. </item>
  72. </healexamdetlflag>
  73. <chedetlflaglst/>
  74. <ghedetlflaglst/>
  75. <healexamplacecd/>
  76. <srchhealexamflaglst>
  77. <item/>
  78. </srchhealexamflaglst>
  79. <srchhealexamflaglst>
  80. <item/>
  81. </srchhealexamflaglst>
  82. </baseinfo>
  83. <room>
  84. <roomlst/>
  85. </room>
  86. </init>
  87. <hidden/>
  88. <temp>
  89. <send>
  90. <pid/>
  91. <hngnm/>
  92. </send>
  93. <preview/>
  94. <okflag/>
  95. <pkginfo>
  96. <item>
  97. <testcd/>
  98. <testnm/>
  99. </item>
  100. </pkginfo>
  101. </temp>
  102. </root>
  103. </instance>
  104. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  105. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  106. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  107. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  108. <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
  109. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  110. <script type="javascript" src="../../../ast/healexamweb/js/AHA001.js"/>
  111. <script type="javascript" src="../../../ast/healthexambaseweb/js/healcombolist.js"/>
  112. <script type="javascript" ev:event="xforms-ready">
  113. <![CDATA[
  114. fGetBasicCdList();
  115. fInitInfo();
  116. fGetRsrvAcptList();
  117. ]]>
  118. </script>
  119. <submission id="TRZBC00101"/>
  120. <submission id="TRAHR00941" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/detlinfo"/>
  121. <submission id="TRAHA00001"/>
  122. <submission id="TRAHB01502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/room/roomlst"/>
  123. </model>
  124. <script type="javascript">
  125. <![CDATA[
  126. var vHealExamFlag = "";
  127. var vHealExamDetlFlag = "";
  128. /**========================================================================================================================================
  129. * 공통코드 및 검사실 코드 조회
  130. =========================================================================================================================================*/
  131. function fGetBasicCdList(){
  132. var vHeFgLen = fGetHealExamFlag().length;
  133. var vHeFg = fGetHealExamFlag();
  134. var vHeFgCd = "";
  135. if( vHeFg.substr(0,1) == "C" ){
  136. vHeFgCd = "A0069";
  137. } else {
  138. vHeFgCd = "A0070";
  139. }
  140. //공통코드 콤보 호출
  141. zbcfGetCodeList( new Array("A0068" ,"A0069", "A0070")
  142. ,new Array("/root/init/baseinfo/healexamflaglst"
  143. , "/root/init/baseinfo/chedetlflaglst"
  144. , "/root/init/baseinfo/ghedetlflaglst"));
  145. healGetCodeList( new Array("S600")
  146. , new Array("/root/init/baseinfo/healexamplacecd") );
  147. model.removenode("/root/init/baseinfo/healexamplacecd/S600[cdid='']" );
  148. addComboItem("cmb_healexamflag","전체","","above");
  149. addComboItem("cmb_srchhealexamplacecd","전체","","above");
  150. copyNodesetType("/root/init/baseinfo/healexamdetlflag/item" , "/root/init/baseinfo/chedetlflaglst/A0069","replace");
  151. copyNodesetType("/root/init/baseinfo/healexamdetlflag/item" , "/root/init/baseinfo/ghedetlflaglst/A0070","after");
  152. submit("TRZBC00101");
  153. submit("TRAHB01502");
  154. // cmb_healexamflag.value = vHeFg.substr(0,1);
  155. // cmb_healexamflag.dispatch("xforms-value-changed");
  156. //종건, 일건 구분
  157. // if(vHeFgLen == 1){
  158. // cmb_srchhealexamdetlflag.value = vHeFg + "01";
  159. // } else{
  160. // cmb_srchhealexamdetlflag.value = vHeFg;
  161. // }
  162. }
  163. //검사실 코드조회
  164. /**========================================================================================================================================
  165. * 건진상세구분 바꾸기
  166. =========================================================================================================================================*/
  167. function fSetHealExamDetlFlag(){
  168. var vItem = "";
  169. var vHealexamflag = cmb_healexamflag.value;
  170. //건진구분 선택시 건진상세분류가 '전체'로 값이 셋팅되게한다.
  171. cmb_srchhealexamdetlflag.value = "";
  172. if(vHealexamflag == "C"){
  173. copyNodesetType("/root/init/baseinfo/healexamdetlflag/item" , "/root/init/baseinfo/chedetlflaglst/A0069","replace");
  174. }
  175. else if(vHealexamflag == "G"){
  176. copyNodesetType("/root/init/baseinfo/healexamdetlflag/item" , "/root/init/baseinfo/ghedetlflaglst/A0070","replace");
  177. }else {
  178. copyNodesetType("/root/init/baseinfo/healexamdetlflag/item" , "/root/init/baseinfo/chedetlflaglst/A0069","replace");
  179. copyNodesetType("/root/init/baseinfo/healexamdetlflag/item" , "/root/init/baseinfo/ghedetlflaglst/A0070","after");
  180. //model.resetInstanceNode(cmb_srchhealexamdetlflag.choices.itemset.attribute("nodeset"));
  181. }
  182. }
  183. /**========================================================================================================================================
  184. * 초기화
  185. =========================================================================================================================================*/
  186. function fInitInfo(){
  187. var curDt = getCurrentDate().substr(0,6);
  188. model.setValue(ipt_srchfromdd.attribute("ref") , curDt);
  189. model.refresh();
  190. }
  191. /**========================================================================================================================================
  192. * 상세현황조회
  193. =========================================================================================================================================*/
  194. function fGetRsrvAcptList(){
  195. model.setValue("/root/send/srchinstcd", getUserInfo("dutplceinstcd") );
  196. //model.setValue("/root/send/srchinstcd", "011" );
  197. //alert(model.getValue("/root/send/srchinstcd") );
  198. //model.setValue("/root/send/srchhealexamflag" , vHealExamFlag);
  199. submit("TRAHR00941");
  200. }
  201. ]]>
  202. </script>
  203. </xhtml:head>
  204. <xhtml:body guideline="1,1196;1,1194;2,757;2,786;1,1192;" style="border-left-style:none; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  205. <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
  206. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:184px; height:14px; ">월별검사사용실적</caption>
  207. </group>
  208. <group id="group4" scroll="auto" style="left:0px; top:13px; width:1194px; height:744px; ">
  209. <line id="line1" class="line_1" style="x1:0px; y1:106px; x2:1191px; y2:106px; "/>
  210. <group id="group5" style="left:0px; top:9px; width:1193px; height:71px; vertical-align:top; ">
  211. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1193px; height:70px; background-color:#fffbf2; border-color:#ffd799; "/>
  212. <caption id="caption11" class="search_name" style="left:591px; top:12px; width:81px; height:17px; ">기준월 :</caption>
  213. <line id="line7" style="x1:1110px; y1:26px; x2:1110px; y2:46px; border-color:#ffe4bb; border-left-style:solid; "/>
  214. <input id="ipt_srchfromdd" ref="/root/send/srchhopedd" class="input_search" inputtype="date" format="yyyy-mm" appearance="input" style="left:666px; top:12px; width:110px; height:19px; ">
  215. <script type="javascript" ev:event="onkeyup">
  216. <![CDATA[
  217. inputEnterKey("btn_search", "DOMActivate");
  218. ]]>
  219. </script>
  220. </input>
  221. <button id="btn_search" class="btn1_letter2" style="left:1123px; top:25px; width:56px; height:22px; ">
  222. <caption>조회</caption>
  223. <script type="javascript" ev:event="DOMActivate">
  224. <![CDATA[
  225. //model.resetInstanceNode("/root/main/detlinfo/item");
  226. //model.refresh();
  227. fGetRsrvAcptList();
  228. ]]>
  229. </script>
  230. </button>
  231. <select1 id="cmb_healexamflag" ref="/root/send/srchhealexamflag" class="combo_search" appearance="minimal" style="left:100px; top:12px; width:115px; height:19px; ">
  232. <choices>
  233. <itemset nodeset="/root/init/baseinfo/healexamflaglst/A0068">
  234. <label ref="cdnm"/>
  235. <value ref="cdid"/>
  236. </itemset>
  237. </choices>
  238. <script type="javascript" ev:event="xforms-value-changed">
  239. <![CDATA[
  240. fSetHealExamDetlFlag();
  241. fGetRsrvAcptList();
  242. ]]>
  243. </script>
  244. </select1>
  245. <caption id="caption7" class="search_name" style="left:10px; top:12px; width:87px; height:17px; ">건진구분 :</caption>
  246. <select1 id="cmb_srchhealexamdetlflag" ref="/root/send/srchhealexamdetlflag" class="combo_search" appearance="minimal" editmode="inputsearch" style="left:410px; top:12px; width:110px; height:19px; ">
  247. <choices>
  248. <itemset nodeset="/root/init/baseinfo/healexamdetlflag/item">
  249. <label ref="cdnm"/>
  250. <value ref="cdid"/>
  251. </itemset>
  252. </choices>
  253. <script type="javascript" ev:event="xforms-value-changed">
  254. <![CDATA[
  255. fGetRsrvAcptList();
  256. ]]>
  257. </script>
  258. </select1>
  259. <caption id="caption9" class="search_name" style="left:295px; top:12px; width:117px; height:17px; ">건진상세분류 :</caption>
  260. <caption id="caption2" class="search_name" style="left:10px; top:40px; width:86px; height:17px; ">건진장소 :</caption>
  261. <select1 id="cmb_srchhealexamplacecd" ref="/root/send/srchhealexamplacecd" class="combo_search" appearance="minimal" style="left:100px; top:39px; width:115px; height:19px; ">
  262. <choices>
  263. <itemset nodeset="/root/init/baseinfo/healexamplacecd/S600">
  264. <label ref="cdnm"/>
  265. <value ref="cdid"/>
  266. </itemset>
  267. </choices>
  268. <script type="javascript" ev:event="xforms-value-changed">
  269. <![CDATA[
  270. model.removenodeset("/root/init/room/roomlst/itemroom");
  271. model.setValue("/root/send/srchroomcd","");
  272. submit("TRAHB01502");
  273. model.refresh();
  274. fGetRsrvAcptList();
  275. ]]>
  276. </script>
  277. </select1>
  278. <caption id="caption3" class="search_name" style="left:591px; top:40px; width:96px; height:17px; ">검사코드 :</caption>
  279. <caption id="caption4" class="search_name" style="left:295px; top:40px; width:81px; height:17px; ">검사실 :</caption>
  280. <button id="btn_selcmpy" class="icon_search" style="left:783px; top:39px; width:16px; height:16px; ">
  281. <caption/>
  282. <script type="javascript" ev:event="DOMActivate">
  283. <![CDATA[
  284. model.setValue("/root/temp/okflag", "");
  285. model.resetInstanceNode("/root/temp/pkginfo/item");
  286. fGetPkgCd("SMAHA00200", "A", "N","nm" , ipt_srchprcpcd.currentText , model.getValue("/root/send/srchhealexamdetlflag") , "" , "/root/temp/pkginfo/item");
  287. if(model.getValue("/root/temp/okflag") == "ok") {
  288. model.setValue(ipt_srchprcpcd.attribute("ref") , model.getValue("/root/temp/pkginfo/item/testcd") );
  289. model.setValue(opt_srchtestnm.attribute("ref") , model.getValue("/root/temp/pkginfo/item/testnm") );
  290. ipt_srchprcpcd.refresh();
  291. opt_srchtestnm.refresh();
  292. }
  293. ]]>
  294. </script>
  295. </button>
  296. <input id="ipt_srchprcpcd" ref="/root/send/srchprcpcd" class="input_search" style="left:678px; top:39px; width:100px; height:19px; ">
  297. <script type="javascript" ev:event="onkeyup">
  298. <![CDATA[
  299. inputEnterKey("btn_selcmpy", "DOMActivate");
  300. ]]>
  301. </script>
  302. </input>
  303. <output id="opt_srchtestnm" ref="/root/send/srchtestnm" class="output_fix" style="left:805px; top:39px; width:171px; height:19px; "/>
  304. <select1 id="cmb_srchroomcd" ref="/root/send/srchroomcd" class="combo_search" appearance="minimal" style="left:370px; top:39px; width:150px; height:19px; ">
  305. <choices>
  306. <itemset nodeset="/root/init/room/roomlst/itemroom">
  307. <label ref="testroomnm"/>
  308. <value ref="testroomcd"/>
  309. </itemset>
  310. </choices>
  311. <script type="javascript" ev:event="xforms-value-changed">
  312. <![CDATA[
  313. fGetRsrvAcptList();
  314. ]]>
  315. </script>
  316. </select1>
  317. </group>
  318. <caption id="caption1" class="tit_2" style="left:5px; top:90px; width:151px; height:13px; ">상세현황</caption>
  319. <datagrid id="grd_prntlst" nodeset="/root/main/detlinfo/item" caption="hopemm^검사코드^검사명^합계^금액^1일^2일^3일^4일^5일^6일^7일^8일^9일^10일^11일^12일^13일^14일^15일^16일^17일^18일^19일^20일^21일^22일^23일^24일^25일^26일^27일^28일^29일^30일^31일^건진구분명^건진상세구분명^사업장명^환자번호^성명^건진일자^총발생금액^개인금액^공단금액^보건소금액^단체금액^A01^A02^A03^A04^A05^A06^A07^A08^A09^A10^A11^A12^A13^A14^A15^A16^A17^A18^A19^A20^A21^A22^A23^A24^A25^A26^A27^A28^A29^TESTNM^소견 및 조치사항내용^판정일정^판정의ID^의사명^의사면허번호^TBDD^관리기관코드^조합명^기관코드^건진구분^INSTCD_1^orddd" colsep="^" colwidth="100, 70, 90, 60, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30" defaultrows="1" ellipsis="true" frozencols="4" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:111px; width:1190px; height:604px; ">
  320. <col ref="hopemm" visibility="hidden" style="text-align:center; "/>
  321. <col explorerbar="sortshow" ref="prcpcd" style="text-align:left; "/>
  322. <col explorerbar="sortshow" ref="testnm" style="text-align:left; "/>
  323. <col ref="totcnt" style="text-align:center; "/>
  324. <col explorerbar="sortshow" ref="scoreamt" visibility="hidden" format="#,###" style="text-align:right; "/>
  325. <col ref="dd01" style="text-align:center; "/>
  326. <col ref="dd02" style="left:0px; top:0px; width:0px; height:0px; text-align:center; "/>
  327. <col ref="dd03" style="text-align:center; "/>
  328. <col ref="dd04" style="text-align:center; "/>
  329. <col ref="dd05" style="text-align:center; "/>
  330. <col ref="dd06" style="text-align:center; "/>
  331. <col ref="dd07" style="text-align:center; "/>
  332. <col ref="dd08" style="text-align:center; "/>
  333. <col ref="dd09" style="text-align:center; "/>
  334. <col ref="dd10" style="text-align:center; "/>
  335. <col ref="dd11" style="text-align:center; "/>
  336. <col ref="dd12" style="text-align:center; "/>
  337. <col ref="dd13" style="text-align:center; "/>
  338. <col ref="dd14" style="text-align:center; "/>
  339. <col ref="dd15" style="text-align:center; "/>
  340. <col ref="dd16" style="text-align:center; "/>
  341. <col ref="dd17" style="text-align:center; "/>
  342. <col ref="dd18" style="text-align:center; "/>
  343. <col ref="dd19" style="text-align:center; "/>
  344. <col ref="dd20" style="text-align:center; "/>
  345. <col ref="dd21" style="text-align:center; "/>
  346. <col ref="dd22" style="text-align:center; "/>
  347. <col ref="dd23" style="text-align:center; "/>
  348. <col ref="dd24" style="text-align:center; "/>
  349. <col ref="dd25" style="text-align:center; "/>
  350. <col ref="dd26" style="text-align:center; "/>
  351. <col ref="dd27" style="text-align:center; "/>
  352. <col ref="dd28" style="text-align:center; "/>
  353. <col ref="dd29" style="text-align:center; "/>
  354. <col ref="dd30" style="text-align:center; "/>
  355. <col ref="dd31" style="text-align:center; "/>
  356. <script type="javascript" ev:event="onaftersort">
  357. <![CDATA[
  358. grd_prntlst.gridToInstance();
  359. ]]>
  360. </script>
  361. </datagrid>
  362. <button id="btn_excelsave" class="btn6_letter4" visibility="visible" style="left:1016px; top:34px; width:80px; height:22px; ">
  363. <caption>액셀저장</caption>
  364. <script type="javascript" ev:event="DOMActivate">
  365. <![CDATA[
  366. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  367. grd_prntlst.saveExcel(fileName, "SheetName", true, true, "", "", false);
  368. ]]>
  369. </script>
  370. </button>
  371. </group>
  372. <group id="group2" scroll="auto" style="left:0px; top:756px; width:1195px; height:28px; "/>
  373. </xhtml:body>
  374. </xhtml:html>