123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPLVJ90400" position="absolute 0 0 1256 805" titletext="Untitle" onload="SPLVJ90400_onload" oninit="SPLVJ90400_oninit">
- <Layouts>
- <Layout>
- <Static id="Static01" position="absolute 0 756 1256 782" anchor="left top right"/>
- <Static id="Static07" position="absolute 0 641 564 667"/>
- <Static id="caption5" text="월별 현황" class="tit_2" position="absolute 0 3 134 23" style="align:left top;" positiontype="position"/>
- <Grid id="datagrid2" taborder="2" useinputpanel="false" position="absolute 0 697 1256 746" autofittype="col" anchor="left top right" binddataset="ds_grid_grd_ylist" positiontype="position" class="CSS::lis.css">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="1월"/>
- <Cell col="1" text="2월"/>
- <Cell col="2" text="3월"/>
- <Cell col="3" text="4월"/>
- <Cell col="4" text="5월"/>
- <Cell col="5" text="6월"/>
- <Cell col="6" text="7월"/>
- <Cell col="7" text="8월"/>
- <Cell col="8" text="9월"/>
- <Cell col="9" text="10월"/>
- <Cell col="10" text="11월"/>
- <Cell col="11" text="12월"/>
- </Band>
- <Band id="body">
- <Cell expr="expr:m1 == null ? '0':m1"/>
- <Cell col="1" expr="expr:m2 == null ? '0':m2"/>
- <Cell col="2" expr="expr:m3 == null ? '0':m3"/>
- <Cell col="3" expr="expr:m4 == null ? '0':m4"/>
- <Cell col="4" expr="expr:m5 == null ? '0':m5"/>
- <Cell col="5" expr="expr:m6 == null ? '0':m6"/>
- <Cell col="6" expr="expr:m7 == null ? '0':m7"/>
- <Cell col="7" expr="expr:m8 == null ? '0':m8"/>
- <Cell col="8" expr="expr:m9 == null ? '0':m9"/>
- <Cell col="9" expr="expr:m10 == null ? '0':m10"/>
- <Cell col="10" expr="expr:m11 == null ? '0':m11"/>
- <Cell col="11" expr="expr:m12 == null ? '0':m12"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Edit id="output2" taborder="3" readonly="true" position="absolute 182 759 282 779" style="align:right middle;" positiontype="position"/>
- <Static id="caption2" text="일별 종합검증 환자 리스트" class="tit_2" position="absolute 574 3 767 23" style="align:left top;" positiontype="position"/>
- <Static id="caption7" text="월별 합계" onclick="group1_caption7_onclick" class="cell_1" position="absolute 1 642 179 666" positiontype="position"/>
- <Edit id="output4" taborder="4" readonly="true" position="absolute 183 644 535 664" style="align:right middle;" positiontype="position"/>
- <Static id="caption4" text="명" position="absolute 542 645 562 664" style="align:left middle;" positiontype="position"/>
- <Static id="caption6" text="연별 현황" class="tit_2" position="absolute 0 677 134 697" style="align:left top;" positiontype="position"/>
- <Static id="caption1" text="년 검증인원 " class="cell_1" position="absolute 1 757 179 781" style="align:right middle;" positiontype="position" onclick="caption1_onclick"/>
- <Edit id="output1" taborder="6" readonly="true" position="absolute 4 759 100 779" style="align:right middle;" positiontype="position"/>
- <Static id="caption8" text="명" position="absolute 288 759 308 779" style="align:left middle;" positiontype="position"/>
- <Button id="button31" taborder="9" text="월별집계" class="btn4" visible="false" position="absolute 1115 785 1197 805" anchor="right bottom" positiontype="position" onclick="button31_onclick"/>
- <Button id="button32" taborder="10" text="취소" class="btn4" visible="false" position="absolute 1200 785 1256 805" anchor="right bottom" positiontype="position"/>
- <Grid id="mlist" class="CSS::lis.css" taborder="11" useinputpanel="false" position="absolute 0 82 564 631" onclick="mlist_onclick" autofittype="col" binddataset="ds_grid_mlist" positiontype="position" oncellclick="mlist_oncellclick" selecttype="cell">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- </Columns>
- <Rows>
- <Row size="22" band="head"/>
- <Row size="20"/>
- <Row size="50"/>
- </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="토"/>
- </Band>
- <Band id="body">
- <Cell style="align:center middle;" class="color_sun" text="bind:sun"/>
- <Cell col="1" style="align:center middle;" text="bind:mon"/>
- <Cell col="2" style="align:center middle;" text="bind:tue"/>
- <Cell col="3" style="align:center middle;" text="bind:wed"/>
- <Cell col="4" style="align:center middle;" text="bind:thu"/>
- <Cell col="5" style="align:center middle;" text="bind:fri"/>
- <Cell col="6" style="align:center middle;" class="color_sat" text="bind:sat"/>
- <Cell row="1" style="align:center middle;" text="bind:sun_memo"/>
- <Cell row="1" col="1" style="align:center middle;" text="bind:mon_memo"/>
- <Cell row="1" col="2" style="align:center middle;" text="bind:tue_memo"/>
- <Cell row="1" col="3" style="align:center middle;" text="bind:wed_memo"/>
- <Cell row="1" col="4" style="align:center middle;" text="bind:thu_memo"/>
- <Cell row="1" col="5" style="align:center middle;" text="bind:fri_memo"/>
- <Cell row="1" col="6" style="align:center middle;" text="bind:sat_memo"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="button117" taborder="12" text="1" class="icon_month" position="absolute 111 52 138 79" positiontype="position" onclick="button117_onclick"/>
- <Button id="button118" taborder="13" text="2" class="icon_month" position="absolute 140 52 167 79" positiontype="position" onclick="button118_onclick"/>
- <Button id="button119" taborder="14" text="3" class="icon_month" position="absolute 169 52 196 79" positiontype="position" onclick="button119_onclick"/>
- <Button id="button120" taborder="15" text="4" class="icon_month" position="absolute 198 52 225 79" positiontype="position" onclick="button120_onclick"/>
- <Button id="button121" taborder="16" text="5" class="icon_month" position="absolute 227 52 254 79" positiontype="position" onclick="button121_onclick"/>
- <Button id="button122" taborder="17" text="6" class="icon_month" position="absolute 256 52 283 79" positiontype="position" onclick="button122_onclick"/>
- <Button id="button124" taborder="19" text="8" class="icon_month" position="absolute 314 52 341 79" positiontype="position" onclick="button124_onclick"/>
- <Button id="button125" taborder="20" text="9" class="icon_month" position="absolute 343 52 370 79" positiontype="position" onclick="button125_onclick"/>
- <Button id="button126" taborder="21" text="10" class="icon_month" position="absolute 372 52 399 79" positiontype="position" onclick="button126_onclick"/>
- <Button id="button127" taborder="22" text="11" class="icon_month" position="absolute 401 52 428 79" positiontype="position" onclick="button127_onclick"/>
- <Button id="button128" taborder="23" text="12" class="icon_month" position="absolute 430 52 457 79" positiontype="position" onclick="button128_onclick"/>
- <Button id="button58" taborder="24" onclick="button58_onclick" class="icon_next_month" position="absolute 350 26 366 42" text="" positiontype="position"/>
- <Button id="button56" taborder="25" onclick="button56_onclick" class="icon_next_year" position="absolute 369 26 385 42" text="" positiontype="position"/>
- <Static id="caption25" text="월" class="calendar_output" position="absolute 332 24 352 44" positiontype="position" style="color:black;"/>
- <Edit id="opt_month" taborder="26" readonly="true" class="calendar_output" position="absolute 301 24 326 44" positiontype="position" style="align:center middle;" maxlength="10"/>
- <Static id="caption24" text="년" class="calendar_output" position="absolute 283 24 303 44" positiontype="position" style="color:black;"/>
- <Edit id="opt_year" taborder="27" readonly="true" class="calendar_output" position="absolute 236 24 276 44" positiontype="position" style="align:center middle;"/>
- <Button id="button57" taborder="28" onclick="button57_onclick" class="icon_pre_month" position="absolute 212 26 228 42" text="" positiontype="position"/>
- <Button id="button55" taborder="29" class="icon_pre_year" position="absolute 193 26 209 42" text="" positiontype="position" onclick="button55_onclick"/>
- <Static id="Static00" position="absolute 574 23 1256 49" anchor="left top right"/>
- <Edit id="output3" taborder="30" readonly="true" position="absolute 674 26 1252 46" style="align:center middle;" positiontype="position" anchor="left top right"/>
- <Static id="caption3" text="조회일자" class="cell_1" position="absolute 575 24 670 48" style="align:left middle;" positiontype="position" onclick="caption3_onclick"/>
- <Grid id="datagrid1" taborder="31" useinputpanel="false" position="absolute 574 59 1256 667" autofittype="col" anchor="left top right" binddataset="ds_grid_grd_patlist" positiontype="position" class="CSS::lis.css">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="30"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="142"/>
- </Columns>
- <Rows>
- <Row size="22" band="head"/>
- <Row size="20"/>
- </Rows>
- <Band id="head">
- <Cell text="No."/>
- <Cell col="1" text="등록번호"/>
- <Cell col="2" text="환자명"/>
- <Cell col="3" text="진료과/병실"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow+1"/>
- <Cell col="1" text="bind:pid"/>
- <Cell col="2" text="bind:patnm"/>
- <Cell col="3" text="bind:wardroom"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="button123" taborder="32" text="7" class="icon_month" position="absolute 285 52 312 79" onclick="button123_onclick"/>
- <Combo id="gbn_doclist" taborder="33" innerdataset="@ds_init_docnm" codecolumn="id" datacolumn="nm" onitemchanged="grp_sea_gbn_doclist_onitemchanged" class="combo_search" position="absolute 469 24 564 44" style="align:left middle;"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_grid_datagrid2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="m1" type="STRING"/>
- <Column id="m2" type="STRING"/>
- <Column id="m3" type="STRING"/>
- <Column id="m4" type="STRING"/>
- <Column id="m5" type="STRING"/>
- <Column id="m6" type="STRING"/>
- <Column id="m7" type="STRING"/>
- <Column id="m8" type="STRING"/>
- <Column id="m9" type="STRING"/>
- <Column id="m10" type="STRING"/>
- <Column id="m11" type="STRING"/>
- <Column id="m12" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grid_datagrid1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING"/>
- <Column id="patnm" type="STRING"/>
- <Column id="wardroom" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grid_mlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="sun" type="STRING"/>
- <Column id="mon" type="STRING"/>
- <Column id="tue" type="STRING"/>
- <Column id="wed" type="STRING"/>
- <Column id="thu" type="STRING"/>
- <Column id="fri" type="STRING"/>
- <Column id="sat" type="STRING"/>
- <Column id="sun_memo" type="STRING"/>
- <Column id="mon_memo" type="STRING"/>
- <Column id="tue_memo" type="STRING"/>
- <Column id="wed_memo" type="STRING"/>
- <Column id="thu_memo" type="STRING"/>
- <Column id="fri_memo" type="STRING"/>
- <Column id="sat_memo" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grid_grd_ylist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="m1" type="STRING"/>
- <Column id="m2" type="STRING"/>
- <Column id="m3" type="STRING"/>
- <Column id="m4" type="STRING"/>
- <Column id="m5" type="STRING"/>
- <Column id="m6" type="STRING"/>
- <Column id="m7" type="STRING"/>
- <Column id="m8" type="STRING"/>
- <Column id="m9" type="STRING"/>
- <Column id="m10" type="STRING"/>
- <Column id="m11" type="STRING"/>
- <Column id="m12" type="STRING"/>
- <Column id="yearsum" type="STRING" size="256"/>
- <Column id="monthsum" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grid_grd_patlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING"/>
- <Column id="patnm" type="STRING"/>
- <Column id="wardroom" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_docnm" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="id" type="STRING" size="256"/>
- <Column id="nm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="output2" propid="value" datasetid="ds_grid_grd_ylist" columnid="yearsum"/>
- </Bind>
- <Style url="CSS::lis.css"/>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-11-09
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-11-09 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
-
- include "com_commonxp::comm_main.xjs";
- function SPLVJ90400_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); // 화면공통
- }
-
- function SPLVJ90400_onload(obj:Form, e:LoadEventInfo)
- {
- lf_nowdd();
- lf_getmonthdata(opt_month.value);
- }
- function lf_nowdd() {
- opt_year.value = utlf_getCurrentDate().substring(0,4);
- opt_month.value = utlf_getCurrentDate().substring(4,6);
- lf_getmonthdata(opt_month.value);
- }
-
- function lf_chkyear(num) {
- var nn = opt_year.value;
- var mm = opt_month.value;
-
-
- var ns = parseInt(nn);
- var ms = parseInt(mm);
- if(num == 1){
- ns = ns-1;
- }else if(num == 2){
- ns = ns+1;
- }else if(num == 3){
- ms = ms - 1;
- if(ms == 0){
- ms = 12;
- ns = ns -1;
- }
- }else if(num == 4){
- ms = ms + 1;
- if(ms == 13){
- ms = 1;
- ns = ns + 1;
- }
- }
-
- if(ms >0 && ms<10 ){
- ms = "0" + ms;
- }
-
- output1.value = ns;
- opt_year.value = ns;
- opt_month.value = ms;
-
- lf_getmonthdata(ms);
-
- }
- function lf_getmonthdata(mm) {
- output1.value = opt_year.value;
- opt_month.value = mm;
-
- var sInDsName = dsf_createDsRow("ds_temp_search"
- , [{col: "year", val: opt_year.value}
- , {col: "month", val: opt_month.value}]);
-
- var oParam = {};
- oParam.id = "TRLVJ90401";
- oParam.service = "verificationbasemngtapp.CmtCdMngt";
- oParam.method = "reqGetMonthList";
- oParam.inds = "cond="+sInDsName;
- oParam.outds = "ds_grid_mlist=getMonthList";
- oParam.async = false;
- tranf_submit(oParam);
- var sInDsName2 = dsf_createDsRow("ds_temp_search"
- , [{col: "year", val: opt_year.value}
- , {col: "month", val: opt_month.value}]);
-
- oParam = {};
- oParam.id = "TRLVJ90403";
- oParam.service = "verificationbasemngtapp.CmtCdMngt";
- oParam.method = "reqGetInfoList";
- oParam.inds = "cond="+sInDsName2;
- oParam.outds = "ds_grid_grd_ylist=getInfoList";
- oParam.async = false;
- tranf_submit(oParam);
-
- var monthsum = ds_grid_grd_ylist.getColumn(0,"monthsum");
- if(utlf_isNull(monthsum)) monthsum = "0";
- output4.value = monthsum;
-
- }
-
- function lf_getclickday(col) {
- var row = ds_grid_mlist.rowposition;
- var date = "";
- if(col == 0){
- date = ds_grid_mlist.getColumn(row,"sundd");
- }else if(col == 1){
- date = ds_grid_mlist.getColumn(row,"mondd");
- }else if(col == 2){
- date = ds_grid_mlist.getColumn(row,"tuedd");
- }else if(col == 3){
- date = ds_grid_mlist.getColumn(row,"weddd");
- }else if(col == 4){
- date = ds_grid_mlist.getColumn(row,"thudd");
- }else if(col == 5){
- date = ds_grid_mlist.getColumn(row,"fridd");
- }else if(col == 6){
- date = ds_grid_mlist.getColumn(row,"satdd");
- }
- var dateyy = date.substring(0,4);
- var datemm = date.substring(4,6);
- var datedd = date.substring(6,8);
-
- output3.value = dateyy + "년 " + datemm + "월 " + datedd + "일" ;
- var sInDsName = dsf_createDsRow("ds_temp_search"
- , [{col: "yymmdd", val: date}
- , {col: "userid", val: gbn_doclist.value}]);
- var oParam = {};
- oParam.id = "TRLVJ90402";
- oParam.service = "verificationbasemngtapp.CmtCdMngt";
- oParam.method = "reqGetPatList";
- oParam.inds = "cond="+sInDsName;
- oParam.outds = "ds_grid_grd_patlist=getPatList";
- oParam.async = false;
- tranf_submit(oParam);
- }
- // 1월
- function button117_onclick(obj:Button, e:ClickEventInfo)
- {
- lf_getmonthdata("01");
- }
- // 2월
- function button118_onclick(obj:Button, e:ClickEventInfo)
- {
- lf_getmonthdata("02");
- }
- // 3월
- function button119_onclick(obj:Button, e:ClickEventInfo)
- {
- lf_getmonthdata("03");
- }
- // 4월
- function button120_onclick(obj:Button, e:ClickEventInfo)
- {
- lf_getmonthdata("04");
- }
- // 5월
- function button121_onclick(obj:Button, e:ClickEventInfo)
- {
- lf_getmonthdata("05");
- }
- // 6월
- function button122_onclick(obj:Button, e:ClickEventInfo)
- {
- lf_getmonthdata("06");
- }
- // 7월
- function button123_onclick(obj:Button, e:ClickEventInfo)
- {
- lf_getmonthdata("07");
- }
- // 8월
- function button124_onclick(obj:Button, e:ClickEventInfo)
- {
- lf_getmonthdata("08");
- }
- // 9월
- function button125_onclick(obj:Button, e:ClickEventInfo)
- {
- lf_getmonthdata("09");
- }
- // 10월
- function button126_onclick(obj:Button, e:ClickEventInfo)
- {
- lf_getmonthdata("10");
- }
- // 11월
- function button127_onclick(obj:Button, e:ClickEventInfo)
- {
- lf_getmonthdata("11");
- }
- // 12월
- function button128_onclick(obj:Button, e:ClickEventInfo)
- {
- lf_getmonthdata("12");
- }
- // <<
- function button55_onclick(obj:Button, e:ClickEventInfo)
- {
- lf_chkyear(1);
- }
- // >>
- function button56_onclick(obj:Button, e:ClickEventInfo)
- {
- lf_chkyear(2);
- }
- // <
- function button57_onclick(obj:Button, e:ClickEventInfo)
- {
- lf_chkyear(3);
- }
- // >
- function button58_onclick(obj:Button, e:ClickEventInfo)
- {
- lf_chkyear(4);
- }
- // 월별현황 클릭 -> 일별 종합검증 환자리스트 조회
- function mlist_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- lf_getclickday(e.col);
- }
- function grp_sea_gbn_doclist_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- lf_getmonthdata(opt_month.value);
- }
- function button31_onclick(obj:Button, e:ClickEventInfo)
- {
-
- }
- function caption1_onclick(obj:Static, e:ClickEventInfo)
- {
-
- }
- ]]></Script>
- </Form>
- </FDL>
|