12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037 |
- <?xml version="1.0" encoding="utf-8" standalone="no"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMANC00600" position="absolute 0 0 1196 780" titletext="환자관리" onload="SMANC00600_onload">
- <Layouts>
- <Layout>
- <Div id="grp_tle" position="absolute 0 0 1195 13" style="">
- <Layouts>
- <Layout/>
- </Layouts>
- </Div>
- <Div id="grp_biz" scrollbars="autoboth" position="absolute 0 13 1196 757" style="" anchor="all">
- <Layouts>
- <Layout>
- <Div id="group1" position="absolute 0 12 1167 52" style="align: top;" class="div_SA" anchor="left top right">
- <Layouts>
- <Layout>
- <Button id="btn_search5" class="btn1" position="absolute 1097 10 1153 32" style="" text="조회" onclick="grp_biz_group1_btn_search5_onclick" anchor="top right"/>
- <Shape id="line1" class="line_4" linetype="vertical" position="absolute 1082 10 1085 32" style="" anchor="top right"/>
- <Static id="caption2" class="search_name" position="absolute 11 13 71 30" style="" text="병동 :" anchor="default"/>
- <Combo innerdataset="ds_init_basecode_ward_dept" datacolumn="depthngnm" codecolumn="deptcd" columncount="-1" rowcount="-1" id="cmb_ward1" class="combo_essential" position="absolute 75 12 175 31" style="" anchor="default"/>
- <Static id="caption3" class="search_name" position="absolute 697 13 788 30" style="" text="등록번호 :" anchor="default"/>
- <Static id="caption8" class="search_n_b" position="absolute 860 13 872 30" style="font:,,bolder;" text="/" anchor="default"/>
- <Button id="btn_pid1" class="icon_search" position="absolute 932 14 948 30" style="" text="" onclick="grp_biz_group1_btn_pid1_onclick" anchor="default"/>
- <MaskEdit id="ipt_pid3" class="input_essential" mask="9999999999" position="absolute 792 12 857 31" style="" anchor="default" onkeydown="grp_biz_group1_ipt_pid3_onkeydown" onkeyup="grp_biz_group1_ipt_pid3_onkeyup"/>
- <Edit id="ipt_hngnm3" class="input_essential" position="absolute 870 12 930 31" style="" anchor="default" onkeydown="grp_biz_group1_ipt_hngnm3_onkeydown"/>
- <Radio datacolumn="datacolumn" codecolumn="codecolumn" columncount="-1" rowcount="-1" id="rdo_rsltflag" class="radio_search" position="absolute 180 12 355 32" style="" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">-</Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">치료식</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">식사회진</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static id="caption7" class="search_name" position="absolute 960 13 988 30" style="" text="영양사 :" anchor="default" visible="false"/>
- <Combo innerdataset="ds_init_basecode_dieter_alldieter" datacolumn="cdnm" codecolumn="cdid" columncount="-1" rowcount="-1" id="cmb_dieter4" class="combo_search" visible="false" position="absolute 1005 12 1020 31" style="" anchor="default"/>
- <Calendar id="ipt_execddfrom" class="input_search" position="absolute 489 12 574 31" style="" anchor="default" dateformat="yyyy-MM-dd" value="null"/>
- <Static id="caption9" class="search_n_b" position="absolute 576 13 588 30" style="font:,,bolder;" text="~" anchor="default"/>
- <Static id="caption11" class="search_name" position="absolute 395 13 481 30" style="" text="수행일자 :" anchor="default"/>
- <Calendar id="ipt_execddto" class="input_search" position="absolute 589 12 674 31" style="" anchor="default" dateformat="yyyy-MM-dd"/>
- </Layout>
- </Layouts>
- </Div>
- <Shape id="line2" class="line_10" linetype="horizontal" position="absolute 0 76 1195 82" style="" anchor="left top right"/>
- <Grid id="grd_ipatmngtrslt" binddataset="ds_main_data_ipatmngtrslt_grdlist" position="absolute 0 81 1195 735" style="align:center;" onlbuttonup="grp_biz_grd_ipatmngtrslt_onlbuttonup" anchor="all" onexpandup="grp_biz_grd_ipatmngtrslt_onexpandup" cellsizingtype="col" autoenter="select" autofittype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="60"/>
- <Column size="35"/>
- <Column size="50"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="80"/>
- <Column size="140"/>
- <Column size="150"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="250"/>
- <Column size="60"/>
- <Column size="70"/>
- </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="진단명"/>
- <Cell col="9" text="질환구분"/>
- <Cell col="10" text="치료식"/>
- <Cell col="11" text="식사회진"/>
- <Cell col="12" text="내용"/>
- <Cell col="13" text="영양사"/>
- <Cell col="14" text="수행일자"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow+1"/>
- <Cell col="1" text="bind:pid"/>
- <Cell col="2" text="bind:room"/>
- <Cell col="3" text="bind:hngnm"/>
- <Cell col="4" text="bind:sex"/>
- <Cell col="5" text="bind:age"/>
- <Cell col="6" text="bind:indd"/>
- <Cell col="7" displaytype="text" style="align:left top;" text="bind:dietnm" wordwrap="char"/>
- <Cell col="8" displaytype="text" style="align:left top;" text="bind:diagnm" wordwrap="char"/>
- <Cell col="9" displaytype="combo" text="bind:sick" combodataset="ds_init_basecode_sick_A0059" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="10" displaytype="checkbox" text="bind:curedietpatyn" expr="expr:(curedietpatyn=="Y"||curedietpatyn==1)?1:0"/>
- <Cell col="11" displaytype="checkbox" text="bind:dietroundyn" expr="expr:(dietroundyn=="Y"||dietroundyn==1)?1:0"/>
- <Cell col="12" displaytype="text" edittype="expand" style="align:left top;padding:4 2 0 2;" text="bind:execcnts" expandshow="show"/>
- <Cell col="13" displaytype="combo" style="align:center;" text="bind:execdieter" combodataset="ds_init_basecode_dieter_alldieter" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="14" displaytype="expr:utlf_isNull(execdd) ? 'normal' : 'date'" text="bind:execdd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Div id="grp_reccnts" position="absolute 490 230 943 483" style="" anchor="default" visible="false">
- <Layouts>
- <Layout>
- <Shape id="rectangle2" anchor="default" type="rectangle" position="absolute 0 0 445 245" style=""/>
- <TextArea id="textarea2" position="absolute 5 30 440 210" style="" anchor="default" readonly="true"/>
- <Button id="button4" class="btn4" position="absolute 380 215 436 237" style="" text="닫기" onclick="grp_biz_grp_reccnts_button4_onclick" anchor="default"/>
- <Static id="caption24" class="tit_2" position="absolute 5 9 177 26" style="" text="결과내용" anchor="default"/>
- <Shape id="line2" class="line_10" position="absolute 5 25 440 31"/>
- </Layout>
- </Layouts>
- </Div>
- <Button id="btn_rowadd3" class="btn2" visible="false" position="absolute 999 54 1052 76" style="" text="행추가" onclick="grp_biz_btn_rowadd3_onclick" anchor="top right"/>
- <Button id="btn_rowdel3" class="btn2" visible="false" position="absolute 1054 54 1107 76" style="" text="행삭제" onclick="grp_biz_btn_rowdel3_onclick" anchor="top right"/>
- <Button id="btn_excel" class="btn7" position="absolute 1109 54 1167 76" style="" text="엑셀" onclick="grp_biz_btn_excel_onclick" anchor="top right"/>
- </Layout>
- </Layouts>
- </Div>
- <Div id="grp_btn" position="absolute 0 749 1195 776" style="" anchor="left right bottom">
- <Layouts>
- <Layout>
- <Button id="btn_reset" class="btn4" visible="false" position="absolute 1069 5 1137 27" style="" text="초기화" onclick="grp_btn_btn_reset_onclick" anchor="right bottom"/>
- <Button id="btn_save" class="btn4" visible="false" position="absolute 1139 5 1195 27" style="" text="저장" onclick="grp_btn_btn_save_onclick" anchor="right bottom"/>
- <Button id="btn_listprnt" class="btn6" enable="False" visible="false" position="absolute 0 5 92 27" style="" text="리스트출력" anchor="default"/>
- <Shape id="line32" class="line_6" linetype="horizontal" position="absolute 0 0 1194 3" style="" anchor="left right bottom"/>
- </Layout>
- </Layouts>
- </Div>
- <Edit id="input1" visible="false" position="absolute 948 5 968 24" style="" anchor="top right"/>
- <Div id="group4" position="absolute 1169 2 1194 89" style="border:1 solid #99ccff #99ccff;" onmousemove="group4_onmousemove" scrollbars="none" anchor="top right">
- <Layouts>
- <Layout>
- <Button id="resizeButton" position="absolute 0 30 23 35" style="background:#000000 ;" text="" onmousedown="group4_resizeButton_onmousedown" onmouseup="group4_resizeButton_onmouseup" anchor="top right" onmove="group4_resizeButton_onmove" onlbuttondown="group4_resizeButton_onlbuttondown" onlbuttonup="group4_resizeButton_onlbuttonup"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption6" text="치료식환자관리 결과조회" class="tit_1" position="absolute 0 0 200 25"/>
- <Static id="caption1" text="데이터리스트의 높이조절하세요 ->" position="absolute 975 7 1170 27" style="color:#ff0000;" anchor="top right"/>
- </Layout>
- </Layouts>
- <Objects>
- <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_send_data_telnutrcnstcnt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="cnstcount" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cnstcount"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_data_ipatmngtrslt_grdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="room" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="sex" type="STRING" size="256"/>
- <Column id="age" type="STRING" size="256"/>
- <Column id="indd" type="STRING" size="256"/>
- <Column id="dietnm" type="STRING" size="256"/>
- <Column id="diagnm" type="STRING" size="256"/>
- <Column id="sick" type="STRING" size="256"/>
- <Column id="curedietpatyn" type="STRING" size="256"/>
- <Column id="dietroundyn" type="STRING" size="256"/>
- <Column id="crmyn" type="STRING" size="256"/>
- <Column id="execcnts" type="STRING" size="256"/>
- <Column id="execdieter" type="STRING" size="256"/>
- <Column id="execdd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="pid"/>
- <Col id="room"/>
- <Col id="hngnm"/>
- <Col id="sex"/>
- <Col id="age"/>
- <Col id="indd"/>
- <Col id="dietnm"/>
- <Col id="diagnm"/>
- <Col id="sick"/>
- <Col id="curedietpatyn"/>
- <Col id="dietroundyn"/>
- <Col id="crmyn"/>
- <Col id="execcnts"/>
- <Col id="execdieter"/>
- <Col id="execdd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_patinfo_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
- <Dataset id="ds_main_data_telnutrcnstcnt_cnstcount" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="cnstdd" type="STRING" size="256"/>
- <Column id="dieter" type="STRING" size="256"/>
- <Column id="glycospatqty" type="STRING" size="256"/>
- <Column id="hypetspatqty" type="STRING" size="256"/>
- <Column id="cardiacpatqty" type="STRING" size="256"/>
- <Column id="pdpatqty" type="STRING" size="256"/>
- <Column id="hdpatqty" type="STRING" size="256"/>
- <Column id="cncrpatqty" type="STRING" size="256"/>
- <Column id="blodtumpatqty" type="STRING" size="256"/>
- <Column id="kidnpatqty" type="STRING" size="256"/>
- <Column id="liverpatqty" type="STRING" size="256"/>
- <Column id="stmcpatqty" type="STRING" size="256"/>
- <Column id="etrlfdpatqty" type="STRING" size="256"/>
- <Column id="fatpatqty" type="STRING" size="256"/>
- <Column id="etcsickpatqty" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cnstdd"/>
- <Col id="dieter"/>
- <Col id="glycospatqty"/>
- <Col id="hypetspatqty"/>
- <Col id="cardiacpatqty"/>
- <Col id="pdpatqty"/>
- <Col id="hdpatqty"/>
- <Col id="cncrpatqty"/>
- <Col id="blodtumpatqty"/>
- <Col id="kidnpatqty"/>
- <Col id="liverpatqty"/>
- <Col id="stmcpatqty"/>
- <Col id="etrlfdpatqty"/>
- <Col id="fatpatqty"/>
- <Col id="etcsickpatqty"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_searchitem_ipatmngt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="ward" type="STRING" size="256"/>
- <Column id="patflag" type="STRING" size="256"/>
- <Column id="inddfrom" type="STRING" size="256"/>
- <Column id="inddto" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="dieter" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="ward"/>
- <Col id="patflag"/>
- <Col id="inddfrom"/>
- <Col id="inddto"/>
- <Col id="pid"/>
- <Col id="hngnm"/>
- <Col id="dieter"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_data_nonregleduc_grdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="educdd" type="STRING" size="256"/>
- <Column id="eductm" type="STRING" size="256"/>
- <Column id="eductodd" type="STRING" size="256"/>
- <Column id="eductotm" type="STRING" size="256"/>
- <Column id="educsubj" type="STRING" size="256"/>
- <Column id="eductrgt" type="STRING" size="256"/>
- <Column id="educpsnno" type="STRING" size="256"/>
- <Column id="educplce" type="STRING" size="256"/>
- <Column id="educmatr" type="STRING" size="256"/>
- <Column id="sickcd" type="STRING" size="256"/>
- <Column id="educetc" type="STRING" size="256"/>
- <Column id="educdieter" type="STRING" size="256"/>
- <Column id="bf_educdieter" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="educdd"/>
- <Col id="eductm"/>
- <Col id="eductodd"/>
- <Col id="eductotm"/>
- <Col id="educsubj"/>
- <Col id="eductrgt"/>
- <Col id="educpsnno"/>
- <Col id="educplce"/>
- <Col id="educmatr"/>
- <Col id="sickcd"/>
- <Col id="educetc"/>
- <Col id="educdieter"/>
- <Col id="bf_educdieter"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_data_ipatmngt_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
- <Dataset id="ds_send_searchitem_nonregleduc" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="fromdd"/>
- <Col id="todd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_basecode_dieter_dieter" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
- <Dataset id="ds_init_basecode_dieter_intndieter" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
- <Dataset id="ds_init_basecode_dieter_alldieter" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cdid"/>
- <Col id="cdnm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_popup" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="flag" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="reqdd" type="STRING" size="256"/>
- <Column id="reqpsn" type="STRING" size="256"/>
- <Column id="educreqcnts" type="STRING" size="256"/>
- <Column id="h_cretno" type="STRING" size="256"/>
- <Column id="h_orddeptcd" type="STRING" size="256"/>
- <Column id="h_prcpgenrflag" type="STRING" size="256"/>
- <Column id="h_orddd" type="STRING" size="256"/>
- <Column id="h_formrecseq" type="STRING" size="256"/>
- <Column id="execprcpuniqno" type="STRING" size="256"/>
- <Column id="nutrmngtkind" type="STRING" size="256"/>
- <Column id="execdd" type="STRING" size="256"/>
- <Column id="execcnts" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="flag"/>
- <Col id="pid"/>
- <Col id="hngnm"/>
- <Col id="reqdd"/>
- <Col id="reqpsn"/>
- <Col id="educreqcnts"/>
- <Col id="h_cretno"/>
- <Col id="h_orddeptcd"/>
- <Col id="h_prcpgenrflag"/>
- <Col id="h_orddd"/>
- <Col id="h_formrecseq"/>
- <Col id="execprcpuniqno"/>
- <Col id="nutrmngtkind"/>
- <Col id="execdd"/>
- <Col id="execcnts"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_searchitem_telnutrcnst" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="educfromdd" type="STRING" size="256"/>
- <Column id="eductodd" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="dieter" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="educfromdd"/>
- <Col id="eductodd"/>
- <Col id="pid"/>
- <Col id="hngnm"/>
- <Col id="dieter"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_data_telnutrcnst_grdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="ioflag" type="STRING" size="256"/>
- <Column id="inout" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="sex" type="STRING" size="256"/>
- <Column id="age" type="STRING" size="256"/>
- <Column id="sickcd" type="STRING" size="256"/>
- <Column id="hometel" type="STRING" size="256"/>
- <Column id="mpphontel" type="STRING" size="256"/>
- <Column id="execyn" type="STRING" size="256"/>
- <Column id="telexecdd" type="STRING" size="256"/>
- <Column id="execdieter" type="STRING" size="256"/>
- <Column id="formrecseq" type="STRING" size="256"/>
- <Column id="nutrmngtkind" type="STRING" size="256"/>
- <Column id="execdd" type="STRING" size="256"/>
- <Column id="orddd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="pid"/>
- <Col id="ioflag"/>
- <Col id="inout"/>
- <Col id="hngnm"/>
- <Col id="sex"/>
- <Col id="age"/>
- <Col id="sickcd"/>
- <Col id="hometel"/>
- <Col id="mpphontel"/>
- <Col id="execyn"/>
- <Col id="telexecdd"/>
- <Col id="execdieter"/>
- <Col id="formrecseq"/>
- <Col id="nutrmngtkind"/>
- <Col id="execdd"/>
- <Col id="orddd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_basecode_ward_dept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="deptcd" type="STRING" size="256"/>
- <Column id="depthngnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="deptcd"/>
- <Col id="depthngnm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_searchitem_ipatmngtrslt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="ward" type="STRING" size="256"/>
- <Column id="rsltflag" type="STRING" size="256"/>
- <Column id="execddfrom" type="STRING" size="256"/>
- <Column id="execddto" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="dieter" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="ward"/>
- <Col id="rsltflag"/>
- <Col id="execddfrom"/>
- <Col id="execddto"/>
- <Col id="pid"/>
- <Col id="hngnm"/>
- <Col id="dieter"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_data_nonregleduc_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
- <Dataset id="ds_main_colsize" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="colsize" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="colsize"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_data_ipatmngt_grdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="room" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="sex" type="STRING" size="256"/>
- <Column id="h_brthdd" type="STRING" size="256"/>
- <Column id="age" type="STRING" size="256"/>
- <Column id="indd" type="STRING" size="256"/>
- <Column id="dietcd" type="STRING" size="256"/>
- <Column id="dietnm" type="STRING" size="256"/>
- <Column id="prcpdelivefact" type="STRING" size="256"/>
- <Column id="remark3" type="STRING" size="256"/>
- <Column id="diagnm" type="STRING" size="256"/>
- <Column id="sick" type="STRING" size="256"/>
- <Column id="curedietpatyn" type="STRING" size="256"/>
- <Column id="dietroundyn" type="STRING" size="256"/>
- <Column id="crmyn" type="STRING" size="256"/>
- <Column id="execcnts" type="STRING" size="256"/>
- <Column id="execdieter" type="STRING" size="256"/>
- <Column id="execdd" type="STRING" size="256"/>
- <Column id="dschdd" type="STRING" size="256"/>
- <Column id="rsntdschdd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="pid"/>
- <Col id="room"/>
- <Col id="hngnm"/>
- <Col id="sex"/>
- <Col id="h_brthdd"/>
- <Col id="age"/>
- <Col id="indd"/>
- <Col id="dietcd"/>
- <Col id="dietnm"/>
- <Col id="prcpdelivefact"/>
- <Col id="remark3"/>
- <Col id="diagnm"/>
- <Col id="sick"/>
- <Col id="curedietpatyn"/>
- <Col id="dietroundyn"/>
- <Col id="crmyn"/>
- <Col id="execcnts"/>
- <Col id="execdieter"/>
- <Col id="execdd"/>
- <Col id="dschdd"/>
- <Col id="rsntdschdd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_data_telnutrcnst_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
- <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="temp" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_searchitem_telnutrcnstcnt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="cnstfromdd" type="STRING" size="256"/>
- <Column id="cnsttodd" type="STRING" size="256"/>
- <Column id="dieter" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cnstfromdd"/>
- <Col id="cnsttodd"/>
- <Col id="dieter"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_basecode_sick_A0059" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cdid"/>
- <Col id="cdnm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp_biz.group1.cmb_ward1" propid="value" datasetid="ds_send_searchitem_ipatmngtrslt" columnid="ward"/>
- <BindItem id="item1" compid="grp_biz.group1.ipt_pid3" propid="value" datasetid="ds_send_searchitem_ipatmngtrslt" columnid="pid"/>
- <BindItem id="item2" compid="grp_biz.group1.ipt_hngnm3" propid="value" datasetid="ds_send_searchitem_ipatmngtrslt" columnid="hngnm"/>
- <BindItem id="item3" compid="grp_biz.group1.rdo_rsltflag" propid="value" datasetid="ds_send_searchitem_ipatmngtrslt" columnid="rsltflag"/>
- <BindItem id="item4" compid="grp_biz.group1.cmb_dieter4" propid="value" datasetid="ds_send_searchitem_ipatmngtrslt" columnid="dieter"/>
- <BindItem id="item5" compid="grp_biz.group1.ipt_execddfrom" propid="value" datasetid="ds_send_searchitem_ipatmngtrslt" columnid="execddfrom"/>
- <BindItem id="item6" compid="grp_biz.group1.ipt_execddto" propid="value" datasetid="ds_send_searchitem_ipatmngtrslt" columnid="execddto"/>
- <BindItem id="item7" compid="grp_biz.grp_reccnts.textarea2" propid="value" datasetid="ds_send_popup" columnid="execcnts"/>
- <BindItem id="item8" compid="input1" propid="value" datasetid="ds_main_colsize" columnid="colsize"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-11-13
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-11-13 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "com_basiccodexp::ZBC001.xjs";
- include "com_departmentcodexp::ZSD001.xjs";
- var moving = false;
- function finit() {
- ds_init_basecode_sick_A0059.clearData(); ds_init_basecode_sick_A0059.addRow();
- var arrParam = [{dsNm: "ds_init_basecode_sick_A0059", cdGrpId: "A0059"}];
- appf_getCodeList(arrParam);
-
- // zsdfGetWardDeptList(sysf_getUserInfo("dutplceinstcd"), "ds_init_basecode_ward_dept", "depthngnm", "asc", utlf_getCurrentDate().toDate().getDateFormat("YYYYMMDD"), "after");
- var today = utlf_getCurrentDate();
- appf_getDeptCodeList(sysf_getUserInfo('dutplceinstcd'), 'orduseyn', 'W', 'depthngnm', 'asc', today.toDate().getDateFormat('YYYYMMDD'), '', 'asc', 'ds_init_basecode_ward_dept', false, null);
- ds_main_data_ipatmngt_grdlist.clearData();
- ds_main_data_telnutrcnst_grdlist.clearData();
- ds_main_data_telnutrcnstcnt_cnstcount.clearData();
- ds_main_data_nonregleduc_grdlist.clearData();
-
- ds_send_searchitem_ipatmngt.clearData(); ds_send_searchitem_ipatmngt.addRow();
- ds_send_searchitem_ipatmngt.setColumn( 0, "patflag", "1");
- ds_send_searchitem_ipatmngt.setColumn( 0, "inddfrom", utlf_getCurrentDate());
- ds_send_searchitem_ipatmngt.setColumn( 0, "inddto", utlf_getCurrentDate());
-
- ds_send_searchitem_ipatmngtrslt.clearData(); ds_send_searchitem_ipatmngtrslt.addRow();
- ds_send_searchitem_ipatmngtrslt.setColumn( 0, "rsltflag", "-");
- ds_send_searchitem_ipatmngtrslt.setColumn( 0, "execddfrom", utlf_getCurrentDate());
- ds_send_searchitem_ipatmngtrslt.setColumn( 0, "execddto", utlf_getCurrentDate());
- ds_send_searchitem_ipatmngtrslt.setColumn( 0, "ward", sysf_getUserInfo("dutplcecd"));
- ds_send_searchitem_ipatmngtrslt.setColumn( 0, "dieter", sysf_getUserInfo("userid"));
-
- ds_send_searchitem_telnutrcnst.clearData(); ds_send_searchitem_telnutrcnst.addRow();
- ds_send_searchitem_telnutrcnst.setColumn( 0, "educfromdd", utlf_getCurrentDate());
- ds_send_searchitem_telnutrcnst.setColumn( 0, "eductodd", utlf_getCurrentDate());
- ds_send_searchitem_telnutrcnst.setColumn( 0, "dieter", sysf_getUserInfo("userid"));
-
- ds_send_searchitem_telnutrcnstcnt.clearData(); ds_send_searchitem_telnutrcnstcnt.addRow();
- ds_send_searchitem_telnutrcnstcnt.setColumn( 0, "cnstfromdd", utlf_getCurrentDate());
- ds_send_searchitem_telnutrcnstcnt.setColumn( 0, "cnsttodd", utlf_getCurrentDate());
- ds_send_searchitem_telnutrcnstcnt.setColumn( 0, "dieter", sysf_getUserInfo("userid"));
-
- ds_send_searchitem_nonregleduc.clearData(); ds_send_searchitem_nonregleduc.addRow();
- ds_send_searchitem_nonregleduc.setColumn( 0, "fromdd", utlf_getCurrentDate());
- ds_send_searchitem_nonregleduc.setColumn( 0, "todd", utlf_getCurrentDate());
- }
-
- function SMANC00600_onload(obj:Form, e:LoadEventInfo) {
- frmf_initForm(obj);
- //grdf_initGrid(grd_XXX);
- //grdf_setGridSort(grd_XXX);
- //grdf_setRowTypeIcon(grd_XXX, 0_컬럼위치값);
- finit();
-
- dsf_createDs("ds_req");
- //영양사 조회
- var oParam = {};
- oParam.id = "TRANC00202";
- oParam.service = "nutritionconsultapp.PatientNutr";
- oParam.method = "reqGetDieter";
- oParam.inds = "req=ds_req";
- oParam.outds = "ds_init_basecode_dieter_dieter=dieter ds_init_basecode_dieter_intndieter=intndieter ds_init_basecode_dieter_alldieter=alldieter";
- oParam.async = false;
- //oParam.callback = "cf_TRANC00202";
- tranf_submit(oParam);
- //초기화
- for(var i = 0 ; i < grp_biz.grd_ipatmngtrslt.rowcount ; i++) {
- grp_biz.grd_ipatmngtrslt.setRealRowSize(i, 24);
- }
- input1.value = 24;
- group4.resizeButton.position.top = 24;
- group4.resizeButton.position.bottom = 29;
- }
- function grp_biz_group1_btn_search5_onclick(obj:Button, e:ClickEventInfo) {
- var fromdd = ds_send_searchitem_ipatmngtrslt.getColumn(0, "execddfrom");
- var todd = ds_send_searchitem_ipatmngtrslt.getColumn(0, "execddto");
- if ( utlf_getDateInterval(fromdd, todd) < 0 ) {
- sysf_messageBox("조회 시작일은 종료일보다 클 수", "I004");
- return;
- } else {
- dsf_createDsRow("ds_req", [
- {col:"ward", type:"STRING", size:256, val:ds_send_searchitem_ipatmngtrslt.getColumn(0, "ward")}
- , {col:"rsltflag", type:"STRING", size:256, val:ds_send_searchitem_ipatmngtrslt.getColumn(0, "rsltflag")}
- , {col:"execddfrom", type:"STRING", size:256, val:ds_send_searchitem_ipatmngtrslt.getColumn(0, "execddfrom")}
- , {col:"execddto", type:"STRING", size:256, val:ds_send_searchitem_ipatmngtrslt.getColumn(0, "execddto")}
- , {col:"pid", type:"STRING", size:256, val:ds_send_searchitem_ipatmngtrslt.getColumn(0, "pid")}
- , {col:"hngnm", type:"STRING", size:256, val:ds_send_searchitem_ipatmngtrslt.getColumn(0, "hngnm")}
- ]);
- var oParam = {};
- oParam.id = "TRANC00406";
- oParam.service = "nutritionconsultapp.NutrEducation";
- oParam.method = "reqGetIpatMngtRsltNurse";
- oParam.inds = "req=ds_req";
- oParam.outds = "ds_main_data_ipatmngtrslt_grdlist=ret";
- oParam.async = false;
- //oParam.callback = "cf_TRANC00406";
- tranf_submit(oParam);
- }
- }
- function grp_biz_group1_btn_pid1_onclick(obj:Button, e:ClickEventInfo) {
- var objArg = new Object();
- objArg.arg_ds_send = ds_hidden;
-
- frmf_modal("SPPMC02500", "SPPMC02500", objArg, null, null, null, null, null, null, null, null, null, "M");
-
- ds_send_searchitem_ipatmngtrslt.setColumn(0, "pid", ds_patinfolist.getColumn(0, "pid"));
- ds_send_searchitem_ipatmngtrslt.setColumn(0, "hngnm", ds_patinfolist.getColumn(0, "hngnm"));
- }
- function grp_biz_group1_ipt_pid3_onkeydown(obj:MaskEdit, e:KeyEventInfo) {
- if(e.keycode == 13) {
- obj.updateToDataset();
- grp_biz.group1.btn_search5.click();
- }
- }
- function grp_biz_group1_ipt_hngnm3_onkeydown(obj:Edit, e:KeyEventInfo) {
- if(e.keycode == 13) {
- obj.updateToDataset();
- grp_biz.group1.btn_search5.click();
- }
- }
- function grp_biz_grd_ipatmngtrslt_onlbuttonup(obj:Grid, e:MouseEventInfo) {
- // var colidx = obj.currentcol;
- // if ( obj.getBindCellIndex("body", "execcnts") == colidx ){
- // ds_send_popup.setColumn( 0, "execcnts", "");
- // grp_biz.grp_reccnts.visible = true;
- // var rownum = obj.currentrow;
- // var execcnts = ds_main_data_ipatmngtrslt_grdlist.getColumn(rownum, "execcnts");
- // ds_send_popup.setColumn( 0, "execcnts", execcnts);
- // }
- }
- function grp_biz_grp_reccnts_button4_onclick(obj:Button, e:ClickEventInfo) {
- grp_biz.grp_reccnts.visible = false;
- }
- // function grp_biz_btn_rowadd3_onclick(obj:Button, e:ClickEventInfo) {
- // //입원환자관리 탭화면일때
- // if ( btn_ipatmngt.selected ) {
- //
- // if ( ds_main_data_ipatmngt_grdlist.getColumn(grd_ipatmngt.row, "pid")) == "" ) {
- // sysf_messageBox("추가할 환자를", "C002");
- // return;
- // }
- //
- // var grdrow = grd_ipatmngt.row;
- // ds_tem.copyRow( p, ds_main_data_ipatmngt_grdlist, grdrow);
- // grd_ipatmngt.insertrow(grdrow, "below");
- // model.copyNode("ds_main_data_ipatmngt_grdlist["+ (grdrow+1) +"]", "ds_temp");
- // ds_main_data_ipatmngt.setColumn( 0, "grdlist["+ (grdrow+1) +"]_sick", "");
- // ds_main_data_ipatmngt.setColumn( 0, "grdlist["+ (grdrow+1) +"]_curedietpatyn", "");
- // ds_main_data_ipatmngt.setColumn( 0, "grdlist["+ (grdrow+1) +"]_dietroundyn", "");
- // //ds_main_data_ipatmngt.setColumn( 0, "grdlist["+ (grdrow+1) +"]_crmyn", "");
- // ds_main_data_ipatmngt.setColumn( 0, "grdlist["+ (grdrow+1) +"]_execcnts", "");
- // ds_main_data_ipatmngt.setColumn( 0, "grdlist["+ (grdrow+1) +"]_execdieter", sysf_getUserInfo("userid"));
- // ds_main_data_ipatmngt.setColumn( 0, "grdlist["+ (grdrow+1) +"]_execdd", utlf_getCurrentDate());
- // }
- // //집단교육 탭화면일때
- // else if ( btn_nonregleduc.selected ) {
- // grd_nonregleduc.addRow();
- // }
- // }
- // function grp_biz_btn_rowdel3_onclick(obj:Button, e:ClickEventInfo) {
- // //var cur_row = grd_nonregleduc.row;
- // //grd_nonregleduc.deleteRow(cur_row);
- // grd_nonregleduc.deleteRow(grd_nonregleduc.row);
- // }
- function grp_biz_btn_excel_onclick(obj:Button, e:ClickEventInfo) {
- // if ( btn_ipatmngt.selected ) {
- // var filename = window.fileDialog("save", ",", false, "입원치료식환자관리현황", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- // if (filename != "") {
- // grdf_exportExcel(grd_ipatmngt, "Sheet1", filename, false, "" , 'user' , true);
- // }
- // } else if ( btn_ipatmngtrslt.selected ) {
- // var filename = window.fileDialog("save", ",", false, "환자관리결과현황", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- // if (filename != "") {
- // grdf_exportExcel(grp_biz.grd_ipatmngtrslt, "Sheet1", filename, false, "" , 'user' , true);
- // }
- // } else if ( btn_telnutrcnst.selected ) {
- // var filename = window.fileDialog("save", ",", false, "전화영양상담현황", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- // if (filename != "") {
- // grdf_exportExcel(grd_telnutrcnst, "Sheet1", filename, false, "" , 'user' , true);
- // }
- // } else if ( btn_nonregleduc.selected ) {
- // var filename = window.fileDialog("save", ",", false, "집단교육현황", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
- // if (filename != "") {
- // grdf_exportExcel(grd_nonregleduc, "Sheet1", filename, false, "" , 'user' , true);
- // }
- // }
- if(grp_biz.grd_ipatmngtrslt.rowcount > 0) {
- grdf_exportExcel(grp_biz.grd_ipatmngtrslt, "환자관리결과현황", "Sheet1", true, "" , 'user' , true);
- }
- }
- function grp_btn_btn_reset_onclick(obj:Button, e:ClickEventInfo) {
- finit();
- }
- // function grp_btn_btn_save_onclick(obj:Button, e:ClickEventInfo) {
- // if ( sysf_messageBox("", "Q002") == 6 ) {
- // //입원환자관리 탭화면일때
- // if ( btn_ipatmngt.selected ) {
- // ds_send_data_ipatmngt.setColumn( 0, "list", grd_ipatmngt.getUpdateData());
- // var oParam = {};
- // oParam.id = "TXANC00401";
- // oParam.service = "nutritionconsultapp.NutrEducation";
- // oParam.method = "reqExeIpatMngt";
- // oParam.inds = "req=ds_";
- // oParam.outds = "";
- // oParam.async = false;
- // oParam.callback = "cf_TXANC00401";
- //
- // tranf_submit(oParam);
- //
- // if(arErrorCode.pop("TXANC00401") > -1) {
- // var oParam = {};
- // oParam.id = "TRANC00401";
- // oParam.service = "nutritionconsultapp.NutrEducation";
- // oParam.method = "reqGetIpatMngt";
- // oParam.inds = "req=ds_";
- // oParam.outds = "ds_=ret";
- // oParam.async = false;
- // //oParam.callback = "cf_TRANC00401";
- //
- // tranf_submit(oParam);
- // }
- // }
- //
- // //전화영양상담 탭화면일때
- // else if ( btn_telnutrcnst.selected ) {
- // //전화영양상담 메인 그리드
- // if ( getGridUpdateData(grd_telnutrcnst) != "" ) {
- // //필수입력항목 체크
- // for ( i=1; i<grd_telnutrcnst.rows; i++) {
- // if ( (ds_main_data_telnutrcnst_grdlist.getColumn(i, "execyn") == "Y") &&
- // ((ds_main_data_telnutrcnst_grdlist.getColumn(i, "telexecdd") == "") ||
- // (ds_main_data_telnutrcnst_grdlist.getColumn(i, "execdieter") == "")) ) {
- // sysf_messageBox("수행일자, 영양사 항목은", "I003");
- // return;
- // }
- // }
- // ds_send_data_telnutrcnst.setColumn( 0, "list", grd_telnutrcnst.getUpdateData());
- // // if (submit("TXANC00402")) {
- // var oParam = {};
- // oParam.id = "TXANC00402";
- // oParam.service = "nutritionconsultapp.NutrEducation";
- // oParam.method = "reqExeTelNutrCnstPurs";
- // oParam.inds = "telnutrcnst=ds_";
- // oParam.outds = "";
- // oParam.async = false;
- // oParam.callback = "cf_TXANC00402";
- //
- // tranf_submit(oParam);
- // /*
- // function cf_TXANC00402(sSvcId, nErrorCode, sErrorMsg) {
- // if(nErrorCode < 0) return;
- // }
- // function cf_TXANC00402(sSvcId, nErrorCode, sErrorMsg) {
- // arErrorCode.push(sSvcId, nErrorCode);
- // }
- // arErrorCode.pop("TXANC00402") > -1
- // arErrorCode.pop("TXANC00402") < 0
- // */
- //
- // var oParam = {};
- // oParam.id = "TRANC00402";
- // oParam.service = "nutritionconsultapp.NutrEducation";
- // oParam.method = "reqGetTelNutrCnstPurs";
- // oParam.inds = "req=ds_";
- // oParam.outds = "ds_=grdlist";
- // oParam.async = false;
- // oParam.callback = "cf_TRANC00402";
- //
- // tranf_submit(oParam);
- // /*
- // function cf_TRANC00402(sSvcId, nErrorCode, sErrorMsg) {
- // if(nErrorCode < 0) return;
- // }
- // function cf_TRANC00402(sSvcId, nErrorCode, sErrorMsg) {
- // arErrorCode.push(sSvcId, nErrorCode);
- // }
- // arErrorCode.pop("TRANC00402") > -1
- // arErrorCode.pop("TRANC00402") < 0
- // */
- //
- //
- // }
- // }
- //
- // //하단의 전화영양상담건수 그리드
- // if ( getGridUpdateData(grd_cnstcount) != "" ) {
- // //필수입력항목 체크
- // for ( i=1; i<grd_cnstcount.rows; i++) {
- // if ( (ds_main_data_telnutrcnstcnt_cnstcount.getColumn(i, "cnstdd") == "") ||
- // (ds_main_data_telnutrcnstcnt_cnstcount.getColumn(i, "dieter") == "") ) {
- // sysf_messageBox("상담일자, 영양사 항목은", "I003");
- // return;
- // }
- // }
- // ds_send_data_telnutrcnstcnt.setColumn( 0, "cnstcount", grd_cnstcount.getUpdateData());
- // // if (submit("TXANC00404")) {
- // var oParam = {};
- // oParam.id = "TXANC00404";
- // oParam.service = "nutritionconsultapp.NutrEducation";
- // oParam.method = "reqExeTelNutrCnstCnt";
- // oParam.inds = "cnstcount=ds_";
- // oParam.outds = "";
- // oParam.async = false;
- // oParam.callback = "cf_TXANC00404";
- //
- // tranf_submit(oParam);
- // /*
- // function cf_TXANC00404(sSvcId, nErrorCode, sErrorMsg) {
- // if(nErrorCode < 0) return;
- // }
- // function cf_TXANC00404(sSvcId, nErrorCode, sErrorMsg) {
- // arErrorCode.push(sSvcId, nErrorCode);
- // }
- // arErrorCode.pop("TXANC00404") > -1
- // arErrorCode.pop("TXANC00404") < 0
- // */
- //
- // // submit("TRANC00404");
- // var oParam = {};
- // oParam.id = "TRANC00404";
- // oParam.service = "nutritionconsultapp.NutrEducation";
- // oParam.method = "reqGetTelNutrCnstCnt";
- // oParam.inds = "req=ds_";
- // oParam.outds = "ds_=cnstcount";
- // oParam.async = false;
- // oParam.callback = "cf_TRANC00404";
- //
- // tranf_submit(oParam);
- // /*
- // function cf_TRANC00404(sSvcId, nErrorCode, sErrorMsg) {
- // if(nErrorCode < 0) return;
- // }
- // function cf_TRANC00404(sSvcId, nErrorCode, sErrorMsg) {
- // arErrorCode.push(sSvcId, nErrorCode);
- // }
- // arErrorCode.pop("TRANC00404") > -1
- // arErrorCode.pop("TRANC00404") < 0
- // */
- //
- //
- // }
- // }
- // }
- //
- // //집단교육 탭화면일때
- // else if ( btn_nonregleduc.selected ) {
- // //필수입력항목 체크
- // for ( i=1; i<grd_nonregleduc.rows; i++) {
- // if ( (ds_main_data_nonregleduc_grdlist.getColumn(i, "educdd") == "") ||
- // (ds_main_data_nonregleduc_grdlist.getColumn(i, "eductm") == "") ||
- // (ds_main_data_nonregleduc_grdlist.getColumn(i, "educdieter") == "") ) {
- // sysf_messageBox("일자, 시간, 영양사 항목은", "I003");
- // return;
- // }
- // }
- // ds_send_data_nonregleduc.setColumn( 0, "list", grd_nonregleduc.getUpdateData());
- // // submit("TXANC00403");
- // var oParam = {};
- // oParam.id = "TXANC00403";
- // oParam.service = "nutritionconsultapp.NutrEducation";
- // oParam.method = "reqExeNonReglEduc";
- // oParam.inds = "req=ds_";
- // oParam.outds = "";
- // oParam.async = false;
- // oParam.callback = "cf_TXANC00403";
- //
- // tranf_submit(oParam);
- // /*
- // function cf_TXANC00403(sSvcId, nErrorCode, sErrorMsg) {
- // if(nErrorCode < 0) return;
- // }
- // function cf_TXANC00403(sSvcId, nErrorCode, sErrorMsg) {
- // arErrorCode.push(sSvcId, nErrorCode);
- // }
- // arErrorCode.pop("TXANC00403") > -1
- // arErrorCode.pop("TXANC00403") < 0
- // */
- //
- //
- // }
- //
- // //ds_send_data.clearData(); ds_send_data.addRow();
- // } else { return; }
- // }
- // function cf_TXANC00401(sSvcId, nErrorCode, sErrorMsg) {
- // arErrorCode.push(sSvcId, nErrorCode);
- // }
- // function group4_resizeButton_onmove(obj:Button, e:MoveEventInfo)
- // {
- // if(moving == true)
- // {
- // //그리드의 col width 를 조정한다
- // group4.resizeButton.attribute("top") = event.y+"px";
- // input1.value = event.y;
- // grp_biz.grd_ipatmngtrslt.dataHeight = input1.value;
- // }
- // }
- // function group4_resizeButton_onlbuttondown(obj:Button, e:MouseEventInfo)
- // {
- // moving = true;
- // }
- function group4_resizeButton_onlbuttonup(obj:Button, e:MouseEventInfo)
- {
- moving = false;
- var posi = obj.position.top+e.canvasY;
- if(posi > group4.position.height-4) posi = group4.position.bottom-10;
- else if(posi < 0) posi = 0;
- input1.value = posi;
- obj.position.top = input1.value;
- obj.position.bottom = parseInt(input1.value)+5;
-
- for(var i = 0 ; i < grp_biz.grd_ipatmngtrslt.rowcount ; i++) {
- grp_biz.grd_ipatmngtrslt.setRealRowSize(i, input1.value);
- }
- }
- function grp_biz_grd_ipatmngtrslt_onexpandup(obj:Grid, e:GridMouseEventInfo)
- {
- var colidx = obj.currentcol;
- if ( obj.getBindCellIndex("body", "execcnts") == colidx ){
- ds_send_popup.setColumn( 0, "execcnts", "");
- grp_biz.grp_reccnts.visible = true;
- var rownum = obj.currentrow;
- var execcnts = ds_main_data_ipatmngtrslt_grdlist.getColumn(rownum, "execcnts");
- ds_send_popup.setColumn( 0, "execcnts", execcnts);
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|