SMAHA02500_통계현황.xrw 45 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SPAHA02500.xrw
  4. * 설 명 : 통계현황
  5. * 설 계 자 : 손범성
  6. * 작 성 자 : 손범성
  7. * 작 성 일 : 2008.02.29
  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. <roomcond>
  20. <roomcondlst>
  21. <item>
  22. <orddd/>
  23. <weekname/>
  24. <total/>
  25. <male/>
  26. <female/>
  27. <rsrv/>
  28. <acpt/>
  29. <cncl/>
  30. <hold/>
  31. <remfact/>
  32. <rsrv24/>
  33. <acpt24/>
  34. <rsrv12/>
  35. <acpt12/>
  36. <rsrv11/>
  37. <acpt11/>
  38. <rsrv15/>
  39. <acpt15/>
  40. <rsrv16/>
  41. <acpt16/>
  42. <rsrv19/>
  43. <acpt19/>
  44. <rsrv29/>
  45. <acpt29/>
  46. <rsrv20/>
  47. <acpt20/>
  48. <rsrv30/>
  49. <acpt30/>
  50. </item>
  51. </roomcondlst>
  52. </roomcond>
  53. <earnmonth>
  54. <earnmonthlst>
  55. <item>
  56. <orddd/>
  57. <cardamt/>
  58. <cashamt/>
  59. <uncoamt/>
  60. <daytotamt/>
  61. <acmlamt/>
  62. <charge/>
  63. </item>
  64. </earnmonthlst>
  65. </earnmonth>
  66. <earnyear>
  67. <earnyearlst>
  68. <item>
  69. <cmpyflag/>
  70. <pkgnm/>
  71. <mon9/>
  72. <mon10/>
  73. <mon11/>
  74. <mon12/>
  75. <mon1/>
  76. <mon2/>
  77. <mon3/>
  78. <mon4/>
  79. <mon5/>
  80. <mon6/>
  81. <mon7/>
  82. <mon8/>
  83. <totamt/>
  84. </item>
  85. </earnyearlst>
  86. <headinfo/>
  87. </earnyear>
  88. <healexamcond>
  89. <healexamcondlst>
  90. <total/>
  91. <pkg1/>
  92. <pkg2/>
  93. <room1/>
  94. <room2/>
  95. </healexamcondlst>
  96. </healexamcond>
  97. <healexamrcpt>
  98. <rcptlst>
  99. <item>
  100. <healexamflag/>
  101. <seqno/>
  102. <pid/>
  103. <hngnm/>
  104. <pkgnm/>
  105. <totamt/>
  106. <discamt/>
  107. <cmpyamt/>
  108. <uncoamt/>
  109. <cardamt/>
  110. <cashamt/>
  111. <mdlrcptamt/>
  112. </item>
  113. </rcptlst>
  114. </healexamrcpt>
  115. <healexamstat>
  116. <healexamstatlst>
  117. <item>
  118. <seqno/>
  119. <pid/>
  120. <hngnm/>
  121. <rrgstno/>
  122. <cmpynm/>
  123. <pkgcd/>
  124. <orddd/>
  125. </item>
  126. </healexamstatlst>
  127. </healexamstat>
  128. <card>
  129. <cardlst>
  130. <item>
  131. <cardcmpynm/>
  132. <rcptdd/>
  133. <pid/>
  134. <hngnm/>
  135. <cardamt/>
  136. <incardamt/>
  137. <cardno/>
  138. <aprvno/>
  139. <cardcmpycd/>
  140. <totflag/>
  141. </item>
  142. </cardlst>
  143. </card>
  144. <disc>
  145. <disclst>
  146. <item>
  147. <healexamflag/>
  148. <seqno/>
  149. <pid/>
  150. <hngnm/>
  151. <cmpynm/>
  152. <pkgcd/>
  153. <totamt/>
  154. <uncoamt/>
  155. <discamt/>
  156. <rcptamt/>
  157. <remfact/>
  158. </item>
  159. </disclst>
  160. </disc>
  161. <prercpt>
  162. <prercptlst>
  163. <item>
  164. <healexamflag/>
  165. <seqno/>
  166. <pid/>
  167. <hngnm/>
  168. <cmpynm/>
  169. <pkgcd/>
  170. <prercptamt/>
  171. <rtnprercptamt/>
  172. <mdlrcptamt/>
  173. <cardamt/>
  174. <cashamt/>
  175. <remfact/>
  176. </item>
  177. </prercptlst>
  178. </prercpt>
  179. <calc>
  180. <calclst>
  181. <item>
  182. <healexamflag/>
  183. <seqno/>
  184. <pid/>
  185. <hngnm/>
  186. <cmpynm/>
  187. <clamamt/>
  188. <discamt/>
  189. <calcamt/>
  190. <cmpyamt/>
  191. <payinsubamt/>
  192. <cardamt/>
  193. <cashamt/>
  194. </item>
  195. </calclst>
  196. </calc>
  197. </main>
  198. <send>
  199. <srchinstcd/>
  200. <srchfromdd/>
  201. <srchtodd/>
  202. <srchprescond>001</srchprescond>
  203. <srchhealexamflag/>
  204. <srchchealexamdetlflag/>
  205. <srchghealexamdetlflag/>
  206. <srchyear/>
  207. <srchqutryy/>
  208. <srchdateflag/>
  209. <srchrhealexamflag/>
  210. </send>
  211. <init>
  212. <room>
  213. <roomlst>
  214. <itemroom>
  215. <testroomcd/>
  216. <testroomnm/>
  217. </itemroom>
  218. </roomlst>
  219. </room>
  220. <baseinfo>
  221. <healflaglst/>
  222. <chealdetlflaglst/>
  223. <ghealdetlflaglst/>
  224. </baseinfo>
  225. </init>
  226. <hidden>
  227. </hidden>
  228. </root>
  229. </instance>
  230. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  231. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  232. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  233. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  234. <script type="javascript" src="../../../ast/healexamweb/js/AHA001.js"/>
  235. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  236. <script type="javascript" ev:event="xforms-ready">
  237. <![CDATA[
  238. // 기초코드 조회
  239. fGetBasicList();
  240. // 화면 초기화
  241. fInit();
  242. //화면권한
  243. btn_search.disabled = ! checkAuth("R");
  244. btn_print.disabled = ! checkAuth("P");
  245. ]]>
  246. </script>
  247. <submission id="TRAHA01001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/earnlst"/>
  248. <submission id="TRZBC00101"/>
  249. <submission id="TRAHB01502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/room/roomlst"/>
  250. <submission id="TRAHA02501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/earnmonth/earnmonthlst"/>
  251. <submission id="TRAHA02504" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/healexamrcpt/rcptlst"/>
  252. <submission id="TRAHA02505" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/healexamstat/healexamstatlst"/>
  253. <submission id="TRAHA02506" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/card/cardlst"/>
  254. <submission id="TRAHA02507" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/disc/disclst"/>
  255. <submission id="TRAHA02508" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/prercpt/prercptlst"/>
  256. <submission id="TRAHA02502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/earnyear/earnyearlst"/>
  257. <submission id="TRAHA02500" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/roomcond/roomcondlst"/>
  258. <submission id="TRAHA02503" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/healexamcond/healexamcondlst"/>
  259. </model>
  260. <script type="javascript">
  261. <![CDATA[
  262. /**********************************************************************************************************************************************************************************
  263. * 화면 초기화
  264. ***********************************************************************************************************************************************************************************/
  265. function fInit() {
  266. // 날짜 초기화
  267. ipt_fromdate.value = getCurrentDate();
  268. ipt_todate.value = getCurrentDate();
  269. ipt_year.value = getCurrentDate().toDate().getDateFormat("YYYY");
  270. //swit초기화
  271. fSetPresCond();
  272. // 건진구분
  273. chk_healexamflag.select(0);
  274. rdo_healexamflag.select(0);
  275. rdo_dateflag.select(0);
  276. }
  277. /**********************************************************************************************************************************************************************************
  278. * 기초 코드 조회
  279. ***********************************************************************************************************************************************************************************/
  280. function fGetBasicList() {
  281. //검사실 코드
  282. model.setValue("/root/send/srchinstcd",getUserInfo("dutplceinstcd"));
  283. var ret = submit("TRAHB01502");
  284. //공통코드
  285. zbcfGetCodeList( new Array("A0068" , "A0069" , "A0070" ),
  286. new Array("/root/init/baseinfo/healflaglst"
  287. ,"/root/init/baseinfo/chealdetlflaglst"
  288. ,"/root/init/baseinfo/ghealdetlflaglst") );
  289. submit("TRZBC00101");
  290. }
  291. /**********************************************************************************************************************************************************************************
  292. * 현황 구분의 선택에 따라 화면을 변경한다.
  293. ***********************************************************************************************************************************************************************************/
  294. function fSetPresCond() {
  295. var children = sw_prescond.children;
  296. var prescond = "case_" + cmb_prescond.value;
  297. for(var i=0; i < children.length; i++) {
  298. var caseId = children.item(i).attribute("id");
  299. if(caseId == prescond) {
  300. model.toggle(caseId);
  301. sw_prescond.selected = true;
  302. fSetInitSrch(cmb_prescond.value);
  303. }
  304. }
  305. }
  306. /**********************************************************************************************************************************************************************************
  307. * 조회 상태값을 초기화 셋팅한다.
  308. ***********************************************************************************************************************************************************************************/
  309. function fSetInitSrch(vCase) {
  310. if(vCase == "004") {
  311. chk_healexamflag.visible = false;
  312. chk_chealexamdetlflag.visible = false;
  313. chk_ghealexamdetlflag.visible = false;
  314. rdo_dateflag.visible = true;
  315. rdo_healexamflag.visible = true;
  316. }else {
  317. chk_healexamflag.visible = true;
  318. chk_chealexamdetlflag.visible = true;
  319. chk_ghealexamdetlflag.visible = true;
  320. rdo_dateflag.visible = false;
  321. rdo_healexamflag.visible = false;
  322. }
  323. }
  324. /**********************************************************************************************************************************************************************************
  325. * 선택한 체크박스의 체크상태에 따라 그리드 컬럼을 변경한다.
  326. * chkObj : 체크박스 grdObj:그리드 sCol: 컬럼추가위치
  327. ***********************************************************************************************************************************************************************************/
  328. function fSetGridData(chkObj , grdObj , sCol) {
  329. var caption = grdObj.caption;
  330. var tmpText = "";
  331. var insChk = true;
  332. var chkCnt = 0;
  333. var chkStat = chkObj.item(chkObj.focusIndex).selected;
  334. var ref = chkObj.item(chkObj.focusIndex).value;
  335. var colNm = chkObj.item(chkObj.focusIndex).label;
  336. for(var x=0; x < grdObj.cols; x++) {
  337. if(chkStat == 1) {
  338. if(ref != grdObj.colAttribute(x ,"ref")) {
  339. insChk = true;
  340. }
  341. }else if(chkStat == 0) {
  342. if(ref == grdObj.colAttribute(x ,"ref")) {
  343. //alert("ref :" + ref + " colRef : " + grdObj.colAttribute(x , "ref") + " : " + parseInt(x) + "col :" + grdObj.colRef(ref));
  344. grdObj.deleteColumn(parseInt(x) + 1 , true);
  345. insChk = false;
  346. chkCnt = 0;
  347. for(var i=0; i < caption.length; i++) {
  348. if("^" == caption.charAt(i)) {
  349. if(x - 1 == chkCnt) {
  350. var tmp1 = caption.substring(0,i);
  351. var tmp2 = caption.substring(i+colNm.length+1, caption.length);
  352. grdObj.caption = tmp1 + tmp2;
  353. }
  354. chkCnt++;
  355. }
  356. }
  357. break;
  358. }
  359. }
  360. }
  361. if(insChk) {
  362. grdObj.insertColumn(sCol + 1, "ref:" + ref + "; type:output;" , "after");
  363. for(var i=0; i < caption.length; i++) {
  364. if("^" == caption.charAt(i)) {
  365. if(chkCnt == sCol) {
  366. tmpText = tmpText + "^" + colNm ;
  367. }
  368. chkCnt++;
  369. }
  370. tmpText = tmpText + caption.charAt(i);
  371. }
  372. grdObj.caption = tmpText;
  373. grdObj.refresh();
  374. }
  375. }
  376. /**********************************************************************************************************************************************************************************
  377. * 현황구분에 따라서 조회한다.
  378. ***********************************************************************************************************************************************************************************/
  379. function fGetSearch() {
  380. var presFlag = model.getValue("/root/send/srchprescond");
  381. switch(presFlag) {
  382. case '001' : submit("TRAHA02500"); break;
  383. case '002' : fInitSearch(presFlag); break;
  384. case '003' : fInitSearch(presFlag); break;
  385. case '004' : submit("TRAHA02503"); break;
  386. case '005' : submit("TRAHA02504"); break;
  387. case '006' : submit("TRAHA02505"); break;
  388. case '007' : fInitSearch(presFlag); break;
  389. case '008' : submit("TRAHA02507"); break;
  390. case '009' : fInitSearch(presFlag); break;
  391. case '010': break;
  392. default : break;
  393. }
  394. }
  395. /**********************************************************************************************************************************************************************************
  396. * 현황구분에 따른 조회 초기화 셋팅
  397. ***********************************************************************************************************************************************************************************/
  398. function fInitSearch(vCase) {
  399. var ret = false;
  400. if('002' == vCase) { // 월별 건진수익내역
  401. if(model.getValue("/root/send/srchchealexamdetlflag") == "" && model.getValue("/root/send/srchghealexamdetlflag") == "" ) {
  402. messageBox("건진상세구분을","C002");
  403. return;
  404. }
  405. submit("TRAHA02501");
  406. }else if('003' == vCase) { // 년도별 건진수입현황
  407. fGetYearEarnList();
  408. }else if('007' == vCase) { // 신용카드 내역 관리
  409. ret = submit("TRAHA02506");
  410. if(ret) {
  411. grd_cardlst.rebuildStyle();
  412. grd_cardlst.autoMerge = false;
  413. //grd_cardlst.mergeCells = "bycolrec";
  414. for(var i=0; i<=grd_cardlst.rows; i++) {
  415. var totFlag = grd_cardlst.valueMatrix(i,grd_cardlst.colRef("totflag"));
  416. if(totFlag == "Y") {
  417. grd_cardlst.mergeByFree(i,grd_cardlst.colRef("cardcmpynm"),i,grd_cardlst.colRef("pid"));
  418. grd_cardlst.mergeByFree(i,grd_cardlst.colRef("cardno"),i,grd_cardlst.colRef("aprvno"));
  419. grd_cardlst.cellStyle("font-size",i,grd_cardlst.colRef("cardcmpynm"),i,grd_cardlst.colRef("pid")) = "15";
  420. grd_cardlst.cellStyle("text-align",i,grd_cardlst.colRef("cardcmpynm"),i,grd_cardlst.colRef("pid")) = "center";
  421. grd_cardlst.cellStyle("font-weight",i,grd_cardlst.colRef("cardcmpynm"),i,grd_cardlst.colRef("pid")) = "bold";
  422. }
  423. }
  424. }
  425. }else if('009' == vCase) { // 건진선수금현황
  426. ret = submit("TRAHA02508");
  427. if(ret) {
  428. grd_prercptlst.rebuildStyle();
  429. grd_prercptlst.autoMerge = false;
  430. //grd_cardlst.mergeCells = "bycolrec";
  431. for(var i=1; i<=grd_prercptlst.rows; i++) {
  432. var totFlag = model.getValue(grd_prercptlst.nodeset + "[" + (i - 1) +"]/totflag");
  433. if(totFlag == "Y") {
  434. grd_prercptlst.mergeByFree(i,grd_prercptlst.colRef("healexamflag"),i,grd_prercptlst.colRef("pkgcd"));
  435. grd_prercptlst.cellStyle("font-size",i,grd_prercptlst.colRef("healexamflag"),i,grd_prercptlst.colRef("pkgcd")) = "15";
  436. grd_prercptlst.cellStyle("text-align",i,grd_prercptlst.colRef("healexamflag"),i,grd_prercptlst.colRef("pkgcd")) = "center";
  437. grd_prercptlst.cellStyle("font-weight",i,grd_prercptlst.colRef("healexamflag"),i,grd_prercptlst.colRef("pkgcd")) = "bold";
  438. }
  439. }
  440. }
  441. }
  442. }
  443. /**********************************************************************************************************************************************************************************
  444. * 현황구분에 따른 초기화
  445. ***********************************************************************************************************************************************************************************/
  446. function fGetYearEarnList() {
  447. var ret = submit("TRAHA02502");
  448. if(ret) {
  449. }
  450. }
  451. /**********************************************************************************************************************************************************************************
  452. * 현황구분에 따른 초기화
  453. ***********************************************************************************************************************************************************************************/
  454. function fInitCase() {
  455. var presCond = model.getValue("/root/send/srchprescond");
  456. if(presCond == 002 ) {
  457. var chkValue = (chk_ghealexamdetlflag.value + "^" + chk_chealexamdetlflag.value).split("^");
  458. chk_ghealexamdetlflag.value = "";
  459. chk_chealexamdetlflag.value = "";
  460. for(var i=0; i < chkValue.length; i++) {
  461. for(var j=0; j < grd_earnmonthlst.cols; j++) {
  462. if(chkValue[i] == grd_earnmonthlst.colAttribute(j , "ref")) {
  463. if(chk_ghealexamdetlflag.disabled == true) {
  464. grd_earnmonthlst.deleteColumn(parseInt(j) , true);
  465. }else {
  466. grd_earnmonthlst.deleteColumn(parseInt(j) + 1 , true);
  467. }
  468. }
  469. }
  470. }
  471. grd_earnmonthlst.caption = "날짜^카드수입^현금수입^미수금^당일총수입^누계^담당";
  472. chk_ghealexamdetlflag.disabled = false;
  473. chk_chealexamdetlflag.disabled = false;
  474. model.resetInstanceNode(grd_earnmonthlst.nodeset);
  475. grd_earnmonthlst.refresh();
  476. }
  477. }
  478. ]]>
  479. </script>
  480. </xhtml:head>
  481. <xhtml:body guideline="1,1193;2,783;2,873;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  482. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  483. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">통계현황</caption>
  484. </group>
  485. <group id="group5" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  486. <shape id="roundrect3" class="roundrect_search" appearance="roundrect" style="left:0px; top:10px; width:1189px; height:35px; "/>
  487. <switch id="sw_prescond" style="left:0px; top:55px; width:1190px; height:683px; ">
  488. <case id="case_001" selected="true">
  489. <caption id="caption1" class="tit_2" style="left:5px; top:5px; width:131px; height:13px; ">검사실 현황 집계표</caption>
  490. <line id="line1" class="line_1" style="x1:0px; y1:20px; x2:1185px; y2:20px; "/>
  491. <datagrid id="roomcondlst" nodeset="/root/main/roomcond/roomcondlst/item" caption="날짜^요일^총원^남^여^예약^접수^취소^보류^비고^수면내시경^수면내시경^위내시경^위내시경^위장X선^위장X선^심장초음파^심장초음파^심부하^심부하^MRI^MRI^PET-CT^PET-CT^CT^CT^대장^대장|날짜^요일^총원^남^여^예약^접수^취소^보류^비고^예약^접수^예약^접수^예약^접수^예약^접수^예약^접수^예약^접수^예약^접수^예약^접수^예약^접수" colsep="^" colwidth="50, 30, 50, 50, 50, 50, 50, 50, 50, 200, 52, 50, 50, 53, 50, 50, 52, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 58" frozencols="10" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:29px; width:1178px; height:647px; ">
  492. <col ref="orddd"/>
  493. <col ref="weekname" style="text-align:center; "/>
  494. <col ref="total" style="text-align:right; "/>
  495. <col ref="male" style="text-align:right; "/>
  496. <col ref="female" style="text-align:right; "/>
  497. <col ref="rsrv" style="text-align:right; "/>
  498. <col ref="acpt" style="text-align:right; "/>
  499. <col ref="cncl" style="text-align:right; "/>
  500. <col ref="hold" style="text-align:right; "/>
  501. <col ref="remfact" type="input"/>
  502. <col ref="rsrv24" style="text-align:right; "/>
  503. <col ref="acpt24" style="text-align:right; "/>
  504. <col ref="rsrv12" style="text-align:right; "/>
  505. <col ref="acpt12" style="text-align:right; "/>
  506. <col ref="rsrv11" style="text-align:right; "/>
  507. <col ref="acpt11" style="text-align:right; "/>
  508. <col ref="rsrv15" style="text-align:right; "/>
  509. <col ref="acpt15" style="text-align:right; "/>
  510. <col ref="rsrv16" style="text-align:right; "/>
  511. <col ref="acpt16" style="text-align:right; "/>
  512. <col ref="rsrv19" style="text-align:right; "/>
  513. <col ref="acpt19" style="text-align:right; "/>
  514. <col ref="rsrv29" style="text-align:right; "/>
  515. <col ref="acpt29" style="text-align:right; "/>
  516. <col ref="rsrv20" style="text-align:right; "/>
  517. <col ref="acpt20" style="text-align:right; "/>
  518. <col ref="rsrv30" style="text-align:right; "/>
  519. <col ref="acpt30" style="text-align:right; "/>
  520. </datagrid>
  521. </case>
  522. <case id="case_002">
  523. <caption id="caption4" class="tit_2" style="left:5px; top:5px; width:131px; height:13px; ">월별 건진수입 현황</caption>
  524. <line id="line2" class="line_1" style="x1:0px; y1:20px; x2:1185px; y2:20px; "/>
  525. <datagrid id="grd_earnmonthlst" nodeset="/root/main/earnmonth/earnmonthlst/item" caption="날짜^카드수입^현금수입^미수금^당일총수입^누계^담당" colsep="^" colwidth="100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:29px; width:1178px; height:647px; ">
  526. <col ref="orddd"/>
  527. <col ref="cardamt" format="(-,+)#,###"/>
  528. <col ref="cashamt" format="(-,+)#,###"/>
  529. <col ref="uncoamt" format="(-,+)#,###"/>
  530. <col ref="daytotamt" format="(-,+)#,###"/>
  531. <col ref="acmlamt" format="(-,+)#,###"/>
  532. <col ref="charge"/>
  533. </datagrid>
  534. </case>
  535. <case id="case_003">
  536. <caption id="caption5" class="tit_2" style="left:5px; top:50px; width:139px; height:13px; ">년도별 건진수입현황</caption>
  537. <line id="line3" class="line_1" style="x1:0px; y1:65px; x2:1185px; y2:65px; "/>
  538. <shape id="roundrect4" class="roundrect_search" appearance="roundrect" style="left:5px; top:5px; width:1178px; height:40px; "/>
  539. <button id="btn_preyear" class="icon_pre_month" style="left:106px; top:17px; width:16px; height:16px; ">
  540. <caption/>
  541. <script type="javascript" ev:event="DOMActivate">
  542. <![CDATA[
  543. ipt_year.value = parseInt(ipt_year.value) - 1;
  544. fGetYearEarnList();
  545. ]]>
  546. </script>
  547. </button>
  548. <button id="btn_nextyear" class="icon_next_month" style="left:222px; top:17px; width:16px; height:16px; ">
  549. <caption/>
  550. <script type="javascript" ev:event="DOMActivate">
  551. <![CDATA[
  552. ipt_year.value = parseInt(ipt_year.value) + 1;
  553. fGetYearEarnList();
  554. ]]>
  555. </script>
  556. </button>
  557. <caption id="caption19" class="search_name" style="left:11px; top:16px; width:90px; height:17px; ">건진년도 :</caption>
  558. <input id="ipt_year" ref="/root/send/srchyear" class="input_search" format="yyyy" style="left:124px; top:15px; width:95px; height:19px; font-weight:bold; text-align:center; word-wrap:none; ">
  559. <script type="javascript" ev:event="onaccesskey">
  560. <![CDATA[
  561. if(event.keyCode == 13) {
  562. fGetYearEarnList();
  563. }
  564. ]]>
  565. </script>
  566. <script type="javascript" ev:event="DOMFocusOut">
  567. <![CDATA[
  568. fGetYearEarnList();
  569. ]]>
  570. </script>
  571. </input>
  572. <caption id="caption20" class="search_name" style="left:281px; top:16px; width:86px; height:17px; ">반기구분 :</caption>
  573. <select1 id="rdo_qutryy" ref="/root/send/srchqutryy" appearance="full" cellspacing="30" cols="2" overflow="visible" style="left:375px; top:16px; width:165px; height:20px; border-style:none; ">
  574. <choices>
  575. <item>
  576. <label>상반기</label>
  577. <value>U</value>
  578. </item>
  579. <item>
  580. <label>하반기</label>
  581. <value>D</value>
  582. </item>
  583. </choices>
  584. <script type="javascript" ev:event="xforms-value-changed">
  585. <![CDATA[
  586. var qutr = rdo_qutryy.value;
  587. if(qutr == "U") {
  588. grd_earnyearlst.colHidden(grd_earnyearlst.colRef("mon1")) = true;
  589. grd_earnyearlst.colHidden(grd_earnyearlst.colRef("mon2")) = true;
  590. grd_earnyearlst.colHidden(grd_earnyearlst.colRef("mon3")) = false;
  591. grd_earnyearlst.colHidden(grd_earnyearlst.colRef("mon4")) = false;
  592. grd_earnyearlst.colHidden(grd_earnyearlst.colRef("mon5")) = false;
  593. grd_earnyearlst.colHidden(grd_earnyearlst.colRef("mon6")) = false;
  594. grd_earnyearlst.colHidden(grd_earnyearlst.colRef("mon7")) = false;
  595. grd_earnyearlst.colHidden(grd_earnyearlst.colRef("mon8")) = false;
  596. grd_earnyearlst.colHidden(grd_earnyearlst.colRef("mon9")) = true;
  597. grd_earnyearlst.colHidden(grd_earnyearlst.colRef("mon10")) = true;
  598. grd_earnyearlst.colHidden(grd_earnyearlst.colRef("mon11")) = true;
  599. grd_earnyearlst.colHidden(grd_earnyearlst.colRef("mon12")) = true;
  600. }else if(qutr == "D") {
  601. grd_earnyearlst.colHidden(grd_earnyearlst.colRef("mon1")) = false;
  602. grd_earnyearlst.colHidden(grd_earnyearlst.colRef("mon2")) = false;
  603. grd_earnyearlst.colHidden(grd_earnyearlst.colRef("mon3")) = true;
  604. grd_earnyearlst.colHidden(grd_earnyearlst.colRef("mon4")) = true;
  605. grd_earnyearlst.colHidden(grd_earnyearlst.colRef("mon5")) = true;
  606. grd_earnyearlst.colHidden(grd_earnyearlst.colRef("mon6")) = true;
  607. grd_earnyearlst.colHidden(grd_earnyearlst.colRef("mon7")) = true;
  608. grd_earnyearlst.colHidden(grd_earnyearlst.colRef("mon8")) = true;
  609. grd_earnyearlst.colHidden(grd_earnyearlst.colRef("mon9")) = false;
  610. grd_earnyearlst.colHidden(grd_earnyearlst.colRef("mon10")) = false;
  611. grd_earnyearlst.colHidden(grd_earnyearlst.colRef("mon11")) = false;
  612. grd_earnyearlst.colHidden(grd_earnyearlst.colRef("mon12")) = false;
  613. }
  614. fGetYearEarnList();
  615. ]]>
  616. </script>
  617. </select1>
  618. <datagrid id="grd_earnyearlst" nodeset="/root/main/earnyear/earnyearlst/item" caption="구분^건진종류^9월^10월^11월^12월^1월^2월^3월^4월^5월^6월^7월^8월^합계" colsep="^" colwidth="200, 200, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:74px; width:1177px; height:602px; ">
  619. <col ref="cmpyflag"/>
  620. <col ref="pkgnm"/>
  621. <col ref="mon9" format="(-,+)#,###"/>
  622. <col ref="mon10" format="(-,+)#,###"/>
  623. <col ref="mon11" format="(-,+)#,###"/>
  624. <col ref="mon12" format="(-,+)#,###"/>
  625. <col ref="mon1" format="(-,+)#,###"/>
  626. <col ref="mon2" format="(-,+)#,###"/>
  627. <col ref="mon3" format="(-,+)#,###"/>
  628. <col ref="mon4" format="(-,+)#,###"/>
  629. <col ref="mon5" format="(-,+)#,###"/>
  630. <col ref="mon6" format="(-,+)#,###"/>
  631. <col ref="mon7" format="(-,+)#,###"/>
  632. <col ref="mon8" format="(-,+)#,###"/>
  633. <col ref="totamt" format="(-,+)#,###"/>
  634. </datagrid>
  635. </case>
  636. <case id="case_004">
  637. <caption id="cap_total" class="tit_2" style="left:5px; top:5px; width:157px; height:14px; ">종합건강진단 실시 현황</caption>
  638. <datagrid id="grd_totalcondlst" nodeset="/root/main/healexamcond/healexamcondlst/total" caption="전일^당일예약^당일예약^당일예약^당일예약^당일예약^당일예약^당일실시^당일실시^당일실시^당일실시^당일실시^당일실시^증감" colsep="^" colwidth="100, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 80, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:23px; width:1177px; height:48px; ">
  639. <col ref="bef_cnt"/>
  640. <col ref="rsrvpsn"/>
  641. <col ref="rsrvpsncnt"/>
  642. <col ref="rsrvcmpy"/>
  643. <col ref="rsrvcmpycnt"/>
  644. <col ref="rsrvtotal"/>
  645. <col ref="rsrvtotalcnt"/>
  646. <col ref="execpsn"/>
  647. <col ref="execpsncnt"/>
  648. <col ref="execcmpy"/>
  649. <col ref="execcmpycnt"/>
  650. <col ref="exectotal"/>
  651. <col ref="exectotalcnt"/>
  652. <col ref="increase"/>
  653. </datagrid>
  654. <caption id="cap_pkg" class="tit_2" style="left:5px; top:80px; width:188px; height:14px; ">
  655. <![CDATA[<<종합건강진단 기본검사>>]]>
  656. </caption>
  657. <datagrid id="grd_pkgcond1lst" nodeset="/root/main/healexamcond/healexamcondlst/pkg1" caption="구분^^PET-CT^폐조기^종합선택^종합1^종합2^종합2^초정밀^초정밀^종합건진^종합건진^종합건진F^종합건진F^소화기정밀^소화기정밀|구분^^PET-CT^폐암^단체 ^단체^개인^단체^개인^단체^개인^단체^개인^단체^개인^단체" colsep="^" colwidth="50, 50, 75, 75, 75, 75, 75, 75, 75, 75,75, 75, 75, 75, 75, 75" fixedcols="2" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:102px; width:1177px; height:126px; ">
  658. <col/>
  659. <col/>
  660. <col/>
  661. <col/>
  662. <col/>
  663. <col/>
  664. <col/>
  665. <col/>
  666. <col/>
  667. <col/>
  668. <col/>
  669. <col/>
  670. <col/>
  671. <col/>
  672. <col/>
  673. <col/>
  674. </datagrid>
  675. <datagrid id="grd_pkgcond2lst" nodeset="/root/main/healexamcond/healexamcondlst/pkg2" caption="구분^^소화기정밀F^소화기정밀F^폐암조기^폐암조기^폐암조기F^폐암조기F^심장정밀^심장정밀^심장정밀F^심장정밀F^예비부부^예비부부^암정밀^암정밀^암정밀F^암정밀F^총인원|구분^^개인^단체^개인^단체^개인^단체^개인^단체^개인^단체^50M^65F^개인^단체^개인^단체^총인원" colsep="^" colwidth="50, 50, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75, 75" fixedcols="2" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:237px; width:1177px; height:126px; ">
  676. <col/>
  677. <col/>
  678. <col/>
  679. <col/>
  680. <col/>
  681. <col/>
  682. <col/>
  683. <col/>
  684. <col/>
  685. <col/>
  686. <col/>
  687. <col/>
  688. <col/>
  689. <col/>
  690. <col/>
  691. <col/>
  692. <col/>
  693. <col/>
  694. <col/>
  695. </datagrid>
  696. <caption id="cap_test" class="tit_2" style="left:5px; top:372px; width:188px; height:14px; ">
  697. <![CDATA[<<검사항목별인원>>]]>
  698. </caption>
  699. <datagrid id="grd_rooncond2lst" nodeset="/root/main/healexamcond/healexamcondlst/room2" caption="구분^^UBT^골밀도^MRI^대장X선^CT^PET-CT^폐암^Heart-Spec^MRA|구분^^UBT^골밀도^MRI^대장X선^CT^PET-CT^폐암^Heart-Spec^MRA" colsep="^" colwidth="100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" fixedcols="2" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:540px; width:1177px; height:126px; ">
  700. <col/>
  701. <col/>
  702. <col/>
  703. <col/>
  704. <col/>
  705. <col/>
  706. <col/>
  707. <col/>
  708. <col/>
  709. <col/>
  710. <col/>
  711. </datagrid>
  712. <datagrid id="grd_roomcond1lst" nodeset="/root/main/healexamcond/healexamcondlst/room1" caption="구분^^초음파^초음파^초음파^초음파^초음파^심부하^내시경^내시경^내시경^내시경^위장X선|구분^^복부^유방^갑상선^심장^골반^심부하^캡슐^수면^위^후두^위장X선" colsep="^" colwidth="50, 50, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" fixedcols="2" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:395px; width:1177px; height:126px; ">
  713. <col/>
  714. <col/>
  715. <col/>
  716. <col/>
  717. <col/>
  718. <col/>
  719. <col/>
  720. <col/>
  721. <col/>
  722. <col/>
  723. <col/>
  724. <col/>
  725. <col/>
  726. </datagrid>
  727. </case>
  728. <case id="case_005">
  729. <caption id="caption8" class="tit_2" style="left:5px; top:5px; width:131px; height:14px; ">건진수납명세일보</caption>
  730. <line id="line5" class="line_1" style="x1:0px; y1:20px; x2:1185px; y2:20px; "/>
  731. <datagrid id="datagrid6" nodeset="/root/main/healexamrcpt/rcptlst/item" caption="건진종류^순번^등록번호^성명^단체명(계정명)^총진료비^할인액^미수금액^미수금액^실수납액^실수납액^선수대체|건진종류^순번^등록번호^성명^단체명(계정명)^총진료비^할인액^단체미수^계정미수^카드금액^현금^선수대체" colsep="^" colwidth="100, 30, 95, 100, 150, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:29px; width:1177px; height:648px; ">
  732. <col ref="healexamflag"/>
  733. <col ref="seqno"/>
  734. <col ref="pid"/>
  735. <col ref="hngnm"/>
  736. <col ref="pkgnm"/>
  737. <col ref="totamt" format="(-,+)#,###"/>
  738. <col ref="discamt" format="(-,+)#,###"/>
  739. <col ref="cmpyamt" format="(-,+)#,###"/>
  740. <col ref="uncoamt" format="(-,+)#,###"/>
  741. <col ref="cardamt" format="(-,+)#,###"/>
  742. <col ref="cashamt" format="(-,+)#,###"/>
  743. <col ref="mdlrcptamt" format="(-,+)#,###"/>
  744. </datagrid>
  745. </case>
  746. <case id="case_006">
  747. <caption id="caption9" class="tit_2" style="left:5px; top:5px; width:131px; height:14px; ">건강진단 실시 현황</caption>
  748. <line id="line6" class="line_1" style="x1:0px; y1:20px; x2:1185px; y2:20px; "/>
  749. <datagrid id="datagrid7" nodeset="/root/main/healexamstat/healexamstatlst/item" caption="순번^등록번호^성명^주민등록번호^단체명(계정명)^건진코드^최근건진일자" colsep="^" colwidth="100, 150, 150, 200, 250, 150, 150" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:29px; width:1177px; height:648px; ">
  750. <col ref="seqno"/>
  751. <col ref="pid"/>
  752. <col ref="hngnm"/>
  753. <col ref="rrgstno" secretmark="*" secretstartposition="8"/>
  754. <col ref="cmpynm"/>
  755. <col ref="pkgcd"/>
  756. <col ref="orddd" format="yyyy/mm/dd"/>
  757. </datagrid>
  758. </case>
  759. <case id="case_007">
  760. <caption id="caption10" class="tit_2" style="left:5px; top:5px; width:131px; height:14px; ">신용카드 내역 관리</caption>
  761. <line id="line7" class="line_1" style="x1:0px; y1:20px; x2:1185px; y2:20px; "/>
  762. <datagrid id="grd_cardlst" nodeset="/root/main/card/cardlst/item" caption="카드사^수납일자^등록번호^성명^카드발생금액^카드입금금액^카드번호^승인번호^카드회사코드^총계여부" colsep="^" colwidth="150, 100, 150, 150, 100, 100, 200, 150, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:29px; width:1177px; height:648px; ">
  763. <col ref="cardcmpynm"/>
  764. <col ref="rcptdd" format="yyyy/mm/dd"/>
  765. <col ref="pid"/>
  766. <col ref="hngnm"/>
  767. <col ref="cardamt" format="(-,+)#,###"/>
  768. <col ref="incardamt" format="(-,+)#,###"/>
  769. <col ref="cardno"/>
  770. <col ref="aprvno"/>
  771. <col ref="cardcmpycd" visibility="hidden"/>
  772. <col ref="totflag" visibility="hidden"/>
  773. </datagrid>
  774. </case>
  775. <case id="case_008">
  776. <caption id="caption11" class="tit_2" style="left:5px; top:5px; width:131px; height:14px; ">건진할인현황</caption>
  777. <line id="line8" class="line_1" style="x1:0px; y1:20px; x2:1185px; y2:20px; "/>
  778. <datagrid id="datagrid4" nodeset="/root/main/disc/disclst/item" caption="건진종류^순번^등록번호^성명^단체명(계정명)^건진코드^총금액^미수금액^할인^실수납액^비고" colsep="^" colwidth="100, 30, 100, 100, 200, 100, 100, 100, 100, 100, 145" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:29px; width:1177px; height:648px; ">
  779. <col ref="healexamflag"/>
  780. <col ref="seqno"/>
  781. <col ref="pid"/>
  782. <col ref="hngnm"/>
  783. <col ref="cmpynm"/>
  784. <col ref="pkgcd"/>
  785. <col ref="totamt" format="(-,+)#,###"/>
  786. <col ref="uncoamt" format="(-,+)#,###"/>
  787. <col ref="discamt" format="(-,+)#,###"/>
  788. <col ref="rcptamt" format="(-,+)#,###"/>
  789. <col ref="remfact"/>
  790. </datagrid>
  791. </case>
  792. <case id="case_009">
  793. <line id="line9" class="line_1" style="x1:0px; y1:20px; x2:1185px; y2:20px; "/>
  794. <caption id="caption12" class="tit_2" style="left:5px; top:5px; width:131px; height:14px; ">건진선수금현황</caption>
  795. <datagrid id="grd_prercptlst" nodeset="/root/main/prercpt/prercptlst/item" caption="건진종류^순번^등록번호^성명^단체명(계정명)^건진코드^선수금^선수반환^선수대체^실수납금액^실수납금액^비고|건진종류^순번^등록번호^성명^단체명(계정명)^건진코드^선수금^선수반환^선수대체^카드금액^현금^비고" colsep="^" colwidth="100, 30, 80, 80, 150, 100, 100, 100, 100, 100, 100, 135" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:29px; width:1177px; height:648px; ">
  796. <col ref="healexamflag"/>
  797. <col ref="seqno"/>
  798. <col ref="pid"/>
  799. <col ref="hngnm"/>
  800. <col ref="cmpynm"/>
  801. <col ref="pkgcd"/>
  802. <col ref="prercptamt" format="(-,+)#,###"/>
  803. <col ref="rtnprercptamt" format="(-,+)#,###"/>
  804. <col ref="mdlrcptamt" format="(-,+)#,###"/>
  805. <col ref="cardamt" format="(-,+)#,###"/>
  806. <col ref="cashamt" format="(-,+)#,###"/>
  807. <col ref="remfact"/>
  808. </datagrid>
  809. </case>
  810. <case id="case_010">
  811. <line id="line10" class="line_1" style="x1:0px; y1:20px; x2:1185px; y2:20px; "/>
  812. <caption id="caption13" class="tit_2" style="left:5px; top:5px; width:131px; height:14px; ">정산현황</caption>
  813. <datagrid id="calclst" nodeset="/root/main/calc/calclst/item" caption="건진종류^순번^등록번호^성명^단체명(계정명)^청구금액^할인금액^최종정산액^미수금액^미수금액^정산 후 차감금액^정산 후 차감금액|건진종류^순번^등록번호^성명^단체명(계정명)^청구금액^할인금액^최종정산액^회사미수금^조합미수금^카드금액^현금" colsep="^" colwidth="100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:29px; width:1177px; height:648px; ">
  814. <col ref="healexamflag"/>
  815. <col ref="seqno"/>
  816. <col ref="pid"/>
  817. <col ref="hngnm"/>
  818. <col ref="cmpynm"/>
  819. <col ref="clamamt"/>
  820. <col ref="discamt"/>
  821. <col ref="calcamt"/>
  822. <col ref="cmpyamt"/>
  823. <col ref="payinsubamt"/>
  824. <col ref="cardamt"/>
  825. <col ref="cashamt"/>
  826. </datagrid>
  827. </case>
  828. </switch>
  829. <input id="ipt_fromdate" ref="/root/send/srchfromdd" class="input_s_essential" inputtype="date" style="left:590px; top:18px; width:95px; height:19px; "/>
  830. <input id="ipt_todate" ref="/root/send/srchtodd" class="input_s_essential" inputtype="date" style="left:710px; top:18px; width:95px; height:19px; "/>
  831. <caption id="caption21" class="search_name" style="left:501px; top:18px; width:86px; height:17px; ">건진일자 :</caption>
  832. <caption id="caption2" class="search_name" style="left:816px; top:18px; width:86px; height:17px; ">현황구분 :</caption>
  833. <caption id="caption3" style="left:691px; top:20px; width:15px; height:20px; ">~</caption>
  834. <caption id="caption14" class="search_name" style="left:11px; top:18px; width:86px; height:17px; ">건진구분 :</caption>
  835. <select1 id="cmb_prescond" ref="/root/send/srchprescond" class="combo_search" appearance="minimal" style="left:908px; top:18px; width:195px; height:19px; ">
  836. <choices>
  837. <item>
  838. <label>검사실 현황 집계표</label>
  839. <value>001</value>
  840. </item>
  841. <item>
  842. <label>월별 건진수입 현황</label>
  843. <value>002</value>
  844. </item>
  845. <item>
  846. <label>년도별 건진수입현황</label>
  847. <value>003</value>
  848. </item>
  849. <item>
  850. <label>종합건강진단 실시 현황</label>
  851. <value>004</value>
  852. </item>
  853. <item>
  854. <label>건진수납명세일보</label>
  855. <value>005</value>
  856. </item>
  857. <item>
  858. <label>건강진단 실시 현황</label>
  859. <value>006</value>
  860. </item>
  861. <item>
  862. <label>신용카드 내역 관리</label>
  863. <value>007</value>
  864. </item>
  865. <item>
  866. <label>건진할인현황</label>
  867. <value>008</value>
  868. </item>
  869. <item>
  870. <label>건진선수금현황</label>
  871. <value>009</value>
  872. </item>
  873. <item>
  874. <label>정산현황</label>
  875. <value>010</value>
  876. </item>
  877. </choices>
  878. <script type="javascript" ev:event="xforms-select">
  879. <![CDATA[
  880. fSetPresCond();
  881. ]]>
  882. </script>
  883. </select1>
  884. <line id="line18" class="line_4" style="x1:1115px; y1:17px; x2:1115px; y2:39px; border-left-style:solid; "/>
  885. <button id="btn_search" class="btn1_letter2" style="left:1125px; top:17px; width:56px; height:22px; ">
  886. <caption>조회</caption>
  887. <script type="javascript" ev:event="DOMActivate">
  888. <![CDATA[
  889. fGetSearch();
  890. ]]>
  891. </script>
  892. </button>
  893. <select id="chk_healexamflag" ref="/root/send/srchhealexamflag" overflow="visible" appearance="full" sep="^" style="left:102px; top:13px; width:100px; height:20px; border-style:none; ">
  894. <choices>
  895. <itemset nodeset="/root/init/baseinfo/healflaglst/A0068">
  896. <label ref="cdnm"/>
  897. <value ref="cdid"/>
  898. </itemset>
  899. </choices>
  900. <script type="javascript" ev:event="xforms-value-changed">
  901. <![CDATA[
  902. var chkStat = chk_healexamflag.item(chk_healexamflag.focusIndex).selected;
  903. var chkValue = chk_healexamflag.item(chk_healexamflag.focusIndex).value;
  904. if(chkStat == 1) {
  905. if("C" == chkValue) {
  906. chk_chealexamdetlflag.visible = true;
  907. }else if("G" == chkValue) {
  908. chk_ghealexamdetlflag.visible = true;
  909. }
  910. }else {
  911. if("C" == chkValue) {
  912. chk_chealexamdetlflag.visible = false;
  913. chk_chealexamdetlflag.value = "";
  914. }else if("G" == chkValue) {
  915. chk_ghealexamdetlflag.visible = false;
  916. chk_ghealexamdetlflag.value = "";
  917. }
  918. }
  919. ]]>
  920. </script>
  921. </select>
  922. <select id="chk_chealexamdetlflag" ref="/root/send/srchchealexamdetlflag" visibility="hidden" overflow="hidden" appearance="full" sep="^" style="left:293px; top:18px; width:100px; height:17px; border-style:none; ">
  923. <choices>
  924. <itemset nodeset="/root/init/baseinfo/chealdetlflaglst/A0069">
  925. <label ref="cdnm">``</label>
  926. <value ref="cdid"/>
  927. </itemset>
  928. </choices>
  929. <script type="javascript" ev:event="onmouseover">
  930. <![CDATA[
  931. chk_chealexamdetlflag.attribute("overflow") = "visible";
  932. ]]>
  933. </script>
  934. <script type="javascript" ev:event="onmouseout">
  935. <![CDATA[
  936. chk_chealexamdetlflag.attribute("overflow") = "scroll";
  937. ]]>
  938. </script>
  939. <script type="javascript" ev:event="xforms-value-changed">
  940. <![CDATA[
  941. //fSetGridData(chk_chealexamdetlflag,grd_earnmonthlst,0);
  942. ]]>
  943. </script>
  944. </select>
  945. <select id="chk_ghealexamdetlflag" ref="/root/send/srchghealexamdetlflag" visibility="hidden" overflow="hidden" appearance="full" sep="^" style="left:393px; top:18px; width:100px; height:17px; border-style:none; ">
  946. <choices>
  947. <itemset nodeset="/root/init/baseinfo/ghealdetlflaglst/A0070">
  948. <label ref="cdnm"/>
  949. <value ref="cdid"/>
  950. </itemset>
  951. </choices>
  952. <script type="javascript" ev:event="onmouseover">
  953. <![CDATA[
  954. chk_ghealexamdetlflag.attribute("overflow") = "visible";
  955. ]]>
  956. </script>
  957. <script type="javascript" ev:event="onmouseout">
  958. <![CDATA[
  959. chk_ghealexamdetlflag.attribute("overflow") = "scroll";
  960. ]]>
  961. </script>
  962. <script type="javascript" ev:event="xforms-select">
  963. <![CDATA[
  964. //fSetGridData(chk_ghealexamdetlflag,grd_earnmonthlst,0);
  965. ]]>
  966. </script>
  967. </select>
  968. <caption id="caption16" class="search_name" style="left:206px; top:18px; width:86px; height:17px; ">상세구분 :</caption>
  969. <select1 id="rdo_dateflag" ref="/root/send/srchdateflag" visibility="hidden" appearance="full" cellspacing="50" cols="2" overflow="visible" style="left:293px; top:18px; width:170px; height:20px; border-style:none; ">
  970. <choices>
  971. <item>
  972. <label>일별</label>
  973. <value>D</value>
  974. </item>
  975. <item>
  976. <label>월별</label>
  977. <value>M</value>
  978. </item>
  979. </choices>
  980. <script type="javascript" ev:event="xforms-value-changed">
  981. <![CDATA[
  982. var selValue = rdo_dateflag.value;
  983. if(selValue == "D") {
  984. grd_totalcondlst.caption = "전일^당일예약^당일예약^당일예약^당일예약^당일예약^당일예약^당일실시^당일실시^당일실시^당일실시^당일실시^당일실시^증감";
  985. }else if(selValue == "M") {
  986. grd_totalcondlst.caption = "전월^당월예약^당월예약^당월예약^당월예약^당월예약^당월예약^당월실시^당월실시^당월실시^당월실시^당월실시^당월실시^증감";
  987. }
  988. ]]>
  989. </script>
  990. </select1>
  991. <select1 id="rdo_healexamflag" ref="/root/send/srchrhealexamflag" visibility="hidden" appearance="full" overflow="visible" style="left:102px; top:13px; width:100px; height:20px; border-style:none; ">
  992. <choices>
  993. <itemset nodeset="/root/init/baseinfo/healflaglst/A0068">
  994. <label ref="cdnm"/>
  995. <value ref="cdid"/>
  996. </itemset>
  997. </choices>
  998. <script type="javascript" ev:event="xforms-value-changed">
  999. <![CDATA[
  1000. var selValue = rdo_healexamflag.item(rdo_healexamflag.focusIndex).value;
  1001. if(selValue == "C") {
  1002. cap_total.value = "종합건강진단 실시 현황";
  1003. cap_pkg.value = "<<종합건강진단 기본검사>>";
  1004. }else if(selValue == "G") {
  1005. cap_total.value = "일반건강진단 실시 현황";
  1006. cap_pkg.value = "<<일반건강진단 기본검사>>";
  1007. }
  1008. ]]>
  1009. </script>
  1010. </select1>
  1011. </group>
  1012. <group id="group4" scroll="auto" style="left:0px; top:754px; width:1195px; height:28px; ">
  1013. <button id="btn_print" class="btn6_letter2" style="left:0px; top:5px; width:56px; height:22px; ">
  1014. <caption>출력</caption>
  1015. <script type="javascript" ev:event="DOMActivate">
  1016. <![CDATA[
  1017. var presCond = model.getValue("/root/send/srchprescond");
  1018. switch(presCond) {
  1019. case '001' : exeReportPreview("RPAHA02500","XMLSTR"); break;
  1020. case '002' : break;
  1021. case '003' : exeReportPreview("RPAHA02502","XMLSTR","/root/send"); break;
  1022. case '004' : break;
  1023. case '005' : exeReportPreview("RPAHA02504","XMLSTR"); break;
  1024. case '006' : exeReportPreview("RPAHA02505","XMLSTR"); break;
  1025. case '007' : exeReportPreview("RPAHA02506","XMLSTR"); break;
  1026. case '008' : exeReportPreview("RPAHA02507","XMLSTR"); break;
  1027. case '009' : exeReportPreview("RPAHA02508","XMLSTR"); break;
  1028. case '010' : break;
  1029. }
  1030. ]]>
  1031. </script>
  1032. </button>
  1033. <button id="button1" class="btn6_letter3" style="left:1122px; top:5px; width:68px; height:22px; ">
  1034. <caption>초기화</caption>
  1035. <script type="javascript" ev:event="DOMActivate">
  1036. <![CDATA[
  1037. fInitCase();
  1038. ]]>
  1039. </script>
  1040. </button>
  1041. </group>
  1042. </xhtml:body>
  1043. </xhtml:html>