SPMMR01000_서식이미지리스트.xrw 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  4. <xhtml:head>
  5. <xhtml:title>서식목록</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <userlist>
  11. <pflist/>
  12. <selval/>
  13. </userlist>
  14. <deptlist>
  15. <pflist/>
  16. <selval/>
  17. </deptlist>
  18. <alllist>
  19. <pflist/>
  20. <selval/>
  21. </alllist>
  22. <imglistinfo>
  23. <imglist>
  24. <deptlistnm/>
  25. <imglistcode/>
  26. <imglistnm/>
  27. <imgdata/>
  28. </imglist>
  29. </imglistinfo>
  30. <mastlist>
  31. <pflist/>
  32. <selval/>
  33. </mastlist>
  34. <paminfo>
  35. <list/>
  36. </paminfo>
  37. <common>
  38. <dept>
  39. <deptcd>-</deptcd>
  40. <depthngnm>전체</depthngnm>
  41. </dept>
  42. <drlist>
  43. <drid/>
  44. <drnm/>
  45. </drlist>
  46. <M0062>
  47. <cdid>-</cdid>
  48. <cdnm>전체</cdnm>
  49. </M0062>
  50. <ward>
  51. <dept>
  52. <deptcd/>
  53. <depthngnm/>
  54. </dept>
  55. </ward>
  56. <M0259>
  57. <cdid>-</cdid>
  58. <cdnm>전체</cdnm>
  59. </M0259>
  60. </common>
  61. <ocrsch>
  62. <ocrflag>
  63. <ocrlrgclscd/>
  64. <ocrlrgclsnm/>
  65. </ocrflag>
  66. <formbizcls>
  67. <cdid>-</cdid>
  68. <cdnm>전체</cdnm>
  69. </formbizcls>
  70. <dept>
  71. <deptcd/>
  72. <depthngnm/>
  73. </dept>
  74. <formchosflag>C</formchosflag>
  75. </ocrsch>
  76. <newform>
  77. <formbizcls/>
  78. </newform>
  79. <selform/>
  80. </main>
  81. <send>
  82. <levl>
  83. </levl>
  84. <imge>
  85. </imge>
  86. <labl>
  87. </labl>
  88. <valu>
  89. </valu>
  90. <path>
  91. </path>
  92. <flag>
  93. </flag>
  94. <tabflag>
  95. </tabflag>
  96. <indxflag/>
  97. <refyn/>
  98. <linkflag/>
  99. <chosflag/>
  100. <srch>
  101. <imgenm/>
  102. </srch>
  103. <savedata/>
  104. </send>
  105. <hidden>
  106. <indxlist>
  107. <item>
  108. <status/>
  109. <itemindxseq/>
  110. <supitemindxseq/>
  111. <indxflag/>
  112. <indxnm/>
  113. <indxcnts/>
  114. <deptcd/>
  115. <userid/>
  116. <linkflag/>
  117. <linkcd/>
  118. <comnseq/>
  119. <sortno/>
  120. <valiyn/>
  121. <slipno/>
  122. <depth/>
  123. <indxflag/>
  124. <valu/>
  125. <flag/>
  126. </item>
  127. </indxlist>
  128. </hidden>
  129. <init>
  130. <indxflag/>
  131. <tabflag/>
  132. <Iref>N</Iref>
  133. <Dref>N</Dref>
  134. <Aref>N</Aref>
  135. <Mref>N</Mref>
  136. <imgenm/>
  137. </init>
  138. <pmenu>
  139. <diagmsrght>
  140. <mouserght>
  141. <label>기본서식설정</label>
  142. <func>fSetDefForm</func>
  143. </mouserght>
  144. <mouserght>
  145. <label/>
  146. <func/>
  147. </mouserght>
  148. <mouserght>
  149. <label>즐겨찾기추가</label>
  150. <func>fSetFavorForm</func>
  151. </mouserght>
  152. </diagmsrght>
  153. <favormsrght>
  154. <mouserght>
  155. <label>즐겨찾기추가</label>
  156. <func>fSetFavorForm</func>
  157. </mouserght>
  158. </favormsrght>
  159. <diagmsrghtssik>
  160. <mouserght>
  161. <label>기본서식설정</label>
  162. <func>fSetDefForm</func>
  163. </mouserght>
  164. </diagmsrghtssik>
  165. <preview>
  166. <mouserght>
  167. <label>미리보기</label>
  168. <func>fFormPreView</func>
  169. </mouserght>
  170. </preview>
  171. <imgprivateadd>
  172. <mouserght>
  173. <label>개인탭에 이미지추가</label>
  174. <func>fImgAdd</func>
  175. </mouserght>
  176. </imgprivateadd>
  177. <imgprivatedel>
  178. <mouserght>
  179. <label>이미지삭제</label>
  180. <func>fImgDel</func>
  181. </mouserght>
  182. </imgprivatedel>
  183. </pmenu>
  184. <tmp>
  185. <pflist/>
  186. </tmp>
  187. <rdo>P</rdo>
  188. <userid>10704557</userid>
  189. <deptcd>2010500000</deptcd>
  190. <iordo>I</iordo>
  191. <temp>
  192. <formbizcls>M0259</formbizcls>
  193. <srcformcd/>
  194. </temp>
  195. </root>
  196. </instance>
  197. <script type="javascript" ev:event="xforms-ready">
  198. <![CDATA[
  199. fReadyForm();
  200. parentID = opener.window.javaScript.getParameter("winid");
  201. if(parentID == "SMMMR03600")
  202. {
  203. btn_all.text = "해부학적";
  204. btn_all.attribute("width") = "60px";
  205. btn_imgsrch.attribute("left") = "140px";
  206. btn_dept.selected = true;
  207. btn_dept.dispatch("DOMActivate");
  208. }
  209. // 진료지원화면의 서식목록 팝업시 마스터 탭 선택
  210. var openScrnID = opener.window.javaScript.getScreenID();
  211. if( openScrnID == "SMAEB00200" || openScrnID == "SMAER00400"){
  212. btn_master.selected = true;
  213. btn_master.dispatch("DOMActivate");
  214. }
  215. //[요청번호:20160824021] 외래수진에 입원서식 작성 제한 서식코드
  216. mmbfGetHardCodeInfo("/root/send/reqdata", "/root/temp/srcformcd", 9968);
  217. ]]>
  218. </script>
  219. <script type="javascript" ev:event="xforms-close">
  220. <![CDATA[
  221. //fFormsetglobal();
  222. //fExpandCheck("trv_formlist");
  223. ]]>
  224. </script>
  225. <script type="javascript" ev:event="xforms-model-construct-done">
  226. <![CDATA[
  227. // 폼초기화
  228. //fFormInit(0);
  229. ]]>
  230. </script>
  231. <submission id="TRMMR01001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/tmp/pflist"/>
  232. <submission id="TRMMR03601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srch/imgenm" resultref="/root/main/imglistinfo"/>
  233. <!--submission id="TXMMR01001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/temp" resultref="/root/send/rsltmsg"/-->
  234. <submission id="TXMMR01001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/temp" resultref="/root/main/savedinfo"/>
  235. <submission id="TRMMR02903" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/profform"/>
  236. <submission id="TRMRF02309" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/ocrinfo"/>
  237. <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="urlencoded-post"/>
  238. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="urlencoded-post"/>
  239. <submission id="TRMRF02307" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/ocrsch/ocrflag"/>
  240. <submission id="TRMRF02303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata"/>
  241. <submission id="TRMRF00706" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp/formbizcls" resultref="/root/main/formbizcls"/>
  242. <submission id="TXMMR03602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/tmp/indxlist"/>
  243. </model>
  244. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  245. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  246. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  247. <script type="javascript" src="../../../emr/commonweb/js/EMRCommon.js"/>
  248. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  249. <script type="javascript" src="../../../emr/medirecweb/js/MMR00100.js"/>
  250. <script type="javascript" src="../../../emr/formmngtweb/js/MRFCommon.js"/>
  251. <script type="javascript" src="../../../emr/medirecweb/js/SPMMR01000.js"/>
  252. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  253. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  254. </xhtml:head>
  255. <xhtml:body pagewidth="302" pageheight="680" guideline="1,1300;2,674;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  256. <group id="grup_base" style="left:0px; top:0px; width:285px; height:680px; ">
  257. <button id="btn_dept" class="btn_sw" group="tab" selected="true" style="left:40px; top:1px; width:40px; height:22px; ">
  258. <caption>과</caption>
  259. <script type="javascript" ev:event="DOMActivate">
  260. <![CDATA[
  261. model.toggle("case_dept");
  262. model.makeValue("/root/init/tabflag", "D");
  263. fSelectIndxList();
  264. ]]>
  265. </script>
  266. </button>
  267. <button id="btn_master" class="btn_sw" visibility="hidden" group="tab" selected="false" style="left:130px; top:1px; width:50px; height:22px; ">
  268. <caption>마스터</caption>
  269. <script type="javascript" ev:event="DOMActivate">
  270. <![CDATA[
  271. model.toggle("case_master");
  272. model.makeValue("/root/init/tabflag", "M");
  273. fSelectIndxList();
  274. ]]>
  275. </script>
  276. </button>
  277. <button id="btn_user" class="btn_sw" group="tab" selected="false" style="left:0px; top:1px; width:40px; height:22px; ">
  278. <caption>개인</caption>
  279. <script type="javascript" ev:event="DOMActivate">
  280. <![CDATA[
  281. model.toggle("case_user");
  282. model.makeValue("/root/init/tabflag", "I");
  283. fSelectIndxList();
  284. ]]>
  285. </script>
  286. </button>
  287. <button id="btn_all" class="btn_sw" group="tab" selected="false" style="left:80px; top:1px; width:50px; height:22px; ">
  288. <caption>전체과</caption>
  289. <script type="javascript" ev:event="DOMActivate">
  290. <![CDATA[
  291. model.toggle("case_all");
  292. model.makeValue("/root/init/tabflag", "A");
  293. fSelectIndxList();
  294. ]]>
  295. </script>
  296. </button>
  297. <button id="btn_imgsrch" class="btn_sw" group="tab" selected="false" style="left:130px; top:0px; width:50px; height:22px; ">
  298. <caption>검색</caption>
  299. <script type="javascript" ev:event="DOMActivate">
  300. <![CDATA[
  301. model.toggle("case_imgsrch");
  302. model.makeValue("/root/init/tabflag", "S");
  303. ]]>
  304. </script>
  305. </button>
  306. <switch id="switch1" style="left:0px; top:21px; width:285px; height:657px; ">
  307. <case id="case_user">
  308. <treeview id="trv_userlist" ref="/root/main/userlist/selval" expanddepth="5" itemsettype="depth" style="left:0px; top:0px; width:283px; height:655px; ">
  309. <itemset nodeset="/root/main/userlist/pflist">
  310. <label ref="labl"/>
  311. <value ref="seqcd"/>
  312. <image ref="imge"/>
  313. <depth ref="levl"/>
  314. </itemset>
  315. <script type="javascript" ev:event="ondblclick">
  316. <![CDATA[
  317. fSelectTree("USER");
  318. ]]>
  319. </script>
  320. <script type="javascript" ev:event="onmousedown">
  321. <![CDATA[
  322. if(trv_userlist.isCell(event.target))
  323. fFormMouseRghtBtnPopup();
  324. ]]>
  325. </script>
  326. <script type="javascript" ev:event="DOMFocusOut">
  327. <![CDATA[
  328. window.setPopupMenu(false);
  329. ]]>
  330. </script>
  331. </treeview>
  332. </case>
  333. <case id="case_dept" selected="true">
  334. <treeview id="trv_deptlist" ref="/root/main/deptlist/selval" expanddepth="0" itemsettype="depth" style="left:0px; top:0px; width:283px; height:655px; ">
  335. <itemset nodeset="/root/main/deptlist/pflist">
  336. <label ref="labl"/>
  337. <value ref="seqcd"/>
  338. <image ref="imge"/>
  339. <depth ref="levl"/>
  340. </itemset>
  341. <script type="javascript" ev:event="ondblclick">
  342. <![CDATA[
  343. fSelectTree("DEPT");
  344. ]]>
  345. </script>
  346. <script type="javascript" ev:event="onmousedown">
  347. <![CDATA[
  348. if(trv_deptlist.isCell(event.target))
  349. fFormMouseRghtBtnPopup();
  350. ]]>
  351. </script>
  352. <script type="javascript" ev:event="DOMFocusOut">
  353. <![CDATA[
  354. window.setPopupMenu(false);
  355. ]]>
  356. </script>
  357. </treeview>
  358. </case>
  359. <case id="case_all">
  360. <treeview id="trv_alllist" ref="/root/main/alllist/selval" expanddepth="0" itemsettype="depth" style="left:0px; top:0px; width:283px; height:655px; ">
  361. <itemset nodeset="/root/main/alllist/pflist">
  362. <label ref="labl"/>
  363. <value ref="seqcd"/>
  364. <image ref="imge"/>
  365. <depth ref="levl"/>
  366. </itemset>
  367. <script type="javascript" ev:event="ondblclick">
  368. <![CDATA[
  369. fSelectTree("ALL");
  370. ]]>
  371. </script>
  372. <script type="javascript" ev:event="onmousedown">
  373. <![CDATA[
  374. if(trv_alllist.isCell(event.target))
  375. fFormMouseRghtBtnPopup();
  376. ]]>
  377. </script>
  378. <script type="javascript" ev:event="DOMFocusOut">
  379. <![CDATA[
  380. window.setPopupMenu(false);
  381. ]]>
  382. </script>
  383. <script type="javascript" ev:event="onclick">
  384. <![CDATA[
  385. event.propagate = "stop";
  386. ]]>
  387. </script>
  388. </treeview>
  389. </case>
  390. <case id="case_imgsrch" overflow="hidden">
  391. <shape id="roundrect1" appearance="roundrect" style="left:1px; top:1px; width:277px; height:30px; "/>
  392. <button id="btn_search" class="btn1_letter2" style="left:213px; top:5px; width:56px; height:22px; ">
  393. <caption>조회</caption>
  394. <script type="javascript" ev:event="DOMActivate">
  395. <![CDATA[
  396. fSearch();
  397. ]]>
  398. </script>
  399. </button>
  400. <caption id="caption3" class="search_name" style="left:6px; top:7px; width:86px; height:17px; ">이미지명:</caption>
  401. <datagrid id="grd_imgnmlist" nodeset="/root/main/imglistinfo/imglist" caption="과^이미지명^코드^itemindxseq^supitemindxseq^linkcd" colsep="^" colwidth="70, 105, 65, 100, 100, 100" extendlastcol="false" rowheader="seq" rowsep="|" style="left:0px; top:32px; width:282px; height:615px; border-style:none; ">
  402. <col ref="deptlistnm"/>
  403. <col ref="imglistnm"/>
  404. <col ref="imglistcode"/>
  405. <col ref="itemindxseq" visibility="hidden"/>
  406. <col ref="supitemindxseq" visibility="hidden"/>
  407. <col ref="linkcd" visibility="hidden"/>
  408. <script type="javascript" ev:event="ondblclick">
  409. <![CDATA[
  410. fGridImageView(grd_imgnmlist.row);
  411. ]]>
  412. </script>
  413. <script type="javascript" ev:event="onmousedown">
  414. <![CDATA[
  415. var imgnm = model.getValue("/root/main/imglistinfo/imglist["+grd_imgnmlist.row+"]/imglistnm");
  416. if( parentID == "SMMMR03600" && imgnm !="" ){
  417. setPopupMenu("grd_imgnmlist", false, "/root/pmenu/imgprivateadd/mouserght", "label", "func"); //검색 ->개인 즐겨찾기 추가
  418. }
  419. ]]>
  420. </script>
  421. </datagrid>
  422. <input id="ipt_imgnm" ref="/root/init/imgenm" class="input_essential" style="left:87px; top:6px; width:113px; height:19px; ">
  423. <script type="javascript" ev:event="onkeypress">
  424. <![CDATA[
  425. if(event.keyCode == "13"){
  426. fSearch();
  427. }
  428. ]]>
  429. </script>
  430. </input>
  431. </case>
  432. <case id="case_master">
  433. <treeview id="trv_master" ref="/root/main/mastlist/selval" expanddepth="2" fullrowselect="false" itemsettype="depth" style="left:0px; top:45px; width:283px; height:610px; ">
  434. <itemset nodeset="/root/main/mastlist/pflist">
  435. <label ref="labl"/>
  436. <value ref="seqcd"/>
  437. <image ref="imge"/>
  438. <depth ref="levl"/>
  439. </itemset>
  440. <script type="javascript" ev:event="ondblclick">
  441. <![CDATA[
  442. fSelectTree("MAST");
  443. ]]>
  444. </script>
  445. <script type="javascript" ev:event="onmousedown">
  446. <![CDATA[
  447. if(trv_master.isCell(event.target))
  448. fFormMouseRghtBtnPopup();
  449. ]]>
  450. </script>
  451. <script type="javascript" ev:event="DOMFocusOut">
  452. <![CDATA[
  453. window.setPopupMenu(false);
  454. ]]>
  455. </script>
  456. </treeview>
  457. <shape id="roundrect3" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:0px; top:2px; width:280px; height:43px; "/>
  458. <select1 id="combo1" ref="/root/main/newform/formbizcls" class="combo_default" appearance="minimal" style="left:110px; top:15px; width:122px; height:19px; ">
  459. <choices>
  460. <itemset nodeset="/root/main/formbizcls">
  461. <label ref="formbizclsnm"/>
  462. <value ref="formbizclscd"/>
  463. </itemset>
  464. </choices>
  465. <script type="javascript" ev:event="xforms-value-changed">
  466. <![CDATA[
  467. model.makeValue("/root/init/Mref","N");
  468. model.makeValue("/root/init/tabflag", "M");
  469. fSelectIndxList();
  470. ]]>
  471. </script>
  472. </select1>
  473. <caption id="cap_reqflag" class="search_name" style="left:20px; top:15px; width:86px; height:17px; ">서식분류 :</caption>
  474. </case>
  475. <case id="case_prof">
  476. <treeview id="trv_proflist" ref="/root/main/profform" expanddepth="1" itemsettype="depth" style="left:0px; top:0px; width:283px; height:652px; border-style:none; ">
  477. <itemset nodeset="/root/main/profform/list">
  478. <label ref="formnm"/>
  479. <value ref="formcd"/>
  480. <depth ref="depth"/>
  481. <image ref="imgeicon"/>
  482. </itemset>
  483. <script type="javascript" ev:event="onmousedown">
  484. <![CDATA[
  485. if(event.button == 3){
  486. // fAddFavor();
  487. }
  488. ]]>
  489. </script>
  490. <script type="javascript" ev:event="DOMFocusOut">
  491. <![CDATA[
  492. // initPopupMenu();
  493. ]]>
  494. </script>
  495. <script type="javascript" ev:event="ondblclick">
  496. <![CDATA[
  497. if(model.getValue("/root/main/profform") == ""){
  498. return;
  499. }
  500. if(chk_newiss.value == "newiss"){
  501. // alert("fNewRecProf");
  502. // fNewRecProf();
  503. }
  504. else {
  505. // alert("fChosProflist");
  506. // fChosProflist();
  507. }
  508. ]]>
  509. </script>
  510. </treeview>
  511. </case>
  512. <case id="case_ocr">
  513. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:2px; top:1px; width:279px; height:64px; background-color:#fffbf2; border-color:#ffd799; "/>
  514. <select1 id="cmb_formcls" ref="/root/main/ocrsch/ocrflag" class="combo_search" appearance="minimal" style="left:8px; top:7px; width:94px; height:19px; ">
  515. <choices>
  516. <itemset nodeset="/root/main/ocrsch/ocrflag">
  517. <label ref="ocrlrgclsnm"/>
  518. <value ref="ocrlrgclscd"/>
  519. </itemset>
  520. </choices>
  521. <script type="javascript" ev:event="xforms-value-changed">
  522. <![CDATA[
  523. //fClear();
  524. ]]>
  525. </script>
  526. </select1>
  527. <select1 id="cmb_formchosflag" ref="/root/main/ocrsch/formchosflag" class="combo_search" appearance="minimal" style="left:108px; top:36px; width:94px; height:19px; ">
  528. <choices>
  529. <item>
  530. <label>공통</label>
  531. <value>C</value>
  532. </item>
  533. <item>
  534. <label>외래</label>
  535. <value>O</value>
  536. </item>
  537. <item>
  538. <label>입원</label>
  539. <value>I</value>
  540. </item>
  541. <item>
  542. <label>응급</label>
  543. <value>E</value>
  544. </item>
  545. <item>
  546. <label>DSC</label>
  547. <value>D</value>
  548. </item>
  549. </choices>
  550. </select1>
  551. <select1 id="cmb_ocrdept" ref="/root/main/ocrsch/dept" class="combo_search" appearance="minimal" style="left:8px; top:36px; width:94px; height:19px; ">
  552. <choices>
  553. <itemset nodeset="/root/main/ocrsch/dept">
  554. <label ref="depthngnm"/>
  555. <value ref="deptcd"/>
  556. </itemset>
  557. </choices>
  558. </select1>
  559. <select1 id="cmb_formbizcls" ref="/root/main/ocrsch/formbizcls" class="combo_search" disabled="false" appearance="minimal" style="left:108px; top:7px; width:94px; height:19px; ">
  560. <choices>
  561. <itemset nodeset="/root/main/ocrsch/formbizcls">
  562. <label ref="cdnm"/>
  563. <value ref="cdid"/>
  564. </itemset>
  565. </choices>
  566. <script type="javascript" ev:event="xforms-value-changed">
  567. <![CDATA[
  568. //fClear();
  569. ]]>
  570. </script>
  571. </select1>
  572. <button id="button37" class="btn1_letter2" style="left:217px; top:21px; width:57px; height:22px; ">
  573. <caption>조회</caption>
  574. <script type="javascript" ev:event="DOMActivate">
  575. <![CDATA[
  576. fOcrTreeSrch();
  577. ]]>
  578. </script>
  579. </button>
  580. <line id="line6" style="x1:208px; y1:4px; x2:208px; y2:57px; border-color:#ffe4bb; border-left-style:solid; "/>
  581. <treeview id="trv_ocrlist" ref="/root/main/selform" expanddepth="1" itemsettype="depth" style="left:0px; top:65px; width:283px; height:587px; ">
  582. <itemset nodeset="/root/main/ocrinfo/ocrlist">
  583. <label ref="formnm"/>
  584. <value ref="formcd"/>
  585. <depth ref="depth"/>
  586. <image ref="imgeicon"/>
  587. </itemset>
  588. <script type="javascript" ev:event="ondblclick">
  589. <![CDATA[
  590. fSelectOCR();
  591. ]]>
  592. </script>
  593. <script type="javascript" ev:event="onmousedown">
  594. <![CDATA[
  595. // fAddFavor();
  596. ]]>
  597. </script>
  598. <script type="javascript" ev:event="DOMFocusOut">
  599. <![CDATA[
  600. //initPopupMenu();
  601. ]]>
  602. </script>
  603. </treeview>
  604. </case>
  605. </switch>
  606. <button id="button1" visibility="hidden" style="left:230px; top:0px; width:55px; height:20px; ">
  607. <caption>button1</caption>
  608. <script type="javascript" ev:event="DOMActivate">
  609. <![CDATA[
  610. if (group1.visible)
  611. {
  612. group1.visible = false;
  613. }
  614. else
  615. {
  616. group1.attribute("left") = "45";
  617. group1.attribute("top") = "25";
  618. group1.visible = true;
  619. }
  620. ]]>
  621. </script>
  622. </button>
  623. <button id="btn_prof" class="btn_sw" visibility="hidden" group="tab" selected="false" style="left:225px; top:0px; width:45px; height:22px; ">
  624. <caption>제증명</caption>
  625. <script type="javascript" ev:event="DOMActivate">
  626. <![CDATA[
  627. model.toggle("case_prof");
  628. fGetProfForm();
  629. //fSelectIndxList();
  630. ]]>
  631. </script>
  632. </button>
  633. <button id="btn_ocr" class="btn_sw" visibility="hidden" group="tab" selected="false" style="left:180px; top:0px; width:45px; height:22px; ">
  634. <caption>OCR</caption>
  635. <script type="javascript" ev:event="DOMActivate">
  636. <![CDATA[
  637. model.toggle("case_ocr");
  638. //fSelectIndxList();
  639. fOcrTreeSrch();
  640. ]]>
  641. </script>
  642. </button>
  643. </group>
  644. <group id="group1" visibility="hidden" style="left:40px; top:175px; width:215px; height:105px; ">
  645. <select1 id="radio1" ref="/root/rdo" appearance="full" cellspacing="50" cols="2" overflow="visible" style="left:5px; top:35px; width:140px; height:25px; border-style:none; ">
  646. <choices>
  647. <item>
  648. <label>폼</label>
  649. <value>F</value>
  650. </item>
  651. <item>
  652. <label>이미지</label>
  653. <value>P</value>
  654. </item>
  655. </choices>
  656. <script type="javascript" ev:event="xforms-value-changed">
  657. <![CDATA[
  658. model.setValue("/root/init/Iref", "N");
  659. model.setValue("/root/init/Dref", "N");
  660. model.setValue("/root/init/Aref", "N");
  661. model.setValue("/root/init/Mref", "N");
  662. model.makeValue("/root/init/indxflag", model.getValue("/root/rdo"));
  663. if( model.getValue("/root/rdo") == "P")
  664. {
  665. btn_imgsrch.visible = true;
  666. btn_master.visible = false;
  667. }
  668. else
  669. {
  670. btn_imgsrch.visible = false;
  671. btn_master.visible = true;
  672. }
  673. model.refresh();
  674. ]]>
  675. </script>
  676. </select1>
  677. <input id="input1" ref="/root/userid" style="left:5px; top:60px; width:120px; height:19px; ">
  678. <script type="javascript" ev:event="xforms-value-changed">
  679. <![CDATA[
  680. radio1.dispatch("xforms-select");
  681. ]]>
  682. </script>
  683. </input>
  684. <select1 id="radio2" ref="/root/iordo" appearance="full" cols="4" overflow="visible" style="left:5px; top:10px; width:185px; height:25px; border-style:none; ">
  685. <choices>
  686. <item>
  687. <label>입원</label>
  688. <value>I</value>
  689. </item>
  690. <item>
  691. <label>외래</label>
  692. <value>O</value>
  693. </item>
  694. <item>
  695. <label>응급</label>
  696. <value>E</value>
  697. </item>
  698. <item>
  699. <label>건진</label>
  700. <value>S</value>
  701. </item>
  702. </choices>
  703. </select1>
  704. <input id="input2" ref="/root/deptcd" style="left:5px; top:80px; width:125px; height:19px; ">
  705. <script type="javascript" ev:event="xforms-value-changed">
  706. <![CDATA[
  707. radio1.dispatch("xforms-select");
  708. ]]>
  709. </script>
  710. </input>
  711. </group>
  712. </xhtml:body>
  713. </xhtml:html>