12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMAHR00120" position="absolute 0 0 1196 751" titletext="중앙관제" onload="SMAHR00120_onload" ontimer="SMAHR00120_ontimer">
- <Layouts>
- <Layout>
- <Div position="absolute 0 13 1196 751" id="group3" scrollbars="autoboth" anchor="all">
- <Layouts>
- <Layout>
- <Div position="absolute 0 12 1194 52" align="align:center top;" id="group6" class="div_SA" anchor="left top right">
- <Layouts>
- <Layout>
- <Button position="absolute 1122 10 1178 32" id="btn_search" class="btn1" text="조회" anchor="top right" onclick="group3_group6_btn_search_onclick"/>
- <Shape position="absolute 1105 10 1111 32" linetype="vertical" id="line18" class="line_4" anchor="top right"/>
- <Static text="건진일자 :" position="absolute 186 12 272 29" id="caption59" class="search_name" anchor="default"/>
- <Static text="건진장소 :" position="absolute 8 12 92 29" id="caption21" class="search_name" anchor="default"/>
- <Static text="등록번호 :" position="absolute 400 12 489 29" id="caption1" class="search_name" anchor="default"/>
- <Static text="태그번호 :" position="absolute 945 12 1034 29" id="caption2" class="search_name" anchor="default"/>
- <Calendar position="absolute 277 11 387 30" id="ipt_ordddate" class="input_essential" anchor="default" onchanged="group3_group6_ipt_ordddate_onchanged"/>
- <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"/>
- <Edit position="absolute 1032 11 1092 30" id="btn_tagno" anchor="default" onkeyup="group3_group6_btn_tagno_onkeyup"/>
- <Edit position="absolute 490 11 590 30" id="ipt_srchpid" class="input_search" anchor="default" onkeyup="group3_group6_ipt_srchpid_onkeyup"/>
- <Button position="absolute 595 13 611 29" id="btn_srchpat" class="icon_search" text="" anchor="default" onclick="group3_group6_btn_srchpat_onclick"/>
- <Edit readonly="true" position="absolute 615 11 730 30" id="opt_srchpnm" anchor="default" class="output"/>
- <Static text="검사상태 :" position="absolute 745 12 834 29" id="caption5" class="search_name" anchor="default"/>
- <Combo position="absolute 830 11 936 30" id="combo1" class="combo_default" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default" onitemchanged="group3_group6_combo1_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">검사완료자</Col>
- </Row>
- <Row>
- <Col id="codecolumn">3</Col>
- <Col id="datacolumn">검사자</Col>
- </Row>
- <Row>
- <Col id="codecolumn">4</Col>
- <Col id="datacolumn">검사대기자</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- </Layout>
- </Layouts>
- </Div>
- <Tab position="absolute 488 54 1194 571" id="sw_rfid" anchor="all">
- <Tabpages>
- <Tabpage text="건진자현황" position="absolute 0 0 702 500" id="case_pid">
- <Layouts>
- <Layout>
- <Button position="absolute 628 1 703 23" id="button1" class="btn2" text="검사실지정" anchor="top right" onclick="group3_sw_rfid_case_pid_button1_onclick"/>
- <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">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="50"/>
- <Column size="80"/>
- <Column size="150"/>
- <Column size="70"/>
- <Column size="100"/>
- <Column size="80"/>
- <Column size="160"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="선택"/>
- <Cell col="1" text="방번호"/>
- <Cell col="2" text="검사명"/>
- <Cell col="3" text="대기인원"/>
- <Cell col="4" text="검사일"/>
- <Cell col="5" text="완료여부"/>
- <Cell col="6" text="완료시간"/>
- <Cell col="7" text="등록번호"/>
- <Cell col="8" text="rtime"/>
- <Cell col="9" text="건진장소"/>
- <Cell col="10" text="검사ID"/>
- </Band>
- <Band id="body">
- <Cell displaytype="checkbox" edittype="checkbox" text="bind:sel" expr="expr:(sel=="Y"||sel==1)?1:0"/>
- <Cell col="1" text="bind:examroomid"/>
- <Cell col="2" displaytype="text" text="bind:examnm"/>
- <Cell col="3" text="bind:waitpsncnt"/>
- <Cell col="4" text="bind:examorddd" mask="expr:utlf_isNull(examorddd) ? '' : '####-##-##'"/>
- <Cell col="5" displaytype="combo" edittype="combo" text="bind:finyn" combodataset="ds_cmb_finyn" combocodecol="value" combodatacol="label" enable="false"/>
- <Cell col="6" text="bind:findate" mask="expr:utlf_isNull(findate) ? '' : '####-##-## ##:##:##'"/>
- <Cell col="7" text="bind:pid"/>
- <Cell col="8" text="bind:rtime"/>
- <Cell col="9" text="bind:healexamplacecd"/>
- <Cell col="10" text="bind:examid"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape position="absolute 3 23 703 29" linetype="horizontal" id="line2" class="line_10" anchor="left top right"/>
- <Static text="검사내역" position="absolute 3 7 147 24" id="caption7" class="tit_2" anchor="default"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage text="검사실현황" id="case_examroom">
- <Layouts>
- <Layout>
- <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">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="80"/>
- <Column size="150"/>
- <Column size="150"/>
- <Column size="150"/>
- <Column size="160"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="선택"/>
- <Cell col="1" text="고객번호"/>
- <Cell col="2" text="고객명"/>
- <Cell col="3" text="태그번호"/>
- <Cell col="4" text="등록시간"/>
- <Cell col="5" text="examid"/>
- <Cell col="6" text="examroomid"/>
- <Cell col="7" text="healexamplacecd"/>
- <Cell col="8" text="rtime"/>
- <Cell col="9" text="orddd"/>
- <Cell col="10" text="cmpyflag"/>
- </Band>
- <Band id="body">
- <Cell displaytype="checkbox" edittype="checkbox" text="bind:sel" expr="expr:(sel=="Y"||sel==1)?1:0"/>
- <Cell col="1" displaytype="text" text="bind:pid"/>
- <Cell col="2" displaytype="text" text="bind:pidnm"/>
- <Cell col="3" displaytype="text" text="bind:tagno"/>
- <Cell col="4" text="bind:regroomdate" mask="expr:utlf_isNull(regroomdate) ? '' : '####-##-## ##:##:##'"/>
- <Cell col="5" text="bind:examid"/>
- <Cell col="6" text="bind:examroomid"/>
- <Cell col="7" text="bind:healexamplacecd"/>
- <Cell col="8" text="bind:rtime"/>
- <Cell col="9" text="bind:orddd"/>
- <Cell col="10" text="bind:cmpyflag"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <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"/>
- <Static text="검사실대기자리스트" position="absolute 3 7 155 24" id="caption3" class="tit_2" anchor="default"/>
- <Shape position="absolute 3 23 703 29" id="line1" class="line_10" anchor="left top right"/>
- <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">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="50"/>
- <Column size="120"/>
- <Column size="123"/>
- <Column size="80"/>
- <Column size="140"/>
- <Column size="140"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="선택"/>
- <Cell col="2" text="고객번호"/>
- <Cell col="3" text="고객명"/>
- <Cell col="4" text="태그번호"/>
- <Cell col="5" text="등록시간"/>
- <Cell col="6" text="완료시간"/>
- <Cell col="7" text="examid"/>
- <Cell col="8" text="examroomid"/>
- <Cell col="9" text="healexamplacecd"/>
- <Cell col="10" text="rtime"/>
- <Cell col="11" text="waityn"/>
- <Cell col="12" text="orddd"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow+1"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:sel" expr="expr:(sel=="Y"||sel==1)?1:0"/>
- <Cell col="2" displaytype="text" text="bind:pid"/>
- <Cell col="3" displaytype="text" text="bind:pidnm"/>
- <Cell col="4" displaytype="text" text="bind:tagno"/>
- <Cell col="5" text="bind:regroomdate" mask="expr:utlf_isNull(regroomdate) ? '' : '####-##-## ##:##:##'"/>
- <Cell col="6" text="bind:finroomdate" mask="expr:utlf_isNull(finroomdate) ? '' : '####-##-## ##:##:##'"/>
- <Cell col="7" text="bind:examid"/>
- <Cell col="8" text="bind:examroomid"/>
- <Cell col="9" text="bind:healexamplacecd"/>
- <Cell col="10" text="bind:rtime"/>
- <Cell col="11" text="bind:waityn"/>
- <Cell col="12" text="bind:orddd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static text="검사완료자리스트" position="absolute 3 251 147 268" id="caption12" class="tit_2" anchor="default"/>
- <Shape position="absolute 3 267 703 273" linetype="horizontal" id="line4" class="line_10" anchor="left top right"/>
- <Button position="absolute 639 245 703 267" id="button3" class="btn2" text="검사취소" anchor="top right" onclick="group3_sw_rfid_case_examroom_button3_onclick"/>
- <Button position="absolute 584 245 637 267" id="button4" class="btn7" text="엑셀" anchor="top right" onclick="group3_sw_rfid_case_examroom_button4_onclick"/>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Tab position="absolute 0 54 484 679" id="switch1" anchor="left top bottom">
- <Tabpages>
- <Tabpage text="건진자" position="absolute 0 0 484 615" id="case_exam">
- <Layouts>
- <Layout>
- <Shape position="absolute 3 22 481 28" id="line5" class="line_10" anchor="default"/>
- <Static text="건진자현황" position="absolute 3 6 147 23" id="caption11" class="tit_2" anchor="default"/>
- <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">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="60"/>
- <Column size="120"/>
- <Column size="60"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="등록번호"/>
- <Cell col="2" text="성명"/>
- <Cell col="3" text="성별"/>
- <Cell col="4" text="나이"/>
- <Cell col="5" text="태그번호"/>
- <Cell col="6" text="등록시간"/>
- <Cell col="7" text="단체여부"/>
- <Cell col="8" text="rtime"/>
- <Cell col="9" text="healexamplacecd"/>
- <Cell col="10" text="orddd"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow+1"/>
- <Cell col="1" text="bind:pid"/>
- <Cell col="2" text="bind:pnm"/>
- <Cell col="3" text="bind:sex"/>
- <Cell col="4" text="bind:age"/>
- <Cell col="5" text="bind:tagno"/>
- <Cell col="6" text="bind:regtime" mask="expr:utlf_isNull(regtime) ? '' : '####-##-## ##:##:##'"/>
- <Cell col="7" displaytype="checkbox" edittype="checkbox" text="bind:cmpyflag" expr="expr:(cmpyflag=="Y"||cmpyflag==1)?1:0" enable="false"/>
- <Cell col="8" text="bind:rtime"/>
- <Cell col="9" text="bind:healexamplacecd"/>
- <Cell col="10" text="bind:orddd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage text="검사실" position="absolute 0 0 484 613" id="case_room">
- <Layouts>
- <Layout>
- <Shape position="absolute 3 23 481 29" linetype="horizontal" id="line20" class="line_10" anchor="default"/>
- <Static text="검사실현황" position="absolute 3 7 147 23" id="caption4" class="tit_2" anchor="default"/>
- <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">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="50"/>
- <Column size="100"/>
- <Column size="200"/>
- <Column size="95"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="선택"/>
- <Cell col="1" text="검사실코드"/>
- <Cell col="2" text="검사실명"/>
- <Cell col="3" text="대기인원"/>
- <Cell col="4" text="건진장소"/>
- <Cell col="5" text="건진일자"/>
- </Band>
- <Band id="body">
- <Cell displaytype="checkbox" edittype="checkbox" text="bind:sel" expr="expr:(sel=="Y"||sel==1)?1:0"/>
- <Cell col="1" displaytype="text" text="bind:examroomid"/>
- <Cell col="2" displaytype="text" text="bind:examroomnm"/>
- <Cell col="3" text="bind:waitpsncnt"/>
- <Cell col="4" text="bind:healexamplacecd"/>
- <Cell col="5" text="bind:orddd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Static text="검사완료자" position="absolute 241 682 318 705" align="align:center middle;" id="cap_rsrvflag" class="cell_1" anchor="left bottom"/>
- <Shape position="absolute 1 678 485 684" linetype="horizontal" id="line46" class="line_2" anchor="left bottom"/>
- <Static text="전체검사자" position="absolute 1 682 78 705" align="align:center middle;" id="caption8" class="cell_1" anchor="left bottom"/>
- <Static text="검사자" position="absolute 1 708 78 731" align="align:center middle;" id="caption9" class="cell_1" anchor="left bottom"/>
- <Shape position="absolute 1 704 485 710" linetype="horizontal" id="line3" class="line_2" anchor="left bottom"/>
- <Edit readonly="true" position="absolute 320 684 483 703" align="align:right middle;" id="opt_acptcnt" anchor="left bottom" class="output"/>
- <Edit readonly="true" position="absolute 80 684 238 703" align="align:right middle;" id="output1" anchor="left bottom" class="output"/>
- <Edit readonly="true" position="absolute 80 710 238 729" align="align:right middle;" id="output2" anchor="left bottom" class="output"/>
- <Shape position="absolute 1 730 485 736" linetype="horizontal" id="line6" class="line_2" anchor="left bottom"/>
- <Static text="검사대기자" position="absolute 241 708 318 731" align="align:center middle;" id="caption10" class="cell_1" anchor="left bottom"/>
- <Edit readonly="true" position="absolute 320 710 483 729" align="align:right middle;" id="output3" anchor="left bottom" class="output"/>
- <Shape position="absolute 491 594 1191 600" linetype="horizontal" id="line7" class="line_10" anchor="left right bottom"/>
- <Static text="사전질의 알림" position="absolute 491 578 635 595" id="caption13" class="tit_2" anchor="left bottom"/>
- <Grid position="absolute 491 599 938 733" id="datagrid1" binddataset="ds_main_bfinqrinfo_bfinqr" anchor="left bottom">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="315"/>
- <Column size="109"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="사전질의사항"/>
- <Cell col="1" text="답변"/>
- </Band>
- <Band id="body">
- <Cell displaytype="text" text="bind:inqrnm"/>
- <Cell col="1" displaytype="text" text="bind:answcnts"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <TextArea position="absolute 940 599 1191 733" id="tar_remcnts" enable="false" anchor="left right bottom"/>
- <Edit position="absolute 1056 575 1191 594" align="align:right middle;" id="ipt_ownbamt" class="input_default" enable="false" anchor="right bottom"/>
- <Static text="고객등급" position="absolute 989 574 1055 594" align="align:center middle;" id="caption26" class="cell_1" anchor="right bottom" onclick="group3_caption26_onclick"/>
- <Static position="absolute 1091 59 1106 74" id="caption35" class="color_3" anchor="top right"/>
- <Static text="단체" position="absolute 1109 60 1153 74" id="caption36" anchor="top right"/>
- <Static position="absolute 1140 59 1155 74" id="caption37" class="color_4" anchor="top right"/>
- <Static text="개인" position="absolute 1158 60 1191 74" id="caption38" anchor="top right"/>
- <Button position="absolute 420 54 484 76" id="button2" class="btn2" text="새로고침" anchor="default" onclick="group3_button2_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption6" text="중앙관제화면" class="tit_1" position="absolute 0 0 120 25"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_send_save_room" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
- <Dataset id="ds_send_save_exam" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
- <Dataset id="ds_main_bfinqrinfo_bfinqr" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="inqrnm" type="STRING" size="256"/>
- <Column id="answcnts" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="inqrnm"/>
- <Col id="answcnts"/>
- </Row>
- </Rows>
- </Dataset>
- <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">
- <ColumnInfo>
- <Column id="sel" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="pidnm" type="STRING" size="256"/>
- <Column id="tagno" type="STRING" size="256"/>
- <Column id="regroomdate" type="STRING" size="256"/>
- <Column id="examid" type="STRING" size="256"/>
- <Column id="examroomid" type="STRING" size="256"/>
- <Column id="healexamplacecd" type="STRING" size="256"/>
- <Column id="rtime" type="STRING" size="256"/>
- <Column id="orddd" type="STRING" size="256"/>
- <Column id="cmpyflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="sel"/>
- <Col id="pid"/>
- <Col id="pidnm"/>
- <Col id="tagno"/>
- <Col id="regroomdate"/>
- <Col id="examid"/>
- <Col id="examroomid"/>
- <Col id="healexamplacecd"/>
- <Col id="rtime"/>
- <Col id="orddd"/>
- <Col id="cmpyflag"/>
- </Row>
- </Rows>
- </Dataset>
- <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">
- <ColumnInfo>
- <Column id="sel" type="STRING" size="256"/>
- <Column id="examroomid" type="STRING" size="256"/>
- <Column id="examnm" type="STRING" size="256"/>
- <Column id="waitpsncnt" type="STRING" size="256"/>
- <Column id="examorddd" type="STRING" size="256"/>
- <Column id="finyn" type="STRING" size="256"/>
- <Column id="findate" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="rtime" type="STRING" size="256"/>
- <Column id="healexamplacecd" type="STRING" size="256"/>
- <Column id="examid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="sel"/>
- <Col id="examroomid"/>
- <Col id="examnm"/>
- <Col id="waitpsncnt"/>
- <Col id="examorddd"/>
- <Col id="finyn"/>
- <Col id="findate"/>
- <Col id="pid"/>
- <Col id="rtime"/>
- <Col id="healexamplacecd"/>
- <Col id="examid"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_save_choose" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="examroom" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="examroom"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_bfinqrinfo_remcnts" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="remcnts" type="STRING" size="256"/>
- <Column id="clntgrde" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="remcnts"/>
- <Col id="clntgrde"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_baseinfo_healexamplacelst" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
- <Dataset id="ds_main_controlinfo_cntrlst_patcnt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="totcnt" type="STRING" size="256"/>
- <Column id="endcnt" type="STRING" size="256"/>
- <Column id="examcnt" type="STRING" size="256"/>
- <Column id="waitcnt" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="totcnt"/>
- <Col id="endcnt"/>
- <Col id="examcnt"/>
- <Col id="waitcnt"/>
- </Row>
- </Rows>
- </Dataset>
- <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">
- <ColumnInfo>
- <Column id="sel" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="pidnm" type="STRING" size="256"/>
- <Column id="tagno" type="STRING" size="256"/>
- <Column id="regroomdate" type="STRING" size="256"/>
- <Column id="finroomdate" type="STRING" size="256"/>
- <Column id="examid" type="STRING" size="256"/>
- <Column id="examroomid" type="STRING" size="256"/>
- <Column id="healexamplacecd" type="STRING" size="256"/>
- <Column id="rtime" type="STRING" size="256"/>
- <Column id="waityn" type="STRING" size="256"/>
- <Column id="orddd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="sel"/>
- <Col id="pid"/>
- <Col id="pidnm"/>
- <Col id="tagno"/>
- <Col id="regroomdate"/>
- <Col id="finroomdate"/>
- <Col id="examid"/>
- <Col id="examroomid"/>
- <Col id="healexamplacecd"/>
- <Col id="rtime"/>
- <Col id="waityn"/>
- <Col id="orddd"/>
- </Row>
- </Rows>
- </Dataset>
- <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">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="pnm" type="STRING" size="256"/>
- <Column id="sex" type="STRING" size="256"/>
- <Column id="age" type="STRING" size="256"/>
- <Column id="tagno" type="STRING" size="256"/>
- <Column id="regtime" type="STRING" size="256"/>
- <Column id="cmpyflag" type="STRING" size="256"/>
- <Column id="rtime" type="STRING" size="256"/>
- <Column id="healexamplacecd" type="STRING" size="256"/>
- <Column id="orddd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="pid"/>
- <Col id="pnm"/>
- <Col id="sex"/>
- <Col id="age"/>
- <Col id="tagno"/>
- <Col id="regtime"/>
- <Col id="cmpyflag"/>
- <Col id="rtime"/>
- <Col id="healexamplacecd"/>
- <Col id="orddd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="hidden" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="hidden"/>
- </Row>
- </Rows>
- </Dataset>
- <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">
- <ColumnInfo>
- <Column id="sel" type="STRING" size="256"/>
- <Column id="examroomid" type="STRING" size="256"/>
- <Column id="examroomnm" type="STRING" size="256"/>
- <Column id="waitpsncnt" type="STRING" size="256"/>
- <Column id="healexamplacecd" type="STRING" size="256"/>
- <Column id="orddd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="sel"/>
- <Col id="examroomid"/>
- <Col id="examroomnm"/>
- <Col id="waitpsncnt"/>
- <Col id="healexamplacecd"/>
- <Col id="orddd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_codedata_popupmenu2_menu_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="hardcdnm" type="STRING" size="256"/>
- <Column id="hardcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="hardcdnm">상세조회</Col>
- <Col id="hardcd">fGetBfInqr(group3.sw_rfid.case_examroom.grd_endlst)</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="srchhealexamplacecd" type="STRING" size="256"/>
- <Column id="srchorddd" type="STRING" size="256"/>
- <Column id="srchpid" type="STRING" size="256"/>
- <Column id="srchpnm" type="STRING" size="256"/>
- <Column id="srchexamstat" type="STRING" size="256"/>
- <Column id="srchtagno" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="srchhealexamplacecd">S</Col>
- <Col id="srchorddd"/>
- <Col id="srchpid"/>
- <Col id="srchpnm"/>
- <Col id="srchexamstat">1</Col>
- <Col id="srchtagno"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_codedata_popupmenu_menu_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="hardcdnm" type="STRING" size="256"/>
- <Column id="hardcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="hardcdnm">상세조회</Col>
- <Col id="hardcd">fGetBfInqr(group3.sw_rfid.case_examroom.grd_waitlst)</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_controldetl_examlst_pre" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="healexamplacecd" type="STRING" size="256"/>
- <Column id="examid" type="STRING" size="256"/>
- <Column id="examroomid" type="STRING" size="256"/>
- <Column id="preexamid" type="STRING" size="256"/>
- <Column id="preexamroomid" type="STRING" size="256"/>
- <Column id="preexamnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="healexamplacecd"/>
- <Col id="examid"/>
- <Col id="examroomid"/>
- <Col id="preexamid"/>
- <Col id="preexamroomid"/>
- <Col id="preexamnm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_room" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_patexam" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_bfinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="srchrtime" type="STRING" size="256"/>
- <Column id="srchbfpid" type="STRING" size="256"/>
- <Column id="srchroom" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="srchrtime"/>
- <Col id="srchbfpid"/>
- <Col id="srchroom"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_cmb_finyn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">대기</Col>
- <Col id="value">W</Col>
- </Row>
- <Row>
- <Col id="label">미완료</Col>
- <Col id="value">N</Col>
- </Row>
- <Row>
- <Col id="label">완료</Col>
- <Col id="value">Y</Col>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group3.group6.ipt_ordddate" propid="value" datasetid="ds_send" columnid="srchorddd"/>
- <BindItem id="item1" compid="group3.group6.cmb_placeflag" propid="value" datasetid="ds_send" columnid="srchhealexamplacecd"/>
- <BindItem id="item2" compid="group3.group6.btn_tagno" propid="value" datasetid="ds_send" columnid="srchtagno"/>
- <BindItem id="item3" compid="group3.group6.ipt_srchpid" propid="value" datasetid="ds_send" columnid="srchpid"/>
- <BindItem id="item4" compid="group3.group6.opt_srchpnm" propid="value" datasetid="ds_send" columnid="srchpnm"/>
- <BindItem id="item5" compid="group3.group6.combo1" propid="value" datasetid="ds_send" columnid="srchexamstat"/>
- <BindItem id="item6" compid="group3.opt_acptcnt" propid="value" datasetid="ds_main_controlinfo_cntrlst_patcnt" columnid="endcnt"/>
- <BindItem id="item7" compid="group3.output1" propid="value" datasetid="ds_main_controlinfo_cntrlst_patcnt" columnid="totcnt"/>
- <BindItem id="item8" compid="group3.output2" propid="value" datasetid="ds_main_controlinfo_cntrlst_patcnt" columnid="examcnt"/>
- <BindItem id="item9" compid="group3.output3" propid="value" datasetid="ds_main_controlinfo_cntrlst_patcnt" columnid="waitcnt"/>
- <BindItem id="item10" compid="group3.tar_remcnts" propid="value" datasetid="ds_main_bfinqrinfo_remcnts" columnid="remcnts"/>
- <BindItem id="item11" compid="group3.ipt_ownbamt" propid="value" datasetid="ds_main_bfinqrinfo_remcnts" columnid="clntgrde"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2017-06-19
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2017-06-19 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- include "ast_healexamxp::AHA001.xjs";
- include "pam_pamcomnxp::PAM.xjs";
- include "ast_healthexambasexp::healcombolist.xjs";
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- var arErrorCode = new HashArray();
- var evntID = "";
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Argument : N/A
- * Description : 기본코드 정보 조회
- ****************************************************************************************/
- function fGetBasicCdList() {
- var arrParam = [{dsNm: "ds_init_baseinfo_healexamplacelst", cdGrpId: "S600"}];
- healGetCodeList(arrParam); //healcombolist.xjs
- }
- /****************************************************************************************
- * Argument : N/A
- * Description : 초기화
- ****************************************************************************************/
- function fInit() {
- var cur_date = utlf_getCurrentDate();
- group3.group6.ipt_ordddate.value = cur_date;
-
- group3.switch1.tabindex = 0;
- group3.sw_rfid.tabindex = 0;
-
- var vHealExamDetlFg = fGetHealExamDetlFlag(); //AHA001.xjs
- if( vHealExamDetlFg == 'C01' ){
- group3.group6.cmb_placeflag.value='S';
- } else if (vHealExamDetlFg == 'C03') {
- group3.group6.cmb_placeflag.value='K';
- }
- }
- /****************************************************************************************
- * Argument : N/A
- * Description : 조회 조건에 따른 건진자,검사실 리스트 및 대기자현황 조회
- ****************************************************************************************/
- function fGetCntrList() {
- var oParam = {};
- oParam.id = "TRAHR00106";
- oParam.service = "healexamrsltjudgapp.TestProgrs";
- oParam.method = "reqGetCntrList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_controlinfo_cntrlst_pat=pat ds_main_controlinfo_cntrlst_room=room ds_main_controlinfo_cntrlst_patcnt=patcnt";
- oParam.async = false;
- oParam.callback = "cf_TRAHR00106";
- tranf_submit(oParam);
-
- if(arErrorCode.pop("TRAHR00106") > -1) {
- var roomid = ds_send_room.getColumn(0,"examroomid");
- var placecd = ds_send_room.getColumn(0,"healexamplacecd");
- for(var i = 0; i < ds_main_controlinfo_cntrlst_room.rowcount; i++ ) {
- var desroomid = ds_main_controlinfo_cntrlst_room.getColumn(i , "examroomid");
- var desplacecd = ds_main_controlinfo_cntrlst_room.getColumn(i , "healexamplacecd");
- if(desroomid == roomid && placecd == desplacecd) {
- ds_main_controlinfo_cntrlst_room.setColumn(i , "sel", "Y");
- // copyNodesetType("/root/send/room","/root/main/controlinfo/cntrlst/room[" + i + "]","replace");
- ds_send_room.copyRow(0, ds_main_controlinfo_cntrlst_room, i);
-
- call_TRAHR00107();
- }
- }
-
- fSetPatPaint();
-
- call_TRAHR00108();
- fSetPaintUnChoose();
- }
- }
- function cf_TRAHR00106(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- ds_main_controlinfo_cntrlst_room.addColumn("sel","string");
- dsf_setDefaultVal(ds_main_controlinfo_cntrlst_room, "sel:N")
- }
- function call_TRAHR00107() {
- var oParam = {};
- oParam.id = "TRAHR00107";
- oParam.service = "healexamrsltjudgapp.TestProgrs";
- oParam.method = "reqGetRoomWaitList";
- oParam.inds = "req=ds_send_room";
- oParam.outds = "ds_main_controldetl_roomdetllst_wait=wait ds_main_controldetl_roomdetllst_end=end";
- oParam.async = false;
- oParam.callback = "cf_TRAHR00107";
- tranf_submit(oParam);
- }
- function cf_TRAHR00107(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- function call_TRAHR00108() {
- var oParam = {};
- oParam.id = "TRAHR00108";
- oParam.service = "healexamrsltjudgapp.TestProgrs";
- oParam.method = "reqGetPatExamList";
- oParam.inds = "req=ds_send_patexam";
- oParam.outds = "ds_main_controldetl_examlst_item=item ds_main_controldetl_examlst_pre=pre";
- oParam.async = false;
- oParam.callback = "cf_TRAHR00108";
- tranf_submit(oParam);
- }
- function cf_TRAHR00108(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- dsf_setTypeFormat(ds_main_controldetl_examlst_item, "waitpsncnt:INT");
- }
- /****************************************************************************************
- * Argument : N/A
- * Description : 검사자의 필요정보를 색깔로 표시한다.
- ****************************************************************************************/
- function fSetPatPaint() {
- for(var i = 1; i < group3.switch1.case_exam.grd_patlst.getCellCount("body"); i++) {
- group3.switch1.case_exam.grd_patlst.setCellProperty("body", i, "background", "EXPR(cmpyflag=='Y'?'#f3e1bf':cmpyflag=='N'?'#7BE6B7':'')");
- group3.switch1.case_exam.grd_patlst.setCellProperty("body", i, "background2", "EXPR(cmpyflag=='Y'?'#f3e1bf':cmpyflag=='N'?'#7BE6B7':'')");
- }
- }
-
- /****************************************************************************************
- * Argument : N/A
- * Description : 검사자의 검사정보 리스트를 조회
- ****************************************************************************************/
- function fGetPatExamList(vGrd) {
- var grdDs = eval(vGrd.binddataset);
- var row = grdDs.rowposition;
- dsf_copyColInfo(ds_send_patexam, grdDs);
- ds_send_patexam.copyRow(ds_send_patexam.addRow(), grdDs, row);
-
- call_TRAHR00108();
-
- if(arErrorCode.pop("TRAHR00108") > -1) {
- group3.sw_rfid.tabindex = 0;
- }
- }
-
- /****************************************************************************************
- * Argument : N/A
- * Description : 검사완료 후 검사실 미지정자를 표시한다.
- ****************************************************************************************/
- function fSetPaintUnChoose() {
- for(var i = 1; i < group3.sw_rfid.case_examroom.grd_endlst.getCellCount("body"); i++) {
- group3.sw_rfid.case_examroom.grd_endlst.setCellProperty("body", i, "background","EXPR(waityn=='Y'?'#ffff00':'')");
- group3.sw_rfid.case_examroom.grd_endlst.setCellProperty("body", i, "background2","EXPR(waityn=='Y'?'#ffff00':'')");
- }
- for(var i = 1; i < group3.sw_rfid.case_examroom.grd_waitlst.getCellCount("body"); i++) {
- group3.sw_rfid.case_examroom.grd_waitlst.setCellProperty("body", i, "background","EXPR(cmpyflag=='Y'?'#f3e1bf':cmpyflag=='N'?'#7BE6B7':'')");
- group3.sw_rfid.case_examroom.grd_waitlst.setCellProperty("body", i, "background2","EXPR(cmpyflag=='Y'?'#f3e1bf':cmpyflag=='N'?'#7BE6B7':'')");
- }
- }
- /****************************************************************************************
- * Argument : N/A
- * Description : 검사실 지정을 하여 선택한다.
- ****************************************************************************************/
- function fSetChooseRoom() {
- // 선택 검사 및 검사완료여부 체크
- //var nodeList = ds_main_controldetl_examlst_pre;
- for(var i = 0; i < ds_main_controldetl_examlst_item.rowcount; i++) {
- var sel = ds_main_controldetl_examlst_item.getColumn(i, "sel");
- var selexamroomid = ds_main_controldetl_examlst_item.getColumn(i, "examroomid");
- var selhealexamplacecd = ds_main_controldetl_examlst_item.getColumn(i, "healexamplacecd");
-
- // 선택되었으면서 검사 완료 되지 않은 검사실
- if(sel == "Y" ) {
- for(var x = 0; x < ds_main_controldetl_examlst_item.rowcount; x++) {
- if(selexamroomid == ds_main_controldetl_examlst_item.getColumn(x, "examroomid")) {
- var srchexamroomid = ds_main_controldetl_examlst_item.getColumn(x, "examroomid");
- var srchexamid = ds_main_controldetl_examlst_item.getColumn(x, "examid");
- var srchhealexamplacecd = ds_main_controldetl_examlst_item.getColumn(x, "healexamplacecd");
- // 선택 한 검사가 선행검사를 검사실 있는지 체크
- for(var j = 0; j < ds_main_controldetl_examlst_pre.rowcount; j++) {
- var desexamroomid = ds_main_controldetl_examlst_pre.getColumn(j, "examroomid");
- var desexamid = ds_main_controldetl_examlst_pre.getColumn(j, "examid");
- var deshealexamplacecd = ds_main_controldetl_examlst_pre.getColumn(j, "healexamplacecd");
- var preexamroomid = ds_main_controldetl_examlst_pre.getColumn(j, "preexamroomid");
- var preexamid = ds_main_controldetl_examlst_pre.getColumn(j, "preexamid");
- var preexamnm = ds_main_controldetl_examlst_pre.getColumn(j, "preexamnm");
-
- if( srchexamroomid == desexamroomid && srchexamid == desexamid && srchhealexamplacecd == deshealexamplacecd ) {
- // 선행검사가 있는 검사실 일경우 선행검사 완료 되었는지 체크
- var node = ds_main_controldetl_examlst_item.getCaseCount("examid=='" + preexamid + "' && examroomid=='" + preexamroomid + "' && finyn=='N'");
- if(node > 0) {
- sysf_messageBox("선행검사 [ " + preexamnm + " ] 미완료","E008");
- return;
- break;
- }
- }
- }
- }
- }
- }
- }
-
- ds_send_save_choose.copyData(ds_send_patexam);
- dsf_createDs("ds_send_save_choose_examroom");
- ds_main_controldetl_examlst_item.filter("sel=='Y'");
- ds_send_save_choose_examroom.copyData(ds_main_controldetl_examlst_item, true);
- ds_main_controldetl_examlst_item.filter("");
-
- if(ds_send_save_choose_examroom.rowcount < 1) {
- sysf_messageBox("지정할 검사실을","C002");
- return;
- }
-
- dsf_createDs("ds_choose", [
- {col:"pid", type:"STRING", size:256}
- , {col:"rtime", type:"STRING", size:256}
- , {col:"tagno", type:"STRING", size:256}
- , {col:"healexamplacecd", type:"STRING", size:256}
- , {col:"examroomid", type:"STRING", size:256}
- ]);
- for(var i = 0 ; i < ds_send_save_choose_examroom.rowcount ; i++) {
- var nRow = ds_choose.addRow();
- ds_choose.setColumn(nRow, "pid", ds_send_save_choose.getColumn(0,"pid"));
- ds_choose.setColumn(nRow, "rtime", ds_send_save_choose.getColumn(0,"rtime"));
- ds_choose.setColumn(nRow, "tagno", ds_send_save_choose.getColumn(0,"tagno"));
- ds_choose.setColumn(nRow, "healexamplacecd", ds_send_save_choose.getColumn(0,"healexamplacecd"));
- ds_choose.setColumn(nRow, "examroomid", ds_send_save_choose_examroom.getColumn(i,"examroomid"));
- }
-
- var oParam = {};
- oParam.id = "TXAHR00102";
- oParam.service = "healexamrsltjudgapp.TestProgrs";
- oParam.method = "reqExeChooseRoom";
- oParam.inds = "choose=ds_choose";
- oParam.outds = "ds_hidden=item";
- oParam.async = false;
- oParam.callback = "cf_TXAHR00102";
- tranf_submit(oParam);
- if(arErrorCode.pop("TXAHR00102") > -1) {
- fGetCntrList();
- }
- }
- function cf_TXAHR00102(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
-
- /****************************************************************************************
- * Argument : vGrd - 그리드
- * Description :
- ****************************************************************************************/
- function fGetBfInqr(vGrd)
- {
- var grdDs = eval(vGrd.binddataset);
- var row = grdDs.rowposition;
-
- ds_send_bfinfo.setColumn(0, "srchbfpid", grdDs.getColumn(row, "pid"));
- ds_send_bfinfo.setColumn(0, "srchrtime", grdDs.getColumn(row, "rtime"));
-
- var oParam = {};
- oParam.id = "TRAHR00109";
- oParam.service = "healexamrsltjudgapp.TestProgrs";
- oParam.method = "reqGetBfInqr";
- oParam.inds = "req=ds_send_bfinfo";
- oParam.outds = "ds_main_bfinqrinfo_bfinqr=bfinqr ds_main_bfinqrinfo_remcnts=remcnts";
- oParam.async = false;
- //oParam.callback = "cf_TRAHR00109";
- tranf_submit(oParam);
- }
-
- /****************************************************************************************
- * Argument : N/A
- * Description : 그리드 색설정
- ****************************************************************************************/
- function fSetGridColor()
- {
- for(var i = 0 ; i < group3.sw_rfid.case_examroom.grd_waitlst.getCellCount("body"); i++)
- {
- group3.sw_rfid.case_examroom.grd_waitlst.setCellProperty("body", i, "background", "EXPR(bfinqrcnt>0?'#FFF000':'')");
- group3.sw_rfid.case_examroom.grd_waitlst.setCellProperty("body", i, "background2", "EXPR(bfinqrcnt>0?'#FFF000':'')");
- }
-
- for(var i = 0 ; i < group3.sw_rfid.case_examroom.grd_endlst.getCellCount("body"); i++)
- {
- group3.sw_rfid.case_examroom.grd_endlst.setCellProperty("body", i, "background", "EXPR(bfinqrcnt>0?'#FFF000':'')");
- group3.sw_rfid.case_examroom.grd_endlst.setCellProperty("body", i, "background2", "EXPR(bfinqrcnt>0?'#FFF000':'')");
- }
- }
- function call_TXAHR00101() {
- var oParam = {};
- oParam.id = "TXAHR00101";
- oParam.service = "healexamrsltjudgapp.TestProgrs";
- oParam.method = "reqExeExamEnd";
- oParam.inds = "room=ds_send_save_room exam=ds_send_save_exam";
- oParam.outds = "ds_hidden=item";
- oParam.async = false;
- oParam.callback = "cf_TXAHR00101";
- tranf_submit(oParam);
- }
- function cf_TXAHR00101(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- /****************************************************************************************
- * Argument : N/A
- * Description : 라디오버튼 선택
- ****************************************************************************************/
- function lf_setSelectYn(gridId:Grid, row) {
- objDs = eval(gridId.binddataset);
- for(var i = 0; i < objDs.rowcount; i++) {
- objDs.setColumn(i,"sel","N");
- }
- objDs.setColumn(row,"sel","Y");
- }
-
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Description : 화면 처음 초기화시 폼초기화
- ****************************************************************************************/
- function SMAHR00120_onload(obj:Form, e:LoadEventInfo) {
- frmf_initForm(obj);
- //grdf_initGrid(grd_XXX);
- //grdf_setGridSort(grd_XXX);
- //grdf_setRowTypeIcon(grd_XXX, 0_컬럼위치값);
- grdf_setGridSort(group3.switch1.case_exam.grd_patlst);
- grdf_setGridSort(group3.switch1.case_room.grd_roomlst);
- grdf_setGridSort(group3.sw_rfid.case_pid.grd_examlst);
- grdf_setGridSort(group3.sw_rfid.case_examroom.grd_waitlst);
- grdf_setGridSort(group3.sw_rfid.case_examroom.grd_endlst);
- fGetBasicCdList();
-
- fInit();
-
- frmf_createPopupMenuDs("pmn_menu", "pmn_menu_onmenuclick", ds_codedata_popupmenu_menu_item);
- frmf_createPopupMenuDs("pmn_menu2", "pmn_menu_onmenuclick", ds_codedata_popupmenu2_menu_item);
- group3.group6.btn_search.click();
- }
- // ds에 생성된 id별 함수 실행
- function pmn_menu_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
- {
- eval(e.id);
- }
- /****************************************************************************************
- * Components : Button
- * Description : 조회
- ****************************************************************************************/
- function group3_group6_btn_search_onclick(obj:Button, e:ClickEventInfo) {
- fGetCntrList();
- }
- /****************************************************************************************
- * Components : Combo
- * Description : 건진장소 변경
- ****************************************************************************************/
- function group3_group6_cmb_placeflag_onitemchanged(obj:Combo, e:ItemChangeEventInfo) {
- group3.group6.btn_search.click();
- }
- /****************************************************************************************
- * Components : Edit
- * Description :
- ****************************************************************************************/
- function group3_group6_btn_tagno_onkeyup(obj:Edit, e:KeyEventInfo) {
- if(event.keyCode == 13) {
- model.setValue("/root/send/srchtagno" , group3.group6.btn_tagno.currentText);
- group3.group6.btn_tagno.refresh();
- group3.group6.btn_search.dispatch("DOMActivate");
- }
- }
- /****************************************************************************************
- * Components : Edit
- * Description : 등록번호 입력 후 환자조회
- ****************************************************************************************/
- function group3_group6_ipt_srchpid_onkeyup(obj:Edit, e:KeyEventInfo) {
- if(e.keycode == 13) {
- obj.updateToDataset();
- group3.group6.btn_srchpat.click();
- }
- }
- /****************************************************************************************
- * Components : Button
- * Description : 환자조회 팝업
- ****************************************************************************************/
- function group3_group6_btn_srchpat_onclick(obj:Button, e:ClickEventInfo) {
- fSearchPatInfo("SPAHA00400", "pid", group3.group6.ipt_srchpid.text, "N", "ds_send", "srchpid", "srchpnm");
- application.popupframes["SPAHA00400"].winlevel = "topmost";
- application.popupframes["SPAHA00400"].activate();
- group3.group6.btn_search.click();
- }
- /****************************************************************************************
- * Components : Combo
- * Description : 검사상태 변경
- ****************************************************************************************/
- function group3_group6_combo1_onitemchanged(obj:Combo, e:ItemChangeEventInfo) {
- group3.group6.btn_search.click();
- }
- /****************************************************************************************
- * Components : Grid
- * Description : 마우스 우클릭
- ****************************************************************************************/
- function group3_sw_rfid_case_examroom_grd_waitlst_onrbuttonup(obj:Grid, e:GridMouseEventInfo) {
- if(e.row > -1){
- grdf_setSelectedCell(obj, e); // 선택된 행 확실히 선택해줌
- pmn_menu.trackPopup(e.screenX,e.screenY);
- }
-
- return true;
- }
- /****************************************************************************************
- * Components : Button
- * Description : 검사완료
- ****************************************************************************************/
- function group3_sw_rfid_case_examroom_btn_choisel_onclick(obj:Button, e:ClickEventInfo) {
- ds_main_controldetl_roomdetllst_wait.filter("sel=='Y'");
- ds_send_save_room.copyData(ds_main_controldetl_roomdetllst_wait, true);
- ds_main_controldetl_roomdetllst_wait.filter("");
- //ds_send_save_exam.clearData();
- dsf_createDsRow("ds_send_save_exam", [
- {col:"pid", type:"STRING", size:256, val:""}
- , {col:"rtime", type:"STRING", size:256, val:""}
- , {col:"examid", type:"STRING", size:256, val:""}
- , {col:"examroomid", type:"STRING", size:256, val:""}
- , {col:"hoscode", type:"STRING", size:256, val:""}
- ]);
-
- call_TXAHR00101();
-
- if(arErrorCode.pop("TXAHR00101") > -1) {
- fGetCntrList();
- }
- }
- /****************************************************************************************
- * Components : Button
- * Description : 검사취소
- ****************************************************************************************/
- function group3_sw_rfid_case_examroom_button3_onclick(obj:Button, e:ClickEventInfo) {
- ds_main_controldetl_roomdetllst_end.filter("sel=='Y'");
- ds_send_save_exam.copyData(ds_main_controldetl_roomdetllst_end, true);
- ds_main_controldetl_roomdetllst_end.filter("");
- //ds_send_save_room.clear();
- dsf_createDsRow("ds_send_save_room", [
- {col:"pid", type:"STRING", size:256, val:""}
- , {col:"rtime", type:"STRING", size:256, val:""}
- , {col:"examid", type:"STRING", size:256, val:""}
- , {col:"examroomid", type:"STRING", size:256, val:""}
- , {col:"hoscode", type:"STRING", size:256, val:""}
- ]);
-
- call_TXAHR00101();
-
- if(arErrorCode.pop("TXAHR00101") > -1) {
- fGetCntrList();
- }
- }
- /****************************************************************************************
- * Components : Button
- * Description : 검사완료자리스트 엑셀저장
- ****************************************************************************************/
- function group3_sw_rfid_case_examroom_button4_onclick(obj:Button, e:ClickEventInfo) {
- if( ds_main_controldetl_roomdetllst_end.rowcount > 0 ){
- grdf_exportExcel(group3.sw_rfid.case_examroom.grd_endlst, "save", "save", false, "", "user", false);
- } else {
- sysf_messageBox("조회된 데이터가 ", "I004");
- }
- }
- /****************************************************************************************
- * Components : Button
- * Description : 검사실지정
- ****************************************************************************************/
- function group3_sw_rfid_case_pid_button1_onclick(obj:Button, e:ClickEventInfo) {
- fSetChooseRoom();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 새로고침
- ****************************************************************************************/
- function group3_button2_onclick(obj:Button, e:ClickEventInfo) {
- fGetCntrList();
- }
- /****************************************************************************************
- * Components : Static
- * Description : 고객등급
- ****************************************************************************************/
- function group3_caption26_onclick(obj:Static, e:ClickEventInfo) {
- //fPriceCheck();
- }
- /****************************************************************************************
- * Components : Calendar
- * Description : 건진일자 변경
- ****************************************************************************************/
- function group3_group6_ipt_ordddate_onchanged(obj:Calendar, e:ChangeEventInfo)
- {
- group3.group6.btn_search.click();
- }
- function group3_switch1_case_room_grd_roomlst_onselectchanged(obj:Grid, e:GridSelectEventInfo)
- {
- // if(e.row > -1) {
- // var col = e.col;
- // if(col == obj.getBindCellIndex("body","sel")) {
- // var row = e.row;
- // lf_setSelectYn(obj, row);
- // ds_send_room.clear();
- // dsf_copyColInfo(ds_send_room, ds_main_controlinfo_cntrlst_room);
- // ds_send_room.copyRow(ds_send_room.addRow(), ds_main_controlinfo_cntrlst_room, row);
- // ds_send_bfinfo.setColumn(0, "srchroom", ds_main_controlinfo_cntrlst_room.getColumn(row, "examroomid"));
- //
- // call_TRAHR00107();
- //
- // if(arErrorCode.pop("TRAHR00107") > -1) {
- // group3.sw_rfid.tabindex = 1;
- // fSetPaintUnChoose();
- // fSetGridColor();
- // }
- // }
- // }
- }
- /****************************************************************************************
- * Components : Grid
- * Description : 검진자형황 선택
- ****************************************************************************************/
- function group3_switch1_case_exam_grd_patlst_oncelldblclick(obj:Grid, e:GridClickEventInfo) {
- if(e.row > -1) {
- fGetPatExamList(group3.switch1.case_exam.grd_patlst);
- }
- }
- /****************************************************************************************
- * Components : Form
- * Description : 타이머이벤트
- ****************************************************************************************/
- function SMAHR00120_ontimer(obj:Form, e:TimerEventInfo)
- {
- if(e.timerid == 1) {
- if(evntID == "oncelldblclick") evntID = ""; //oncelldblclick 이벤트가 바로 뒤 실행된다면 oncellclick 의 이벤트를 실행하지 않음.
- else fGetBfInqr(group3.sw_rfid.case_examroom.grd_waitlst);
- this.killTimer(1);
- }
- if(e.timerid == 2) {
- if(evntID == "oncelldblclick") evntID = ""; //oncelldblclick 이벤트가 바로 뒤 실행된다면 oncellclick 의 이벤트를 실행하지 않음.
- else fGetBfInqr(group3.sw_rfid.case_examroom.grd_endlst);
- this.killTimer(2);
- }
- }
- /****************************************************************************************
- * Components : Grid
- * Description : 검사실 대기리자리스트 선택
- ****************************************************************************************/
- function group3_sw_rfid_case_examroom_grd_waitlst_oncelldblclick(obj:Grid, e:GridClickEventInfo) {
- if(e.row > -1) {
- evntID = e.eventid;
- fGetPatExamList(group3.sw_rfid.case_examroom.grd_waitlst);
- }
- }
- function group3_sw_rfid_case_examroom_grd_waitlst_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- if(e.row > -1) {
- this.setTimer(1, 300); //ondelayclick 이벤트를 적용하기 위함.
- }
- }
- /****************************************************************************************
- * Components : Grid
- * Description : 검사완료자리스트 선택
- ****************************************************************************************/
- function group3_sw_rfid_case_examroom_grd_endlst_oncelldblclick(obj:Grid, e:GridClickEventInfo) {
- if(e.row > -1) {
- evntID = e.eventid;
- fGetPatExamList(group3.sw_rfid.case_examroom.grd_endlst);
- }
- }
- /****************************************************************************************
- * Components : Grid
- * Description : 검사완료자리스트 선택
- ****************************************************************************************/
- function group3_sw_rfid_case_examroom_grd_endlst_onlbuttonup(obj:Grid, e:GridMouseEventInfo) {
- if(e.row > -1) {
- this.setTimer(2, 300); //ondelayclick 이벤트를 적용하기 위함.
- }
- }
- function ds_main_controlinfo_cntrlst_room_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid=="sel") {
- obj.setColumn(e.row,e.columnid,(e.newvalue=="Y"||e.newvalue==1)?"Y":"N");
- }
- }
- function ds_main_controldetl_examlst_item_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid=="sel") {
- obj.setColumn(e.row,e.columnid,(e.newvalue=="Y"||e.newvalue==1)?"Y":"N");
- }
- }
- function ds_main_controldetl_roomdetllst_wait_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid=="sel") {
- obj.setColumn(e.row,e.columnid,(e.newvalue=="Y"||e.newvalue==1)?"Y":"N");
- }
- }
- function ds_main_controldetl_roomdetllst_end_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid=="sel") {
- obj.setColumn(e.row,e.columnid,(e.newvalue=="Y"||e.newvalue==1)?"Y":"N");
- }
- }
- function ds_main_controlinfo_cntrlst_pat_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid=="cmpyflag") {
- obj.setColumn(e.row,e.columnid,(e.newvalue=="Y"||e.newvalue==1)?"Y":"N");
- }
- }
- function group3_switch1_case_room_grd_roomlst_onlbuttonup(obj:Grid, e:GridMouseEventInfo)
- {
- if(e.row > -1) {
- var col = e.col;
- if(col == obj.getBindCellIndex("body","sel")) {
- var row = e.row;
- lf_setSelectYn(obj, row);
- ds_send_room.clear();
- dsf_copyColInfo(ds_send_room, ds_main_controlinfo_cntrlst_room);
- ds_send_room.copyRow(ds_send_room.addRow(), ds_main_controlinfo_cntrlst_room, row);
- ds_send_bfinfo.setColumn(0, "srchroom", ds_main_controlinfo_cntrlst_room.getColumn(row, "examroomid"));
-
- call_TRAHR00107();
-
- if(arErrorCode.pop("TRAHR00107") > -1) {
- group3.sw_rfid.tabindex = 1;
- fSetPaintUnChoose();
- fSetGridColor();
- }
- }
- }
- }
- function group3_sw_rfid_case_pid_grd_examlst_onlbuttonup(obj:Grid, e:GridMouseEventInfo)
- {
- lf_setSelectYn(obj, e.row);
- }
- function group3_switch1_case_exam_grd_patlst_onheadclick(obj:Grid, e:GridClickEventInfo)
- {
- if (e.col != e.oldcol) grdf_clearSort(obj);
- grdf_gridSort(group3.switch1.case_exam.grd_patlst,e);
- }
- function group3_switch1_case_room_grd_roomlst_onheadclick(obj:Grid, e:GridClickEventInfo)
- {
- if (e.col != e.oldcol) grdf_clearSort(obj);
- grdf_gridSort(group3.switch1.case_room.grd_roomlst,e);
- }
- function group3_sw_rfid_case_pid_grd_examlst_onheadclick(obj:Grid, e:GridClickEventInfo)
- {
- if (e.col != e.oldcol) grdf_clearSort(obj);
- grdf_gridSort(group3.sw_rfid.case_pid.grd_examlst,e);
- }
- function group3_sw_rfid_case_examroom_grd_waitlst_onheadclick(obj:Grid, e:GridClickEventInfo)
- {
- if (e.col != e.oldcol) grdf_clearSort(obj);
- grdf_gridSort(group3.sw_rfid.case_examroom.grd_waitlst,e);
- }
- function group3_sw_rfid_case_examroom_grd_endlst_onheadclick(obj:Grid, e:GridClickEventInfo)
- {
- if (e.col != e.oldcol) grdf_clearSort(obj);
- grdf_gridSort(group3.sw_rfid.case_examroom.grd_endlst,e);
- }
- ]]></Script>
- </Form>
- </FDL>
|