SMPMP01800_일반상담자분배.xrw 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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. <gnrlcnstdtbt>
  11. <item>
  12. <orddd/>
  13. <ordtm/>
  14. <orddeptnm/>
  15. <orddeptcd/>
  16. <centnm/>
  17. <centcd/>
  18. <subdeptnm/>
  19. <subdeptcd/>
  20. <orddrnm/>
  21. <orddrid/>
  22. <rsrvflag/>
  23. <histstat/>
  24. <remfact/>
  25. <telrsrvrem/>
  26. <updtcnclresn/>
  27. <callrid/>
  28. <pid/>
  29. </item>
  30. </gnrlcnstdtbt>
  31. <result/>
  32. <histstatcd/>
  33. <srchflag/>
  34. <endcnfmyn/>
  35. <prcsstat/>
  36. </main>
  37. <send>
  38. <orddrid/>
  39. <orddeptcd/>
  40. <fromdd/>
  41. <todd/>
  42. <callrid/>
  43. <pid/>
  44. <cdgrupid/>
  45. <centcd/>
  46. <subdeptcd/>
  47. </send>
  48. <init>
  49. <P0037list>
  50. <P0037>
  51. <cdnm/>
  52. <cdid/>
  53. </P0037>
  54. </P0037list>
  55. <P0406list>
  56. <P0406>
  57. <cdid/>
  58. <cdnm/>
  59. </P0406>
  60. </P0406list>
  61. <P0341list>
  62. <P0341>
  63. <cdid/>
  64. <cdnm/>
  65. </P0341>
  66. </P0341list>
  67. <orddeptcd>
  68. <orddeptcdlist>
  69. <cd/>
  70. <nm/>
  71. </orddeptcdlist>
  72. </orddeptcd>
  73. <orddrid>
  74. <orddridlist>
  75. <cd/>
  76. <nm/>
  77. <dp/>
  78. <sp/>
  79. </orddridlist>
  80. </orddrid>
  81. <P0464list>
  82. <P0464>
  83. <cdid/>
  84. <cdnm/>
  85. </P0464>
  86. </P0464list>
  87. <list2>
  88. <item>
  89. <dispseq/>
  90. <usernm/>
  91. <cdid/>
  92. <fromdd/>
  93. </item>
  94. </list2>
  95. </init>
  96. <hidden>
  97. <flag>
  98. <orddeptcd/>
  99. <orddrid/>
  100. <seqno/>
  101. <drappdd/>
  102. </flag>
  103. </hidden>
  104. <temp>
  105. <holilist/>
  106. <gridcnt/>
  107. <sum_unitcnt/>
  108. </temp>
  109. </root>
  110. </instance>
  111. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  112. <submission id="TRPAM00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/hidden/tmp"/>
  113. <script type="javascript" ev:event="xforms-ready">
  114. <![CDATA[
  115. zbcfGetCodeList(new Array("P0037","P0406", "P0464", "P0341"), new Array("/root/init/P0037list","/root/init/P0406list", "/root/init/P0464list", "/root/init/P0341list"));
  116. pamGetDeptCDDrIDList();
  117. addComboItem("cmb_orddeptcd","전체","","above");
  118. addComboItem("cmb_orddrid","전체","","above");
  119. model.refresh();
  120. fInitialize();
  121. ]]>
  122. </script>
  123. <submission id="TRPMP01802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/gnrlcnstdtbt"/>
  124. <submission id="TRPMP01902" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/list2"/>
  125. <submission id="TRZSD00207" mediatype="application/x-www-form-urlencoded" method="urlencoded-post" replace="instance"/>
  126. <submission id="TRZSD00208" mediatype="application/x-www-form-urlencoded" method="urlencoded-post" replace="instance"/>
  127. </model>
  128. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  129. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  130. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  131. <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
  132. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  133. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  134. <script type="javascript">
  135. <![CDATA[
  136. function fInitialize(){
  137. model.resetInstanceNode("/root/send");
  138. model.resetInstanceNode("/root/main");
  139. model.resetInstanceNode("/root/main/gnrlcnstdtbt/item");
  140. var curDate = getCurrentDate();
  141. model.setValue("/root/send/fromdd", curDate);
  142. model.setValue("/root/send/todd", curDate);
  143. model.setValue("/root/send/cdgrupid", "P0001");
  144. submit("TRPMP01802");
  145. submit("TRPMP01902");
  146. model.refresh();
  147. }
  148. ]]>
  149. </script>
  150. </xhtml:head>
  151. <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  152. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  153. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:254px; height:14px; ">예약분배 리스트</caption>
  154. </group>
  155. <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:719px; ">
  156. <group id="group4" style="left:0px; top:14px; width:1194px; height:60px; vertical-align:top; ">
  157. <shape id="roundrect3" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:60px; background-color:#fffbf2; border-color:#ffd799; "/>
  158. <button id="btn_search" class="btn1_letter2" style="left:1134px; top:22px; width:56px; height:22px; ">
  159. <caption>조회</caption>
  160. <script type="javascript" ev:event="DOMActivate">
  161. <![CDATA[
  162. submit("TRPMP01802");
  163. ]]>
  164. </script>
  165. </button>
  166. <select1 id="cmb_orddrid" ref="/root/send/orddrid" class="combo_default" appearance="minimal" style="left:490px; top:9px; width:100px; height:19px; ">
  167. <choices>
  168. <itemset nodeset="/root/init/orddrid/orddridlist">
  169. <label ref="nm"/>
  170. <value ref="cd"/>
  171. </itemset>
  172. </choices>
  173. </select1>
  174. <caption id="caption5" class="search_name" style="left:5px; top:9px; width:73px; height:17px; ">진료과 :</caption>
  175. <caption id="caption7" class="search_name" style="left:380px; top:9px; width:86px; height:17px; ">진료의사 :</caption>
  176. <select1 id="cmb_orddeptcd" ref="/root/send/orddeptcd" class="combo_default" appearance="minimal" style="left:95px; top:9px; width:100px; height:19px; ">
  177. <choices>
  178. <itemset nodeset="/root/init/orddeptcd/orddeptcdlist">
  179. <label ref="nm"/>
  180. <value ref="cd"/>
  181. </itemset>
  182. </choices>
  183. <script type="javascript" ev:event="xforms-value-changed">
  184. <![CDATA[
  185. cmb_orddrid.choices.itemset.attribute("nodeset") = "/root/init/orddrid/orddridlist[dp = '" + cmb_orddeptcd.value + "']";
  186. model.setValue("/root/send/orddrid", "");
  187. cmb_orddrid.refresh();
  188. cmb_subdeptcd.choices.itemset.attribute("nodeset") = "/root/init/subdeptcd/subdeptcdlist[dp = '"+ cmb_orddeptcd.value +"' or dp = '']";
  189. cmb_subdeptcd.refresh();
  190. ]]>
  191. </script>
  192. </select1>
  193. <line id="line13" class="line_4" style="x1:1128px; y1:7px; x2:1128px; y2:55px; border-color:#ffe4bb; border-left-style:solid; "/>
  194. <caption id="caption1" class="search_name" style="left:5px; top:35px; width:91px; height:17px; ">등록번호 :</caption>
  195. <caption id="caption2" class="search_name" style="left:380px; top:34px; width:109px; height:17px; ">일반 상담자 :</caption>
  196. <input id="input1" ref="/root/send/pid" style="left:95px; top:34px; width:100px; height:19px; ">
  197. <script type="javascript" ev:event="onkeyup">
  198. <![CDATA[
  199. inputEnterKey("btn_search","DOMActivate");
  200. ]]>
  201. </script>
  202. </input>
  203. <select1 id="combo1" ref="/root/send/callrid" appearance="minimal" style="left:490px; top:34px; width:100px; height:19px; ">
  204. <choices>
  205. <itemset nodeset="/root/init/list2/item">
  206. <label ref="usernm"/>
  207. <value ref="cdid"/>
  208. </itemset>
  209. </choices>
  210. </select1>
  211. <caption id="caption10" style="left:872px; top:9px; width:15px; height:19px; font-weight:bold; text-align:center; vertical-align:middle; ">~</caption>
  212. <caption id="caption3" class="search_name" style="left:690px; top:9px; width:86px; height:17px; ">조회기간 :</caption>
  213. <input id="ipt_todd" ref="/root/send/todd" class="input_search" inputtype="date" style="left:887px; top:9px; width:85px; height:19px; "/>
  214. <input id="ipt_fromdd" ref="/root/send/fromdd" class="input_search" inputtype="date" style="left:785px; top:9px; width:85px; height:19px; "/>
  215. <select1 id="combo2" ref="/root/send/centcd" class="combo_default" visibility="hidden" appearance="minimal" style="left:754px; top:34px; width:126px; height:19px; ">
  216. <choices>
  217. <itemset nodeset="/root/init/centcd/centcdlist">
  218. <label ref="nm"/>
  219. <value ref="cd"/>
  220. </itemset>
  221. </choices>
  222. <script type="javascript" ev:event="xforms-value-changed">
  223. <![CDATA[
  224. /*cmb_orddeptcd.choices.itemset.attribute("nodeset") = "/root/init/orddeptcd/orddeptcdlist[cd = '" + cmb_orddeptcd.value + "']";
  225. model.setValue("/root/main/orddeptcd", "");
  226. cmb_orddeptcd.refresh(); */
  227. var centcd = model.getValue("/root/send/centcd");
  228. if( centcd == '' || centcd == '-' ){
  229. combo3.visible = false;
  230. cmb_orddeptcd.visible = true;
  231. model.setValue("/root/send/orddeptcd", '');
  232. model.setValue("/root/send/orddrid", '');
  233. cmb_orddeptcd.refresh();
  234. cmb_orddrid.refresh();
  235. }else{
  236. // var instcd = model.getValue("/root/hidden/session/sess_dutplceinstcd");
  237. var instcd = getUserInfo("dutplcecd");
  238. var deptcd = model.getValue("/root/send/centcd");
  239. var base_dd = new Date().getDateFormat("YYYYMMDD");
  240. var sort_field = "dispseq";//정렬필드(출력순서:'dispseq')
  241. var sort_method = "asc"; //정렬방법(오름차순:'asc')
  242. zsufGetCntrSubOrdDepartmentList(instcd, deptcd, 'O', "/root/hidden/init/cntrsuborddeptlist", base_dd);
  243. combo3.visible = true;
  244. cmb_orddeptcd.visible = false;
  245. model.setValue("/root/send/orddeptcd", '');
  246. model.setValue("/root/send/orddrid", '');
  247. cmb_orddeptcd.refresh();
  248. cmb_orddrid.refresh();
  249. }
  250. model.refresh();
  251. ]]>
  252. </script>
  253. </select1>
  254. <caption id="caption8" class="search_name" visibility="hidden" style="left:690px; top:35px; width:73px; height:17px; ">센터 :</caption>
  255. <select1 id="combo3" ref="/root/send/orddeptcd" class="combo_default" visibility="hidden" appearance="minimal" style="left:95px; top:9px; width:100px; height:19px; ">
  256. <choices>
  257. <itemset nodeset="/root/hidden/init/cntrsuborddeptlist/dept">
  258. <label ref="depthngnm"/>
  259. <value ref="deptcd"/>
  260. </itemset>
  261. </choices>
  262. <script type="javascript" ev:event="xforms-value-changed">
  263. <![CDATA[
  264. cmb_orddrid.choices.itemset.attribute("nodeset") = "/root/init/orddrid/orddridlist[dp = '" + cmb_orddeptcd.value + "']";
  265. model.setValue("/root/send/orddrid", "");
  266. cmb_orddrid.refresh();
  267. var orddeptcd = model.getValue("/root/send/orddeptcd");
  268. cmb_subdeptcd.choices.itemset.attribute("nodeset") = "/root/init/subdeptcd/subdeptcdlist[dp = '"+ orddeptcd +"' or dp = '-']";
  269. cmb_subdeptcd.refresh();
  270. ]]>
  271. </script>
  272. </select1>
  273. <select1 id="cmb_subdeptcd" ref="/root/send/subdeptcd" class="combo_default" appearance="minimal" style="left:200px; top:9px; width:100px; height:19px; ">
  274. <choices>
  275. <itemset nodeset="/root/init/subdeptcd/subdeptcdlist">
  276. <label ref="nm"/>
  277. <value ref="cd"/>
  278. </itemset>
  279. </choices>
  280. <script type="javascript" ev:event="xforms-value-changed">
  281. <![CDATA[
  282. cmb_orddrid.choices.itemset.attribute("nodeset") = "/root/init/orddrid/orddridlist[dp = '" + cmb_orddeptcd.value + "']";
  283. model.setValue("/root/send/orddrid", "");
  284. cmb_orddrid.refresh();
  285. var orddeptcd = model.getValue("/root/send/orddeptcd");
  286. cmb_subdeptcd.choices.itemset.attribute("nodeset") = "/root/init/subdeptcd/subdeptcdlist[dp = '"+ orddeptcd +"' or dp = '-']";
  287. cmb_subdeptcd.refresh();
  288. ]]>
  289. </script>
  290. </select1>
  291. </group>
  292. <col type="checkbox"/>
  293. <caption id="caption4" class="tit_2" style="left:6px; top:84px; width:219px; height:13px; ">예약분배 리스트</caption>
  294. <line id="line3" class="line_1" style="x1:0px; y1:99px; x2:1194px; y2:99px; "/>
  295. <datagrid id="datagrid1" nodeset="/root/main/gnrlcnstdtbt/item" caption="진료일자^시간^진료과^caption5^센터명^caption1^세부과^caption2^진료의사^caption4^예약구분^진료비^일반상담자^remark^전화예약 참고사항^변경취소 사유^caption3" colsep="^" colwidth="90, 57, 100, 17, 100, 18, 76, 16, 72, 15, 100, 56, 100, 207, 172, 191" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:105px; width:1194px; height:610px; ">
  296. <col ref="orddd" format="yyyy-mm-dd" style="text-align:center; "/>
  297. <col ref="ordtm" style="text-align:center; "/>
  298. <col ref="orddeptnm" style="text-align:center; "/>
  299. <col ref="orddeptcd" visibility="hidden"/>
  300. <col ref="centnm" style="text-align:center; "/>
  301. <col ref="centcd" visibility="hidden"/>
  302. <col ref="subdeptnm" style="text-align:center; "/>
  303. <col ref="subdeptcd" visibility="hidden"/>
  304. <col ref="orddrnm" style="text-align:center; "/>
  305. <col ref="orddrid" visibility="hidden"/>
  306. <col disabled="true" ref="rsrvflag" type="combo" style="text-align:center; ">
  307. <choices>
  308. <itemset nodeset="/root/init/P0341list/P0341">
  309. <label ref="cdnm"/>
  310. <value ref="cdid"/>
  311. </itemset>
  312. </choices>
  313. </col>
  314. <col ref="histstat" style="text-align:center; "/>
  315. <col ref="callrid" style="text-align:center; "/>
  316. <col ref="remfact"/>
  317. <col ref="telrsrvrem"/>
  318. <col ref="updtcnclresn"/>
  319. </datagrid>
  320. </group>
  321. <group id="group2" scroll="auto" style="left:0px; top:734px; width:1195px; height:31px; ">
  322. <button id="btn_saveSche7" class="btn4_letter3" style="left:1126px; top:5px; width:68px; height:22px; ">
  323. <caption>초기화</caption>
  324. <script type="javascript" ev:event="DOMActivate">
  325. <![CDATA[
  326. fInitialize();
  327. ]]>
  328. </script>
  329. </button>
  330. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
  331. </group>
  332. </xhtml:body>
  333. </xhtml:html>