SMAHR00120_중앙관제시스템.xrw 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750
  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. <controlinfo>
  11. <cntrlst>
  12. <pat>
  13. <pid/>
  14. <pnm/>
  15. <sex/>
  16. <age/>
  17. <tagno/>
  18. <regtime/>
  19. <cmpyflag/>
  20. <rtime/>
  21. <healexamplacecd/>
  22. <orddd/>
  23. </pat>
  24. <room>
  25. <sel/>
  26. <examroomid/>
  27. <examroomnm/>
  28. <waitpsncnt/>
  29. <healexamplacecd/>
  30. <orddd/>
  31. </room>
  32. <patcnt>
  33. <totcnt/>
  34. <endcnt/>
  35. <examcnt/>
  36. <waitcnt/>
  37. </patcnt>
  38. </cntrlst>
  39. </controlinfo>
  40. <controldetl>
  41. <roomdetllst>
  42. <wait>
  43. <sel/>
  44. <pid/>
  45. <pidnm/>
  46. <tagno/>
  47. <regroomdate/>
  48. <examid/>
  49. <examroomid/>
  50. <healexamplacecd/>
  51. <rtime/>
  52. <orddd/>
  53. <cmpyflag/>
  54. </wait>
  55. <end>
  56. <sel/>
  57. <pid/>
  58. <pidnm/>
  59. <tagno/>
  60. <regroomdate/>
  61. <finroomdate/>
  62. <examid/>
  63. <examroomid/>
  64. <healexamplacecd/>
  65. <rtime/>
  66. <waityn/>
  67. <orddd/>
  68. </end>
  69. </roomdetllst>
  70. <examlst>
  71. <item>
  72. <sel/>
  73. <examroomid/>
  74. <examnm/>
  75. <waitpsncnt/>
  76. <examorddd/>
  77. <finyn/>
  78. <findate/>
  79. <pid/>
  80. <rtime/>
  81. <healexamplacecd/>
  82. <examid/>
  83. </item>
  84. <pre>
  85. <healexamplacecd/>
  86. <examid/>
  87. <examroomid/>
  88. <preexamid/>
  89. <preexamroomid/>
  90. <preexamnm/>
  91. </pre>
  92. </examlst>
  93. </controldetl>
  94. <bfinqrinfo>
  95. <bfinqr>
  96. <inqrnm/>
  97. <answcnts/>
  98. </bfinqr>
  99. <remcnts>
  100. <remcnts/>
  101. <clntgrde/>
  102. </remcnts>
  103. </bfinqrinfo>
  104. </main>
  105. <send>
  106. <srchhealexamplacecd>S</srchhealexamplacecd>
  107. <srchorddd/>
  108. <srchpid/>
  109. <srchpnm/>
  110. <srchexamstat>1</srchexamstat>
  111. <srchtagno/>
  112. <room/>
  113. <patexam/>
  114. <save>
  115. <room/>
  116. <exam/>
  117. <choose>
  118. <examroom/>
  119. </choose>
  120. </save>
  121. <bfinfo>
  122. <srchrtime/>
  123. <srchbfpid/>
  124. <srchroom/>
  125. </bfinfo>
  126. </send>
  127. <init>
  128. <baseinfo>
  129. <healexamplacelst/>
  130. </baseinfo>
  131. </init>
  132. <hidden>
  133. </hidden>
  134. <codedata>
  135. <popupmenu>
  136. <menu>
  137. <item>
  138. <label>상세조회</label>
  139. <func>fGetBfInqr(grd_waitlst)</func>
  140. </item>
  141. </menu>
  142. </popupmenu>
  143. <popupmenu2>
  144. <menu>
  145. <item>
  146. <label>상세조회</label>
  147. <func>fGetBfInqr(grd_endlst)</func>
  148. </item>
  149. </menu>
  150. </popupmenu2>
  151. </codedata>
  152. </root>
  153. </instance>
  154. <submission id="TRAHA00001"/>
  155. <submission id="TRAHR00106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/controlinfo/cntrlst"/>
  156. <submission id="TRAHR00107" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/room" resultref="/root/main/controldetl/roomdetllst"/>
  157. <submission id="TRAHR00108" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/patexam" resultref="/root/main/controldetl/examlst"/>
  158. <submission id="TRAHR00109" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/bfinfo" resultref="/root/main/bfinqrinfo"/>
  159. <submission id="TXAHR00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" resultref="/root/hidden"/>
  160. <submission id="TXAHR00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save/choose" resultref="/root/hidden"/>
  161. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  162. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  163. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  164. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  165. <script type="javascript" src="../../../ast/healexamweb/js/AHA001.js"/>
  166. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  167. <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
  168. <script type="javascript" src="../../../ast/healthexambaseweb/js/healcombolist.js"/>
  169. <script type="javascript" ev:event="xforms-ready">
  170. <![CDATA[
  171. fGetBasicCdList();
  172. fInit();
  173. model.refresh();
  174. btn_search.dispatch("DOMActivate");
  175. ]]>
  176. </script>
  177. <script type="javascript">
  178. <![CDATA[
  179. /*
  180. * 기본코드 정보 조회
  181. */
  182. function fGetBasicCdList() {
  183. healGetCodeList( new Array("S600")
  184. , new Array("/root/init/baseinfo/healexamplacelst") );
  185. }
  186. /*
  187. * 초기화
  188. */
  189. function fInit() {
  190. var cur_date = getCurrentDate();
  191. model.setValue(ipt_ordddate.attribute("ref"), cur_date);
  192. //cmb_placeflag.select(1);
  193. model.toggle("case_exam");
  194. btn_pat.selected = true;
  195. model.toggle("case_pid");
  196. btn_patdetl.selected = true;
  197. var vHealExamDetlFg = fGetHealExamDetlFlag();
  198. if( vHealExamDetlFg == 'C01' ){
  199. cmb_placeflag.value='S';
  200. } else if (vHealExamDetlFg == 'C03') {
  201. cmb_placeflag.value='K';
  202. }
  203. cmb_placeflag.refresh();
  204. }
  205. /*
  206. * 조회 조건에 따른 건진자,검사실 리스트 및 대기자현황 조회
  207. */
  208. function fGetCntrList() {
  209. if(submit("TRAHR00106")) {
  210. var roomid = model.getValue("/root/send/room/examroomid");
  211. var placecd = model.getValue("/root/send/room/healexamplacecd");
  212. for(var i=1; i < grd_roomlst.rows ; i++ ) {
  213. var desroomid = grd_roomlst.valueMatrix( i , grd_roomlst.colRef("examroomid"));
  214. var desplacecd = grd_roomlst.valueMatrix( i , grd_roomlst.colRef("healexamplacecd"));
  215. if(desroomid == roomid && placecd == desplacecd) {
  216. grd_roomlst.valueMatrix( i , grd_roomlst.colRef("sel")) = "Y";
  217. copyNodesetType("/root/send/room","/root/main/controlinfo/cntrlst/room[" + i + "]","replace");
  218. submit("TRAHR00107");
  219. }
  220. }
  221. fSetPatPaint();
  222. submit("TRAHR00108");
  223. fSetPaintUnChoose();
  224. model.refresh();
  225. }
  226. }
  227. /*
  228. * 검사자의 필요정보를 색깔로 표시한다.
  229. */
  230. function fSetPatPaint() {
  231. grd_patlst.rebuildStyle();
  232. for( i = 1; i < grd_patlst.rows; i++) {
  233. var cmpyflag = grd_patlst.valueMatrix( i , grd_patlst.colRef("cmpyflag"));
  234. if(cmpyflag == "Y") {
  235. grd_patlst.rowStyle(i, "data", "background-color") = "#f3e1bf";
  236. }else if (cmpyflag == "N") {
  237. grd_patlst.rowStyle(i, "data", "background-color") = "#7BE6B7";
  238. }
  239. }
  240. }
  241. /*
  242. * 검사자의 검사정보 리스트를 조회
  243. */
  244. function fGetPatExamList(vGrd) {
  245. var row = vGrd.row;
  246. copyNodesetType("/root/send/patexam",vGrd.nodeset + "[" + row + "]","replace");
  247. if(submit("TRAHR00108")) {
  248. btn_patdetl.dispatch("DOMActivate");
  249. }
  250. }
  251. /*
  252. * 검사완료 후 검사실 미지정자를 표시한다.
  253. */
  254. function fSetPaintUnChoose() {
  255. grd_endlst.rebuildStyle();
  256. grd_waitlst.rebuildStyle();
  257. for(var i=0; i <= grd_endlst.rows; i++) {
  258. var waityn = grd_endlst.valueMatrix(i , grd_endlst.colRef("waityn"));
  259. if(waityn == "Y") {
  260. grd_endlst.rowStyle(i , "data" , "background-color") = "#ffff00";
  261. }
  262. }
  263. for(var j=0; j < grd_waitlst.rows; j++) {
  264. var cmpyflag = grd_waitlst.valueMatrix( j , grd_waitlst.colRef("cmpyflag"));
  265. if(cmpyflag == "Y") {
  266. grd_waitlst.rowStyle(j, "data", "background-color") = "#f3e1bf";
  267. }else if (cmpyflag == "N") {
  268. grd_waitlst.rowStyle(j, "data", "background-color") = "#7BE6B7";
  269. }
  270. }
  271. }
  272. /*
  273. *검사실 지정을 하여 선택한다.
  274. */
  275. function fSetChooseRoom() {
  276. // 선택 검사 및 검사완료여부 체크
  277. var nodeList = instance1.selectNodes("/root/main/controldetl/examlst/pre");
  278. for(var i=1; i<=grd_examlst.rows; i++) {
  279. var sel = grd_examlst.valueMatrix(i, grd_examlst.colRef("sel"));
  280. var selexamroomid = grd_examlst.valueMatrix(i, grd_examlst.colRef("examroomid"));
  281. var selhealexamplacecd = grd_examlst.valueMatrix(i, grd_examlst.colRef("healexamplacecd"));
  282. // 선택되었으면서 검사 완료 되지 않은 검사실
  283. if(sel == "Y" ) {
  284. for(var x=1; x <= grd_examlst.rows; x++) {
  285. if(selexamroomid == grd_examlst.valueMatrix(x, grd_examlst.colRef("examroomid"))) {
  286. var srchexamroomid = grd_examlst.valueMatrix(x, grd_examlst.colRef("examroomid"))
  287. var srchexamid = grd_examlst.valueMatrix(x, grd_examlst.colRef("examid"))
  288. var srchhealexamplacecd = grd_examlst.valueMatrix(x, grd_examlst.colRef("healexamplacecd"))
  289. // 선택 한 검사가 선행검사를 검사실 있는지 체크
  290. for(var j=1; j<=nodeList.length; j++) {
  291. var desexamroomid = model.getValue("/root/main/controldetl/examlst/pre[" + j + "]/examroomid");
  292. var desexamid = model.getValue("/root/main/controldetl/examlst/pre[" + j + "]/examid");
  293. var deshealexamplacecd = model.getValue("/root/main/controldetl/examlst/pre[" + j + "]/healexamplacecd");
  294. var preexamroomid = model.getValue("/root/main/controldetl/examlst/pre[" + j + "]/preexamroomid");
  295. var preexamid = model.getValue("/root/main/controldetl/examlst/pre[" + j + "]/preexamid");
  296. var preexamnm = model.getValue("/root/main/controldetl/examlst/pre[" + j + "]/preexamnm");
  297. if(srchexamroomid == desexamroomid && srchexamid == desexamid && srchhealexamplacecd == deshealexamplacecd ) {
  298. // 선행검사가 있는 검사실 일경우 선행검사 완료 되었는지 체크
  299. var node = instance1.selectNodes(grd_examlst.nodeset + "[examid='" + preexamid + "' and examroomid='" + preexamroomid + "' and finyn='N']") ;
  300. if(node.length > 0) {
  301. messageBox("선행검사 [ " + preexamnm + " ] 미완료","E008");
  302. return;
  303. break;
  304. }
  305. }
  306. }
  307. }
  308. }
  309. }
  310. }
  311. copyNodesetType("/root/send/save/choose", "/root/send/patexam","replace");
  312. var nodeList = instance1.selectNodes(grd_examlst.nodeset + "[sel='Y']");
  313. if(nodeList.length < 1) {
  314. messageBox("지정할 검사실을","C002");
  315. return;
  316. }
  317. var rCSV = getNodeListCSV(nodeList);
  318. model.makeValue("/root/send/save/choose/examroom",rCSV);
  319. if(submit("TXAHR00102")) {
  320. fGetCntrList();
  321. }
  322. }
  323. function fGetBfInqr(vGrd)
  324. {
  325. var row = vGrd.row;
  326. model.setValue("/root/send/bfinfo/srchbfpid", model.getValue(vGrd.nodeset + "[" + row + "]/pid"));
  327. model.setValue("/root/send/bfinfo/srchrtime", model.getValue(vGrd.nodeset + "[" + row + "]/rtime"));
  328. submit("TRAHR00109");
  329. model.refresh();
  330. }
  331. function fSetGridColor()
  332. {
  333. for(var i = 1 ; i < grd_waitlst.rows; i++)
  334. {
  335. if(model.getValue("/root/main/controldetl/roomdetllst/wait/bfinqrcnt") > 0)
  336. {
  337. grd_waitlst.rowStyle(i, "data", "background-color") = "#FFF000";
  338. }
  339. }
  340. for(var i = 1 ; i < grd_endlst.rows; i++)
  341. {
  342. if(model.getValue("/root/main/controldetl/roomdetllst/end/bfinqrcnt") > 0)
  343. {
  344. grd_endlst.rowStyle(i, "data", "background-color") = "#FFF000";
  345. }
  346. }
  347. }
  348. ]]>
  349. </script>
  350. </model>
  351. </xhtml:head>
  352. <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  353. <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
  354. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:98px; height:14px; ">중앙관제화면</caption>
  355. </group>
  356. <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  357. <group id="group6" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
  358. <shape id="roundrect3" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; "/>
  359. <button id="btn_search" class="btn1_letter2" style="left:1122px; top:7px; width:56px; height:22px; ">
  360. <caption>조회</caption>
  361. <script type="javascript" ev:event="DOMActivate">
  362. <![CDATA[
  363. fGetCntrList();
  364. ]]>
  365. </script>
  366. </button>
  367. <line id="line18" class="line_4" style="x1:1106px; y1:7px; x2:1106px; y2:29px; border-left-style:solid; "/>
  368. <caption id="caption59" class="search_name" style="left:186px; top:8px; width:86px; height:17px; ">건진일자 :</caption>
  369. <caption id="caption21" class="search_name" style="left:5px; top:8px; width:86px; height:17px; ">건진장소:</caption>
  370. <caption id="caption1" class="search_name" style="left:400px; top:8px; width:89px; height:17px; ">등록번호 :</caption>
  371. <caption id="caption2" class="search_name" style="left:945px; top:8px; width:89px; height:17px; ">태그번호 :</caption>
  372. <input id="ipt_ordddate" ref="/root/send/srchorddd" class="input_s_essential" inputtype="date" style="left:277px; top:8px; width:110px; height:19px; ">
  373. <script type="javascript" ev:event="xforms-value-changed">
  374. <![CDATA[
  375. btn_search.dispatch("DOMActivate");
  376. ]]>
  377. </script>
  378. </input>
  379. <select1 id="cmb_placeflag" ref="/root/send/srchhealexamplacecd" class="combo_default" appearance="minimal" style="left:98px; top:8px; width:76px; height:19px; ">
  380. <choices>
  381. <itemset nodeset="/root/init/baseinfo/healexamplacelst/S600">
  382. <label ref="cdnm"/>
  383. <value ref="cdid"/>
  384. </itemset>
  385. </choices>
  386. <script type="javascript" ev:event="xforms-value-changed">
  387. <![CDATA[
  388. btn_search.dispatch("DOMActivate");
  389. ]]>
  390. </script>
  391. </select1>
  392. <input id="btn_tagno" ref="/root/send/srchtagno" style="left:1040px; top:8px; width:60px; height:19px; ">
  393. <script type="javascript" ev:event="onkeyup">
  394. <![CDATA[
  395. if(event.keyCode == 13) {
  396. model.setValue("/root/send/srchtagno" , btn_tagno.currentText);
  397. btn_tagno.refresh();
  398. btn_search.dispatch("DOMActivate");
  399. }
  400. ]]>
  401. </script>
  402. </input>
  403. <input id="ipt_srchpid" ref="/root/send/srchpid" class="input_search" imemode="hangul" style="left:490px; top:8px; width:100px; height:19px; ">
  404. <script type="javascript" ev:event="onkeyup">
  405. <![CDATA[
  406. if(event.keyCode == 13) {
  407. btn_srchpat.dispatch("DOMActivate");
  408. }
  409. ]]>
  410. </script>
  411. </input>
  412. <button id="btn_srchpat" class="icon_search" style="left:595px; top:10px; width:16px; height:16px; ">
  413. <caption/>
  414. <script type="javascript" ev:event="DOMActivate">
  415. <![CDATA[
  416. fSearchPatInfo("SMAHA00100", "pid", ipt_srchpid.currentText , "N", "/root/send" ,ipt_srchpid.attribute("ref"), opt_srchpnm.attribute("ref") );
  417. btn_search.dispatch("DOMActivate");
  418. ]]>
  419. </script>
  420. </button>
  421. <output id="opt_srchpnm" ref="/root/send/srchpnm" class="output_fix" style="left:615px; top:8px; width:115px; height:19px; "/>
  422. <caption id="caption5" class="search_name" style="left:745px; top:8px; width:89px; height:17px; ">검사상태:</caption>
  423. <select1 id="combo1" ref="/root/send/srchexamstat" class="combo_default" appearance="minimal" style="left:830px; top:8px; width:106px; height:19px; ">
  424. <choices>
  425. <item>
  426. <label>전체</label>
  427. <value>1</value>
  428. </item>
  429. <item>
  430. <label>검사완료자</label>
  431. <value>2</value>
  432. </item>
  433. <item>
  434. <label>검사자</label>
  435. <value>3</value>
  436. </item>
  437. <item>
  438. <label>검사대기자</label>
  439. <value>4</value>
  440. </item>
  441. </choices>
  442. <script type="javascript" ev:event="xforms-value-changed">
  443. <![CDATA[
  444. btn_search.dispatch("DOMActivate");
  445. ]]>
  446. </script>
  447. </select1>
  448. </group>
  449. <switch id="sw_rfid" style="left:488px; top:71px; width:704px; height:500px; ">
  450. <case id="case_examroom" selected="true">
  451. <datagrid id="grd_waitlst" nodeset="/root/main/controldetl/roomdetllst/wait" caption="선택^고객번호^고객명^태그번호^등록시간^examid^examroomid^healexamplacecd^rtime^orddd^cmpyflag" colsep="^" colwidth="80, 150, 150, 150, 160, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:30px; width:692px; height:215px; ">
  452. <col checkvalue="Y,N" ref="sel" type="checkbox"/>
  453. <col ref="pid"/>
  454. <col ref="pidnm"/>
  455. <col ref="tagno"/>
  456. <col ref="regroomdate" format="yyyy-mm-dd hh:nn:ss"/>
  457. <col ref="examid" visibility="hidden"/>
  458. <col ref="examroomid" visibility="hidden"/>
  459. <col ref="healexamplacecd" visibility="hidden"/>
  460. <col ref="rtime" visibility="hidden"/>
  461. <col ref="orddd" visibility="hidden"/>
  462. <col ref="cmpyflag" visibility="hidden"/>
  463. <script type="javascript" ev:event="ondblclick">
  464. <![CDATA[
  465. if(isDataCell()) {
  466. fGetPatExamList(grd_waitlst);
  467. }
  468. ]]>
  469. </script>
  470. <script type="javascript" ev:event="onmousedown">
  471. <![CDATA[
  472. setPopupMenu("grd_waitlst", false, "/root/codedata/popupmenu/menu/item", "label", "func");
  473. ]]>
  474. </script>
  475. <script type="javascript" ev:event="DOMFocusOut">
  476. <![CDATA[
  477. initPopupMenu();
  478. ]]>
  479. </script>
  480. <script type="javascript" ev:event="ondelayclick">
  481. <![CDATA[
  482. fGetBfInqr(grd_waitlst);
  483. ]]>
  484. </script>
  485. </datagrid>
  486. <button id="btn_choisel" class="btn2_letter4" style="left:633px; top:5px; width:64px; height:19px; ">
  487. <caption>검사완료</caption>
  488. <script type="javascript" ev:event="DOMActivate">
  489. <![CDATA[
  490. var nodeList = instance1.selectNodes(grd_waitlst.nodeset + "[sel='Y']");
  491. var rCSV = getNodeListCSV(nodeList);
  492. model.setValue("/root/send/save/room",rCSV);
  493. model.setValue("/root/send/save/exam","");
  494. if(submit("TXAHR00101")) {
  495. fGetCntrList();
  496. }
  497. ]]>
  498. </script>
  499. </button>
  500. <caption id="caption3" class="tit_2" style="left:5px; top:10px; width:144px; height:14px; ">검사실대기자리스트</caption>
  501. <line id="line1" class="line_1" style="x1:5px; y1:25px; x2:697px; y2:25px; "/>
  502. <datagrid id="grd_endlst" nodeset="/root/main/controldetl/roomdetllst/end" caption="선택^고객번호^고객명^태그번호^등록시간^완료시간^examid^examroomid^healexamplacecd^rtime^waityn^orddd" colsep="^" colwidth="50, 120, 123, 80, 140, 140, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:275px; width:692px; height:218px; ">
  503. <col checkvalue="Y,N" ref="sel" type="checkbox"/>
  504. <col ref="pid"/>
  505. <col ref="pidnm"/>
  506. <col ref="tagno"/>
  507. <col ref="regroomdate" format="yyyy-mm-dd hh:nn:ss"/>
  508. <col ref="finroomdate" format="yyyy-mm-dd hh:nn:ss"/>
  509. <col ref="examid" visibility="hidden"/>
  510. <col ref="examroomid" visibility="hidden"/>
  511. <col ref="healexamplacecd" visibility="hidden"/>
  512. <col ref="rtime" visibility="hidden"/>
  513. <col ref="waityn" visibility="hidden"/>
  514. <col ref="orddd" visibility="hidden"/>
  515. <script type="javascript" ev:event="ondblclick">
  516. <![CDATA[
  517. if(isDataCell()) {
  518. fGetPatExamList(grd_endlst);
  519. }
  520. ]]>
  521. </script>
  522. <script type="javascript" ev:event="ondelayclick">
  523. <![CDATA[
  524. fGetBfInqr(grd_endlst);
  525. ]]>
  526. </script>
  527. </datagrid>
  528. <caption id="caption12" class="tit_2" style="left:5px; top:255px; width:144px; height:13px; ">검사완료자리스트</caption>
  529. <line id="line4" class="line_1" style="x1:5px; y1:270px; x2:697px; y2:270px; "/>
  530. <button id="button3" class="btn2_letter4" style="left:633px; top:250px; width:64px; height:19px; ">
  531. <caption>검사취소</caption>
  532. <script type="javascript" ev:event="DOMActivate">
  533. <![CDATA[
  534. var nodeList = instance1.selectNodes(grd_endlst.nodeset + "[sel='Y']");
  535. var rCSV = getNodeListCSV(nodeList);
  536. model.setValue("/root/send/save/room","");
  537. model.setValue("/root/send/save/exam",rCSV);
  538. if(submit("TXAHR00101")) {
  539. fGetCntrList();
  540. }
  541. ]]>
  542. </script>
  543. </button>
  544. <button id="button4" class="btn2_letter2" style="left:590px; top:250px; width:42px; height:19px; ">
  545. <caption>엑셀</caption>
  546. <script type="javascript" ev:event="DOMActivate">
  547. <![CDATA[
  548. var file = window.fileDialog("save","","false","","xls","Excel Files(*.xls)|*.xls");
  549. grd_endlst.saveExcel(file);
  550. ]]>
  551. </script>
  552. </button>
  553. </case>
  554. <case id="case_pid" style="left:0px; top:0px; width:702px; height:500px; ">
  555. <button id="button1" class="btn2_letter5" style="left:622px; top:5px; width:75px; height:19px; ">
  556. <caption>검사실지정</caption>
  557. <script type="javascript" ev:event="DOMActivate">
  558. <![CDATA[
  559. fSetChooseRoom();
  560. ]]>
  561. </script>
  562. </button>
  563. <datagrid id="grd_examlst" nodeset="/root/main/controldetl/examlst/item" caption="선택^방번호^검사명^대기인원^검사일^완료여부^완료시간^등록번호^rtime^건진장소^검사ID" colsep="^" colwidth="50, 80, 150, 70, 100, 80, 160, 50, 50, 50, 50" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:30px; width:692px; height:465px; ">
  564. <col checkvalue="Y,N" ref="sel" type="radio"/>
  565. <col ref="examroomid"/>
  566. <col ref="examnm"/>
  567. <col ref="waitpsncnt"/>
  568. <col ref="examorddd" format="yyyy-mm-dd"/>
  569. <col disabled="true" ref="finyn" type="combo">
  570. <choices>
  571. <item>
  572. <label>대기</label>
  573. <value>W</value>
  574. </item>
  575. <item>
  576. <label>미완료</label>
  577. <value>N</value>
  578. </item>
  579. <item>
  580. <label>완료</label>
  581. <value>Y</value>
  582. </item>
  583. </choices>
  584. </col>
  585. <col ref="findate" format="yyyy-mm-dd hh:nn:ss"/>
  586. <col ref="pid" visibility="hidden"/>
  587. <col ref="rtime" visibility="hidden"/>
  588. <col ref="healexamplacecd" visibility="hidden"/>
  589. <col ref="examid" visibility="hidden"/>
  590. </datagrid>
  591. <line id="line2" class="line_1" style="x1:5px; y1:25px; x2:697px; y2:25px; "/>
  592. <caption id="caption7" class="tit_2" style="left:5px; top:10px; width:144px; height:14px; ">검사내역</caption>
  593. </case>
  594. </switch>
  595. <button id="btn_patdetl" class="btn_sw" group="tab2" selected="true" style="left:493px; top:50px; width:90px; height:22px; ">
  596. <caption>건진자현황</caption>
  597. <script type="javascript" ev:event="DOMActivate">
  598. <![CDATA[
  599. model.toggle("case_pid");
  600. btn_patdetl.selected = true;
  601. ]]>
  602. </script>
  603. </button>
  604. <button id="btn_roomdetl" class="btn_sw" group="tab2" selected="true" style="left:583px; top:50px; width:90px; height:22px; ">
  605. <caption>검사실현황</caption>
  606. <script type="javascript" ev:event="DOMActivate">
  607. <![CDATA[
  608. model.toggle("case_examroom");
  609. btn_roomdetl.selected = true;
  610. ]]>
  611. </script>
  612. </button>
  613. <button id="button2" class="btn2_letter4" style="left:420px; top:50px; width:64px; height:19px; ">
  614. <caption>새로고침</caption>
  615. <script type="javascript" ev:event="DOMActivate">
  616. <![CDATA[
  617. fGetCntrList();
  618. ]]>
  619. </script>
  620. </button>
  621. <switch id="switch1" style="left:0px; top:71px; width:484px; height:615px; ">
  622. <case id="case_exam" style="left:0px; top:0px; width:484px; height:615px; ">
  623. <line id="line5" class="line_1" style="x1:5px; y1:25px; x2:477px; y2:25px; "/>
  624. <caption id="caption11" class="tit_2" style="left:5px; top:10px; width:144px; height:14px; ">건진자현황</caption>
  625. <datagrid id="grd_patlst" nodeset="/root/main/controlinfo/cntrlst/pat" caption="등록번호^성명^성별^나이^태그번호^등록시간^단체여부^rtime^healexamplacecd^orddd" colsep="^" colwidth="90, 90, 40, 40, 60, 120, 60, 100, 100, 100" explorerbar="sortshowmove" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:30px; width:472px; height:577px; ">
  626. <col ref="pid"/>
  627. <col ref="pnm"/>
  628. <col ref="sex"/>
  629. <col ref="age"/>
  630. <col ref="tagno"/>
  631. <col ref="regtime" format="yyyy-mm-dd hh:nn:ss"/>
  632. <col checkvalue="Y,N" disabled="true" ref="cmpyflag" type="checkbox"/>
  633. <col ref="rtime" visibility="hidden"/>
  634. <col ref="healexamplacecd" visibility="hidden"/>
  635. <col ref="orddd" visibility="hidden"/>
  636. <script type="javascript" ev:event="ondblclick">
  637. <![CDATA[
  638. if(isDataCell()) {
  639. fGetPatExamList(grd_patlst);
  640. }
  641. ]]>
  642. </script>
  643. <script type="javascript" ev:event="onaftersort">
  644. <![CDATA[
  645. grd_patlst.gridToInstance();
  646. ]]>
  647. </script>
  648. </datagrid>
  649. </case>
  650. <case id="case_room" selected="true" style="left:0px; top:0px; width:484px; height:613px; ">
  651. <line id="line20" class="line_1" style="x1:5px; y1:25px; x2:477px; y2:25px; "/>
  652. <caption id="caption4" class="tit_2" style="left:5px; top:10px; width:144px; height:14px; ">검사실현황</caption>
  653. <datagrid id="grd_roomlst" nodeset="/root/main/controlinfo/cntrlst/room" caption="선택^검사실코드^검사실명^대기인원^건진장소^건진일자" colsep="^" colwidth="50, 100, 200, 95, 50, 50" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:30px; width:472px; height:577px; ">
  654. <col checkvalue="Y,N" ref="sel" type="radio" style="left:0px; top:23px; width:50px; height:23px; "/>
  655. <col ref="examroomid"/>
  656. <col ref="examroomnm"/>
  657. <col ref="waitpsncnt" style="text-align:center; "/>
  658. <col ref="healexamplacecd" visibility="hidden"/>
  659. <col ref="orddd" visibility="hidden"/>
  660. <script type="javascript" ev:event="xforms-select">
  661. <![CDATA[
  662. if(isDataCell()) {
  663. var col = grd_roomlst.col;
  664. if(col == grd_roomlst.colRef("sel")) {
  665. var row = grd_roomlst.row;
  666. copyNodesetType("/root/send/room","/root/main/controlinfo/cntrlst/room[" + row + "]","replace");
  667. model.setValue("/root/send/bfinfo/srchroom", model.getValue("/root/main/controlinfo/cntrlst/room[" + row + "]/examroomid"));
  668. if(submit("TRAHR00107")) {
  669. btn_roomdetl.dispatch("DOMActivate");
  670. fSetPaintUnChoose();
  671. fSetGridColor();
  672. }
  673. }
  674. }
  675. ]]>
  676. </script>
  677. </datagrid>
  678. </case>
  679. </switch>
  680. <caption id="cap_rsrvflag" class="cell_1" style="left:240px; top:692px; width:77px; height:23px; vertical-align:middle; ">검사완료자</caption>
  681. <line id="line46" class="line_2" style="x1:0px; y1:690px; x2:484px; y2:690px; "/>
  682. <caption id="caption8" class="cell_1" style="left:0px; top:692px; width:77px; height:23px; vertical-align:middle; ">전체검사자</caption>
  683. <caption id="caption9" class="cell_1" style="left:0px; top:718px; width:77px; height:23px; vertical-align:middle; ">검사자</caption>
  684. <line id="line3" class="line_2" style="x1:0px; y1:716px; x2:484px; y2:716px; "/>
  685. <output id="opt_acptcnt" ref="/root/main/controlinfo/cntrlst/patcnt/endcnt" class="output_fix" style="left:319px; top:694px; width:163px; height:19px; text-align:right; "/>
  686. <output id="output1" ref="/root/main/controlinfo/cntrlst/patcnt/totcnt" class="output_fix" style="left:79px; top:694px; width:158px; height:19px; text-align:right; "/>
  687. <output id="output2" ref="/root/main/controlinfo/cntrlst/patcnt/examcnt" class="output_fix" style="left:79px; top:720px; width:158px; height:19px; text-align:right; "/>
  688. <line id="line6" class="line_2" style="x1:0px; y1:741px; x2:484px; y2:741px; "/>
  689. <caption id="caption10" class="cell_1" style="left:240px; top:717px; width:77px; height:23px; vertical-align:middle; ">검사대기자</caption>
  690. <output id="output3" ref="/root/main/controlinfo/cntrlst/patcnt/waitcnt" class="output_fix" style="left:319px; top:720px; width:163px; height:19px; text-align:right; "/>
  691. <button id="btn_pat" class="btn_sw" group="tab1" selected="true" style="left:5px; top:50px; width:60px; height:22px; ">
  692. <caption>건진자</caption>
  693. <script type="javascript" ev:event="DOMActivate">
  694. <![CDATA[
  695. model.toggle("case_exam");
  696. btn_pat.selected = true;
  697. ]]>
  698. </script>
  699. </button>
  700. <button id="btn_room" class="btn_sw" group="tab1" selected="true" style="left:65px; top:50px; width:60px; height:22px; ">
  701. <caption>검사실</caption>
  702. <script type="javascript" ev:event="DOMActivate">
  703. <![CDATA[
  704. model.toggle("case_room");
  705. btn_room.selected = true;
  706. ]]>
  707. </script>
  708. </button>
  709. <line id="line7" class="line_1" style="x1:489px; y1:600px; x2:1191px; y2:600px; "/>
  710. <caption id="caption13" class="tit_2" style="left:490px; top:580px; width:144px; height:13px; ">사전질의 알림</caption>
  711. <datagrid id="datagrid1" nodeset="/root/main/bfinqrinfo/bfinqr" caption="사전질의사항^답변" colsep="^" colwidth="315, 109" mergecellsfixedrows="bycolrec" rowsep="|" style="left:488px; top:605px; width:447px; height:134px; ">
  712. <col ref="inqrnm"/>
  713. <col ref="answcnts"/>
  714. </datagrid>
  715. <textarea id="tar_remcnts" ref="/root/main/bfinqrinfo/remcnts/remcnts" disabled="true" maxlength="500" style="left:940px; top:605px; width:249px; height:131px; "/>
  716. <input id="ipt_ownbamt" ref="/root/main/bfinqrinfo/remcnts/clntgrde" class="input_default" disabled="true" style="left:1050px; top:575px; width:135px; height:19px; text-align:right; "/>
  717. <caption id="caption26" class="cell_1" style="left:982px; top:575px; width:66px; height:20px; vertical-align:middle; ">
  718. <![CDATA[고객등급]]>
  719. <script type="javascript" ev:event="onclick">
  720. <![CDATA[
  721. fPriceCheck();
  722. ]]>
  723. </script>
  724. </caption>
  725. <caption id="caption35" class="color_3" style="left:1091px; top:51px; width:15px; height:15px; "/>
  726. <caption id="caption36" style="left:1109px; top:52px; width:44px; height:14px; ">단체</caption>
  727. <caption id="caption37" class="color_4" style="left:1140px; top:51px; width:15px; height:15px; "/>
  728. <caption id="caption38" style="left:1158px; top:52px; width:33px; height:14px; ">개인</caption>
  729. </group>
  730. <group id="group4" scroll="auto" style="left:0px; top:757px; width:1195px; height:27px; "/>
  731. </xhtml:body>
  732. </xhtml:html>