123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMAHA03200" position="absolute 0 0 1196 796" titletext="패키지별문진관리" oninit="SMAHA03200_oninit" onload="SMAHA03200_onload">
- <Layouts>
- <Layout>
- <Tab id="swt_detl" taborder="3" tabindex="0" position="absolute 549 337 1195 765" anchor="left right bottom" onchanged="swt_detl_onchanged">
- <Tabpages>
- <Tabpage id="case_inqr" text="문진">
- <Layouts>
- <Layout>
- <Static id="caption4" text="문진내역" class="tit_2" position="absolute 0 2 123 24"/>
- <Shape id="line2" class="line_10" position="absolute 0 18 646 24" anchor="left top right"/>
- <Grid id="grd_inqrlst" taborder="1" binddataset="ds_main_pkgdetl_inqr" useinputpanel="false" position="absolute 0 23 646 401" autoenter="select" autofittype="col" cellsizingtype="col" anchor="left top right" selecttype="multirow">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="21"/>
- <Column size="100"/>
- <Column size="80"/>
- <Column size="200"/>
- <Column size="70"/>
- <Column size="0"/>
- <Column size="60"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="70"/>
- <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="기본값"/>
- <Cell col="9" text="출력순서"/>
- <Cell col="10" text="기타구분1"/>
- <Cell col="11" text="기타구분2"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" displaytype="combo" style="align:left middle;padding:0 0 0 3;" text="bind:inqrflag" combodataset="ds_init_baseinfo_inqrflaglst_A0106" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="2" style="align:left middle;padding:0 0 0 3;" text="bind:inqrcd"/>
- <Cell col="3" style="align:left middle;padding:0 0 0 3;" text="bind:inqrnm"/>
- <Cell col="4" displaytype="combo" style="align:left middle;padding:0 0 0 3;" text="bind:answflag" combodataset="ds_init_baseinfo_answflaglst_A0066" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="5" text="bind:answcnt"/>
- <Cell col="6" displaytype="checkbox" style="controlbackground:silver;controlborder:1 solid #708090cc ;" text="bind:useyn" expr="expr:useyn == 'Y' ? 1 : 0" enable="false"/>
- <Cell col="7" text="bind:answclscd"/>
- <Cell col="8" text="bind:defltval"/>
- <Cell col="9" displaytype="text" edittype="text" style="align:left middle;padding:0 0 0 3;" text="bind:pkginqrseqno"/>
- <Cell col="10" text="bind:inqretcflag1"/>
- <Cell col="11" text="bind:inqretcflag2"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case_medi" text="진찰">
- <Layouts>
- <Layout>
- <Static id="caption5" text="진찰내역" class="tit_2" position="absolute 0 2 115 24"/>
- <Shape id="line3" linetype="horizontal" class="line_10" position="absolute 0 18 646 24" anchor="left top right"/>
- <Grid id="grd_medilst" taborder="1" binddataset="ds_main_pkgdetl_medi" useinputpanel="false" position="absolute 0 23 646 401" autoenter="select" cellsizingtype="col" autofittype="col" anchor="left top right" selecttype="multirow">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="21"/>
- <Column size="100"/>
- <Column size="80"/>
- <Column size="200"/>
- <Column size="70"/>
- <Column size="0"/>
- <Column size="60"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="70"/>
- <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="기본값"/>
- <Cell col="9" text="출력순서"/>
- <Cell col="10" text="기타구분1"/>
- <Cell col="11" text="기타구분2"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" combodataset="ds_init_baseinfo_inqrflaglst_A0106" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="1" displaytype="combo" style="align:left middle;padding:0 0 0 3;" text="bind:inqrflag" combodataset="ds_init_baseinfo_inqrflaglst_A0106" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="2" style="align:left middle;padding:0 0 0 3;" text="bind:inqrcd"/>
- <Cell col="3" style="align:left middle;padding:0 0 0 3;" text="bind:inqrnm"/>
- <Cell col="4" displaytype="combo" style="align:left middle;padding:0 0 0 3;" text="bind:answflag" combodataset="ds_init_baseinfo_answflaglst_A0066" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="5" text="bind:answcnt"/>
- <Cell col="6" displaytype="checkbox" style="controlbackground:silver;controlborder:1 solid #708090cc ;" text="bind:useyn" expr="expr:useyn == 'Y' ? 1 : 0" enable="false"/>
- <Cell col="7" text="bind:answclscd"/>
- <Cell col="8" text="bind:defltval"/>
- <Cell col="9" displaytype="text" edittype="text" style="align:left middle;padding:0 0 0 3;" text="bind:pkginqrseqno"/>
- <Cell col="10" text="bind:inqretcflag1"/>
- <Cell col="11" text="bind:inqretcflag2"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case_judg" text="판정">
- <Layouts>
- <Layout>
- <Static id="caption7" text="판정내역" class="tit_2" position="absolute 0 2 115 24"/>
- <Shape id="line4" linetype="horizontal" class="line_10" position="absolute 0 18 646 24" anchor="left top right"/>
- <Grid id="grd_judglst" taborder="1" binddataset="ds_main_pkgdetl_judg" useinputpanel="false" position="absolute 0 23 646 401" autoenter="select" autofittype="col" cellsizingtype="col" anchor="left top right" selecttype="multirow">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="22"/>
- <Column size="100"/>
- <Column size="80"/>
- <Column size="200"/>
- <Column size="70"/>
- <Column size="0"/>
- <Column size="60"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="70"/>
- <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="기본값"/>
- <Cell col="9" text="출력순서"/>
- <Cell col="10" text="기타구분1"/>
- <Cell col="11" text="기타구분2"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" displaytype="combo" edittype="combo" style="align:left middle;padding:0 0 0 3;" text="bind:inqrflag" combodataset="ds_init_baseinfo_inqrflaglst_A0106" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="2" style="align:left middle;padding:0 0 0 3;" text="bind:inqrcd"/>
- <Cell col="3" style="align:left middle;padding:0 0 0 3;" text="bind:inqrnm"/>
- <Cell col="4" displaytype="combo" style="align:left middle;padding:0 0 0 3;" text="bind:answflag" combodataset="ds_init_baseinfo_answflaglst_A0066" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="5" text="bind:answcnt"/>
- <Cell col="6" displaytype="checkbox" edittype="checkbox" style="controlbackground:silver;controlborder:1 solid #708090cc ;" text="bind:useyn" expr="expr:useyn == 'Y' ? 1 : 0" enable="false"/>
- <Cell col="7" text="bind:answclscd"/>
- <Cell col="8" text="bind:defltval"/>
- <Cell col="9" displaytype="text" edittype="text" style="align:left middle;padding:0 0 0 3;" text="bind:pkginqrseqno"/>
- <Cell col="10" text="bind:inqretcflag1"/>
- <Cell col="11" text="bind:inqretcflag2"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Button id="btn_inqr" taborder="11" text="문진" position="absolute 549 337 589 361" class="btn_tab_S" onclick="btn_inqr_onclick" anchor="left bottom"/>
- <Button id="btn_medi" taborder="12" text="진찰" class="btn_tab" position="absolute 590 337 630 361" onclick="btn_medi_onclick" anchor="left bottom"/>
- <Button id="btn_judg" taborder="13" text="판정" class="btn_tab" position="absolute 631 337 671 361" onclick="btn_judg_onclick" anchor="left bottom"/>
- <Button id="btn_reduce" taborder="7" text="줄이기" class="btn2" visible="false" position="absolute 491 67 544 89" onclick="btn_reduce_onclick"/>
- <Button id="btn_spread" taborder="8" text="펼치기" class="btn2" position="absolute 491 67 544 89" onclick="btn_spread_onclick"/>
- <Static id="caption6" text="패키지별문진관리" class="tit_1" position="absolute 0 0 189 25"/>
- <Grid id="grd_baseinqrlst" taborder="1" binddataset="ds_main_inqrlst_item" useinputpanel="false" position="absolute 550 94 1195 335" autoenter="select" cellsizingtype="col" anchor="all" cellclickbound="cell">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="30"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="250"/>
- <Column size="70"/>
- <Column size="0"/>
- <Column size="60"/>
- <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="단압선택수"/>
- <Cell col="6" text="사용여부"/>
- <Cell col="7" text="답안분류코드"/>
- <Cell col="8" text="기본값"/>
- <Cell col="9" text="출력순서"/>
- <Cell col="10" text="기타구분1"/>
- <Cell col="11" text="기타구분2"/>
- </Band>
- <Band id="body">
- <Cell displaytype="checkbox" edittype="checkbox" text="bind:sel" expr="expr:sel == 'Y' ? 1 : 0"/>
- <Cell col="1" displaytype="combo" style="align:left middle;padding:0 0 0 3;" text="bind:inqrflag" combodataset="ds_init_baseinfo_inqrflaglst_A0106" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="2" style="align:left middle;padding:0 0 0 3;" text="bind:inqrcd"/>
- <Cell col="3" style="align:left middle;padding:0 0 0 3;" text="bind:inqrnm"/>
- <Cell col="4" displaytype="combo" style="align:left middle;padding:0 0 0 3;" text="bind:answflag" combodataset="ds_init_baseinfo_answflaglst_A0066" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="5" text="bind:answcnt"/>
- <Cell col="6" displaytype="checkbox" style="controlbackground:silver;controlborder:1 solid #708090cc ;" text="bind:useyn" expr="expr:useyn == 'Y' ? 1 : 0" enable="false"/>
- <Cell col="7" text="bind:answclscd"/>
- <Cell col="8" text="bind:defltval"/>
- <Cell col="9" text="bind:inqrdipseq"/>
- <Cell col="10" text="bind:inqretcflag1"/>
- <Cell col="11" text="bind:inqretcflag2"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Div id="group6" anchor="left top right" taborder="2" class="div_SA" position="absolute 0 25 1195 65">
- <Layouts>
- <Layout>
- <Static id="caption21" text="건진구분:" class="search_name" position="absolute 16 11 102 28"/>
- <Button id="btn_search" taborder="1" text="조회" class="btn1" position="absolute 1122 9 1178 31" anchor="top right" onclick="group6_btn_search_onclick"/>
- <Shape id="line18" linetype="vertical" class="line_4" position="absolute 1101 9 1107 31" anchor="top right"/>
- <Static id="caption22" text="건진상세구분 :" class="search_name" position="absolute 246 11 358 28"/>
- <Static id="caption2" text="패키지코드 :" class="search_name" position="absolute 506 11 618 28"/>
- <Static id="caption3" text="패키지명 :" class="search_name" position="absolute 761 11 873 28"/>
- <Combo id="cmb_healexamflag" taborder="2" innerdataset="@ds_init_baseinfo_healexamflag_A0068" codecolumn="cdid" datacolumn="cdnm" position="absolute 105 11 220 30" onitemchanged="group6_cmb_healexamflag_onitemchanged"/>
- <Combo id="cmb_healexamdetlflag" taborder="3" innerdataset="ds_init_baseinfo_healexamdetlflag_item" codecolumn="cdid" datacolumn="cdnm" position="absolute 366 11 481 30"/>
- <Edit id="ipt_pkgcd" taborder="4" position="absolute 607 10 732 29" onkeyup="group6_ipt_pkgcd_onkeyup"/>
- <Edit id="ipt_pkgnm" taborder="5" position="absolute 853 10 1043 29" onkeyup="group6_ipt_pkgnm_onkeyup"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption1" text="패키지 내역" class="tit_2" position="absolute 0 73 115 95"/>
- <Shape id="line1" class="line_10" position="absolute 0 89 545 95"/>
- <Grid id="grd_pkglst" taborder="4" binddataset="ds_main_pkglst_item" useinputpanel="false" position="absolute 0 94 545 765" autoenter="select" cellsizingtype="col" anchor="left top bottom" oncelldblclick="grd_pkglst_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="21"/>
- <Column size="0"/>
- <Column size="80"/>
- <Column size="70"/>
- <Column size="80"/>
- <Column size="0"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="80"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- </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="미수분류"/>
- <Cell col="15" text="수익분류"/>
- <Cell col="16" text="비고"/>
- <Cell col="17" text="검사설명"/>
- <Cell col="18" text="인터넷 적용여부"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" displaytype="combo" edittype="combo" text="bind:healexamflag" enable="false"/>
- <Cell col="2" displaytype="combo" style="align:left middle;padding:0 0 0 3;" text="bind:healexamdetlflag" combodataset="ds_init_baseinfo_healexamdetlflag_item" combocodecol="cdid" combodatacol="cdnm" id="colflag" enable="false"/>
- <Cell col="3" displaytype="combo" style="align:left middle;padding:0 0 0 3;" text="bind:pkgflag" combodataset="ds_cmb_pkgflag" combocodecol="value" combodatacol="label" enable="false"/>
- <Cell col="4" style="align:left middle;padding:0 0 0 3;" text="bind:pkgcd" enable="false"/>
- <Cell col="5" style="align:left middle;padding:0 0 0 3;" text="bind:oldordcd"/>
- <Cell col="6" style="align:left middle;padding:0 0 0 3;" text="bind:pkgnm"/>
- <Cell col="7" style="align:left middle;padding:0 0 0 3;" text="bind:pkgengnm"/>
- <Cell col="8" text="bind:calcscorcd"/>
- <Cell col="9" text="bind:calcscornm"/>
- <Cell col="10" displaytype="combo" edittype="combo" text="bind:brthareacnts" enable="false"/>
- <Cell col="11" displaytype="number" text="bind:pkgamt"/>
- <Cell col="12" displaytype="combo" style="align:left middle;padding:3 3 3 3;" text="bind:gndrflag" combodataset="ds_cmb_gndrflag" combocodecol="value" combodatacol="label" enable="false"/>
- <Cell col="13" displaytype="checkbox" style="controlbackground:silver;controlborder:1 solid #708090cc ;" text="bind:useyn" expr="expr:useyn == 'Y' ? 1 : 0" enable="false"/>
- <Cell col="14" displaytype="combo" edittype="combo" text="bind:uncoflag"/>
- <Cell col="15" displaytype="combo" edittype="combo" text="bind:earnclscd"/>
- <Cell col="16" style="align:left middle;padding:3 3 3 3;" text="bind:remcnts"/>
- <Cell col="17" style="align:left middle;padding:3 3 3 3;" text="bind:pkgdesc"/>
- <Cell col="18" displaytype="checkbox" style="controlbackground:silver;controlborder:1 solid #708090cc ;" text="bind:inetyn" expr="expr:inetyn == 'Y' ? 1 : 0" enable="false"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption8" text="문진코드 내역" class="tit_2" position="absolute 551 73 666 95"/>
- <Shape id="line5" class="line_10" position="absolute 550 89 1195 95" anchor="left top right"/>
- <Button id="btn_del" taborder="5" text="행삭제" class="btn2" position="absolute 1142 337 1195 359" anchor="right bottom" onclick="btn_del_onclick"/>
- <Button id="button1" taborder="9" text="문진등록" class="btn2" position="absolute 1131 67 1195 89" anchor="top right" onclick="button1_onclick"/>
- <Button id="btn_save" taborder="10" text="저장" class="btn4" position="absolute 1139 769 1195 791" anchor="right bottom" onclick="btn_save_onclick"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_init_baseinfo_inqrflaglst_A0106" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_baseinfo_answflaglst_A0066" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_baseinfo_healexamflag_A0068" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_baseinfo_ahealexamdetlflag_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_baseinfo_healexamdetlflag_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="srchhealexamflag" type="STRING" size="256"/>
- <Column id="srchhealexamdetlflag" type="STRING" size="256"/>
- <Column id="srchpkgcd" type="STRING" size="256"/>
- <Column id="srchpkgnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="srchhealexamflag"/>
- <Col id="srchhealexamdetlflag"/>
- <Col id="srchpkgcd"/>
- <Col id="srchpkgnm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_pkglst_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_pkglst_item_oncolumnchanged">
- <ColumnInfo>
- <Column id="healexamflag" type="STRING" size="256" sumtext="건진구분"/>
- <Column id="healexamdetlflag" type="STRING" size="256" sumtext="건진상세구분"/>
- <Column id="pkgflag" type="STRING" size="256" sumtext="패키지구분"/>
- <Column id="pkgcd" type="STRING" size="256" sumtext="패키지코드"/>
- <Column id="oldordcd" type="STRING" size="256" sumtext="구코드"/>
- <Column id="pkgnm" type="STRING" size="256" sumtext="패키지명"/>
- <Column id="pkgengnm" type="STRING" size="256" sumtext="패키지영문명"/>
- <Column id="calcscorcd" type="STRING" size="256" sumtext="수가코드"/>
- <Column id="calcscornm" type="STRING" size="256" sumtext="수가명"/>
- <Column id="brthareacnts" type="STRING" size="256" sumtext="국가"/>
- <Column id="pkgamt" type="INT" size="256" sumtext="패키지금액"/>
- <Column id="gndrflag" type="STRING" size="256" sumtext="성별구분"/>
- <Column id="useyn" type="STRING" size="256" sumtext="사용여부"/>
- <Column id="uncoflag" type="STRING" size="256" sumtext="미수구분"/>
- <Column id="earnclscd" type="STRING" size="256" sumtext="수익분류"/>
- <Column id="remcnts" type="STRING" size="256" sumtext="비고"/>
- <Column id="pkgdesc" type="STRING" size="256" sumtext="패키지설명"/>
- <Column id="inetyn" type="STRING" size="256" sumtext="인터넷사용여부"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_inqrlst_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_inqrlst_item_oncolumnchanged">
- <ColumnInfo>
- <Column id="sel" type="STRING" size="256" sumtext="선택"/>
- <Column id="inqrflag" type="STRING" size="256" sumtext="문진구분"/>
- <Column id="inqrflag" type="STRING" size="256" sumtext="문진구분"/>
- <Column id="inqrcd" type="STRING" size="256" sumtext="문진코드"/>
- <Column id="inqrnm" type="STRING" size="256" sumtext="문진명"/>
- <Column id="answflag" type="STRING" size="256" sumtext="단안구분"/>
- <Column id="answcnt" type="STRING" size="256" sumtext="답안갯수"/>
- <Column id="useyn" type="STRING" size="256" sumtext="사용여부"/>
- <Column id="answclscd" type="STRING" size="256" sumtext="답안분류코드"/>
- <Column id="defltval" type="STRING" size="256" sumtext="기본결과값"/>
- <Column id="pkginqrseqno" type="STRING" size="256" sumtext="일련번호"/>
- <Column id="inqretcflag1" type="STRING" size="256" sumtext="문진기타구분1"/>
- <Column id="inqretcflag2" type="STRING" size="256" sumtext="문진구타구분2"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_pkgdetl_inqr" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_pkgdetl_inqr_oncolumnchanged">
- <ColumnInfo>
- <Column id="inqrflag" type="STRING" size="256" sumtext="문진구분"/>
- <Column id="inqrcd" type="STRING" size="256" sumtext="문진코드"/>
- <Column id="inqrnm" type="STRING" size="256" sumtext="문진명"/>
- <Column id="answflag" type="STRING" size="256" sumtext="단안구분"/>
- <Column id="answcnt" type="STRING" size="256" sumtext="답안갯수"/>
- <Column id="useyn" type="STRING" size="256" sumtext="사용여부"/>
- <Column id="answclscd" type="STRING" size="256" sumtext="답안분류코드"/>
- <Column id="defltval" type="STRING" size="256" sumtext="기본결과값"/>
- <Column id="pkginqrseqno" type="STRING" size="256" sumtext="일련번호"/>
- <Column id="inqretcflag1" type="STRING" size="256" sumtext="문진기타구분1"/>
- <Column id="inqretcflag2" type="STRING" size="256" sumtext="문진구타구분2"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_pkgdetl_medi" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_pkgdetl_medi_oncolumnchanged">
- <ColumnInfo>
- <Column id="inqrflag" type="STRING" size="256" sumtext="문진구분"/>
- <Column id="inqrcd" type="STRING" size="256" sumtext="문진코드"/>
- <Column id="inqrnm" type="STRING" size="256" sumtext="문진명"/>
- <Column id="answflag" type="STRING" size="256" sumtext="단안구분"/>
- <Column id="answcnt" type="STRING" size="256" sumtext="답안갯수"/>
- <Column id="useyn" type="STRING" size="256" sumtext="사용여부"/>
- <Column id="answclscd" type="STRING" size="256" sumtext="답안분류코드"/>
- <Column id="defltval" type="STRING" size="256" sumtext="기본결과값"/>
- <Column id="pkginqrseqno" type="STRING" size="256" sumtext="일련번호"/>
- <Column id="inqretcflag1" type="STRING" size="256" sumtext="문진기타구분1"/>
- <Column id="inqretcflag2" type="STRING" size="256" sumtext="문진구타구분2"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_pkgdetl_judg" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="inqrflag" type="STRING" size="256" sumtext="문진구분"/>
- <Column id="inqrcd" type="STRING" size="256" sumtext="문진코드"/>
- <Column id="inqrnm" type="STRING" size="256" sumtext="문진명"/>
- <Column id="answflag" type="STRING" size="256" sumtext="단안구분"/>
- <Column id="answcnt" type="STRING" size="256" sumtext="답안갯수"/>
- <Column id="useyn" type="STRING" size="256" sumtext="사용여부"/>
- <Column id="answclscd" type="STRING" size="256" sumtext="답안분류코드"/>
- <Column id="defltval" type="STRING" size="256" sumtext="기본결과값"/>
- <Column id="pkginqrseqno" type="STRING" size="256" sumtext="일련번호"/>
- <Column id="inqretcflag1" type="STRING" size="256" sumtext="문진기타구분1"/>
- <Column id="inqretcflag2" type="STRING" size="256" sumtext="문진구타구분2"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_baseinfo_chealexamdetlflag_A0069" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_baseinfo_ghealexamdetlflag_A0070" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_cmb_gndrflag" 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">M</Col>
- </Row>
- <Row>
- <Col id="label">남</Col>
- <Col id="value">C</Col>
- </Row>
- <Row>
- <Col id="label">여</Col>
- <Col id="value">F</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_cmb_pkgflag" 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">P</Col>
- </Row>
- <Row>
- <Col id="label">묶음처방</Col>
- <Col id="value">G</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_pkginfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="healexamflag" type="STRING" size="256" sumtext="건진구분"/>
- <Column id="healexamdetlflag" type="STRING" size="256" sumtext="건진상세구분"/>
- <Column id="pkgflag" type="STRING" size="256" sumtext="패키지구분"/>
- <Column id="pkgcd" type="STRING" size="256" sumtext="패키지코드"/>
- <Column id="oldordcd" type="STRING" size="256" sumtext="구코드"/>
- <Column id="pkgnm" type="STRING" size="256" sumtext="패키지명"/>
- <Column id="pkgengnm" type="STRING" size="256" sumtext="패키지영문명"/>
- <Column id="calcscorcd" type="STRING" size="256" sumtext="수가코드"/>
- <Column id="calcscornm" type="STRING" size="256" sumtext="수가명"/>
- <Column id="brthareacnts" type="STRING" size="256" sumtext="국가"/>
- <Column id="pkgamt" type="INT" size="256" sumtext="패키지금액"/>
- <Column id="gndrflag" type="STRING" size="256" sumtext="성별구분"/>
- <Column id="useyn" type="STRING" size="256" sumtext="사용여부"/>
- <Column id="uncoflag" type="STRING" size="256" sumtext="미수구분"/>
- <Column id="earnclscd" type="STRING" size="256" sumtext="수익분류"/>
- <Column id="remcnts" type="STRING" size="256" sumtext="비고"/>
- <Column id="pkgdesc" type="STRING" size="256" sumtext="패키지설명"/>
- <Column id="inetyn" type="STRING" size="256" sumtext="인터넷사용여부"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_inqrinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_save" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_save_saveinqr" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_save_savemedi" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_save_savejudg" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group6.cmb_healexamflag" propid="value" datasetid="ds_send" columnid="srchhealexamflag"/>
- <BindItem id="item1" compid="group6.cmb_healexamdetlflag" propid="value" datasetid="ds_send" columnid="srchhealexamdetlflag"/>
- <BindItem id="item2" compid="group6.ipt_pkgcd" propid="value" datasetid="ds_send" columnid="srchpkgcd"/>
- <BindItem id="item3" compid="group6.ipt_pkgnm" propid="value" datasetid="ds_send" columnid="srchpkgnm"/>
- </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 "ast_healexamxp::AHA001.xjs";
- var arErrorCode = new HashArray();
- var vHealexamFlag = "";
- var vHealexamdetlFlag = "";
- function SMAHA03200_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMAHA03200_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(grd_pkglst);
- grdf_setRowTypeIcon(grd_pkglst, 0);
- grdf_initGrid(grd_baseinqrlst);
- grdf_initGrid(swt_detl.case_inqr.grd_inqrlst);
- grdf_setRowTypeIcon(swt_detl.case_inqr.grd_inqrlst, 0);
- grdf_initGrid(swt_detl.case_judg.grd_judglst);
- grdf_setRowTypeIcon(swt_detl.case_judg.grd_judglst, 0);
- grdf_initGrid(swt_detl.case_medi.grd_medilst);
- grdf_setRowTypeIcon(swt_detl.case_medi.grd_medilst, 0);
-
- var sFlag = frmf_getMenuParam(); // 메뉴파라미터(건진구분을 셋팅)
-
- vHealexamFlag = String(sFlag).substr(0,1);
- vHealexamdetlFlag = sFlag;
-
- fGetBasicCdList();
- fSetInit();
-
- group6.btn_search.enable = frmf_checkAuth("R") ;
- btn_save.enable = frmf_checkAuth("X") ;
- }
- function fGetBasicCdList()
- {
- var arrParam = [{dsNm: "ds_init_baseinfo_healexamflag_A0068", cdGrpId: "A0068"}
- ,{dsNm: "ds_init_baseinfo_chealexamdetlflag_A0069", cdGrpId: "A0069"}
- ,{dsNm: "ds_init_baseinfo_ghealexamdetlflag_A0070", cdGrpId: "A0070"}
- ,{dsNm: "ds_init_baseinfo_uncolst_A0067", cdGrpId: "A0067"}
- ,{dsNm: "ds_init_baseinfo_earnclslst_A0435", cdGrpId: "A0435"}
- ,{dsNm: "ds_init_baseinfo_brthareacnts_A0465", cdGrpId: "A0465"}
- ,{dsNm: "ds_init_baseinfo_inqrflaglst_A0106", cdGrpId: "A0106"}
- ,{dsNm: "ds_init_baseinfo_answflaglst_A0066", cdGrpId: "A0066"}]
- appf_getCodeList(arrParam);
-
- ds_init_baseinfo_ahealexamdetlflag_item.copyData(ds_init_baseinfo_chealexamdetlflag_A0069);
- ds_init_baseinfo_chealexamdetlflag_A0069.appendData(ds_init_baseinfo_ghealexamdetlflag_A0070);
- }
- function fSetInit()
- {
- if(!utlf_isNull(vHealexamFlag) && !utlf_isNull(vHealexamdetlFlag))
- {
- group6.cmb_healexamflag.value = vHealexamFlag;
- fSetHealExamDetlFlag();
- group6.cmb_healexamdetlflag.value = vHealexamdetlFlag;
- }
- else
- {
- group6.cmb_healexamflag.index = 0;
- }
- }
- function fSetHealExamDetlFlag()
- {
- if(group6.cmb_healexamflag.value == "C")
- {
- ds_init_baseinfo_healexamdetlflag_item.copyData(ds_init_baseinfo_chealexamdetlflag_A0069);
- }
- else
- {
- ds_init_baseinfo_healexamdetlflag_item.copyData(ds_init_baseinfo_ghealexamdetlflag_A0070);
- }
-
- group6.cmb_healexamdetlflag.index = 0;
- }
- function group6_cmb_healexamflag_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- fSetHealExamDetlFlag();
- }
- function group6_ipt_pkgcd_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- obj.updateToDataset();
- group6.btn_search.click();
- }
- }
- function group6_ipt_pkgnm_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- obj.updateToDataset();
- group6.btn_search.click();
- }
- }
- function group6_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetPkagList();
- }
- function fGetPkagList()
- {
- var oParam = {};
- oParam.id = "TRAHA03200";
- oParam.service = "healthexambaseapp.PkgInqrCode";
- oParam.method = "reqGetPkgCodeList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_pkglst_item=item";
- oParam.async = false;
- //oParam.callback = "cf_TRAHA03200";
- tranf_submit(oParam);
- }
- function grd_pkglst_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- fGetPkgInqrList();
- }
- function fGetPkgInqrList()
- {
- ds_send_pkginfo.clearData();
- ds_send_pkginfo.copyRow(ds_send_pkginfo.addRow(), ds_main_pkglst_item, ds_main_pkglst_item.rowposition);
- ds_main_inqrlst_item.clearData();
-
- var oParam = {};
- oParam.id = "TRAHA03200";
- oParam.service = "healthexambaseapp.PkgInqrCode";
- oParam.method = "reqGetPkgInqrList";
- oParam.inds = "req=ds_send_pkginfo";
- oParam.outds = "ds_main_pkgdetl_inqr=inqr ds_main_pkgdetl_medi=medi ds_main_pkgdetl_judg=judg";
- oParam.async = false;
- oParam.callback = "cf_submit";
- tranf_submit(oParam);
- if(arErrorCode.pop("TRAHA03200") > -1)
- {
- btn_inqr.click();
- }
- }
- function cf_submit(sSvcId, nErrorCode, sErrorMsg)
- {
- arErrorCode.push(sSvcId, nErrorCode);
- if(nErrorCode < 0) return;
- }
- function fGetInqrList(vFlag)
- {
- if(utlf_isNull(vFlag)) return;
- dsf_makeValue(ds_send_inqrinfo, "inqrflag", "string", vFlag);
- var oParam = {};
- oParam.id = "TRAHA03200";
- oParam.service = "healthexambaseapp.PkgInqrCode";
- oParam.method = "reqGetInqrList";
- oParam.inds = "req=ds_send_inqrinfo";
- oParam.outds = "ds_main_inqrlst_item=item";
- oParam.async = false;
- //oParam.callback = "cf_TRAHA03200";
- tranf_submit(oParam);
- }
- function button1_onclick(obj:Button, e:ClickEventInfo)
- {
- if(swt_detl.tabindex == 0)
- {
- fSetInqrList(ds_main_pkgdetl_inqr);
- }
- else if(swt_detl.tabindex == 1)
- {
- fSetInqrList(ds_main_pkgdetl_medi);
- }
- else
- {
- fSetInqrList(ds_main_pkgdetl_judg);
- }
- }
- function fSetInqrList(vGrd)
- {
- var dupChk = false;
-
- for(var i = 0; i < ds_main_inqrlst_item.rowcount; i++)
- {
- dupChk = true;
- var sel = ds_main_inqrlst_item.getColumn(i, "sel");
- if(sel == "Y")
- {
- var srcInqrFlag = ds_main_inqrlst_item.getColumn(i , "inqrflag");
- var srcInqrCd = ds_main_inqrlst_item.getColumn(i , "inqrcd");
- var inqrnm = ds_main_inqrlst_item.getColumn(i , "inqrnm");
-
- for(var j = 0; j < vGrd.rowcount; j++)
- {
- var desInqrFlag = vGrd.getColumn(j , "inqrflag");
- var desInqrCd = vGrd.getColumn(j , "inqrcd");
-
- if(srcInqrFlag == desInqrFlag && srcInqrCd == desInqrCd)
- {
- sysf_messageBox("선택한 [" + inqrnm + "]는","E006");
- dupChk = false;
- }
- }
- if(dupChk)
- {
- var insRow = vGrd.addRow();
- vGrd.setColumn(insRow, "inqrflag", ds_main_inqrlst_item.getColumn(i, "inqrflag"));
- vGrd.setColumn(insRow, "inqrcd", ds_main_inqrlst_item.getColumn(i, "inqrcd"));
- vGrd.setColumn(insRow, "inqrnm", ds_main_inqrlst_item.getColumn(i, "inqrnm"));
- vGrd.setColumn(insRow, "answflag", ds_main_inqrlst_item.getColumn(i, "answflag"));
- vGrd.setColumn(insRow, "answcnt", ds_main_inqrlst_item.getColumn(i, "answcnt"));
- vGrd.setColumn(insRow, "useyn", ds_main_inqrlst_item.getColumn(i, "useyn"));
- vGrd.setColumn(insRow, "answclscd", ds_main_inqrlst_item.getColumn(i, "answclscd"));
- vGrd.setColumn(insRow, "defltval", ds_main_inqrlst_item.getColumn(i, "defltval"));
- vGrd.setColumn(insRow, "inqretcflag1", ds_main_inqrlst_item.getColumn(i, "inqretcflag1"));
- vGrd.setColumn(insRow, "inqretcflag2", ds_main_inqrlst_item.getColumn(i, "inqretcflag2"));
- }
- }
- }
- }
- function btn_spread_onclick(obj:Button, e:ClickEventInfo)
- {
- grd_pkglst.position.width = group6.position.width;
- grd_pkglst.bringToFront();
- btn_spread.visible = false;
- btn_reduce.visible = true;
- }
- function btn_reduce_onclick(obj:Button, e:ClickEventInfo)
- {
- btn_spread.visible = true;
- btn_reduce.visible = false;
- grd_pkglst.position.right = 545;
- }
- function btn_del_onclick(obj:Button, e:ClickEventInfo)
- {
- if(swt_detl.tabindex == 0)
- {
- nDelteRow(swt_detl.case_inqr.grd_inqrlst)
- }
- else if(swt_detl.tabindex == 1)
- {
- nDelteRow(swt_detl.case_medi.grd_medilst)
- }
- else
- {
- nDelteRow(swt_detl.case_judg.grd_judglst)
- }
- }
- function nDelteRow(vGrid)
- {
- var rows = grdf_getSelectedRows(vGrid);
- var vDataSet = this.objects[vGrid.binddataset];
-
- for(var i = parseInt(rows.length-1); i >= 0; i--)
- {
- var m_row = rows[i];
-
- if(vDataSet.getRowType(m_row) == 2)
- {
- vDataSet.deleteRow(m_row);
- }
- else
- {
- vDataSet.updatecontrol = false;
- vDataSet.setRowType(m_row, "d");
- vDataSet.updatecontrol = true;
- }
- }
- }
- function ds_main_pkglst_item_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid == "useyn")
- {
- obj.setColumn(e.row, "useyn", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
- }
- }
- function ds_main_inqrlst_item_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid == "sel")
- {
- obj.setColumn(e.row, "sel", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
- }
- if(e.columnid == "useyn")
- {
- obj.setColumn(e.row, "useyn", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
- }
- }
- function ds_main_pkgdetl_inqr_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid == "useyn")
- {
- obj.setColumn(e.row, "useyn", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
- }
- }
- function ds_main_pkgdetl_medi_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid == "useyn")
- {
- obj.setColumn(e.row, "useyn", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
- }
- }
- function btn_save_onclick(obj:Button, e:ClickEventInfo)
- {
- fSavePkgInqr();
- }
- function fSavePkgInqr()
- {
- var inqrsave = grdf_getGridUpdateData(swt_detl.case_inqr.grd_inqrlst);
- grdf_setStatusColumn(inqrsave, "m");
- ds_send_save_saveinqr.copyData(inqrsave, true);
-
- var medisave = grdf_getGridUpdateData(swt_detl.case_medi.grd_medilst);
- grdf_setStatusColumn(medisave, "m");
- ds_send_save_savemedi.copyData(medisave, true);
-
- var judgsave = grdf_getGridUpdateData(swt_detl.case_judg.grd_judglst);
- grdf_setStatusColumn(judgsave, "m");
- ds_send_save_savejudg.copyData(judgsave, true);
-
- if(ds_send_save_saveinqr.rowcount == 0 && ds_send_save_savemedi.rowcount == 0 && ds_send_save_savejudg.rowcount == 0)
- {
- sysf_messageBox("저장할 내역이" , "I004");
- return;
- }
- else
- {
- dsf_makeValue(ds_send_save, "healexamflag", "string", ds_send_pkginfo.getColumn(0, "healexamflag"));
- dsf_makeValue(ds_send_save, "healexamdetlflag", "string", ds_send_pkginfo.getColumn(0, "healexamdetlflag"));
- dsf_makeValue(ds_send_save, "pkgcd", "string", ds_send_pkginfo.getColumn(0, "pkgcd"));
-
- var oParam = {};
- oParam.id = "TRAHA03200";
- oParam.service = "healthexambaseapp.PkgInqrCode";
- oParam.method = "reqExePkgInqrInfo";
- oParam.inds = "req=ds_send_save inqr=ds_send_save_saveinqr medi=ds_send_save_savemedi judg=ds_send_save_savejudg";
- oParam.outds = "ds_=item";
- oParam.async = false;
- oParam.callback = "cf_submit";
- tranf_submit(oParam);
- if(arErrorCode.pop("TRAHA03200") > -1)
- {
- var oParam = {};
- oParam.id = "TRAHA03200";
- oParam.service = "healthexambaseapp.PkgInqrCode";
- oParam.method = "reqGetPkgInqrList";
- oParam.inds = "req=ds_send_pkginfo";
- oParam.outds = "ds_main_pkgdetl_inqr=inqr ds_main_pkgdetl_medi=medi ds_main_pkgdetl_judg=judg";
- oParam.async = false;
- //oParam.callback = "cf_TRAHA03200";
- tranf_submit(oParam);
- }
- }
- }
- function btn_inqr_onclick(obj:Button, e:ClickEventInfo)
- {
- swt_detl.tabindex = 0;
- btn_inqr.class = "btn_tab_S";
- btn_medi.class = "btn_tab";
- btn_judg.class = "btn_tab";
- fGetInqrList("E");
- }
- function btn_medi_onclick(obj:Button, e:ClickEventInfo)
- {
- swt_detl.tabindex = 1;
- btn_inqr.class = "btn_tab";
- btn_medi.class = "btn_tab_S";
- btn_judg.class = "btn_tab";
- fGetInqrList("F");
- }
- function btn_judg_onclick(obj:Button, e:ClickEventInfo)
- {
- swt_detl.tabindex = 2;
- btn_inqr.class = "btn_tab";
- btn_medi.class = "btn_tab";
- btn_judg.class = "btn_tab_S";
- fGetInqrList("G");
- }
- ]]></Script>
- </Form>
- </FDL>
|