SMLLR90600_수정대장기록.xrw 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SPLLR90600_수정대장기록.xrw
  4. * 설 명 : 수정대장기록
  5. * 설 계 자 : (주)에이씨케이 - 조철형
  6. * 작 성 자 : (주)에이씨케이 - 조철형
  7. * 작 성 일 : 2007.07.03
  8. * 수정이력 :
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  12. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  13. <xhtml:head>
  14. <xhtml:title>수정대장기록</xhtml:title>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root xmlns="">
  18. <main>
  19. <TestResultList>
  20. <tclsscrnnm/>
  21. <chk/>
  22. <selchk01 readonly="" testcd="" rsltseq="" inptrslt="" rsltstat="" tooltip=""/>
  23. <result01/>
  24. <selchk02 readonly="" testcd="" rsltseq="" inptrslt="" rsltstat="" tooltip=""/>
  25. <result02/>
  26. <selchk03 readonly="" testcd="" rsltseq="" inptrslt="" rsltstat="" tooltip=""/>
  27. <result03/>
  28. <selchk04 readonly="" testcd="" rsltseq="" inptrslt="" rsltstat="" tooltip=""/>
  29. <result04/>
  30. <selchk05 readonly="" testcd="" rsltseq="" inptrslt="" rsltstat="" tooltip=""/>
  31. <result05/>
  32. <selchk06 readonly="" testcd="" rsltseq="" inptrslt="" rsltstat="" tooltip=""/>
  33. <result06/>
  34. <selchk07 readonly="" testcd="" rsltseq="" inptrslt="" rsltstat="" tooltip=""/>
  35. <result07/>
  36. <selchk08 readonly="" testcd="" rsltseq="" inptrslt="" rsltstat="" tooltip=""/>
  37. <result08/>
  38. <selchk09 readonly="" testcd="" rsltseq="" inptrslt="" rsltstat="" tooltip=""/>
  39. <result09/>
  40. <selchk10 readonly="" testcd="" rsltseq="" inptrslt="" rsltstat="" tooltip=""/>
  41. <result10/>
  42. <selchk11 readonly="" testcd="" rsltseq="" inptrslt="" rsltstat="" tooltip=""/>
  43. <result11/>
  44. <selchk12 readonly="" testcd="" rsltseq="" inptrslt="" rsltstat="" tooltip=""/>
  45. <result12/>
  46. <selchk13 readonly="" testcd="" rsltseq="" inptrslt="" rsltstat="" tooltip=""/>
  47. <result13/>
  48. <selchk14 readonly="" testcd="" rsltseq="" inptrslt="" rsltstat="" tooltip=""/>
  49. <result14/>
  50. <selchk15 readonly="" testcd="" rsltseq="" inptrslt="" rsltstat="" tooltip=""/>
  51. <result15/>
  52. <selchk16 readonly="" testcd="" rsltseq="" inptrslt="" rsltstat="" tooltip=""/>
  53. <result16/>
  54. <selchk17 readonly="" testcd="" rsltseq="" inptrslt="" rsltstat="" tooltip=""/>
  55. <result17/>
  56. <selchk18 readonly="" testcd="" rsltseq="" inptrslt="" rsltstat="" tooltip=""/>
  57. <result18/>
  58. <selchk19 readonly="" testcd="" rsltseq="" inptrslt="" rsltstat="" tooltip=""/>
  59. <result19/>
  60. <selchk20 readonly="" testcd="" rsltseq="" inptrslt="" rsltstat="" tooltip=""/>
  61. <result20/>
  62. <selchk21 readonly="" testcd="" rsltseq="" inptrslt="" rsltstat="" tooltip=""/>
  63. <result21/>
  64. <selchk22 readonly="" testcd="" rsltseq="" inptrslt="" rsltstat="" tooltip=""/>
  65. <result22/>
  66. <selchk23 readonly="" testcd="" rsltseq="" inptrslt="" rsltstat="" tooltip=""/>
  67. <result23/>
  68. <selchk24 readonly="" testcd="" rsltseq="" inptrslt="" rsltstat="" tooltip=""/>
  69. <result24/>
  70. <selchk25 readonly="" testcd="" rsltseq="" inptrslt="" rsltstat="" tooltip=""/>
  71. <result25/>
  72. <selchk26 readonly="" testcd="" rsltseq="" inptrslt="" rsltstat="" tooltip=""/>
  73. <result26/>
  74. <selchk27 readonly="" testcd="" rsltseq="" inptrslt="" rsltstat="" tooltip=""/>
  75. <result27/>
  76. <selchk28 readonly="" testcd="" rsltseq="" inptrslt="" rsltstat="" tooltip=""/>
  77. <result28/>
  78. <selchk29 readonly="" testcd="" rsltseq="" inptrslt="" rsltstat="" tooltip=""/>
  79. <result29/>
  80. <selchk30 readonly="" testcd="" rsltseq="" inptrslt="" rsltstat="" tooltip=""/>
  81. <result30/>
  82. <testcd/>
  83. <spccd/>
  84. <bcno/>
  85. </TestResultList>
  86. <TestResultInfo>
  87. <patnm/>
  88. <pid/>
  89. <orddeptnm/>
  90. <roomcd/>
  91. <usernm/>
  92. <userid/>
  93. <updtresn/>
  94. <usernm/>
  95. <rec/>
  96. </TestResultInfo>
  97. </main>
  98. <send>
  99. <data1/>
  100. <data2/>
  101. <codeflag/>
  102. <acceptid/>
  103. </send>
  104. <init>
  105. </init>
  106. <hidden>
  107. <DJGGParm>
  108. <bcno/>
  109. <testlrgkind/>
  110. <microtestkind/>
  111. <bufDJGG/>
  112. <userid/>
  113. </DJGGParm>
  114. <getUsernm>
  115. <usernm/>
  116. </getUsernm>
  117. <editresn/>
  118. <resncd/>
  119. <notiinfo>
  120. <notipsn/>
  121. </notiinfo>
  122. <getuserAnm>
  123. <acceptnm/>
  124. </getuserAnm>
  125. </hidden>
  126. </root>
  127. </instance>
  128. <script type="javascript" ev:event="xforms-model-construct-done">
  129. <![CDATA[
  130. grd_resultlist.fixedcellcheckbox(0,1)=true;
  131. fInit();
  132. if(getPatientInfoDetail("orddrnm") != "") {
  133. model.makeValue("/root/main/TestResultInfo/rec", getPatientInfoDetail("orddrnm"));
  134. }
  135. //onPopUpCheck();
  136. //fUserNMRef(); 6/12일 수정자ID 직접입력을 원하셔서 막음..
  137. // 수정사유콤보
  138. fGetEditResn();
  139. model.setFocus("input2");
  140. ]]>
  141. </script>
  142. <script type="javascript" src="../../../lis/commonweb/js/LLZ001.js"/>
  143. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  144. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  145. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  146. <submission id="TRLLR90601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main"/>
  147. <submission id="TXLLR90601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance"/>
  148. <submission id="TRLZZ00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden/getUsernm"/>
  149. <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/LB0101"/>
  150. <submission id="TRLBT10404" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden/getuserAnm"/>
  151. </model>
  152. <script type="javascript">
  153. <![CDATA[
  154. // 수정사유콤보 조회
  155. function fGetEditResn(){
  156. model.setValue("/root/send/codeflag", "0101|"); // 0101 사유코드관리
  157. submit("TRLZZ00101");
  158. var resncnt = getNodesetCount("/root/init/LB0101");
  159. NodeCnt = 1;
  160. for(i=1; i<resncnt; i++ ){
  161. if(model.getValue("/root/init/LB0101["+i+"]/etc01")=="10"){ // 수정사유
  162. model.makeValue("/root/hidden/editresn["+NodeCnt+"]/cd", model.getValue("/root/init/LB0101["+i+"]/cd"));
  163. model.makeValue("/root/hidden/editresn["+NodeCnt+"]/nm", model.getValue("/root/init/LB0101["+i+"]/nm"));
  164. NodeCnt++;
  165. }
  166. }
  167. model.refresh();
  168. }
  169. function fInit() {
  170. model.copyNode("/root/send/data1" , "/root/hidden/DJGGParm");
  171. submit("TRLLR90601" );
  172. var vMaxrstno = model.getValue("/root/main/TestResultList/maxrstno");
  173. if (parseInt(vMaxrstno) > 30) {
  174. model.setValue("/root/main/TestResultList/maxrstno", "30");
  175. vMaxrstno = 30;
  176. }
  177. for (var r = 1; r <= getNodesetCount("/root/main/TestResultList"); r++) {
  178. for (var n = 1; n <= eval(vMaxrstno); n++) {
  179. var vRstno = n.toString().getLeftPad(2 , 0);
  180. var c = parseInt(n) +5;
  181. //var vTooltipText = model.getValue("/root/main/TestResultList["+r+"]/selchk" + vRstno + "/@tooltip");
  182. //if (vTooltipText.getTrim() != "") {
  183. //grd_resultlist.tooltipText(r,c) = vTooltipText.toString().replace("/", "\n");
  184. //}
  185. // 최종보고, 중간(예비)보고는 FontColor 변경
  186. if (model.getValue("/root/main/TestResultList["+r+"]/selchk" + vRstno + "/@rsltstat") == "4" ||
  187. model.getValue("/root/main/TestResultList["+r+"]/selchk" + vRstno + "/@rsltstat") == "5") {
  188. grd_resultlist.cellstyle("background-color", r, c,r,c) = "#f3e1bf";
  189. grd_resultlist.cellstyle("color", r, c,r,c) = "#ff3300";
  190. } else if (model.getValue("/root/main/TestResultList["+r+"]/selchk" + vRstno + "/@rsltstat") == "2") {
  191. //grd_resultlist.cellstyle("background-color" , r, c,r,c) = "#f3e1bf";
  192. grd_resultlist.cellstyle("color", r, c,r,c) = "#184d8b";
  193. } else if (model.getValue("/root/main/TestResultList["+r+"]/selchk" + vRstno + "/@rsltstat") == "1") {
  194. //grd_resultlist.cellstyle("background-color" , r, c,r,c) = "#f3e1bf";
  195. grd_resultlist.cellstyle("color", r, c,r,c) = "#423a46";
  196. }
  197. }
  198. }
  199. model.removeNodeset("/root/send/data1/userid");
  200. model.refresh();
  201. fColHidden(parseInt(vMaxrstno) + 1);
  202. fUpRslt();
  203. }
  204. function fUpRslt(){
  205. var vRSLTLIST = model.getvalue("/root/hidden/DJGGParm/bufDJGG");
  206. if (vRSLTLIST.getTrim() != "") {
  207. var vRowA = vRSLTLIST.split("▩");
  208. }
  209. for(i=1;i<=getNodesetCount("/root/main/TestResultList");i++){
  210. var lastRst = model.getvalue("/root/main/TestResultList["+i+"]/lastRst");
  211. var testcd = model.getvalue("/root/main/TestResultList["+i+"]/testcd");
  212. var col = parseInt(lastRst) + 6;
  213. var pLast = parseInt(lastRst) + 1;
  214. for (n = 0; n < vRowA.length - 1; n++) {
  215. vColA = vRowA[n].split("▦");
  216. if(vColA[0] == testcd){
  217. model.setvalue("/root/main/TestResultList["+i+"]/result" + pLast.toString().getLeftPad(2 , 0), vColA[1]);
  218. grd_resultlist.cellstyle("background-color", i, col,i,col) = "#FFCCCC";
  219. grd_resultlist.cellstyle("color", i, col,i,col) = "#0606FF";
  220. grd_resultlist.cellstyle("font-weight", i, col) = "bold";
  221. break;
  222. }
  223. }
  224. }
  225. grd_resultlist.rebuild();
  226. }
  227. /**
  228. * Column Hidden
  229. *
  230. */
  231. function fColHidden(pMaxrst) {
  232. for (var i = 1; i <= 30; i++) {
  233. var vCol = (eval(i) +5);
  234. var vState = (i > eval(pMaxrst)) ? true : false;
  235. grd_resultlist.ColHidden(vCol) = vState;
  236. }
  237. }
  238. // 선택버튼 클릭
  239. function fSelect_Click() {
  240. var rs = grd_resultlist.rows;
  241. var cnt = 0;
  242. grd_resultlist.clearStatus();
  243. model.setvalue("/root/main/TestResultInfo/userid" , "/root/hidden/DJGGParm/userid");
  244. for(i=1;i<rs;i++){
  245. grd_resultlist.addStatus(i,"insert");
  246. }
  247. if(model.getValue("/root/main/TestResultInfo/updtresn") == ""){
  248. messageBox("수정사유를 ", "C002", "");
  249. return;
  250. }
  251. if(model.getValue("/root/main/TestResultInfo/rec") == ""){
  252. messageBox("수신인을 ", "C001", "");
  253. return;
  254. }
  255. if(messageBox( "", "Q002","" ) == 6){
  256. saveSendNodeSet();
  257. //gyeolGwaHistoryInit();
  258. //onPopUpCheck();
  259. }
  260. return;
  261. //window.close(); // 폼 종료
  262. }
  263. function saveSendNodeSet(){
  264. var rowMax = grd_resultlist.rows- 1;
  265. var col = grd_resultlist.col;
  266. var row = grd_resultlist.row;
  267. var sMakeStr = "m▦rownum▦bcno▦testcd▦spccd▦tclscd▦updtresn▦perchgrid▦rec▦notitrgtid▦notitrgtnm▦inptrslt▦bfinptrslt▦bfrsltseq▩";
  268. var drIF = false;
  269. var perchgrid = "";
  270. var notitrgtid = "";
  271. var notitrgtnm = "";
  272. if(model.getValue("/root/hidden/DJGGParm/userid") == ""){
  273. perchgrid = "-" ; //담당자아이디
  274. }else if(model.getValue("/root/hidden/DJGGParm/userid") != ""){
  275. perchgrid = model.getValue("/root/hidden/DJGGParm/userid"); //담당자아이디
  276. }
  277. if(model.getValue("/root/hidden/notiinfo/notipsn") == ""){
  278. notitrgtid = "-" ;//피통보자아이디
  279. }else{
  280. notitrgtid = model.getValue("/root/hidden/notiinfo/notipsn") ;//피통보자아이디
  281. }
  282. if(model.getValue("/root/hidden/getuserAnm/acceptnm") == ""){
  283. notitrgtnm = "-" ;//피통보자이름
  284. }else{
  285. notitrgtnm = model.getValue("/root/hidden/getuserAnm/acceptnm");//피통보자이름
  286. }
  287. for(var i = 1; i <= rowMax; i++){
  288. //if(model.getValue("/root/main/TestResultList[" + i + "]/chk") == "true"){
  289. var strArray = new Array();
  290. var wardroom = model.getValue("/root/main/TestResultInfo/roomcd");
  291. var lastRst = model.getValue("/root/main/TestResultList[" + i + "]/lastRst"); // 해당열의 마지막 컬럼명 seqno
  292. var bfSeq = 0;
  293. var pList = parseInt(lastRst) + 1;
  294. if(!isNull(lastRst)){ // lastRst - 1
  295. bfSeq = lastRst ;
  296. //bfSeq = bfSeq.getLeftPad(2,0);
  297. pList = pList.toString().getLeftPad(2,0);
  298. }
  299. //* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  300. if(bfSeq > 0){
  301. bfSeq = bfSeq.toString().getLeftPad(2,0);
  302. }else{
  303. bfSeq = "01";
  304. }
  305. sMakeStr = sMakeStr + "u" + "▦" + i + "▦" +
  306. model.getValue("/root/main/TestResultInfo/bcno") + "▦" + //바코드번호
  307. model.getValue("/root/main/TestResultList[" + i + "]/testcd") + "▦" + //검사코드
  308. model.getValue("/root/main/TestResultList[" + i + "]/spccd") + "▦" + //검체코드
  309. model.getValue("/root/main/TestResultList[" + i + "]/tclscd") + "▦" + //검사코드
  310. model.getValue("/root/main/TestResultInfo/updtresn") + "▦" +//수정사유
  311. perchgrid + "▦" + //담당자아이디
  312. model.getValue("/root/main/TestResultInfo/rec") + "▦" +//수신인
  313. notitrgtid + "▦" +//피통보자아이디
  314. notitrgtnm + "▦" +//피통보자이름
  315. model.getValue("/root/main/TestResultList[" + i + "]/result" + pList) + "▦" + //바뀔결과
  316. model.getValue("/root/main/TestResultList[" + i + "]/result" +bfSeq) + "▦" + //바뀌기 전 결과
  317. model.getValue("/root/main/TestResultList[" + i + "]/selchk" +bfSeq+"/@rsltseq") + "▩" ; //바뀌기 전 결과순번
  318. }
  319. model.setValue("/root/send/data2", sMakeStr);
  320. submit("TXLLR90601");
  321. opener.model.setvalue("/root/hidden/DJGGParm/rsltsaveYN" , "Y");
  322. window.close();
  323. }
  324. /**
  325. * 최종보고된것들중 마지막으로 수정된 검사만 선택할수 있도록
  326. *
  327. */
  328. function onClickSelChk(){
  329. var rowMax = grd_resultlist.rows- 1;
  330. var col = grd_resultlist.col;
  331. var row = grd_resultlist.row;
  332. for(var i = 1; i <= rowMax; i++){
  333. if(model.getValue("/root/main/TestResultList[" + i + "]/chk") == "true"){
  334. var lastRst = model.getValue("/root/main/TestResultList[" + i + "]/lastRst");
  335. if((model.getValue("/root/main/TestResultList[" + i + "]/selchk01/@readonly")) == "true"){
  336. messageBox("선택할수 " , "E001" , "36" );
  337. model.setValue("/root/main/TestResultList[" + i+ "]/chk", "false");
  338. }
  339. else if(model.getValue("/root/main/TestResultList[" + i + "]/maxlastreptdt")
  340. != model.getValue("/root/main/TestResultInfo/bcnomaxlastreptdt")){
  341. messageBox("최종으로 수정된 항목이 아닙니다. " , "E" , "" );
  342. model.setValue("/root/main/TestResultList[" + i+ "]/chk", "false");
  343. }
  344. }
  345. }
  346. }
  347. /**
  348. * 최종보고된것들중 마지막으로 수정된거 화면 보여줄때 체크되게!!
  349. *
  350. */
  351. function onPopUpCheck(){
  352. var rowMax = grd_resultlist.rows- 1;
  353. var col = grd_resultlist.col;
  354. var row =grd_resultlist.row;
  355. for(var i = 1; i <= rowMax; i++){
  356. if(model.getValue("/root/main/TestResultList[" + i + "]/maxlastreptdt")
  357. == model.getValue("/root/main/TestResultInfo/bcnomaxlastreptdt")){
  358. if(model.getValue("/root/main/TestResultList[" + i + "]/selchk01/@readonly")== "false"
  359. || model.getValue("/root/main/TestResultList[" + i + "]/selchk01/@readonly")== ""){
  360. model.setValue("/root/main/TestResultList[" + i+ "]/chk", "true");
  361. }
  362. }
  363. }
  364. }
  365. function fGRDOnclick(){
  366. var col = grd_resultlist.col;
  367. if(col == 1){
  368. onClickSelChk();
  369. }
  370. }
  371. function fUserNMRef(param){
  372. //수정자조회
  373. if(param == "1"){
  374. if(model.getvalue("/root/hidden/DJGGParm/userid") != ""){
  375. model.makeValue("/root/send/userid" , model.getvalue("/root/hidden/DJGGParm/userid"));
  376. submit("TRLZZ00104");
  377. }
  378. //피통보자조회
  379. }else if(param == "2"){
  380. if(model.getvalue("/root/hidden/notiinfo/notipsn") != ""){
  381. model.makeValue("/root/send/acceptid", model.getvalue("/root/hidden/notiinfo/notipsn"));
  382. submit("TRLBT10404");
  383. }
  384. }
  385. }
  386. ]]>
  387. </script>
  388. </xhtml:head>
  389. <xhtml:body pagewidth="670" pageheight="470" guideline="1,1194;" style="border-color:#000000; margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  390. <group id="group1" style="left:0px; top:0px; width:650px; height:440px; ">
  391. <line id="line1" class="line_1" style="x1:211px; y1:25px; x2:641px; y2:26px; "/>
  392. <caption id="caption3" class="tit_2" style="left:210px; top:9px; width:123px; height:14px; ">수정결과</caption>
  393. <datagrid id="grd_resultlist" nodeset="/root/main/TestResultList" backcoloralternate="transparent" caption="^검사항목명^bcno^testcd^spccd^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차" colsep="^" colwidth="-2, 163, 0, 0, 0, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50" dataheight="23" defaultrows="1" ellipsis="true" fixedcols="0" frozencols="2" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" selectionmode="free" tooltip="true" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:210px; top:31px; width:435px; height:404px; ">
  394. <col checkvalue="true,false" ref="chk" type="checkbox"/>
  395. <col ref="tclsscrnnm"/>
  396. <col ref="bcno"/>
  397. <col ref="testcd"/>
  398. <col ref="spccd"/>
  399. <col ref="result01"/>
  400. <col ref="result02"/>
  401. <col ref="result03"/>
  402. <col ref="result04"/>
  403. <col ref="result05"/>
  404. <col ref="result06"/>
  405. <col ref="result07"/>
  406. <col ref="result08"/>
  407. <col ref="result09"/>
  408. <col ref="result10"/>
  409. <col ref="result11"/>
  410. <col ref="result12"/>
  411. <col ref="result13"/>
  412. <col ref="result14"/>
  413. <col ref="result15"/>
  414. <col ref="result16"/>
  415. <col ref="result17"/>
  416. <col ref="result18"/>
  417. <col ref="result19"/>
  418. <col ref="result20"/>
  419. <col ref="result21"/>
  420. <col ref="result22"/>
  421. <col ref="result23"/>
  422. <col ref="result24"/>
  423. <col ref="result25"/>
  424. <col ref="result26"/>
  425. <col ref="result27"/>
  426. <col ref="result28"/>
  427. <col ref="result29"/>
  428. <col ref="result30"/>
  429. </datagrid>
  430. <output id="output4" ref="/root/main/TestResultInfo/roomcd" class="output_fix" style="left:75px; top:103px; width:125px; height:19px; "/>
  431. <output id="output5" ref="/root/hidden/getUsernm/usernm" class="output_fix" style="left:135px; top:128px; width:65px; height:19px; "/>
  432. <caption id="caption10" class="cell_1" style="left:0px; top:210px; width:72px; height:23px; vertical-align:middle; ">수정사유</caption>
  433. <caption id="caption2" class="tit_2" style="left:5px; top:10px; width:115px; height:13px; ">환자정보</caption>
  434. <caption id="caption1" class="cell_1" style="left:0px; top:30px; width:72px; height:23px; vertical-align:middle; ">환자명</caption>
  435. <caption id="caption4" class="cell_1" style="left:0px; top:54px; width:72px; height:23px; vertical-align:middle; ">등록번호</caption>
  436. <input id="input1" ref="/root/main/TestResultInfo/rec" class="input_default" disabled="true" style="left:75px; top:152px; width:125px; height:19px; "/>
  437. <caption id="caption6" class="cell_1" style="left:0px; top:78px; width:72px; height:23px; vertical-align:middle; ">진료과</caption>
  438. <line id="line2" class="line_1" style="x1:0px; y1:25px; x2:200px; y2:25px; "/>
  439. <textarea id="textarea1" ref="/root/main/TestResultInfo/updtresn" style="left:0px; top:235px; width:200px; height:199px; "/>
  440. <caption id="caption7" class="cell_1" style="left:0px; top:102px; width:72px; height:23px; vertical-align:middle; ">병실</caption>
  441. <caption id="caption8" class="cell_1" style="left:0px; top:126px; width:72px; height:23px; vertical-align:middle; ">담당자</caption>
  442. <output id="output1" ref="/root/main/TestResultInfo/patnm" class="output_fix" style="left:75px; top:31px; width:125px; height:19px; "/>
  443. <caption id="caption9" class="cell_1" style="left:0px; top:150px; width:72px; height:23px; vertical-align:middle; ">수신인</caption>
  444. <output id="output2" ref="/root/main/TestResultInfo/pid" class="output_fix" style="left:75px; top:55px; width:125px; height:19px; "/>
  445. <output id="output3" ref="/root/main/TestResultInfo/orddeptnm" class="output_fix" style="left:75px; top:79px; width:125px; height:19px; "/>
  446. <select1 id="combo1" ref="/root/hidden/resncd" appearance="minimal" style="left:75px; top:212px; width:125px; height:19px; ">
  447. <choices>
  448. <itemset nodeset="/root/hidden/editresn">
  449. <label ref="nm"/>
  450. <value ref="cd"/>
  451. </itemset>
  452. </choices>
  453. <script type="javascript" ev:event="xforms-select">
  454. <![CDATA[
  455. model.setValue("/root/main/TestResultInfo/updtresn", combo1.label);
  456. textarea1.refresh();
  457. ]]>
  458. </script>
  459. </select1>
  460. <input id="input2" ref="/root/hidden/DJGGParm/userid" class="input_default" style="left:75px; top:128px; width:60px; height:19px; ">
  461. <script type="javascript" ev:event="onkeyup">
  462. <![CDATA[
  463. if(event.keyCode == "13"){
  464. model.setvalue("/root/hidden/DJGGParm/userid", input2.currentText);
  465. model.refresh();
  466. fUserNMRef("1");
  467. input2.selBegin = 0;
  468. input2.selEnd = input2.currentText.length;
  469. if(model.getValue("/root/hidden/getUsernm/usernm") != "") {
  470. model.setFocus("input1");
  471. }
  472. }
  473. ]]>
  474. </script>
  475. </input>
  476. <caption id="caption5" class="cell_1" style="left:0px; top:174px; width:72px; height:23px; vertical-align:middle; ">피통보자</caption>
  477. <input id="opt_notipsn" ref="/root/hidden/getuserAnm/acceptnm" appearance="input" style="left:135px; top:176px; width:65px; height:19px; "/>
  478. <input id="ipt_notipsn" ref="/root/hidden/notiinfo/notipsn" class="input_default" style="left:75px; top:176px; width:60px; height:19px; ">
  479. <script type="javascript" ev:event="onkeypress">
  480. <![CDATA[
  481. if(event.keyCode == "13"){
  482. model.setvalue("/root/hidden/notiinfo/notipsn", ipt_notipsn.currentText.toUpperCase());
  483. model.refresh();
  484. fUserNMRef("2");
  485. ipt_notipsn.selBegin = 0;
  486. ipt_notipsn.selEnd = ipt_notipsn.currentText.length;
  487. model.setFocus("ipt_notipsn");
  488. }
  489. ]]>
  490. </script>
  491. </input>
  492. </group>
  493. <button id="button3" class="btn4_letter2" visibility="visible" style="left:531px; top:445px; width:56px; height:22px; ">
  494. <caption>등록</caption>
  495. <script type="javascript" ev:event="DOMActivate">
  496. <![CDATA[
  497. fSelect_Click();
  498. ]]>
  499. </script>
  500. </button>
  501. <button id="button4" class="btn4_letter2" style="left:590px; top:445px; width:56px; height:22px; ">
  502. <caption>닫기</caption>
  503. <script type="javascript" ev:event="onclick">
  504. <![CDATA[
  505. //opener.model.setvalue("/root/hidden/DJGGParm/rsltsaveYN" , "Y");
  506. if(opener.model.getvalue("/root/hidden/DJGGParm/rsltsaveYN") != "Y"){
  507. messageBox("수정결과를 ", "C001", "");
  508. }
  509. else{
  510. window.close();
  511. }
  512. ]]>
  513. </script>
  514. </button>
  515. </xhtml:body>
  516. </xhtml:html>