123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>SMS 전송</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <item>
- </item>
- <main>
- <opatlist>
- <opatlist>
- <acptyn/>
- <prcsflag/>
- <orddd/>
- <ordtm/>
- <pid/>
- <hngnm/>
- <sexage/>
- <mpphontel/>
- <fsexamflag/>
- <calcyn/>
- <rsrvflag/>
- <insukind/>
- <telrsrvrem/>
- <orddeptcd/>
- <orddrid/>
- <fstacptdd/>
- <nursacptyn/>
- <dracptyn/>
- <prcpgenryn/>
- <elbulbodstat/>
- <ordtype/>
- <cretno/>
- <instcd/>
- <acptseqno/>
- <orgorddd/>
- <sendyn/>
- <smsyn/>
- <cntctel/>
- <remfact/>
- </opatlist>
- </opatlist>
- <basecodelist>
- <basecodelistinfo>
- <basetypecd/>
- <baseclsflag/>
- <supbasetypecd/>
- <cdcls/>
- <typenm/>
- <refseq/>
- <basetypenm/>
- </basecodelistinfo>
- </basecodelist>
- <smscodelist>
- <smscodelistinfo>
- <basetypecd/>
- <baseclsflag/>
- <supbasetypecd/>
- <cdcls/>
- <typenm/>
- <refseq/>
- </smscodelistinfo>
- </smscodelist>
- <doctlist>
- <doctlistinfo>
- <orddrid/>
- <usernm/>
- <orddeptcd/>
- <fstexamrem/>
- <reexamrem/>
- </doctlistinfo>
- </doctlist>
- <cond>
- <orddeptcd/>
- <orddrid/>
- <orddd/>
- <ampmflag>A</ampmflag>
- <basetypecd/>
- <baseclsflag/>
- <supbasetypecd/>
- <ordclsdeptflag/>
- <supdeptcd/>
- <prcpspecflag>A</prcpspecflag>
- <cntctel/>
- </cond>
- </main>
- <send>
- <req>
- <orddeptcd/>
- <orddrid/>
- <orddd/>
- <ampmflag/>
- <msgparam/>
- <supbasetypecd/>
- </req>
- <opatinfo/>
- </send>
- <init/>
- <hidden>
- <orddeptlist>
- <dept>
- <depthngnm/>
- <deptcd/>
- </dept>
- </orddeptlist>
- <zsd>
- <resultref/>
- </zsd>
- <orddr>
- <orddr>
- <usernm/>
- <userid/>
- </orddr>
- </orddr>
- <msgcnt/>
- </hidden>
- <temp>
- <basecodelist/>
- </temp>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
-
- // 전화 예약 화면에서 팝업으로 호출시 해당 환자 자동 설정
- if (isPopup()) {
- var pid = opener.javascript.getParameter("SMPMO00200_SMS_pid");
- if (pid != "") {
- var orddd = opener.javascript.getParameter("SMPMO00200_SMS_orddd");
- var orddeptcd = opener.javascript.getParameter("SMPMO00200_SMS_orddeptcd");
- var orddrid = opener.javascript.getParameter("SMPMO00200_SMS_orddrid");
-
- model.setValue("/root/main/cond/orddd", orddd);
- model.setValue("/root/main/cond/orddeptcd", orddeptcd);
-
- cmb_orddept.dispatch("xforms-value-changed");
-
- model.setValue("/root/main/cond/orddrid", orddrid);
- model.setValue("/root/main/cond/ampmflag", "D");
-
- button1.dispatch("DOMActivate");
-
- var cnt = instance1.selectNodes("/root/main/opatlist/opatlist").length;
- for (var i = 1; i <= cnt; i++) {
- if (pid == model.getValue("/root/main/opatlist/opatlist[" + i + "]/pid")) {
- model.setValue("/root/main/opatlist/opatlist[" + i + "]/acptyn", "true");
- grd_opatmngt.rowStatus(i) = 2;
-
- model.setFocus("grd_opatmngt");
- grd_opatmngt.row = i;
-
- break;
- }
- }
-
- model.setValue("/root/item", opener.javascript.getParameter("SMPMO00200_SMS_msg"));
- textarea1.refresh();
- }
- }
-
- ]]>
- </script>
- <submission id="TRMNO01100" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/opatlist"/>
- <submission id="TRMNO00800" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/basecodelist"/>
- <submission id="TRMNO00801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/smscodelist"/>
- <submission id="TRMNO00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/hidden/orddr"/>
- <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/hidden/orddeptlist/dept"/>
- <submission id="TXMNO01101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/opatlist"/>
- <submission id="TRZSD00206" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../emr/outcareweb/js/SMMNO01100.js"/>
- <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- </xhtml:head>
- <xhtml:body guideline="1,1195;1,5;1,1194;1,611;2,757;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:744px; ">
- <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <select1 id="cmb_orddept" ref="/root/main/cond/orddeptcd" class="combo_search" disabled="false" appearance="minimal" style="left:285px; top:8px; width:150px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/orddeptlist/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fDeptChanged();
- fBaseCodeSearch("B"); // 전송구분 조회
- model.removeNodeset("/root/main/opatlist/opatlist");
- model.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_orddr" ref="/root/main/cond/orddrid" class="combo_search" appearance="minimal" style="left:545px; top:8px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/orddr/orddr">
- <label ref="userdepthngnm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fBtnRefClicked();
- ]]>
- </script>
- </select1>
- <caption id="caption5" class="search_name" style="left:206px; top:9px; width:81px; height:17px; ">진료과 :</caption>
- <caption id="caption2" class="search_name" style="left:450px; top:9px; width:86px; height:17px; ">진료의사 :</caption>
- <select1 id="radio2" ref="/root/main/cond/prcpspecflag" class="radio_search" appearance="full" cols="3" overflow="visible" style="left:670px; top:10px; width:255px; height:15px; background-color:transparent; border-style:none; ">
- <choices>
- <item>
- <label>진료일정의사</label>
- <value>A</value>
- </item>
- <item>
- <label>진료의전체</label>
- <value>Y</value>
- </item>
- <item>
- <label>퇴직의사</label>
- <value>R</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //추가. 20081103
- /*
- if(model.getValue("/root/main/cond/prcpspecflag") == "Y")
- {
- model.setValue("/root/main/cond/prcpspecflag", "N");
- } else
- {
- model.setValue("/root/main/cond/prcpspecflag", "Y");
- }
- */
- fDeptChanged();
- ]]>
- </script>
- </select1>
- <button id="button1" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fBtnRefClicked();
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1107px; y1:7px; x2:1107px; y2:29px; "/>
- <caption id="caption3" class="search_name" style="left:15px; top:9px; width:91px; height:17px; ">진료일자 :</caption>
- <select1 id="radio1" ref="/root/main/cond/ampmflag" class="radio_search" appearance="full" cols="3" overflow="visible" style="left:950px; top:9px; width:135px; height:15px; background-color:transparent; border-style:none; ">
- <choices>
- <item>
- <label>오전</label>
- <value>A</value>
- </item>
- <item>
- <label>오후</label>
- <value>P</value>
- </item>
- <item>
- <label>전일</label>
- <value>D</value>
- </item>
- </choices>
- </select1>
- <input id="ipt_orddd" ref="/root/main/cond/orddd" class="input_search" inputtype="date" style="left:105px; top:8px; width:90px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fBtnRefClicked();
- ]]>
- </script>
- </input>
- </group>
- <caption id="caption1" class="tit_2" style="left:459px; top:56px; width:118px; height:13px; ">전송 대상자 조회</caption>
- <line id="line1" class="line_1" style="x1:454px; y1:71px; x2:1194px; y2:71px; "/>
- <button id="button2" class="btn2_letter2" style="left:1152px; top:51px; width:42px; height:19px; ">
- <caption>전송</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fCallMngtInfo();
- ]]>
- </script>
- </button>
- <button id="button3" class="btn2_letter6" style="left:1064px; top:51px; width:86px; height:19px; ">
- <caption>전송결과조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SMMNO01200","1","15","128");
- ]]>
- </script>
- </button>
- <caption id="caption4" class="tit_2" style="left:8px; top:56px; width:118px; height:13px; ">메시지 작성</caption>
- <caption id="caption13" class="cell_1" style="left:0px; top:76px; width:85px; height:23px; text-align:center; vertical-align:middle; ">전송구분</caption>
- <line id="line2" class="line_1" style="x1:0px; y1:71px; x2:450px; y2:71px; "/>
- <caption id="caption7" class="tit_2" style="left:8px; top:260px; width:118px; height:13px; ">전송내역 리스트</caption>
- <textarea id="textarea1" ref="/root/item" maxlength="40" style="left:0px; top:100px; width:450px; height:134px; text-align:left; vertical-align:middle; padding-left:10; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- model.makeValue("/root/hidden/msgcnt",(textarea1.currentText).length);
- opt_msgcnt.refresh();
- ]]>
- </script>
- </textarea>
- <line id="line3" class="line_2" style="x1:0px; y1:98px; x2:450px; y2:98px; "/>
- <line id="line4" class="line_3" style="x1:0px; y1:236px; x2:450px; y2:236px; "/>
- <line id="line5" class="line_1" style="x1:0px; y1:275px; x2:450px; y2:275px; "/>
- <datagrid id="grd_baselist" nodeset="/root/main/basecodelist/basecodelistinfo" autoresize="true" caption="전송구분^상용문구" colsep="^" colwidth="79, 346" mergecellsfixedrows="bycolrec" rowheight="28" rowsep="|" style="left:0px; top:280px; width:450px; height:463px; ">
- <col ref="basetypenm" style="text-align:center; "/>
- <col ref="typenm" style="text-align:left; "/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var iRow = grd_baselist.row;
- if(iRow < 1) return;
- model.setValue("/root/item", model.getValue("/root/main/basecodelist/basecodelistinfo["+iRow+"]/typenm"));
-
- model.makeValue("/root/hidden/msgcnt",(model.getValue("/root/main/basecodelist/basecodelistinfo["+iRow+"]/typenm")).length);
- model.refresh();
- ]]>
- </script>
- </datagrid>
- <datagrid id="grd_opatmngt" nodeset="/root/main/opatlist/opatlist" caption="^진행상태^예약시간^등록번호^성명^S/A^초/재^수납^예약구분^의뢰^보험유형^간호기록^Remark^전송^휴대전화번호^진료일자^진료과코드^진료의사^생성번호^회신자 전화번호" colsep="^" colwidth="26, 0, 60, 70, 70, 45, 40, 30, 57, 0, 0, 0, 175, 31, 97, 0, 0, 0, 0, 0" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="32" rowsep="|" tooltip="true" style="left:454px; top:75px; width:740px; height:668px; ">
- <col ref="acptyn" type="checkbox"/>
- <col ref="prcsflag"/>
- <col ref="ordtm" format="hh:nn" style="text-align:center; "/>
- <col ref="pid"/>
- <col ref="hngnm" style="text-align:center; "/>
- <col ref="sexage" style="text-align:center; "/>
- <col ref="fsexamflag" style="text-align:center; "/>
- <col ref="calcyn" style="text-align:center; "/>
- <col ref="rsrvflag" style="text-align:center; "/>
- <col style="text-align:center; "/>
- <col ref="insukind" style="text-align:center; "/>
- <col/>
- <col ref="remfact"/>
- <col ref="smsyn" style="text-align:center; "/>
- <col ref="mpphontel" style="text-align:center; "/>
- <col ref="orddd"/>
- <col ref="orddeptcd"/>
- <col ref="orddrid"/>
- <col ref="cretno"/>
- <col ref="cntctel"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fClickedGridRow();
- ]]>
- </script>
- </datagrid>
- <button id="button4" class="btn2_letter6" style="left:975px; top:50px; width:86px; height:19px; ">
- <caption>상용문구관리</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var sParam_Data = "O";
- setParameter("SMMNO00800_Param",sParam_Data);
- modal("SMMNO00800","1","15","128");
- //modal("SMMNO00800");
- ]]>
- </script>
- </button>
- <select1 id="cmb_sendgb" ref="/root/main/cond/supbasetypecd" class="combo_default" appearance="minimal" style="left:88px; top:77px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/smscodelist/smscodelistinfo">
- <label ref="typenm"/>
- <value ref="basetypecd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fGubnChanged();
- ]]>
- </script>
- </select1>
- <input id="ipt_cntctel" ref="/root/main/cond/cntctel" class="input_default" validateformat="true" style="left:274px; top:77px; width:100px; height:19px; "/>
- <caption id="cap_bfrecuser" class="cell_1" style="left:191px; top:76px; width:80px; height:23px; text-align:center; vertical-align:middle; ">발신번호</caption>
- <caption id="caption120" style="left:415px; top:74px; width:35px; height:25px; vertical-align:middle; ">/40자</caption>
- <output id="opt_msgcnt" ref="/root/hidden/msgcnt" validateformat="true" style="left:379px; top:77px; width:36px; height:19px; text-align:right; "/>
- </group>
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">SMS 전송</caption>
- <group id="grp_btn" style="left:0px; top:13px; width:1195px; height:27px; ">
- <line id="line6" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|