SMLLP01700_다중결과조회.xrw 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMLLP01700_다중결과조회.xrw
  4. * 설 명 : 다중결과조회
  5. * 설 계 자 : (주)에이씨케이 - 박정은
  6. * 작 성 자 : (주)에이씨케이 - 박정은
  7. * 작 성 일 : 2009.01.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/>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root>
  18. <main>
  19. <TestResultList>
  20. <bcno/>
  21. <pid/>
  22. <hngnm/>
  23. <sexage/>
  24. <orddeptnm/>
  25. <orddrnm/>
  26. <wardroom/>
  27. <tclsscrnnm/>
  28. <result/>
  29. <result01 readonly="" testcd="" rsltseq="" inptrslt="" rsltstat="" tooltip=""/>
  30. <result02 readonly="" testcd="" rsltseq="" inptrslt="" rsltstat="" tooltip=""/>
  31. <result03 readonly="" testcd="" rsltseq="" inptrslt="" rsltstat="" tooltip=""/>
  32. <result04 readonly="" testcd="" rsltseq="" inptrslt="" rsltstat="" tooltip=""/>
  33. <result05 readonly="" testcd="" rsltseq="" inptrslt="" rsltstat="" tooltip=""/>
  34. <result06 readonly="" testcd="" rsltseq="" inptrslt="" rsltstat="" tooltip=""/>
  35. <result07/>
  36. <result08/>
  37. <result09/>
  38. <result10/>
  39. <result11/>
  40. <result12/>
  41. <result13/>
  42. <result14/>
  43. <result15/>
  44. <result16/>
  45. <result17/>
  46. <result18/>
  47. <result19/>
  48. <result20/>
  49. <result21/>
  50. <result22/>
  51. <result23/>
  52. <result24/>
  53. <result25/>
  54. <result26/>
  55. <result27/>
  56. <result28/>
  57. <result29/>
  58. <result30/>
  59. <updtresn/>
  60. <bcno2/>
  61. </TestResultList>
  62. </main>
  63. <send>
  64. <usdd/>
  65. <ustm/>
  66. <uedd/>
  67. <uetm/>
  68. <rsltgbn/>
  69. <rslt/>
  70. <testitem/>
  71. <codeflag/>
  72. <deptgbn/>
  73. <deptL/>
  74. <deptM/>
  75. <rsltseq/>
  76. <bcno/>
  77. <testcd/>
  78. </send>
  79. <init>
  80. </init>
  81. <hidden>
  82. <ref>
  83. <usdd/>
  84. <ustm/>
  85. <uedd/>
  86. <uetm/>
  87. <rsltgbn/>
  88. <rslt/>
  89. <tclscdlist>
  90. <tclsnmlist/>
  91. <tclscdlist/>
  92. <tclscdlist2/>
  93. <testgrup/>
  94. </tclscdlist>
  95. <usertestgrup/>
  96. <deptgbn>1</deptgbn>
  97. <deptL>00</deptL>
  98. <deptM>00</deptM>
  99. </ref>
  100. <testcont/>
  101. <tatal/>
  102. <resn>
  103. <resnseq/>
  104. </resn>
  105. </hidden>
  106. </root>
  107. </instance>
  108. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  109. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  110. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  111. <script type="javascript" src="../../../lis/commonweb/js/LLZ001.js"/>
  112. <script type="javascript" ev:event="xforms-ready">
  113. <![CDATA[
  114. fSetInit();
  115. ]]>
  116. </script>
  117. <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/LB0103"/>
  118. <submission id="TRLLP00501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/rslt"/>
  119. <submission id="TRLLF90401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/testgrupdetl"/>
  120. <submission id="TRLLP01701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/TestResultList"/>
  121. <submission id="TRLLP01702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden/resn"/>
  122. </model>
  123. <script type="javascript">
  124. <![CDATA[
  125. // 초기화
  126. function fSetInit(){
  127. var toDay = getCurrentDate();
  128. model.setValue("/root/hidden/ref/deptgbn", "1"); //1=대분류
  129. model.setValue("/root/hidden/ref/deptL", "00");
  130. model.setValue("/root/hidden/ref/deptM", "00");
  131. fComboAalue();
  132. model.setValue("/root/hidden/ref/usdd", toDay);
  133. model.setValue("/root/hidden/ref/ustm", "0000");
  134. model.setValue("/root/hidden/ref/uedd", toDay);
  135. model.setValue("/root/hidden/ref/uetm", "2359");
  136. model.setValue("/root/hidden/ref/rsltgbn", "0"); // 결과구분 0=전체
  137. model.setValue("/root/hidden/ref/tclscdlist/tclsnmlist", "");
  138. model.setValue("/root/hidden/ref/tclscdlist/testgrup", "");
  139. model.removeNodeset("/root/init");
  140. model.setValue("/root/send/codeflag", "0103|0104|0102|"); //사용자별 검사그룹
  141. submit("TRLZZ00101");
  142. model.resetInstanceNode("/root/main/TestResultList");
  143. for(var i=15; i<= 39; i++){
  144. rslt.ColHidden(i) = true;
  145. }
  146. model.refresh();
  147. }
  148. // 대분류 중분류 선택시 변경
  149. function fComboAalue(){
  150. if(model.getValue("/root/hidden/ref/deptgbn") == "1"){ // 대분류
  151. cmb_dept.visible = true;
  152. combo4.visible = false;
  153. model.setValue("/root/hidden/ref/deptM","00");
  154. }else{
  155. cmb_dept.visible = false;
  156. combo4.visible = true;
  157. model.setValue("/root/hidden/ref/deptL", "00");
  158. }
  159. }
  160. //검사그룹조회
  161. function fSelectTestGrup(){
  162. model.makeValue("/root/send/testgrupnm", cmb_testitem.label);
  163. submit("TRLLF90401" ,false);
  164. fSetPopUpTclscdList();
  165. }
  166. function fSetPopUpTclscdList(){
  167. var count = getNodesetCount("/root/main/testgrupdetl");
  168. if(count > 0){
  169. var sendtclsnm = model.getValue("/root/main/testgrupdetl[1]/tclsnm");
  170. var sendtclscd = model.getValue("/root/main/testgrupdetl[1]/tclscd");
  171. var sendtclscd2 = model.getValue("/root/main/testgrupdetl[1]/tclscd");
  172. // 검사그룹 상세 목록 없을때
  173. if(sendtclsnm == ""){
  174. model.setValue("/root/hidden/tclscdlist/tclscdlist", "");
  175. model.setValue("/root/hidden/tclscdlist/tclsnmlist", "");
  176. }else{ // 검사그룹 상세 목록 있을때
  177. for(i=2; i<= count; i++){
  178. sendtclsnm = sendtclsnm + ", " + model.getValue("/root/main/testgrupdetl["+i+"]/tclsnm");
  179. //sendtclscd = sendtclscd + "▦" + model.getValue("/root/main/testgrupdetl["+i+"]/tclscd");
  180. sendtclscd = sendtclscd + "','" + model.getValue("/root/main/testgrupdetl["+i+"]/tclscd");
  181. sendtclscd2 = sendtclscd2 + "▦" + model.getValue("/root/main/testgrupdetl["+i+"]/tclscd");
  182. }
  183. model.setValue("/root/hidden/ref/tclscdlist/tclsnmlist", sendtclsnm);
  184. model.setValue("/root/hidden/ref/tclscdlist/tclscdlist", "'" + sendtclscd + "'");
  185. model.setValue("/root/hidden/ref/tclscdlist/tclscdlist2", sendtclscd2);
  186. }
  187. model.refresh();
  188. }
  189. }
  190. // 다중결과 리스트 조회
  191. function fGetMutiRsltList(){
  192. model.resetInstanceNode("/root/main/TestResultList");
  193. var fromdd = model.getValue("/root/hidden/ref/usdd");
  194. var todd = model.getValue("/root/hidden/ref/uedd");
  195. var mDate = todd.toDate("YYYYMMDD").getAddDate(-3);
  196. if(mDate.getDateFormat("YYYYMMDD") > fromdd) {
  197. messageBox("3일 이내의 기간만 검색","I006");
  198. return false;
  199. }else if(todd < fromdd) {
  200. messageBox("기간설정이 잘못", "E005");
  201. return false;
  202. }
  203. // 시행부서
  204. model.setValue("/root/send/deptgbn", model.getValue("/root/hidden/ref/deptgbn"));
  205. model.setValue("/root/send/deptL", model.getValue("/root/hidden/ref/deptL"));
  206. model.setValue("/root/send/deptM", model.getValue("/root/hidden/ref/deptM"));
  207. // 접수일자
  208. model.setValue("/root/send/usdd", model.getValue("/root/hidden/ref/usdd"));
  209. model.setValue("/root/send/ustm", model.getValue("/root/hidden/ref/ustm"));
  210. model.setValue("/root/send/uedd", model.getValue("/root/hidden/ref/uedd"));
  211. model.setValue("/root/send/uetm", model.getValue("/root/hidden/ref/uetm"));
  212. //검사항목
  213. model.setValue("/root/send/testitem" ,model.getValue("/root/hidden/ref/tclscdlist/tclscdlist"));
  214. //결과구분
  215. model.setValue("/root/send/rsltgbn", model.getValue("/root/hidden/ref/rsltgbn"));
  216. submit("TRLLP01701");
  217. if(getNodesetCount("/root/main/TestResultList") > 0){
  218. var maxcnt = model.getValue("/root/main/TestResultList/maxcnt");
  219. var startnum = 10 + parseInt(maxcnt);
  220. for(var i=11; i<= 39; i++){
  221. rslt.ColHidden(i) = false;
  222. if(i >= startnum){
  223. rslt.ColHidden(i) = true;
  224. }
  225. }
  226. }
  227. }
  228. function fExeExcel(pGridId) {
  229. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  230. if (fileName != "")
  231. {
  232. pGridId.saveExcel(fileName);
  233. }
  234. }
  235. // 사유 아래에 보여주기
  236. function fGetResn(){
  237. var row = rslt.row;
  238. var col = rslt.col;
  239. //alert("row= "+ row + " col= " + col);
  240. if(col == "40" || col =="9"){
  241. model.setValue("/root/hidden/testcont", model.getValue("/root/main/TestResultList["+row+"]/updtresn"));
  242. }else if(col > "9" && col < "40"){
  243. //alert("col= " + col);
  244. var aaa= parseInt(col) - 9;
  245. if(aaa < 10){
  246. aaa = "0" + aaa;
  247. }
  248. //alert("bcno= " + model.getValue("/root/main/TestResultList["+row+"]/bcno2") + " req= " + model.getValue("/root/main/TestResultList["+row+"]/result"+aaa+"/@rsltseq") + " ++ " + model.getValue("/root/main/TestResultList["+row+"]/result"+aaa+"/@testcd") );
  249. model.setValue("/root/send/bcno", model.getValue("/root/main/TestResultList["+row+"]/bcno2"));
  250. model.setValue("/root/send/testcd", model.getValue("/root/main/TestResultList["+row+"]/result"+aaa+"/@testcd"));
  251. model.setValue("/root/send/rsltseq", model.getValue("/root/main/TestResultList["+row+"]/result"+aaa+"/@rsltseq"));
  252. if(model.getValue("/root/main/TestResultList["+row+"]/result"+aaa+"/@rsltseq") > 0){
  253. submit("TRLLP01702");
  254. model.setValue("/root/hidden/testcont", model.getValue("/root/hidden/resn/resnseq"));
  255. }else{
  256. model.setValue("/root/hidden/testcont","");
  257. }
  258. }else{
  259. model.setValue("/root/hidden/testcont", "");
  260. }
  261. output5.refresh();
  262. }
  263. /*
  264. function fSetInit(ref) {
  265. if(ref != 2) {
  266. var toDay = getCurrentDate();
  267. model.setValue("/root/hidden/ref/usdd", toDay);
  268. model.setValue("/root/hidden/ref/ustm", "0000");
  269. model.setValue("/root/hidden/ref/uedd", toDay);
  270. model.setValue("/root/hidden/ref/uetm", "2359");
  271. model.setValue("/root/hidden/ref/judg", "0");
  272. model.setValue("/root/hidden/ref/rsltgbn", "");
  273. model.setValue("/root/hidden/ref/rslt", "");
  274. model.setValue("/root/hidden/ref/panic", "");
  275. model.setValue("/root/hidden/ref/delta", "");
  276. model.setValue("/root/hidden/ref/critical", "");
  277. model.setValue("/root/hidden/ref/tclscdlist/tclsnmlist", "");
  278. model.setValue("/root/hidden/ref/tclscdlist/testgrup", "");
  279. model.setValue("/root/hidden/ref/deptgbn", "1");
  280. model.setValue("/root/hidden/ref/deptL", "00");
  281. model.setValue("/root/hidden/ref/deptM", "00");
  282. model.setValue("/root/hidden/reflh", "");
  283. model.setValue("/root/hidden/panicval", "");
  284. model.setValue("/root/hidden/deltagbn", "");
  285. model.setValue("/root/hidden/deltaval", "");
  286. }
  287. model.removeNodeset("/root/init");
  288. model.setValue("/root/send/codeflag", "0103|0104|0102|"); //사용자별 검사그룹
  289. submit("TRLZZ00101");
  290. model.refresh();
  291. }
  292. function fGettroblist() {
  293. if(model.getValue("/root/hidden/ref/judg")!=0||model.getValue("/root/hidden/ref/rsltgbn")!=0||
  294. model.getValue("/root/hidden/ref/panic")!=''||model.getValue("/root/hidden/ref/delta")!=''||
  295. model.getValue("/root/hidden/ref/critical")!=''){
  296. model.refresh();
  297. model.setValue("/root/send/usdd" ,model.getValue("/root/hidden/ref/usdd"));
  298. model.setValue("/root/send/ustm" ,model.getValue("/root/hidden/ref/ustm"));
  299. model.setValue("/root/send/uedd" ,model.getValue("/root/hidden/ref/uedd"));
  300. model.setValue("/root/send/uetm" ,model.getValue("/root/hidden/ref/uetm"));
  301. model.setValue("/root/send/judgmark" ,model.getValue("/root/hidden/ref/judg"));
  302. model.setValue("/root/send/rsltgbn" ,model.getValue("/root/hidden/ref/rsltgbn"));
  303. model.setValue("/root/send/rslt" ,model.getValue("/root/hidden/ref/rslt"));
  304. model.setValue("/root/send/panicmark" ,model.getValue("/root/hidden/ref/panic"));
  305. model.setValue("/root/send/deltamark" ,model.getValue("/root/hidden/ref/delta"));
  306. model.setValue("/root/send/criticalmark" ,model.getValue("/root/hidden/ref/critical"));
  307. model.setValue("/root/send/testitem" ,model.getValue("/root/hidden/ref/tclscdlist/tclscdlist"));
  308. model.setValue("/root/send/deptgbn" ,model.getValue("/root/hidden/ref/deptgbn"));
  309. model.setValue("/root/send/deptL" ,model.getValue("/root/hidden/ref/deptL"));
  310. model.setValue("/root/send/deptM" ,model.getValue("/root/hidden/ref/deptM"));
  311. if(model.getValue("/root/send/panicmark")!='P')
  312. model.setValue("/root/send/panicmark" , '1');
  313. if(model.getValue("/root/send/deltamark")!='D')
  314. model.setValue("/root/send/deltamark", '1');
  315. if(model.getValue("/root/send/criticalmark")!='C')
  316. model.setValue("/root/send/criticalmark", '1');
  317. submit("TRLLP00501");
  318. model.setValue("/root/hidden/tatal", model.getXPathValue("count(/root/main/rslt)"));
  319. model.setValue("/root/hidden/panic", model.getXPathValue("count(/root/main/rslt[p='P'])"));
  320. model.setValue("/root/hidden/delta", model.getXPathValue("count(/root/main/rslt[d='D'])"));
  321. model.refresh();
  322. }
  323. else{
  324. alert("판정, 결과, PDC구분 중 한개는 반드시 선택해야 합니다.");
  325. }
  326. }
  327. function fonclickgrid() {
  328. var row = rslt.row;
  329. model.setValue("/root/hidden/reflh", model.getValue("/root/main/rslt["+row+"]/refval"));
  330. model.setValue("/root/hidden/panicval", model.getValue("/root/main/rslt["+row+"]/panicval"));
  331. model.setValue("/root/hidden/deltagbn", model.getValue("/root/main/rslt["+row+"]/deltgbn"));
  332. model.setValue("/root/hidden/deltaval", model.getValue("/root/main/rslt["+row+"]/deltaval"));
  333. model.setValue("/root/hidden/testcont", model.getValue("/root/main/rslt["+row+"]/testcont"));
  334. model.refresh();
  335. }
  336. function frsltgbn() {
  337. if(model.getValue("/root/hidden/ref/rsltgbn") != 0 ){
  338. input2.visible = true;
  339. }
  340. else{
  341. input2.visible = false;
  342. }
  343. }
  344. function fExeExcel(pGridId) {
  345. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  346. if (fileName != "")
  347. {
  348. pGridId.saveExcel(fileName);
  349. }
  350. }
  351. */
  352. ]]>
  353. </script>
  354. </xhtml:head>
  355. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  356. <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:744; ">
  357. <line id="line1" class="line_1" style="x1:0px; y1:95px; x2:1194px; y2:95px; "/>
  358. <caption id="caption1" class="tit_2" style="left:5px; top:80px; width:134px; height:14px; ">다중결과 리스트</caption>
  359. <group id="group1" style="left:0px; top:10px; width:1195px; height:60px; ">
  360. <shape id="roundrect2" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:60px; "/>
  361. <button id="button3" class="btn1_letter2" style="left:1124px; top:19px; width:56px; height:22px; ">
  362. <caption>조회</caption>
  363. <script type="javascript" ev:event="DOMActivate">
  364. <![CDATA[
  365. // fGettroblist();
  366. fGetMutiRsltList();
  367. ]]>
  368. </script>
  369. </button>
  370. <line id="line3" class="line_4" style="x1:1109px; y1:8px; x2:1109px; y2:51px; "/>
  371. <caption id="caption5" class="search_name" style="left:385px; top:9px; width:87px; height:17px; ">접수일자 :</caption>
  372. <caption id="caption8" style="left:595px; top:9px; width:15px; height:20px; vertical-align:middle; ">~</caption>
  373. <input id="ipt_usdt" ref="/root/hidden/ref/usdd" class="input_search" inputtype="date" style="left:476px; top:8px; width:85px; height:19px; "/>
  374. <input id="ipt_uedt" ref="/root/hidden/ref/uedd" class="input_search" inputtype="date" style="left:610px; top:8px; width:85px; height:19px; "/>
  375. <caption id="caption2" class="search_name" style="left:792px; top:9px; width:86px; height:17px; ">결과구분 :</caption>
  376. <caption id="caption3" class="search_name" style="left:15px; top:33px; width:94px; height:17px; ">검사항목 :</caption>
  377. <button id="button6" class="icon_search" style="left:985px; top:33px; width:16px; height:16px; ">
  378. <caption/>
  379. <script type="javascript" ev:event="DOMActivate">
  380. <![CDATA[
  381. // modal("SMLLF90400", "", "", "", "", "/root/hidden/ref/tclscdlist/testgrup", "/root/hidden/tclscdlist/testgrup");
  382. ]]>
  383. </script>
  384. </button>
  385. <input id="ipt_tclscdlist" ref="/root/hidden/ref/tclscdlist/tclsnmlist" class="input_search" style="left:195px; top:32px; width:780px; height:19px; "/>
  386. <select1 id="cmb_testitem" ref="/root/hidden/ref/tclscdlist/testgrup" class="combo_search" appearance="minimal" style="left:106px; top:32px; width:85px; height:19px; ">
  387. <choices>
  388. <itemset nodeset="/root/init/LB0103">
  389. <label ref="nm"/>
  390. <value ref="cd"/>
  391. </itemset>
  392. </choices>
  393. <script type="javascript" ev:event="xforms-value-changed">
  394. <![CDATA[
  395. fSelectTestGrup();
  396. ]]>
  397. </script>
  398. </select1>
  399. <caption id="caption12" class="search_name" style="left:15px; top:8px; width:86px; height:17px; ">시행부서 :</caption>
  400. <select1 id="combo3" ref="/root/hidden/ref/deptgbn" class="combo_search" appearance="minimal" style="left:106px; top:7px; width:85px; height:19px; font-weight:normal; ">
  401. <choices>
  402. <item>
  403. <label>대분류</label>
  404. <value>1</value>
  405. </item>
  406. <item>
  407. <label>중분류</label>
  408. <value>2</value>
  409. </item>
  410. </choices>
  411. <script type="javascript" ev:event="xforms-value-changed">
  412. <![CDATA[
  413. fComboAalue();
  414. ]]>
  415. </script>
  416. </select1>
  417. <select1 id="combo4" ref="/root/hidden/ref/deptM" class="combo_search" visibility="hidden" appearance="minimal" itemcount="20" style="left:195px; top:7px; width:125px; height:19px; font-weight:normal; ">
  418. <choices>
  419. <itemset nodeset="/root/init/LB0102">
  420. <label ref="nm"/>
  421. <value ref="cd"/>
  422. </itemset>
  423. </choices>
  424. </select1>
  425. <select1 id="cmb_dept" ref="/root/hidden/ref/deptL" class="combo_search" appearance="minimal" style="left:195px; top:7px; width:125px; height:19px; font-weight:normal; ">
  426. <choices>
  427. <itemset nodeset="/root/init/LB0104">
  428. <label ref="nm"/>
  429. <value ref="cd"/>
  430. </itemset>
  431. </choices>
  432. </select1>
  433. <input id="ipt_ustm" ref="/root/hidden/ref/ustm" class="input_search" format="hh:nn" style="left:559px; top:8px; width:35px; height:19px; "/>
  434. <input id="ipt_uetm" ref="/root/hidden/ref/uetm" class="input_search" format="hh:nn" style="left:694px; top:8px; width:35px; height:19px; "/>
  435. <select1 id="combo2" ref="/root/hidden/ref/rsltgbn" class="combo_search" appearance="minimal" style="left:885px; top:8px; width:115px; height:19px; ">
  436. <choices>
  437. <item>
  438. <label>전체</label>
  439. <value>0</value>
  440. </item>
  441. <item>
  442. <label>미검사</label>
  443. <value>1</value>
  444. </item>
  445. <item>
  446. <label>미완료</label>
  447. <value>2</value>
  448. </item>
  449. <item>
  450. <label>최종보고</label>
  451. <value>3</value>
  452. </item>
  453. <item>
  454. <label>재검</label>
  455. <value>4</value>
  456. </item>
  457. </choices>
  458. </select1>
  459. </group>
  460. <datagrid id="rslt" nodeset="/root/main/TestResultList" autoresize="true" caption="바코드번호^등록번호^성명^sex/age^진료과^의뢰의사^병동/병실^검사항목명^결과값^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차^사유^bcno2" colsep="^" colwidth="72, 70, 50, 55, 46, 60, 80, 150, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 120, 0" dataheight="23" explorerbar="sortshow" focuscolor="#ccecff" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" selectionmode="free" style="left:0px; top:100px; width:1194px; height:593px; text-align:center; ">
  461. <col ref="bcno" type="input" style="text-align:center; "/>
  462. <col ref="pid"/>
  463. <col ref="hngnm"/>
  464. <col ref="sexage"/>
  465. <col ref="orddeptnm"/>
  466. <col ref="orddrnm"/>
  467. <col ref="wardroom"/>
  468. <col ref="tclsscrnnm" style="text-align:left; "/>
  469. <col ref="result" style="font-weight:bold; "/>
  470. <col ref="result01"/>
  471. <col ref="result02"/>
  472. <col ref="result03"/>
  473. <col ref="result04"/>
  474. <col ref="result05"/>
  475. <col ref="result06"/>
  476. <col ref="result07"/>
  477. <col ref="result08"/>
  478. <col ref="result09"/>
  479. <col ref="result10"/>
  480. <col ref="result11"/>
  481. <col ref="result12"/>
  482. <col ref="result13"/>
  483. <col ref="result14"/>
  484. <col ref="result15"/>
  485. <col ref="result16"/>
  486. <col ref="result17"/>
  487. <col ref="result18"/>
  488. <col ref="result19"/>
  489. <col ref="result20"/>
  490. <col ref="result21"/>
  491. <col ref="result22"/>
  492. <col ref="result23"/>
  493. <col ref="result24"/>
  494. <col ref="result25"/>
  495. <col ref="result26"/>
  496. <col ref="result27"/>
  497. <col ref="result28"/>
  498. <col ref="result29"/>
  499. <col ref="result30"/>
  500. <col ref="updtresn"/>
  501. <col ref="bcno2"/>
  502. <script type="javascript" ev:event="onclick">
  503. <![CDATA[
  504. if(rslt.isCell(event.target) && rslt.row >= rslt.fixedRows){
  505. fGetResn();
  506. }
  507. ]]>
  508. </script>
  509. <script type="javascript" ev:event="onaftersort">
  510. <![CDATA[
  511. // rslt.gridToInstance();
  512. ]]>
  513. </script>
  514. </datagrid>
  515. <line id="line6" class="line_3" style="x1:0px; y1:740px; x2:1194px; y2:740px; "/>
  516. <line id="line4" class="line_3" style="x1:0px; y1:696px; x2:1193px; y2:696px; "/>
  517. <button id="button1" class="btn2_letter2" style="left:1152px; top:74px; width:42px; height:19px; ">
  518. <caption>엑셀</caption>
  519. <script type="javascript" ev:event="DOMActivate">
  520. <![CDATA[
  521. fExeExcel(rslt);
  522. ]]>
  523. </script>
  524. </button>
  525. <textarea id="output5" ref="/root/hidden/testcont" class="output_fix" appearance="textarea" style="left:84px; top:699px; width:1109px; height:39px; "/>
  526. <caption id="caption13" class="cell_1" style="left:0px; top:697px; width:80px; height:43px; ">사유</caption>
  527. </group>
  528. <group id="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
  529. <button id="button5" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
  530. <caption>초기화</caption>
  531. <script type="javascript" ev:event="onclick">
  532. <![CDATA[
  533. fSetInit();
  534. ]]>
  535. </script>
  536. </button>
  537. <line id="line2" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
  538. </group>
  539. <group id="group2" style="left:0px; top:0px; width:1195px; height:13px; ">
  540. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">다중결과조회</caption>
  541. </group>
  542. </xhtml:body>
  543. </xhtml:html>