SMLPC10700_통합검사그룹항목등록.xrw 46 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMLPC10700_통합검사그룹항목등록.xrw
  4. * 설 명 : 검사그룹항목등록 화면
  5. * 설 계 자 : (주)평화이즈 - 박상환
  6. * 작 성 자 : (주)평화이즈 - 박상환
  7. * 작 성 일 : 2010.01.08
  8. * 수정이력 :
  9. * 기 타 : existflag - 0 : 현재일자를 기준으로 사용중, 사용종료된 항목이 아닌경우
  10. 1 : 현재일자를 기준으로 사용중인 항목
  11. 2 : 현재일자를 기준으로 사용중, 사용종료된 항목이 아니면서 선택된 항목
  12. 3 : 현재일자를 기준으로 사용종료된 항목
  13. -->
  14. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  15. <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">
  16. <xhtml:head>
  17. <xhtml:title/>
  18. <model id="model1">
  19. <instance id="instance1">
  20. <root>
  21. <main>
  22. <testgrupcnts>
  23. <testgruplist>
  24. <grupchoi/>
  25. <testgrupcd/>
  26. <fromdd/>
  27. <todd/>
  28. <testgrupnm/>
  29. <testcd/>
  30. <testnm/>
  31. <delflagcd/>
  32. <ptnocd/>
  33. <ptnocdflagcd/>
  34. <stdyptnocd/>
  35. <stdyptnocdflagcd/>
  36. <trustptnocd/>
  37. <trustptnocdflagcd/>
  38. <trusttestflagcd/>
  39. <dispseqno/>
  40. </testgruplist>
  41. </testgrupcnts>
  42. <testgrupinfo>
  43. <testgrupcd/>
  44. <testgrupnm/>
  45. <testgrupabbr/>
  46. <todd/>
  47. <fromdd/>
  48. <basepartcd/>
  49. <basepartnm/>
  50. <detlpartcd/>
  51. <detlpartnm/>
  52. <delflagcd/>
  53. <fstrgstdt/>
  54. <fstrgstrid/>
  55. <lastupdtdt/>
  56. <lastupdtrid/>
  57. </testgrupinfo>
  58. <detltestgrup>
  59. <testitemlist>
  60. <choi/>
  61. <testcd/>
  62. <testnm/>
  63. <ptnocd/>
  64. <ptnocdflagcd/>
  65. <stdyptnocd/>
  66. <stdyptnocdflagcd/>
  67. <trustptnocd/>
  68. <trustptnocdflagcd/>
  69. <trusttestflagcd/>
  70. <dispseqno/>
  71. <fromdd/>
  72. <todd/>
  73. <existflag/>
  74. </testitemlist>
  75. </detltestgrup>
  76. </main>
  77. <send>
  78. </send>
  79. <init>
  80. </init>
  81. <hidden>
  82. <userinfo>
  83. <instcd/>
  84. </userinfo>
  85. <delflagcd>0</delflagcd>
  86. <refflag>1</refflag>
  87. <refval/>
  88. <cdupdtflag>1</cdupdtflag>
  89. <scrndata/>
  90. <tempptnocd/>
  91. <sendnode/>
  92. <temptestitem/>
  93. </hidden>
  94. <temp>
  95. <testcdlist>
  96. <testgrupcd/>
  97. <testcd/>
  98. </testcdlist>
  99. </temp>
  100. </root>
  101. </instance>
  102. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  103. <script type="javascript" src="../../../lis/commonweb/js/LPZ001.js"/>
  104. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  105. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  106. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  107. <script type="javascript" src="../../../lis/commonweb/js/LPZ001.js"/>
  108. <script type="javascript" src="../../../lis/commonweb/js/LZZ001.js"/>
  109. <script type="javascript" ev:event="xforms-ready">
  110. <![CDATA[
  111. fExeInitialize();
  112. ]]>
  113. </script>
  114. <!-- public Script Start -->
  115. <script type="javascript">
  116. <![CDATA[
  117. /* @group : 통합검사그룹항목등록 화면
  118. * @ver : 2010.01.21 (CMCDEV-0001)
  119. * @by : 박상환(평화이즈)
  120. * @-----------------------------------
  121. * @type : function
  122. * @access : public
  123. * @desc : 화면초기화 함수
  124. */
  125. function fExeInitialize(){
  126. model.removeNodeset("/root/main/testgrupcnts/testgruplist");
  127. model.removeNodeset("/root/main/detltestgrup/testitemlist");
  128. model.setValue("/root/hidden/delflagcd", "0");
  129. model.setValue("/root/hidden/refval", "");
  130. model.setValue("/root/hidden/cdupdtflag", "1");
  131. fExeControlChng("false");
  132. model.setValue("/root/hidden/userinfo/instcd", getUserInfo("dutplceinstcd")); //instcd
  133. grp_testgruplist.fixedcellcheckbox(0, 1) = true;
  134. model.refresh();
  135. }
  136. /* @group : 통합검사그룹항목등록 화면
  137. * @ver : 2010.01.21 (CMCDEV-0001)
  138. * @by : 박상환(평화이즈)
  139. * @-----------------------------------
  140. * @type : function
  141. * @access : public
  142. * @desc : 조회/수정/신규 컨트롤 사용여부 변경 함수
  143. * iGbn : 입력구분 - true/false
  144. */
  145. function fExeControlChng(iGbn){
  146. var vCtrSelArr = new Array();
  147. var sGbn = "";
  148. if(iGbn == "true"){
  149. sGbn = "false";
  150. }else{
  151. sGbn = "true";
  152. }
  153. vCtrSelArr[0] = document.controls("btn_testgrup"); //검사그룹조회 버튼
  154. vCtrSelArr[1] = document.controls("btn_basepart"); //기본파트조회 버튼
  155. vCtrSelArr[2] = document.controls("btn_detlpart"); //세부파트조회 버튼
  156. vCtrSelArr[3] = document.controls("rdo_delflagcd"); //사용구분 라디오버튼
  157. //Control 사용여부 설정
  158. for(var idx = 0; idx < vCtrSelArr.length; idx++){
  159. vCtrSelArr[idx].disabled = sGbn;
  160. }
  161. }
  162. /* @group : 통합검사그룹항목등록 화면
  163. * @ver : 2010.01.21 (CMCDEV-0001)
  164. * @by : 박상환(평화이즈)
  165. * @-----------------------------------
  166. * @type : function
  167. * @access : public
  168. * @desc : 조회, 수정, 신규 작업 구분 함수
  169. */
  170. function fExeCodeUpdtFlag(){
  171. var updtGbn = model.getValue("/root/hidden/cdupdtflag");
  172. //updtGbn - 1:조회, 2:수정, 3:신규
  173. if(updtGbn == "1"){
  174. fExeControlChng("false");
  175. }else if(updtGbn == "2"){
  176. //수정시 선택된 검사그룹코드가 없을경우
  177. if(model.getValue("/root/main/testgrupinfo/testgrupcd") == ""){
  178. messageBox("검사그룹코드를", "C002");
  179. model.resetInstanceNode("/root/main/testgrupinfo");
  180. model.setValue("/root/hidden/cdupdtflag", "1");
  181. fExeControlChng("false");
  182. model.refresh();
  183. return;
  184. }
  185. fExeControlChng("true");
  186. document.controls("btn_testgrup").disabled = "true";
  187. }else{
  188. //조회부조건이 미사용일 경우
  189. if(model.getValue("/root/hidden/delflagcd") == "1"){
  190. messageBox("미사용 조회조건에서는 신규작업을", "E001");
  191. model.setValue("/root/hidden/cdupdtflag", "1");
  192. fExeControlChng("false");
  193. model.refresh();
  194. return;
  195. }
  196. fExeControlChng("true");
  197. fExeInsWork();
  198. }
  199. model.refresh();
  200. }
  201. /* @group : 통합검사그룹항목등록 화면
  202. * @ver : 2010.01.21 (CMCDEV-0001)
  203. * @by : 박상환(평화이즈)
  204. * @-----------------------------------
  205. * @type : function
  206. * @access : public
  207. * @desc : 신규 작업 시 기본 Setting 함수
  208. */
  209. function fExeInsWork(){
  210. model.resetInstanceNode("/root/main/testgrupinfo");
  211. model.setValue("/root/main/testgrupinfo/delflagcd", "0");
  212. document.controls("rdo_delflagcd").disabled = "true";
  213. fGetRefData("testcdlist");
  214. model.refresh();
  215. }
  216. /* @group : 통합검사그룹항목등록 화면
  217. * @ver : 2010.01.21 (CMCDEV-0001)
  218. * @by : 박상환(평화이즈)
  219. * @-----------------------------------
  220. * @type : function
  221. * @access : public
  222. * @desc : 검사그룹항목 리스트 조회 함수
  223. */
  224. function fGetRefData(ref_work_flag){
  225. //---------------------------------------------------------------
  226. if(ref_work_flag == "testgrupinfo" && grp_testgruplist.row < 1) {
  227. return;
  228. }
  229. //lpzfExeRemakeSendNode(5); //send data reset function
  230. if(ref_work_flag != "testcdlist" && model.getValue("/root/hidden/cdupdtflag") != "1"){
  231. if(lpzfExeBfChkMsg("R") == true){
  232. model.setValue("/root/hidden/cdupdtflag", "1");
  233. fExeControlChng("false");
  234. }else{
  235. return;
  236. }
  237. }
  238. //--------------------------------
  239. model.removeNodeset("/root/send");
  240. //----------------------
  241. switch (ref_work_flag) {
  242. case "testcdlist":
  243. if (model.getValue("/root/hidden/cdupdtflag") == "3") {
  244. model.removeNodeset("/root/main/detltestgrup/testitemlist");
  245. grd_testlist.refresh();
  246. }
  247. model.makeValue("/root/send/delflagcd", model.getValue("/root/hidden/delflagcd")); // 조회조건 사용여부구분
  248. model.makeValue("/root/send/testgrupcd", model.getValue("/root/main/testgrupinfo/testgrupcd")); // 검사그룹코드
  249. model.makeValue("/root/send/basepartcd", model.getValue("/root/main/testgrupinfo/basepartcd")); // 기본파트코드
  250. model.makeValue("/root/send/detlpartcd", model.getValue("/root/main/testgrupinfo/detlpartcd")); // 세부파트코드
  251. submit("TRLPC10701");
  252. model.removeNodeset("/root/main/detltestgrup/message");
  253. if(model.getValue("/root/hidden/cdupdtflag") == "3" &&
  254. model.getValue("/root/main/detltestgrup/testitemlist[choi = 'true']/testcd") != ""){
  255. messageBox("이미 검사그룹이 존재하여\n신규작업을 할 수", "I004");
  256. model.setValue("/root/hidden/cdupdtflag", "1");
  257. fExeControlChng("false");
  258. model.setValue("/root/hidden/refflag", "1");
  259. model.setValue("/root/hidden/refval", model.getValue("/root/main/testgrupinfo/testgrupcd"));
  260. fGetRefData("testgruplist");
  261. model.setValue("/root/hidden/refval", "");
  262. return;
  263. }
  264. if(model.getValue("/root/hidden/cdupdtflag") == "3" &&
  265. model.getValue("/root/main/detltestgrup/testitemlist[existflag = '3']/testcd") != ""){
  266. messageBox("사용종료된 검사항목이 있습니다.\n검사그룹 수정작업을 하십시오", "I");
  267. model.setValue("/root/hidden/cdupdtflag", "1");
  268. fExeControlChng("false");
  269. //검사그룹 리스트 조회
  270. model.setValue("/root/hidden/delflagcd", "1");
  271. model.setValue("/root/hidden/refflag", "1");
  272. model.setValue("/root/hidden/refval", model.getValue("/root/main/testgrupinfo/testgrupcd"));
  273. fGetRefData("testgruplist");
  274. model.setValue("/root/hidden/refval", "");
  275. return;
  276. }
  277. break;
  278. case "testgruplist":
  279. model.resetInstanceNode("/root/main/testgrupinfo");
  280. model.resetInstanceNode("/root/main/detltestgrup");
  281. model.removeNodeset("/root/main/detltestgrup/testitemlist");
  282. grd_testlist.rebuild();
  283. model.makeValue("/root/send/delflagcd", model.getValue("/root/hidden/delflagcd")); //조회조건 사용여부구분
  284. model.makeValue("/root/send/refflag", model.getValue("/root/hidden/refflag")); //조회구분
  285. model.makeValue("/root/send/refval", model.getValue("/root/hidden/refval")); //조회값
  286. submit("TRLPC10702");
  287. model.removeNodeset("/root/main/testgrupcnts/message");
  288. break;
  289. case "testgrupinfo":
  290. var prest_row = grp_testgruplist.row;
  291. model.makeValue("/root/send/delflagcd", model.getValue("/root/hidden/delflagcd")); //사용여부구분
  292. model.makeValue("/root/send/testgrupcd", model.getValue("/root/main/testgrupcnts/testgruplist[" + prest_row + "]/testgrupcd")); //검사그룹코드
  293. submit("TRLPC10703");
  294. model.removeNodeset("/root/main/message");
  295. fGetRefData("testcdlist");
  296. break;
  297. default:
  298. break;
  299. }
  300. model.refresh();
  301. }
  302. /* @group : 통합검사그룹항목등록 화면
  303. * @ver : 2010.01.21 (CMCDEV-0001)
  304. * @by : 박상환(평화이즈)
  305. * @-----------------------------------
  306. * @type : function
  307. * @access : public
  308. * @desc : 초기 조회된 검사항목 리스트의 원본정보를 저장/비교한다.
  309. */
  310. function fExeOrgData(flag){
  311. //화면초기화 및 저장된 항목 insert ********************
  312. var prest_test_cd = new Array();
  313. var choi_test_cd = new Array();
  314. var cnt_choi_test_item = 0;
  315. var cnt_prest_test_item = 0;
  316. var prest_row; //추가나 수정이 시작될 row
  317. //검사그룹리스트
  318. for(var i = 1; i < grp_testgruplist.rows; i++){
  319. if(model.getValue("/root/main/testgrupcnts/testgruplist[" + i + "]/testgrupcd") ==
  320. model.getValue("/root/main/testgrupinfo/testgrupcd")){
  321. prest_test_cd[cnt_prest_test_item++] = model.getValue("/root/main/testgrupcnts/testgruplist[" + i + "]/testcd");
  322. }
  323. }
  324. //검사항목리스트
  325. for(var i = 1; i < grd_testlist.rows; i++){
  326. if(model.getValue("/root/main/detltestgrup/testitemlist[" + i + "]/choi") == "true"){
  327. choi_test_cd[cnt_choi_test_item++] = model.getValue("/root/main/detltestgrup/testitemlist[" + i + "]/testcd");
  328. }
  329. }
  330. //1. 새로 추가된 항목들
  331. var j = 0;
  332. for(var i = 0; i < choi_test_cd.length; i++){
  333. for(j = 0; j < prest_test_cd.length; j++){
  334. if(choi_test_cd[i] == prest_test_cd[j]){
  335. break;
  336. }
  337. }
  338. if(j >= prest_test_cd.length){
  339. return true;
  340. }
  341. }
  342. //2. 새로 제거된 항목들
  343. j = 0;
  344. for(var i = 0; i < prest_test_cd.length; i++){
  345. for(j = 0; j < choi_test_cd.length; j++){
  346. if(choi_test_cd[i] == prest_test_cd[j]){
  347. break;
  348. }
  349. }
  350. if(j >= choi_test_cd.length){
  351. return true;
  352. }
  353. }
  354. return false;
  355. }
  356. /* @group : 통합검사그룹항목등록 화면
  357. * @ver : 2010.01.21 (CMCDEV-0001)
  358. * @by : 박상환(평화이즈)
  359. * @-----------------------------------
  360. * @type : function
  361. * @access : public
  362. * @desc : 처리부영역 항목 선택시 처리 함수
  363. * gbn : 선택된 처리값
  364. */
  365. function fExeCheckItem(flag){
  366. //수정 or 신규작업시에만 Check
  367. if(flag != "refval" && flag != "choiitem" && model.getValue("/root/hidden/cdupdtflag") == "1"){
  368. return;
  369. }else if(model.getValue("/root/hidden/cdupdtflag") == "2" && model.getValue("/root/main/testgrupinfo/testgrupcd") == ""){
  370. return;
  371. }
  372. var arr_flag = flag.split("_");
  373. if(arr_flag.length > 1){
  374. flag = arr_flag[0];
  375. }
  376. switch(flag){
  377. case "basepart": //기본파트 선택 팝업호출
  378. lpzfExeComnOpenScrn("basepart", "/root/main/testgrupinfo");
  379. model.resetInstanceNode("/root/main/testgrupinfo/detlpartcd");
  380. model.resetInstanceNode("/root/main/testgrupinfo/detlpartnm");
  381. fGetRefData("testcdlist"); //검사항목리스트 재조회
  382. break;
  383. case "detlpart": //세부파트 선택 팝업호출
  384. lpzfExeComnOpenScrn("detlpart", "/root/main/testgrupinfo");
  385. fGetRefData("testcdlist"); //검사항목리스트 재조회
  386. break;
  387. case "testgrup": //검사그룹 선택 팝업호출
  388. lpzfExeComnOpenScrn("testgrup", "/root/main/testgrupinfo");
  389. fGetRefData("testcdlist"); //검사항목리스트 재조회
  390. break;
  391. case "ptnocode":
  392. model.setValue("/root/hidden/tempptnocd", "");
  393. lpzfExeComnOpenScrn("ptnocode");
  394. if(model.getValue("/root/hidden/tempptnocd") != ""){
  395. if(arr_flag[1] == "1"){
  396. model.setValue("/root/main/detltestgrup/testitemlist[" + (grd_testlist.row-1) + "]/ptnocd", model.getValue("/root/hidden/tempptnocd"));
  397. }else if(arr_flag[1] == "2"){
  398. model.setValue("/root/main/detltestgrup/testitemlist[" + (grd_testlist.row-1) + "]/stdyptnocd", model.getValue("/root/hidden/tempptnocd"));
  399. }else if(arr_flag[1] == "3"){
  400. model.setValue("/root/main/detltestgrup/testitemlist[" + (grd_testlist.row-1) + "]/trustptnocd", model.getValue("/root/hidden/tempptnocd"));
  401. }
  402. }
  403. break;
  404. case "choiitem":
  405. if(grd_testlist.col == 0){
  406. if(model.getValue("/root/hidden/cdupdtflag") == "1"){
  407. messageBox("조회작업 중", "E008");
  408. if(model.getValue("/root/main/detltestgrup/testitemlist[" + (grd_testlist.row-1) + "]/existflag") == "0" ||
  409. model.getValue("/root/main/detltestgrup/testitemlist[" + (grd_testlist.row-1) + "]/existflag") == "3"){
  410. model.setValue("/root/main/detltestgrup/testitemlist[" + (grd_testlist.row-1) + "]/choi", "false");
  411. }else{
  412. model.setValue("/root/main/detltestgrup/testitemlist[" + (grd_testlist.row-1) + "]/choi", "true");
  413. }
  414. }else{
  415. if(model.getValue("/root/main/detltestgrup/testitemlist[" + (grd_testlist.row-1) + "]/choi") == "true" &&
  416. model.getValue("/root/main/detltestgrup/testitemlist[" + (grd_testlist.row-1) + "]/existflag") == "0"){
  417. model.setValue("/root/main/detltestgrup/testitemlist[" + (grd_testlist.row-1) + "]/existflag", "2");
  418. }else if(model.getValue("/root/main/detltestgrup/testitemlist[" + (grd_testlist.row-1) + "]/choi") == "false" &&
  419. model.getValue("/root/main/detltestgrup/testitemlist[" + (grd_testlist.row-1) + "]/existflag") == "2"){
  420. model.setValue("/root/main/detltestgrup/testitemlist[" + (grd_testlist.row-1) + "]/existflag", "0");
  421. }
  422. }
  423. }
  424. break;
  425. case "refval":
  426. if(model.getValue("/root/hidden/refval") != ""){
  427. lpzfExeLrgChar("/root/hidden/refval");
  428. }
  429. break;
  430. default:
  431. break;
  432. }
  433. model.refresh();
  434. }
  435. /* @group : 통합검사그룹항목등록 화면
  436. * @ver : 2010.01.21 (CMCDEV-0001)
  437. * @by : 박상환(평화이즈)
  438. * @-----------------------------------
  439. * @type : function
  440. * @access : public
  441. * @desc : 검사항목코드정보 수정/신규 함수
  442. */
  443. function fSetUpdtData(){
  444. var updt_flag = model.getValue("/root/hidden/cdupdtflag");
  445. var totcnt = grd_testlist.rows;
  446. var next_row = 1;
  447. var save_type = "";
  448. var sel_item = 0;
  449. if(updt_flag == "1"){
  450. messageBox("조회작업 중", "E008");
  451. return;
  452. }
  453. //선택된 항목이 있는지 확인 ********************************
  454. for(var i = 1; i < grd_testlist.rows; i++){
  455. if(model.getValue("/root/main/detltestgrup/testitemlist[" + i + "]/choi") == "true"){
  456. sel_item++;
  457. }
  458. }
  459. if(sel_item < 1){
  460. messageBox("검사항목을 선택 ", "C002");
  461. return;
  462. }
  463. //********************************************************
  464. //필수 입력항목 및 자리수 확인
  465. if(model.getValue("/root/main/testgrupinfo/testgrupcd") == ""){
  466. messageBox("검사그룹 코드를", "C002");
  467. return;
  468. }
  469. //저장여부 확인Message
  470. if(lpzfExeBfChkMsg("UI") == false){
  471. //6:예, 7:아니오, 2:취소
  472. return;
  473. }
  474. lpzfExeRemakeSendNode(4); //send node reset
  475. for(var idx = 1; idx < totcnt; idx++){
  476. if(model.getValue("/root/main/detltestgrup/testitemlist[" + idx + "]/existflag") != "0"){
  477. model.makeNode("/root/hidden/sendnode/testinfo[" + next_row + "]");
  478. model.copyNode("/root/hidden/sendnode/testinfo[" + (next_row++) + "]",
  479. "/root/main/detltestgrup/testitemlist[" + idx + "]");
  480. }
  481. }
  482. var testgrupcd = model.getValue("/root/main/testgrupinfo/testgrupcd");
  483. model.setValue("/root/send/data1", updt_flag); //수정/신규구분
  484. model.copyNode("/root/send/data2", "/root/main/testgrupinfo"); //검사그룹정보
  485. model.copyNode("/root/send/data3", "/root/hidden/sendnode"); //검사코드정보
  486. model.setValue("/root/send/data4", model.getValue("/root/main/testgrupcnts/testgruplist[testgrupcd = '" + testgrupcd + "']/delflagcd"));
  487. if(submit("TXLPC10701")){
  488. messageBox("저장이", "I002");
  489. model.resetInstanceNode("/root/main/testgrupinfo");
  490. model.setValue("/root/hidden/cdupdtflag", "1");
  491. fExeControlChng("false");
  492. model.removeNodeset("/root/main/detltestgrup/testitemlist");
  493. model.setValue("/root/hidden/cdupdtflag", "1");
  494. fExeControlChng("false");
  495. fGetRefData("testgruplist");
  496. }else{
  497. messageBox("저장이", "E009");
  498. }
  499. model.removeNodeset("/root/hidden/sendnode/testinfo");
  500. model.refresh();
  501. }
  502. /* @group : 통합검사그룹항목등록 화면
  503. * @ver : 2010.01.21 (CMCDEV-0001)
  504. * @by : 박상환(평화이즈)
  505. * @-----------------------------------
  506. * @type : function
  507. * @access : public
  508. * @desc : 검사항목 그리드 클릭 처리 함수
  509. */
  510. function fExeTestClick() {
  511. //------------------------------------------------------------------------------------
  512. if (grd_testlist.isCell(event.target) && grd_testlist.row >= grd_testlist.fixedRows) {
  513. fExeCheckItem("ptnocode_1");
  514. }
  515. }
  516. /* @group : 검사그룹항목등록 화면
  517. * @ver : 2010.01.21 (CMCDEV-0001)
  518. * @by : 박상환(평화이즈)
  519. * @-----------------------------------
  520. * @type : function
  521. * @access : public
  522. * @desc : 검사그룹항목 그리드 클릭 처리 함수
  523. */
  524. function fExeGroupClick() {
  525. //------------------------------------------------------------------------------------------------
  526. if (grp_testgruplist.isCell(event.target) && grp_testgruplist.row >= grp_testgruplist.fixedRows) {
  527. fGetRefData("testgrupinfo");
  528. }
  529. }
  530. function fExePtNoPopupCall() {
  531. switch (grd_testlist.col) {
  532. case 3 : fExeCheckItem("ptnocode_1");
  533. break;
  534. case 5 : fExeCheckItem("ptnocode_2");
  535. break;
  536. case 7 : fExeCheckItem("ptnocode_3");
  537. break;
  538. }
  539. }
  540. /* @group : 통합검사그룹항목등록
  541. * @ver : 2009.10.26 (CMCDEV-0001)
  542. * @by : 박상환(평화이즈)
  543. * @-----------------------------------
  544. * @type : function
  545. * @access : public
  546. * @desc : 병원별 내려받기 Function
  547. */
  548. function fSetDownData()
  549. {
  550. //--------------------------------
  551. model.removeNodeset("/root/send");
  552. var strSrcNode = "/root/main/testgrupcnts/testgruplist";
  553. var sSendMsg = "";
  554. var sChecktestcd = "";
  555. var sMcheck = "";
  556. sSendMsg = "m▦instcd▦testgrupcd▦todd▦testcd▩";
  557. //------------------------------------------------------------------- 체크한 항목을 담음
  558. for (var iRowNo=1; iRowNo <= getNodesetCount(strSrcNode); iRowNo++) {
  559. if (model.getValue(strSrcNode+"["+iRowNo+"]/grupchoi") == "true") {
  560. sSendMsg += "i" + "▦"; //m
  561. sSendMsg += getUserInfo("dutplceinstcd") + "▦"; //instcd
  562. sSendMsg += model.getValue( strSrcNode + "[" + iRowNo + "]/testgrupcd") + "▦"; //TESTGRUPCD
  563. sSendMsg += model.getValue( strSrcNode + "[" + iRowNo + "]/todd") + "▦"; //todd
  564. sSendMsg += model.getValue( strSrcNode + "[" + iRowNo + "]/testcd") + "▩"; //testcd
  565. }
  566. }
  567. model.makeValue("/root/send/hosplist", sSendMsg);
  568. model.resetInstanceNode("/root/temp/testcdlist");
  569. submit("TRLPC10704"); // 체크한 항목중 이미 내려 받은 것을 조회
  570. var nodelist = instance1.selectNodes("/root/temp/testcdlist");
  571. model.resetInstanceNode("/root/send/hosplist");
  572. for( var i = 1; i <= nodelist.length ; i++){
  573. sChecktestcd += model.getValue("/root/temp/testcdlist[" + i + "]/testgrupcd") + "(" + model.getValue("/root/temp/testcdlist[" + i + "]/testcd") + ")" + " ,";
  574. }
  575. if(nodelist.length > 0){
  576. // 이미 내려받은 코드에 대해 확인 여부
  577. if ( messageBox(sChecktestcd + "그룹코드(검사코드)는 이미 존재합니다. 바꾸는 것을 ", "Q004") != 6 ) {
  578. return;
  579. }else{
  580. //-------------------------------- 이미 내려 받은 것은 "u" 로 하기위해 다시 셋팅함.
  581. model.removeNodeset("/root/send");
  582. sSendMsg = "";
  583. sSendMsg = "m▦instcd▦testgrupcd▦testcd▦ptnocd▦ptnocdflagcd▦stdyptnocd▦stdyptnocdflagcd▦trustptnocd▦trustptnocdflagcd▦trusttestflagcd▦dispseqno▦delflagcd▩";
  584. //-------------------------------------------------------------------
  585. for (var iRowNo=1; iRowNo <= getNodesetCount(strSrcNode); iRowNo++) {
  586. if (model.getValue(strSrcNode+"["+iRowNo+"]/grupchoi") == "true") {
  587. sMcheck = "i";
  588. for(var j = 1; j <=nodelist.length ; j++){
  589. if(model.getValue( strSrcNode + "[" + iRowNo + "]/testgrupcd") == model.getValue("/root/temp/testcdlist[" + j + "]/testgrupcd") && model.getValue( strSrcNode + "[" + iRowNo + "]/testcd") == model.getValue("/root/temp/testcdlist[" + j + "]/testcd")){
  590. sMcheck = "u";
  591. }
  592. }
  593. sSendMsg += sMcheck + "▦"; //m
  594. sSendMsg += getUserInfo("dutplceinstcd") + "▦"; //instcd
  595. sSendMsg += model.getValue( strSrcNode + "[" + iRowNo + "]/testgrupcd") + "▦"; //testgrupcd
  596. sSendMsg += model.getValue( strSrcNode + "[" + iRowNo + "]/testcd") + "▦"; //testcd
  597. sSendMsg += model.getValue( strSrcNode + "[" + iRowNo + "]/ptnocd") + "▦"; //ptnocd
  598. sSendMsg += model.getValue( strSrcNode + "[" + iRowNo + "]/ptnocdflagcd") + "▦"; //ptnocdflagcd
  599. sSendMsg += model.getValue( strSrcNode + "[" + iRowNo + "]/stdyptnocd") + "▦"; //stdyptnocd
  600. sSendMsg += model.getValue( strSrcNode + "[" + iRowNo + "]/stdyptnocdflagcd") + "▦"; //stdyptnocdflagcd
  601. sSendMsg += model.getValue( strSrcNode + "[" + iRowNo + "]/trustptnocd") + "▦"; //trustptnocd
  602. sSendMsg += model.getValue( strSrcNode + "[" + iRowNo + "]/trustptnocdflagcd") + "▦"; //trustptnocdflagcd
  603. sSendMsg += model.getValue( strSrcNode + "[" + iRowNo + "]/trusttestflagcd") + "▦"; //trusttestflagcd
  604. sSendMsg += model.getValue( strSrcNode + "[" + iRowNo + "]/dispseqno") + "▦"; //dispseqno
  605. sSendMsg += model.getValue( strSrcNode + "[" + iRowNo + "]/delflagcd") + "▩"; //delflagcd
  606. }
  607. }
  608. model.makeValue("/root/send/hosplist", sSendMsg);
  609. }
  610. }else {
  611. //-------------------------------- 이미 내려 받은 것은 "u" 로 하기위해 다시 셋팅함.
  612. model.removeNodeset("/root/send");
  613. sSendMsg = "";
  614. sSendMsg = "m▦instcd▦testgrupcd▦testcd▦ptnocd▦ptnocdflagcd▦stdyptnocd▦stdyptnocdflagcd▦trustptnocd▦trustptnocdflagcd▦trusttestflagcd▦dispseqno▦delflagcd▩";
  615. //-------------------------------------------------------------------
  616. for (var iRowNo=1; iRowNo <= getNodesetCount(strSrcNode); iRowNo++) {
  617. if (model.getValue(strSrcNode+"["+iRowNo+"]/grupchoi") == "true") {
  618. sMcheck = "i";
  619. sSendMsg += sMcheck + "▦"; //m
  620. sSendMsg += getUserInfo("dutplceinstcd") + "▦"; //instcd
  621. sSendMsg += model.getValue( strSrcNode + "[" + iRowNo + "]/testgrupcd") + "▦"; //testgrupcd
  622. sSendMsg += model.getValue( strSrcNode + "[" + iRowNo + "]/testcd") + "▦"; //testcd
  623. sSendMsg += model.getValue( strSrcNode + "[" + iRowNo + "]/ptnocd") + "▦"; //ptnocd
  624. sSendMsg += model.getValue( strSrcNode + "[" + iRowNo + "]/ptnocdflagcd") + "▦"; //ptnocdflagcd
  625. sSendMsg += model.getValue( strSrcNode + "[" + iRowNo + "]/stdyptnocd") + "▦"; //stdyptnocd
  626. sSendMsg += model.getValue( strSrcNode + "[" + iRowNo + "]/stdyptnocdflagcd") + "▦"; //stdyptnocdflagcd
  627. sSendMsg += model.getValue( strSrcNode + "[" + iRowNo + "]/trustptnocd") + "▦"; //trustptnocd
  628. sSendMsg += model.getValue( strSrcNode + "[" + iRowNo + "]/trustptnocdflagcd") + "▦"; //trustptnocdflagcd
  629. sSendMsg += model.getValue( strSrcNode + "[" + iRowNo + "]/trusttestflagcd") + "▦"; //trusttestflagcd
  630. sSendMsg += model.getValue( strSrcNode + "[" + iRowNo + "]/dispseqno") + "▦"; //dispseqno
  631. sSendMsg += model.getValue( strSrcNode + "[" + iRowNo + "]/delflagcd") + "▩"; //delflagcd
  632. }
  633. }
  634. model.makeValue("/root/send/hosplist", sSendMsg);
  635. }
  636. //------------------- 내려 받음.
  637. if(submit("TXLPC10702") == true){
  638. messageBox("저장이", "I002");
  639. }else{
  640. messageBox("저장이", "E009");
  641. }
  642. }
  643. ]]>
  644. </script>
  645. <!-- public Script end -->
  646. <submission id="TRLPC10701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/detltestgrup/testitemlist"/>
  647. <submission id="TRLPC10702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/testgrupcnts/testgruplist"/>
  648. <submission id="TRLPC10703" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/testgrupinfo"/>
  649. <submission id="TXLPC10701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/msg"/>
  650. <submission id="TRLPC10704" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp/testcdlist"/>
  651. <submission id="TXLPC10702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/msg"/>
  652. </model>
  653. </xhtml:head>
  654. <xhtml:body guideline="1,1194;2,784;2,58;2,757;1,565;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  655. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  656. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:15px; ">통합검사그룹관리</caption>
  657. </group>
  658. <group id="grp_btn" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
  659. <button id="button11" class="btn4_letter2" navindex="12" style="left:1138px; top:3px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
  660. <caption>저장</caption>
  661. <script type="javascript" ev:event="onclick">
  662. <![CDATA[
  663. fSetUpdtData();
  664. ]]>
  665. </script>
  666. </button>
  667. <line id="line17" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
  668. <button id="button1" class="btn4_letter4" style="left:1055px; top:3px; width:80px; height:22px; ">
  669. <caption>내려받기</caption>
  670. <script type="javascript" ev:event="DOMActivate">
  671. <![CDATA[
  672. fSetDownData();
  673. ]]>
  674. </script>
  675. </button>
  676. </group>
  677. <group id="grp_biz" scroll="auto" style="left:0px; top:40px; width:1195px; height:744px; ">
  678. <group id="group1" style="left:0px; top:10px; width:1194px; height:35px; ">
  679. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  680. <button id="button3" class="btn1_letter2" navindex="4" style="left:1123px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  681. <caption>조회</caption>
  682. <script type="javascript" ev:event="onclick">
  683. <![CDATA[
  684. fGetRefData("testgruplist");
  685. ]]>
  686. </script>
  687. </button>
  688. <line id="line14" class="line_4" style="x1:1108px; y1:6px; x2:1108px; y2:28px; border-color:#ffe4bb; border-left-style:solid; "/>
  689. <caption id="caption2" class="search_name" style="left:15px; top:9px; width:90px; height:17px; vertical-align:middle; background-image:../../../com/commonweb/images/search_bullet1.gif; ">사용여부 :</caption>
  690. <input id="input1" ref="/root/hidden/refval" class="input_search" navindex="3" imemode="alpha" maxlength="10" style="left:974px; top:8px; width:120px; height:19px; ">
  691. <script type="javascript" ev:event="DOMFocusOut">
  692. <![CDATA[
  693. fExeCheckItem("refval");
  694. ]]>
  695. </script>
  696. </input>
  697. <select1 id="combo1" ref="/root/hidden/refflag" class="combo_search" navindex="2" appearance="minimal" style="left:851px; top:8px; width:120px; height:19px; ">
  698. <choices>
  699. <item>
  700. <label>검사그룹코드</label>
  701. <value>1</value>
  702. </item>
  703. <item>
  704. <label>검사코드</label>
  705. <value>2</value>
  706. </item>
  707. </choices>
  708. </select1>
  709. <caption id="caption22" class="search_name" style="left:773px; top:9px; width:75px; height:17px; vertical-align:middle; background-image:../../../com/commonweb/images/search_bullet1.gif; ">조회값 :</caption>
  710. <select1 id="rdo_s_delflagcd" ref="/root/hidden/delflagcd" class="radio_search" navindex="1" appearance="full" cellspacing="20" cols="3" overflow="visible" style="left:108px; top:10px; width:122px; height:16px; border-style:none; ">
  711. <choices>
  712. <item>
  713. <label>사용</label>
  714. <value>0</value>
  715. </item>
  716. <item>
  717. <label>미사용</label>
  718. <value>1</value>
  719. </item>
  720. </choices>
  721. </select1>
  722. </group>
  723. <group id="group2" style="left:0px; top:55px; width:560px; height:689px; ">
  724. <caption id="caption1" class="tit_2" style="left:5px; top:0px; width:131px; height:14px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">검사그룹</caption>
  725. <line id="line1" class="line_1" style="x1:0px; y1:15px; x2:560px; y2:15px; "/>
  726. <datagrid id="grp_testgruplist" nodeset="/root/main/testgrupcnts/testgruplist" caption="선택^그룹코드^시작일자^종료일자^그룹명칭^검사코드^검사명칭^delflagcd^ptnocd^ptnocdflagcd^stdyptnocd^stdyptnocdflagcd^trustptnocd^trustptnocdflagcd^trusttestflagcd^dispseqno^사용여부" colsep="^" colwidth="60, 80, 75, 75, 120, 80, 105, 100, 100, 100, 100, 100, 100, 100, 100, 100" dataheight="23" ellipsis="true" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" navindex="5" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:20px; width:560px; height:660px; border-color:#c0c0c0; ">
  727. <col ref="grupchoi" type="checkbox"/>
  728. <col ref="testgrupcd" type="output"/>
  729. <col ref="fromdd" type="output" format="yyyy-mm-dd"/>
  730. <col ref="todd" type="output" format="yyyy-mm-dd"/>
  731. <col ref="testgrupnm" type="output"/>
  732. <col ref="testcd" type="output"/>
  733. <col ref="testnm" type="output"/>
  734. <col ref="delflagcd" type="output" visibility="hidden"/>
  735. <col ref="ptnocd" type="output" visibility="hidden"/>
  736. <col ref="ptnocdflagcd" type="output" visibility="hidden"/>
  737. <col ref="stdyptnocd" type="output" visibility="hidden"/>
  738. <col ref="stdyptnocdflagcd" type="output" visibility="hidden"/>
  739. <col ref="trustptnocd" type="output" visibility="hidden"/>
  740. <col ref="trustptnocdflagcd" type="output" visibility="hidden"/>
  741. <col ref="trusttestflagcd" type="output" visibility="hidden"/>
  742. <col ref="dispseqno" type="output" visibility="hidden"/>
  743. <script type="javascript" ev:event="onclick">
  744. <![CDATA[
  745. fExeGroupClick();
  746. ]]>
  747. </script>
  748. <script type="javascript" ev:event="onaftersort">
  749. <![CDATA[
  750. grp_testgruplist.gridToInstance();
  751. ]]>
  752. </script>
  753. <script type="javascript" ev:event="xforms-value-changed">
  754. <![CDATA[
  755. var sNode = "/root/main/testgrupcnts/testgruplist";
  756. var sTestgrupcd = "";
  757. if ((grp_testgruplist.col == grp_testgruplist.colRef("grupchoi")) && (grp_testgruplist.row >= grp_testgruplist.fixedRows) && (grp_testgruplist.isCell(event.target))){
  758. sTestgrupcd = model.getValue(sNode+"["+ grp_testgruplist.row +"]/testgrupcd");
  759. for (var iNo=1; iNo <= getNodesetCount(sNode); iNo++) {
  760. if(model.getValue(sNode+"["+ iNo +"]/testgrupcd") == sTestgrupcd) {
  761. model.setValue(sNode+"["+iNo+"]/grupchoi", model.getValue(sNode+"["+ grp_testgruplist.row +"]/grupchoi"));
  762. if(model.getValue(sNode+"["+ grp_testgruplist.row +"]/grupchoi") == "false") {
  763. } else {
  764. }
  765. }
  766. }
  767. grp_testgruplist.refresh();
  768. }
  769. ]]>
  770. </script>
  771. </datagrid>
  772. </group>
  773. <group id="group5" style="left:565px; top:55px; width:629px; height:689px; ">
  774. <caption id="caption3" class="tit_2" style="left:5px; top:5px; width:98px; height:13px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">검사그룹정보</caption>
  775. <line id="line2" class="line_1" style="x1:0px; y1:20px; x2:629px; y2:20px; "/>
  776. <line id="line10" class="line_2" style="x1:0px; y1:47px; x2:629px; y2:47px; "/>
  777. <line id="line11" class="line_2" style="x1:0px; y1:71px; x2:629px; y2:71px; "/>
  778. <line id="line12" class="line_2" style="x1:0px; y1:95px; x2:629px; y2:95px; "/>
  779. <line id="line13" class="line_2" style="x1:0px; y1:119px; x2:629px; y2:119px; "/>
  780. <caption id="caption13" class="cell_1" style="left:0px; top:25px; width:130px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">검사그룹코드</caption>
  781. <caption id="caption14" class="cell_1" style="left:0px; top:73px; width:130px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">시작일자</caption>
  782. <caption id="caption16" class="cell_1" style="left:316px; top:73px; width:130px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">종료일자</caption>
  783. <caption id="caption17" class="cell_1" style="left:0px; top:49px; width:130px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">그룹명칭</caption>
  784. <line id="line4" class="line_2" style="x1:0px; y1:143px; x2:629px; y2:143px; "/>
  785. <caption id="caption4" class="cell_1" style="left:316px; top:49px; width:130px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">그룹약칭</caption>
  786. <caption id="caption5" class="cell_1" style="left:0px; top:97px; width:130px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">기본파트</caption>
  787. <caption id="caption7" class="cell_1" style="left:316px; top:97px; width:130px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">세부파트</caption>
  788. <caption id="caption8" class="cell_1" style="left:316px; top:25px; width:130px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">사용여부</caption>
  789. <caption id="caption12" class="cell_1" style="left:316px; top:145px; width:130px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">최종등록자</caption>
  790. <select1 id="rdo_lendflag" ref="/root/hidden/cdupdtflag" navindex="6" appearance="full" cellspacing="10" cols="3" overflow="visible" style="left:106px; top:4px; width:155px; height:13px; border-style:none; ">
  791. <choices>
  792. <item>
  793. <label>조회</label>
  794. <value>1</value>
  795. </item>
  796. <item>
  797. <label>수정</label>
  798. <value>2</value>
  799. </item>
  800. </choices>
  801. <script type="javascript" ev:event="xforms-value-changed">
  802. <![CDATA[
  803. fExeCodeUpdtFlag();
  804. ]]>
  805. </script>
  806. </select1>
  807. <caption id="caption15" class="cell_1" style="left:0px; top:121px; width:130px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">최초등록일시</caption>
  808. <caption id="caption18" class="cell_1" style="left:316px; top:121px; width:130px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">최초등록자</caption>
  809. <caption id="caption19" class="cell_1" style="left:0px; top:145px; width:130px; height:23px; text-align:left; vertical-align:middle; padding-left:10px; ">최종등록일시</caption>
  810. <select1 id="rdo_delflagcd" ref="/root/main/testgrupinfo/delflagcd" navindex="10" appearance="full" cellspacing="30" cols="2" overflow="visible" style="left:449px; top:29px; width:132px; height:13px; border-style:none; ">
  811. <choices>
  812. <item>
  813. <label>사용</label>
  814. <value>0</value>
  815. </item>
  816. <item>
  817. <label>미사용</label>
  818. <value>1</value>
  819. </item>
  820. </choices>
  821. </select1>
  822. <output id="opt_fstrgstdt" ref="/root/main/testgrupinfo/fstrgstdt" class="output_fix" format="yyyy-mm-dd hh:mm:ss" appearance="output" style="left:133px; top:122px; width:180px; height:19px; border-color:#c0c0c0; "/>
  823. <output id="opt_fstrgstrid" ref="/root/main/testgrupinfo/fstrgstrid" class="output_fix" appearance="output" style="left:449px; top:122px; width:180px; height:19px; border-color:#c0c0c0; "/>
  824. <output id="opt_lastupdtdt" ref="/root/main/testgrupinfo/lastupdtdt" class="output_fix" format="yyyy-mm-dd hh:mm:ss" appearance="output" style="left:133px; top:146px; width:180px; height:19px; border-color:#c0c0c0; "/>
  825. <output id="opt_lastupdtrid" ref="/root/main/testgrupinfo/lastupdtrid" class="output_fix" appearance="output" style="left:449px; top:146px; width:180px; height:19px; border-color:#c0c0c0; "/>
  826. <caption id="caption9" class="tit_2" style="left:5px; top:178px; width:70px; height:13px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">검사항목</caption>
  827. <line id="line8" class="line_1" style="x1:0px; y1:193px; x2:629px; y2:193px; "/>
  828. <output id="opt_testgrupabbr" ref="/root/main/testgrupinfo/testgrupabbr" class="output_fix" appearance="output" style="left:449px; top:50px; width:180px; height:19px; border-color:#c0c0c0; "/>
  829. <output id="opt_testgrupnm" ref="/root/main/testgrupinfo/testgrupnm" class="output_fix" appearance="output" style="left:133px; top:50px; width:180px; height:19px; border-color:#c0c0c0; "/>
  830. <output id="opt_uedd" ref="/root/main/testgrupinfo/todd" class="output_fix" format="yyyy-mm-dd" appearance="output" style="left:449px; top:74px; width:180px; height:19px; border-color:#c0c0c0; "/>
  831. <output id="ipt_usdd" ref="/root/main/testgrupinfo/fromdd" class="output_fix" format="yyyy-mm-dd" appearance="output" style="left:133px; top:74px; width:180px; height:19px; border-color:#c0c0c0; "/>
  832. <output id="opt_testgrupcd" ref="/root/main/testgrupinfo/testgrupcd" class="output_fix" appearance="output" style="left:133px; top:26px; width:161px; height:19px; border-color:#c0c0c0; "/>
  833. <button id="btn_basepart" class="icon_search" navindex="8" visibility="hidden" style="left:176px; top:101px; width:16px; height:16px; ">
  834. <caption/>
  835. <script type="javascript" ev:event="onclick">
  836. <![CDATA[
  837. fExeCheckItem("basepart");
  838. ]]>
  839. </script>
  840. </button>
  841. <button id="btn_detlpart" class="icon_search" navindex="9" visibility="hidden" style="left:492px; top:101px; width:16px; height:16px; ">
  842. <caption/>
  843. <script type="javascript" ev:event="onclick">
  844. <![CDATA[
  845. fExeCheckItem("detlpart");
  846. ]]>
  847. </script>
  848. </button>
  849. <output id="opt_basepartcd" ref="/root/main/testgrupinfo/basepartcd" class="output_fix" appearance="output" style="left:133px; top:98px; width:58px; height:19px; border-color:#c0c0c0; "/>
  850. <output id="opt_detlpartcd" ref="/root/main/testgrupinfo/detlpartcd" class="output_fix" appearance="output" style="left:449px; top:98px; width:58px; height:19px; border-color:#c0c0c0; "/>
  851. <output id="opt_basepartnm" ref="/root/main/testgrupinfo/basepartnm" class="output_fix" appearance="output" style="left:194px; top:98px; width:119px; height:19px; padding-left:10px; border-color:#c0c0c0; "/>
  852. <output id="opt_detlpartnm" ref="/root/main/testgrupinfo/detlpartnm" class="output_fix" appearance="output" style="left:510px; top:98px; width:119px; height:19px; padding-left:10px; border-color:#c0c0c0; "/>
  853. <button id="btn_testgrup" class="icon_search" navindex="7" style="left:297px; top:26px; width:16px; height:16px; ">
  854. <caption/>
  855. <script type="javascript" ev:event="onclick">
  856. <![CDATA[
  857. fExeCheckItem("testgrup");
  858. ]]>
  859. </script>
  860. </button>
  861. <datagrid id="grd_testlist" nodeset="/root/main/detltestgrup/testitemlist" class="datagrid1" caption="선택^검사코드^검사명칭^병리번호^병리번호^연구병리번호^연구병리번호^수탁병리번호^수탁병리번호^위탁검사&#xA;구분^표시&#xA;순서^fromdd^todd^기존데이터여부|선택^검사코드^검사명칭^코드^구분^코드^구분^코드^구분^위탁검사&#xA;구분^표시&#xA;순서^fromdd^todd^기존데이터여부" colsep="^" colwidth="30, 65, 90, 60, 55, 60, 55, 60, 55, 55, 40, 0, 0, 0" dataheight="23" ellipsis="true" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheight="23" rowsep="|" navindex="11" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:198px; width:629px; height:477px; border-color:#c0c0c0; ">
  862. <col ref="choi" type="checkbox"/>
  863. <col ref="testcd" type="output"/>
  864. <col ref="testnm" type="output"/>
  865. <col ref="ptnocd" type="inputbutton"/>
  866. <col ref="ptnocdflagcd" type="combo">
  867. <choices>
  868. <item>
  869. <label>불포함</label>
  870. <value>1</value>
  871. </item>
  872. <item>
  873. <label>포함</label>
  874. <value>0</value>
  875. </item>
  876. </choices>
  877. </col>
  878. <col ref="stdyptnocd" type="inputbutton"/>
  879. <col ref="stdyptnocdflagcd" type="combo">
  880. <choices>
  881. <item>
  882. <label>불포함</label>
  883. <value>1</value>
  884. </item>
  885. <item>
  886. <label>포함</label>
  887. <value>0</value>
  888. </item>
  889. </choices>
  890. </col>
  891. <col ref="trustptnocd" type="inputbutton"/>
  892. <col ref="trustptnocdflagcd" type="combo">
  893. <choices>
  894. <item>
  895. <label>불포함</label>
  896. <value>1</value>
  897. </item>
  898. <item>
  899. <label>포함</label>
  900. <value>0</value>
  901. </item>
  902. </choices>
  903. </col>
  904. <col ref="trusttestflagcd" type="combo">
  905. <choices>
  906. <item>
  907. <label>비위탁</label>
  908. <value>0</value>
  909. </item>
  910. <item>
  911. <label>위탁</label>
  912. <value>1</value>
  913. </item>
  914. </choices>
  915. </col>
  916. <col ref="dispseqno" type="input" format="9999"/>
  917. <col ref="fromdd" type="output"/>
  918. <col ref="todd" type="output"/>
  919. <col ref="existflag" type="output"/>
  920. <script type="javascript" ev:event="onclick">
  921. <![CDATA[
  922. if (grd_testlist.row > "1"){
  923. fExeCheckItem("choiitem");
  924. }
  925. ]]>
  926. </script>
  927. <script type="javascript" ev:event="onaftersort">
  928. <![CDATA[
  929. grd_testlist.gridToInstance();
  930. ]]>
  931. </script>
  932. <script type="javascript" ev:event="onbuttonclick">
  933. <![CDATA[
  934. fExePtNoPopupCall();
  935. ]]>
  936. </script>
  937. </datagrid>
  938. <line id="line3" class="line_3" style="x1:0px; y1:167px; x2:629px; y2:167px; "/>
  939. </group>
  940. </group>
  941. </xhtml:body>
  942. </xhtml:html>