SPLPJ01800_접수환경설정.xrw 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SPLPJ00300_접수환경설정
  4. * 설 명 : 접수환경설정
  5. * 설 계 자 : (주)에이씨케이 - 유동철
  6. * 작 성 자 : (주)에이씨케이 - 유동철
  7. * 작 성 일 : 2007.02.12
  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. </main>
  20. <send/>
  21. <init>
  22. <userinfo>
  23. <userinfolist>
  24. <userid/>
  25. <usernm/>
  26. <jobkindcd/>
  27. </userinfolist>
  28. </userinfo>
  29. <hospenv>
  30. <hospenvinfo>
  31. <instcd/>
  32. <lendrtnterm/>
  33. <recvqualmthdcd/>
  34. <plgydeptcd/>
  35. <plgyteamcd/>
  36. <doctjobgradcd/>
  37. <teamjobgradcd/>
  38. </hospenvinfo>
  39. </hospenv>
  40. </init>
  41. <hidden>
  42. <acptenv>
  43. <acptdd/>
  44. <execdd/>
  45. <autoacptflagcd/>
  46. <waittm/>
  47. <reqfrmprntcnt/>
  48. <barcdprnt/>
  49. <barcdprntdirec/>
  50. <barcdprntcnt/>
  51. <grostestdr/>
  52. <grosplgyid/>
  53. <grostestdrnm/>
  54. <grosplgynm/>
  55. <leftmargin/>
  56. <topmargin/>
  57. <grostestdd/>
  58. <grostesttm/>
  59. <frzndr/>
  60. <readdr/>
  61. </acptenv>
  62. <userdeptcd/>
  63. </hidden>
  64. </root>
  65. </instance>
  66. <submission id="TRLPZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/hospenv/hospenvinfo"/>
  67. <submission id="TRLPZ00105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/userinfo/userinfolist"/>
  68. <script type="javascript" ev:event="xforms-ready">
  69. <![CDATA[
  70. fExeInitialize();
  71. ]]>
  72. </script>
  73. </model>
  74. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  75. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  76. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  77. <script type="javascript" src="../../../lis/commonweb/js/LPZ001.js"/>
  78. <script type="javascript">
  79. <![CDATA[
  80. /* @group : 접수환경설정
  81. * @ver : 2007.04.16 (CMCDEV-0001)
  82. * @by : 유동철(ACK)
  83. * @-----------------------------------
  84. * @type : function
  85. * @access : public
  86. * @desc : 화면 초기화 Function
  87. */
  88. function fExeInitialize() {
  89. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  90. submit("TRLPZ00101");
  91. //---------------------------------------------------------
  92. // 병원환경정보를 취득하여 병리과와 병리팀 코드를 편집한다.
  93. lpzfUserDeptCd("/root/init/hospenv/hospenvinfo", "/root/hidden");
  94. //-------------------------------------------------------------------------------------
  95. model.makeValue("/root/send/userdeptcd", model.getValue("/root/hidden/userdeptcd"));
  96. model.makeValue("/root/send/doctjobgradcd", model.getValue("/root/init/hospenv/hospenvinfo/doctjobgradcd"));
  97. model.makeValue("/root/send/teamjobgradcd", model.getValue("/root/init/hospenv/hospenvinfo/teamjobgradcd"));
  98. submit("TRLPZ00105");
  99. if(model.getValue("/root/init/hospenv/hospenvinfo/acptreaddr") == "N"){
  100. cmb_readdr.disabled = true;
  101. } else {
  102. cmb_readdr.disabled = false;
  103. }
  104. cmb_readdr.refresh();
  105. }
  106. /* @group : 접수환경설정
  107. * @ver : 2007.02.12 (CMCDEV-0001)
  108. * @by : 유동철(ACK)
  109. * @-----------------------------------
  110. * @type : function
  111. * @access : public
  112. * @desc : 설정값 저장 Function
  113. */
  114. function fExeSave() {
  115. model.setValue(opener.root.hidden.acptenv.autoacptflagcd, model.getValue("/root/hidden/acptenv/autoacptflagcd"));
  116. model.setValue(opener.root.hidden.acptenv.waittm, model.getValue("/root/hidden/acptenv/waittm"));
  117. model.setValue(opener.root.hidden.acptenv.reqfrmprntcnt, model.getValue("/root/hidden/acptenv/reqfrmprntcnt"));
  118. model.setValue(opener.root.hidden.acptenv.barcdprnt, model.getValue("/root/hidden/acptenv/barcdprnt"));
  119. model.setValue(opener.root.hidden.acptenv.barcdprntdirec, model.getValue("/root/hidden/acptenv/barcdprntdirec"));
  120. model.setValue(opener.root.hidden.acptenv.barcdprntcnt, model.getValue("/root/hidden/acptenv/barcdprntcnt"));
  121. model.setValue(opener.root.hidden.acptenv.grostestdr, model.getValue("/root/hidden/acptenv/grostestdr"));
  122. model.setValue(opener.root.hidden.acptenv.grostestdrnm, model.getValue("/root/hidden/acptenv/grostestdrnm"));
  123. model.setValue(opener.root.hidden.acptenv.grosplgyid, model.getValue("/root/hidden/acptenv/grosplgyid"));
  124. model.setValue(opener.root.hidden.acptenv.grosplgynm, model.getValue("/root/hidden/acptenv/grosplgynm"));
  125. model.setValue(opener.root.hidden.acptenv.leftmargin, model.getValue("/root/hidden/acptenv/leftmargin"));
  126. model.setValue(opener.root.hidden.acptenv.topmargin, model.getValue("/root/hidden/acptenv/topmargin"));
  127. model.setValue(opener.root.hidden.acptenv.grostestdd, model.getValue("/root/hidden/acptenv/grostestdd"));
  128. model.setValue(opener.root.hidden.acptenv.grostesttm, model.getValue("/root/hidden/acptenv/grostesttm"));
  129. model.setValue(opener.root.hidden.acptenv.frzndr, model.getValue("/root/hidden/acptenv/frzndr"));
  130. model.setValue(opener.root.hidden.acptenv.readdr, model.getValue("/root/hidden/acptenv/readdr"));
  131. model.setValue(opener.root.hidden.acptenv.acptdd, model.getValue("/root/hidden/acptenv/acptdd"));
  132. //---------------------
  133. opener.model.refresh();
  134. model.close();
  135. }
  136. /* @group : 접수환경설정
  137. * @ver : 2007.02.12 (CMCDEV-0001)
  138. * @by : 유동철(ACK)
  139. * @-----------------------------------
  140. * @type : function
  141. * @access : public
  142. * @desc : 화면 닫기 Function
  143. */
  144. function fExeClose() {
  145. model.close();
  146. }
  147. /* @group : 접수환경설정
  148. * @ver : 2007.02.12 (CMCDEV-0001)
  149. * @by : 유동철(ACK)
  150. * @-----------------------------------
  151. * @type : function
  152. * @access : public
  153. * @desc : 육안검사의사 변경 Function
  154. */
  155. function fExeGrosTestDrChange() {
  156. model.setValue("/root/hidden/acptenv/grostestdrnm", model.getValue("/root/init/userinfo/userinfolist[userid='" + model.getValue("/root/hidden/acptenv/grostestdr") + "']/usernm"));
  157. }
  158. /* @group : 접수환경설정
  159. * @ver : 2007.02.12 (CMCDEV-0001)
  160. * @by : 유동철(ACK)
  161. * @-----------------------------------
  162. * @type : function
  163. * @access : public
  164. * @desc : 육안검사 병의사 변경 Function
  165. */
  166. function fExeGrosPlgyChange() {
  167. model.setValue("/root/hidden/acptenv/grosplgynm", model.getValue("/root/init/userinfo/userinfolist[userid='" + model.getValue("/root/hidden/acptenv/grosplgyid") + "']/usernm"));
  168. }
  169. ]]>
  170. </script>
  171. </xhtml:head>
  172. <xhtml:body pagewidth="576" pageheight="165" guideline="1,1063;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  173. <group id="grp_btn" style="left:0px; top:131px; width:560px; height:27px; ">
  174. <button id="btn_cls" class="btn4_letter2" navindex="11" style="left:503px; top:3px; width:56px; height:22px; ">
  175. <caption>닫기</caption>
  176. <script type="javascript" ev:event="DOMActivate">
  177. <![CDATA[
  178. fExeClose();
  179. ]]>
  180. </script>
  181. </button>
  182. <button id="btn_save" class="btn4_letter2" navindex="9" style="left:443px; top:3px; width:56px; height:22px; ">
  183. <caption>확인</caption>
  184. <script type="javascript" ev:event="DOMActivate">
  185. <![CDATA[
  186. fExeSave();
  187. ]]>
  188. </script>
  189. </button>
  190. </group>
  191. <group id="grp_biz" style="left:0px; top:0px; width:560px; height:130px; ">
  192. <caption id="caption2" class="tit_2" style="left:5px; top:10; width:111px; height:13; ">접수환경설정</caption>
  193. <line id="line1" class="line_1" style="x1:0; y1:25; x2:560; y2:25; "/>
  194. <caption id="caption3" class="cell_1" style="left:206px; top:78px; width:100px; height:23px; text-align:center; vertical-align:middle; ">자동접수구분</caption>
  195. <caption id="caption4" class="cell_1" style="left:422px; top:78px; width:100px; height:23px; text-align:center; vertical-align:middle; ">대기시간</caption>
  196. <caption id="caption1" class="cell_1" visibility="hidden" style="left:177px; top:2px; width:33px; height:23px; text-align:center; vertical-align:middle; ">바코드출력방향</caption>
  197. <caption id="caption5" class="cell_1" style="left:422px; top:102px; width:100px; height:23px; vertical-align:middle; ">바코드출력매수</caption>
  198. <caption id="caption25" class="cell_1" style="left:206px; top:102px; width:100px; height:23px; text-align:center; vertical-align:middle; ">바코드출력</caption>
  199. <caption id="caption6" class="cell_1" style="left:0px; top:30px; width:95px; height:23px; text-align:center; vertical-align:middle; ">육안검사의사</caption>
  200. <caption id="caption7" class="cell_1" style="left:422px; top:53px; width:100px; height:23px; vertical-align:middle; ">의뢰지출력매수</caption>
  201. <line id="line5" class="line_2" style="x1:0px; y1:52px; x2:560; y2:52px; "/>
  202. <line id="line2" class="line_2" style="x1:0px; y1:76px; x2:560; y2:76px; "/>
  203. <select1 id="combo1" ref="/root/hidden/acptenv/grosplgyid" class="combo_essential" navindex="4" appearance="minimal" style="left:96px; top:104px; width:105px; height:19px; text-align:center; vertical-align:middle; ">
  204. <choices>
  205. <itemset nodeset="/root/init/userinfo/userinfolist[jobkindcd='9']">
  206. <label ref="usernm"/>
  207. <value ref="userid"/>
  208. </itemset>
  209. </choices>
  210. <script type="javascript" ev:event="xforms-value-changed">
  211. <![CDATA[
  212. fExeGrosPlgyChange();
  213. ]]>
  214. </script>
  215. </select1>
  216. <caption id="caption8" class="cell_1" style="left:0px; top:102px; width:95px; height:23px; text-align:center; vertical-align:middle; ">접 수 자</caption>
  217. <input id="ipt_waittm" ref="/root/hidden/acptenv/waittm" class="input_default" navindex="8" format="#,###" style="left:524px; top:79px; width:35px; height:19px; "/>
  218. <select1 id="cmb_autoacptflagcd" ref="/root/hidden/acptenv/autoacptflagcd" class="combo_essential" navindex="1" appearance="minimal" style="left:308px; top:79px; width:110px; height:19px; text-align:center; vertical-align:middle; ">
  219. <choices>
  220. <item>
  221. <label>자동접수</label>
  222. <value>0</value>
  223. </item>
  224. <item>
  225. <label>수동접수</label>
  226. <value>1</value>
  227. </item>
  228. </choices>
  229. </select1>
  230. <input id="ipt_barcdprntcnt" ref="/root/hidden/acptenv/barcdprntcnt" class="input_default" navindex="7" format="#,###" style="left:524px; top:104px; width:35px; height:19px; "/>
  231. <select1 id="cmb_barcdprntdirec" ref="/root/hidden/acptenv/barcdprntdirec" class="combo_essential" navindex="10" visibility="hidden" appearance="minimal" style="left:215px; top:5px; width:55px; height:19px; text-align:center; vertical-align:middle; ">
  232. <choices>
  233. <item>
  234. <label>로컬(Local)</label>
  235. <value>0</value>
  236. </item>
  237. <item>
  238. <label>원격(Network)</label>
  239. <value>1</value>
  240. </item>
  241. </choices>
  242. </select1>
  243. <select1 id="cmb_barcdprnt" ref="/root/hidden/acptenv/barcdprnt" class="combo_essential" navindex="2" appearance="minimal" style="left:308px; top:104px; width:110px; height:19px; text-align:center; vertical-align:middle; ">
  244. <choices>
  245. <item>
  246. <label>자동출력</label>
  247. <value>0</value>
  248. </item>
  249. <item>
  250. <label>수동출력</label>
  251. <value>1</value>
  252. </item>
  253. </choices>
  254. </select1>
  255. <input id="ipt_reqfrmprntcnt" ref="/root/hidden/acptenv/reqfrmprntcnt" class="input_default" navindex="6" format="#,###" style="left:524px; top:54px; width:35px; height:19px; "/>
  256. <select1 id="cmb_grostestdr" ref="/root/hidden/acptenv/grostestdr" class="combo_essential" navindex="3" appearance="minimal" style="left:96px; top:31px; width:105px; height:19px; text-align:center; vertical-align:middle; ">
  257. <choices>
  258. <itemset nodeset="/root/init/userinfo/userinfolist[jobkindcd='1']">
  259. <label ref="usernm"/>
  260. <value ref="userid"/>
  261. </itemset>
  262. </choices>
  263. <script type="javascript" ev:event="xforms-value-changed">
  264. <![CDATA[
  265. fExeGrosTestDrChange();
  266. ]]>
  267. </script>
  268. </select1>
  269. <caption id="caption9" class="cell_1" visibility="hidden" style="left:455px; top:0px; width:35px; height:23px; text-align:center; vertical-align:middle; ">좌측여백</caption>
  270. <caption id="caption10" class="cell_1" visibility="hidden" style="left:280px; top:0px; width:45px; height:23px; text-align:center; vertical-align:middle; ">상단여백</caption>
  271. <input id="ipt_topmargin" ref="/root/hidden/acptenv/topmargin" class="input_default" navindex="14" visibility="hidden" format="#,###" style="left:325px; top:0px; width:35px; height:19px; "/>
  272. <input id="ipt_leftmargin" ref="/root/hidden/acptenv/leftmargin" class="input_default" navindex="13" visibility="hidden" format="#,###" style="left:490px; top:0px; width:35px; height:19px; "/>
  273. <caption id="caption11" class="cell_1" style="left:206px; top:30px; width:100px; height:23px; text-align:center; vertical-align:middle; ">육안검사일</caption>
  274. <input id="ipt_grostestdd" ref="/root/hidden/acptenv/grostestdd" class="input_default" navindex="5" inputtype="date" format="yyyy-mm-dd" mask="exclude" showmask="true" style="left:308px; top:31px; width:110px; height:19px; "/>
  275. <input id="input1" ref="/root/hidden/acptenv/grostesttm" class="input_default" navindex="12" visibility="hidden" format="hh:nn:ss" mask="exclude" showmask="true" style="left:145px; top:0px; width:26px; height:19px; "/>
  276. <line id="line3" class="line_3" style="x1:0px; y1:125px; x2:560px; y2:125px; "/>
  277. <caption id="caption12" class="cell_1" style="left:0px; top:54px; width:95px; height:23px; text-align:center; vertical-align:middle; ">Frozen의사</caption>
  278. <caption id="caption13" class="cell_1" style="left:0px; top:78px; width:95px; height:23px; text-align:center; vertical-align:middle; ">판 독 의</caption>
  279. <select1 id="cmb_frzndr" ref="/root/hidden/acptenv/frzndr" navindex="3" appearance="minimal" style="left:96px; top:55px; width:105px; height:19px; text-align:center; vertical-align:middle; ">
  280. <choices>
  281. <itemset nodeset="/root/init/userinfo/userinfolist[jobkindcd='1']">
  282. <label ref="usernm"/>
  283. <value ref="userid"/>
  284. </itemset>
  285. </choices>
  286. <script type="javascript" ev:event="xforms-value-changed">
  287. <![CDATA[
  288. //fExeGrosTestDrChange();
  289. ]]>
  290. </script>
  291. </select1>
  292. <select1 id="cmb_readdr" ref="/root/hidden/acptenv/readdr" navindex="3" appearance="minimal" style="left:96px; top:79px; width:105px; height:19px; text-align:center; vertical-align:middle; ">
  293. <choices>
  294. <itemset nodeset="/root/init/userinfo/userinfolist[jobkindcd='1']">
  295. <label ref="usernm"/>
  296. <value ref="userid"/>
  297. </itemset>
  298. </choices>
  299. <script type="javascript" ev:event="xforms-value-changed">
  300. <![CDATA[
  301. //fExeGrosTestDrChange();
  302. ]]>
  303. </script>
  304. </select1>
  305. <line id="line4" class="line_2" style="x1:0px; y1:100px; x2:560px; y2:100px; "/>
  306. <caption id="caption14" class="cell_1" style="left:206px; top:54px; width:100px; height:23px; text-align:center; vertical-align:middle; ">접 수 일</caption>
  307. <input id="input2" ref="/root/hidden/acptenv/acptdd" class="input_default" navindex="5" inputtype="date" format="yyyy-mm-dd" mask="exclude" showmask="true" style="left:308px; top:55px; width:110px; height:19px; "/>
  308. </group>
  309. </xhtml:body>
  310. </xhtml:html>