SMAHB00810_통합판정문구관리.xrw 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMAHB00810.xrw
  4. * 설 명 : 통합판정문구관리
  5. * 설 계 자 :
  6. * 작 성 자 :
  7. * 작 성 일 : 2010.01.27
  8. * 수정이력 : 2007.10.04 김다영 화면권한추가
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  12. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  13. <xhtml:head>
  14. <xhtml:title>통합판정소견예문관리</xhtml:title>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root xmlns="">
  18. <main>
  19. <judgexmpcdlst>
  20. <item>
  21. <sel/>
  22. <healexamdetlflag/>
  23. <judgexmpcd/>
  24. <judghangshrtcnts/>
  25. <judgengshrtcnts/>
  26. <judgexmpgrpcd/>
  27. <judgexmpgrpnm/>
  28. <lastupdtrid/>
  29. <lastupdtdt/>
  30. </item>
  31. </judgexmpcdlst>
  32. <judgexmpdetl>
  33. <item>
  34. <judgexmpcd/>
  35. <judghangshrtcnts/>
  36. <judgengshrtcnts/>
  37. <useyn/>
  38. <sickcd/>
  39. <sicknm/>
  40. <judgeexmpcd/>
  41. <meascd/>
  42. <measnm/>
  43. <judghangcnts/>
  44. <judgengcnts/>
  45. <judgcd/>
  46. </item>
  47. </judgexmpdetl>
  48. </main>
  49. <send>
  50. <srchjudgexmpcd/>
  51. <srchjudgexmpcnts/>
  52. <srchjudgexmpcd2/>
  53. <srchhealexamdetlflag/>
  54. <save>
  55. <savesick/>
  56. <healexamflag/>
  57. <mode/>
  58. <healexamdetlflag/>
  59. </save>
  60. <srchinstcd/>
  61. <srchhealexamflag/>
  62. <srchjudgexmpcd2/>
  63. <savesub>
  64. <savetest/>
  65. <judgcd/>
  66. <instcd/>
  67. <healexamflag/>
  68. </savesub>
  69. <savegrp>
  70. <healexamflag/>
  71. <instcd/>
  72. <grpdata/>
  73. <healexamdetlflag/>
  74. </savegrp>
  75. </send>
  76. <init>
  77. <baseinfo>
  78. <hedetflaglst>
  79. <A0070/>
  80. </hedetflaglst>
  81. <judgeexmpcd/>
  82. </baseinfo>
  83. </init>
  84. <hidden>
  85. <testlst>
  86. <itemtest/>
  87. </testlst>
  88. <cnt/>
  89. </hidden>
  90. <source>
  91. <grdid/>
  92. </source>
  93. <temp>
  94. <okflag/>
  95. <instcd/>
  96. <healexamflag/>
  97. <testcd/>
  98. <judgexmpcd/>
  99. </temp>
  100. <popup>
  101. <item>
  102. <label>판정그룹등록</label>
  103. <func>addjudgegrp</func>
  104. </item>
  105. <item>
  106. <label>판정그룹삭제</label>
  107. <func>deljudgegrp</func>
  108. </item>
  109. <jugdgexmp>
  110. <judgexmpgrpcd/>
  111. <judgexmpgrpnm/>
  112. </jugdgexmp>
  113. </popup>
  114. </root>
  115. </instance>
  116. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  117. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  118. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  119. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  120. <script type="javascript" src="../../../ast/healexamweb/js/AHA001.js"/>
  121. <script type="javascript" src="../../../ast/healexamweb/js/AHA.js"/>
  122. <script type="javascript" src="../../../ast/healthexambaseweb/js/healcombolist.js"/>
  123. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  124. <submission id="TRAHB00806" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/judgexmpcdlst"/>
  125. <submission id="TRAHB00807" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/judgexmpdetl"/>
  126. <submission id="TXAHB00805" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" replace="instance" resultref="/root/hidden"/>
  127. <submission id="TXAHB00806" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savegrp" resultref="/root/hidden/cnt"/>
  128. <submission id="TRZBC00101"/>
  129. <submission id="TRAHA00001"/>
  130. <script type="javascript" ev:event="xforms-ready">
  131. <![CDATA[
  132. //팝업유무 판단하여 초기셋팅
  133. if(checkOpener()){
  134. cmb_healexamdetlflag.disabled = true;
  135. btn_save.visible = false;
  136. btn_del.visible = false;
  137. btn_clear.visible = false;
  138. btn_copy.visible = false;
  139. button4.visible = true;
  140. button9.visible = true;
  141. caption1.visible = false;
  142. grd_judgexmplst.attribute("width") = 1194 + "px";
  143. line4.attribute("x2") = 1194 + "px";
  144. button4.attribute("left") = 1079 + "px";
  145. button9.attribute("left") = 1138 + "px";
  146. model.refresh();
  147. }
  148. fGetJudgExmpList();
  149. //화면권한추가
  150. btn_search.disabled = ! checkAuth("R");
  151. btn_save.disabled = ! checkAuth("X");
  152. btn_clear.disabled = ! checkAuth("X");
  153. btn_del.disabled = ! checkAuth("X");
  154. ]]>
  155. </script>
  156. </model>
  157. <script type="javascript">
  158. <![CDATA[
  159. function fGetJudgExmpList(){
  160. model.makeValue("root/temp/tmpdata/srchhealexamdetlflag", cmb_healexamdetlflag.value);
  161. fInit(false);
  162. model.removeNodeset("/root/main/judgexmpcdlst/item");
  163. model.setValue("/root/send/srchinstcd", getUserInfo("dutplceinstcd"));
  164. model.setValue("/root/send/srchhealexamflag",fGetHealExamFlag()); //화면 parameter가 없을 경우 이 메소드 실행 오류
  165. model.setValue("/root/send/srchhealexamdetlflag", model.getValue("root/temp/tmpdata/srchhealexamdetlflag"));
  166. if(fGetHealExamFlag() == "G"){
  167. caption13.attribute("visibility") = "visible";
  168. cmb_healexamdetlflag.attribute("visibility") = "visible";
  169. caption15.attribute("visibility") = "visible";
  170. cmb_healexamdetlflag2.attribute("visibility") = "visible";
  171. model.setValue("/root/send/srchhealexamdetlflag", cmb_healexamdetlflag2.value);
  172. }else{
  173. caption13.attribute("visibility") = "hidden";
  174. cmb_healexamdetlflag.attribute("visibility") = "hidden";
  175. caption15.attribute("visibility") = "hidden";
  176. cmb_healexamdetlflag2.attribute("visibility") = "hidden";
  177. }
  178. submit("TRAHB00806");
  179. }
  180. //초기화 설정
  181. function fInit(vInput){
  182. ipt_exmpcd.disabled = false;
  183. if( vInput == false ) {
  184. model.removeNodeset("/root/main/judgexmpcdlst/item");
  185. }
  186. //노드를 중복하여 생성하므로 노드를 지웠다가 다시 생성
  187. model.removeNodeset("/root/init/baseinfo");
  188. model.makeNode("/root/init/baseinfo/hedetflaglst");
  189. model.makeNode("/root/init/baseinfo/judgeexmpcd");
  190. model.resetInstanceNode("/root/main/judgexmpdetl/item");
  191. model.resetInstanceNode("/root/send/srchhealexamdetlflag");
  192. //콤보설정(공통코드)
  193. zbcfGetCodeList( new Array("A0070"), new Array( "/root/init/baseinfo/hedetflaglst"));
  194. //콤보설정(건진공통코드)
  195. healGetCodeList( new Array("S170"), new Array("/root/init/baseinfo/judgeexmpcd"));
  196. addComboItem("cmb_healexamdetlflag"," ","","above");
  197. model.setFocus("ipt_exmpcd");
  198. model.refresh();
  199. }
  200. //예문입력 조회
  201. function fGetExmpDetlInfo(bCopy){
  202. var idx = grd_judgexmplst.Row;
  203. if( idx < 1) return ;
  204. ipt_exmpcd.disabled = !bCopy ;
  205. model.setValue("/root/send/srchinstcd",getUserInfo("dutplceinstcd"));
  206. model.setValue("/root/send/srchhealexamflag",fGetHealExamFlag());
  207. model.setValue("/root/send/srchhealexamdetlflag",model.getValue("/root/main/judgexmpcdlst/item[" +idx+ "]/healexamdetlflag" ));
  208. model.setValue("/root/send/srchjudgexmpcd2",model.getValue("/root/main/judgexmpcdlst/item[" +idx+ "]/judgexmpcd" ));
  209. submit("TRAHB00807");
  210. if(bCopy == true ) {
  211. model.setValue("/root/main/judgexmpdetl/item/judgexmpcd","");
  212. model.refresh();
  213. model.setFocus("ipt_exmpcd");
  214. }
  215. }
  216. //저장시 null 체크
  217. function fCheckVal(){
  218. var vCd = model.getValue("/root/main/judgexmpdetl/item/judgexmpcd");
  219. var vHealDtl = cmb_healexamdetlflag2.value;
  220. if(vCd == "") {
  221. messageBox("예문코드는","I003");
  222. model.setFocus("ipt_exmpcd"); return;
  223. }
  224. if(vHealDtl == ""){
  225. messageBox("건진상세는","I003");
  226. model.setFocus("cmb_healexamdetlflag2"); return;
  227. }
  228. return true;
  229. }
  230. //저장
  231. function fSaveExmp(vDel){
  232. if(vDel == true ) {
  233. if ( messageBox("통합판정소견정보를","Q001") !=6 ) return ;
  234. } else {
  235. if ( messageBox("통합판정소견정보를","Q002") !=6 ) return ;
  236. }
  237. if(!fCheckVal()) return;
  238. model.copyNode("/root/send/save", "/root/main/judgexmpdetl/item");
  239. var vMode = "/root/send/save/mode";
  240. model.makeNode(vMode);
  241. if( ipt_exmpcd.disabled == true ){
  242. //update
  243. if(vDel == false ) {
  244. model.setValue(vMode, "u");
  245. }else {
  246. model.setValue(vMode, "d");
  247. }
  248. }else {
  249. //update
  250. model.setValue(vMode, "i");
  251. }
  252. model.makeNode("/root/send/save/healexamflag");
  253. model.setValue("/root/send/save/healexamflag", fGetHealExamFlag());
  254. if(fGetHealExamFlag() == "G"){
  255. model.makeNode("/root/send/save/healexamdetlflag");
  256. model.setValue("/root/send/save/healexamdetlflag", cmb_healexamdetlflag.value);
  257. }
  258. if(submit("TXAHB00805") == true ){
  259. fGetExmpDetlInfo(false);
  260. }
  261. model.makeValue("/root/temp/tmpdata/tmpstat", "Y");
  262. }
  263. /*****************************************************************************************************************************
  264. * 판정소견그룹을 등록,삭제 한다.
  265. ******************************************************************************************************************************/
  266. function fSetJudgeGrp(vMode) {
  267. var selIdxs = grd_judgexmplst.selectedRows;
  268. // 판정소견그룹을 등록한다.
  269. if(vMode == "A") {
  270. // 팝업화면을 나타낸다
  271. grp_judgexmpgrp.visible = true;
  272. //초기화
  273. model.setValue("/root/popup/jugdgexmp/judgexmpgrpcd","");
  274. model.setValue("/root/popup/jugdgexmp/judgexmpgrpnm","");
  275. } else if(vMode == "D") {
  276. // 선택한 row의 그룹코드,명을 삭제한다.
  277. for(var i=0; i < selIdxs; i++) {
  278. var idx = grd_judgexmplst.selectedRow(i);
  279. grd_judgexmplst.valueMatrix(idx,grd_judgexmplst.colRef("judgexmpgrpcd")) = "";
  280. grd_judgexmplst.valueMatrix(idx,grd_judgexmplst.colRef("judgexmpgrpnm")) = "";
  281. grd_judgexmplst.addStatus(idx, "update");
  282. }
  283. model.setValue("/root/send/savegrp/healexamflag" , model.getValue("/root/send/srchhealexamflag"));
  284. model.setValue("/root/send/savegrp/instcd" , model.getValue("/root/send/srchinstcd"));
  285. model.setValue("/root/send/savegrp/grpdata", grd_judgexmplst.getUpdateData());
  286. if(submit("TXAHB00806")) { grd_judgexmplst.clearStatus()}
  287. }
  288. }
  289. function fSetData(){
  290. if(checkOpener()){
  291. var obj = new Object();
  292. obj.judgexmpcd = grd_judgexmplst.valueMatrix(grd_judgexmplst.row, grd_judgexmplst.colRef("judgexmpcd"));
  293. obj.judghangshrtcnts = grd_judgexmplst.valueMatrix(grd_judgexmplst.row, grd_judgexmplst.colRef("judghangshrtcnts"));
  294. opener.javascript.totjudginfo(obj);
  295. window.close();
  296. }
  297. }
  298. ]]>
  299. </script>
  300. </xhtml:head>
  301. <xhtml:body guideline="1,1195;" style="font-size:12pt; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  302. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  303. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:155px; height:14px; ">통합판정소견 예문관리</caption>
  304. </group>
  305. <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  306. <caption id="caption1" class="tit_2" style="left:720px; top:55px; width:78px; height:14px; ">예문입력</caption>
  307. <line id="line10" class="line_3" style="x1:715px; y1:725px; x2:1194px; y2:725px; "/>
  308. <line id="line1" class="line_1" style="x1:715px; y1:70px; x2:1194px; y2:70px; "/>
  309. <line id="line2" class="line_2" style="x1:715px; y1:121px; x2:1194px; y2:121px; "/>
  310. <line id="line3" class="line_2" style="x1:715px; y1:145px; x2:1194px; y2:145px; "/>
  311. <caption id="caption11" class="cell_1" style="left:715px; top:123px; width:79px; height:23px; text-align:center; vertical-align:middle; ">한글소견</caption>
  312. <caption id="caption7" class="cell_1" style="left:715px; top:99px; width:79px; height:23px; font-family:돋움; text-align:center; vertical-align:middle; ">예문코드</caption>
  313. <caption id="caption3" class="tit_2" style="left:5px; top:55px; width:90px; height:14px; ">예문내역</caption>
  314. <line id="line5" class="line_2" style="x1:715px; y1:169px; x2:1194px; y2:169px; "/>
  315. <line id="line8" class="line_2" style="x1:715px; y1:241px; x2:1194px; y2:241px; "/>
  316. <caption id="caption14" class="cell_1" style="left:715px; top:147px; width:79px; height:23px; text-align:center; vertical-align:middle; ">영문소견</caption>
  317. <input id="ipt_exmpcd" ref="/root/main/judgexmpdetl/item/judgexmpcd" class="input_essential" maxlength="6" style="left:797px; top:100px; width:126px; height:19px; ">
  318. <script type="javascript" ev:event="onkeyup">
  319. <![CDATA[
  320. if( event.keyCode == 13) {
  321. model.setFocus("ipt_shrthang");
  322. }
  323. ]]>
  324. </script>
  325. </input>
  326. <input id="ipt_shrthang" ref="/root/main/judgexmpdetl/item/judghangshrtcnts" class="input" maxlength="100" style="left:797px; top:124px; width:392px; height:19px; ">
  327. <script type="javascript" ev:event="onkeyup">
  328. <![CDATA[
  329. if( event.keyCode == 13) {
  330. model.setFocus("ipt_shrteng");
  331. }
  332. ]]>
  333. </script>
  334. </input>
  335. <input id="ipt_shrteng" ref="/root/main/judgexmpdetl/item/judgengshrtcnts" class="input" imemode="alpha" maxlength="100" style="left:797px; top:148px; width:392px; height:19px; ">
  336. <script type="javascript" ev:event="onkeyup">
  337. <![CDATA[
  338. if( event.keyCode == 13) {
  339. model.setFocus("tar_hangcnts");
  340. }
  341. ]]>
  342. </script>
  343. </input>
  344. <textarea id="tar_hangcnts" ref="/root/main/judgexmpdetl/item/judghangcnts" scroll="vertical" maxlength="1000" style="left:797px; top:243px; width:392px; height:239px; "/>
  345. <textarea id="tar_engcnts" ref="/root/main/judgexmpdetl/item/judgengcnts" scroll="vertical" imemode="alpha" maxlength="1000" style="left:797px; top:487px; width:392px; height:235px; "/>
  346. <caption id="caption10" class="cell_1" style="left:715px; top:486px; width:79px; height:238px; vertical-align:middle; ">영문판정소견</caption>
  347. <line id="line9" class="line_2" style="x1:715px; y1:484px; x2:1194px; y2:484px; "/>
  348. <group id="grp_search" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
  349. <shape id="roundrect3" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; "/>
  350. <caption id="caption21" class="search_name" style="left:16px; top:8px; width:86px; height:17px; ">예문코드 :</caption>
  351. <button id="btn_search" class="btn1_letter2" style="left:1122px; top:7px; width:56px; height:22px; ">
  352. <caption>조회</caption>
  353. <script type="javascript" ev:event="DOMActivate">
  354. <![CDATA[
  355. fGetJudgExmpList();
  356. ]]>
  357. </script>
  358. </button>
  359. <line id="line18" class="line_4" style="x1:1104px; y1:7px; x2:1104px; y2:29px; border-left-style:solid; "/>
  360. <input id="ipt_examcnts" ref="/root/send/srchjudgexmpcnts" class="input_search" style="left:420px; top:8px; width:290px; height:19px; ">
  361. <script type="javascript" ev:event="onkeyup">
  362. <![CDATA[
  363. inputEnterKey("btn_search", "DOMActivate");
  364. ]]>
  365. </script>
  366. </input>
  367. <input id="ipt_examcd" ref="/root/send/srchjudgexmpcd" class="input_search" style="left:105px; top:8px; width:165px; height:19px; ">
  368. <script type="javascript" ev:event="onkeyup">
  369. <![CDATA[
  370. inputEnterKey("btn_search", "DOMActivate");
  371. ]]>
  372. </script>
  373. </input>
  374. <caption id="caption22" class="search_name" style="left:330px; top:8px; width:86px; height:17px; ">단문내용:</caption>
  375. <caption id="caption13" class="search_name" style="left:770px; top:8px; width:86px; height:17px; ">건진상세:</caption>
  376. </group>
  377. <caption id="caption2" class="cell_1" style="left:945px; top:99px; width:79px; height:23px; font-family:돋움; text-align:center; vertical-align:middle; ">사용여부</caption>
  378. <select id="chk_useyn" ref="/root/main/judgexmpdetl/item/useyn" overflow="visible" appearance="full" style="left:1027px; top:101px; width:50px; height:20px; border-style:none; ">
  379. <choices>
  380. <item>
  381. <label>사용</label>
  382. <value>Y</value>
  383. </item>
  384. </choices>
  385. </select>
  386. <group id="grp_judgexmpgrp" visibility="hidden" showeffect="blend 300" style="left:280px; top:195px; width:425px; height:79px; ">
  387. <caption id="caption5" class="cell_1" style="left:0px; top:25px; width:79px; height:23px; font-family:돋움; vertical-align:middle; ">소견그룹코드</caption>
  388. <caption id="caption8" class="tit_2" style="left:5px; top:5px; width:95px; height:14px; ">소견그룹등록</caption>
  389. <line id="line7" class="line_1" style="x1:0px; y1:20px; x2:424px; y2:20px; "/>
  390. <input id="ipt_judgexmpgrpcd" ref="/root/popup/jugdgexmp/judgexmpgrpcd" class="input_essential" style="left:82px; top:26px; width:120px; height:19px; "/>
  391. <caption id="caption12" class="cell_1" style="left:205px; top:25px; width:79px; height:23px; font-family:돋움; vertical-align:middle; ">소견그룹명</caption>
  392. <input id="ipt_judgexmpgrpnm" ref="/root/popup/jugdgexmp/judgexmpgrpnm" class="input_essential" style="left:287px; top:26px; width:134px; height:19px; "/>
  393. <button id="btn_savepopup" class="btn4_letter2" style="left:365px; top:53px; width:56px; height:22px; ">
  394. <caption>저장</caption>
  395. <script type="javascript" ev:event="DOMActivate">
  396. <![CDATA[
  397. ipt_judgexmpgrpnm.refresh();
  398. var selIdxs = grd_judgexmplst.selectedRows;
  399. var judgexmpgrpcd = ipt_judgexmpgrpcd.value;
  400. var judgexmpgrpnm = ipt_judgexmpgrpnm.value;
  401. for(var i = 0; i < selIdxs; i++) {
  402. var selIdx = grd_judgexmplst.selectedRow(i);
  403. if(judgexmpgrpcd != "") grd_judgexmplst.valueMatrix(selIdx,grd_judgexmplst.colRef("judgexmpgrpcd")) = judgexmpgrpcd;
  404. if(judgexmpgrpnm != "") grd_judgexmplst.valueMatrix(selIdx,grd_judgexmplst.colRef("judgexmpgrpnm")) = judgexmpgrpnm;
  405. grd_judgexmplst.addStatus(selIdx , "update");
  406. }
  407. model.setValue("/root/send/savegrp/grpdata", grd_judgexmplst.getUpdateData());
  408. model.setValue("/root/send/savegrp/healexamflag" , model.getValue("/root/send/srchhealexamflag"));
  409. model.setValue("/root/send/savegrp/instcd" , model.getValue("/root/send/srchinstcd"));
  410. grp_judgexmpgrp.visible = false;
  411. if(submit("TXAHB00806")) {grd_judgexmplst.clearStatus()};
  412. ]]>
  413. </script>
  414. </button>
  415. <line id="line11" class="line_2" style="x1:0px; y1:48px; x2:424px; y2:48px; "/>
  416. <button id="btn_rsltexmp" class="icon_plus" style="left:408px; top:4px; width:13px; height:15px; ">
  417. <caption/>
  418. <script type="javascript" ev:event="DOMActivate">
  419. <![CDATA[
  420. grp_judgexmpgrp.visible = false;
  421. ]]>
  422. </script>
  423. </button>
  424. </group>
  425. <select1 id="cmb_healexamdetlflag" ref="/root/send/srchhealexamdetlflag" class="combo_s_essential" appearance="minimal" style="left:857px; top:18px; width:150px; height:19px; ">
  426. <choices>
  427. <itemset nodeset="/root/init/baseinfo/hedetflaglst/A0070">
  428. <label ref="cdnm"/>
  429. <value ref="cdid"/>
  430. </itemset>
  431. </choices>
  432. </select1>
  433. <select1 id="cmb_healexamdetlflag2" ref="/root/send/srchhealexamdetlflag" class="combo_s_essential" appearance="minimal" style="left:797px; top:76px; width:126px; height:19px; ">
  434. <choices>
  435. <itemset nodeset="/root/init/baseinfo/hedetflaglst/A0070">
  436. <label ref="cdnm"/>
  437. <value ref="cdid"/>
  438. </itemset>
  439. </choices>
  440. </select1>
  441. <caption id="caption16" class="cell_1" style="left:715px; top:219px; width:79px; height:23px; text-align:center; vertical-align:middle; ">조치코드</caption>
  442. <input id="ipt_sickcd" ref="/root/main/judgexmpdetl/item/sickcd" style="left:797px; top:172px; width:126px; height:19px; "/>
  443. <button id="btn_search1" class="icon_search" style="left:926px; top:172px; width:16px; height:16px; ">
  444. <caption/>
  445. <script type="javascript" ev:event="DOMActivate">
  446. <![CDATA[
  447. ahafGetSickCd("SMAHB00810", ipt_sickcd.currentText , ipt_sicknm.currentText, 1, "/root/main/judgexmpdetl/item");
  448. model.setValue("/root/main/judgexmpdetl/item/judgeexmpcd", model.getValue("/root/main/judgexmpdetl/item/judgcd"));
  449. model.refresh();
  450. ]]>
  451. </script>
  452. </button>
  453. <input id="ipt_sicknm" ref="/root/main/judgexmpdetl/item/sicknm" style="left:945px; top:172px; width:244px; height:19px; "/>
  454. <select1 id="cmb_judgeexmpcd" ref="/root/main/judgexmpdetl/item/judgeexmpcd" appearance="minimal" style="left:797px; top:196px; width:180px; height:19px; ">
  455. <choices>
  456. <itemset nodeset="/root/init/baseinfo/judgeexmpcd/S170">
  457. <label ref="cdnm"/>
  458. <value ref="cdid"/>
  459. </itemset>
  460. </choices>
  461. </select1>
  462. <button id="btn_search2" class="icon_search" style="left:926px; top:220px; width:16px; height:16px; ">
  463. <caption/>
  464. <script type="javascript" ev:event="DOMActivate">
  465. <![CDATA[
  466. /*param1 : 호출xrw, param2:대분류코드, param3:중분류코드, param4:멀티유무, param5:목적노드셋, param6:중분류셋팅여부*/
  467. if(ahzfOpenEtcCdSel( "SMAHB00810", "G", "G02", "N", "/root/temp/templst/item", "Y")){
  468. model.makeValue("/root/main/judgexmpdetl/item/meascd",model.getValue("/root/temp/templst/item/etcdetlcd"));
  469. model.makeValue("/root/main/judgexmpdetl/item/measnm",model.getValue("/root/temp/templst/item/etcdetlnm"));
  470. model.refresh();
  471. }
  472. ]]>
  473. </script>
  474. </button>
  475. <input id="input3" ref="/root/main/judgexmpdetl/item/meascd" style="left:797px; top:220px; width:126px; height:19px; "/>
  476. <input id="input4" ref="/root/main/judgexmpdetl/item/measnm" style="left:945px; top:220px; width:244px; height:19px; "/>
  477. <line id="line12" class="line_2" style="x1:715px; y1:193px; x2:1194px; y2:193px; "/>
  478. <line id="line13" class="line_2" style="x1:715px; y1:217px; x2:1194px; y2:217px; "/>
  479. <caption id="caption4" class="cell_1" style="left:715px; top:195px; width:79px; height:23px; text-align:center; vertical-align:middle; ">판정코드</caption>
  480. <caption id="caption18" class="cell_1" style="left:715px; top:171px; width:79px; height:23px; text-align:center; vertical-align:middle; ">질환코드</caption>
  481. <caption id="caption9" class="cell_1" style="left:715px; top:243px; width:79px; height:242px; vertical-align:middle; ">한글판정소견</caption>
  482. <line id="line6" class="line_2" style="x1:715px; y1:97px; x2:1194px; y2:97px; "/>
  483. <caption id="caption15" class="cell_1" style="left:715px; top:75px; width:79px; height:23px; font-family:돋움; text-align:center; vertical-align:middle; ">건진상세</caption>
  484. <button id="btn_copy" class="btn2_letter3" style="left:657px; top:50px; width:53px; height:19px; ">
  485. <caption>행복사</caption>
  486. <script type="javascript" ev:event="DOMActivate">
  487. <![CDATA[
  488. fGetExmpDetlInfo(true);
  489. ]]>
  490. </script>
  491. </button>
  492. <line id="line4" class="line_1" style="x1:0px; y1:70px; x2:710px; y2:70px; "/>
  493. <datagrid id="grd_judgexmplst" nodeset="/root/main/judgexmpcdlst/item" caption="sel^건진상세구분^소견코드^한글소견^영문소견^소견그룹코드^소견그룹명^최종수정자^최종수정일시" colsep="^" colwidth="42, 100, 66, 220, 190, 100, 100, 80, 100" explorerbar="sortshow" frozencols="4" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" selectionmode="listbox" style="left:0px; top:75px; width:710px; height:650px; ">
  494. <col ref="sel" visibility="hidden"/>
  495. <col ref="healexamdetlflag" visibility="hidden"/>
  496. <col ref="judgexmpcd"/>
  497. <col ref="judghangshrtcnts"/>
  498. <col ref="judgengshrtcnts"/>
  499. <col ref="judgexmpgrpcd"/>
  500. <col ref="judgexmpgrpnm"/>
  501. <col ref="lastupdtrid"/>
  502. <col ref="lastupdtdt" format="yyyy-mm-dd hh:nn:ss"/>
  503. <script type="javascript" ev:event="ondblclick">
  504. <![CDATA[
  505. //그리드의 셀 이외의 곳을 클릭하면 종료한다.
  506. if(!eval(grd_judgexmplst.iscell(event.target))) return false;
  507. // 그리드의 헤더부분을 클릭하면 종료한다.
  508. if(eval(grd_judgexmplst.row) < eval(grd_judgexmplst.fixedRows)) return false;
  509. fGetExmpDetlInfo(false);
  510. fSetData();
  511. ]]>
  512. </script>
  513. <script type="javascript" ev:event="DOMFocusOut">
  514. <![CDATA[
  515. window.setPopupMenu(false);
  516. ]]>
  517. </script>
  518. <script type="javascript" ev:event="onaftersort">
  519. <![CDATA[
  520. grd_judgexmplst.gridToInstance();
  521. ]]>
  522. </script>
  523. <script type="javascript" ev:event="onmousedown">
  524. <![CDATA[
  525. if(event.button == "3") {
  526. if(grd_judgexmplst.isCell(event.target) && grd_judgexmplst.row < grd_judgexmplst.rows) {
  527. window.setPopupMenu(true,"/root/popup/item","label","func",true);
  528. } else {
  529. window.setPopupMenu(false);
  530. }
  531. }
  532. ]]>
  533. </script>
  534. </datagrid>
  535. </group>
  536. <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; ">
  537. <button id="btn_save" class="btn4_letter2" style="left:1007px; top:5px; width:56px; height:22px; ">
  538. <caption>저장</caption>
  539. <script type="javascript" ev:event="DOMActivate">
  540. <![CDATA[
  541. var irow = grd_judgexmplst.row;
  542. fSaveExmp(false);
  543. if(model.getValue("/root/temp/tmpdata/tmpstat") == "Y"){
  544. btn_search.dispatch("DOMActivate");
  545. grd_judgexmplst.row = irow;
  546. grd_judgexmplst.dispatch("ondblclick");
  547. }
  548. ]]>
  549. </script>
  550. </button>
  551. <button id="btn_del" class="btn4_letter2" style="left:1067px; top:5px; width:56px; height:22px; ">
  552. <caption>삭제</caption>
  553. <script type="javascript" ev:event="DOMActivate">
  554. <![CDATA[
  555. var irow = 1;
  556. fSaveExmp(true);
  557. btn_search.dispatch("DOMActivate");
  558. grd_judgexmplst.row = irow;
  559. grd_judgexmplst.dispatch("ondblclick");
  560. ]]>
  561. </script>
  562. </button>
  563. <button id="btn_clear" class="btn4_letter3" style="left:1126px; top:5px; width:68px; height:22px; ">
  564. <caption>초기화</caption>
  565. <script type="javascript" ev:event="DOMActivate">
  566. <![CDATA[
  567. fInit(true);
  568. ]]>
  569. </script>
  570. </button>
  571. </group>
  572. <script type="javascript" ev:event="onmenu">
  573. <![CDATA[
  574. if(event.description == "addjudgegrp") {
  575. fSetJudgeGrp("A");
  576. }
  577. if(event.description == "deljudgegrp") {
  578. fSetJudgeGrp("D");
  579. }
  580. ]]>
  581. </script>
  582. <button id="button4" class="btn4_letter2" visibility="hidden" style="left:840px; top:762px; width:56px; height:22px; ">
  583. <caption>확인</caption>
  584. <script type="javascript" ev:event="DOMActivate">
  585. <![CDATA[
  586. if( fSetData() == 1){
  587. window.close();
  588. }
  589. ]]>
  590. </script>
  591. </button>
  592. <button id="button9" class="btn4_letter2" visibility="hidden" style="left:899px; top:762px; width:56px; height:22px; ">
  593. <caption>취소</caption>
  594. <script type="javascript" ev:event="DOMActivate">
  595. <![CDATA[
  596. window.close();
  597. ]]>
  598. </script>
  599. </button>
  600. </xhtml:body>
  601. </xhtml:html>