SMMRE00500_폴더생성관리.xrw 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:my="http://www.comsquare.co.kr/example" xmlns:ms="urn:schemas-microsoft-com:xslt" 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" xmlns:cs="http://www.comsquare.co.kr/xforms">
  4. <xhtml:head>
  5. <xhtml:title>폴더생성관리</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <cond>
  11. <bizflag>A</bizflag>
  12. <wrdflag>A4</wrdflag>
  13. <selectIndxcd/>
  14. <useyn/>
  15. <wrdflagyn>Y</wrdflagyn>
  16. <deptcd/>
  17. <selwmid/>
  18. <newtitle/>
  19. </cond>
  20. <selinfo>
  21. <foldinfo>
  22. <foldlist>
  23. <title/>
  24. <seq/>
  25. <useyn/>
  26. <instcd/>
  27. <wmid/>
  28. <pwmid/>
  29. <wrdflag/>
  30. <bizflag/>
  31. <deptsabun/>
  32. <level/>
  33. <titlepath/>
  34. <insertwmid/>
  35. <treeindex/>
  36. <status/>
  37. </foldlist>
  38. </foldinfo>
  39. <selfoldinfo>
  40. <foldlist>
  41. <title/>
  42. <seq/>
  43. <useyn/>
  44. <instcd/>
  45. <wmid/>
  46. <pwmid/>
  47. <wrdflag/>
  48. <bizflag/>
  49. <deptsabun/>
  50. <level/>
  51. <titlepath/>
  52. <insertwmid/>
  53. <treeindex/>
  54. <status/>
  55. </foldlist>
  56. </selfoldinfo>
  57. </selinfo>
  58. </main>
  59. <send>
  60. <foldinfo>
  61. <reqdata/>
  62. </foldinfo>
  63. <selfoldinfo>
  64. <reqdata/>
  65. <savedata>
  66. </savedata>
  67. </selfoldinfo>
  68. </send>
  69. <hidden>
  70. </hidden>
  71. <init>
  72. <selinitinfo>
  73. <foldinfo>
  74. <foldlist>
  75. <title/>
  76. <seq>0</seq>
  77. <useyn>Y</useyn>
  78. <instcd/>
  79. <wmid/>
  80. <pwmid>0</pwmid>
  81. <wrdflag/>
  82. <bizflag/>
  83. <deptsabun/>
  84. <level>1</level>
  85. <image>
  86. <![CDATA[../../../com/commonweb/images/icon_folder_close.gif]]>
  87. </image>
  88. <insertwmid/>
  89. <treeindex/>
  90. <status/>
  91. </foldlist>
  92. </foldinfo>
  93. </selinitinfo>
  94. </init>
  95. <temp>
  96. </temp>
  97. </root>
  98. </instance>
  99. <script type="javascript" ev:event="xforms-ready">
  100. <![CDATA[
  101. fInitialize();
  102. ]]>
  103. </script>
  104. <submission id="TRMRE00501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/foldinfo" resultref="/root/main/selinfo/foldinfo/foldlist"/>
  105. <submission id="TRMRE00502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/selfoldinfo" resultref="/root/main/selinfo/selfoldinfo/foldlist"/>
  106. <submission id="TXMRE00501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/selfoldinfo" resultref="/root/main/selinfo/selfoldinfo/foldlist"/>
  107. </model>
  108. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  109. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  110. <script type="javascript" src="../../../emr/dentirecweb/js/MRE001.js"/>
  111. <script type="javascript" src="../../../emr/dentirecweb/js/SMMRE00500.js"/>
  112. </xhtml:head>
  113. <xhtml:body pagewidth="820" pageheight="800" guideline="1,-13;2,9;1,1100;2,716;1,-3;" style="background-color:transparent; margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  114. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:21px; width:800px; height:39px; background-color:#fffbf2; border-color:#ffd799; "/>
  115. <line id="line1" class="line_1" style="x1:0px; y1:83px; x2:800px; y2:83px; "/>
  116. <caption id="caption2" class="tit_2" style="left:0px; top:68px; width:87px; height:13px; vertical-align:middle; ">술식어 폴더</caption>
  117. <datagrid id="grd_foldlist" nodeset="/root/main/selinfo/selfoldinfo/foldlist" caption="메뉴명^순번^사용" colsep="^" colwidth="249, 60, 35, 100, 100, 100, 100, 100, 100, 100" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:410px; top:88px; width:390px; height:708px; margin-left:0; margin-right:0; ">
  118. <col ref="title" type="input"/>
  119. <col ref="seq" type="input" style="text-align:center; "/>
  120. <col checkvalue="Y,N" ref="useyn" type="checkbox"/>
  121. <col ref="instcd" visibility="hidden"/>
  122. <col ref="wmid" visibility="hidden"/>
  123. <col ref="pwmid" visibility="hidden"/>
  124. <col ref="wrdflag" visibility="hidden"/>
  125. <col ref="bizflag" visibility="hidden"/>
  126. <col ref="deptsabun" visibility="hidden"/>
  127. <col ref="level" visibility="hidden"/>
  128. <col ref="titlepath" visibility="hidden"/>
  129. <col ref="insertwmid" visibility="hidden"/>
  130. <col ref="treeindex" visibility="hidden"/>
  131. <col ref="status" visibility="hidden"/>
  132. <script type="javascript" ev:event="xforms-value-changed">
  133. <![CDATA[
  134. if (grd_foldlist.valueMatrix(grd_foldlist.row,grd_foldlist.colRef("instcd")) != "")
  135. {
  136. grd_foldlist.valueMatrix(grd_foldlist.row,grd_foldlist.colRef("status")) = "m";
  137. }
  138. if (grd_foldlist.valueMatrix(grd_foldlist.row,grd_foldlist.colRef("level")) == "1")
  139. {
  140. grd_foldlist.valueMatrix(grd_foldlist.row,grd_foldlist.colRef("useyn")) = "Y";
  141. }
  142. else
  143. {
  144. var li_selectedindex = tr_fold.selectedindex;
  145. tr_fold.rebuild();
  146. tr_fold.select(li_selectedindex);
  147. }
  148. ]]>
  149. </script>
  150. <script type="javascript" ev:event="onstartedit">
  151. <![CDATA[
  152. // if (grd_foldlist.valueMatrix(grd_foldlist.row,grd_foldlist.colRef("level")) == "1")
  153. // {
  154. // event.defaultAction = "cancel";
  155. // }
  156. // else
  157. // {
  158. // event.defaultAction = "perform";
  159. // }
  160. ]]>
  161. </script>
  162. </datagrid>
  163. <line id="line3" style="x1:720px; y1:25px; x2:720px; y2:55px; border-color:#ffe4bb; border-left-style:solid; "/>
  164. <button id="btn_req" class="btn1_letter2" navindex="5" style="left:730px; top:30px; width:56px; height:22px; ">
  165. <caption>조회</caption>
  166. <script type="javascript" ev:event="DOMActivate">
  167. <![CDATA[
  168. fGetfoldinfo(); // 술식어폴더를 조회한다.
  169. ]]>
  170. </script>
  171. </button>
  172. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:173px; height:14px; ">폴더생성관리</caption>
  173. <button id="btn_save" class="btn5_letter2" navindex="11" style="left:757px; top:62px; width:42px; height:19px; ">
  174. <caption>저장</caption>
  175. <script type="javascript" ev:event="DOMActivate">
  176. <![CDATA[
  177. fClkBtnfoldSave();
  178. ]]>
  179. </script>
  180. </button>
  181. <button id="btn_insert" class="btn2_letter2" navindex="9" style="left:669px; top:62px; width:42px; height:19px; ">
  182. <caption>추가</caption>
  183. <script type="javascript" ev:event="DOMActivate">
  184. <![CDATA[
  185. fClkBtnfoldAdd();
  186. ]]>
  187. </script>
  188. </button>
  189. <button id="btn_del" class="btn2_letter2" navindex="10" style="left:713px; top:62px; width:42px; height:19px; ">
  190. <caption>삭제</caption>
  191. <script type="javascript" ev:event="DOMActivate">
  192. <![CDATA[
  193. fClkBtnfoldDel();
  194. ]]>
  195. </script>
  196. </button>
  197. <treeview id="tr_fold" ref="/root/main/cond/selectIndxcd" expanddepth="-1" hasimages="true" itemsettype="depth" style="left:0px; top:88px; width:405px; height:708px; background-color:transparent; border-width:1; ">
  198. <itemset nodeset="/root/main/selinfo/foldinfo/foldlist">
  199. <label ref="title"/>
  200. <value ref="treeindex"/>
  201. <depth ref="level"/>
  202. <image/>
  203. <selectedimage/>
  204. <expandedimage/>
  205. </itemset>
  206. <script type="javascript" ev:event="onmousedown">
  207. <![CDATA[
  208. // if(tr_fold.isCell(event.target)) {
  209. // var indx = tr_fold.focusIndex;
  210. // var row = tr_fold.mouseRow;
  211. // if(indx == -1 || indx != row ){
  212. // tr_fold.select(row);
  213. // indx = row;
  214. // }
  215. // iFocusIndx = indx;
  216. // }
  217. ]]>
  218. </script>
  219. <script type="javascript" ev:event="ondblclick">
  220. <![CDATA[
  221. // var iRow = parseInt(iFocusIndx) + 1
  222. //
  223. // model.setValue("/root/main/cond/bizflag", model.getValue("/root/main/selinfo2/bizflaginfo/bizflaglist"+"[" + (parseInt(iFocusIndx) + 1) + "]/indxcd"));
  224. // btn_bizflag.attribute("class")="btn5_letter3";
  225. // grp_bizflagtree.visible = false;
  226. // fGetrecspecinfo();
  227. // var filepath = model.getValue("/root/main/srcindxinfo/itemlist/item"+"[" + iRow + "]/filepath");
  228. ]]>
  229. </script>
  230. <script type="javascript" ev:event="xforms-select">
  231. <![CDATA[
  232. fGetSelfoldinfo(); // 술식어 하위폴더를 조회
  233. ]]>
  234. </script>
  235. </treeview>
  236. <select1 id="rdo_bizflag" ref="/root/main/cond/bizflag" navindex="1" appearance="full" cellspacing="5" cols="2" overflow="visible" style="left:110px; top:31px; width:95px; height:20px; font-weight:bold; border-style:none; ">
  237. <choices>
  238. <item>
  239. <label>과</label>
  240. <value>A</value>
  241. </item>
  242. <item>
  243. <label>개인</label>
  244. <value>B</value>
  245. </item>
  246. </choices>
  247. <script type="javascript" ev:event="xforms-value-changed">
  248. <![CDATA[
  249. fGetfoldinfo(); // 술식어폴더를 조회한다.
  250. ]]>
  251. </script>
  252. </select1>
  253. <caption id="caption1" class="search_name" style="left:210px; top:31px; width:91px; height:17px; ">술식구분 :</caption>
  254. <caption id="caption14" class="search_name" style="left:20px; top:31px; width:86px; height:17px; ">업무구분 :</caption>
  255. <select1 id="cmb_wrdflag" ref="/root/main/cond/wrdflag" class="combo_essential" navindex="2" appearance="minimal" editmode="search" style="left:300px; top:31px; width:70px; height:19px; ">
  256. <choices>
  257. <item>
  258. <label>CC</label>
  259. <value>A1</value>
  260. </item>
  261. <item>
  262. <label>PI</label>
  263. <value>A2</value>
  264. </item>
  265. <item>
  266. <label>PMH</label>
  267. <value>A3</value>
  268. </item>
  269. <item>
  270. <label>PDH</label>
  271. <value>A8</value>
  272. </item>
  273. <item>
  274. <label>진단</label>
  275. <value>A5</value>
  276. </item>
  277. <item>
  278. <label>진료</label>
  279. <value>A4</value>
  280. </item>
  281. <item>
  282. <label>계획</label>
  283. <value>A9</value>
  284. </item>
  285. <item>
  286. <label>주의사항</label>
  287. <value>A11</value>
  288. </item>
  289. <item>
  290. <label>NEXT</label>
  291. <value>A30</value>
  292. </item>
  293. </choices>
  294. <script type="javascript" ev:event="xforms-value-changed">
  295. <![CDATA[
  296. fGetfoldinfo(); // 술식어폴더를 조회한다.
  297. ]]>
  298. </script>
  299. </select1>
  300. </xhtml:body>
  301. </xhtml:html>