SMLPC02500_통합병리번호코드.xrw 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMLPC02500_통합병리번호코드.xrw
  4. * 설 명 : 통합병리번호코드목록
  5. * 설 계 자 : (주)에이씨케이 - 박황용
  6. * 작 성 자 : (주)에이씨케이 - 박황용
  7. * 작 성 일 : 2008.07.07
  8. * 수정이력 :
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  12. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  13. <xhtml:head>
  14. <xhtml:title>통합 병리번호 코드</xhtml:title>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root xmlns="">
  18. <main>
  19. <sytslist>
  20. <sytslist>
  21. <choi/>
  22. <ptnocd/>
  23. <ptnonm/>
  24. <basepartcd/>
  25. <basepartnm/>
  26. <rgstflagcd/>
  27. </sytslist>
  28. <lastpage>
  29. <lastpage/>
  30. </lastpage>
  31. </sytslist>
  32. <hosplist>
  33. <hosplist>
  34. <choi/>
  35. <instcd/>
  36. <ptnocd/>
  37. <ptnonm/>
  38. <basepartcd/>
  39. <basepartnm/>
  40. <detlpartcd/>
  41. <workflagcd/>
  42. <slidflagcd/>
  43. <slidisscnt/>
  44. <spcno/>
  45. <blocflagcd/>
  46. <initblocno/>
  47. <autokeepflagcd/>
  48. <autoabnflagcd/>
  49. <keepterm/>
  50. <dispseq/>
  51. <delflagcd/>
  52. <rgstflagcd/>
  53. </hosplist>
  54. <lastpage>
  55. <lastpage/>
  56. </lastpage>
  57. </hosplist>
  58. </main>
  59. <init>
  60. <syts_refflag>0</syts_refflag>
  61. <syts_reftext/>
  62. <sytspaval/>
  63. <hosp_refflag>0</hosp_refflag>
  64. <hosppaval/>
  65. <hosp_reftext/>
  66. <hosp_lastpage/>
  67. <syts_lastpage/>
  68. <sysdt>
  69. <syshosptinfo/>
  70. </sysdt>
  71. <seava/>
  72. </init>
  73. <send>
  74. <reg/>
  75. <page/>
  76. <listlimit>100</listlimit>
  77. <cdVal/>
  78. </send>
  79. <hidden>
  80. <cdupdtflag>1</cdupdtflag>
  81. <sendnode>
  82. </sendnode>
  83. <cduptflag/>
  84. <sytsinfo>
  85. <delflagcd>0</delflagcd>
  86. <refflag/>
  87. <sytsrefval/>
  88. <userinfo>
  89. <instcd/>
  90. </userinfo>
  91. </sytsinfo>
  92. <sytspaval/>
  93. <hospinfo>
  94. <delflagcd>0</delflagcd>
  95. <refflag/>
  96. <hosprefval/>
  97. <userinfo>
  98. <instcd/>
  99. </userinfo>
  100. </hospinfo>
  101. <hosppaval/>
  102. <sytsinfo>
  103. <delflagcd>0</delflagcd>
  104. <refflag/>
  105. <hosprefval/>
  106. <userinfo>
  107. <instcd/>
  108. </userinfo>
  109. </sytsinfo>
  110. </hidden>
  111. </root>
  112. </instance>
  113. <submission id="TXLPC02501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/hosplist" replace="instance" resultref="/root/main/sytslist/sytslist"/>
  114. <submission id="TXLPC02502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/hosplist/hosplist"/>
  115. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  116. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  117. <script type="javascript" src="../../../lis/commonweb/js/LPZ001.js"/>
  118. <script type="javascript" ev:event="xforms-ready">
  119. <![CDATA[
  120. fExeInitialize();
  121. ]]>
  122. </script>
  123. <submission id="TRLPC02501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/message"/>
  124. <submission id="TRLPC02502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/hosplist/"/>
  125. </model>
  126. <script type="javascript">
  127. <![CDATA[
  128. /* @group : 통합 병리번호 코드
  129. * @ver : 2008.07.15 (CMCDEV-0001)
  130. * @by : 박황용
  131. * @-----------------------------------
  132. * @type : function
  133. * @access : public
  134. * @desc : 메인화면 조건 Function
  135. */
  136. function fExeInitialize() {
  137. cap_title1.text = getUserInfo("dutplceinstnm");
  138. cap_hosplastPage.value = 1;
  139. fGetHospTestInfoList("");
  140. }
  141. /* @group : 통합 병리번호 코드
  142. * @ver : 2008.07.19 (CMCDEV-0001)
  143. * @by : 박황용(ACK)
  144. * @-----------------------------------
  145. * @type : function
  146. * @access : public
  147. * @desc : 강남성모병원 병리번호코드 목록 조회
  148. */
  149. function fGetDataList(ref_work_flag) {
  150. //--------------
  151. model.refresh();
  152. //----------------------
  153. switch (ref_work_flag) {
  154. case "hospinfolist" :
  155. fGetHospTestInfoList(""); // 이상 페이지 번호 처리
  156. break;
  157. case "sytsinfolist":
  158. fGetSytsTestInfoList(""); // 이상 페이지 번호 처리
  159. break;
  160. default:
  161. break;
  162. }
  163. }
  164. /* @group : 통합 병리번호 코드
  165. * @ver : 2007.07.17 (CMCDEV-0001)
  166. * @by : 박황용(ACK)
  167. * @----------------------------------
  168. * @type : function
  169. * @access : public
  170. * @desc : 검사항목코드정보 올리기
  171. */
  172. function fSetSytsUpdtData() {
  173. var sHospList = "/root/main/hosplist/hosplist";
  174. //-----------------------------------------------------------
  175. if (grd_hosplist.findRow("true", 1, 0, false, false) == -1) {
  176. messageBox("올릴 자료를 ", "C002");
  177. return;
  178. }
  179. //-------------------------
  180. grd_hosplist.clearStatus();
  181. for (var iNo=0; iNo < getNodesetCount(sHospList); iNo++) {
  182. //---------------------------------------------------------
  183. if (model.getValue(sHospList+"["+iNo+"]/choi") == "true") {
  184. grd_hosplist.addStatus(iNo, "insert");
  185. }
  186. }
  187. //-------------------------------------------------------------------
  188. model.makeValue("/root/send/hosplist", grd_hosplist.getUpdateData());
  189. //-----------
  190. setAlertOn();
  191. if (submit("TXLPC02501") == true) {
  192. fGetDataList("sytsinfolist");
  193. }
  194. //--------------
  195. model.refresh();
  196. }
  197. /* @group : 통합 병리번호 코드
  198. * @ver : 2007.07.17 (CMCDEV-0001)
  199. * @by : 박황용(ACK)
  200. * @----------------------------------
  201. * @type : function
  202. * @access : public
  203. * @desc : 검사항목코드정보 내리기
  204. */
  205. function fSetHospUpdtData() {
  206. var sSytsplist = "/root/main/sytslist/sytslist";
  207. //-------------------------------------------------------------
  208. if (grd_sytslist.findRow("true", 1, 0, false, false) == "-1") {
  209. messageBox("병리코드를", "C002");
  210. return;
  211. }
  212. //--------------------
  213. //저장여부 확인Message
  214. if(lpzfExeBfChkMsg("UI") == false) {
  215. //6:예, 7:아니오, 2:취소
  216. return;
  217. }
  218. //----------------------------------------------------------------------------------
  219. model.makeValue("/root/main/sytslist/sytslist", getGridUpdateData(grd_sytslist, 1));
  220. if (submit("TXLPC02502") == true) {
  221. messageBox("저장이", "I002");
  222. //각 병리 코드 목록을 초기화 한다
  223. } else {
  224. messageBox("저장이", "E009");
  225. }
  226. //---------------------------
  227. fGetDataList("hospinfolist");
  228. model.refresh();
  229. }
  230. /* @group : 통합 병리번호 코드
  231. * @ver : 2008.07.12 (CMCDEV-0001)
  232. * @by : 박황용
  233. * @-----------------------------------
  234. * @type : function
  235. * @access : public
  236. * @desc : 병리번호코드 / 품명코드 검색어 입력 시 처리
  237. */
  238. function fExeKeyPress(seaval) {
  239. if (event.keyCode == '13' && ipt_seaVal.currentText != ipt_seaVal.value) {
  240. switch (seaval) {
  241. case "sytsList":
  242. fGetSytsList("");
  243. break;
  244. case "hostList":
  245. fGetHospList(l);
  246. break;
  247. default:
  248. break;
  249. }
  250. }
  251. }
  252. /* @group : 통합 병리번호 코드
  253. * @ver : 2008.07.14 (CMCDEV-0001)
  254. * @by : 박황용
  255. * @-----------------------------------
  256. * @type : function
  257. * @access : public
  258. * @desc : 병리번호코드 목록선택 Function
  259. */
  260. function fExesytsSelect() {
  261. var sSytslist = "/root/main/sytslist/sytslist";
  262. var sHospList = "/root/main/hosplist/hosplist";
  263. if (model.getValue(sSytslist+"["+grd_sytslist.row+"]/choi") == "true") {
  264. var iNo = grd_hosplist.findRow(model.getValue(sSytslist+"["+grd_sytslist.row+"]/ptnocd"),1,1,false,false);
  265. if(iNo > 0) {
  266. messageBox("데이터가","E006");
  267. model.setValue(sSytslist+"["+grd_sytslist.row+"]/choi", "false");
  268. }
  269. }
  270. }
  271. /* @group : 통합 병리번호 코드
  272. * @ver : 2008.07.14 (CMCDEV-0001)
  273. * @by : 박황용
  274. * @-----------------------------------
  275. * @type : function
  276. * @access : public
  277. * @desc : 병리번호코드 목록선택 Function
  278. */
  279. function fExehospSelect() {
  280. var sSytslist = "/root/main/sytslist/sytslist";
  281. var sHospList = "/root/main/hosplist/hosplist";
  282. if (model.getValue(sHospList+"["+grd_hosplist.row+"]/choi") == "true") {
  283. var iNo = grd_sytslist.findRow(model.getValue(sHospList+"["+grd_hosplist.row+"]/ptnocd"),1,1,false,false);
  284. if(iNo > 0) {
  285. messageBox("데이터가","E006");
  286. model.setValue(sHospList+"["+grd_hosplist.row+"]/choi", "false");
  287. }
  288. }
  289. }
  290. /* @group : 통합 병리번호 코드
  291. * @ver : 2008.07.14 (CMCDEV-0001)
  292. * @by : 박황용
  293. * @-----------------------------------
  294. * @type : function
  295. * @access : public
  296. * @desc : 검색 페이지번호 입력 시 처리
  297. */
  298. function fExePageKeyPress() {
  299. if(event.keyCode == '13' && ipt_sytspage.currentText != ipt_sytspage.value){
  300. model.setValue("/root/hidden/paval", ipt_sytspage.currentText);
  301. ipt_sytspage.dispatch("");
  302. }
  303. else if(event.keyCode != 8 && (event.keyCode < 48 || event.keyCode > 57)) {
  304. event.defaultAction = "cancel";
  305. }
  306. }
  307. /* @group : 통합 병리번호 코드
  308. * @ver : 2008.07.18 (CMCDEV-0001)
  309. * @by : 박황용(ACK)
  310. * @-----------------------------------
  311. * @type : function
  312. * @access : public
  313. * @desc : 통합DB의 코드목록 검색 처리
  314. */
  315. function fGetSytsTestInfoList(page) {
  316. //----------------------
  317. // 이상 페이지 번호 처리
  318. if(page == "") page = 1;
  319. if(page < 1) page = 1;
  320. if(page > Number(cap_sytslastPage.value)) page = Number(cap_sytslastPage.value);
  321. if (page == 0) page = 1;
  322. //--------------------------------
  323. model.removeNodeset("/root/send");
  324. model.removeNodeset("/root/main/sytslist/sytslist");
  325. model.removeNodeset("/root/main/sytslist/sytslist/lastpage");
  326. //--------------------------------------------------------------------
  327. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd")); // 기관코드
  328. model.makeValue("/root/send/delflagcd", model.getValue("/root/hidden/sytsinfo/delflagcd")); //조회조건 사용여부구분
  329. model.makeValue("/root/send/refflagcd", model.getValue("/root/hidden/sytsinfo/refflag")); //조회구분
  330. model.makeValue("/root/send/refval", model.getValue("/root/hidden/sytsinfo/sytsrefval")); //조회값
  331. model.makeValue("/root/send/page", page);
  332. model.makeValue("/root/send/itemlimit", "100");
  333. submit("TRLPC02501");
  334. ipt_sytspaval.value = model.getValue("/root/main/sytslist/lastpage/lastpage");
  335. model.refresh();
  336. }
  337. /* @group : 통합 병리번호 코드
  338. * @ver : 2008.07.18 (CMCDEV-0001)
  339. * @by : 박황용(ACK)
  340. * @-----------------------------------
  341. * @type : function
  342. * @access : public
  343. * @desc : 로컬병원의 코드목록 검색 처리
  344. */
  345. function fGetHospTestInfoList(page) {
  346. //----------------------
  347. // 이상 페이지 번호 처리
  348. if(page == "") page = 1;
  349. if(page < 1) page = 1;
  350. if(page > Number(cap_hosplastPage.value)) page = Number(cap_hosplastPage.value);
  351. if (page == 0) page = 1;
  352. //--------------------------------
  353. model.removeNodeset("/root/send");
  354. model.removeNodeset("/root/main/hosplist/hosplist");
  355. model.removeNodeset("/root/main/hosplist/hosppage/lastpage");
  356. //--------------------------------------------------------------------
  357. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd")); // 기관코드
  358. model.makeValue("/root/send/delflagcd", model.getValue("/root/hidden/hospinfo/delflagcd")); // 조회조건 사용여부구분
  359. model.makeValue("/root/send/refflagcd", model.getValue("/root/hidden/hospinfo/refflag")); // 조회구분
  360. model.makeValue("/root/send/refval", model.getValue("/root/hidden/hospinfo/sytsrefval")); // 조회값
  361. model.makeValue("/root/send/page", page);
  362. model.makeValue("/root/send/itemlimit", "100");
  363. submit("TRLPC02502");
  364. ipt_hosppaval.value = model.getValue("/root/main/hosplist/lastpage/lastpage");
  365. model.refresh();
  366. }
  367. /* @group : 통합 병리번호 코드
  368. * @ver : 2007.07.18
  369. * @by : 박황용(ACK)
  370. * @-----------------------------------
  371. * @type : function
  372. * @access : public
  373. * @desc : 병리코드 추가 함수
  374. */
  375. function fExeDataAdd() {
  376. var ColNo = 7;
  377. var iFindRowNo = 0;
  378. var TargetNode = "/root/main/settingcnts/settinglist";
  379. var SourceNode = "/root/init/testcodecnts/testcodelist";
  380. //---------------------------
  381. // 작업구분/유형 선택여부 검사
  382. if (!lpzfExeBfSaveCheck("/root/hidden/refflag/workflagcd", "작업구분을", "C002", "")) return false;
  383. if (!lpzfExeBfSaveCheck("/root/hidden/refflag/workkindcd", "작업유형을", "C002", "")) return false;
  384. //--------------------------------------------------------------
  385. for (var iRowNo=1; iRowNo <= (grd_testcdlist.rows-1); iRowNo++) {
  386. //--------------------
  387. // 선택항목만 추가처리
  388. if (model.getValue(SourceNode + "[" + iRowNo + "]/choi") == "true") {
  389. //-----------------------
  390. // 기존 등록자료인지 검사
  391. iFindRowNo = grd_settinglist.findRow(model.getValue(SourceNode + "[" + iRowNo + "]/testcd"), 1, ColNo, false, true);
  392. if (iFindRowNo < 0) {
  393. grd_settinglist.additem();
  394. model.setValue(TargetNode + "[" + (grd_settinglist.rows-1) + "]/choi", "true");
  395. model.setValue(TargetNode + "[" + (grd_settinglist.rows-1) + "]/instcd", model.getValue(SourceNode + "[" + iRowNo + "]/instcd"));
  396. model.setValue(TargetNode + "[" + (grd_settinglist.rows-1) + "]/workflagcd", model.getValue("/root/hidden/refflag/workflagcd"));
  397. model.setValue(TargetNode + "[" + (grd_settinglist.rows-1) + "]/workflagnm", model.getValue("/root/init/baseflagcd/baseflagcdlist[baseflagcd='" + model.getValue("/root/hidden/refflag/workflagcd") + "']/baseflagnm"));
  398. model.setValue(TargetNode + "[" + (grd_settinglist.rows-1) + "]/workkindcd", model.getValue("/root/hidden/refflag/workkindcd"));
  399. model.setValue(TargetNode + "[" + (grd_settinglist.rows-1) + "]/workkindnm", model.getValue("/root/init/resncd/resncdlist[resncd='" + model.getValue("/root/hidden/refflag/workkindcd") + "']/resncnts"));
  400. model.setValue(TargetNode + "[" + (grd_settinglist.rows-1) + "]/testcd", model.getValue(SourceNode + "[" + iRowNo + "]/testcd"));
  401. model.setValue(TargetNode + "[" + (grd_settinglist.rows-1) + "]/testhngnm", model.getValue(SourceNode + "[" + iRowNo + "]/testnm"));
  402. model.setValue(TargetNode + "[" + (grd_settinglist.rows-1) + "]/testhngabbr", model.getValue(SourceNode + "[" + iRowNo + "]/testabbr"));
  403. model.setValue(TargetNode + "[" + (grd_settinglist.rows-1) + "]/relaflagcd", "1");
  404. model.setValue(TargetNode + "[" + (grd_settinglist.rows-1) + "]/dispseqno", Number(grd_settinglist.rows)-1);
  405. model.setValue(TargetNode + "[" + (grd_settinglist.rows-1) + "]/rgstflagcd", "0");
  406. grd_settinglist.rowStatus((grd_settinglist.rows-1)) = "1"; // 신규로 처리
  407. } else {
  408. grd_settinglist.select(iFindRowNo, 0, iFindRowNo, grd_settinglist.cols-1) = true;
  409. return false;
  410. }
  411. }
  412. }
  413. }
  414. /* @group : 통합 병리번호 코드
  415. * @ver : 2008.07.14 (CMCDEV-0001)
  416. * @by : 2008.07.14 (CMCDEV-0001)
  417. * @by : 박황용
  418. * @-----------------------------------
  419. * @type : function
  420. * @access : public
  421. * @desc : 진단검사의학과 물품 목록에서 선택 해제하면 row 삭제 Function
  422. */
  423. function fSetHospUnSelect(){ //상태값을 반환해준다
  424. if(grd_hosplist.col == 0){
  425. if(model.getValue("/root/main/hosplist/hosplist["+grd_hosplist.row+"]/choi") == "false"){
  426. grd_hosplist.rowStatus(grd_hosplist.row) = 0;
  427. }
  428. }
  429. }
  430. /* @group : 통합 병리번호 코드
  431. * @ver : 2008.07.14 (CMCDEV-0001)
  432. * @by : 2008.07.14 (CMCDEV-0001)
  433. * @by : 박황용
  434. * @-----------------------------------
  435. * @type : function
  436. * @access : public
  437. * @desc : 진단검사의학과 물품 목록에서 선택 해제하면 row 삭제 Function
  438. */
  439. function fSetSytsUnSelect(){ //상태값을 반환해준다
  440. if(grd_hosplist.col == 0){
  441. if(model.getValue("/root/main/hosplist/hosplist["+grd_hosplist.row+"]/choi") == "false"){
  442. grd_hosplist.rowStatus(grd_hosplist.row) = 0;
  443. }
  444. }
  445. }
  446. ]]>
  447. </script>
  448. </xhtml:head>
  449. <xhtml:body guideline="1,1198;2,799;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  450. <group id="grp_btn" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
  451. <button id="btn_localtrsm" class="btn4_letter4" style="left:1114px; top:3px; width:80px; height:22px; ">
  452. <caption>내려받기</caption>
  453. <script type="javascript" ev:event="DOMActivate">
  454. <![CDATA[
  455. fSetHospUpdtData();
  456. ]]>
  457. </script>
  458. </button>
  459. <button id="btn_elvt" class="btn4_letter3" style="left:1044px; top:3px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
  460. <caption>올리기</caption>
  461. <script type="javascript" ev:event="DOMActivate">
  462. <![CDATA[
  463. fSetSytsUpdtData();
  464. ]]>
  465. </script>
  466. </button>
  467. </group>
  468. <group id="group2" style="left:0px; top:40px; width:1195px; height:740px; ">
  469. <group id="group1" scroll="auto" style="left:0px; top:0px; width:1195px; height:35px; ">
  470. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:595px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  471. <shape id="roundrect2" class="roundrect_search" appearance="roundrect" style="left:600px; top:0px; width:593px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  472. <select1 id="cmb_hosp_tclscd" ref="/root/init/hosp_refflag" class="combo_search" navindex="2" appearance="minimal" style="left:705px; top:8px; width:120px; height:19px; ">
  473. <choices>
  474. <item>
  475. <label>코드</label>
  476. <value>0</value>
  477. </item>
  478. <item>
  479. <label>명칭</label>
  480. <value>1</value>
  481. </item>
  482. </choices>
  483. </select1>
  484. <button id="btn_syts_ref" class="btn1_letter2" navindex="4" style="left:524px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  485. <caption>조회</caption>
  486. <script type="javascript" ev:event="DOMActivate">
  487. <![CDATA[
  488. fGetDataList("sytsinfolist");
  489. ]]>
  490. </script>
  491. </button>
  492. <select1 id="cmb_syts_tclscd" ref="/root/init/syts_refflag" class="combo_search" navindex="2" appearance="minimal" style="left:108px; top:8px; width:120px; height:19px; ">
  493. <choices>
  494. <item>
  495. <label>코드</label>
  496. <value>0</value>
  497. </item>
  498. <item>
  499. <label>명칭</label>
  500. <value>1</value>
  501. </item>
  502. </choices>
  503. </select1>
  504. <input id="ipt_syts_nm" ref="/root/init/syts_reftext" class="input_search" navindex="3" imemode="disabled" _chartype="upper" style="left:231px; top:8px; width:265px; height:19px; ">
  505. <script type="javascript" ev:event="DOMFocusOut">
  506. <![CDATA[
  507. fExeKeyPress("sytsList");
  508. ]]>
  509. </script>
  510. </input>
  511. <caption id="caption1" class="search_name" style="left:615px; top:9px; width:90px; height:17px; vertical-align:middle; background-image:../../../com/commonweb/images/search_bullet1.gif; ">검색방법 :</caption>
  512. <caption id="caption23" class="search_name" style="left:15px; top:9px; width:90px; height:17px; vertical-align:middle; background-image:../../../com/commonweb/images/search_bullet1.gif; ">검색방법 :</caption>
  513. <input id="ipt_hosp_nm" ref="/root/init/hosp_reftext" class="input_search" navindex="3" imemode="disabled" _chartype="upper" style="left:828px; top:8px; width:265px; height:19px; ">
  514. <script type="javascript" ev:event="DOMFocusOut">
  515. <![CDATA[
  516. fExeKeyPress("hospList");
  517. ]]>
  518. </script>
  519. </input>
  520. <button id="btn_hosp_ref" class="btn1_letter2" navindex="4" style="left:1123px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  521. <caption>조회</caption>
  522. <script type="javascript" ev:event="DOMActivate">
  523. <![CDATA[
  524. fGetDataList("hospinfolist");
  525. ]]>
  526. </script>
  527. </button>
  528. <line id="line14" class="line_4" style="x1:1108px; y1:6px; x2:1108px; y2:28px; border-color:#ffe4bb; border-left-style:solid; "/>
  529. <line id="line2" class="line_4" style="x1:509px; y1:5px; x2:509px; y2:28px; border-color:#ffe4bb; border-left-style:solid; "/>
  530. </group>
  531. <caption id="caption3" class="tit_2" style="left:5px; top:55; width:170px; height:13px; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">통합 병리번호코드 목록</caption>
  532. <datagrid id="grd_sytslist" nodeset="/root/main/sytslist/sytslist" class="datagrid2" scroll="auto" allowselection="true" caption="선택^병리번호&#xA;코드^병리번호 명칭^기본파트&#xA;코드^기본파트명칭" colsep="^" colwidth="30, 80, 200, 80, 200" dataheight="23" defaultrows="1" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheight="23" rowsep="|" navindex="5" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:77px; width:595px; height:660px; border-color:#c0c0c0; ">
  533. <col ref="choi" type="checkbox" style="left:0px; top:32px; width:30px; height:23px; "/>
  534. <col ref="ptnocd"/>
  535. <col ref="ptnonm"/>
  536. <col ref="basepartcd"/>
  537. <col ref="basepartnm"/>
  538. <script type="javascript" ev:event="xforms-select">
  539. <![CDATA[
  540. fExesytsSelect();
  541. ]]>
  542. </script>
  543. <script type="javascript" ev:event="xforms-value-changed">
  544. <![CDATA[
  545. fSetSytsUnSelect();
  546. ]]>
  547. </script>
  548. <script type="javascript" ev:event="onaftersort">
  549. <![CDATA[
  550. // grd_sytslist.gridToInstance();
  551. ]]>
  552. </script>
  553. </datagrid>
  554. <datagrid id="grd_hosplist" nodeset="/root/main/hosplist/hosplist" class="datagrid2" scroll="auto" allowselection="true" caption="선&#xA;택^기관코드^병리번호&#xA;코드^병리번호 명칭^기본파트&#xA;코드^기본파트명칭^detlpartcd^workflagcd^slidflagcd^slidisscnt^spcno^blocflagcd^initblocno^autokeepflagcd^autoabnflagcd^keepterm^dispseq^delflagcd^rgstflagcd" colsep="^" colwidth="40, 0, 70, 190, 70, 200, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0" dataheight="23" defaultrows="1" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheight="23" rowsep="|" navindex="5" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:600px; top:77px; width:594px; height:660px; border-color:#c0c0c0; ">
  555. <col ref="choi" type="checkbox"/>
  556. <col ref="instcd"/>
  557. <col ref="ptnocd"/>
  558. <col ref="ptnonm"/>
  559. <col ref="basepartcd"/>
  560. <col ref="basepartnm"/>
  561. <col ref="detlpartcd"/>
  562. <col ref="workflagcd"/>
  563. <col ref="slidflagcd"/>
  564. <col ref="slidisscnt"/>
  565. <col ref="spcno"/>
  566. <col ref="blocflagcd"/>
  567. <col ref="initblocno"/>
  568. <col ref="autokeepflagcd"/>
  569. <col ref="autoabnflagcd"/>
  570. <col ref="keepterm"/>
  571. <col ref="dispseq"/>
  572. <col ref="delflagcd"/>
  573. <col ref="rgstflagcd"/>
  574. <script type="javascript" ev:event="xforms-select">
  575. <![CDATA[
  576. fExehospSelect();
  577. ]]>
  578. </script>
  579. <script type="javascript" ev:event="xforms-value-changed">
  580. <![CDATA[
  581. fSetHospUnSelect();
  582. ]]>
  583. </script>
  584. </datagrid>
  585. <caption id="cap_title1" ref="/root/init/hh" class="tit_2" style="left:605px; top:55; width:209px; height:13px; "/>
  586. <line id="line1" class="line_1" style="x1:0px; y1:72px; x2:595px; y2:72px; "/>
  587. <line id="line3" class="line_1" style="x1:600px; y1:72px; x2:1195px; y2:72px; "/>
  588. <button id="btn_syts_bf" class="btn3_letter2" style="left:291px; top:49; width:56px; height:22px; ">
  589. <caption>이전</caption>
  590. <script type="javascript" ev:event="DOMActivate">
  591. <![CDATA[
  592. fGetSytsTestInfoList(Number(model.getValue("/root/init/syts_page")) - 1);
  593. ]]>
  594. </script>
  595. </button>
  596. <button id="btn_syts_next" class="btn4_letter2" style="left:480px; top:49; width:56px; height:22px; ">
  597. <caption>다음</caption>
  598. <script type="javascript" ev:event="DOMActivate">
  599. <![CDATA[
  600. fGetSytsTestInfoList(Number(model.getValue("/root/init/syts_page")) + 1);
  601. ]]>
  602. </script>
  603. </button>
  604. <input id="ipt_sytspaval" ref="/root/hidden/sytspaval" class="input_search" style="left:352px; top:50; width:65px; height:19px; text-align:right; ">
  605. <script type="javascript" ev:event="xforms-value-changed">
  606. <![CDATA[
  607. fGetSytsTestInfoList(model.getValue("/root/hidden/sytspaval"));
  608. ]]>
  609. </script>
  610. <script type="javascript" ev:event="onkeypress">
  611. <![CDATA[
  612. if(event.keyCode == 13 && ipt_sytspaval.currentText != ipt_sytspaval.value) {
  613. model.setValue("/root/hidden/sytspaval", ipt_sytspaval.currentText);
  614. ipt_sytspaval.dispatch("xforms-value-changed");
  615. }
  616. else if(event.keyCode != 8 && (event.keyCode < 48 || event.keyCode > 57)) {
  617. event.defaultAction = "cancel";
  618. }
  619. ]]>
  620. </script>
  621. </input>
  622. <button id="btn_syts_fst" class="btn3_letter2" style="left:231px; top:49; width:56px; height:22px; ">
  623. <caption>처음</caption>
  624. <script type="javascript" ev:event="DOMActivate">
  625. <![CDATA[
  626. fGetSytsTestInfoList(1);
  627. ]]>
  628. </script>
  629. </button>
  630. <button id="btn_syts_last" class="btn4_letter2" style="left:540px; top:49; width:56px; height:22px; ">
  631. <caption>최종</caption>
  632. <script type="javascript" ev:event="DOMActivate">
  633. <![CDATA[
  634. fGetSytsTestInfoList(model.getValue("/root/init/syts_lastpage"));
  635. ]]>
  636. </script>
  637. </button>
  638. <button id="btn_hosp_Fst" class="btn3_letter2" style="left:828px; top:49; width:56px; height:22px; ">
  639. <caption>처음</caption>
  640. <script type="javascript" ev:event="DOMActivate">
  641. <![CDATA[
  642. fGetHospTestInfoList(1);
  643. ]]>
  644. </script>
  645. </button>
  646. <button id="btn_hosp_next" class="btn4_letter2" style="left:1079px; top:49; width:56px; height:22px; ">
  647. <caption>다음</caption>
  648. <script type="javascript" ev:event="DOMActivate">
  649. <![CDATA[
  650. fGetHospTestInfoList(Number(model.getValue("/root/init/hosp_page")) + 1);
  651. ]]>
  652. </script>
  653. </button>
  654. <input id="ipt_hosppaval" ref="/root/hidden/hosppaval" class="input_search" style="left:947px; top:50; width:65px; height:19px; text-align:right; ">
  655. <script type="javascript" ev:event="xforms-value-changed">
  656. <![CDATA[
  657. fGetHospTestInfoList(model.getValue("/root/hidden/hosppaval"));
  658. ]]>
  659. </script>
  660. <script type="javascript" ev:event="onkeypress">
  661. <![CDATA[
  662. if(event.keyCode == 13 && ipt_hosppaval.currentText != ipt_hosppaval.value) {
  663. model.setValue("/root/hidden/hosppaval", ipt_hosppaval.currentText);
  664. ipt_hosppaval.dispatch("xforms-value-changed");
  665. }
  666. else if(event.keyCode != 8 && (event.keyCode < 48 || event.keyCode > 57)) {
  667. event.defaultAction = "cancel";
  668. }
  669. ]]>
  670. </script>
  671. </input>
  672. <button id="btn_hosp_last" class="btn4_letter2" style="left:1139px; top:49; width:56px; height:22px; ">
  673. <caption>최종</caption>
  674. <script type="javascript" ev:event="DOMActivate">
  675. <![CDATA[
  676. fGetHospTestInfoList(model.getValue("/root/init/hosp_lastpage"));
  677. ]]>
  678. </script>
  679. </button>
  680. <button id="btn_hosp_bf" class="btn3_letter2" style="left:887px; top:49; width:56px; height:22px; ">
  681. <caption>이전</caption>
  682. <script type="javascript" ev:event="DOMActivate">
  683. <![CDATA[
  684. fGetHospTestInfoList(Number(model.getValue("/root/init/hosp_page")) - 1);
  685. ]]>
  686. </script>
  687. </button>
  688. <caption id="caption2" style="left:422px; top:51px; width:11px; height:20px; font-size:9pt; font-weight:bold; ">/</caption>
  689. <caption id="cap_sytslastPage" ref="/root/main/sytslist/lastpage/lastpage" style="left:436px; top:51px; width:30px; height:20px; font-size:9pt; font-weight:bold; ">1</caption>
  690. <caption id="caption4" style="left:1017px; top:51px; width:11px; height:20px; font-size:9pt; font-weight:bold; ">/</caption>
  691. <caption id="cap_hosplastPage" ref="/root/main/hosplist/lastpage/lastpage" style="left:1031px; top:51px; width:30px; height:20px; font-size:9pt; font-weight:bold; ">1</caption>
  692. </group>
  693. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:1195px; height:13px; ">통합병리번호코드</caption>
  694. </xhtml:body>
  695. </xhtml:html>