SMMMO05900_수술방배정.xrw 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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. <cond>
  11. <fromdd/>
  12. <todd/>
  13. <oproomcd/>
  14. <stnddd/>
  15. </cond>
  16. <assgninfo>
  17. <appstartdd/>
  18. <appenddd/>
  19. <oproomcd/>
  20. <perfdeptcd/>
  21. <perfdrid/>
  22. <usedwflag/>
  23. <usescheflag/>
  24. <perfdrid2/>
  25. </assgninfo>
  26. <assgnlist>
  27. <assgnlist/>
  28. </assgnlist>
  29. <assgnhist>
  30. <assgnhist/>
  31. </assgnhist>
  32. </main>
  33. <send>
  34. <reqdata/>
  35. <savedata/>
  36. </send>
  37. <hidden/>
  38. <init>
  39. <oproomlist/>
  40. <userlist/>
  41. <orddept/>
  42. <userlist2/>
  43. <userlist3/>
  44. <userlist4/>
  45. <hardcd/>
  46. </init>
  47. <temp/>
  48. <popupmenu>
  49. <menu>
  50. <item>
  51. <name>수술방 배정 등록</name>
  52. <func>fInsOpRoomAssgnInfo</func>
  53. </item>
  54. <item>
  55. <name/>
  56. <func/>
  57. </item>
  58. <item>
  59. <name>수술방 배정 수정</name>
  60. <func>fUpdtOpRoomAssgnInfo</func>
  61. </item>
  62. <item>
  63. <name/>
  64. <func/>
  65. </item>
  66. <item>
  67. <name>수술방 배정 취소</name>
  68. <func>fCnclOpRoomAssgnInfo</func>
  69. </item>
  70. </menu>
  71. </popupmenu>
  72. <temp>
  73. <assgndata>
  74. <oproomcd/>
  75. <usescheflag/>
  76. <appstartdd/>
  77. <appenddd/>
  78. <usedwflag/>
  79. <perfdeptcd/>
  80. <perfdrid/>
  81. <perfdrid2/>
  82. <remfact/>
  83. </assgndata>
  84. </temp>
  85. </root>
  86. </instance>
  87. <script type="javascript" ev:event="xforms-ready">
  88. <![CDATA[
  89. fInitialize_SMMMO05900();
  90. ]]>
  91. </script>
  92. <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post"/>
  93. <submission id="TRZSU10105" mediatype="application/x-www-form-urlencoded" method="post"/>
  94. <submission id="TRMMO05704" mediatype="application/x-www-form-urlencoded" method="post"/>
  95. <submission id="TRMMO05901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/assgnlist"/>
  96. <submission id="TXMMO05901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/assgnlist"/>
  97. <submission id="TXMMO05902" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/assgnlist"/>
  98. <script type="javascript" ev:event="xforms-model-construct-done">
  99. <![CDATA[
  100. group1.attribute("height") = 0;
  101. ]]>
  102. </script>
  103. <submission id="TRMMO05902" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/assgnhist"/>
  104. <submission id="TRMMB04101" mediatype="application/x-www-form-urlencoded" method="post"/>
  105. <submission id="TRMMB04102" mediatype="application/x-www-form-urlencoded" method="post"/>
  106. <submission id="TRMMB04103" mediatype="application/x-www-form-urlencoded" method="post"/>
  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="../../../com/commonweb/js/dateHelper.js"/>
  111. <script type="javascript" src="../../../com/userdeptinfoweb/js/ZSU001.js"/>
  112. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  113. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  114. <script type="javascript" src="../../../emr/prcpmngtweb/js/SMMMO05900.js"/>
  115. </xhtml:head>
  116. <xhtml:body guideline="1,1194;1,444;1,444;2,783;1,437;" style="margin-left:8; margin-right:8; ">
  117. <datagrid id="grd_oproomhist" nodeset="/root/main/assgnhist/assgnhist" caption="수술방^적용일^종료일^요일^일정^과^의사^참고사항" colsep="^" colwidth="60, 85, 85, 45, 45, 47, 75, 100" explorerbar="sort" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:89px; width:438px; height:694px; ">
  118. <col ref="oproomnm"/>
  119. <col disabled="true" ref="appstartdd" type="inputdate"/>
  120. <col disabled="true" ref="appenddd" type="inputdate"/>
  121. <col disabled="true" ref="usedwflag" type="combo">
  122. <choices>
  123. <item>
  124. <label>월</label>
  125. <value>2</value>
  126. </item>
  127. <item>
  128. <label>화</label>
  129. <value>3</value>
  130. </item>
  131. <item>
  132. <label>수</label>
  133. <value>4</value>
  134. </item>
  135. <item>
  136. <label>목</label>
  137. <value>5</value>
  138. </item>
  139. <item>
  140. <label>금</label>
  141. <value>6</value>
  142. </item>
  143. <item>
  144. <label>토</label>
  145. <value>7</value>
  146. </item>
  147. </choices>
  148. </col>
  149. <col disabled="true" ref="usescheflag" type="combo">
  150. <choices>
  151. <item>
  152. <label>오전</label>
  153. <value>1</value>
  154. </item>
  155. <item>
  156. <label>오후</label>
  157. <value>2</value>
  158. </item>
  159. </choices>
  160. </col>
  161. <col ref="deptnm"/>
  162. <col ref="perfdrnm"/>
  163. <col/>
  164. <script type="javascript" ev:event="onaftersort">
  165. <![CDATA[
  166. ]]>
  167. </script>
  168. </datagrid>
  169. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:444px; top:21px; width:750px; height:44px; background-color:#fffbf2; border-color:#ffd799; "/>
  170. <caption id="caption28" class="tit_1" style="left:0px; top:0px; width:169px; height:14px; ">수술방 배정</caption>
  171. <caption id="caption1" class="tit_2" style="left:0px; top:69px; width:140px; height:13px; vertical-align:middle; ">수술방 이력</caption>
  172. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:21px; width:438px; height:44px; background-color:#fffbf2; border-color:#ffd799; "/>
  173. <caption id="caption2" class="search_name" style="left:9px; top:32px; width:90px; height:17px; vertical-align:middle; ">수 술 방 :</caption>
  174. <select1 id="combo1" ref="/root/main/cond/oproomcd" appearance="minimal" style="left:98px; top:31px; width:99px; height:19px; ">
  175. <choices>
  176. <itemset nodeset="/root/init/oproomlist/oproomlist">
  177. <label ref="oproomnm"/>
  178. <value ref="oproomcd"/>
  179. </itemset>
  180. </choices>
  181. </select1>
  182. <line id="line3" class="line_1" style="x1:0px; y1:83px; x2:438px; y2:83px; "/>
  183. <line id="line4" style="x1:369px; y1:25px; x2:369px; y2:60px; border-color:#ffe4bb; border-left-style:solid; "/>
  184. <button id="btn_search" class="btn1_letter2" style="left:377px; top:32px; width:56px; height:22px; ">
  185. <caption>조회</caption>
  186. <script type="javascript" ev:event="DOMActivate">
  187. <![CDATA[
  188. fReqOpRoomAssgnHistInfo();
  189. ]]>
  190. </script>
  191. </button>
  192. <caption id="caption6" class="tit_2" style="left:444px; top:69px; width:140px; height:13px; vertical-align:middle; ">수술방 배정현황</caption>
  193. <line id="line1" class="line_1" style="x1:444px; y1:83px; x2:1194px; y2:83px; "/>
  194. <input id="input5" ref="/root/main/cond/stnddd" inputtype="date" style="left:544px; top:31px; width:93px; height:19px; "/>
  195. <button id="button2" class="btn1_letter2" style="left:1129px; top:33px; width:56px; height:22px; ">
  196. <caption>조회</caption>
  197. <script type="javascript" ev:event="DOMActivate">
  198. <![CDATA[
  199. fReqOpRoomAssgnInfo();
  200. ]]>
  201. </script>
  202. </button>
  203. <datagrid id="grd_assgnlist" nodeset="/root/main/assgnlist/assgnlist" allowuserresize="false" backcoloralternate="transparent" caption="oproomcd^수술방^일정^월^월^월^월^월^화^화^화^화^화^수^수^수^수^수^목^목^목^목^목^금^금^금^금^금^토^토^토^토^토" colsep="^" colwidth="0, 160, 60, 10, 10, 85, 10, 10, 10, 10, 85, 10, 10, 10, 10, 85, 10, 10, 10, 85, 10, 10, 10, 10, 85, 10, 10, 10, 10, 85, 10, 10, 10" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="free" tooltip="true" style="left:444px; top:94px; width:750px; height:694px; ">
  204. <col ref="oproomcd"/>
  205. <col ref="oproomnm"/>
  206. <col disabled="true" ref="usescheflag" type="combo">
  207. <choices>
  208. <item>
  209. <label>오전</label>
  210. <value>1</value>
  211. </item>
  212. <item>
  213. <label>오후</label>
  214. <value>2</value>
  215. </item>
  216. </choices>
  217. </col>
  218. <col ref="monappenddd" visibility="hidden"/>
  219. <col ref="mondept" visibility="hidden"/>
  220. <col ref="mondeptnm"/>
  221. <col ref="mondr" visibility="hidden"/>
  222. <col ref="mondrnm" visibility="hidden"/>
  223. <col ref="tueappenddd" visibility="hidden"/>
  224. <col ref="tuedept" visibility="hidden"/>
  225. <col ref="tuedeptnm"/>
  226. <col ref="tuedr" visibility="hidden"/>
  227. <col ref="tuedrnm" visibility="hidden"/>
  228. <col ref="wedappenddd" visibility="hidden"/>
  229. <col ref="weddept" visibility="hidden"/>
  230. <col ref="weddeptnm"/>
  231. <col ref="weddr" visibility="hidden"/>
  232. <col ref="weddrnm" visibility="hidden"/>
  233. <col ref="thuappenddd" visibility="hidden"/>
  234. <col ref="thudeptnm"/>
  235. <col ref="thudept" visibility="hidden"/>
  236. <col ref="thudr" visibility="hidden"/>
  237. <col ref="thudrnm" visibility="hidden"/>
  238. <col ref="friappenddd" visibility="hidden"/>
  239. <col ref="frideptnm"/>
  240. <col ref="fridept" visibility="hidden"/>
  241. <col ref="fridr" visibility="hidden"/>
  242. <col ref="fridrnm" visibility="hidden"/>
  243. <col ref="satappenddd" visibility="hidden"/>
  244. <col ref="satdeptnm"/>
  245. <col ref="satdept" visibility="hidden"/>
  246. <col ref="satdr" visibility="hidden"/>
  247. <col ref="satdrnm" visibility="hidden"/>
  248. <script type="javascript" ev:event="onmousedown">
  249. <![CDATA[
  250. setPopupMenu("grd_assgnlist", false, "/root/popupmenu/menu/item", "name", "func");
  251. ]]>
  252. </script>
  253. <script type="javascript" ev:event="DOMFocusOut">
  254. <![CDATA[
  255. initPopupMenu();
  256. ]]>
  257. </script>
  258. </datagrid>
  259. <group id="group1" style="left:0px; top:220px; width:437px; height:175px; background-color:#ffffff; border-color:transparent; border-style:solid; ">
  260. <caption id="caption16" class="tit_2" style="left:6px; top:4px; width:151px; height:14px; vertical-align:middle; ">수술방 배정 변경</caption>
  261. <line id="line6" class="line_1" style="x1:4px; y1:21px; x2:430px; y2:21px; "/>
  262. <caption id="caption18" class="cell_1" style="left:4px; top:50px; width:96px; height:23px; vertical-align:middle; ">집도과</caption>
  263. <caption id="caption19" class="cell_1" style="left:4px; top:74px; width:96px; height:23px; vertical-align:middle; ">집도의</caption>
  264. <caption id="caption20" class="cell_1" style="left:4px; top:98px; width:96px; height:23px; vertical-align:middle; ">집도의2</caption>
  265. <caption id="caption21" class="cell_1" style="left:4px; top:122px; width:96px; height:23px; vertical-align:middle; ">참고사항</caption>
  266. <line id="line7" class="line_3" style="x1:3px; y1:147px; x2:429px; y2:147px; "/>
  267. <button id="btn_schecnfm" class="btn2_letter2" style="left:341px; top:151px; width:42px; height:19px; ">
  268. <caption>확인</caption>
  269. <script type="javascript" ev:event="DOMActivate">
  270. <![CDATA[
  271. fClkBtnCnfm();
  272. ]]>
  273. </script>
  274. </button>
  275. <button id="btn_schecncl" class="btn2_letter2" style="left:385px; top:151px; width:42px; height:19px; ">
  276. <caption>취소</caption>
  277. <script type="javascript" ev:event="DOMActivate">
  278. <![CDATA[
  279. group1.attribute("height") = 0;
  280. ]]>
  281. </script>
  282. </button>
  283. <caption id="caption22" class="cell_1" style="left:4px; top:26px; width:96px; height:23px; vertical-align:middle; ">적용일자</caption>
  284. <caption id="caption17" style="left:192px; top:51px; width:15px; height:19px; ">~</caption>
  285. <input id="ipt_assgnremfact" ref="/root/temp/assgndata/remfact" style="left:102px; top:124px; width:317px; height:19px; "/>
  286. <select1 id="cmb_assgnperfdrid" ref="/root/temp/assgndata/perfdrid" appearance="minimal" itemcount="10" style="left:102px; top:75px; width:119px; height:19px; ">
  287. <choices>
  288. <itemset nodeset="/root/init/userlist3/usercombo">
  289. <label ref="usernm"/>
  290. <value ref="userid"/>
  291. </itemset>
  292. </choices>
  293. </select1>
  294. <select1 id="cmb_assgnperfdrid2" ref="/root/temp/assgndata/perfdrid2" appearance="minimal" itemcount="10" style="left:102px; top:99px; width:119px; height:19px; ">
  295. <choices>
  296. <itemset nodeset="/root/init/userlist4/usercombo">
  297. <label ref="usernm"/>
  298. <value ref="userid"/>
  299. </itemset>
  300. </choices>
  301. </select1>
  302. <select1 id="cmb_assgnperfdept" ref="/root/temp/assgndata/perfdeptcd" appearance="minimal" style="left:102px; top:52px; width:119px; height:19px; ">
  303. <choices>
  304. <itemset nodeset="/root/init/orddept/dept">
  305. <label ref="depthngnm"/>
  306. <value ref="deptcd"/>
  307. </itemset>
  308. </choices>
  309. <script type="javascript" ev:event="xforms-value-changed">
  310. <![CDATA[
  311. /*
  312. // zsufGetUserInfoCombo(cmb_assgnperfdept.value, "/root/init/userlist3", "_D"); //의사 콤보조회
  313. mmbfGetUserComboList("/root/send/reqdata", "/root/init/userlist3", getUserInfo("dutplcecd"), "0330");
  314. addComboInstance("/root/init/userlist3", "userid^usernm", "0000000000^전체", "usercombo"); //집도의 콤보 전체instance 추가
  315. mmbfGetUserComboList("/root/send/reqdata", "/root/init/userlist4", getUserInfo("dutplcecd"), "0330");
  316. // copyNodeType("/root/init/userlist4", "/root/hidden/zsu/userlist", "replace");
  317. addComboInstance("/root/init/userlist4", "userid^usernm", "-^없음", "usercombo"); //집도의2 콤보 없음instance추가
  318. model.setValue("/root/temp/assgndata/perfdrid", "0000000000");
  319. model.setValue("/root/temp/assgndata/perfdrid2", "-");
  320. model.refresh();*/
  321. var deptcd = model.getValue("/root/temp/assgndata/perfdeptcd");
  322. mmbfGetUserComboList("/root/send/reqdata", "/root/init/userlist3", deptcd, "0330");
  323. addComboInstance("/root/init/userlist3", "userid^usernm", "0000000000^전체", "usercombo"); //집도의 콤보 전체instance 추가
  324. mmbfGetUserComboList("/root/send/reqdata", "/root/init/userlist4", deptcd, "0330");
  325. addComboInstance("/root/init/userlist4", "userid^usernm", "-^없음", "usercombo"); //집도의2 콤보 없음instance추가
  326. model.setValue("/root/temp/assgndata/perfdrid", "0000000000");
  327. model.setValue("/root/temp/assgndata/perfdrid2", "-");
  328. model.refresh();
  329. ]]>
  330. </script>
  331. </select1>
  332. <input id="inpt_assgnenddd" ref="/root/temp/assgndata/appenddd" inputtype="date" style="left:208px; top:28px; width:87px; height:19px; "/>
  333. <input id="ipt_assgnstartdd" ref="/root/temp/assgndata/appstartdd" inputtype="date" style="left:102px; top:28px; width:87px; height:19px; "/>
  334. <caption id="caption3" style="left:193px; top:28px; width:15px; height:20px; ">~</caption>
  335. </group>
  336. <line id="line2" style="x1:1120px; y1:28px; x2:1120px; y2:59px; border-color:#ffe4bb; border-left-style:solid; "/>
  337. <caption id="caption4" class="search_name" style="left:455px; top:33px; width:90px; height:17px; vertical-align:middle; ">기준일자 :</caption>
  338. </xhtml:body>
  339. </xhtml:html>