SMAHR00120_중앙관제시스템.xfdl 72 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMAHR00120" position="absolute 0 0 1196 751" titletext="중앙관제" onload="SMAHR00120_onload" ontimer="SMAHR00120_ontimer">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 13 1196 751" id="group3" scrollbars="autoboth" anchor="all">
  8. <Layouts>
  9. <Layout>
  10. <Div position="absolute 0 12 1194 52" align="align:center top;" id="group6" class="div_SA" anchor="left top right">
  11. <Layouts>
  12. <Layout>
  13. <Button position="absolute 1122 10 1178 32" id="btn_search" class="btn1" text="조회" anchor="top right" onclick="group3_group6_btn_search_onclick"/>
  14. <Shape position="absolute 1105 10 1111 32" linetype="vertical" id="line18" class="line_4" anchor="top right"/>
  15. <Static text="건진일자 :" position="absolute 186 12 272 29" id="caption59" class="search_name" anchor="default"/>
  16. <Static text="건진장소 :" position="absolute 8 12 92 29" id="caption21" class="search_name" anchor="default"/>
  17. <Static text="등록번호 :" position="absolute 400 12 489 29" id="caption1" class="search_name" anchor="default"/>
  18. <Static text="태그번호 :" position="absolute 945 12 1034 29" id="caption2" class="search_name" anchor="default"/>
  19. <Calendar position="absolute 277 11 387 30" id="ipt_ordddate" class="input_essential" anchor="default" onchanged="group3_group6_ipt_ordddate_onchanged"/>
  20. <Combo position="absolute 98 11 174 30" id="cmb_placeflag" class="combo_default" innerdataset="@ds_init_baseinfo_healexamplacelst" datacolumn="cdnm" codecolumn="cdid" anchor="default" onitemchanged="group3_group6_cmb_placeflag_onitemchanged"/>
  21. <Edit position="absolute 1032 11 1092 30" id="btn_tagno" anchor="default" onkeyup="group3_group6_btn_tagno_onkeyup"/>
  22. <Edit position="absolute 490 11 590 30" id="ipt_srchpid" class="input_search" anchor="default" onkeyup="group3_group6_ipt_srchpid_onkeyup"/>
  23. <Button position="absolute 595 13 611 29" id="btn_srchpat" class="icon_search" text="" anchor="default" onclick="group3_group6_btn_srchpat_onclick"/>
  24. <Edit readonly="true" position="absolute 615 11 730 30" id="opt_srchpnm" anchor="default" class="output"/>
  25. <Static text="검사상태 :" position="absolute 745 12 834 29" id="caption5" class="search_name" anchor="default"/>
  26. <Combo position="absolute 830 11 936 30" id="combo1" class="combo_default" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default" onitemchanged="group3_group6_combo1_onitemchanged">
  27. <Dataset id="innerdataset">
  28. <ColumnInfo>
  29. <Column id="codecolumn"/>
  30. <Column id="datacolumn"/>
  31. </ColumnInfo>
  32. <Rows>
  33. <Row>
  34. <Col id="codecolumn">1</Col>
  35. <Col id="datacolumn">전체</Col>
  36. </Row>
  37. <Row>
  38. <Col id="codecolumn">2</Col>
  39. <Col id="datacolumn">검사완료자</Col>
  40. </Row>
  41. <Row>
  42. <Col id="codecolumn">3</Col>
  43. <Col id="datacolumn">검사자</Col>
  44. </Row>
  45. <Row>
  46. <Col id="codecolumn">4</Col>
  47. <Col id="datacolumn">검사대기자</Col>
  48. </Row>
  49. </Rows>
  50. </Dataset>
  51. </Combo>
  52. </Layout>
  53. </Layouts>
  54. </Div>
  55. <Tab position="absolute 488 54 1194 571" id="sw_rfid" anchor="all">
  56. <Tabpages>
  57. <Tabpage text="건진자현황" position="absolute 0 0 702 500" id="case_pid">
  58. <Layouts>
  59. <Layout>
  60. <Button position="absolute 628 1 703 23" id="button1" class="btn2" text="검사실지정" anchor="top right" onclick="group3_sw_rfid_case_pid_button1_onclick"/>
  61. <Grid position="absolute 3 28 703 485" id="grd_examlst" binddataset="ds_main_controldetl_examlst_item" anchor="all" class="grd_radio" autoenter="key" cellsizingtype="col" cellclickbound="cell" oncellclick="group3_sw_rfid_case_pid_grd_examlst_oncellclick" onlbuttonup="group3_sw_rfid_case_pid_grd_examlst_onlbuttonup" onheadclick="group3_sw_rfid_case_pid_grd_examlst_onheadclick">
  62. <Formats>
  63. <Format id="default">
  64. <Columns>
  65. <Column size="50"/>
  66. <Column size="80"/>
  67. <Column size="150"/>
  68. <Column size="70"/>
  69. <Column size="100"/>
  70. <Column size="80"/>
  71. <Column size="160"/>
  72. <Column size="0"/>
  73. <Column size="0"/>
  74. <Column size="0"/>
  75. <Column size="0"/>
  76. </Columns>
  77. <Rows>
  78. <Row size="24" band="head"/>
  79. <Row size="24"/>
  80. </Rows>
  81. <Band id="head">
  82. <Cell text="선택"/>
  83. <Cell col="1" text="방번호"/>
  84. <Cell col="2" text="검사명"/>
  85. <Cell col="3" text="대기인원"/>
  86. <Cell col="4" text="검사일"/>
  87. <Cell col="5" text="완료여부"/>
  88. <Cell col="6" text="완료시간"/>
  89. <Cell col="7" text="등록번호"/>
  90. <Cell col="8" text="rtime"/>
  91. <Cell col="9" text="건진장소"/>
  92. <Cell col="10" text="검사ID"/>
  93. </Band>
  94. <Band id="body">
  95. <Cell displaytype="checkbox" edittype="checkbox" text="bind:sel" expr="expr:(sel==&quot;Y&quot;||sel==1)?1:0"/>
  96. <Cell col="1" text="bind:examroomid"/>
  97. <Cell col="2" displaytype="text" text="bind:examnm"/>
  98. <Cell col="3" text="bind:waitpsncnt"/>
  99. <Cell col="4" text="bind:examorddd" mask="expr:utlf_isNull(examorddd) ? '' : '####-##-##'"/>
  100. <Cell col="5" displaytype="combo" edittype="combo" text="bind:finyn" combodataset="ds_cmb_finyn" combocodecol="value" combodatacol="label" enable="false"/>
  101. <Cell col="6" text="bind:findate" mask="expr:utlf_isNull(findate) ? '' : '####-##-## ##:##:##'"/>
  102. <Cell col="7" text="bind:pid"/>
  103. <Cell col="8" text="bind:rtime"/>
  104. <Cell col="9" text="bind:healexamplacecd"/>
  105. <Cell col="10" text="bind:examid"/>
  106. </Band>
  107. </Format>
  108. </Formats>
  109. </Grid>
  110. <Shape position="absolute 3 23 703 29" linetype="horizontal" id="line2" class="line_10" anchor="left top right"/>
  111. <Static text="검사내역" position="absolute 3 7 147 24" id="caption7" class="tit_2" anchor="default"/>
  112. </Layout>
  113. </Layouts>
  114. </Tabpage>
  115. <Tabpage text="검사실현황" id="case_examroom">
  116. <Layouts>
  117. <Layout>
  118. <Grid position="absolute 3 28 703 243" id="grd_waitlst" binddataset="ds_main_controldetl_roomdetllst_wait" anchor="left top right" oncelldblclick="group3_sw_rfid_case_examroom_grd_waitlst_oncelldblclick" onrbuttonup="group3_sw_rfid_case_examroom_grd_waitlst_onrbuttonup" oncellclick="group3_sw_rfid_case_examroom_grd_waitlst_oncellclick" autoenter="key" cellsizingtype="col" cellclickbound="cell" onheadclick="group3_sw_rfid_case_examroom_grd_waitlst_onheadclick">
  119. <Formats>
  120. <Format id="default">
  121. <Columns>
  122. <Column size="80"/>
  123. <Column size="150"/>
  124. <Column size="150"/>
  125. <Column size="150"/>
  126. <Column size="160"/>
  127. <Column size="0"/>
  128. <Column size="0"/>
  129. <Column size="0"/>
  130. <Column size="0"/>
  131. <Column size="0"/>
  132. <Column size="0"/>
  133. </Columns>
  134. <Rows>
  135. <Row size="24" band="head"/>
  136. <Row size="24"/>
  137. </Rows>
  138. <Band id="head">
  139. <Cell text="선택"/>
  140. <Cell col="1" text="고객번호"/>
  141. <Cell col="2" text="고객명"/>
  142. <Cell col="3" text="태그번호"/>
  143. <Cell col="4" text="등록시간"/>
  144. <Cell col="5" text="examid"/>
  145. <Cell col="6" text="examroomid"/>
  146. <Cell col="7" text="healexamplacecd"/>
  147. <Cell col="8" text="rtime"/>
  148. <Cell col="9" text="orddd"/>
  149. <Cell col="10" text="cmpyflag"/>
  150. </Band>
  151. <Band id="body">
  152. <Cell displaytype="checkbox" edittype="checkbox" text="bind:sel" expr="expr:(sel==&quot;Y&quot;||sel==1)?1:0"/>
  153. <Cell col="1" displaytype="text" text="bind:pid"/>
  154. <Cell col="2" displaytype="text" text="bind:pidnm"/>
  155. <Cell col="3" displaytype="text" text="bind:tagno"/>
  156. <Cell col="4" text="bind:regroomdate" mask="expr:utlf_isNull(regroomdate) ? '' : '####-##-## ##:##:##'"/>
  157. <Cell col="5" text="bind:examid"/>
  158. <Cell col="6" text="bind:examroomid"/>
  159. <Cell col="7" text="bind:healexamplacecd"/>
  160. <Cell col="8" text="bind:rtime"/>
  161. <Cell col="9" text="bind:orddd"/>
  162. <Cell col="10" text="bind:cmpyflag"/>
  163. </Band>
  164. </Format>
  165. </Formats>
  166. </Grid>
  167. <Button position="absolute 639 1 703 23" id="btn_choisel" class="btn2" text="검사완료" anchor="top right" onclick="group3_sw_rfid_case_examroom_btn_choisel_onclick"/>
  168. <Static text="검사실대기자리스트" position="absolute 3 7 155 24" id="caption3" class="tit_2" anchor="default"/>
  169. <Shape position="absolute 3 23 703 29" id="line1" class="line_10" anchor="left top right"/>
  170. <Grid position="absolute 3 272 703 490" id="grd_endlst" binddataset="ds_main_controldetl_roomdetllst_end" anchor="all" oncelldblclick="group3_sw_rfid_case_examroom_grd_endlst_oncelldblclick" onlbuttonup="group3_sw_rfid_case_examroom_grd_endlst_onlbuttonup" autoenter="key" cellsizingtype="col" cellclickbound="cell" onheadclick="group3_sw_rfid_case_examroom_grd_endlst_onheadclick">
  171. <Formats>
  172. <Format id="default">
  173. <Columns>
  174. <Column size="25" band="left"/>
  175. <Column size="50"/>
  176. <Column size="120"/>
  177. <Column size="123"/>
  178. <Column size="80"/>
  179. <Column size="140"/>
  180. <Column size="140"/>
  181. <Column size="0"/>
  182. <Column size="0"/>
  183. <Column size="0"/>
  184. <Column size="0"/>
  185. <Column size="0"/>
  186. <Column size="0"/>
  187. </Columns>
  188. <Rows>
  189. <Row size="24" band="head"/>
  190. <Row size="24"/>
  191. </Rows>
  192. <Band id="head">
  193. <Cell/>
  194. <Cell col="1" text="선택"/>
  195. <Cell col="2" text="고객번호"/>
  196. <Cell col="3" text="고객명"/>
  197. <Cell col="4" text="태그번호"/>
  198. <Cell col="5" text="등록시간"/>
  199. <Cell col="6" text="완료시간"/>
  200. <Cell col="7" text="examid"/>
  201. <Cell col="8" text="examroomid"/>
  202. <Cell col="9" text="healexamplacecd"/>
  203. <Cell col="10" text="rtime"/>
  204. <Cell col="11" text="waityn"/>
  205. <Cell col="12" text="orddd"/>
  206. </Band>
  207. <Band id="body">
  208. <Cell celltype="head" text="expr:currow+1"/>
  209. <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:sel" expr="expr:(sel==&quot;Y&quot;||sel==1)?1:0"/>
  210. <Cell col="2" displaytype="text" text="bind:pid"/>
  211. <Cell col="3" displaytype="text" text="bind:pidnm"/>
  212. <Cell col="4" displaytype="text" text="bind:tagno"/>
  213. <Cell col="5" text="bind:regroomdate" mask="expr:utlf_isNull(regroomdate) ? '' : '####-##-## ##:##:##'"/>
  214. <Cell col="6" text="bind:finroomdate" mask="expr:utlf_isNull(finroomdate) ? '' : '####-##-## ##:##:##'"/>
  215. <Cell col="7" text="bind:examid"/>
  216. <Cell col="8" text="bind:examroomid"/>
  217. <Cell col="9" text="bind:healexamplacecd"/>
  218. <Cell col="10" text="bind:rtime"/>
  219. <Cell col="11" text="bind:waityn"/>
  220. <Cell col="12" text="bind:orddd"/>
  221. </Band>
  222. </Format>
  223. </Formats>
  224. </Grid>
  225. <Static text="검사완료자리스트" position="absolute 3 251 147 268" id="caption12" class="tit_2" anchor="default"/>
  226. <Shape position="absolute 3 267 703 273" linetype="horizontal" id="line4" class="line_10" anchor="left top right"/>
  227. <Button position="absolute 639 245 703 267" id="button3" class="btn2" text="검사취소" anchor="top right" onclick="group3_sw_rfid_case_examroom_button3_onclick"/>
  228. <Button position="absolute 584 245 637 267" id="button4" class="btn7" text="엑셀" anchor="top right" onclick="group3_sw_rfid_case_examroom_button4_onclick"/>
  229. </Layout>
  230. </Layouts>
  231. </Tabpage>
  232. </Tabpages>
  233. </Tab>
  234. <Tab position="absolute 0 54 484 679" id="switch1" anchor="left top bottom">
  235. <Tabpages>
  236. <Tabpage text="건진자" position="absolute 0 0 484 615" id="case_exam">
  237. <Layouts>
  238. <Layout>
  239. <Shape position="absolute 3 22 481 28" id="line5" class="line_10" anchor="default"/>
  240. <Static text="건진자현황" position="absolute 3 6 147 23" id="caption11" class="tit_2" anchor="default"/>
  241. <Grid position="absolute 3 27 481 598" id="grd_patlst" binddataset="ds_main_controlinfo_cntrlst_pat" anchor="all" oncelldblclick="group3_switch1_case_exam_grd_patlst_oncelldblclick" autoenter="key" cellsizingtype="col" cellclickbound="cell" onheadclick="group3_switch1_case_exam_grd_patlst_onheadclick">
  242. <Formats>
  243. <Format id="default">
  244. <Columns>
  245. <Column size="25" band="left"/>
  246. <Column size="90"/>
  247. <Column size="90"/>
  248. <Column size="40"/>
  249. <Column size="40"/>
  250. <Column size="60"/>
  251. <Column size="120"/>
  252. <Column size="60"/>
  253. <Column size="0"/>
  254. <Column size="0"/>
  255. <Column size="0"/>
  256. </Columns>
  257. <Rows>
  258. <Row size="24" band="head"/>
  259. <Row size="24"/>
  260. </Rows>
  261. <Band id="head">
  262. <Cell/>
  263. <Cell col="1" text="등록번호"/>
  264. <Cell col="2" text="성명"/>
  265. <Cell col="3" text="성별"/>
  266. <Cell col="4" text="나이"/>
  267. <Cell col="5" text="태그번호"/>
  268. <Cell col="6" text="등록시간"/>
  269. <Cell col="7" text="단체여부"/>
  270. <Cell col="8" text="rtime"/>
  271. <Cell col="9" text="healexamplacecd"/>
  272. <Cell col="10" text="orddd"/>
  273. </Band>
  274. <Band id="body">
  275. <Cell celltype="head" text="expr:currow+1"/>
  276. <Cell col="1" text="bind:pid"/>
  277. <Cell col="2" text="bind:pnm"/>
  278. <Cell col="3" text="bind:sex"/>
  279. <Cell col="4" text="bind:age"/>
  280. <Cell col="5" text="bind:tagno"/>
  281. <Cell col="6" text="bind:regtime" mask="expr:utlf_isNull(regtime) ? '' : '####-##-## ##:##:##'"/>
  282. <Cell col="7" displaytype="checkbox" edittype="checkbox" text="bind:cmpyflag" expr="expr:(cmpyflag==&quot;Y&quot;||cmpyflag==1)?1:0" enable="false"/>
  283. <Cell col="8" text="bind:rtime"/>
  284. <Cell col="9" text="bind:healexamplacecd"/>
  285. <Cell col="10" text="bind:orddd"/>
  286. </Band>
  287. </Format>
  288. </Formats>
  289. </Grid>
  290. </Layout>
  291. </Layouts>
  292. </Tabpage>
  293. <Tabpage text="검사실" position="absolute 0 0 484 613" id="case_room">
  294. <Layouts>
  295. <Layout>
  296. <Shape position="absolute 3 23 481 29" linetype="horizontal" id="line20" class="line_10" anchor="default"/>
  297. <Static text="검사실현황" position="absolute 3 7 147 23" id="caption4" class="tit_2" anchor="default"/>
  298. <Grid position="absolute 3 28 481 598" id="grd_roomlst" binddataset="ds_main_controlinfo_cntrlst_room" anchor="all" class="grd_radio" onselectchanged="group3_switch1_case_room_grd_roomlst_onselectchanged" autoenter="key" cellclickbound="cell" cellsizingtype="col" oncellclick="group3_switch1_case_room_grd_roomlst_oncellclick" onlbuttonup="group3_switch1_case_room_grd_roomlst_onlbuttonup" onheadclick="group3_switch1_case_room_grd_roomlst_onheadclick">
  299. <Formats>
  300. <Format id="default">
  301. <Columns>
  302. <Column size="50"/>
  303. <Column size="100"/>
  304. <Column size="200"/>
  305. <Column size="95"/>
  306. <Column size="0"/>
  307. <Column size="0"/>
  308. </Columns>
  309. <Rows>
  310. <Row size="24" band="head"/>
  311. <Row size="24"/>
  312. </Rows>
  313. <Band id="head">
  314. <Cell text="선택"/>
  315. <Cell col="1" text="검사실코드"/>
  316. <Cell col="2" text="검사실명"/>
  317. <Cell col="3" text="대기인원"/>
  318. <Cell col="4" text="건진장소"/>
  319. <Cell col="5" text="건진일자"/>
  320. </Band>
  321. <Band id="body">
  322. <Cell displaytype="checkbox" edittype="checkbox" text="bind:sel" expr="expr:(sel==&quot;Y&quot;||sel==1)?1:0"/>
  323. <Cell col="1" displaytype="text" text="bind:examroomid"/>
  324. <Cell col="2" displaytype="text" text="bind:examroomnm"/>
  325. <Cell col="3" text="bind:waitpsncnt"/>
  326. <Cell col="4" text="bind:healexamplacecd"/>
  327. <Cell col="5" text="bind:orddd"/>
  328. </Band>
  329. </Format>
  330. </Formats>
  331. </Grid>
  332. </Layout>
  333. </Layouts>
  334. </Tabpage>
  335. </Tabpages>
  336. </Tab>
  337. <Static text="검사완료자" position="absolute 241 682 318 705" align="align:center middle;" id="cap_rsrvflag" class="cell_1" anchor="left bottom"/>
  338. <Shape position="absolute 1 678 485 684" linetype="horizontal" id="line46" class="line_2" anchor="left bottom"/>
  339. <Static text="전체검사자" position="absolute 1 682 78 705" align="align:center middle;" id="caption8" class="cell_1" anchor="left bottom"/>
  340. <Static text="검사자" position="absolute 1 708 78 731" align="align:center middle;" id="caption9" class="cell_1" anchor="left bottom"/>
  341. <Shape position="absolute 1 704 485 710" linetype="horizontal" id="line3" class="line_2" anchor="left bottom"/>
  342. <Edit readonly="true" position="absolute 320 684 483 703" align="align:right middle;" id="opt_acptcnt" anchor="left bottom" class="output"/>
  343. <Edit readonly="true" position="absolute 80 684 238 703" align="align:right middle;" id="output1" anchor="left bottom" class="output"/>
  344. <Edit readonly="true" position="absolute 80 710 238 729" align="align:right middle;" id="output2" anchor="left bottom" class="output"/>
  345. <Shape position="absolute 1 730 485 736" linetype="horizontal" id="line6" class="line_2" anchor="left bottom"/>
  346. <Static text="검사대기자" position="absolute 241 708 318 731" align="align:center middle;" id="caption10" class="cell_1" anchor="left bottom"/>
  347. <Edit readonly="true" position="absolute 320 710 483 729" align="align:right middle;" id="output3" anchor="left bottom" class="output"/>
  348. <Shape position="absolute 491 594 1191 600" linetype="horizontal" id="line7" class="line_10" anchor="left right bottom"/>
  349. <Static text="사전질의 알림" position="absolute 491 578 635 595" id="caption13" class="tit_2" anchor="left bottom"/>
  350. <Grid position="absolute 491 599 938 733" id="datagrid1" binddataset="ds_main_bfinqrinfo_bfinqr" anchor="left bottom">
  351. <Formats>
  352. <Format id="default">
  353. <Columns>
  354. <Column size="315"/>
  355. <Column size="109"/>
  356. </Columns>
  357. <Rows>
  358. <Row size="24" band="head"/>
  359. <Row size="24"/>
  360. </Rows>
  361. <Band id="head">
  362. <Cell text="사전질의사항"/>
  363. <Cell col="1" text="답변"/>
  364. </Band>
  365. <Band id="body">
  366. <Cell displaytype="text" text="bind:inqrnm"/>
  367. <Cell col="1" displaytype="text" text="bind:answcnts"/>
  368. </Band>
  369. </Format>
  370. </Formats>
  371. </Grid>
  372. <TextArea position="absolute 940 599 1191 733" id="tar_remcnts" enable="false" anchor="left right bottom"/>
  373. <Edit position="absolute 1056 575 1191 594" align="align:right middle;" id="ipt_ownbamt" class="input_default" enable="false" anchor="right bottom"/>
  374. <Static text="고객등급" position="absolute 989 574 1055 594" align="align:center middle;" id="caption26" class="cell_1" anchor="right bottom" onclick="group3_caption26_onclick"/>
  375. <Static position="absolute 1091 59 1106 74" id="caption35" class="color_3" anchor="top right"/>
  376. <Static text="단체" position="absolute 1109 60 1153 74" id="caption36" anchor="top right"/>
  377. <Static position="absolute 1140 59 1155 74" id="caption37" class="color_4" anchor="top right"/>
  378. <Static text="개인" position="absolute 1158 60 1191 74" id="caption38" anchor="top right"/>
  379. <Button position="absolute 420 54 484 76" id="button2" class="btn2" text="새로고침" anchor="default" onclick="group3_button2_onclick"/>
  380. </Layout>
  381. </Layouts>
  382. </Div>
  383. <Static id="caption6" text="중앙관제화면" class="tit_1" position="absolute 0 0 120 25"/>
  384. </Layout>
  385. </Layouts>
  386. <Objects>
  387. <Dataset id="ds_send_save_room" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
  388. <Dataset id="ds_send_save_exam" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
  389. <Dataset id="ds_main_bfinqrinfo_bfinqr" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  390. <ColumnInfo>
  391. <Column id="inqrnm" type="STRING" size="256"/>
  392. <Column id="answcnts" type="STRING" size="256"/>
  393. </ColumnInfo>
  394. <Rows>
  395. <Row>
  396. <Col id="inqrnm"/>
  397. <Col id="answcnts"/>
  398. </Row>
  399. </Rows>
  400. </Dataset>
  401. <Dataset id="ds_main_controldetl_roomdetllst_wait" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep" oncolumnchanged="ds_main_controldetl_roomdetllst_wait_oncolumnchanged">
  402. <ColumnInfo>
  403. <Column id="sel" type="STRING" size="256"/>
  404. <Column id="pid" type="STRING" size="256"/>
  405. <Column id="pidnm" type="STRING" size="256"/>
  406. <Column id="tagno" type="STRING" size="256"/>
  407. <Column id="regroomdate" type="STRING" size="256"/>
  408. <Column id="examid" type="STRING" size="256"/>
  409. <Column id="examroomid" type="STRING" size="256"/>
  410. <Column id="healexamplacecd" type="STRING" size="256"/>
  411. <Column id="rtime" type="STRING" size="256"/>
  412. <Column id="orddd" type="STRING" size="256"/>
  413. <Column id="cmpyflag" type="STRING" size="256"/>
  414. </ColumnInfo>
  415. <Rows>
  416. <Row>
  417. <Col id="sel"/>
  418. <Col id="pid"/>
  419. <Col id="pidnm"/>
  420. <Col id="tagno"/>
  421. <Col id="regroomdate"/>
  422. <Col id="examid"/>
  423. <Col id="examroomid"/>
  424. <Col id="healexamplacecd"/>
  425. <Col id="rtime"/>
  426. <Col id="orddd"/>
  427. <Col id="cmpyflag"/>
  428. </Row>
  429. </Rows>
  430. </Dataset>
  431. <Dataset id="ds_main_controldetl_examlst_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep" oncolumnchanged="ds_main_controldetl_examlst_item_oncolumnchanged">
  432. <ColumnInfo>
  433. <Column id="sel" type="STRING" size="256"/>
  434. <Column id="examroomid" type="STRING" size="256"/>
  435. <Column id="examnm" type="STRING" size="256"/>
  436. <Column id="waitpsncnt" type="STRING" size="256"/>
  437. <Column id="examorddd" type="STRING" size="256"/>
  438. <Column id="finyn" type="STRING" size="256"/>
  439. <Column id="findate" type="STRING" size="256"/>
  440. <Column id="pid" type="STRING" size="256"/>
  441. <Column id="rtime" type="STRING" size="256"/>
  442. <Column id="healexamplacecd" type="STRING" size="256"/>
  443. <Column id="examid" type="STRING" size="256"/>
  444. </ColumnInfo>
  445. <Rows>
  446. <Row>
  447. <Col id="sel"/>
  448. <Col id="examroomid"/>
  449. <Col id="examnm"/>
  450. <Col id="waitpsncnt"/>
  451. <Col id="examorddd"/>
  452. <Col id="finyn"/>
  453. <Col id="findate"/>
  454. <Col id="pid"/>
  455. <Col id="rtime"/>
  456. <Col id="healexamplacecd"/>
  457. <Col id="examid"/>
  458. </Row>
  459. </Rows>
  460. </Dataset>
  461. <Dataset id="ds_send_save_choose" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  462. <ColumnInfo>
  463. <Column id="examroom" type="STRING" size="256"/>
  464. </ColumnInfo>
  465. <Rows>
  466. <Row>
  467. <Col id="examroom"/>
  468. </Row>
  469. </Rows>
  470. </Dataset>
  471. <Dataset id="ds_main_bfinqrinfo_remcnts" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  472. <ColumnInfo>
  473. <Column id="remcnts" type="STRING" size="256"/>
  474. <Column id="clntgrde" type="STRING" size="256"/>
  475. </ColumnInfo>
  476. <Rows>
  477. <Row>
  478. <Col id="remcnts"/>
  479. <Col id="clntgrde"/>
  480. </Row>
  481. </Rows>
  482. </Dataset>
  483. <Dataset id="ds_init_baseinfo_healexamplacelst" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
  484. <Dataset id="ds_main_controlinfo_cntrlst_patcnt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  485. <ColumnInfo>
  486. <Column id="totcnt" type="STRING" size="256"/>
  487. <Column id="endcnt" type="STRING" size="256"/>
  488. <Column id="examcnt" type="STRING" size="256"/>
  489. <Column id="waitcnt" type="STRING" size="256"/>
  490. </ColumnInfo>
  491. <Rows>
  492. <Row>
  493. <Col id="totcnt"/>
  494. <Col id="endcnt"/>
  495. <Col id="examcnt"/>
  496. <Col id="waitcnt"/>
  497. </Row>
  498. </Rows>
  499. </Dataset>
  500. <Dataset id="ds_main_controldetl_roomdetllst_end" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep" oncolumnchanged="ds_main_controldetl_roomdetllst_end_oncolumnchanged">
  501. <ColumnInfo>
  502. <Column id="sel" type="STRING" size="256"/>
  503. <Column id="pid" type="STRING" size="256"/>
  504. <Column id="pidnm" type="STRING" size="256"/>
  505. <Column id="tagno" type="STRING" size="256"/>
  506. <Column id="regroomdate" type="STRING" size="256"/>
  507. <Column id="finroomdate" type="STRING" size="256"/>
  508. <Column id="examid" type="STRING" size="256"/>
  509. <Column id="examroomid" type="STRING" size="256"/>
  510. <Column id="healexamplacecd" type="STRING" size="256"/>
  511. <Column id="rtime" type="STRING" size="256"/>
  512. <Column id="waityn" type="STRING" size="256"/>
  513. <Column id="orddd" type="STRING" size="256"/>
  514. </ColumnInfo>
  515. <Rows>
  516. <Row>
  517. <Col id="sel"/>
  518. <Col id="pid"/>
  519. <Col id="pidnm"/>
  520. <Col id="tagno"/>
  521. <Col id="regroomdate"/>
  522. <Col id="finroomdate"/>
  523. <Col id="examid"/>
  524. <Col id="examroomid"/>
  525. <Col id="healexamplacecd"/>
  526. <Col id="rtime"/>
  527. <Col id="waityn"/>
  528. <Col id="orddd"/>
  529. </Row>
  530. </Rows>
  531. </Dataset>
  532. <Dataset id="ds_main_controlinfo_cntrlst_pat" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep" oncolumnchanged="ds_main_controlinfo_cntrlst_pat_oncolumnchanged">
  533. <ColumnInfo>
  534. <Column id="pid" type="STRING" size="256"/>
  535. <Column id="pnm" type="STRING" size="256"/>
  536. <Column id="sex" type="STRING" size="256"/>
  537. <Column id="age" type="STRING" size="256"/>
  538. <Column id="tagno" type="STRING" size="256"/>
  539. <Column id="regtime" type="STRING" size="256"/>
  540. <Column id="cmpyflag" type="STRING" size="256"/>
  541. <Column id="rtime" type="STRING" size="256"/>
  542. <Column id="healexamplacecd" type="STRING" size="256"/>
  543. <Column id="orddd" type="STRING" size="256"/>
  544. </ColumnInfo>
  545. <Rows>
  546. <Row>
  547. <Col id="pid"/>
  548. <Col id="pnm"/>
  549. <Col id="sex"/>
  550. <Col id="age"/>
  551. <Col id="tagno"/>
  552. <Col id="regtime"/>
  553. <Col id="cmpyflag"/>
  554. <Col id="rtime"/>
  555. <Col id="healexamplacecd"/>
  556. <Col id="orddd"/>
  557. </Row>
  558. </Rows>
  559. </Dataset>
  560. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  561. <ColumnInfo>
  562. <Column id="hidden" type="STRING" size="256"/>
  563. </ColumnInfo>
  564. <Rows>
  565. <Row>
  566. <Col id="hidden"/>
  567. </Row>
  568. </Rows>
  569. </Dataset>
  570. <Dataset id="ds_main_controlinfo_cntrlst_room" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep" oncolumnchanged="ds_main_controlinfo_cntrlst_room_oncolumnchanged">
  571. <ColumnInfo>
  572. <Column id="sel" type="STRING" size="256"/>
  573. <Column id="examroomid" type="STRING" size="256"/>
  574. <Column id="examroomnm" type="STRING" size="256"/>
  575. <Column id="waitpsncnt" type="STRING" size="256"/>
  576. <Column id="healexamplacecd" type="STRING" size="256"/>
  577. <Column id="orddd" type="STRING" size="256"/>
  578. </ColumnInfo>
  579. <Rows>
  580. <Row>
  581. <Col id="sel"/>
  582. <Col id="examroomid"/>
  583. <Col id="examroomnm"/>
  584. <Col id="waitpsncnt"/>
  585. <Col id="healexamplacecd"/>
  586. <Col id="orddd"/>
  587. </Row>
  588. </Rows>
  589. </Dataset>
  590. <Dataset id="ds_codedata_popupmenu2_menu_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  591. <ColumnInfo>
  592. <Column id="hardcdnm" type="STRING" size="256"/>
  593. <Column id="hardcd" type="STRING" size="256"/>
  594. </ColumnInfo>
  595. <Rows>
  596. <Row>
  597. <Col id="hardcdnm">상세조회</Col>
  598. <Col id="hardcd">fGetBfInqr(group3.sw_rfid.case_examroom.grd_endlst)</Col>
  599. </Row>
  600. </Rows>
  601. </Dataset>
  602. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  603. <ColumnInfo>
  604. <Column id="srchhealexamplacecd" type="STRING" size="256"/>
  605. <Column id="srchorddd" type="STRING" size="256"/>
  606. <Column id="srchpid" type="STRING" size="256"/>
  607. <Column id="srchpnm" type="STRING" size="256"/>
  608. <Column id="srchexamstat" type="STRING" size="256"/>
  609. <Column id="srchtagno" type="STRING" size="256"/>
  610. </ColumnInfo>
  611. <Rows>
  612. <Row>
  613. <Col id="srchhealexamplacecd">S</Col>
  614. <Col id="srchorddd"/>
  615. <Col id="srchpid"/>
  616. <Col id="srchpnm"/>
  617. <Col id="srchexamstat">1</Col>
  618. <Col id="srchtagno"/>
  619. </Row>
  620. </Rows>
  621. </Dataset>
  622. <Dataset id="ds_codedata_popupmenu_menu_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  623. <ColumnInfo>
  624. <Column id="hardcdnm" type="STRING" size="256"/>
  625. <Column id="hardcd" type="STRING" size="256"/>
  626. </ColumnInfo>
  627. <Rows>
  628. <Row>
  629. <Col id="hardcdnm">상세조회</Col>
  630. <Col id="hardcd">fGetBfInqr(group3.sw_rfid.case_examroom.grd_waitlst)</Col>
  631. </Row>
  632. </Rows>
  633. </Dataset>
  634. <Dataset id="ds_main_controldetl_examlst_pre" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  635. <ColumnInfo>
  636. <Column id="healexamplacecd" type="STRING" size="256"/>
  637. <Column id="examid" type="STRING" size="256"/>
  638. <Column id="examroomid" type="STRING" size="256"/>
  639. <Column id="preexamid" type="STRING" size="256"/>
  640. <Column id="preexamroomid" type="STRING" size="256"/>
  641. <Column id="preexamnm" type="STRING" size="256"/>
  642. </ColumnInfo>
  643. <Rows>
  644. <Row>
  645. <Col id="healexamplacecd"/>
  646. <Col id="examid"/>
  647. <Col id="examroomid"/>
  648. <Col id="preexamid"/>
  649. <Col id="preexamroomid"/>
  650. <Col id="preexamnm"/>
  651. </Row>
  652. </Rows>
  653. </Dataset>
  654. <Dataset id="ds_send_room" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  655. <Dataset id="ds_send_patexam" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  656. <Dataset id="ds_send_bfinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  657. <ColumnInfo>
  658. <Column id="srchrtime" type="STRING" size="256"/>
  659. <Column id="srchbfpid" type="STRING" size="256"/>
  660. <Column id="srchroom" type="STRING" size="256"/>
  661. </ColumnInfo>
  662. <Rows>
  663. <Row>
  664. <Col id="srchrtime"/>
  665. <Col id="srchbfpid"/>
  666. <Col id="srchroom"/>
  667. </Row>
  668. </Rows>
  669. </Dataset>
  670. <Dataset id="ds_cmb_finyn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  671. <ColumnInfo>
  672. <Column id="label" type="STRING" size="256"/>
  673. <Column id="value" type="STRING" size="256"/>
  674. </ColumnInfo>
  675. <Rows>
  676. <Row>
  677. <Col id="label">대기</Col>
  678. <Col id="value">W</Col>
  679. </Row>
  680. <Row>
  681. <Col id="label">미완료</Col>
  682. <Col id="value">N</Col>
  683. </Row>
  684. <Row>
  685. <Col id="label">완료</Col>
  686. <Col id="value">Y</Col>
  687. </Row>
  688. </Rows>
  689. </Dataset>
  690. </Objects>
  691. <Bind>
  692. <BindItem id="item0" compid="group3.group6.ipt_ordddate" propid="value" datasetid="ds_send" columnid="srchorddd"/>
  693. <BindItem id="item1" compid="group3.group6.cmb_placeflag" propid="value" datasetid="ds_send" columnid="srchhealexamplacecd"/>
  694. <BindItem id="item2" compid="group3.group6.btn_tagno" propid="value" datasetid="ds_send" columnid="srchtagno"/>
  695. <BindItem id="item3" compid="group3.group6.ipt_srchpid" propid="value" datasetid="ds_send" columnid="srchpid"/>
  696. <BindItem id="item4" compid="group3.group6.opt_srchpnm" propid="value" datasetid="ds_send" columnid="srchpnm"/>
  697. <BindItem id="item5" compid="group3.group6.combo1" propid="value" datasetid="ds_send" columnid="srchexamstat"/>
  698. <BindItem id="item6" compid="group3.opt_acptcnt" propid="value" datasetid="ds_main_controlinfo_cntrlst_patcnt" columnid="endcnt"/>
  699. <BindItem id="item7" compid="group3.output1" propid="value" datasetid="ds_main_controlinfo_cntrlst_patcnt" columnid="totcnt"/>
  700. <BindItem id="item8" compid="group3.output2" propid="value" datasetid="ds_main_controlinfo_cntrlst_patcnt" columnid="examcnt"/>
  701. <BindItem id="item9" compid="group3.output3" propid="value" datasetid="ds_main_controlinfo_cntrlst_patcnt" columnid="waitcnt"/>
  702. <BindItem id="item10" compid="group3.tar_remcnts" propid="value" datasetid="ds_main_bfinqrinfo_remcnts" columnid="remcnts"/>
  703. <BindItem id="item11" compid="group3.ipt_ownbamt" propid="value" datasetid="ds_main_bfinqrinfo_remcnts" columnid="clntgrde"/>
  704. </Bind>
  705. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  706. * System Name :
  707. * Job Name :
  708. * Creator :
  709. * Make Date : 2017-06-19
  710. * Description :
  711. *---------------------------------------------------------------------------------------
  712. * Modify Date Modifier Modify Description
  713. *---------------------------------------------------------------------------------------
  714. * 2017-06-19 Live Converter TF->XP
  715. *
  716. *---------------------------------------------------------------------------------------
  717. ****************************************************************************************/
  718. //=======================================================================================
  719. // Lib Include
  720. //---------------------------------------------------------------------------------------
  721. include "com_commonxp::comm_main.xjs";
  722. include "ast_healexamxp::AHA001.xjs";
  723. include "pam_pamcomnxp::PAM.xjs";
  724. include "ast_healthexambasexp::healcombolist.xjs";
  725. //=======================================================================================
  726. // Global Form Variable
  727. //---------------------------------------------------------------------------------------
  728. var arErrorCode = new HashArray();
  729. var evntID = "";
  730. //=======================================================================================
  731. // Function
  732. //---------------------------------------------------------------------------------------
  733. /****************************************************************************************
  734. * Argument : N/A
  735. * Description : 기본코드 정보 조회
  736. ****************************************************************************************/
  737. function fGetBasicCdList() {
  738. var arrParam = [{dsNm: "ds_init_baseinfo_healexamplacelst", cdGrpId: "S600"}];
  739. healGetCodeList(arrParam); //healcombolist.xjs
  740. }
  741. /****************************************************************************************
  742. * Argument : N/A
  743. * Description : 초기화
  744. ****************************************************************************************/
  745. function fInit() {
  746. var cur_date = utlf_getCurrentDate();
  747. group3.group6.ipt_ordddate.value = cur_date;
  748. group3.switch1.tabindex = 0;
  749. group3.sw_rfid.tabindex = 0;
  750. var vHealExamDetlFg = fGetHealExamDetlFlag(); //AHA001.xjs
  751. if( vHealExamDetlFg == 'C01' ){
  752. group3.group6.cmb_placeflag.value='S';
  753. } else if (vHealExamDetlFg == 'C03') {
  754. group3.group6.cmb_placeflag.value='K';
  755. }
  756. }
  757. /****************************************************************************************
  758. * Argument : N/A
  759. * Description : 조회 조건에 따른 건진자,검사실 리스트 및 대기자현황 조회
  760. ****************************************************************************************/
  761. function fGetCntrList() {
  762. var oParam = {};
  763. oParam.id = "TRAHR00106";
  764. oParam.service = "healexamrsltjudgapp.TestProgrs";
  765. oParam.method = "reqGetCntrList";
  766. oParam.inds = "req=ds_send";
  767. oParam.outds = "ds_main_controlinfo_cntrlst_pat=pat ds_main_controlinfo_cntrlst_room=room ds_main_controlinfo_cntrlst_patcnt=patcnt";
  768. oParam.async = false;
  769. oParam.callback = "cf_TRAHR00106";
  770. tranf_submit(oParam);
  771. if(arErrorCode.pop("TRAHR00106") > -1) {
  772. var roomid = ds_send_room.getColumn(0,"examroomid");
  773. var placecd = ds_send_room.getColumn(0,"healexamplacecd");
  774. for(var i = 0; i < ds_main_controlinfo_cntrlst_room.rowcount; i++ ) {
  775. var desroomid = ds_main_controlinfo_cntrlst_room.getColumn(i , "examroomid");
  776. var desplacecd = ds_main_controlinfo_cntrlst_room.getColumn(i , "healexamplacecd");
  777. if(desroomid == roomid && placecd == desplacecd) {
  778. ds_main_controlinfo_cntrlst_room.setColumn(i , "sel", "Y");
  779. // copyNodesetType("/root/send/room","/root/main/controlinfo/cntrlst/room[" + i + "]","replace");
  780. ds_send_room.copyRow(0, ds_main_controlinfo_cntrlst_room, i);
  781. call_TRAHR00107();
  782. }
  783. }
  784. fSetPatPaint();
  785. call_TRAHR00108();
  786. fSetPaintUnChoose();
  787. }
  788. }
  789. function cf_TRAHR00106(sSvcId, nErrorCode, sErrorMsg) {
  790. arErrorCode.push(sSvcId, nErrorCode);
  791. ds_main_controlinfo_cntrlst_room.addColumn("sel","string");
  792. dsf_setDefaultVal(ds_main_controlinfo_cntrlst_room, "sel:N")
  793. }
  794. function call_TRAHR00107() {
  795. var oParam = {};
  796. oParam.id = "TRAHR00107";
  797. oParam.service = "healexamrsltjudgapp.TestProgrs";
  798. oParam.method = "reqGetRoomWaitList";
  799. oParam.inds = "req=ds_send_room";
  800. oParam.outds = "ds_main_controldetl_roomdetllst_wait=wait ds_main_controldetl_roomdetllst_end=end";
  801. oParam.async = false;
  802. oParam.callback = "cf_TRAHR00107";
  803. tranf_submit(oParam);
  804. }
  805. function cf_TRAHR00107(sSvcId, nErrorCode, sErrorMsg) {
  806. arErrorCode.push(sSvcId, nErrorCode);
  807. }
  808. function call_TRAHR00108() {
  809. var oParam = {};
  810. oParam.id = "TRAHR00108";
  811. oParam.service = "healexamrsltjudgapp.TestProgrs";
  812. oParam.method = "reqGetPatExamList";
  813. oParam.inds = "req=ds_send_patexam";
  814. oParam.outds = "ds_main_controldetl_examlst_item=item ds_main_controldetl_examlst_pre=pre";
  815. oParam.async = false;
  816. oParam.callback = "cf_TRAHR00108";
  817. tranf_submit(oParam);
  818. }
  819. function cf_TRAHR00108(sSvcId, nErrorCode, sErrorMsg) {
  820. arErrorCode.push(sSvcId, nErrorCode);
  821. dsf_setTypeFormat(ds_main_controldetl_examlst_item, "waitpsncnt:INT");
  822. }
  823. /****************************************************************************************
  824. * Argument : N/A
  825. * Description : 검사자의 필요정보를 색깔로 표시한다.
  826. ****************************************************************************************/
  827. function fSetPatPaint() {
  828. for(var i = 1; i < group3.switch1.case_exam.grd_patlst.getCellCount("body"); i++) {
  829. group3.switch1.case_exam.grd_patlst.setCellProperty("body", i, "background", "EXPR(cmpyflag=='Y'?'#f3e1bf':cmpyflag=='N'?'#7BE6B7':'')");
  830. group3.switch1.case_exam.grd_patlst.setCellProperty("body", i, "background2", "EXPR(cmpyflag=='Y'?'#f3e1bf':cmpyflag=='N'?'#7BE6B7':'')");
  831. }
  832. }
  833. /****************************************************************************************
  834. * Argument : N/A
  835. * Description : 검사자의 검사정보 리스트를 조회
  836. ****************************************************************************************/
  837. function fGetPatExamList(vGrd) {
  838. var grdDs = eval(vGrd.binddataset);
  839. var row = grdDs.rowposition;
  840. dsf_copyColInfo(ds_send_patexam, grdDs);
  841. ds_send_patexam.copyRow(ds_send_patexam.addRow(), grdDs, row);
  842. call_TRAHR00108();
  843. if(arErrorCode.pop("TRAHR00108") > -1) {
  844. group3.sw_rfid.tabindex = 0;
  845. }
  846. }
  847. /****************************************************************************************
  848. * Argument : N/A
  849. * Description : 검사완료 후 검사실 미지정자를 표시한다.
  850. ****************************************************************************************/
  851. function fSetPaintUnChoose() {
  852. for(var i = 1; i < group3.sw_rfid.case_examroom.grd_endlst.getCellCount("body"); i++) {
  853. group3.sw_rfid.case_examroom.grd_endlst.setCellProperty("body", i, "background","EXPR(waityn=='Y'?'#ffff00':'')");
  854. group3.sw_rfid.case_examroom.grd_endlst.setCellProperty("body", i, "background2","EXPR(waityn=='Y'?'#ffff00':'')");
  855. }
  856. for(var i = 1; i < group3.sw_rfid.case_examroom.grd_waitlst.getCellCount("body"); i++) {
  857. group3.sw_rfid.case_examroom.grd_waitlst.setCellProperty("body", i, "background","EXPR(cmpyflag=='Y'?'#f3e1bf':cmpyflag=='N'?'#7BE6B7':'')");
  858. group3.sw_rfid.case_examroom.grd_waitlst.setCellProperty("body", i, "background2","EXPR(cmpyflag=='Y'?'#f3e1bf':cmpyflag=='N'?'#7BE6B7':'')");
  859. }
  860. }
  861. /****************************************************************************************
  862. * Argument : N/A
  863. * Description : 검사실 지정을 하여 선택한다.
  864. ****************************************************************************************/
  865. function fSetChooseRoom() {
  866. // 선택 검사 및 검사완료여부 체크
  867. //var nodeList = ds_main_controldetl_examlst_pre;
  868. for(var i = 0; i < ds_main_controldetl_examlst_item.rowcount; i++) {
  869. var sel = ds_main_controldetl_examlst_item.getColumn(i, "sel");
  870. var selexamroomid = ds_main_controldetl_examlst_item.getColumn(i, "examroomid");
  871. var selhealexamplacecd = ds_main_controldetl_examlst_item.getColumn(i, "healexamplacecd");
  872. // 선택되었으면서 검사 완료 되지 않은 검사실
  873. if(sel == "Y" ) {
  874. for(var x = 0; x < ds_main_controldetl_examlst_item.rowcount; x++) {
  875. if(selexamroomid == ds_main_controldetl_examlst_item.getColumn(x, "examroomid")) {
  876. var srchexamroomid = ds_main_controldetl_examlst_item.getColumn(x, "examroomid");
  877. var srchexamid = ds_main_controldetl_examlst_item.getColumn(x, "examid");
  878. var srchhealexamplacecd = ds_main_controldetl_examlst_item.getColumn(x, "healexamplacecd");
  879. // 선택 한 검사가 선행검사를 검사실 있는지 체크
  880. for(var j = 0; j < ds_main_controldetl_examlst_pre.rowcount; j++) {
  881. var desexamroomid = ds_main_controldetl_examlst_pre.getColumn(j, "examroomid");
  882. var desexamid = ds_main_controldetl_examlst_pre.getColumn(j, "examid");
  883. var deshealexamplacecd = ds_main_controldetl_examlst_pre.getColumn(j, "healexamplacecd");
  884. var preexamroomid = ds_main_controldetl_examlst_pre.getColumn(j, "preexamroomid");
  885. var preexamid = ds_main_controldetl_examlst_pre.getColumn(j, "preexamid");
  886. var preexamnm = ds_main_controldetl_examlst_pre.getColumn(j, "preexamnm");
  887. if( srchexamroomid == desexamroomid && srchexamid == desexamid && srchhealexamplacecd == deshealexamplacecd ) {
  888. // 선행검사가 있는 검사실 일경우 선행검사 완료 되었는지 체크
  889. var node = ds_main_controldetl_examlst_item.getCaseCount("examid=='" + preexamid + "' && examroomid=='" + preexamroomid + "' && finyn=='N'");
  890. if(node > 0) {
  891. sysf_messageBox("선행검사 [ " + preexamnm + " ] 미완료","E008");
  892. return;
  893. break;
  894. }
  895. }
  896. }
  897. }
  898. }
  899. }
  900. }
  901. ds_send_save_choose.copyData(ds_send_patexam);
  902. dsf_createDs("ds_send_save_choose_examroom");
  903. ds_main_controldetl_examlst_item.filter("sel=='Y'");
  904. ds_send_save_choose_examroom.copyData(ds_main_controldetl_examlst_item, true);
  905. ds_main_controldetl_examlst_item.filter("");
  906. if(ds_send_save_choose_examroom.rowcount < 1) {
  907. sysf_messageBox("지정할 검사실을","C002");
  908. return;
  909. }
  910. dsf_createDs("ds_choose", [
  911. {col:"pid", type:"STRING", size:256}
  912. , {col:"rtime", type:"STRING", size:256}
  913. , {col:"tagno", type:"STRING", size:256}
  914. , {col:"healexamplacecd", type:"STRING", size:256}
  915. , {col:"examroomid", type:"STRING", size:256}
  916. ]);
  917. for(var i = 0 ; i < ds_send_save_choose_examroom.rowcount ; i++) {
  918. var nRow = ds_choose.addRow();
  919. ds_choose.setColumn(nRow, "pid", ds_send_save_choose.getColumn(0,"pid"));
  920. ds_choose.setColumn(nRow, "rtime", ds_send_save_choose.getColumn(0,"rtime"));
  921. ds_choose.setColumn(nRow, "tagno", ds_send_save_choose.getColumn(0,"tagno"));
  922. ds_choose.setColumn(nRow, "healexamplacecd", ds_send_save_choose.getColumn(0,"healexamplacecd"));
  923. ds_choose.setColumn(nRow, "examroomid", ds_send_save_choose_examroom.getColumn(i,"examroomid"));
  924. }
  925. var oParam = {};
  926. oParam.id = "TXAHR00102";
  927. oParam.service = "healexamrsltjudgapp.TestProgrs";
  928. oParam.method = "reqExeChooseRoom";
  929. oParam.inds = "choose=ds_choose";
  930. oParam.outds = "ds_hidden=item";
  931. oParam.async = false;
  932. oParam.callback = "cf_TXAHR00102";
  933. tranf_submit(oParam);
  934. if(arErrorCode.pop("TXAHR00102") > -1) {
  935. fGetCntrList();
  936. }
  937. }
  938. function cf_TXAHR00102(sSvcId, nErrorCode, sErrorMsg) {
  939. arErrorCode.push(sSvcId, nErrorCode);
  940. }
  941. /****************************************************************************************
  942. * Argument : vGrd - 그리드
  943. * Description :
  944. ****************************************************************************************/
  945. function fGetBfInqr(vGrd)
  946. {
  947. var grdDs = eval(vGrd.binddataset);
  948. var row = grdDs.rowposition;
  949. ds_send_bfinfo.setColumn(0, "srchbfpid", grdDs.getColumn(row, "pid"));
  950. ds_send_bfinfo.setColumn(0, "srchrtime", grdDs.getColumn(row, "rtime"));
  951. var oParam = {};
  952. oParam.id = "TRAHR00109";
  953. oParam.service = "healexamrsltjudgapp.TestProgrs";
  954. oParam.method = "reqGetBfInqr";
  955. oParam.inds = "req=ds_send_bfinfo";
  956. oParam.outds = "ds_main_bfinqrinfo_bfinqr=bfinqr ds_main_bfinqrinfo_remcnts=remcnts";
  957. oParam.async = false;
  958. //oParam.callback = "cf_TRAHR00109";
  959. tranf_submit(oParam);
  960. }
  961. /****************************************************************************************
  962. * Argument : N/A
  963. * Description : 그리드 색설정
  964. ****************************************************************************************/
  965. function fSetGridColor()
  966. {
  967. for(var i = 0 ; i < group3.sw_rfid.case_examroom.grd_waitlst.getCellCount("body"); i++)
  968. {
  969. group3.sw_rfid.case_examroom.grd_waitlst.setCellProperty("body", i, "background", "EXPR(bfinqrcnt>0?'#FFF000':'')");
  970. group3.sw_rfid.case_examroom.grd_waitlst.setCellProperty("body", i, "background2", "EXPR(bfinqrcnt>0?'#FFF000':'')");
  971. }
  972. for(var i = 0 ; i < group3.sw_rfid.case_examroom.grd_endlst.getCellCount("body"); i++)
  973. {
  974. group3.sw_rfid.case_examroom.grd_endlst.setCellProperty("body", i, "background", "EXPR(bfinqrcnt>0?'#FFF000':'')");
  975. group3.sw_rfid.case_examroom.grd_endlst.setCellProperty("body", i, "background2", "EXPR(bfinqrcnt>0?'#FFF000':'')");
  976. }
  977. }
  978. function call_TXAHR00101() {
  979. var oParam = {};
  980. oParam.id = "TXAHR00101";
  981. oParam.service = "healexamrsltjudgapp.TestProgrs";
  982. oParam.method = "reqExeExamEnd";
  983. oParam.inds = "room=ds_send_save_room exam=ds_send_save_exam";
  984. oParam.outds = "ds_hidden=item";
  985. oParam.async = false;
  986. oParam.callback = "cf_TXAHR00101";
  987. tranf_submit(oParam);
  988. }
  989. function cf_TXAHR00101(sSvcId, nErrorCode, sErrorMsg) {
  990. arErrorCode.push(sSvcId, nErrorCode);
  991. }
  992. /****************************************************************************************
  993. * Argument : N/A
  994. * Description : 라디오버튼 선택
  995. ****************************************************************************************/
  996. function lf_setSelectYn(gridId:Grid, row) {
  997. objDs = eval(gridId.binddataset);
  998. for(var i = 0; i < objDs.rowcount; i++) {
  999. objDs.setColumn(i,"sel","N");
  1000. }
  1001. objDs.setColumn(row,"sel","Y");
  1002. }
  1003. //=======================================================================================
  1004. // Event
  1005. //---------------------------------------------------------------------------------------
  1006. /****************************************************************************************
  1007. * Components : Form
  1008. * Description : 화면 처음 초기화시 폼초기화
  1009. ****************************************************************************************/
  1010. function SMAHR00120_onload(obj:Form, e:LoadEventInfo) {
  1011. frmf_initForm(obj);
  1012. //grdf_initGrid(grd_XXX);
  1013. //grdf_setGridSort(grd_XXX);
  1014. //grdf_setRowTypeIcon(grd_XXX, 0_컬럼위치값);
  1015. grdf_setGridSort(group3.switch1.case_exam.grd_patlst);
  1016. grdf_setGridSort(group3.switch1.case_room.grd_roomlst);
  1017. grdf_setGridSort(group3.sw_rfid.case_pid.grd_examlst);
  1018. grdf_setGridSort(group3.sw_rfid.case_examroom.grd_waitlst);
  1019. grdf_setGridSort(group3.sw_rfid.case_examroom.grd_endlst);
  1020. fGetBasicCdList();
  1021. fInit();
  1022. frmf_createPopupMenuDs("pmn_menu", "pmn_menu_onmenuclick", ds_codedata_popupmenu_menu_item);
  1023. frmf_createPopupMenuDs("pmn_menu2", "pmn_menu_onmenuclick", ds_codedata_popupmenu2_menu_item);
  1024. group3.group6.btn_search.click();
  1025. }
  1026. // ds에 생성된 id별 함수 실행
  1027. function pmn_menu_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
  1028. {
  1029. eval(e.id);
  1030. }
  1031. /****************************************************************************************
  1032. * Components : Button
  1033. * Description : 조회
  1034. ****************************************************************************************/
  1035. function group3_group6_btn_search_onclick(obj:Button, e:ClickEventInfo) {
  1036. fGetCntrList();
  1037. }
  1038. /****************************************************************************************
  1039. * Components : Combo
  1040. * Description : 건진장소 변경
  1041. ****************************************************************************************/
  1042. function group3_group6_cmb_placeflag_onitemchanged(obj:Combo, e:ItemChangeEventInfo) {
  1043. group3.group6.btn_search.click();
  1044. }
  1045. /****************************************************************************************
  1046. * Components : Edit
  1047. * Description :
  1048. ****************************************************************************************/
  1049. function group3_group6_btn_tagno_onkeyup(obj:Edit, e:KeyEventInfo) {
  1050. if(event.keyCode == 13) {
  1051. model.setValue("/root/send/srchtagno" , group3.group6.btn_tagno.currentText);
  1052. group3.group6.btn_tagno.refresh();
  1053. group3.group6.btn_search.dispatch("DOMActivate");
  1054. }
  1055. }
  1056. /****************************************************************************************
  1057. * Components : Edit
  1058. * Description : 등록번호 입력 후 환자조회
  1059. ****************************************************************************************/
  1060. function group3_group6_ipt_srchpid_onkeyup(obj:Edit, e:KeyEventInfo) {
  1061. if(e.keycode == 13) {
  1062. obj.updateToDataset();
  1063. group3.group6.btn_srchpat.click();
  1064. }
  1065. }
  1066. /****************************************************************************************
  1067. * Components : Button
  1068. * Description : 환자조회 팝업
  1069. ****************************************************************************************/
  1070. function group3_group6_btn_srchpat_onclick(obj:Button, e:ClickEventInfo) {
  1071. fSearchPatInfo("SPAHA00400", "pid", group3.group6.ipt_srchpid.text, "N", "ds_send", "srchpid", "srchpnm");
  1072. application.popupframes["SPAHA00400"].winlevel = "topmost";
  1073. application.popupframes["SPAHA00400"].activate();
  1074. group3.group6.btn_search.click();
  1075. }
  1076. /****************************************************************************************
  1077. * Components : Combo
  1078. * Description : 검사상태 변경
  1079. ****************************************************************************************/
  1080. function group3_group6_combo1_onitemchanged(obj:Combo, e:ItemChangeEventInfo) {
  1081. group3.group6.btn_search.click();
  1082. }
  1083. /****************************************************************************************
  1084. * Components : Grid
  1085. * Description : 마우스 우클릭
  1086. ****************************************************************************************/
  1087. function group3_sw_rfid_case_examroom_grd_waitlst_onrbuttonup(obj:Grid, e:GridMouseEventInfo) {
  1088. if(e.row > -1){
  1089. grdf_setSelectedCell(obj, e); // 선택된 행 확실히 선택해줌
  1090. pmn_menu.trackPopup(e.screenX,e.screenY);
  1091. }
  1092. return true;
  1093. }
  1094. /****************************************************************************************
  1095. * Components : Button
  1096. * Description : 검사완료
  1097. ****************************************************************************************/
  1098. function group3_sw_rfid_case_examroom_btn_choisel_onclick(obj:Button, e:ClickEventInfo) {
  1099. ds_main_controldetl_roomdetllst_wait.filter("sel=='Y'");
  1100. ds_send_save_room.copyData(ds_main_controldetl_roomdetllst_wait, true);
  1101. ds_main_controldetl_roomdetllst_wait.filter("");
  1102. //ds_send_save_exam.clearData();
  1103. dsf_createDsRow("ds_send_save_exam", [
  1104. {col:"pid", type:"STRING", size:256, val:""}
  1105. , {col:"rtime", type:"STRING", size:256, val:""}
  1106. , {col:"examid", type:"STRING", size:256, val:""}
  1107. , {col:"examroomid", type:"STRING", size:256, val:""}
  1108. , {col:"hoscode", type:"STRING", size:256, val:""}
  1109. ]);
  1110. call_TXAHR00101();
  1111. if(arErrorCode.pop("TXAHR00101") > -1) {
  1112. fGetCntrList();
  1113. }
  1114. }
  1115. /****************************************************************************************
  1116. * Components : Button
  1117. * Description : 검사취소
  1118. ****************************************************************************************/
  1119. function group3_sw_rfid_case_examroom_button3_onclick(obj:Button, e:ClickEventInfo) {
  1120. ds_main_controldetl_roomdetllst_end.filter("sel=='Y'");
  1121. ds_send_save_exam.copyData(ds_main_controldetl_roomdetllst_end, true);
  1122. ds_main_controldetl_roomdetllst_end.filter("");
  1123. //ds_send_save_room.clear();
  1124. dsf_createDsRow("ds_send_save_room", [
  1125. {col:"pid", type:"STRING", size:256, val:""}
  1126. , {col:"rtime", type:"STRING", size:256, val:""}
  1127. , {col:"examid", type:"STRING", size:256, val:""}
  1128. , {col:"examroomid", type:"STRING", size:256, val:""}
  1129. , {col:"hoscode", type:"STRING", size:256, val:""}
  1130. ]);
  1131. call_TXAHR00101();
  1132. if(arErrorCode.pop("TXAHR00101") > -1) {
  1133. fGetCntrList();
  1134. }
  1135. }
  1136. /****************************************************************************************
  1137. * Components : Button
  1138. * Description : 검사완료자리스트 엑셀저장
  1139. ****************************************************************************************/
  1140. function group3_sw_rfid_case_examroom_button4_onclick(obj:Button, e:ClickEventInfo) {
  1141. if( ds_main_controldetl_roomdetllst_end.rowcount > 0 ){
  1142. grdf_exportExcel(group3.sw_rfid.case_examroom.grd_endlst, "save", "save", false, "", "user", false);
  1143. } else {
  1144. sysf_messageBox("조회된 데이터가 ", "I004");
  1145. }
  1146. }
  1147. /****************************************************************************************
  1148. * Components : Button
  1149. * Description : 검사실지정
  1150. ****************************************************************************************/
  1151. function group3_sw_rfid_case_pid_button1_onclick(obj:Button, e:ClickEventInfo) {
  1152. fSetChooseRoom();
  1153. }
  1154. /****************************************************************************************
  1155. * Components : Button
  1156. * Description : 새로고침
  1157. ****************************************************************************************/
  1158. function group3_button2_onclick(obj:Button, e:ClickEventInfo) {
  1159. fGetCntrList();
  1160. }
  1161. /****************************************************************************************
  1162. * Components : Static
  1163. * Description : 고객등급
  1164. ****************************************************************************************/
  1165. function group3_caption26_onclick(obj:Static, e:ClickEventInfo) {
  1166. //fPriceCheck();
  1167. }
  1168. /****************************************************************************************
  1169. * Components : Calendar
  1170. * Description : 건진일자 변경
  1171. ****************************************************************************************/
  1172. function group3_group6_ipt_ordddate_onchanged(obj:Calendar, e:ChangeEventInfo)
  1173. {
  1174. group3.group6.btn_search.click();
  1175. }
  1176. function group3_switch1_case_room_grd_roomlst_onselectchanged(obj:Grid, e:GridSelectEventInfo)
  1177. {
  1178. // if(e.row > -1) {
  1179. // var col = e.col;
  1180. // if(col == obj.getBindCellIndex("body","sel")) {
  1181. // var row = e.row;
  1182. // lf_setSelectYn(obj, row);
  1183. // ds_send_room.clear();
  1184. // dsf_copyColInfo(ds_send_room, ds_main_controlinfo_cntrlst_room);
  1185. // ds_send_room.copyRow(ds_send_room.addRow(), ds_main_controlinfo_cntrlst_room, row);
  1186. // ds_send_bfinfo.setColumn(0, "srchroom", ds_main_controlinfo_cntrlst_room.getColumn(row, "examroomid"));
  1187. //
  1188. // call_TRAHR00107();
  1189. //
  1190. // if(arErrorCode.pop("TRAHR00107") > -1) {
  1191. // group3.sw_rfid.tabindex = 1;
  1192. // fSetPaintUnChoose();
  1193. // fSetGridColor();
  1194. // }
  1195. // }
  1196. // }
  1197. }
  1198. /****************************************************************************************
  1199. * Components : Grid
  1200. * Description : 검진자형황 선택
  1201. ****************************************************************************************/
  1202. function group3_switch1_case_exam_grd_patlst_oncelldblclick(obj:Grid, e:GridClickEventInfo) {
  1203. if(e.row > -1) {
  1204. fGetPatExamList(group3.switch1.case_exam.grd_patlst);
  1205. }
  1206. }
  1207. /****************************************************************************************
  1208. * Components : Form
  1209. * Description : 타이머이벤트
  1210. ****************************************************************************************/
  1211. function SMAHR00120_ontimer(obj:Form, e:TimerEventInfo)
  1212. {
  1213. if(e.timerid == 1) {
  1214. if(evntID == "oncelldblclick") evntID = ""; //oncelldblclick 이벤트가 바로 뒤 실행된다면 oncellclick 의 이벤트를 실행하지 않음.
  1215. else fGetBfInqr(group3.sw_rfid.case_examroom.grd_waitlst);
  1216. this.killTimer(1);
  1217. }
  1218. if(e.timerid == 2) {
  1219. if(evntID == "oncelldblclick") evntID = ""; //oncelldblclick 이벤트가 바로 뒤 실행된다면 oncellclick 의 이벤트를 실행하지 않음.
  1220. else fGetBfInqr(group3.sw_rfid.case_examroom.grd_endlst);
  1221. this.killTimer(2);
  1222. }
  1223. }
  1224. /****************************************************************************************
  1225. * Components : Grid
  1226. * Description : 검사실 대기리자리스트 선택
  1227. ****************************************************************************************/
  1228. function group3_sw_rfid_case_examroom_grd_waitlst_oncelldblclick(obj:Grid, e:GridClickEventInfo) {
  1229. if(e.row > -1) {
  1230. evntID = e.eventid;
  1231. fGetPatExamList(group3.sw_rfid.case_examroom.grd_waitlst);
  1232. }
  1233. }
  1234. function group3_sw_rfid_case_examroom_grd_waitlst_oncellclick(obj:Grid, e:GridClickEventInfo)
  1235. {
  1236. if(e.row > -1) {
  1237. this.setTimer(1, 300); //ondelayclick 이벤트를 적용하기 위함.
  1238. }
  1239. }
  1240. /****************************************************************************************
  1241. * Components : Grid
  1242. * Description : 검사완료자리스트 선택
  1243. ****************************************************************************************/
  1244. function group3_sw_rfid_case_examroom_grd_endlst_oncelldblclick(obj:Grid, e:GridClickEventInfo) {
  1245. if(e.row > -1) {
  1246. evntID = e.eventid;
  1247. fGetPatExamList(group3.sw_rfid.case_examroom.grd_endlst);
  1248. }
  1249. }
  1250. /****************************************************************************************
  1251. * Components : Grid
  1252. * Description : 검사완료자리스트 선택
  1253. ****************************************************************************************/
  1254. function group3_sw_rfid_case_examroom_grd_endlst_onlbuttonup(obj:Grid, e:GridMouseEventInfo) {
  1255. if(e.row > -1) {
  1256. this.setTimer(2, 300); //ondelayclick 이벤트를 적용하기 위함.
  1257. }
  1258. }
  1259. function ds_main_controlinfo_cntrlst_room_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  1260. {
  1261. if(e.columnid=="sel") {
  1262. obj.setColumn(e.row,e.columnid,(e.newvalue=="Y"||e.newvalue==1)?"Y":"N");
  1263. }
  1264. }
  1265. function ds_main_controldetl_examlst_item_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  1266. {
  1267. if(e.columnid=="sel") {
  1268. obj.setColumn(e.row,e.columnid,(e.newvalue=="Y"||e.newvalue==1)?"Y":"N");
  1269. }
  1270. }
  1271. function ds_main_controldetl_roomdetllst_wait_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  1272. {
  1273. if(e.columnid=="sel") {
  1274. obj.setColumn(e.row,e.columnid,(e.newvalue=="Y"||e.newvalue==1)?"Y":"N");
  1275. }
  1276. }
  1277. function ds_main_controldetl_roomdetllst_end_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  1278. {
  1279. if(e.columnid=="sel") {
  1280. obj.setColumn(e.row,e.columnid,(e.newvalue=="Y"||e.newvalue==1)?"Y":"N");
  1281. }
  1282. }
  1283. function ds_main_controlinfo_cntrlst_pat_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  1284. {
  1285. if(e.columnid=="cmpyflag") {
  1286. obj.setColumn(e.row,e.columnid,(e.newvalue=="Y"||e.newvalue==1)?"Y":"N");
  1287. }
  1288. }
  1289. function group3_switch1_case_room_grd_roomlst_onlbuttonup(obj:Grid, e:GridMouseEventInfo)
  1290. {
  1291. if(e.row > -1) {
  1292. var col = e.col;
  1293. if(col == obj.getBindCellIndex("body","sel")) {
  1294. var row = e.row;
  1295. lf_setSelectYn(obj, row);
  1296. ds_send_room.clear();
  1297. dsf_copyColInfo(ds_send_room, ds_main_controlinfo_cntrlst_room);
  1298. ds_send_room.copyRow(ds_send_room.addRow(), ds_main_controlinfo_cntrlst_room, row);
  1299. ds_send_bfinfo.setColumn(0, "srchroom", ds_main_controlinfo_cntrlst_room.getColumn(row, "examroomid"));
  1300. call_TRAHR00107();
  1301. if(arErrorCode.pop("TRAHR00107") > -1) {
  1302. group3.sw_rfid.tabindex = 1;
  1303. fSetPaintUnChoose();
  1304. fSetGridColor();
  1305. }
  1306. }
  1307. }
  1308. }
  1309. function group3_sw_rfid_case_pid_grd_examlst_onlbuttonup(obj:Grid, e:GridMouseEventInfo)
  1310. {
  1311. lf_setSelectYn(obj, e.row);
  1312. }
  1313. function group3_switch1_case_exam_grd_patlst_onheadclick(obj:Grid, e:GridClickEventInfo)
  1314. {
  1315. if (e.col != e.oldcol) grdf_clearSort(obj);
  1316. grdf_gridSort(group3.switch1.case_exam.grd_patlst,e);
  1317. }
  1318. function group3_switch1_case_room_grd_roomlst_onheadclick(obj:Grid, e:GridClickEventInfo)
  1319. {
  1320. if (e.col != e.oldcol) grdf_clearSort(obj);
  1321. grdf_gridSort(group3.switch1.case_room.grd_roomlst,e);
  1322. }
  1323. function group3_sw_rfid_case_pid_grd_examlst_onheadclick(obj:Grid, e:GridClickEventInfo)
  1324. {
  1325. if (e.col != e.oldcol) grdf_clearSort(obj);
  1326. grdf_gridSort(group3.sw_rfid.case_pid.grd_examlst,e);
  1327. }
  1328. function group3_sw_rfid_case_examroom_grd_waitlst_onheadclick(obj:Grid, e:GridClickEventInfo)
  1329. {
  1330. if (e.col != e.oldcol) grdf_clearSort(obj);
  1331. grdf_gridSort(group3.sw_rfid.case_examroom.grd_waitlst,e);
  1332. }
  1333. function group3_sw_rfid_case_examroom_grd_endlst_onheadclick(obj:Grid, e:GridClickEventInfo)
  1334. {
  1335. if (e.col != e.oldcol) grdf_clearSort(obj);
  1336. grdf_gridSort(group3.sw_rfid.case_examroom.grd_endlst,e);
  1337. }
  1338. ]]></Script>
  1339. </Form>
  1340. </FDL>