SMMRE00600_폴더별술식어관리.xrw 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451
  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. <foldinfo>
  12. <bizflag>A</bizflag>
  13. <wrdflag>A4</wrdflag>
  14. <selectIndxcd/>
  15. <useyn>Y</useyn>
  16. <wrdflagyn>N</wrdflagyn>
  17. <deptcd/>
  18. </foldinfo>
  19. <foldwordinfo>
  20. <wmid/>
  21. </foldwordinfo>
  22. <wordinfo>
  23. <bizflag>A</bizflag>
  24. <wrdflag>A4</wrdflag>
  25. <content/>
  26. <useyn>Y</useyn>
  27. </wordinfo>
  28. </cond>
  29. <selinfo>
  30. <foldinfo>
  31. <foldlist>
  32. <title>1</title>
  33. <seq/>
  34. <useyn/>
  35. <instcd/>
  36. <wmid/>
  37. <pwmid/>
  38. <wrdflag/>
  39. <bizflag/>
  40. <deptsabun/>
  41. <level/>
  42. <titlepath/>
  43. <insertwmid/>
  44. <treeindex/>
  45. <status/>
  46. </foldlist>
  47. </foldinfo>
  48. <foldwordinfo>
  49. <foldwordlist>
  50. <content/>
  51. <seq/>
  52. <instcd/>
  53. <wmid/>
  54. <wrpid/>
  55. <status/>
  56. </foldwordlist>
  57. </foldwordinfo>
  58. <wordinfo>
  59. <wordlist>
  60. <content/>
  61. <seq/>
  62. <useyn/>
  63. <bigo/>
  64. <checktext/>
  65. <bigostyle/>
  66. <bigogubun/>
  67. <checktext2/>
  68. <bigostyle2/>
  69. <bigogubun2/>
  70. <checktext3/>
  71. <bigostyle3/>
  72. <bigogubun3/>
  73. <checktext4/>
  74. <bigostyle4/>
  75. <bigogubun4/>
  76. <checktext5/>
  77. <bigostyle5/>
  78. <bigogubun5/>
  79. <manager/>
  80. <wrpid/>
  81. <instcd/>
  82. <wrdflag/>
  83. <bizflag/>
  84. <insertwrpid/>
  85. <status/>
  86. </wordlist>
  87. </wordinfo>
  88. </selinfo>
  89. </main>
  90. <send>
  91. <foldinfo>
  92. <reqdata/>
  93. </foldinfo>
  94. <wordinfo>
  95. <reqdata/>
  96. </wordinfo>
  97. <foldwordinfo>
  98. <reqdata/>
  99. <savedata>
  100. </savedata>
  101. </foldwordinfo>
  102. </send>
  103. <hidden>
  104. <bigostyleinfo>
  105. <bigostylelist>
  106. <cdnm>Edit</cdnm>
  107. <cdid>EDIT</cdid>
  108. </bigostylelist>
  109. <bigostylelist>
  110. <cdnm>DropDown</cdnm>
  111. <cdid>DDDL</cdid>
  112. </bigostylelist>
  113. <bigostylelist>
  114. <cdnm>CheckBox</cdnm>
  115. <cdid>CHECKBOX</cdid>
  116. </bigostylelist>
  117. <bigostylelist>
  118. <cdnm>Text</cdnm>
  119. <cdid>TEXT</cdid>
  120. </bigostylelist>
  121. </bigostyleinfo>
  122. </hidden>
  123. <init>
  124. </init>
  125. <temp>
  126. </temp>
  127. </root>
  128. </instance>
  129. <script type="javascript" ev:event="xforms-ready">
  130. <![CDATA[
  131. fInitialize();
  132. ]]>
  133. </script>
  134. <submission id="TRMRE00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/wordinfo" resultref="/root/main/selinfo/wordinfo/wordlist"/>
  135. <submission id="TRMRE00501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/foldinfo" resultref="/root/main/selinfo/foldinfo/foldlist"/>
  136. <submission id="TRMRE00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/foldwordinfo" resultref="/root/main/selinfo/foldwordinfo/foldwordlist"/>
  137. <submission id="TXMRE00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/foldwordinfo" resultref="/root/main/selinfo/foldwordinfo/foldwordlist"/>
  138. </model>
  139. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  140. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  141. <script type="javascript" src="../../../emr/dentirecweb/js/MRE001.js"/>
  142. <script type="javascript" src="../../../emr/dentirecweb/js/SMMRE00600.js"/>
  143. </xhtml:head>
  144. <xhtml:body pagewidth="1120" pageheight="800" guideline="1,5;2,9;2,62;1,1100;2,799;1,-3;" style="background-color:transparent; margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  145. <line id="line1" class="line_1" style="x1:0px; y1:106px; x2:615px; y2:106px; "/>
  146. <line id="line2" class="line_1" style="x1:620px; y1:106px; x2:1100px; y2:106px; "/>
  147. <caption id="cp_fold" class="tit_2" style="left:0px; top:91px; width:57px; height:13px; vertical-align:middle; ">폴더</caption>
  148. <caption id="cp_word" class="tit_2" style="left:620px; top:91px; width:57px; height:13px; vertical-align:middle; ">술식어</caption>
  149. <datagrid id="grd_wordlist" nodeset="/root/main/selinfo/wordinfo/wordlist" caption="항목^순번^사용^코멘트^속성1^속성1^속성1^속성2^속성2^속성2^속성3^속성3^속성3^속성4^속성4^속성4^속성5^속성5^속성5^항목2^관리자^진단코드^항목번호|항목^순번^사용^코멘트^문자열^스타일^참조^문자열^스타일^참조^문자열^스타일^참조^문자열^스타일^참조^문자열^스타일^참조^항목2^관리자^진단코드^항목번호" colsep="^" colwidth="250, 40, 30, 180, 80, 90, 50, 80, 90, 50, 80, 90, 50, 80, 90, 50, 80, 90, 50, 100, 50, 100, 100, 100, 100, 100" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:620px; top:111px; width:480px; height:688px; margin-left:0; margin-right:0; ">
  150. <col ref="content" style="text-align:left; "/>
  151. <col ref="seq" style="text-align:center; "/>
  152. <col checkvalue="Y,N" disabled="true" ref="useyn" type="checkbox"/>
  153. <col ref="bigo"/>
  154. <col ref="checktext"/>
  155. <col class="combo" disabled="true" ref="bigostyle" type="combo">
  156. <choices>
  157. <itemset nodeset="/root/hidden/bigostyleinfo/bigostylelist">
  158. <label ref="cdnm"/>
  159. <value ref="cdid"/>
  160. </itemset>
  161. </choices>
  162. </col>
  163. <col ref="bigogubun"/>
  164. <col ref="checktext2"/>
  165. <col class="combo" disabled="true" ref="bigostyle2" type="combo">
  166. <choices>
  167. <itemset nodeset="/root/hidden/bigostyleinfo/bigostylelist">
  168. <label ref="cdnm"/>
  169. <value ref="cdid"/>
  170. </itemset>
  171. </choices>
  172. </col>
  173. <col ref="bigogubun2"/>
  174. <col ref="checktext3"/>
  175. <col class="combo" disabled="true" ref="bigostyle3" type="combo">
  176. <choices>
  177. <itemset nodeset="/root/hidden/bigostyleinfo/bigostylelist">
  178. <label ref="cdnm"/>
  179. <value ref="cdid"/>
  180. </itemset>
  181. </choices>
  182. </col>
  183. <col ref="bigogubun3"/>
  184. <col ref="checktext4"/>
  185. <col class="combo" disabled="true" ref="bigostyle4" type="combo">
  186. <choices>
  187. <itemset nodeset="/root/hidden/bigostyleinfo/bigostylelist">
  188. <label ref="cdnm"/>
  189. <value ref="cdid"/>
  190. </itemset>
  191. </choices>
  192. </col>
  193. <col ref="bigogubun4"/>
  194. <col ref="checktext5"/>
  195. <col class="combo" disabled="true" ref="bigostyle5" type="combo">
  196. <choices>
  197. <itemset nodeset="/root/hidden/bigostyleinfo/bigostylelist">
  198. <label ref="cdnm"/>
  199. <value ref="cdid"/>
  200. </itemset>
  201. </choices>
  202. </col>
  203. <col ref="bigogubun5"/>
  204. <col ref="manager"/>
  205. <col ref="wrpid"/>
  206. <col ref="instcd" visibility="hidden"/>
  207. <col ref="wrdflag" visibility="hidden"/>
  208. <col ref="bizflag" visibility="hidden"/>
  209. <col ref="insertwrpid" visibility="hidden"/>
  210. <col ref="status" visibility="hidden"/>
  211. </datagrid>
  212. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:173px; height:14px; ">폴더별술식어 관리</caption>
  213. <button id="btn_save" class="btn5_letter2" navindex="11" style="left:573px; top:84px; width:42px; height:19px; ">
  214. <caption>저장</caption>
  215. <script type="javascript" ev:event="DOMActivate">
  216. <![CDATA[
  217. fClkBtnfoldwordSave();
  218. ]]>
  219. </script>
  220. </button>
  221. <button id="btn_del" class="btn2_letter2" navindex="10" style="left:529px; top:84px; width:42px; height:19px; ">
  222. <caption>삭제</caption>
  223. <script type="javascript" ev:event="DOMActivate">
  224. <![CDATA[
  225. fClkBtnfoldwordDel();
  226. ]]>
  227. </script>
  228. </button>
  229. <datagrid id="grd_foldwordlist" nodeset="/root/main/selinfo/foldwordinfo/foldwordlist" caption="내용^순번" colsep="^" colwidth="240, 45, 35, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:280px; top:111px; width:335px; height:688px; margin-left:0; margin-right:0; ">
  230. <col ref="content" style="text-align:left; "/>
  231. <col ref="seq" type="input" style="text-align:center; "/>
  232. <col ref="instcd" visibility="hidden"/>
  233. <col ref="wmid" visibility="hidden"/>
  234. <col ref="wrpid" visibility="hidden"/>
  235. <col ref="status" visibility="hidden"/>
  236. <script type="javascript" ev:event="xforms-value-changed">
  237. <![CDATA[
  238. if (grd_foldwordlist.valueMatrix(grd_foldwordlist.row,grd_foldwordlist.colRef("instcd")) != "")
  239. {
  240. grd_foldwordlist.valueMatrix(grd_foldwordlist.row,grd_foldwordlist.colRef("status")) = "m";
  241. }
  242. var li_selectedindex = tr_fold.selectedindex;
  243. tr_fold.rebuild();
  244. tr_fold.select(li_selectedindex);
  245. ]]>
  246. </script>
  247. </datagrid>
  248. <treeview id="tr_fold" ref="/root/main/cond/foldwordinfo/wmid" expanddepth="-1" hasimages="true" itemsettype="depth" style="left:0px; top:111px; width:277px; height:688px; background-color:transparent; border-width:1; ">
  249. <itemset nodeset="/root/main/selinfo/foldinfo/foldlist">
  250. <label ref="title"/>
  251. <value ref="wmid"/>
  252. <depth ref="level"/>
  253. <image/>
  254. <selectedimage/>
  255. <expandedimage/>
  256. </itemset>
  257. <script type="javascript" ev:event="onmousedown">
  258. <![CDATA[
  259. // if(tr_fold.isCell(event.target)) {
  260. // var indx = tr_fold.focusIndex;
  261. // var row = tr_fold.mouseRow;
  262. // if(indx == -1 || indx != row ){
  263. // tr_fold.select(row);
  264. // indx = row;
  265. // }
  266. // iFocusIndx = indx;
  267. // }
  268. ]]>
  269. </script>
  270. <script type="javascript" ev:event="ondblclick">
  271. <![CDATA[
  272. // var iRow = parseInt(iFocusIndx) + 1
  273. //
  274. // model.setValue("/root/main/cond/bizflag", model.getValue("/root/main/selinfo2/bizflaginfo/bizflaglist"+"[" + (parseInt(iFocusIndx) + 1) + "]/indxcd"));
  275. // btn_bizflag.attribute("class")="btn5_letter3";
  276. // grp_bizflagtree.visible = false;
  277. // fGetrecspecinfo();
  278. // var filepath = model.getValue("/root/main/srcindxinfo/itemlist/item"+"[" + iRow + "]/filepath");
  279. ]]>
  280. </script>
  281. <script type="javascript" ev:event="xforms-select">
  282. <![CDATA[
  283. fGetfoldwordinfo();
  284. ]]>
  285. </script>
  286. </treeview>
  287. <group id="group1" style="left:619px; top:21px; width:481px; height:61px; ">
  288. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:1px; top:0px; width:479px; height:60px; background-color:#fffbf2; border-color:#ffd799; "/>
  289. <button id="btn_req" class="btn1_letter2" navindex="5" style="left:405px; top:20px; width:56px; height:22px; ">
  290. <caption>조회</caption>
  291. <script type="javascript" ev:event="DOMActivate">
  292. <![CDATA[
  293. fGetwordinfo(); // 술식어를 조회한다.
  294. ]]>
  295. </script>
  296. </button>
  297. <line id="line3" style="x1:390px; y1:10px; x2:390px; y2:53px; border-color:#ffe4bb; border-left-style:solid; "/>
  298. <select1 id="radio1" ref="/root/main/cond/wordinfo/bizflag" navindex="1" appearance="full" cellspacing="5" cols="2" overflow="visible" style="left:110px; top:9px; width:95px; height:20px; font-weight:bold; border-style:none; ">
  299. <choices>
  300. <item>
  301. <label>과</label>
  302. <value>A</value>
  303. </item>
  304. <item>
  305. <label>개인</label>
  306. <value>B</value>
  307. </item>
  308. </choices>
  309. <script type="javascript" ev:event="xforms-value-changed">
  310. <![CDATA[
  311. fGetwordinfo(); // 술식어를 조회한다.
  312. ]]>
  313. </script>
  314. </select1>
  315. <caption id="caption2" class="search_name" style="left:210px; top:9px; width:91px; height:17px; ">술식구분 :</caption>
  316. <caption id="caption4" class="search_name" style="left:20px; top:32px; width:65px; height:17px; ">내용 :</caption>
  317. <input id="input1" ref="/root/main/cond/wordinfo/content" navindex="3" style="left:90px; top:32px; width:280px; height:19px; text-align:left; "/>
  318. <caption id="caption5" class="search_name" style="left:20px; top:9px; width:86px; height:17px; ">업무구분 :</caption>
  319. <select1 id="combo1" ref="/root/main/cond/wordinfo/wrdflag" class="combo_essential" navindex="2" appearance="minimal" editmode="search" style="left:300px; top:9px; width:70px; height:19px; ">
  320. <choices>
  321. <item>
  322. <label>CC</label>
  323. <value>A1</value>
  324. </item>
  325. <item>
  326. <label>PI</label>
  327. <value>A2</value>
  328. </item>
  329. <item>
  330. <label>PMH</label>
  331. <value>A3</value>
  332. </item>
  333. <item>
  334. <label>PDH</label>
  335. <value>A8</value>
  336. </item>
  337. <item>
  338. <label>진단</label>
  339. <value>A5</value>
  340. </item>
  341. <item>
  342. <label>진료</label>
  343. <value>A4</value>
  344. </item>
  345. <item>
  346. <label>계획</label>
  347. <value>A9</value>
  348. </item>
  349. <item>
  350. <label>주의사항</label>
  351. <value>A11</value>
  352. </item>
  353. <item>
  354. <label>NEXT</label>
  355. <value>A30</value>
  356. </item>
  357. </choices>
  358. <script type="javascript" ev:event="xforms-value-changed">
  359. <![CDATA[
  360. fGetwordinfo(); // 술식어를 조회한다.
  361. ]]>
  362. </script>
  363. </select1>
  364. </group>
  365. <group id="group2" style="left:0px; top:21px; width:616px; height:61px; ">
  366. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:1px; top:0px; width:614px; height:60px; background-color:#fffbf2; border-color:#ffd799; "/>
  367. <button id="button1" class="btn1_letter2" navindex="5" style="left:545px; top:20px; width:56px; height:22px; ">
  368. <caption>조회</caption>
  369. <script type="javascript" ev:event="DOMActivate">
  370. <![CDATA[
  371. fGetfoldinfo(); // 술식어를 조회한다.
  372. ]]>
  373. </script>
  374. </button>
  375. <line id="line4" style="x1:530px; y1:10px; x2:530px; y2:53px; border-color:#ffe4bb; border-left-style:solid; "/>
  376. <select1 id="radio2" ref="/root/main/cond/foldinfo/bizflag" navindex="1" appearance="full" cellspacing="5" cols="2" overflow="visible" style="left:110px; top:20px; width:95px; height:20px; font-weight:bold; border-style:none; ">
  377. <choices>
  378. <item>
  379. <label>과</label>
  380. <value>A</value>
  381. </item>
  382. <item>
  383. <label>개인</label>
  384. <value>B</value>
  385. </item>
  386. </choices>
  387. <script type="javascript" ev:event="xforms-value-changed">
  388. <![CDATA[
  389. fGetfoldinfo(); // 폴더를 조회한다.
  390. ]]>
  391. </script>
  392. </select1>
  393. <caption id="caption1" class="search_name" style="left:210px; top:20px; width:91px; height:17px; ">술식구분 :</caption>
  394. <caption id="caption7" class="search_name" style="left:20px; top:20px; width:86px; height:17px; ">업무구분 :</caption>
  395. <select1 id="combo2" ref="/root/main/cond/foldinfo/wrdflag" class="combo_essential" navindex="2" appearance="minimal" editmode="search" style="left:300px; top:20px; width:70px; height:19px; ">
  396. <choices>
  397. <item>
  398. <label>CC</label>
  399. <value>A1</value>
  400. </item>
  401. <item>
  402. <label>PI</label>
  403. <value>A2</value>
  404. </item>
  405. <item>
  406. <label>PMH</label>
  407. <value>A3</value>
  408. </item>
  409. <item>
  410. <label>PDH</label>
  411. <value>A8</value>
  412. </item>
  413. <item>
  414. <label>진단</label>
  415. <value>A5</value>
  416. </item>
  417. <item>
  418. <label>진료</label>
  419. <value>A4</value>
  420. </item>
  421. <item>
  422. <label>계획</label>
  423. <value>A9</value>
  424. </item>
  425. <item>
  426. <label>주의사항</label>
  427. <value>A11</value>
  428. </item>
  429. <item>
  430. <label>NEXT</label>
  431. <value>A30</value>
  432. </item>
  433. </choices>
  434. <script type="javascript" ev:event="xforms-value-changed">
  435. <![CDATA[
  436. fGetfoldinfo(); // 폴더를 조회한다.
  437. ]]>
  438. </script>
  439. </select1>
  440. </group>
  441. <button id="btn_expand" class="icon_pre_year" style="left:623px; top:124px; width:16px; height:16px; ">
  442. <caption/>
  443. <script type="javascript" ev:event="DOMActivate">
  444. <![CDATA[
  445. InsertrowFoldWord();
  446. ]]>
  447. </script>
  448. </button>
  449. </xhtml:body>
  450. </xhtml:html>