SMLQF01300_미생물QC물질별검사관리.xrw 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  4. <xhtml:head>
  5. <xhtml:title>QC물질별검사관리</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <matrlist>
  11. <matrcd/>
  12. <matrnm/>
  13. <levlcd/>
  14. <levlnm/>
  15. <lotno/>
  16. <matrfromdd/>
  17. <matrtodd/>
  18. <prodcmpy/>
  19. <proddt/>
  20. <windt/>
  21. <matrifcd/>
  22. <fstrgstrid/>
  23. <fstrgstdt/>
  24. <validd/>
  25. </matrlist>
  26. <testlist>
  27. <chk/>
  28. <testcd/>
  29. <testnm/>
  30. </testlist>
  31. <matrtclslist>
  32. <testcd/>
  33. <testnm/>
  34. <testfromdd/>
  35. <testtodd/>
  36. <rsltkind/>
  37. <refkind/>
  38. <refflag/>
  39. <refl/>
  40. <refls/>
  41. <refhs/>
  42. <refh/>
  43. <refcval/>
  44. <intrsltfrmt/>
  45. <rsltunit/>
  46. <avg/>
  47. <sdval/>
  48. <wgmrscop/>
  49. <judgkind/>
  50. <rundkind/>
  51. <graphdispyn/>
  52. <fstrgstrid/>
  53. <fstrgstdt/>
  54. </matrtclslist>
  55. <matrinfo>
  56. <matrfromdd/>
  57. <matrcd/>
  58. <levlcd/>
  59. </matrinfo>
  60. </main>
  61. <init/>
  62. <hidden>
  63. <refgbn>1</refgbn>
  64. <refcont/>
  65. <searchflag>1</searchflag>
  66. <searchtestcd/>
  67. <testlrg>00</testlrg>
  68. <testmdl>
  69. <cd>00</cd>
  70. </testmdl>
  71. </hidden>
  72. <send>
  73. <codeflag/>
  74. <refcont/>
  75. <refgbn/>
  76. <deptflag/>
  77. <searchflag/>
  78. <matrtclslist/>
  79. <matrfromdd/>
  80. <matrcd/>
  81. <levlcd/>
  82. <matrinfo/>
  83. <testlrgcd/>
  84. <testmdlcd/>
  85. </send>
  86. </root>
  87. </instance>
  88. <script type="javascript" ev:event="xforms-ready">
  89. <![CDATA[
  90. fSetInit();
  91. ]]>
  92. </script>
  93. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  94. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  95. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  96. <submission id="TRLQF00701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/matrlist"/>
  97. <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/LB0000"/>
  98. <submission id="TRLQF00702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/testlist"/>
  99. <submission id="TXLQF00701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send"/>
  100. <submission id="TRLQF00703" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/matrtclslist"/>
  101. <submission id="TRLQF00704" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/testlist"/>
  102. </model>
  103. <script type="javascript">
  104. <![CDATA[
  105. //초기화
  106. function fSetInit(){
  107. model.resetInstanceNode("/root/main/matrinfo");
  108. model.removeNodeset("/root/main/matrlist");
  109. grd_matrList.rebuild();
  110. model.removeNodeset("/root/main/testlist");
  111. grd_testList.rebuild();
  112. model.removeNodeset("/root/main/matrtclslist");
  113. grd_matrTclsList.rebuild();
  114. model.setValue("/root/send/codeflag", "0102|0104|0000|"); // 0102= 중분류 // 0104 대분류 // 0000 userdeptflagcd
  115. submit("TRLZZ00101");
  116. fGetMatrList(); //물질리스트조회
  117. fGetTestList(); //검사항목리스트조회
  118. }
  119. //엔터키
  120. function fKeyEvent(){
  121. if(event.keyCode == "13"){
  122. //물질 리스트 조회
  123. if(event.target =="ipt_search"){
  124. model.setValue("/root/hidden/refcont", ipt_search.currentText);
  125. fGetMatrList();
  126. }
  127. //검사항목 리스트 조회
  128. if(event.target == "ipt_searchTestCd"){
  129. model.setValue("/root/send/refcont", ipt_searchTestCd.currentText);
  130. fGetTestList();
  131. }
  132. }
  133. }
  134. //중분류 초기정보 조회
  135. function fSetTestLrgCd(){
  136. var lrg = model.getvalue("/root/hidden/testlrg");
  137. if(lrg == "00"){
  138. cmb_testMdlCd.choices.itemset.attribute("nodeset") = "/root/init/LB0102";
  139. model.setValue("/root/hidden/testmdl/cd" , "00");
  140. }
  141. else{
  142. model.setValue("/root/hidden/testmdl/cd" , "00");
  143. cmb_testMdlCd.choices.itemset.attribute("nodeset") = "/root/init/LB0102[cd= '00' or etc01='"+ lrg +"']";
  144. }
  145. cmb_testMdlCd.refresh();
  146. fGetTclscdList();
  147. }
  148. // 검사코드 리스트 조회
  149. function fGetTclscdList(){
  150. model.removeNodeset("/root/main/testlist");
  151. grd_testList.rebuild();
  152. model.setValue("/root/send/testlrgcd" , model.getValue("/root/hidden/testlrg"));
  153. model.setValue("/root/send/testmdlcd" , model.getValue("/root/hidden/testmdl/cd"));
  154. model.setValue("/root/send/deptflag" ,"M");
  155. submit("TRLQF00704");
  156. }
  157. //물질 리스트 조회
  158. function fGetMatrList(){
  159. model.setValue("/root/send/refgbn" , model.getValue("/root/hidden/refgbn")); //전체, 사용가능자료 구분
  160. model.setValue("/root/send/searchflag" , model.getValue("/root/hidden/searchflag")); //물질코드, 물질명 구분
  161. model.setValue("/root/send/refcont" , model.getValue("/root/hidden/refcont")); //입력Text
  162. model.setValue("/root/send/deptflag" , "M"); //사용자 부서코드
  163. submit("TRLQF00701");
  164. }
  165. //검사항목 리스트 조회
  166. function fGetTestList(){
  167. model.setValue("/root/send/refcont" , model.getValue("/root/send/refcont")); //입력Text
  168. model.setValue("/root/send/deptflag" , "M"); //사용자 부서코드
  169. submit("TRLQF00702");
  170. }
  171. //검사항목 복사
  172. function fSetTestCopy(){
  173. if(model.getValue("/root/main/matrinfo/matrfromdd" ) != ""){ //물질이 선택되어있지 않은 상태에서 검사코드 추가하고자 할때 알림.. //20080726추가 -승현-
  174. var sTestcd = model.getValue("/root/main/testlist["+grd_testList.row+"]/testcd");
  175. var findrow = grd_matrTclsList.findRow(sTestcd , 1,1 , true,true);
  176. if(findrow >0 ) {
  177. alert("이미 선택된 검사코드입니다.");
  178. return;
  179. }
  180. grd_matrTclsList.addRow();
  181. model.setValue("/root/main/matrtclslist[" + (grd_matrTclsList.rows-1) + "]/testcd" , model.getValue("/root/main/testlist[" + grd_testList.row + "]/testcd"));
  182. model.setValue("/root/main/matrtclslist[" + (grd_matrTclsList.rows-1) + "]/testnm" , model.getValue("/root/main/testlist[" + grd_testList.row + "]/testnm"));
  183. model.setValue("/root/main/matrtclslist[" + (grd_matrTclsList.rows-1) + "]/testfromdd" , model.getValue("/root/main/matrinfo/matrfromdd"));
  184. model.setValue("/root/main/matrtclslist[" + (grd_matrTclsList.rows-1) + "]/testtodd" , '99991231');
  185. /*for(i=1; i<grd_matrTclsList.rows; i++){
  186. grd_matrTclsList.rowStatus(i) = 1;
  187. }*/
  188. model.setValue("/root/main/testlist[" + grd_testList.row + "]/chk ", "false");
  189. grd_matrTclsList.bottomRow = grd_matrTclsList.rows;
  190. }else{
  191. alert("물질을 먼저 선택하세요!");
  192. model.setValue("/root/main/testlist[" + grd_testList.row + "]/chk ", "false");
  193. }
  194. }
  195. //물질목록 복사
  196. function fSetMatrCopy(){
  197. model.setValue("/root/main/matrinfo/matrfromdd" , model.getValue("/root/main/matrlist[" + grd_matrList.row + "]/matrfromdd"));
  198. model.setValue("/root/main/matrinfo/matrcd" , model.getValue("/root/main/matrlist[" + grd_matrList.row + "]/matrcd"));
  199. model.setValue("/root/main/matrinfo/levlcd" , model.getValue("/root/main/matrlist[" + grd_matrList.row + "]/levlcd"));
  200. model.refresh();
  201. }
  202. //물질별 검사항목 조회
  203. function fGetMatrTclsList(){
  204. model.setValue("/root/send/matrfromdd" , model.getValue("/root/main/matrlist["+grd_matrList.row+"]/matrfromdd"));
  205. model.setValue("/root/send/matrcd" , model.getValue("/root/main/matrlist["+grd_matrList.row+"]/matrcd"));
  206. model.setValue("/root/send/levlcd" , model.getValue("/root/main/matrlist["+grd_matrList.row+"]/levlcd"));
  207. model.setValue("/root/send/deptflag" , "M");
  208. if(submit("TRLQF00703")){
  209. fSetMatrCopy(); //조회 데이터가 없으면 물질목록 복사
  210. }
  211. grd_matrTclsList.isReadOnly(1,1, grd_matrTclsList.rows-1, 3) = true; //검사코드부터 시작일자까지 비활성화...
  212. //wgmr 열에 tooltiptext 를 설정한다
  213. for(var i=grd_matrTclsList.fixedRows; i<grd_matrTclsList.rows; i++)
  214. {
  215. grd_matrTclsList.tooltipText(i, grd_matrTclsList.colRef("wgmrscop")) = "1 : 1(2S)" + "\n" + "2 : 1(3S)" + "\n" + "3 : 2(2S)" + "\n" + "4 : R(4S)" + "\n" + "5 : 4(1S)" + "\n" + "6 : 10X " ;
  216. }
  217. }
  218. //저장 데이터 확인
  219. function checkGridUpdate(grid)
  220. {
  221. var iData = grid.getUpdateDataXml("insert");
  222. var uData = grid.getUpdateDataXml("update");
  223. var dData = grid.getUpdateDataXml("delete");
  224. if (iData=="" && uData=="" && dData=="") return false;
  225. else return true;
  226. }
  227. //물질별 검사 정보 저장
  228. function fExeMatrTclsList(){
  229. model.setValue("/root/send/matrtclslist" , grd_matrTclsList.getUpdateData());
  230. model.copyNode("/root/send/matrinfo" , "/root/main/matrinfo");
  231. model.setValue("/root/send/deptflag" , "M");
  232. if(model.getValue("/root/main/matrinfo/matrfromdd") == "" || model.getValue("/root/main/matrinfo/matrcd") == "" || model.getValue("/root/main/matrinfo/levlcd") == "" ||
  233. model.getValue("/root/main/matrtclslist/testcd") == "" || model.getValue("/root/main/matrtclslist/testfromdd")==""){
  234. messageBox("필수 항목이 입력되지 않았습니다.","I007");
  235. return false;
  236. }
  237. if ( submit("TXLQF00701") ) {
  238. //grd_matrTclsList.clearStatus(); // submit() 성공하면 그리드의 i,u,d 상태 제거
  239. fGetMatrTclsList(); // 물질정보 다시 조회
  240. }
  241. }
  242. //검사항목 리스트 클릭시 Row선택하면 체크 선택되게
  243. function fTestListClick(){
  244. if(grd_testList.col != "1"){
  245. if(model.getValue("/root/main/testlist[" + grd_testList.row + "]/chk") == "false"){
  246. model.setValue("/root/main/testlist[" + grd_testList.row + "]/chk", "true");
  247. }else{
  248. model.setValue("/root/main/testlist[" + grd_testList.row + "]/chk", "false");
  249. }
  250. }
  251. }
  252. //선택 항목 복사함
  253. function fCopyTestList(){ //grd_matrTclsList
  254. var vChk = ""
  255. var vTestCd = ""
  256. var vTestNm = ""
  257. if(model.getValue("/root/main/matrinfo/matrfromdd" ) != ""){ //물질이 선택되어있지 않은 상태에서 검사코드 추가하고자 할때 알림..
  258. for ( i = 1; i < grd_testList.rows; i++){
  259. vChk = model.getValue("/root/main/testlist[" + i + "]/chk");
  260. vTestCd = model.getValue("/root/main/testlist[" + i + "]/testcd");
  261. vTestNm = model.getValue("/root/main/testlist[" + i + "]/testnm");
  262. if( vChk == "true"){ //검사항목 선택된놈들
  263. if(grd_matrTclsList.findRow(vTestCd, 1, 1, true, true) == "-1"){ //물질별 검사항목에 등록되어있지 않은 항목만
  264. grd_matrTclsList.addRow(false);
  265. model.setValue("/root/main/matrtclslist[" + (grd_matrTclsList.rows-1) + "]/testcd" , vTestCd);
  266. model.setValue("/root/main/matrtclslist[" + (grd_matrTclsList.rows-1) + "]/testnm" , vTestNm);
  267. model.setValue("/root/main/matrtclslist[" + (grd_matrTclsList.rows-1) + "]/testfromdd" , model.getValue("/root/main/matrinfo/matrfromdd"));
  268. model.setValue("/root/main/matrtclslist[" + (grd_matrTclsList.rows-1) + "]/testtodd" , '99991231');
  269. model.setValue("/root/main/testlist[" + i + "]/chk", "false");
  270. }else{
  271. alert(vTestCd + " 항목이 중복되었습니다");
  272. model.setValue("/root/main/testlist[" + i + "]/chk", "false");
  273. }
  274. }
  275. }//end for
  276. grd_matrTclsList.bottomRow = grd_matrTclsList.rows;
  277. }else{
  278. alert("물질을 먼저 선택하세요");
  279. }
  280. model.refresh();
  281. }
  282. ]]>
  283. </script>
  284. </xhtml:head>
  285. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  286. <group id="group1" style="left:0px; top:40px; width:1195px; height:744px; font-size:18pt; ">
  287. <line id="line7" class="line_1" style="x1:0px; y1:376px; x2:1194px; y2:376px; "/>
  288. <caption id="cap_regno" class="cell_1" style="left:0px; top:381px; width:190px; height:23px; ">사용시작일자</caption>
  289. <group id="group4" style="left:0px; top:10px; width:885px; height:35px; ">
  290. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:885px; height:35px; "/>
  291. <button id="btn_sea" class="btn1_letter2" style="left:820px; top:7px; width:56px; height:22px; ">
  292. <caption>조회</caption>
  293. <script type="javascript" ev:event="DOMActivate">
  294. <![CDATA[
  295. //물질리스트조회
  296. fGetMatrList();
  297. ]]>
  298. </script>
  299. </button>
  300. <caption id="caption15" class="search_name" style="left:15px; top:9px; width:86px; height:18px; ">조회구분 :</caption>
  301. <input id="ipt_search" ref="/root/hidden/refcont" class="input_s_button" style="left:705px; top:9px; width:100px; height:19px; ">
  302. <script type="javascript" ev:event="onkeypress">
  303. <![CDATA[
  304. fKeyEvent();
  305. ]]>
  306. </script>
  307. </input>
  308. <select1 id="cbo_searchFlag" ref="/root/hidden/refgbn" class="combo_s_essential" appearance="minimal" style="left:103px; top:8px; width:100px; height:19px; ">
  309. <choices>
  310. <item>
  311. <label>사용가능자료</label>
  312. <value>1</value>
  313. </item>
  314. <item>
  315. <label>전체자료</label>
  316. <value>2</value>
  317. </item>
  318. </choices>
  319. <script type="javascript" ev:event="xforms-value-changed">
  320. <![CDATA[
  321. fGetMatrList(); //물질리스트조회
  322. ]]>
  323. </script>
  324. </select1>
  325. <line id="line2" class="line_4" style="x1:810px; y1:6px; x2:810px; y2:28px; "/>
  326. <select1 id="combo1" ref="/root/hidden/searchflag" class="combo_s_essential" appearance="minimal" style="left:603px; top:9px; width:100px; height:19px; ">
  327. <choices>
  328. <item>
  329. <label>물질코드</label>
  330. <value>1</value>
  331. </item>
  332. <item>
  333. <label>물질명</label>
  334. <value>2</value>
  335. </item>
  336. </choices>
  337. </select1>
  338. </group>
  339. <datagrid id="grd_matrList" nodeset="/root/main/matrlist" caption="QC물질코드^QC물질명^levlcd^레벨명^LOT번호^사용시작일시^사용종료일시^Expire Date^제조회사^제조일시^입고일시^IF코드^등록자^등록일시" colsep="^" colwidth="100, 150, 0, 80, 80, 90, 70, 90, 70, 80, 80, 50, 60, 70" dataheight="23" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:75px; width:890px; height:276px; ">
  340. <col ref="matrcd"/>
  341. <col ref="matrnm"/>
  342. <col ref="levlcd"/>
  343. <col ref="levlnm"/>
  344. <col ref="lotno"/>
  345. <col ref="matrfromdd" format="yyyy-mm-dd"/>
  346. <col ref="matrtodd" visibility="hidden" format="yyyy-mm-dd"/>
  347. <col ref="validd" format="yyyy-mm-dd"/>
  348. <col ref="prodcmpy"/>
  349. <col ref="proddt" visibility="hidden" format="yyyy-mm-dd"/>
  350. <col ref="windt" format="yyyy-mm-dd"/>
  351. <col ref="matrifcd"/>
  352. <col ref="fstrgstrid" visibility="hidden"/>
  353. <col ref="fstrgstdt" visibility="hidden" format="yyyy-mm-dd"/>
  354. <script type="javascript" ev:event="ondblclick">
  355. <![CDATA[
  356. //더블 클릭시 물질정보 조회
  357. if(grd_matrList.isCell(event.target) && grd_matrList.row >= grd_matrList.fixedRows){
  358. fGetMatrTclsList();
  359. }
  360. ]]>
  361. </script>
  362. <script type="javascript" ev:event="onaftersort">
  363. <![CDATA[
  364. grd_matrList.gridToInstance();
  365. ]]>
  366. </script>
  367. </datagrid>
  368. <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:890px; y2:70px; "/>
  369. <caption id="caption1" class="tit_2" style="left:5px; top:361px; width:169px; height:14px; ">QC 물질 정보</caption>
  370. <caption id="cap_sexage" class="cell_1" style="left:396px; top:381px; width:190px; height:23px; ">QC물질코드</caption>
  371. <caption id="cap_psnno" class="cell_1" style="left:792px; top:381px; width:190px; height:23px; ">레벨코드</caption>
  372. <output id="opt_matrfromdd" ref="/root/main/matrinfo/matrfromdd" class="output_fix" format="yyyy-mm-dd" style="left:193px; top:382px; width:200px; height:19px; "/>
  373. <output id="out_matrcd" ref="/root/main/matrinfo/matrcd" class="output_fix" style="left:589px; top:382px; width:200px; height:19px; "/>
  374. <output id="out_levlcd" ref="/root/main/matrinfo/levlcd" class="output_fix" style="left:985px; top:382px; width:209px; height:19px; "/>
  375. <line id="line9" class="line_3" style="x1:0px; y1:403px; x2:1194px; y2:403px; "/>
  376. <caption id="caption7" class="tit_2" style="left:5px; top:55px; width:115px; height:13px; ">QC 물질 리스트</caption>
  377. <group id="group3" style="left:890px; top:10px; width:305px; height:35px; ">
  378. <shape id="roundrect2" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:305px; height:35px; "/>
  379. <button id="button1" class="btn1_letter2" style="left:241px; top:7px; width:56px; height:22px; ">
  380. <caption>조회</caption>
  381. <script type="javascript" ev:event="DOMActivate">
  382. <![CDATA[
  383. fGetTestList();
  384. ]]>
  385. </script>
  386. </button>
  387. <caption id="caption4" class="search_name" style="left:5px; top:10px; width:99px; height:17px; ">향균제코드 :</caption>
  388. <line id="line13" class="line_4" style="x1:234px; y1:6px; x2:234px; y2:28px; "/>
  389. <input id="ipt_searchTestCd" ref="/root/hidden/searchtestcd" class="input_s_button" style="left:118px; top:8px; width:100px; height:19px; ">
  390. <script type="javascript" ev:event="onkeypress">
  391. <![CDATA[
  392. fKeyEvent();
  393. ]]>
  394. </script>
  395. </input>
  396. </group>
  397. <datagrid id="grd_testList" nodeset="/root/main/testlist" caption="^검사코드^검사명" colsep="^" colwidth="30, 100, 120" dataheight="23" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:895px; top:75px; width:299px; height:276px; ">
  398. <col checkvalue="true,false" ref="chk" type="checkbox" visibility="visible"/>
  399. <col ref="testcd"/>
  400. <col ref="testnm"/>
  401. <script type="javascript" ev:event="ondblclick">
  402. <![CDATA[
  403. //더블 클릭시 검사코드, 검사명 복사
  404. if(grd_testList.isCell(event.target) && grd_testList.row >= grd_testList.fixedRows){
  405. fSetTestCopy();
  406. }
  407. ]]>
  408. </script>
  409. <script type="javascript" ev:event="onaftersort">
  410. <![CDATA[
  411. grd_testList.gridToInstance();
  412. ]]>
  413. </script>
  414. <script type="javascript" ev:event="onclick">
  415. <![CDATA[
  416. if(grd_testList.isCell(event.target) && grd_testList.row >= grd_testList.fixedRows){
  417. fTestListClick();
  418. }
  419. ]]>
  420. </script>
  421. </datagrid>
  422. <line id="line14" class="line_1" style="x1:895px; y1:70px; x2:1194px; y2:70px; "/>
  423. <caption id="caption3" class="tit_2" style="left:900px; top:55px; width:115px; height:14px; ">향균제 리스트</caption>
  424. <datagrid id="grd_matrTclsList" nodeset="/root/main/matrtclslist" caption="검사코드^검사명^시작일자^종료일자^결과유형^참고치유형^참고치구분^참고치하한^하한^상한^참고치상한^참고치문자^소수길이^단위^평균^표준편차^WGMR범위^판정유형^반올림옵션^그래프^등록자^등록일시" colsep="^" colwidth="80, 120, 85, 85, 80, 80, 80, 80, 50, 50, 80, 80, 60, 50, 50, 60, 80, 80, 80, 39, 80, 135" dataheight="23" explorerbar="sortshow" frozencols="4" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" tooltip="true" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:433px; width:1194px; height:299px; ">
  425. <col ref="testcd" style="left:20px; top:23px; width:80px; height:23px; "/>
  426. <col ref="testnm"/>
  427. <col ref="testfromdd" type="outputdate" format="yyyy-mm-dd"/>
  428. <col ref="testtodd" type="outputdate" format="yyyy-mm-dd"/>
  429. <col ref="rsltkind" type="combo">
  430. <choices>
  431. <item>
  432. <label>문자+숫자</label>
  433. <value>0</value>
  434. </item>
  435. <item>
  436. <label>숫자</label>
  437. <value>1</value>
  438. </item>
  439. </choices>
  440. </col>
  441. <col ref="refkind" type="combo">
  442. <choices>
  443. <item>
  444. <label>없음</label>
  445. <value>0</value>
  446. </item>
  447. <item>
  448. <label>문자</label>
  449. <value>1</value>
  450. </item>
  451. <item>
  452. <label>숫자</label>
  453. <value>2</value>
  454. </item>
  455. </choices>
  456. </col>
  457. <col ref="refflag" type="combo">
  458. <choices>
  459. <item>
  460. <label>사용안함</label>
  461. <value>0</value>
  462. </item>
  463. <item>
  464. <label>하한만사용</label>
  465. <value>1</value>
  466. </item>
  467. <item>
  468. <label>상한만사용</label>
  469. <value>2</value>
  470. </item>
  471. <item>
  472. <label>모두사용</label>
  473. <value>3</value>
  474. </item>
  475. </choices>
  476. </col>
  477. <col ref="refl" type="input"/>
  478. <col ref="refls" type="combo">
  479. <choices>
  480. <item>
  481. <label>
  482. <![CDATA[<]]>
  483. </label>
  484. <value>0</value>
  485. </item>
  486. <item>
  487. <label>
  488. <![CDATA[<=]]>
  489. </label>
  490. <value>1</value>
  491. </item>
  492. </choices>
  493. </col>
  494. <col ref="refhs" type="combo">
  495. <choices>
  496. <item>
  497. <label>
  498. <![CDATA[<]]>
  499. </label>
  500. <value>0</value>
  501. </item>
  502. <item>
  503. <label>
  504. <![CDATA[<=]]>
  505. </label>
  506. <value>1</value>
  507. </item>
  508. </choices>
  509. </col>
  510. <col ref="refh" type="input"/>
  511. <col ref="refcval" type="input"/>
  512. <col ref="intrsltfrmt" type="combo">
  513. <choices>
  514. <item>
  515. <label>-</label>
  516. <value>-</value>
  517. </item>
  518. <item>
  519. <label>0</label>
  520. <value>0</value>
  521. </item>
  522. <item>
  523. <label>1</label>
  524. <value>1</value>
  525. </item>
  526. <item>
  527. <label>2</label>
  528. <value>2</value>
  529. </item>
  530. <item>
  531. <label>3</label>
  532. <value>3</value>
  533. </item>
  534. <item>
  535. <label>4</label>
  536. <value>4</value>
  537. </item>
  538. <item>
  539. <label>5</label>
  540. <value>5</value>
  541. </item>
  542. <item>
  543. <label>6</label>
  544. <value>6</value>
  545. </item>
  546. <item>
  547. <label>7</label>
  548. <value>7</value>
  549. </item>
  550. <item>
  551. <label>8</label>
  552. <value>8</value>
  553. </item>
  554. <item>
  555. <label>9</label>
  556. <value>9</value>
  557. </item>
  558. <item>
  559. <label>10</label>
  560. <value>10</value>
  561. </item>
  562. </choices>
  563. </col>
  564. <col ref="rsltunit" type="input"/>
  565. <col ref="avg" type="input"/>
  566. <col ref="sdval" type="input"/>
  567. <col imemode="disabled" ref="wgmrscop" type="input" maxlength="6" _chartype="upper"/>
  568. <col ref="judgkind" type="combo">
  569. <choices>
  570. <item>
  571. <label>미사용</label>
  572. <value>0</value>
  573. </item>
  574. <item>
  575. <label>
  576. <![CDATA[L/H]]>
  577. </label>
  578. <value>1</value>
  579. </item>
  580. </choices>
  581. </col>
  582. <col ref="rundkind" type="combo">
  583. <choices>
  584. <item>
  585. <label>사용안함</label>
  586. <value>0</value>
  587. </item>
  588. <item>
  589. <label>반올림</label>
  590. <value>1</value>
  591. </item>
  592. <item>
  593. <label>올림</label>
  594. <value>2</value>
  595. </item>
  596. <item>
  597. <label>내림</label>
  598. <value>3</value>
  599. </item>
  600. </choices>
  601. </col>
  602. <col checkvalue="Y,N" ref="graphdispyn" type="checkbox"/>
  603. <col ref="fstrgstrid"/>
  604. <col ref="fstrgstdt" format="yyyy-mm-dd hh:mm:ss"/>
  605. </datagrid>
  606. <button id="button52" class="btn2_letter3" disabled="true" style="left:1085px; top:407px; width:53px; height:19px; ">
  607. <caption>행추가</caption>
  608. <script type="javascript" ev:event="DOMActivate">
  609. <![CDATA[
  610. grd_matrTclsList.addItem();
  611. ]]>
  612. </script>
  613. </button>
  614. <button id="button53" class="btn2_letter3" style="left:1141px; top:407px; width:53px; height:19px; ">
  615. <caption>행삭제</caption>
  616. <script type="javascript" ev:event="DOMActivate">
  617. <![CDATA[
  618. grd_matrTclsList.rowStatus(grd_matrTclsList.row) = 4; //멀티업데이트 시 Delete로 설정 //0:new, 1:insert, 2:update, 3:insert&new, 4:delete
  619. //grd_matrTclsList.deleteitem(grd_matrTclsList.row); //물질리스트의 검사항목 삭제기능을 사용한다고 해서 주석처리..20080714 심양보 팀장님 회의 내용
  620. ]]>
  621. </script>
  622. </button>
  623. <button id="btn_up" class="icon_bottom" style="left:1035px; top:354px; width:26px; height:19px; ">
  624. <caption/>
  625. <script type="javascript" ev:event="DOMActivate">
  626. <![CDATA[
  627. fCopyTestList();
  628. ]]>
  629. </script>
  630. </button>
  631. <caption id="caption2" class="tit_2" style="left:0px; top:413px; width:182px; height:14px; ">QC 물질별 향균제항목 설정</caption>
  632. <line id="line4" class="line_1" style="x1:0px; y1:428px; x2:1194px; y2:428px; "/>
  633. </group>
  634. <group id="group2" style="left:0px; top:0px; width:1195px; height:13px; ">
  635. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:173px; height:14px; ">미생물QC물질별검사관리</caption>
  636. </group>
  637. <group id="grp_btn" style="left:0px; top:13px; width:1195px; height:27px; ">
  638. <button id="btn_init" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
  639. <caption>초기화</caption>
  640. <script type="javascript" ev:event="DOMActivate">
  641. <![CDATA[
  642. window.reload();
  643. ]]>
  644. </script>
  645. </button>
  646. <button id="btn_exec" class="btn4_letter2" style="left:1068px; top:3px; width:56px; height:22px; ">
  647. <caption>저장</caption>
  648. <script type="javascript" ev:event="DOMActivate">
  649. <![CDATA[
  650. if(messageBox("", "Q002")==6){
  651. if(!checkGridUpdate(grd_matrTclsList)){
  652. messageBox("저장할 자료가 존재하지 않아 실행", "E001");
  653. return;
  654. }
  655. //저장버튼
  656. fExeMatrTclsList();
  657. }
  658. ]]>
  659. </script>
  660. </button>
  661. <line id="line3" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
  662. </group>
  663. </xhtml:body>
  664. </xhtml:html>