123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489 |
- <?xml version="1.0" encoding="utf-8" standalone="no"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml" />
- <Form id="SPSTC00100" position="absolute 0 0 1280 1024" titletext="청구환자 리스트" onload="SPSTC00100_onload">
- <Layouts>
- <Layout>
- <Static id="caption26" class="tit_2" position="absolute 0 1 205 14" style="" text="청구환자 리스트" />
- <Shape id="line1" class="line_1" linetype="horizontal" position="absolute 0 15 1210 18" style="" anchor="default" />
- <Grid id="datagrid1" class="datagrid2" position="absolute 0 20 1210 755" style="">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="80" />
- <Column size="40" />
- <Column size="70" />
- <Column size="80" />
- <Column size="30" />
- <Column size="80" />
- <Column size="80" />
- <Column size="80" />
- <Column size="80" />
- <Column size="70" />
- <Column size="70" />
- <Column size="70" />
- <Column size="50" />
- <Column size="80" />
- <Column size="80" />
- <Column size="80" />
- <Column size="80" />
- <Column size="80" />
- <Column size="80" />
- <Column size="80" />
- <Column size="80" />
- <Column size="80" />
- <Column size="80" />
- <Column size="80" />
- <Column size="90" />
- <Column size="90" />
- <Column size="70" />
- <Column size="80" />
- <Column size="80" />
- <Column size="90" />
- <Column size="80" />
- <Column size="150" />
- <Column size="100" />
- </Columns>
- <Rows>
- <Row size="23" band="head" />
- <Row size="23" />
- </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="주치의코드" />
- <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="청구액" />
- <Cell col="19" text="상한액" />
- <Cell col="20" text="지원금" />
- <Cell col="21" text="장애인" />
- <Cell col="22" text="대불금" />
- <Cell col="23" text="선택진료료" />
- <Cell col="24" text="청구번호" />
- <Cell col="25" text="접수일자" />
- <Cell col="26" text="접수번호" />
- <Cell col="27" text="심사자" />
- <Cell col="28" text="심사상태" />
- <Cell col="29" text="심사일시" />
- <Cell col="30" text="기관기호" />
- <Cell col="31" text="기관명" />
- <Cell col="32" text="사고접수번호" />
- </Band>
- <Band id="body">
- <Cell text="bind:insukind" />
- <Cell col="1" text="bind:ioflag" />
- <Cell col="2" text="bind:clamym" />
- <Cell col="3" text="bind:clamflagcd" />
- <Cell col="4" text="bind:clamdg" />
- <Cell col="5" text="bind:ordym" />
- <Cell col="6" text="bind:clamfield" />
- <Cell col="7" text="bind:clamdept" />
- <Cell col="8" text="bind:orddept" />
- <Cell col="9" text="bind:orddrnm" />
- <Cell col="10" text="bind:orddrid" />
- <Cell col="11" text="bind:diagcd" />
- <Cell col="12" text="bind:docuseqno" />
- <Cell col="13" text="bind:pid" />
- <Cell col="14" text="bind:pnm" />
- <Cell col="15" text="bind:suppkind" />
- <Cell col="16" text="bind:totordamt" />
- <Cell col="17" text="bind:ownbamt" />
- <Cell col="18" text="bind:medcaretotamt" />
- <Cell col="19" text="bind:ownbmaxexamt" />
- <Cell col="20" text="bind:suppamt" />
- <Cell col="21" text="bind:handcaprfund" />
- <Cell col="22" text="bind:subtamt" />
- <Cell col="23" text="bind:specamt" />
- <Cell col="24" text="bind:clamno" />
- <Cell col="25" text="bind:acptdd" />
- <Cell col="26" text="bind:acptno" />
- <Cell col="27" text="bind:judgnm" />
- <Cell col="28" text="bind:judgstate" />
- <Cell col="29" text="bind:judgdd" />
- <Cell col="30" text="bind:insuno" />
- <Cell col="31" text="bind:insucdnm" />
- <Cell col="32" text="bind:acdacptno" />
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="btn_nextpage" class="btn4_letter5" position="absolute 1110 762 1202 784" style="" text="다음페이지" onclick="btn_nextpage_onclick" />
- <Button id="button1" class="btn3_letter5" position="absolute 965 762 1057 784" style="" text="이전페이지" onclick="button1_onclick" />
- <Static id="caption1" position="absolute 1058 765 1078 780" style="font:,,bold;align:right ;" text="caption1" />
- <Static id="caption2" position="absolute 1088 765 1108 780" style="font:,,bold;align:left ;" text="caption2" />
- <Static id="caption3" position="absolute 1078 765 1088 780" style="" text="/" />
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo />
- </Dataset>
- <Dataset id="ds_main_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo />
- </Dataset>
- <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo />
- </Dataset>
- <Dataset id="ds_init_page" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="totalpage" type="STRING" size="256" />
- <Column id="nowpage" type="STRING" size="256" />
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_list_gridlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="insukind" type="STRING" size="256" />
- <Column id="ioflag" type="STRING" size="256" />
- <Column id="clamym" type="STRING" size="256" />
- <Column id="clamflagcd" type="STRING" size="256" />
- <Column id="clamdg" type="STRING" size="256" />
- <Column id="ordym" type="STRING" size="256" />
- <Column id="clamfield" type="STRING" size="256" />
- <Column id="clamdept" type="STRING" size="256" />
- <Column id="orddept" type="STRING" size="256" />
- <Column id="orddrnm" type="STRING" size="256" />
- <Column id="orddrid" type="STRING" size="256" />
- <Column id="diagcd" type="STRING" size="256" />
- <Column id="docuseqno" type="STRING" size="256" />
- <Column id="pid" type="STRING" size="256" />
- <Column id="pnm" type="STRING" size="256" />
- <Column id="suppkind" type="STRING" size="256" />
- <Column id="totordamt" type="STRING" size="256" />
- <Column id="ownbamt" type="STRING" size="256" />
- <Column id="medcaretotamt" type="STRING" size="256" />
- <Column id="ownbmaxexamt" type="STRING" size="256" />
- <Column id="suppamt" type="STRING" size="256" />
- <Column id="handcaprfund" type="STRING" size="256" />
- <Column id="subtamt" type="STRING" size="256" />
- <Column id="specamt" type="STRING" size="256" />
- <Column id="clamno" type="STRING" size="256" />
- <Column id="acptdd" type="STRING" size="256" />
- <Column id="acptno" type="STRING" size="256" />
- <Column id="judgnm" type="STRING" size="256" />
- <Column id="judgstate" type="STRING" size="256" />
- <Column id="judgdd" type="STRING" size="256" />
- <Column id="insuno" type="STRING" size="256" />
- <Column id="insucdnm" type="STRING" size="256" />
- <Column id="acdacptno" type="STRING" size="256" />
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="insukind"></Col>
- <Col id="ioflag"></Col>
- <Col id="clamym"></Col>
- <Col id="clamflagcd"></Col>
- <Col id="clamdg"></Col>
- <Col id="ordym"></Col>
- <Col id="clamfield"></Col>
- <Col id="clamdept"></Col>
- <Col id="orddept"></Col>
- <Col id="orddrnm"></Col>
- <Col id="orddrid"></Col>
- <Col id="diagcd"></Col>
- <Col id="docuseqno"></Col>
- <Col id="pid"></Col>
- <Col id="pnm"></Col>
- <Col id="suppkind"></Col>
- <Col id="totordamt"></Col>
- <Col id="ownbamt"></Col>
- <Col id="medcaretotamt"></Col>
- <Col id="ownbmaxexamt"></Col>
- <Col id="suppamt"></Col>
- <Col id="handcaprfund"></Col>
- <Col id="subtamt"></Col>
- <Col id="specamt"></Col>
- <Col id="clamno"></Col>
- <Col id="acptdd"></Col>
- <Col id="acptno"></Col>
- <Col id="judgnm"></Col>
- <Col id="judgstate"></Col>
- <Col id="judgdd"></Col>
- <Col id="insuno"></Col>
- <Col id="insucdnm"></Col>
- <Col id="acdacptno"></Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_senddata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="rptmid" type="STRING" size="256" />
- <Column id="insukind" type="STRING" size="256" />
- <Column id="prockindflag" type="STRING" size="256" />
- <Column id="ioflag" type="STRING" size="256" />
- <Column id="clamym" type="STRING" size="256" />
- <Column id="clamflagcd" type="STRING" size="256" />
- <Column id="clamdg" type="STRING" size="256" />
- <Column id="ordym" type="STRING" size="256" />
- <Column id="sumtypecd" type="STRING" size="256" />
- <Column id="clamno" type="STRING" size="256" />
- <Column id="acptdd" type="STRING" size="256" />
- <Column id="acptno" type="STRING" size="256" />
- <Column id="deptflag" type="STRING" size="256" />
- <Column id="deptcd" type="STRING" size="256" />
- <Column id="insuno" type="STRING" size="256" />
- <Column id="citycd" type="STRING" size="256" />
- <Column id="srownum" type="STRING" size="256" />
- <Column id="erownum" type="STRING" size="256" />
- <Column id="sumfromdd" type="STRING" size="256" />
- <Column id="sumtodd" type="STRING" size="256" />
- <Column id="sumgb" type="STRING" size="256" />
- <Column id="sumclamflagcd" type="STRING" size="256" />
- <Column id="sumclamdg" type="STRING" size="256" />
- <Column id="sumprockindflag" type="STRING" size="256" />
- <Column id="sumioflag" type="STRING" size="256" />
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="rptmid"></Col>
- <Col id="insukind"></Col>
- <Col id="prockindflag"></Col>
- <Col id="ioflag"></Col>
- <Col id="clamym"></Col>
- <Col id="clamflagcd"></Col>
- <Col id="clamdg"></Col>
- <Col id="ordym"></Col>
- <Col id="sumtypecd"></Col>
- <Col id="clamno"></Col>
- <Col id="acptdd"></Col>
- <Col id="acptno"></Col>
- <Col id="deptflag"></Col>
- <Col id="deptcd"></Col>
- <Col id="insuno"></Col>
- <Col id="citycd"></Col>
- <Col id="srownum"></Col>
- <Col id="erownum"></Col>
- <Col id="sumfromdd"></Col>
- <Col id="sumtodd"></Col>
- <Col id="sumgb"></Col>
- <Col id="sumclamflagcd"></Col>
- <Col id="sumclamdg"></Col>
- <Col id="sumprockindflag"></Col>
- <Col id="sumioflag"></Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo />
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="caption1" propid="value" datasetid="ds_init_page" columnid="nowpage" />
- <BindItem id="item1" compid="caption2" propid="value" datasetid="ds_init_page" columnid="totalpage" />
- </Bind>
- <Script type="xscript4.0"><![CDATA[function SPSTC00100_onload(obj:Form, e:LoadEventInfo) {
- frmf_initForm(obj);
- //grdf_initGrid(grd_XXX);
- //grdf_setGridSort(grd_XXX);
- //grdf_setRowTypeIcon(grd_XXX, 0_컬럼위치값);
- // 부모창에서 개발자ID을 얻어 와서 조건으로 줘서 조회를 한다.
- var rptmid = opener.ds_send.getColumn(0, "in_rptcd");
- if (rptmid=="RR01147")
- {
- var insukind = opener.model.getValue("ds_init_rptm_grid_ret[" + opener.dgrd_rpt.row + " - 1 ]_hid1");
- var ioflag = opener.model.getValue("ds_init_rptm_grid_ret[" + opener.dgrd_rpt.row + " - 1]_hid2");
- var clamym = opener.model.getValue("ds_init_rptm_grid_ret[" + opener.dgrd_rpt.row + " - 1]_col3").replace("/","");
- var clamflagcd = opener.model.getValue("ds_init_rptm_grid_ret[" + opener.dgrd_rpt.row + " - 1]_hid3");
- var clamdg = opener.model.getValue("ds_init_rptm_grid_ret[" + opener.dgrd_rpt.row + " - 1]_col5");
- var ordym = opener.model.getValue("ds_init_rptm_grid_ret[" + opener.dgrd_rpt.row + " - 1]_col6").replace("/","");
- var sumtypecd = opener.model.getValue("ds_init_rptm_grid_ret[" + opener.dgrd_rpt.row + " - 1]_hid4");
- var clamno = opener.model.getValue("ds_init_rptm_grid_ret[" + opener.dgrd_rpt.row + " - 1 ]_col8");
- var acptdd = opener.model.getValue("ds_init_rptm_grid_ret[" + opener.dgrd_rpt.row + " - 1 ]_col9").replace("-","").replace("-","");
- var acptno = opener.model.getValue("ds_init_rptm_grid_ret[" + opener.dgrd_rpt.row + " - 1 ]_col10");
- ds_send_senddata.setColumn( 0, "insukind",insukind);
- ds_send_senddata.setColumn( 0, "ioflag",ioflag);
- ds_send_senddata.setColumn( 0, "clamym",clamym);
- ds_send_senddata.setColumn( 0, "clamflagcd",clamflagcd);
- ds_send_senddata.setColumn( 0, "clamdg",clamdg);
- ds_send_senddata.setColumn( 0, "ordym",ordym);
- ds_send_senddata.setColumn( 0, "sumtypecd",sumtypecd);
- ds_send_senddata.setColumn( 0, "clamno",clamno);
- ds_send_senddata.setColumn( 0, "acptdd",acptdd);
- ds_send_senddata.setColumn( 0, "acptno",acptno);
- var totalpage = opener.dgrd_rpt.textmatrix(opener.dgrd_rpt.row,opener.dgrd_rpt.colRef("col11")).replace(",","");
- }
- else if (rptmid=="RR01148")
- {
- var insukind = opener.model.getValue("ds_init_rptm_grid_ret[" + opener.dgrd_rpt.row + " - 1 ]_hid1");
- var ioflag = opener.model.getValue("ds_init_rptm_grid_ret[" + opener.dgrd_rpt.row + " - 1]_hid2");
- var clamym = opener.model.getValue("ds_init_rptm_grid_ret[" + opener.dgrd_rpt.row + " - 1]_col3").replace("/","");
- var clamflagcd = opener.model.getValue("ds_init_rptm_grid_ret[" + opener.dgrd_rpt.row + " - 1]_hid3");
- var clamdg = opener.model.getValue("ds_init_rptm_grid_ret[" + opener.dgrd_rpt.row + " - 1]_col5");
- var ordym = opener.model.getValue("ds_init_rptm_grid_ret[" + opener.dgrd_rpt.row + " - 1]_col6").replace("/","");
- var deptflag = opener.ds_send.getColumn(0, "in_cond5");
- var deptcd = opener.model.getValue("ds_init_rptm_grid_ret[" + opener.dgrd_rpt.row + " - 1 ]_hid4");
- // input box에 넘겨 받은 값을 입력한다.
- ds_send_senddata.setColumn( 0, "rptmid",rptmid);
- ds_send_senddata.setColumn( 0, "insukind",insukind);
- ds_send_senddata.setColumn( 0, "ioflag",ioflag);
- ds_send_senddata.setColumn( 0, "clamym",clamym);
- ds_send_senddata.setColumn( 0, "clamflagcd",clamflagcd);
- ds_send_senddata.setColumn( 0, "clamdg",clamdg);
- ds_send_senddata.setColumn( 0, "ordym",ordym);
- ds_send_senddata.setColumn( 0, "deptflag",deptflag);
- ds_send_senddata.setColumn( 0, "deptcd",deptcd);
- var totalpage = opener.dgrd_rpt.textmatrix(opener.dgrd_rpt.row,opener.dgrd_rpt.colRef("col8")).replace(",","");
- }
- else if (rptmid=="RR01149")
- {
- var prockindflag = opener.model.getValue("ds_init_rptm_grid_ret[" + opener.dgrd_rpt.row + " - 1 ]_hid1");
- var ioflag = opener.model.getValue("ds_init_rptm_grid_ret[" + opener.dgrd_rpt.row + " - 1]_hid2");
- var clamym = opener.model.getValue("ds_init_rptm_grid_ret[" + opener.dgrd_rpt.row + " - 1]_col3").replace("/","");
- var clamflagcd = opener.model.getValue("ds_init_rptm_grid_ret[" + opener.dgrd_rpt.row + " - 1]_hid3");
- var clamdg = opener.model.getValue("ds_init_rptm_grid_ret[" + opener.dgrd_rpt.row + " - 1]_col5");
- var ordym = opener.model.getValue("ds_init_rptm_grid_ret[" + opener.dgrd_rpt.row + " - 1]_col6").replace("/","");
- var citycd = opener.model.getValue("ds_init_rptm_grid_ret[" + opener.dgrd_rpt.row + " - 1 ]_hid4");
- var insuno = opener.model.getValue("ds_init_rptm_grid_ret[" + opener.dgrd_rpt.row + " - 1 ]_col8");
- var clamno = opener.model.getValue("ds_init_rptm_grid_ret[" + opener.dgrd_rpt.row + " - 1 ]_col10");
- var acptdd = opener.model.getValue("ds_init_rptm_grid_ret[" + opener.dgrd_rpt.row + " - 1 ]_col11").replace("-","").replace("-","");
- var acptno = opener.model.getValue("ds_init_rptm_grid_ret[" + opener.dgrd_rpt.row + " - 1 ]_col12");
- //조회기간
- var sumgb = opener.ds_send.getColumn(0, "in_sum");
- var sumfromdd = opener.ds_send.getColumn(0, "in_fromdd");
- var sumtodd = opener.ds_send.getColumn(0, "in_todd");
- var sumclamflagcd = opener.ds_send.getColumn(0, "in_cond2");
- var sumclamdg = opener.ds_send.getColumn(0, "in_cond7");
- var sumprockindflag = opener.ds_send.getColumn(0, "in_cond3");
- var sumioflag = opener.ds_send.getColumn(0, "in_cond4");
- if (insuno=="" && opener.ds_send.getColumn(0, "in_cond6") != "00") {
- insuno = opener.ds_send.getColumn(0, "in_cond6");
- }
- // input box에 넘겨 받은 값을 입력한다.
- ds_send_senddata.setColumn( 0, "rptmid",rptmid);
- ds_send_senddata.setColumn( 0, "prockindflag",prockindflag);
- ds_send_senddata.setColumn( 0, "ioflag",ioflag);
- ds_send_senddata.setColumn( 0, "clamym",clamym);
- ds_send_senddata.setColumn( 0, "clamflagcd",clamflagcd);
- ds_send_senddata.setColumn( 0, "clamdg",clamdg);
- ds_send_senddata.setColumn( 0, "ordym",ordym);
- ds_send_senddata.setColumn( 0, "citycd",citycd);
- ds_send_senddata.setColumn( 0, "insuno",insuno);
- ds_send_senddata.setColumn( 0, "clamno",clamno);
- ds_send_senddata.setColumn( 0, "acptdd",acptdd);
- ds_send_senddata.setColumn( 0, "acptno",acptno);
- ds_send_senddata.setColumn( 0, "sumfromdd",sumfromdd);
- ds_send_senddata.setColumn( 0, "sumtodd",sumtodd);
- ds_send_senddata.setColumn( 0, "sumgb",sumgb);
- ds_send_senddata.setColumn( 0, "sumclamflagcd",sumclamflagcd);
- ds_send_senddata.setColumn( 0, "sumclamdg",sumclamdg);
- ds_send_senddata.setColumn( 0, "sumprockindflag",sumprockindflag);
- ds_send_senddata.setColumn( 0, "sumioflag",sumioflag);
- var totalpage = opener.dgrd_rpt.textmatrix(opener.dgrd_rpt.row,opener.dgrd_rpt.colRef("col13")).replace(",","");
- }
- //page 설정
- ds_init_page.setColumn( 0, "totalpage",Math.ceil(totalpage_100));
- ds_init_page.setColumn( 0, "nowpage","1");
- //caption1.refresh();
- //caption2.refresh();
- // submit("TRSTC00600");
- var oParam = {};
- oParam.id = "TRSTC00600";
- oParam.service = "stscomapp.StsCom";
- oParam.method = "reqGetStsPtntList";
- oParam.inds = "req=ds_";
- oParam.outds = "ds_=ret";
- oParam.async = false;
- oParam.callback = "cf_TRSTC00600";
- tranf_submit(oParam);
- /*
- function cf_TRSTC00600(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- }
- function cf_TRSTC00600(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- arErrorCode.pop("TRSTC00600") > -1
- arErrorCode.pop("TRSTC00600") < 0
- */
- showgriddata(1);
- }
- include '../../.._com_commonweb_js_common.js'
- include '../../.._com_commonweb_js_dateHelper.js'
- include '../../.._com_commonweb_js_numericHelper.js'
- include '../../.._com_commonweb_js_stringHelper.js'
- include '../../.._com_commonweb_js_tfHelper.js'
- include '../../.._com_basiccodeweb_js_ZBC001.js'
- function showgriddata(page){
- var nodeList = instance1.selectNodes("ds_main_list_gridlist");
- model.destroy("ds_main_list2");
- var firstrow = (page-1)*100+1;
- var lastrow = page*100;
- datagrid1.nodeset="ds_main_list_gridlist[position() >= " + firstrow + " and position() <= " + parseInt(lastrow) + "]";
- //datagrid1.refresh();
- }
- function btn_nextpage_onclick(obj:Button, e:ClickEventInfo) {
- var totalpage = ds_init_page.getColumn(0, "totalpage");
- var nowpage = ds_init_page.getColumn(0, "nowpage");
- if (Number(nowpage) < Number(totalpage)) {
- var nextpage = Number(nowpage) + 1;
- //page 설정
- ds_init_page.setColumn( 0, "nowpage",nextpage);
- //caption1.refresh();
- showgriddata(nextpage);
- }
- }
- function button1_onclick(obj:Button, e:ClickEventInfo) {
- var totalpage = ds_init_page.getColumn(0, "totalpage");
- var nowpage = ds_init_page.getColumn(0, "nowpage");
- if (Number(nowpage) > 1) {
- var nextpage = Number(nowpage) - 1;
- //page 설정
- ds_init_page.setColumn( 0, "nowpage",nextpage);
- //caption1.refresh();
- showgriddata(nextpage);
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|