SMLOR00400_CMC위탁검사결과등록.xrw 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMLOR00400_CMC위탁검사결과등록.xrw
  4. * 설 명 : CMC위탁검사결과등록
  5. * 설 계 자 : (주)에이씨케이 -
  6. * 작 성 자 : (주)에이씨케이 - 박정은
  7. * 작 성 일 : 2009.12.18
  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 xmlns="">
  18. <main>
  19. <outerlist>
  20. <chk/>
  21. <reqdd/>
  22. <reqinstcd/>
  23. <reqbcno/>
  24. <trustbcno/>
  25. <tclsnm/>
  26. <spcnm/>
  27. <reqpid/>
  28. <trustpid/>
  29. <hngnm/>
  30. <sex/>
  31. <age/>
  32. <rsltstat/>
  33. <reptrslt/>
  34. <descrsltyn/>
  35. <descrslt/>
  36. <readrslt/>
  37. <imagrsltyn/>
  38. <imgrslt/>
  39. <imght/>
  40. <imgwidt/>
  41. <rrgstno/>
  42. <usernm/>
  43. <deptengabbr/>
  44. <wardroom/>
  45. <urinextrvol/>
  46. <tclscd/>
  47. <spccd/>
  48. <testcd/>
  49. <tclskind/>
  50. <trustinstcd/>
  51. <level/>
  52. </outerlist>
  53. </main>
  54. <send>
  55. <codeflag/>
  56. <fromdd/>
  57. <fromtm/>
  58. <todd/>
  59. <totm/>
  60. <acptgbn/>
  61. <extrinstcd/>
  62. <outerdata/>
  63. </send>
  64. <init>
  65. </init>
  66. <hidden>
  67. <ref>
  68. <fromdd/>
  69. <fromtm>0000</fromtm>
  70. <todd/>
  71. <totm>2359</totm>
  72. <acptgbn>1</acptgbn>
  73. <extrinstcd>00</extrinstcd>
  74. <rsltallstat>-</rsltallstat>
  75. </ref>
  76. <spcltestinfo/>
  77. <descrslt>
  78. <descrslt/>
  79. </descrslt>
  80. </hidden>
  81. </root>
  82. </instance>
  83. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  84. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  85. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  86. <script type="javascript" ev:event="xforms-ready">
  87. <![CDATA[
  88. // 초기화
  89. fSetReset();
  90. ]]>
  91. </script>
  92. <!-- 기초코드 조회-->
  93. <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/LB0210"/>
  94. <submission id="TRLOR00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/outerlist"/>
  95. <submission id="TXLOR00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance"/>
  96. </model>
  97. <script type="javascript">
  98. <![CDATA[
  99. // 초기화
  100. function fSetReset(){
  101. model.resetInstanceNode("/root/send");
  102. model.resetInstanceNode("/root/main/outerlist");
  103. grd_outer.fixedcellcheckbox(0,1) = true;
  104. //grd_outer.fixedcellischeck(0, 1) = true;
  105. var mDate = getCurrentDate().toDate("YYYYMMDD").getAddDate(-3);
  106. //model.setValue("/root/hidden/ref/fromdd", mDate.getDateFormat("YYYYMMDD"));
  107. model.setValue("/root/hidden/ref/fromdd", getCurrentDate());
  108. model.setValue("/root/hidden/ref/todd", getCurrentDate());
  109. // 초기정보 조회
  110. model.setValue("/root/send/codeflag", "0110|0000|"); //0110 위탁기관
  111. submit("TRLZZ00101");
  112. button1.visible = true;
  113. button3.visible = true;
  114. model.refresh();
  115. }
  116. // 수탁검사결과조회
  117. function fGetWitakRslt(){
  118. //if(!fSetRefFromdd()){ // 3일 내로만 조회되게
  119. // return;
  120. //}
  121. model.setValue("/root/send/fromdd", model.getValue("/root/hidden/ref/fromdd"));
  122. model.setValue("/root/send/fromtm", model.getValue("/root/hidden/ref/fromtm"));
  123. model.setValue("/root/send/todd", model.getValue("/root/hidden/ref/todd"));
  124. model.setValue("/root/send/totm", model.getValue("/root/hidden/ref/totm"));
  125. model.setValue("/root/send/acptgbn", model.getValue("/root/hidden/ref/acptgbn"));
  126. model.setValue("/root/send/extrinstcd", model.getValue("/root/hidden/ref/extrinstcd"));
  127. model.makeValue("/root/send/userflagcd", model.getValue("/root/init/LB0000/nm"));
  128. submit("TRLOR00401");
  129. setTree(grd_outer, 3, 2, true); // 그리드 , level, tree, ..
  130. //model.refresh();
  131. }
  132. // 결과전송
  133. function fExeOuterRslt(){
  134. // 이미지 결과 Y인것 업로드 하기
  135. //fGetImgFile();
  136. var outerdata = getGridUpdateData(grd_outer);
  137. if(outerdata == ""){
  138. alert("결과등록할 내용이 없습니다. ");
  139. return;
  140. }
  141. model.setValue("/root/send/outerdata", outerdata);
  142. //fSetImgUpload();
  143. if(submit("TXLOR00401", true)){
  144. fGetWitakRslt();
  145. // model.resetInstanceNode("/root/main/outerlist");
  146. //model.resetInstanceNode("/root/main/view");
  147. }
  148. //model.removeNodeset("/root/send/attach");
  149. //model.resetInstanceNode("/root/send");
  150. model.refresh();
  151. }
  152. // 접수구분 선택시 결과저장, 결과확인버튼 숨기기
  153. function fSetSavebutton(){
  154. if(model.getValue("/root/hidden/ref/acptgbn")=="1"){ // 의뢰
  155. button1.visible = true;
  156. button3.visible = true;
  157. }else{ // 전송
  158. button1.visible = true;
  159. button3.visible = true;
  160. }
  161. model.refresh();
  162. }
  163. // 서술결과버튼 클릭하면 상세보기 팝업
  164. function fGetDescrslt(){
  165. model.resetInstanceNode("/root/hidden/descrslt");
  166. var row = grd_outer.row;
  167. if(row> 0){
  168. if(model.getValue("/root/main/outerlist["+row+"]/descrsltyn")=="Y"){
  169. model.makeValue("/root/hidden/descrslt/readrslt", model.getValue("/root/main/outerlist["+row+"]/readrslt"));
  170. modal("SPLOR90100","", "", "","", "/root/hidden/descrslt", "/root/hidden/descrslt");
  171. }
  172. }
  173. }
  174. // 이미지결과 보여주기
  175. function fSetImgRsltView(){
  176. model.resetInstanceNode("/root/hidden/spcltestinfo");
  177. var row = grd_outer.row;
  178. if(model.getValue("/root/hidden/ref/acptgbn")=="1"){
  179. alert("접수구분이 의뢰상태일때는 이미지결과 조회가 불가능합니다. ");
  180. return;
  181. }
  182. if(row> 0){
  183. if(model.getValue("/root/main/outerlist["+row+"]/imagrsltyn")=="Y"){
  184. model.makeValue("/root/hidden/spcltestinfo/bcno", model.getValue("/root/main/outerlist["+row+"]/reqbcno"));
  185. model.makeValue("/root/hidden/spcltestinfo/testcd", model.getValue("/root/main/outerlist["+row+"]/testcd"));
  186. model.makeValue("/root/hidden/spcltestinfo/spccd", model.getValue("/root/main/outerlist["+row+"]/spccd"));
  187. model.makeValue("/root/hidden/spcltestinfo/tclscd", model.getValue("/root/main/outerlist["+row+"]/tclscd"));
  188. model.makeValue("/root/hidden/spcltestinfo/pid", model.getValue("/root/main/outerlist["+row+"]/reqpid"));
  189. model.makeValue("/root/hidden/spcltestinfo/rsltstat", model.getValue("/root/main/outerlist["+row+"]/rsltstat"));
  190. modal("SMLRR01500","", "", "","", "/root/hidden/spcltestinfo", "/root/hidden/spcltestinfo");
  191. }
  192. }
  193. }
  194. // 그리드 전체선택, 전체해제
  195. function fsetgridstatus(){
  196. for(i=1; i< grd_outer.rows; i++){
  197. if(model.getValue("/root/main/outerlist["+i+"]/chk") == "true"){
  198. grd_outer.rowStatus(i) = 2;
  199. }else{
  200. grd_outer.rowStatus(i) = 0;
  201. }
  202. }
  203. }
  204. // 검체번호 같은겉 전부선택되게
  205. function fSetBcnocheck(){
  206. for(i=1; i<grd_outer.rows; i++ ){
  207. if(model.getValue("/root/main/outerlist["+grd_outer.row+"]/chk")=="true"){
  208. if(model.getValue("/root/main/outerlist["+grd_outer.row+"]/trustbcno")== model.getValue("/root/main/outerlist["+i+"]/trustbcno")){
  209. model.setValue("/root/main/outerlist["+i+"]/chk", "true");
  210. }
  211. //grd_outer.rowStatus(i) = 2; // 수정
  212. }else{
  213. //alert("i= " + i);
  214. if(model.getValue("/root/main/outerlist["+grd_outer.row+"]/trustbcno")== model.getValue("/root/main/outerlist["+i+"]/trustbcno")){
  215. model.setValue("/root/main/outerlist["+i+"]/chk", "false");
  216. }
  217. //grd_outer.rowStatus(i) = 0; // 취소
  218. }
  219. if(model.getValue("/root/main/outerlist["+ i +"]/chk") == "true"){
  220. grd_outer.rowStatus(i) = 2; // 수정
  221. }else{
  222. grd_outer.rowStatus(i) = 0; // 취소
  223. }
  224. }
  225. grd_outer.refresh();
  226. }
  227. // 저장상태 변경
  228. function fSetRsltStat(){
  229. if(grd_outer.rows> 1){
  230. for(i=1; i<grd_outer.rows; i++){
  231. model.setValue("/root/main/outerlist["+i+"]/rsltstat", model.getValue("/root/hidden/ref/rsltallstat"));
  232. }
  233. model.refresh();
  234. }else{
  235. alert("변경할 내용이 없습니다. ");
  236. }
  237. }
  238. // 엑셀 저장
  239. function fExeExcel(pGridId) {
  240. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  241. if (fileName != "")
  242. {
  243. pGridId.saveExcel(fileName);
  244. }
  245. }
  246. // 이미지 업로드
  247. function fSetImgUpload(){
  248. var vCnt = 0;
  249. var imgPath = new Array();
  250. var maxsize = upload1.attribute("filesize");
  251. for(i=1; i<grd_outer.rows; i++){
  252. if(model.getValue("/root/main/outerlist["+i+"]/imgyn")=="Y"){
  253. if(model.getValue("/root/main/outerlist["+i+"]/imgnm")!= ""){
  254. fChangeImage(model.getValue("/root/hidden/imgname") + "\\" + model.getValue("/root/main/outerlist["+i+"]/imgnm"));
  255. grd_attach.addRow(); // grd_attach 업로드용 그리드
  256. grd_attach.valueMatrix(grd_attach.rows - 1, 0) = model.getValue("/root/hidden/imgname") + "\\" + model.getValue("/root/main/outerlist["+i+"]/imgnm");
  257. grd_attach.valueMatrix(grd_attach.rows - 1, 1) = model.getValue("/root/main/outerlist["+i+"]/bcno");
  258. grd_attach.valueMatrix(grd_attach.rows - 1, 2) = model.getValue("/root/main/outerlist["+i+"]/testcd");
  259. grd_attach.valueMatrix(grd_attach.rows - 1, 3) = model.getValue("/root/main/outerlist["+i+"]/rsltstat");
  260. //grd_attach.valueMatrix(grd_attach.rows - 1, 4) = "450";
  261. //grd_attach.valueMatrix(grd_attach.rows - 1, 5) = "317";
  262. grd_attach.valueMatrix(grd_attach.rows - 1, 4) = model.getValue("/root/main/view/imght");
  263. grd_attach.valueMatrix(grd_attach.rows - 1, 5) = model.getValue("/root/main/view/imgwidt");
  264. grd_attach.valueMatrix(grd_attach.rows - 1, 6) = model.getValue("/root/main/view/imgrslt");
  265. if (!checkFileSize(upload1)){
  266. grd_attach.removeItem();
  267. messageBox("파일 크기가 최대치("+maxsize+"Byte)를", "E003");
  268. }
  269. }
  270. }
  271. }
  272. }
  273. function fChangeImage(imgsrc){ // 이미지 전환
  274. img2.src = imgsrc;
  275. var data = img2.getbase64data();
  276. var imgSize = getImageSize(imgsrc);
  277. model.setValue("/root/main/view/imgrslt",data,true);
  278. //model.setValue("/root/main/view/imgrslt", data);
  279. // setImageRefInstance("/root/main/view/imgrslt");
  280. if( imgSize.split("^")[0] >= 2500){
  281. model.setValue("/root/main/view/imgwidt", parseInt(imgSize.split("^")[0] * 0.3) );
  282. model.setValue("/root/main/view/imght", parseInt(imgSize.split("^")[1] * 0.3) );
  283. }else if( imgSize.split("^")[0] > 2000 && imgSize.split("^")[0] < 2500){
  284. model.setValue("/root/main/view/imgwidt", parseInt(imgSize.split("^")[0] * 0.4) );
  285. model.setValue("/root/main/view/imght", parseInt(imgSize.split("^")[1] * 0.4) );
  286. }else{
  287. model.setValue("/root/main/view/imgwidt", imgSize.split("^")[0]);
  288. model.setValue("/root/main/view/imght", imgSize.split("^")[1]);
  289. }
  290. model.refresh();
  291. }
  292. // 전송확인
  293. function fGetOuterRsltConfirm(){
  294. model.removeNodeset("/root/hidden/cnfmlist");
  295. if(grd_outer.rows < 2){
  296. //alert("전송확인할 항목이 없습니다.");
  297. messageBox("전송확인할 항목이 ", "I004", "");
  298. return;
  299. }
  300. var keylist = model.getValue("/root/main/outerlist[1]/rkey");
  301. var bcnolist = model.getValue("/root/main/outerlist[1]/bcno");
  302. var testlist = model.getValue("/root/main/outerlist[1]/testcd");
  303. for(i=2; i<grd_outer.rows; i++ ){
  304. keylist = keylist + "','" + model.getValue("/root/main/outerlist["+i+"]/rkey");
  305. bcnolist = bcnolist + "','" + model.getValue("/root/main/outerlist["+i+"]/bcno");
  306. testlist = testlist + "','" + model.getValue("/root/main/outerlist["+i+"]/testcd");
  307. }
  308. model.setValue("/root/send/cnfmdata", "'" + keylist + "'");
  309. model.setValue("/root/send/bcnolist", "'" + bcnolist + "'");
  310. model.setValue("/root/send/testlist", "'" + testlist + "'");
  311. //alert("aaa= " + model.getValue("/root/send/cnfmdata"));
  312. if(submit("TRLOR00201")){
  313. var refRow = getNodesetCount("/root/hidden/cnfmlist");
  314. for(j=1; j<=refRow; j++){
  315. for(i=1; i<grd_outer.rows; i++ ){
  316. if(model.getValue("/root/main/outerlist["+j+"]/rkey")==model.getValue("/root/hidden/cnfmlist["+i+"]/rkey")){
  317. model.setValue("/root/main/outerlist["+i+"]/srvstat", model.getValue("/root/hidden/cnfmlist["+j+"]/rsltstat"));
  318. }
  319. }
  320. }
  321. }else{
  322. alert("조회오류");
  323. }
  324. }
  325. // 이미지 있을때 업로드 하기
  326. function fGetImgFile(){
  327. var maxsize = upload1.attribute("filesize");
  328. //alert("maxsize= " + maxsize);
  329. //files = window.fileDialog("open", "|", true);
  330. //filelist = files.split("|");
  331. var imgpath = model.getValue("/root/hidden/imgname");
  332. var filefullName = imgpath + "\\" + model.getValue("/root/main/outerlist/imgnm");
  333. model.setValue("/root/main/outerlist/imgfull", filefullName);
  334. img2.src = filefullName;
  335. var data = img2.getbase64data();
  336. //alert("data= " + data);
  337. var imgsize = getImageSize(filefullName);
  338. //alert("imgsize= " + imgsize);
  339. model.setValue("/root/main/view/imgrslt", data, true);
  340. setImageRefInstance("/root/main/view/imgrslt");
  341. model.setValue("/root/main/view/imgwidt", imgsize.split("^")[0]);
  342. model.setValue("/root/main/view/imght", imgsize.split("^")[1]);
  343. img2.attribute("width")= imgsize.split("^")[0];
  344. img2.attribute("height")= imgsize.split("^")[1];
  345. model.copyNode("/root/send/data2" , "/root/main/view" )
  346. model.refresh();
  347. /*for(i=1; i<grd_outer.rows; i++ ){
  348. //alert("i= " + i + " rows= " + grd_outer.rows);
  349. if(("Y" == model.getValue("/root/main/outerlist["+i+"]/imgyn")) || ("" != model.getValue("/root/main/outerlist["+i+"]/imgnm"))){
  350. if(imgpath == ""){
  351. alert("이미지 경로가 없습니다.");
  352. return;
  353. }
  354. var filefullName = imgpath + "\\" + model.getValue("/root/main/outerlist["+i+"]/imgnm");
  355. model.setValue("/root/main/outerlist["+i+"]/imgfull", filefullName);
  356. img2.src = filefullName;
  357. var data = img2.getbase64data();
  358. //alert("data= " + data);
  359. var imgsize = getImageSize(filefullName);
  360. //alert("imgsize= " + imgsize);
  361. model.setValue("/root/main/outerlist["+i+"]/imgrslt", data, true);
  362. model.setValue("/root/main/outerlist["+i+"]/imgwidt", imgsize.split("^")[0]);
  363. model.setValue("/root/main/outerlist["+i+"]/imght", imgsize.split("^")[1]);
  364. if (!checkFileSize(upload1)){
  365. //grd_attach.removeItem();
  366. messageBox("파일 크기가 최대치("+maxsize+"Byte)를", "E003");
  367. return;
  368. }
  369. }
  370. }*/
  371. }
  372. // 조회기간 3일간만 조회가능
  373. function fSetRefFromdd() {
  374. var fromdd = model.getValue("/root/hidden/refparam/startdd");
  375. var todd = model.getValue("/root/hidden/refparam/enddd");
  376. var mDate = todd.toDate("YYYYMMDD").getAddDate(-3);
  377. if(mDate.getDateFormat("YYYYMMDD") > fromdd) {
  378. messageBox("3일 이내의 기간만 검색","I006");
  379. return false;
  380. }else if(todd < fromdd) {
  381. messageBox("기간설정이 잘못", "E005");
  382. return false;
  383. }else {
  384. return true;
  385. }
  386. }
  387. ]]>
  388. </script>
  389. </xhtml:head>
  390. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  391. <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:744px; ">
  392. <line id="line1" class="line_1" style="x1:0px; y1:69px; x2:1195px; y2:69px; "/>
  393. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:10px; width:1195px; height:34px; "/>
  394. <line id="line11" class="line_4" style="x1:1108px; y1:17px; x2:1108px; y2:39px; "/>
  395. <caption id="caption1" class="tit_2" style="left:5px; top:54px; width:131px; height:13px; ">위탁검사목록</caption>
  396. <button id="button2" class="btn2_letter4" style="left:1131px; top:48px; width:64px; height:19px; ">
  397. <caption>엑셀저장</caption>
  398. <script type="javascript" ev:event="DOMActivate">
  399. <![CDATA[
  400. fExeExcel(grd_outer);
  401. ]]>
  402. </script>
  403. </button>
  404. <datagrid id="grd_outer" nodeset="/root/main/outerlist" class="datagrid2" caption="^▣^level^접수일자^의뢰기관^의뢰병원&#xA;바코드번호^CMCnU&#xA;바코드번호^검사명^검체명^의뢰병원&#xA;등록번호^CMCnU&#xA;등록번호^환자명^성별^나이^결과&#xA;상태^결과^서술결과여부^서술결과^이미지&#xA;결과여부^이미지결과^주민등록번호^의뢰의사명^진료과명^병동/병실^소변량^tclscd^spccd^testcd^tclskind^instcd^imght^imgwidt" colsep="^" colwidth="30, 24, 39, 72, 90, 74, 74, 120, 80, 70, 70, 62, 34, 34, 60, 80, 50, 36, 54, 40, 110, 70, 60, 69, 50, 50, 40, 50, 24, 62, 43, 56" dataheight="23" defaultrows="0" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:74px; width:1195px; height:661px; ">
  405. <col checkvalue="true,false" ref="chk" type="checkbox" format="yyyy-mm-dd"/>
  406. <col/>
  407. <col ref="level" visibility="hidden"/>
  408. <col ref="reqdd" format="yyyy-mm-dd"/>
  409. <col ref="reqinstcd" type="combo">
  410. <choices>
  411. <item>
  412. <label>성모병원</label>
  413. <value>011</value>
  414. </item>
  415. <item>
  416. <label>서울성모병원</label>
  417. <value>012</value>
  418. </item>
  419. <item>
  420. <label>의정부성모병원</label>
  421. <value>013</value>
  422. </item>
  423. <item>
  424. <label>부천성모병원</label>
  425. <value>014</value>
  426. </item>
  427. <item>
  428. <label>성빈센트병원</label>
  429. <value>017</value>
  430. </item>
  431. <item>
  432. <label>성바오로병원</label>
  433. <value>015</value>
  434. </item>
  435. <item>
  436. <label>성모자애병원</label>
  437. <value>016</value>
  438. </item>
  439. <item>
  440. <label>대전성모병원</label>
  441. <value>018</value>
  442. </item>
  443. </choices>
  444. </col>
  445. <col ref="reqbcno" type="input"/>
  446. <col ref="trustbcno" type="input"/>
  447. <col ref="tclsnm"/>
  448. <col ref="spcnm"/>
  449. <col ref="reqpid" type="input"/>
  450. <col ref="trustpid" type="input"/>
  451. <col ref="hngnm"/>
  452. <col ref="sex"/>
  453. <col ref="age" style="left:940px; top:23px; width:100px; height:23px; "/>
  454. <col ref="rsltstat" type="combo">
  455. <choices>
  456. <item>
  457. <label>결과저장</label>
  458. <value>1</value>
  459. </item>
  460. <item>
  461. <label>중간보고</label>
  462. <value>2</value>
  463. </item>
  464. <item>
  465. <label>최종보고중</label>
  466. <value>3</value>
  467. </item>
  468. <item>
  469. <label>최종보고</label>
  470. <value>4</value>
  471. </item>
  472. <item>
  473. <label>수정보고</label>
  474. <value>5</value>
  475. </item>
  476. <item>
  477. <label>-</label>
  478. <value>-</value>
  479. </item>
  480. </choices>
  481. </col>
  482. <col ref="reptrslt"/>
  483. <col ref="descrsltyn"/>
  484. <col type="inputbutton"/>
  485. <col ref="imagrsltyn"/>
  486. <col type="inputbutton"/>
  487. <col ref="rrgstno" format="999999-9999999"/>
  488. <col ref="usernm"/>
  489. <col ref="deptengabbr"/>
  490. <col ref="wardroom"/>
  491. <col ref="urinextrvol"/>
  492. <col ref="tclscd"/>
  493. <col ref="spccd"/>
  494. <col ref="testcd"/>
  495. <col ref="tclskind"/>
  496. <col ref="trustinstcd" type="combo">
  497. <choices>
  498. <item>
  499. <label>성모병원</label>
  500. <value>011</value>
  501. </item>
  502. <item>
  503. <label>서울성모병원</label>
  504. <value>012</value>
  505. </item>
  506. <item>
  507. <label>의정부성모병원</label>
  508. <value>013</value>
  509. </item>
  510. <item>
  511. <label>부천성모병원</label>
  512. <value>014</value>
  513. </item>
  514. <item>
  515. <label>성빈센트병원</label>
  516. <value>017</value>
  517. </item>
  518. <item>
  519. <label>성바오로병원</label>
  520. <value>015</value>
  521. </item>
  522. <item>
  523. <label>성모자애병원</label>
  524. <value>016</value>
  525. </item>
  526. <item>
  527. <label>대전성모병원</label>
  528. <value>018</value>
  529. </item>
  530. </choices>
  531. </col>
  532. <col ref="imght"/>
  533. <col ref="imgwidt"/>
  534. <script type="javascript" ev:event="onbuttonclick">
  535. <![CDATA[
  536. if(grd_outer.col == "18"){ // 서술결과버톤
  537. fGetDescrslt();
  538. }else if(grd_outer.col== "20"){ // 이미지결과버튼
  539. fSetImgRsltView();
  540. }
  541. ]]>
  542. </script>
  543. <script type="javascript" ev:event="xforms-select">
  544. <![CDATA[
  545. //alert("select");
  546. if(grd_outer.row == "0"){
  547. fsetgridstatus();
  548. }else{
  549. fSetBcnocheck();
  550. }
  551. ]]>
  552. </script>
  553. <script type="javascript" ev:event="xforms-deselect">
  554. <![CDATA[
  555. //alert("deselect");
  556. if(grd_outer.row == "0"){
  557. fsetgridstatus();
  558. }else{
  559. fSetBcnocheck();
  560. }
  561. ]]>
  562. </script>
  563. </datagrid>
  564. <col ref="rsltstat" type="combo">
  565. <choices>
  566. <item>
  567. <label>-</label>
  568. <value>-</value>
  569. </item>
  570. <item>
  571. <label>저장</label>
  572. <value>1</value>
  573. </item>
  574. <item>
  575. <label>중간보고</label>
  576. <value>2</value>
  577. </item>
  578. <item>
  579. <label>최종보고중</label>
  580. <value>3</value>
  581. </item>
  582. <item>
  583. <label>????</label>
  584. <value>4</value>
  585. </item>
  586. <item>
  587. <label>최종보고</label>
  588. <value>5</value>
  589. </item>
  590. </choices>
  591. </col>
  592. <caption id="caption7" class="search_name" style="left:15px; top:17px; width:86px; height:17px; ">의뢰일시 :</caption>
  593. <input id="input1" ref="/root/hidden/ref/fromdd" class="input_search" inputtype="date" style="left:105px; top:18px; width:90px; height:19px; "/>
  594. <input id="input2" ref="/root/hidden/ref/todd" class="input_search" inputtype="date" style="left:260px; top:18px; width:90px; height:19px; "/>
  595. <caption id="caption8" class="search_no_b" style="left:246px; top:18px; width:12px; height:17px; ">~</caption>
  596. <caption id="caption10" class="search_name" style="left:465px; top:19px; width:94px; height:17px; ">접수구분 :</caption>
  597. <select1 id="combo2" ref="/root/hidden/ref/acptgbn" class="combo_default" appearance="minimal" style="left:555px; top:18px; width:75px; height:19px; ">
  598. <choices>
  599. <item>
  600. <label>의뢰</label>
  601. <value>1</value>
  602. </item>
  603. <item>
  604. <label>전송</label>
  605. <value>2</value>
  606. </item>
  607. </choices>
  608. <script type="javascript" ev:event="xforms-select">
  609. <![CDATA[
  610. fSetSavebutton();
  611. ]]>
  612. </script>
  613. </select1>
  614. <button id="button8" class="btn1_letter2" style="left:1124px; top:17px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  615. <caption>조회</caption>
  616. <script type="javascript" ev:event="DOMActivate">
  617. <![CDATA[
  618. fGetWitakRslt();
  619. ]]>
  620. </script>
  621. </button>
  622. <caption id="caption11" class="search_name" style="left:690px; top:19px; width:92px; height:17px; ">위탁기관 :</caption>
  623. <select1 id="combo1" ref="/root/hidden/ref/extrinstcd" class="combo_default" appearance="minimal" style="left:780px; top:18px; width:120px; height:19px; ">
  624. <choices>
  625. <itemset nodeset="/root/init/LB0110">
  626. <label ref="nm"/>
  627. <value ref="cd"/>
  628. </itemset>
  629. </choices>
  630. </select1>
  631. <input id="input6" ref="/root/hidden/ref/fromtm" class="input_search" format="hh:nn" style="left:198px; top:18px; width:45px; height:19px; text-align:center; "/>
  632. <input id="input7" ref="/root/hidden/ref/totm" class="input_search" format="hh:nn" style="left:353px; top:18px; width:45px; height:19px; text-align:center; "/>
  633. <button id="button4" class="btn2_letter7" style="left:658px; top:48px; width:97px; height:19px; ">
  634. <caption>↓저장상태변경</caption>
  635. <script type="javascript" ev:event="DOMActivate">
  636. <![CDATA[
  637. fSetRsltStat();
  638. ]]>
  639. </script>
  640. </button>
  641. <caption id="caption12" class="tit_2" style="left:445px; top:51px; width:126px; height:13px; ">저장상태일괄변경</caption>
  642. <select1 id="combo5" ref="/root/hidden/ref/rsltallstat" appearance="minimal" style="left:570px; top:48px; width:85px; height:19px; ">
  643. <choices>
  644. <item>
  645. <label>-</label>
  646. <value>-</value>
  647. </item>
  648. <item>
  649. <label>저장</label>
  650. <value>1</value>
  651. </item>
  652. <item>
  653. <label>중간보고</label>
  654. <value>2</value>
  655. </item>
  656. <item>
  657. <label>최종보고</label>
  658. <value>4</value>
  659. </item>
  660. <item>
  661. <label>수정보고</label>
  662. <value>5</value>
  663. </item>
  664. </choices>
  665. </select1>
  666. </group>
  667. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">CMC 위탁검사결과등록</caption>
  668. <group id="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
  669. <button id="button5" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
  670. <caption>초기화</caption>
  671. <script type="javascript" ev:event="DOMActivate">
  672. <![CDATA[
  673. fSetReset();
  674. ]]>
  675. </script>
  676. </button>
  677. <line id="line17" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
  678. <button id="button3" class="btn4_letter4" disabled="true" style="left:1043px; top:3px; width:80px; height:22px; ">
  679. <caption>결과확인</caption>
  680. <script type="javascript" ev:event="DOMActivate">
  681. <![CDATA[
  682. //fExeOuterRslt();
  683. //fExeSutakRslt();
  684. alert("개발중");
  685. ]]>
  686. </script>
  687. </button>
  688. <button id="button1" class="btn4_letter4" style="left:958px; top:3px; width:80px; height:22px; ">
  689. <caption>결과저장</caption>
  690. <script type="javascript" ev:event="DOMActivate">
  691. <![CDATA[
  692. fExeOuterRslt();
  693. ]]>
  694. </script>
  695. </button>
  696. </group>
  697. </xhtml:body>
  698. </xhtml:html>