SMLPP02200_정도관리상세내역.xrw 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMLPP02200_정도관리상세내역.xrw
  4. * 설 명 : 정도관리상세내역 화면
  5. * 설 계 자 : (주)에이씨케이 - 유동철
  6. * 작 성 자 : (주)에이씨케이 - 유동철
  7. * 작 성 일 : 2008.03.17
  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. <grdeinfo>
  20. <grdelist>
  21. <instcd/>
  22. <dispptno/>
  23. <baseflagnm/>
  24. <grdegrupnm/>
  25. <resncnts/>
  26. </grdelist>
  27. </grdeinfo>
  28. </main>
  29. <send/>
  30. <init>
  31. <acptfromdd/>
  32. <acpttodd/>
  33. <refmthdcd/>
  34. <refval/>
  35. <ptnocode/>
  36. <fromyear/>
  37. <fromptno/>
  38. <toyear/>
  39. <toptno/>
  40. <chrgdrid/>
  41. <sysdt>
  42. <sysdtinfo>
  43. <sysdd/>
  44. <systm/>
  45. </sysdtinfo>
  46. </sysdt>
  47. <ptnocd>
  48. <ptnocdlist>
  49. <instcd/>
  50. <ptnocd/>
  51. <ptnonm/>
  52. </ptnocdlist>
  53. </ptnocd>
  54. <userinfo>
  55. <userinfolist>
  56. <userid/>
  57. <usernm/>
  58. <jobkindcd/>
  59. </userinfolist>
  60. </userinfo>
  61. <hospenv>
  62. <hospenvinfo>
  63. <instcd/>
  64. <lendrtnterm/>
  65. <recvqualmthdcd/>
  66. <plgydeptcd/>
  67. <plgyteamcd/>
  68. <doctjobgradcd/>
  69. <teamjobgradcd/>
  70. </hospenvinfo>
  71. </hospenv>
  72. </init>
  73. <hidden>
  74. <paval/>
  75. </hidden>
  76. <message/>
  77. </root>
  78. </instance>
  79. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  80. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  81. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  82. <script type="javascript" src="../../../lis/commonweb/js/LPZ001.js"/>
  83. <script type="javascript" ev:event="xforms-ready">
  84. <![CDATA[
  85. fExeInitialize();
  86. ]]>
  87. </script>
  88. <submission id="TRLPZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/hospenv/hospenvinfo"/>
  89. <submission id="TRLPZ00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/sysdt/sysdtinfo"/>
  90. <submission id="TRLPZ00105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/userinfo/userinfolist"/>
  91. <submission id="TRLPZ00109" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/ptnocd/ptnocdlist"/>
  92. <submission id="TRLPP02201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/grdeinfo/grdelist"/>
  93. </model>
  94. <script type="javascript">
  95. <![CDATA[
  96. var gRowSize = 0; // 정도관리명 목록 확장 구분
  97. /* @group : 정도관리상세내역 화면
  98. * @ver : 2008.02.13 (CMCDEV-0001)
  99. * @by : 유동철(ACK)
  100. * @-----------------------------------
  101. * @type : function
  102. * @access : public
  103. * @desc : 화면초기화 함수
  104. */
  105. function fExeInitialize() {
  106. var sCurDate = "";
  107. // var menuparam = getScreenMenuParameter();
  108. //--------------------------------------------------
  109. model.removeNodeset("/root/main/grdeinfo/grdelist");
  110. //----------------
  111. // 시스템일자 조회
  112. model.removeNodeset("/root/send");
  113. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  114. submit("TRLPZ00101", false);
  115. submit("TRLPZ00102", false);
  116. submit("TRLPZ00109");
  117. //---------------------------------------------------------
  118. // 병원환경정보를 취득하여 병리과와 병리팀 코드를 편집한다.
  119. lpzfUserDeptCd("/root/init/hospenv/hospenvinfo", "/root/hidden");
  120. //-------------------------------------------------------------------------------------
  121. model.makeValue("/root/send/userdeptcd", model.getValue("/root/hidden/userdeptcd"));
  122. model.makeValue("/root/send/doctjobgradcd", model.getValue("/root/init/hospenv/hospenvinfo/doctjobgradcd"));
  123. model.makeValue("/root/send/teamjobgradcd", model.getValue("/root/init/hospenv/hospenvinfo/teamjobgradcd"));
  124. submit("TRLPZ00105");
  125. //--------------------------------------------------------------------------
  126. var iMaxRow = Number(getNodesetCount("/root/init/userinfo/userinfolist"))+1;
  127. //--------
  128. // 노드생성
  129. model.makeValue("/root/init/userinfo/userinfolist[" + Number(iMaxRow) + "]/userid", "");
  130. model.makeValue("/root/init/userinfo/userinfolist[" + Number(iMaxRow) + "]/usernm", "전체");
  131. model.makeValue("/root/init/userinfo/userinfolist[" + Number(iMaxRow) + "]/jobkindcd", "1");
  132. //------------------------------------------------------------
  133. sCurDate = model.getValue("/root/init/sysdt/sysdtinfo/sysdd");
  134. //------------
  135. // 초기값 설정
  136. model.makeValue("/root/init/acptfromdd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd")); // 등록일자(From)
  137. model.makeValue("/root/init/acpttodd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd")); // 등록일자(To)
  138. model.makeValue("/root/init/chrgdrid", ""); // 담당의ID
  139. model.makeValue("/root/init/refval", ""); // 검색값
  140. model.makeValue("/root/init/ptnocode", "");
  141. model.makeValue("/root/init/fromyear", sCurDate.substr(2,2));
  142. model.makeValue("/root/init/fromptno", "");
  143. model.makeValue("/root/init/toyear", sCurDate.substr(2,2));
  144. model.makeValue("/root/init/toptno", "");
  145. //--------------
  146. model.refresh();
  147. }
  148. /* @group : 정도관리상세내역 화면
  149. * @ver : 2008.02.13 (CMCDEV-0001)
  150. * @by : 유동철(ACK)
  151. * @-----------------------------------
  152. * @type : function
  153. * @access : public
  154. * @desc : 접수목록 조회 처리 함수
  155. */
  156. function fGetGrdeList() {
  157. var sNode = "/root/main/grdeinfo/grdelist";
  158. var sTemp = "";
  159. var sFromDD = model.getValue("/root/init/acptfromdd");
  160. var sToDD = model.getValue("/root/init/acpttodd");
  161. //------------------------------------------------
  162. if (model.getValue("/root/init/ptnocode") != "") {
  163. //------------------------------------------------
  164. if (model.getValue("/root/init/fromyear") == "") {
  165. model.makeValue("/root/init/fromyear", sFromDD.substr(2,2));
  166. } else {
  167. sTemp = model.getValue("/root/init/fromyear");
  168. model.makeValue("/root/init/fromyear", sTemp.getLeftPad(2, "0"));
  169. }
  170. //------------------------------------------------
  171. if (model.getValue("/root/init/fromptno") == "") {
  172. model.makeValue("/root/init/fromptno", "000000");
  173. } else {
  174. sTemp = model.getValue("/root/init/fromptno");
  175. model.makeValue("/root/init/fromptno", sTemp.getLeftPad(6, "0"));
  176. }
  177. //----------------------------------------------
  178. if (model.getValue("/root/init/toyear") == "") {
  179. model.makeValue("/root/init/toyear", sToDD.substr(2,2));
  180. } else {
  181. sTemp = model.getValue("/root/init/toyear");
  182. model.makeValue("/root/init/toyear", sTemp.getLeftPad(2, "0"));
  183. }
  184. //----------------------------------------------
  185. if (model.getValue("/root/init/toptno") == "") {
  186. model.makeValue("/root/init/toptno", "999999");
  187. } else {
  188. sTemp = model.getValue("/root/init/toptno");
  189. model.makeValue("/root/init/toptno", sTemp.getLeftPad(6, "0"));
  190. }
  191. }
  192. //--------------------------------------------
  193. sTemp = model.getValue("/root/init/ptnocode");
  194. //--------------------------------
  195. model.removeNodeset("/root/send");
  196. model.removeNodeset(sNode);
  197. //----------------------------------------------------------------------
  198. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  199. model.makeValue("/root/send/grdefromdd", model.getValue("/root/init/acptfromdd"));
  200. model.makeValue("/root/send/grdetodd", model.getValue("/root/init/acpttodd"));
  201. model.makeValue("/root/send/chrgdrid", model.getValue("/root/init/chrgdrid"));
  202. model.makeValue("/root/send/ptnocode", sTemp.replace("-", ""));
  203. model.makeValue("/root/send/fromyear", model.getValue("/root/init/fromyear"));
  204. model.makeValue("/root/send/fromptno", model.getValue("/root/init/fromptno"));
  205. model.makeValue("/root/send/toyear", model.getValue("/root/init/toyear"));
  206. model.makeValue("/root/send/toptno", model.getValue("/root/init/toptno"));
  207. //-------------------
  208. submit("TRLPP02201");
  209. }
  210. /* @group : 세포결과일괄등록
  211. * @ver : 2009.10.07 (CMCDEV-0001)
  212. * @by : 박상환(평화이즈)
  213. * @-----------------------------------
  214. * @type : function
  215. * @access : public
  216. * @desc : 정도관리명 row 크기 변경
  217. */
  218. function fExeResizeRow()
  219. {
  220. if (gRowSize == 0) // 초기상태
  221. {
  222. grd_ptnolist.autoResize = true;
  223. grd_ptnolist.refresh();
  224. gRowSize = 1;
  225. }
  226. else if (gRowSize == 1)
  227. {
  228. grd_ptnolist.dataHeight = 23;
  229. grd_ptnolist.autoResize = false;
  230. grd_ptnolist.refresh();
  231. gRowSize = 0;
  232. }
  233. }
  234. ]]>
  235. </script>
  236. </xhtml:head>
  237. <xhtml:body visibility="visible">
  238. <group id="grp_btn" style="left:0px; top:13; width:1195px; height:27px; ">
  239. <line id="line10" class="line_6" style="x1:0px; y1:25; x2:1194px; y2:25; "/>
  240. <button id="btn_excel" class="btn6_letter5" navindex="11" style="left:5px; top:3px; width:92px; height:22px; ">
  241. <caption>EXCEL저장</caption>
  242. <script type="javascript" ev:event="DOMActivate">
  243. <![CDATA[
  244. lpzfExeSaveToExcel(grd_ptnolist, "정도관리 상세내역");
  245. ]]>
  246. </script>
  247. </button>
  248. </group>
  249. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  250. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:220px; height:14px; ">정도관리 상세내역</caption>
  251. </group>
  252. <group id="grp_biz" style="left:0; top:40; width:1195; height:744; ">
  253. <caption id="caption4" class="tit_2" style="left:5px; top:55px; width:146px; height:14px; ">상세내역</caption>
  254. <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:1194px; y2:70px; "/>
  255. <group id="group2" style="left:0px; top:10px; width:1195px; height:35px; vertical-align:top; ">
  256. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  257. <line id="line13" class="line_4" style="x1:1108px; y1:7px; x2:1108px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  258. <caption id="caption5" class="search_no_b" style="left:979px; top:8px; width:12px; height:17px; ">~</caption>
  259. <button id="btn_sea" class="btn1_letter2" navindex="9" style="left:1123px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  260. <caption>조회</caption>
  261. <script type="javascript" ev:event="DOMActivate">
  262. <![CDATA[
  263. fGetGrdeList();
  264. ]]>
  265. </script>
  266. </button>
  267. <input id="ipt_cnclfromdd" ref="/root/init/acptfromdd" class="input_s_essential" navindex="7" inputtype="date" format="yyyy-mm-dd" mask="exclude" showmask="true" style="left:876px; top:8px; width:100px; height:19px; ">
  268. <script type="javascript" ev:event="xforms-value-changed">
  269. <![CDATA[
  270. lpzfExeDateChange(ipt_fromyear, "/root/init/acptfromdd", "/root/init/fromyear");
  271. ]]>
  272. </script>
  273. </input>
  274. <input id="ipt_cncltodd" ref="/root/init/acpttodd" class="input_s_essential" navindex="8" inputtype="date" format="yyyy-mm-dd" mask="exclude" showmask="true" style="left:995px; top:8px; width:100px; height:19px; ">
  275. <script type="javascript" ev:event="xforms-value-changed">
  276. <![CDATA[
  277. lpzfExeDateChange(ipt_toyear, "/root/init/acpttodd", "/root/init/toyear");
  278. ]]>
  279. </script>
  280. </input>
  281. <select1 id="cbo_ptnocd" ref="/root/init/ptnocode" navindex="1" appearance="minimal" editmode="search" style="left:109px; top:8px; width:156px; height:19px; ">
  282. <choices>
  283. <itemset nodeset="/root/init/ptnocd/ptnocdlist">
  284. <label ref="ptnonm"/>
  285. <value ref="ptnocd"/>
  286. </itemset>
  287. </choices>
  288. </select1>
  289. <input id="ipt_fromptno" ref="/root/init/fromptno" class="text_center" navindex="3" maxlength="6" style="left:298px; top:8px; width:50px; height:19px; "/>
  290. <caption id="caption1" class="search_name" style="left:15px; top:9px; width:90px; height:17px; ">병리번호 :</caption>
  291. <input id="ipt_fromyear" ref="/root/init/fromyear" class="text_center" navindex="2" maxlength="2" style="left:268px; top:8px; width:27px; height:19px; "/>
  292. <caption id="cap_refdd" class="search_name" style="left:787px; top:9px; width:86px; height:17px; ">관리일자 :</caption>
  293. <caption id="caption2" class="search_no_b" style="left:351px; top:8px; width:12px; height:17px; ">~</caption>
  294. <input id="input1" ref="/root/init/toptno" class="text_center" navindex="5" maxlength="6" style="left:396px; top:8px; width:50px; height:19px; "/>
  295. <input id="ipt_toyear" ref="/root/init/toyear" class="text_center" navindex="4" maxlength="2" style="left:366px; top:8px; width:27px; height:19px; "/>
  296. <caption id="caption3" class="search_name" visibility="hidden" style="left:520px; top:9px; width:86px; height:17px; ">담당의 :</caption>
  297. <select1 id="combo1" ref="/root/init/chrgdrid" navindex="6" visibility="hidden" appearance="minimal" style="left:597px; top:8px; width:120px; height:19px; ">
  298. <choices>
  299. <itemset nodeset="/root/init/userinfo/userinfolist[jobkindcd='1']">
  300. <label ref="usernm"/>
  301. <value ref="userid"/>
  302. </itemset>
  303. </choices>
  304. </select1>
  305. </group>
  306. <datagrid id="grd_ptnolist" nodeset="/root/main/grdeinfo/grdelist" autoresize="true" caption="기관코드^병리번호^정도구분명^정도관리명^정도사유명" colsep="^" colwidth="0, 90, 100, 450, 510" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" navindex="10" style="left:0px; top:75px; width:1194px; height:668px; ">
  307. <col class="text_center" ref="instcd"/>
  308. <col class="text_center" ref="dispptno"/>
  309. <col class="text_left" ref="baseflagnm"/>
  310. <col class="text_left" ref="grdegrupnm"/>
  311. <col class="text_left" ref="resncnts"/>
  312. <script type="javascript" ev:event="onaftersort">
  313. <![CDATA[
  314. grd_ptnolist.gridToInstance();
  315. ]]>
  316. </script>
  317. </datagrid>
  318. <button id="button2" class="btn2_letter3" visibility="visible" style="left:1141px; top:50px; width:53px; height:19px; ">
  319. <caption>확 장</caption>
  320. <script type="javascript" ev:event="DOMActivate">
  321. <![CDATA[
  322. fExeResizeRow();
  323. ]]>
  324. </script>
  325. </button>
  326. </group>
  327. </xhtml:body>
  328. </xhtml:html>