123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544 |
- <?xml version="1.0" encoding="utf-8" standalone="no"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMPMI06200" position="absolute 0 0 1280 930" titletext="내원외국인환자관리" onload="SMPMI06200_onload" ontimer="SMPMI06200_ontimer">
- <Layouts>
- <Layout width="1280" height="930">
- <Grid id="grd_forepatlist" binddataset="ds_forepatlist" position="absolute 0 90 1256 901" style="align:center;font:굴림,9,bold;" anchor="all" cellsizingtype="col" autofittype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="32"/>
- <Column size="88"/>
- <Column size="130"/>
- <Column size="150"/>
- <Column size="232"/>
- <Column size="224"/>
- <Column size="76"/>
- <Column size="76"/>
- <Column size="100"/>
- <Column size="70"/>
- <Column size="150"/>
- </Columns>
- <Rows>
- <Row size="39" band="head"/>
- <Row size="100"/>
- </Rows>
- <Band id="head">
- <Cell text="SMS"/>
- <Cell col="1" style="font:arial,20;" text="국적"/>
- <Cell col="2" style="font:arial,20;" text="등록번호"/>
- <Cell col="3" style="font:arial,20;" text="성명"/>
- <Cell col="4" style="font:arial,20;" text="연락처"/>
- <Cell col="5" style="font:arial,20;" text="진료과"/>
- <Cell col="6" style="font:arial,20;" text="구분"/>
- <Cell col="7" style="font:arial,20;" text="상태"/>
- <Cell col="8" style="font:arial,20;" text="연락처"/>
- <Cell col="9" colspan="2" style="font:arial,20;" text="보험유형" taborder="undefined"/>
- </Band>
- <Band id="body">
- <Cell displaytype="checkbox" edittype="checkbox" text="bind:smssendyn" tooltiptext="SMS전송대상"/>
- <Cell col="1" style="font:굴림,20;" text="bind:natinm" wordwrap="word"/>
- <Cell col="2" style="background:EXPR(fSetPidColor(currow));background2:EXPR(fSetPidColor(currow));font:굴림,20;selectbackground:EXPR(fSetPidColor(currow));" text="bind:pid"/>
- <Cell col="3" style="align:center middle;padding:0 0 0 5;font:굴림,20;" text="bind:hngnm" wordwrap="word" autosizecol="default"/>
- <Cell col="4" style="font:굴림,20;" text="bind:mpphontel" wordwrap="word"/>
- <Cell col="5" style="align:left middle;padding:0 0 0 5;font:굴림,20;" text="bind:orddeptnm"/>
- <Cell col="6" style="font:굴림,20;" text="bind:ordflag"/>
- <Cell col="7" style="align:center middle;font:굴림,20;" text="bind:status"/>
- <Cell col="8" style="align:center middle;font:굴림,20;" text="bind:cntctel"/>
- <Cell col="9" displaytype="combo" edittype="combo" style="align:left;padding:0 0 0 5;font:굴림,20;" text="bind:insukind" wordwrap="word" combodataset="ds_init_insukind" combocodecol="cd" combodatacol="nm" tooltiptype="bottom,right" tooltiptext="bind:insukind"/>
- <Cell col="10" displaytype="combo" edittype="combo" style="align:center;background:EXPR(fSetSuppkindColor(currow));background2:EXPR(fSetSuppkindColor(currow));font:굴림,20;selectbackground:EXPR(fSetSuppkindColor(currow));" text="bind:suppkind" wordwrap="word" combodataset="ds_init_suppkind" combocodecol="cd" combodatacol="nm" tooltiptype="bottom,right" tooltiptext="bind:suppkind"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Div id="group_sms" taborder="8" text="Div00" position="absolute 524 489 1256 901" style="background:white;border:1 none #808080ff ;" visible="false" anchor="right bottom">
- <Layouts>
- <Layout width="733" height="265">
- <Shape id="Shape01" position="absolute 0 0 729 409" style="strokepen:1 none #9ebed4ff;background:#ffe4c454;border:1 solid #ff8c0057 ;" anchor="default"/>
- <Grid id="grd_smslist" taborder="0" useinputpanel="false" position="absolute 8 30 721 401" anchor="default" binddataset="ds_smsresult" cellsizingtype="both">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="21" band="left"/>
- <Column size="80"/>
- <Column size="110"/>
- <Column size="279"/>
- <Column size="140"/>
- <Column size="80"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="40"/>
- </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="전송상태"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="EXPR(currow + 1)"/>
- <Cell col="1" text="bind:recvrnm" autosizerow="default"/>
- <Cell col="2" text="bind:recvrtelno" autosizerow="default"/>
- <Cell col="3" style="align:left middle;" text="bind:msgcnts" wordwrap="word" autosizerow="default"/>
- <Cell col="4" displaytype="date" text="bind:fstrgstdt" mask="yyyy-MM-dd HH:mm" autosizerow="default"/>
- <Cell col="5" displaytype="combo" style="align:center;" text="bind:msgstate" combodataset="ds_msgstate" combocodecol="cdid" combodatacol="cdnm" autosizerow="default"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="Static00" text="SMS 전송내역" position="absolute 8 7 134 27" onclick="Div00_Static00_onclick" anchor="default" class="tit_2"/>
- <Static id="Static01" text="전송일자" position="absolute 407 7 474 27" anchor="default" class="search_name"/>
- <Button id="Button00" taborder="1" text="조회" position="absolute 588 7 648 27" class="btn1" anchor="default" onclick="group_sms_Button00_onclick"/>
- <Calendar id="Calendar00" taborder="3" position="absolute 479 7 579 27" anchor="default"/>
- <Button id="Button01" taborder="4" text="excel" onclick="group_sms_Button01_onclick" class="btn7" position="absolute 653 7 714 27"/>
- <Static id="Static02" text="전송자ID" position="absolute 271 7 339 27" class="search_name"/>
- <Edit id="Edit00" taborder="5" position="absolute 339 7 391 27"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption6" class="tit_1" position="absolute 0 0 200 25" style="" text="내원외국인환자관리" onclick="caption6_onclick" anchor="default"/>
- <Shape id="roundrect1" anchor="default" class="roundrect_search" type="roundrectangle" position="absolute 0 26 1256 61" style="border: solid #ffd799 #ffd799;background:#fffbf2 ;"/>
- <Shape id="line13" class="line_4" linetype="vertical" position="absolute 1180 33 1183 55" style="border: solid #ffe4bb #ffe4bb;" anchor="default"/>
- <Static id="caption39" class="search_name" position="absolute 8 35 120 52" style="" text="진료일자" onclick="caption39_onclick" anchor="default"/>
- <Button id="btn_search" class="btn1" taborder="3" position="absolute 1191 33 1247 55" style="align:center;" text="조회" onclick="btn_search_onclick" anchor="default"/>
- <Calendar id="input1" taborder="1" position="absolute 90 34 175 53" style="" anchor="default"/>
- <CheckBox id="CheckBox00" taborder="5" text="자동조회" position="absolute 1094 34 1171 54" anchor="default" onchanged="CheckBox00_onchanged" value="true" onclick="CheckBox00_onclick"/>
- <Static id="caption00" text="진료완료 / 퇴원포함" onclick="caption39_onclick" class="search_name" position="absolute 235 35 389 52" anchor="default"/>
- <CheckBox id="CheckBox01" taborder="6" position="absolute 380 34 404 54" onclick="CheckBox01_onclick" anchor="default"/>
- <Static id="caption2" class="tit_2" position="absolute 0 67 195 84" style="" text="내원외국인환자리스트" anchor="default" onclick="caption2_onclick"/>
- <Shape id="line1" class="line_10" linetype="horizontal" position="absolute 0 86 1256 90" anchor="left top right"/>
- <Button id="button2" class="btn7" position="absolute 1186 65 1251 84" style="" text="excel" anchor="top right" onclick="button2_onclick"/>
- <Static id="caption01" text="최근갱신 : " position="absolute 1026 69 1088 82" onclick="caption00_onclick" anchor="top right"/>
- <Static id="cap_lastupdate" text="-" onclick="caption00_onclick" position="absolute 1090 69 1170 82" anchor="top right"/>
- <Button id="btn_sms" taborder="1" text="SMS전송" position="absolute 1050 906 1139 926" class="btn3" onclick="btn_sms_onclick" anchor="right bottom"/>
- <Static id="caption02" text="MOU적용 환자 (S1, S2, S3, S4)" onclick="caption00_onclick" position="absolute 38 914 260 927" anchor="left bottom"/>
- <Shape id="Shape00" position="absolute 11 910 28 927" style="strokepen:16 solid #fa50c8ff;border:1 solid black ;" anchor="left bottom"/>
- <Static id="caption03" text="내원 외국인 고객만족도 설문용 SMS 문구" onclick="caption00_onclick" position="absolute 808 910 1043 923" anchor="right bottom"/>
- <TextArea id="TextArea00" taborder="7" position="absolute 668 744 1254 899" visible="false" style="background:#dcdcdcff URL('theme://images/bg_edit_N.png') stretch 5,5;" anchor="right bottom"/>
- <Button id="Button00" taborder="9" text="전송결과확인" position="absolute 1142 906 1256 926" class="btn4" onclick="Button00_onclick" anchor="right bottom"/>
- <CheckBox id="CheckBox02" taborder="10" text="비식별조회" value="false" position="absolute 992 34 1083 54"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_forepatlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="smssendyn" type="STRING" size="256"/>
- <Column id="ordflag" type="STRING" size="256"/>
- <Column id="natinm" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="orddd" type="STRING" size="256"/>
- <Column id="orddeptnm" type="STRING" size="256"/>
- <Column id="orddrnm" type="STRING" size="256"/>
- <Column id="insukind" type="STRING" size="256"/>
- <Column id="suppkind" type="STRING" size="256"/>
- <Column id="mpphontel" type="STRING" size="256"/>
- <Column id="status" type="STRING" size="256"/>
- <Column id="cntctel" type="STRING" size="256"/>
- <Column id="fsexamflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="smssendyn"/>
- <Col id="ordflag"/>
- <Col id="natinm"/>
- <Col id="pid"/>
- <Col id="hngnm"/>
- <Col id="orddd"/>
- <Col id="orddeptnm"/>
- <Col id="orddrnm"/>
- <Col id="insukind"/>
- <Col id="suppkind"/>
- <Col id="mpphontel"/>
- <Col id="cntctel"/>
- <Col id="fsexamflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="orddd" type="STRING" size="256"/>
- <Column id="autorefresh" type="STRING" size="256"/>
- <Column id="endyn" type="STRING" size="256"/>
- <Column id="fstrgstdt" type="STRING" size="30" value="256"/>
- <Column id="fstrgstdt_end" type="STRING" size="30" value="256"/>
- <Column id="fstrgstrid" type="STRING" size="30" value="256"/>
- <Column id="bizabbr" type="STRING" size="30" value=""/>
- <Column id="msgstate" type="STRING" size="30" value=""/>
- <Column id="recvrtelno" type="STRING" size="30" value=""/>
- <Column id="recvrnm" type="STRING" size="30" value=""/>
- <Column id="stype" type="STRING" size="30" value=""/>
- <Column id="unknown" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="orddd"/>
- <Col id="autorefresh"/>
- <Col id="endyn"/>
- <Col id="fstrgstdt"/>
- <Col id="fstrgstdt_end"/>
- <Col id="fstrgstrid"/>
- <Col id="bizabbr"/>
- <Col id="msgstate"/>
- <Col id="recvrtelno"/>
- <Col id="recvrnm"/>
- <Col id="stype"/>
- </Row>
- </Rows>
- </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_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="temp" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="temp"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="hidden" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="hidden"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_insukind" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="nm" type="STRING"/>
- <Column id="cd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_suppkind" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="nm" type="STRING"/>
- <Column id="cd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_PK222list" 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>
- </Dataset>
- <Dataset id="ds_smsresult" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="recvrnm" type="STRING" size="30" value="256"/>
- <Column id="recvrtelno" type="STRING" size="30" value=""/>
- <Column id="msgcnts" type="STRING" size="30" value=""/>
- <Column id="fstrgstdt" type="STRING" size="30" value=""/>
- <Column id="msgstate" type="STRING" size="30" value=""/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_msgstate" 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">ZM00</Col>
- <Col id="cdnm">전송대기</Col>
- </Row>
- <Row>
- <Col id="cdid">ZM01</Col>
- <Col id="cdnm">전송중</Col>
- </Row>
- <Row>
- <Col id="cdid">ZM02</Col>
- <Col id="cdnm">전송실패</Col>
- </Row>
- <Row>
- <Col id="cdid">ZM03</Col>
- <Col id="cdnm">전송성공</Col>
- </Row>
- <Row>
- <Col id="cdid">ZM04</Col>
- <Col id="cdnm">전송취소</Col>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="input1" propid="value" datasetid="ds_send" columnid="orddd"/>
- <BindItem id="item1" compid="CheckBox00" propid="value" datasetid="ds_send" columnid="autorefresh"/>
- <BindItem id="item2" compid="CheckBox01" propid="value" datasetid="ds_send" columnid="endyn"/>
- <BindItem id="item3" compid="group_sms.Calendar00" propid="value" datasetid="ds_send" columnid="fstrgstdt"/>
- <BindItem id="item4" compid="group_sms.Edit00" propid="value" datasetid="ds_send" columnid="fstrgstrid"/>
- <BindItem id="item5" compid="CheckBox02" propid="value" datasetid="ds_send" columnid="unknown"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[include 'com_commonxp::comm_main.xjs';
- include 'pam_pamcomnxp::PAM.xjs';
- include 'pam_pamcomnxp::PAM001.xjs';
- include 'pam_opatmngtxp::PMOCOM.xjs';
- include 'pam_ipatmngtxp::PMI001.xjs';
- function SMPMI06200_onload(obj:Form, e:LoadEventInfo) {
- frmf_initForm(obj);
-
- ds_send.setColumn(0, "orddd", utlf_getCurrentDate());
- ds_send.setColumn(0, "fstrgstdt", utlf_getCurrentDate());
- ds_send.setColumn(0, "fstrgstrid", sysf_getUserId());
-
- ds_init_insukind.clearData();
- ds_init_insukind.addRow();
-
- ds_init_suppkind.clearData();
- ds_init_suppkind.addRow();
-
- // 보험유형 / 보조유형 조회용 서브밋
- var oParam = {};
- oParam.id = "TRPMI00106";
- oParam.service = "pamcomnapp.PamComn";
- oParam.method = "reqGetComCD";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_init_insukind=insukind ds_init_suppkind=suppkind ";
- oParam.async = false;
-
- tranf_submit(oParam);
-
- // 원무공통코드 조회
- pamfGetCodeList([
- { dsNm: 'ds_init_PK222list', cdGrpId: 'PK222' }
- ]);
-
- // 내원 외국인환자 고객만족도 설문용 SMS 문구 표시
- for(var i = 0; i < ds_init_PK222list.rowcount; i++) {
-
- if (ds_init_PK222list.getColumn(i, 'cdid') == '1') {
- TextArea00.value = ds_init_PK222list.getColumn(i, 'cdnm');
- break;
- }
- }
- }
- /**
- 조회버튼 이벤트
- */
- function btn_search_onclick(obj:Button, e:ClickEventInfo) {
- var orddd = ds_send.getColumn(0, "orddd");
- if (utlf_isNull(orddd)) {
- sysf_messageBox("진료일자는 반드시 입력해야 합니다.", "E999");
- return;
- }
-
- // 외국인환자내원리스트 조회
- fGetForeignPatList();
-
- }
- /**
- 내원외국인 엑셀저장 이벤트
- */
- function button2_onclick(obj:Button, e:ClickEventInfo) {
- grdf_exportExcel(grd_forepatlist, "내원외국인목록", "SheetName", true, null, false);
- }
- /**
- 내원외국인환자 조회
- */
- function fGetForeignPatList () {
- var oParam = {};
- oParam.id = "TRPMI06210";
- oParam.service = "ipatmngtapp.InReport";
- oParam.method = "reqGetForePatList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_forepatlist=forepatlist";
- oParam.async = false;
- //oParam.callback = "cf_TRPMI06210";
- tranf_submit(oParam);
-
- var now = new Date();
- cap_lastupdate.text = now.toLocaleTimeString();
- }
- /**
- 타이머설정
- */
- function SMPMI06200_ontimer(obj:Form, e:TimerEventInfo)
- {
- // 내원외국인환자 조회
- if (e.timerid == 0) {
-
- fGetForeignPatList();
- }
- }
- /**
- 자동조회 선택 이벤트
- */
- function CheckBox00_onclick(obj:CheckBox, e:ClickEventInfo)
- {
-
- var isAutoRefresh = obj.value;
- if (isAutoRefresh && ds_send.getColumn( 0, "orddd") != utlf_getCurrentDate()) {
-
- alert("자동조회는 진료일자가 진료당일만 가능합니다.");
-
- ds_send.setColumn(0, "autorefresh", false);
-
- return;
- }
-
- if (isAutoRefresh) {
-
- alert("자동조회를 시작합니다.\r\n10분간격으로 자동조회됩니다.");
-
- // 최초 1회 조회 후 타이머 설정
- fGetForeignPatList();
-
- this.setTimer(0, 1000 * 60 * 10); // 10분간격
-
- } else {
-
- alert("자동조회를 중단합니다.");
- this.killTimer(0);
- }
- }
- // 그리드 배경색 동적처리_등록번호
- function fSetPidColor(row) {
-
- var color = "";
-
- // 과초, 병초, 상초 배경색 처리
- if (ds_forepatlist.getColumn(row, "fsexamflag") == "D"
- || ds_forepatlist.getColumn(row, "fsexamflag") == "F"
- || ds_forepatlist.getColumn(row, "fsexamflag") == "S") {
-
- color = "#8ffc7e";
- }
-
- return color;
- }
- // 그리드 배경색 동적처리_보조유형
- function fSetSuppkindColor(row) {
-
- var color = "";
-
- // S1, S2, S3, S4 배경색 처리
- if (ds_forepatlist.getColumn(row, "suppkind") == "A6"
- || ds_forepatlist.getColumn(row, "suppkind") == "A7"
- || ds_forepatlist.getColumn(row, "suppkind") == "A8"
- || ds_forepatlist.getColumn(row, "suppkind") == "A9") {
-
- color = "#fa50c8";
- }
-
- return color;
- }
- // 내원 외국인 고객만족도 설문용 SMS 문구 클릭
- function caption00_onclick(obj:Static, e:ClickEventInfo)
- {
- if(TextArea00.visible) {
-
- TextArea00.visible = false;
-
- } else {
-
- TextArea00.visible = true;
-
- }
- }
- // SMS 전송 이벤트
- function btn_sms_onclick(obj:Button, e:ClickEventInfo)
- {
-
- if (sysf_messageBox("고객만족도 설문용 SMS를 전송하시겠습니까?.", "Q999") != '6') {
- return;
- }
- var oParam = {};
- oParam.id = "TXPMI06211";
- oParam.service = "ipatmngtapp.InReport";
- oParam.method = "reqSetForePatSMS";
- oParam.inds = "forepatlist=ds_forepatlist PK222=ds_init_PK222list ";
- oParam.outds = "ds_smsresult=smsresult";
- oParam.async = false;
- //oParam.callback = "cf_TRPMI06210";
- tranf_submit(oParam);
-
- alert("전송신청이 완료되었습니다.");
-
- // 전송결과 조회 클릭 이벤트
- group_sms.Button00.click();
- }
- // 전송결과확인창 처리
- function Button00_onclick(obj:Button, e:ClickEventInfo)
- {
- if (group_sms.visible) {
- group_sms.visible = false;
- } else {
- group_sms.visible = true;
- }
- }
- // SMS 전송결과 조회
- function group_sms_Button00_onclick(obj:Button, e:ClickEventInfo)
- {
- var fstrgstrid;
- var fstrgstdt = ds_send.getColumn(0, "fstrgstdt")
-
- if (utlf_isNull(fstrgstdt)) {
- sysf_messageBox("전송일자는 반드시 입력해야 합니다.", "E999");
- return;
- }
-
- ds_send.setColumn(0, "fstrgstdt_end", ds_send.getColumn(0, "fstrgstdt"));
- //ds_send.setColumn(0, "fstrgstrid", sysf_getUserId());
- ds_send.setColumn(0, "bizabbr", "PAM");
- ds_send.setColumn(0, "msgstate", "-");
- ds_send.setColumn(0, "recvrtelno", "");
- ds_send.setColumn(0, "recvrnm", "");
- ds_send.setColumn(0, "stype", "cdate");
-
- var oParam = {};
- oParam.id = "TRZMI00108";
- oParam.service = "shortmsgapp.ShortMsg";
- oParam.method = "reqGetMsgList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_smsresult=msglist";
- oParam.async = false;
- //oParam.callback = "cf_TRPMI06210";
- tranf_submit(oParam);
- }
- // SMS 전송결과 엑셀저장
- function group_sms_Button01_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_exportExcel(group_sms.grd_smslist, "내원외국인 SMS전송결과", "SheetName", true, null, false);
- }
- ]]></Script>
- </Form>
- </FDL>
|