123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.4">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMZMI00501" position="absolute 0 0 1256 805" titletext="메시지 전체조회" onload="SMZMI00501_onload">
- <Layouts>
- <Layout>
- <Div id="grp_sea" position="absolute 0 25 1256 67" style="align:center top;" anchor="left top right" positiontype="position" class="div_SA">
- <Layouts>
- <Layout>
- <Static id="caption21" class="search_name" position="absolute 8 10 56 30" anchor="default" text="구분" onclick="grp_sea_caption21_onclick" positiontype="position"/>
- <Button id="btn_select" class="btn1" position="absolute 1188 10 1244 30" anchor="top right" text="조회" onclick="grp_sea_btn_select_onclick" positiontype="position"/>
- <Static id="caption00" text="메시지 타입" class="search_name" position="absolute 254 10 354 30" anchor="default"/>
- <Static id="caption01" text="검색어" class="search_name" position="absolute 514 10 575 30" anchor="default"/>
- <Edit id="ipt_value" taborder="1" class="input_search" position="absolute 575 10 716 30" lengthunit="utf8" anchor="default" imemode="hangul" onkeyup="grp_sea_ipt_value_onkeyup"/>
- <Combo id="cmb_stype" taborder="2" class="combo_s_essential" position="absolute 57 10 230 30" onitemchanged="grp_sea_cmb_bizabbr_onitemchanged" anchor="default" innerdataset="@ds_bizabbr" codecolumn="cdid" datacolumn="cdnm"/>
- <Combo id="cmb_srank" taborder="3" class="combo_s_essential" position="absolute 346 10 490 30" innerdataset="@ds_msgtype" codecolumn="cdid" datacolumn="cdnm" anchor="default" onitemchanged="grp_sea_cmb_srank_onitemchanged"/>
- <Static id="caption02" text="시작일" class="search_name" position="absolute 740 10 801 30" anchor="default"/>
- <Static id="caption03" text="종료일" class="search_name" position="absolute 925 10 986 30" anchor="default"/>
- <Calendar id="cp_fromdd" taborder="4" dateformat="yyyy-MM-dd" position="absolute 803 10 903 30"/>
- <Calendar id="cp_todd" taborder="5" dateformat="yyyy-MM-dd" position="absolute 987 10 1087 30"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption48" class="tit_2" position="absolute 0 77 125 97" anchor="default" positiontype="position" text="메시지 조회 목록"/>
- <Shape id="line20" class="line_1" position="absolute 0 70 1194 70" anchor="default" positiontype="position" linetype="horizontal"/>
- <Static id="caption6" text="Instant 메시지 관리" class="tit_1" position="absolute 0 0 150 25"/>
- <Static id="caption1" text="메시지 내용" class="tit_2" position="absolute 0 637 93 657" anchor="left bottom"/>
- <Grid id="grd_msglist" taborder="29" useinputpanel="false" position="absolute 0 97 1256 627" binddataset="ds_msglist" scrollbars="autovert" anchor="all" autosizingtype="none" cellsizingtype="both" autofittype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="63"/>
- <Column size="63"/>
- <Column size="93"/>
- <Column size="65"/>
- <Column size="64"/>
- <Column size="44"/>
- <Column size="397"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="122"/>
- <Column size="60"/>
- <Column size="69"/>
- <Column size="75"/>
- </Columns>
- <Rows>
- <Row size="22" band="head"/>
- <Row size="20"/>
- </Rows>
- <Band id="head">
- <Cell text="송신자명"/>
- <Cell col="1" text="송신자ID"/>
- <Cell col="2" text="송신자연락처"/>
- <Cell col="3" text="수신자명"/>
- <Cell col="4" text="수신자ID"/>
- <Cell col="5" text="타입"/>
- <Cell col="6" text="메시지내용" edittrimtype="left" autosizecol="default"/>
- <Cell col="7" text="환자ID"/>
- <Cell col="8" text="환자명"/>
- <Cell col="9" text="메시지 전송일"/>
- <Cell col="10" text="수신여부"/>
- <Cell col="11" text="송신자삭제"/>
- <Cell col="12" style="align:left;" text=" 수신자삭제"/>
- </Band>
- <Band id="body">
- <Cell edittype="none" text="bind:trsmrnm" editlengthunit="utf8"/>
- <Cell col="1" edittype="none" editfilter="none" text="bind:trsmrid" editacceptsenter="true" editlimitbymask="decimal" editlengthunit="utf8"/>
- <Cell col="2" displaytype="normal" edittype="none" editfilter="none" style="align:center;" text="bind:mpphonno" maskchar="_" edittrimtype="none" editlimitbymask="integer" editlengthunit="utf8" suppressalign="first" combodisplaynulltype="none" combodisplay="edit" calendardisplaynulltype="none" tooltiptype="none"/>
- <Cell col="3" text="bind:recvrnm"/>
- <Cell col="4" text="bind:recvrid"/>
- <Cell col="5" text="bind:msgrank"/>
- <Cell col="6" style="align:left middle;" text="bind:msgcnts" edittrimtype="none" editscrollbar="none" editdisplay="edit" editlengthunit="utf8" expandsize="0" suppressedit="false" autosizerow="none" autosizecol="none"/>
- <Cell col="7" text="bind:pid"/>
- <Cell col="8" text="bind:patnm"/>
- <Cell col="9" displaytype="date" text="bind:trsmreqdt" mask="yyyy-MM-dd HH:mm:ss" combodisplaynulltext=" " calendardisplaynulltext=" " calendardisplaynulltype="none"/>
- <Cell col="10" text="bind:recvcnfmyn"/>
- <Cell col="11" text="bind:trsmrdelyn"/>
- <Cell col="12" text="bind:recvrdelyn"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="bt_excelsave" taborder="45" text="엑셀저장" onlbuttonup=""btn_excsave_onlbuttonup"" class="btn2" position="absolute 1188 74 1256 94" anchor="top right" onclick="btn_excsave_onclick"/>
- <Static id="Static01" position="absolute 0 657 1256 805" class="sta_DA_box" anchor="left right bottom"/>
- <Static id="cap_msgcnts07" text="송신자 연락번호" class="cell_1" position="absolute 521 658 621 682" anchor="left bottom"/>
- <Static id="cap_msgcnts08" text="송신자명" class="cell_1" position="absolute 1 658 101 682" anchor="left bottom"/>
- <Static id="cap_msgcnts09" text="메시지 타입" class="cell_1" position="absolute 1 683 101 707" anchor="left bottom"/>
- <Static id="caption00" text="메시지 내용" onclick="caption19_onclick" class="cell_1" position="absolute 1 708 101 779" anchor="left bottom"/>
- <Static id="cap_msgcd00" text="수신자명" class="cell_1" position="absolute 781 658 881 682" anchor="left bottom"/>
- <Static id="caption02" text="수신자 삭제여부" class="cell_1" position="absolute 625 780 725 804" style="align:left middle;" anchor="left bottom"/>
- <Static id="caption03" text="메시지 전송일" onclick="caption10_onclick" class="cell_1" position="absolute 781 683 881 707" style="align:left middle;" anchor="left bottom"/>
- <Static id="caption05" text="메시지 수신 여부" class="cell_1" position="absolute 1 780 101 804" style="align:left middle;" anchor="left bottom"/>
- <Static id="caption07" text="송신자 삭제여부" class="cell_1" position="absolute 317 780 417 804" style="align:left middle;" anchor="left bottom"/>
- <Static id="cap_msgcnts10" text="환자명" class="cell_1" position="absolute 261 683 361 707" anchor="left bottom"/>
- <Static id="cap_msgcnts11" text="환자 ID" onclick="cap_msgcnts04_onclick" class="cell_1" position="absolute 521 683 621 707" anchor="left bottom"/>
- <Static id="cap_msgcnts12" text="송신자 ID" onclick="cap_msgcnts05_onclick" class="cell_1" position="absolute 261 658 361 682" anchor="left bottom"/>
- <Static id="cap_msgcnts13" text="수신자 ID" class="cell_1" position="absolute 985 658 1085 682" anchor="left bottom"/>
- <Edit id="ipt_trsmrnm00" taborder="46" readonly="true" lengthunit="utf8" class="input_default" position="absolute 104 660 258 680" style="selectcolor:white;align:center middle;" anchor="left bottom"/>
- <Edit id="ipt_msgtype00" taborder="47" readonly="true" lengthunit="utf8" class="input_default" position="absolute 104 685 258 705" style="selectcolor:white;align:center middle;" anchor="left bottom"/>
- <Edit id="ipt_mpphonno00" taborder="50" readonly="true" lengthunit="utf8" class="input_default" position="absolute 624 660 778 680" style="selectcolor:white;align:center middle;" anchor="left bottom"/>
- <Edit id="ipt_pid00" taborder="51" readonly="true" lengthunit="utf8" class="input_default" position="absolute 624 685 778 705" style="selectcolor:white;align:center middle;" anchor="left bottom"/>
- <Edit id="ipt_recvrnm00" taborder="52" readonly="true" lengthunit="utf8" class="input_default" position="absolute 884 660 982 680" style="selectcolor:white;align:center middle;" anchor="left bottom"/>
- <Edit id="ipt_recvrid00" taborder="54" readonly="true" lengthunit="utf8" class="input_default" position="absolute 1088 660 1252 680" style="selectcolor:white;align:center middle;" anchor="left right bottom"/>
- <TextArea id="tar_msgcnts00" taborder="55" readonly="true" class="input_default" position="absolute 104 710 1252 777" style="selectcolor:white;accessibility:disable all '' ''; :disabled {accessibility:disable all '' '';}" anchor="left right bottom"/>
- <Edit id="ipt_recvcnfmyn00" taborder="56" readonly="true" lengthunit="utf8" class="input_default" position="absolute 104 782 314 802" style="selectcolor:white;align:center middle;" anchor="left bottom"/>
- <Edit id="ipt_trsmrdelyn00" taborder="57" readonly="true" lengthunit="utf8" class="input_default" position="absolute 420 782 622 802" style="selectcolor:white;align:center middle;" anchor="left bottom"/>
- <Edit id="ipt_recvrdelyn00" taborder="58" readonly="true" lengthunit="utf8" class="input_default" position="absolute 728 782 1252 802" style="selectcolor:white;align:center middle;" anchor="left right bottom"/>
- <Edit id="ipt_trsmrid" taborder="59" readonly="true" lengthunit="utf8" class="input_default" position="absolute 364 660 518 680" anchor="left bottom" style="selectcolor:white;align:center middle;"/>
- <Edit id="ipt_patnm" taborder="60" readonly="true" lengthunit="utf8" class="input_default" position="absolute 364 685 518 705" anchor="left bottom" style="selectcolor:white;align:center middle;"/>
- <MaskEdit id="ipt_trsmreqdt" taborder="61" position="absolute 884 685 1252 705" class="input_default" type="string" mask="@@@@-@@-@@ @@:@@:@@" style="align:center middle;" displaynulltext=" " readonly="true" anchor="left right bottom"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_msgtype" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cdnm">전체</Col>
- <Col id="cdid">0</Col>
- </Row>
- <Row>
- <Col id="cdid">3</Col>
- <Col id="cdnm">일반</Col>
- </Row>
- <Row>
- <Col id="cdid">2</Col>
- <Col id="cdnm">보험</Col>
- </Row>
- <Row>
- <Col id="cdid">1</Col>
- <Col id="cdnm">응급</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_bizabbr" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cdid">all</Col>
- <Col id="cdnm">전체</Col>
- </Row>
- <Row>
- <Col id="cdid">trsmrnm</Col>
- <Col id="cdnm">송신자명</Col>
- </Row>
- <Row>
- <Col id="cdid">trsmrid</Col>
- <Col id="cdnm">송신자ID</Col>
- </Row>
- <Row>
- <Col id="cdid">recvrnm</Col>
- <Col id="cdnm">수신자명</Col>
- </Row>
- <Row>
- <Col id="cdid">recvrid</Col>
- <Col id="cdnm">수신자ID</Col>
- </Row>
- <Row>
- <Col id="cdid">pnm</Col>
- <Col id="cdnm">환자명</Col>
- </Row>
- <Row>
- <Col id="cdid">pid</Col>
- <Col id="cdnm">환자ID</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_msglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="trsmrnm" type="STRING" size="256"/>
- <Column id="trsmrid" type="STRING" size="256"/>
- <Column id="mpphonno" type="STRING" size="256"/>
- <Column id="recvrnm" type="STRING" size="256"/>
- <Column id="recvrid" type="STRING" size="256"/>
- <Column id="msgrank" type="STRING" size="256"/>
- <Column id="msgcnts" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="patnm" type="STRING" size="256"/>
- <Column id="trsmreqdt" type="STRING" size="256"/>
- <Column id="recvcnfmyn" type="STRING" size="256"/>
- <Column id="trsmrdelyn" type="STRING" size="256"/>
- <Column id="recvrdelyn" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item13" compid="ipt_trsmrnm00" propid="value" datasetid="ds_msglist" columnid="trsmrnm"/>
- <BindItem id="item14" compid="ipt_msgtype00" propid="value" datasetid="ds_msglist" columnid="msgrank"/>
- <BindItem id="item17" compid="ipt_mpphonno00" propid="value" datasetid="ds_msglist" columnid="mpphonno"/>
- <BindItem id="item18" compid="ipt_pid00" propid="value" datasetid="ds_msglist" columnid="pid"/>
- <BindItem id="item19" compid="ipt_recvrnm00" propid="value" datasetid="ds_msglist" columnid="recvrnm"/>
- <BindItem id="item21" compid="ipt_recvrid00" propid="value" datasetid="ds_msglist" columnid="recvrid"/>
- <BindItem id="item22" compid="tar_msgcnts00" propid="value" datasetid="ds_msglist" columnid="msgcnts"/>
- <BindItem id="item23" compid="ipt_recvcnfmyn00" propid="value" datasetid="ds_msglist" columnid="recvcnfmyn"/>
- <BindItem id="item24" compid="ipt_trsmrdelyn00" propid="value" datasetid="ds_msglist" columnid="trsmrdelyn"/>
- <BindItem id="item25" compid="ipt_recvrdelyn00" propid="value" datasetid="ds_msglist" columnid="recvrdelyn"/>
- <BindItem id="item0" compid="ipt_trsmrid" propid="value" datasetid="ds_msglist" columnid="trsmrid"/>
- <BindItem id="item1" compid="ipt_patnm" propid="value" datasetid="ds_msglist" columnid="patnm"/>
- <BindItem id="item2" compid="ipt_trsmreqdt" propid="value" datasetid="ds_msglist" columnid="trsmreqdt"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/************************************************************************************************
- * 파 일 명 : SMZMI00501_메시지전체조회.xfdl
- * 작 성 자 : 오은비
- * 작 성 일 : 2014.03.06
- * 설 명 : 메시지전체조회
- * 수 정 자 :
- * 수정이력 :
- ************************************************************************************************/
- include "com_commonxp::comm_main.xjs"
- /******************************* Form Variable *************************************************/
- /************************************************************************************************
- ******************************** Form Event ****************************************************
- ************************************************************************************************/
- function grp_sea_btn_select_onclick(obj:Button, e:ClickEventInfo)
- {
- lf_Search();
- }
- function grp_sea_cmb_bizabbr_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- grp_sea.ipt_value.setFocus();
- grp_sea.ipt_value.setSelect();
- }
- function grp_sea_cmb_srank_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- grp_sea.ipt_value.setFocus();
- grp_sea.ipt_value.setSelect();
- }
- function grp_sea_ipt_value_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if (e.keycode=='13') {
- lf_Search();
- }
- }
- function SMZMI00501_onload(obj:Form, e:LoadEventInfo)
- {
- frmf_initForm(obj);
-
- lf_init();
- }
- /************************************************************************************************
- Form Function
- ************************************************************************************************/
- function lf_init()
- {
- /* 버튼 권한 설정
- R : Readonly
- X : Read Write
- P : Print */
- grp_sea.btn_select.enable = frmf_checkAuth("X");
- bt_excelsave.enable = frmf_checkAuth("X");
-
- grp_sea.cmb_stype.index = 0;
- grp_sea.cmb_srank.index = 0;
-
- //현재날짜설정
- grp_sea.cp_todd.value = utlf_getCurrentDate();
- grp_sea.cp_fromdd.value = utlf_getRemoveFormatter(utlf_date2Str(utlf_getCurrentDate().toDate("YYYYMMDD").getAddDate(-1)));
- }
- /********************************************************************************
- * 설 명 : 조회 함수.
- * argument :
- ********************************************************************************/
- function lf_Search()
- {
-
- if(!lf_CheckDate()) return;
- var sInDsName = dsf_createDsRow("ds_search"
- ,[{col: "stype" , val: grp_sea.cmb_stype.value }
- , {col: "value" , val: grp_sea.ipt_value.value }
- , {col: "fromdd", val: grp_sea.cp_fromdd.value }
- , {col: "todd" , val: grp_sea.cp_todd.value }
- , {col: "srank" , val: grp_sea.cmb_srank.value }]);
-
- ds_msglist.clearData();
- tranf_submit({
- id: "TRZMI00106"
- , service: "instantmsgapp.InstantMsg"
- , method: "reqGetWholeMsg"
- , inds : "req="+sInDsName
- , outds: "ds_msglist=msglist"
- , async: true
- });
- }
- /********************************************************************************
- * 설 명 : 날짜체크함수
- * argument :
- ********************************************************************************/
- function lf_CheckDate()
- {
- // todd보다 작은값
- if (grp_sea.cp_todd.value < grp_sea.cp_fromdd.value) {
- alert("시작일을 종료일보다 크게 입력하였습니다. ");
- return false;
- }
- return true;
- }
-
- function btn_excsave_onclick(obj:Button, e:ClickEventInfo)
- {
-
- // 엑셀저장(Grid명,파일명,탭명)
- grdf_exportExcel(grd_msglist, "메시지전체조회" , "메시지전체조회");
- }
- ]]></Script>
- </Form>
- </FDL>
|