123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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>지인관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <recminfo>
- <recminfolist>
- <instcd/>
- <pid/>
- <hngnm/>
- <recmerid/>
- <recmernm/>
- <recmerrela/>
- <rrgstno1/>
- <rrgstno2/>
- <hometel/>
- <mpphontel/>
- <etctel/>
- <recmertelno/>
- <recmersmsyn/>
- <remfact/>
- <emplyn/>
- </recminfolist>
- </recminfo>
- <recmrgst>
- <recmrgstlist>
- <instcd/>
- <pid/>
- <hngnm/>
- <recmerid/>
- <recmernm/>
- <recmerrela/>
- <rrgstno1/>
- <rrgstno2/>
- <hometel/>
- <mpphontel/>
- <etctel/>
- <recmertelno/>
- <recmersmsyn/>
- <remfact/>
- </recmrgstlist>
- </recmrgst>
- <patinfo>
- <patinfolist/>
- </patinfo>
- </main>
- <send>
- <pid/>
- <recmerid/>
- <nodecnt/>
- </send>
- <init>
- <P0327list>
- <P0327>
- <cdnm/>
- <cdid/>
- </P0327>
- </P0327list>
- </init>
- <hidden>
- <patinfo>
- <patinfolist/>
- </patinfo>
- <source>
- <srchcond/>
- <pid/>
- </source>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- zbcfGetCodeList(new Array("P0327"), new Array("/root/init/P0327list"));
- //초기화
- fInitialize();
-
- var pid = opener.javascript.getParameter("SPPMC05600_pid");
-
- if (pid != "") {
- model.setValue("/root/send/pid", pid);
- btn_search.dispatch("DOMActivate");
-
- if(instance1.selectNodes("/root/main/recmrgst/recmrgstlist").length > 0){
- datagrid1.row = 1;
- model.copyNode("/root/main/recminfo/recminfolist", "/root/main/recmrgst/recmrgstlist[1]");
- btn_ins.disabled = true;
-
- model.refresh()
-
- if (getUserInfo("dutplcecd") == "3340100000" || // 고객서비스파트
- getUserInfo("dutplcecd") == "4040300000" || // 원무팀
- getUserInfo("dutplcecd") == "4101000000" || // 고객지원파트
- getUserInfo("userid") == "PAM" ||
- getUserInfo("userid") == model.getValue("/root/main/recmrgst/recmrgstlist[" + datagrid1.row + "]/recmerid")) {
- btn_upt.disabled = false;
- btn_del.disabled = false;
- } else {
- btn_upt.disabled = true;
- btn_del.disabled = true;
- }
- }
- }
- ]]>
- </script>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRPMC05701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/recmrgst"/>
- <submission id="TRPMC05702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden/source" resultref="/root/hidden/patinfo"/>
- <submission id="TXPMC05701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/recminfo/recminfolist" resultref="/root/main/recmrgst"/>
- </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="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript">
- <![CDATA[
-
- function fInitialize() {
- model.resetInstanceNode("/root/send");
- model.resetInstanceNode("/root/main/recminfo/recminfolist");
- model.resetInstanceNode("/root/main/recmrgst/recmrgstlist");
-
- btn_ins.disabled = false; //신청
- btn_upt.disabled = true; //수정
- btn_del.disabled = true; //삭제
-
- model.setValue("/root/main/recminfo/recminfolist/recmerid", getUserId());
- model.setValue("/root/main/recminfo/recminfolist/recmernm", getUserName());
-
- if (getUserId() == "PAM" ||
- getUserInfo("dutplcecd") == "3340100000" || // 고객서비스파트
- getUserInfo("dutplcecd") == "4040300000" || // 원무팀
- getUserInfo("dutplcecd") == "4101000000") { // 고객지원파트
-
- btn_srchrecmer.visible = true;
- }
-
- /*
- if (getUserInfo("dutplcecd") != "3340100000" && getUserInfo("userid") != "PAM") {
- model.setValue("/root/main/recminfo/recminfolist/recmerid", getUserInfo("userid"));
- model.setValue("/root/main/recminfo/recminfolist/recmernm", getUserInfo("usernm"));
-
- output1.refresh();
- output67.refresh();
- btn_srchrecmer.disabled = true;
- }
- */
-
- model.refresh();
- }
-
- function fdataCheck(){
-
- var emplyn = model.getValue("/root/main/recminfo/recminfolist/emplyn");
-
- if (model.getValue("/root/main/recminfo/recminfolist/pid") == '') {
- messageBox("환자번호를 입력 후 진행하세요!", "E999", "");
- return false;
- } else if (emplyn != "Y" && model.getValue("/root/main/recminfo/recminfolist/recmerid") == '') {
- messageBox("추천인 정보를 입력 후 진행하세요!", "E999", "");
- return false;
- } else if (model.getValue("/root/main/recminfo/recminfolist/recmerrela") == '') {
- messageBox("관계 정보를 입력 후 진행하세요!", "E999", "");
- return false;
- } else if (emplyn != "Y" && model.getValue("/root/main/recminfo/recminfolist/recmertelno") == '') {
- messageBox("추천인 전화번호 정보를 입력 후 진행하세요!", "E999", "");
- return false;
- } else if (model.getValue("/root/main/recminfo/recminfolist/recmersmsyn") == '') {
- messageBox("SMS 전송여부를 입력 후 진행하세요!", "E999", "");
- return false;
- }
- return true;
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="816" pageheight="440" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:0px; top:225px; width:800px; height:176px; ">
- <caption id="caption1" class="tit_2" style="left:5px; top:5px; width:95px; height:15px; ">지인관리</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:20px; x2:800px; y2:20px; "/>
- <input id="ipt_pid" ref="/root/main/recminfo/recminfolist/pid" class="input_s_essential" disabled="true" appearance="input" style="left:92px; top:26px; width:130px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
-
- return;
-
- if (event.keyCode == "13") {
- model.setValue("/root/hidden/source/srchcond", "1");
- var pid = ipt_pid.currentText;
-
- if (pid == '' || pid == ' ') {
- model.setValue("/root/main/recminfo/recminfolist/pid", '');
- model.refresh();
- } else if ( pid.length < 2 || isNaN(pid)) {
- model.setValue("/root/main/recminfo/recminfolist/pid", '');
- model.refresh();
- } else {
- model.setValue("/root/hidden/source/pid", pid);
- model.resetInstanceNode("/root/hidden/patinfo/patinfolist");
-
- if (submit("TRPMC05702")) {
- if (getNodesetCount("/root/hidden/patinfo/patinfolist/pid") > 0) {
- model.setValue("/root/main/recminfo/recminfolist/pid", model.getValue("/root/hidden/patinfo/patinfolist/pid"));
- model.setValue("/root/main/recminfo/recminfolist/hngnm", model.getValue("/root/hidden/patinfo/patinfolist/hngnm"));
- model.setValue("/root/main/recminfo/recminfolist/rrgstno1", model.getValue("/root/hidden/patinfo/patinfolist/rrgstno1"));
- model.setValue("/root/main/recminfo/recminfolist/rrgstno2", model.getValue("/root/hidden/patinfo/patinfolist/rrgstno2"));
- model.setValue("/root/main/recminfo/recminfolist/hometel", model.getValue("/root/hidden/patinfo/patinfolist/hometel"));
- model.setValue("/root/main/recminfo/recminfolist/mpphontel", model.getValue("/root/hidden/patinfo/patinfolist/mpphontel"));
- model.setValue("/root/main/recminfo/recminfolist/etctel", model.getValue("/root/hidden/patinfo/patinfolist/etctel1"));
- } else {
- model.setValue("/root/main/recminfo/recminfolist/pid", '');
- }
- model.refresh();
- }
- }
- }
- ]]>
- </script>
- </input>
- <caption id="caption29" class="cell_1" style="left:0px; top:25px; width:90; height:23px; vertical-align:middle; ">등록번호</caption>
- <input id="ipt_hngnm" ref="/root/main/recminfo/recminfolist/hngnm" disabled="true" appearance="input" style="left:342px; top:26px; width:155px; height:19px; "/>
- <caption id="caption2" class="cell_1" style="left:250px; top:25px; width:90; height:23px; vertical-align:middle; ">이름</caption>
- <caption id="caption4" class="cell_1" style="left:0px; top:49px; width:90; height:23px; vertical-align:middle; ">전화번호[집]</caption>
- <input id="input3" ref="/root/main/recminfo/recminfolist/hometel" disabled="true" appearance="input" style="left:92px; top:51px; width:155px; height:19px; "/>
- <input id="ipt_rrgstno1" ref="/root/main/recminfo/recminfolist/rrgstno1" disabled="true" navindex="1" autonext="true" format="999999" style="left:592px; top:26px; width:100px; height:19px; "/>
- <input id="ipt_rrgstno2" ref="/root/main/recminfo/recminfolist/rrgstno2" disabled="true" navindex="2" autonext="false" format="9999999" style="left:700px; top:26px; width:100px; height:19px; "/>
- <caption id="caption35" class="cell_1" style="left:500px; top:25px; width:90; height:23px; ">주민번호</caption>
- <caption id="caption3" class="cell_1" style="left:250px; top:49; width:90; height:23px; ">휴대폰</caption>
- <input id="input2" ref="/root/main/recminfo/recminfolist/mpphontel" disabled="true" style="left:342px; top:51px; width:155px; height:19px; "/>
- <caption id="caption5" class="cell_1" style="left:500; top:49; width:90px; height:23px; ">기타전화번호</caption>
- <input id="input4" ref="/root/main/recminfo/recminfolist/etctel" disabled="true" style="left:592px; top:51px; width:208px; height:19px; "/>
- <caption id="caption6" class="cell_1" style="left:0px; top:99px; width:90px; height:73px; ">참고사항</caption>
- <caption id="caption8" class="cell_1" style="left:500; top:74px; width:90; height:23px; vertical-align:middle; ">관계</caption>
- <caption id="caption9" class="cell_1" style="left:0px; top:74px; width:90; height:23px; ">추천인</caption>
- <caption id="caption10" class="cell_1" style="left:250px; top:74px; width:90; height:23px; ">추천인 전화</caption>
- <input id="input6" ref="/root/main/recminfo/recminfolist/recmertelno" style="left:342px; top:76px; width:155px; height:19px; "/>
- <caption id="caption11" class="cell_1" style="left:500; top:99px; width:90; height:23px; vertical-align:middle; ">SMS 수신여부</caption>
- <output id="output67" ref="/root/main/recminfo/recminfolist/recmernm" class="output_fix" appearance="output" style="left:92; top:76px; width:130px; height:19px; "/>
- <button id="btn_srchrecmer" class="icon_search" visibility="hidden" style="left:227px; top:76px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.makeNode("/root/main/userpopupinfo/param");
- model.makeNode("/root/main/userpopupinfo/flag");
- model.makeNode("/root/main/userpopupinfo/searchitem");
-
- model.setValue("/root/main/userpopupinfo/param" , "_OneS");
- model.setValue("/root/main/userpopupinfo/flag" , "usernm");
- model.setValue("/root/main/userpopupinfo/searchitem" , "사용자명");
- modal("SPZSU10103_사용자부서조회", "", "200", "200", "SPZSU10103","/root/main/userpopupinfo","/root/main/temp");
-
- var iParam = getParameter("SPZSU10103_");
-
- model.removenode("/root/hidden/onerowselect");
- model.makeNode("/root/hidden/onerowselect");
-
- setCSVToNode("/root/hidden/onerowselect", iParam);
- model.setValue("/root/main/recminfo/recminfolist/recmerid" , model.getValue("/root/hidden/onerowselect/list/userid"));
- model.setValue("/root/main/recminfo/recminfolist/recmernm" , model.getValue("/root/hidden/onerowselect/list/usernm"));
- clearParameter("SPZSU10103_");
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line105" class="line_2" style="x1:0px; y1:47px; x2:800px; y2:47px; "/>
- <line id="line2" class="line_2" style="x1:0px; y1:72px; x2:800px; y2:72px; "/>
- <line id="line3" class="line_2" style="x1:500px; y1:122px; x2:800px; y2:122px; "/>
- <line id="line4" class="line_2" style="x1:0px; y1:97px; x2:800px; y2:97px; "/>
- <line id="line112" class="line_3" style="x1:0px; y1:172px; x2:800px; y2:172px; "/>
- <select1 id="combo37" ref="/root/main/recminfo/recminfolist/recmerrela" class="combo_default" appearance="minimal" style="left:592px; top:76px; width:208px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0327list/P0327">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <button id="btn_ptsrch" accesskey="f2" class="icon_search" style="left:227px; top:28px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.makeNode("/root/hidden/source/autoflag");
- model.setValue("/root/hidden/source/autoflag", "Y");
- modal("SPPMC05800", "1", "150", "150", "SPPMC05800");
-
- var popupendflag = model.getValue("/root/main/popupendflag");
- if (popupendflag == "ok"){
- model.setValue("/root/main/recminfo/recminfolist/instcd", model.getValue("/root/main/patinfo/patinfolist/instcd"));
- model.setValue("/root/main/recminfo/recminfolist/pid", model.getValue("/root/main/patinfo/patinfolist/pid"));
- model.setValue("/root/main/recminfo/recminfolist/hngnm", model.getValue("/root/main/patinfo/patinfolist/hngnm"));
- model.setValue("/root/main/recminfo/recminfolist/rrgstno1", model.getValue("/root/main/patinfo/patinfolist/rrgstno1"));
- model.setValue("/root/main/recminfo/recminfolist/rrgstno2", model.getValue("/root/main/patinfo/patinfolist/rrgstno2"));
- model.setValue("/root/main/recminfo/recminfolist/hometel", model.getValue("/root/main/patinfo/patinfolist/hometel"));
- model.setValue("/root/main/recminfo/recminfolist/mpphontel", model.getValue("/root/main/patinfo/patinfolist/mpphontel"));
- model.setValue("/root/main/recminfo/recminfolist/etctel", model.getValue("/root/main/patinfo/patinfolist/etctel"));
- model.setValue("/root/main/recminfo/recminfolist/emplyn", model.getValue("/root/main/patinfo/patinfolist/emplyn"));
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_clear" class="btn2_letter3" style="left:747px; top:0px; width:53px; height:19px; ">
- <caption>Clear</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.resetInstanceNode("/root/main/recminfo/recminfolist");
- btn_ins.disabled = false; //신청
- btn_upt.disabled = true; //수정
- btn_del.disabled = true; //삭제
- model.refresh();
- ]]>
- </script>
- </button>
- <select1 id="radio1" ref="/root/main/recminfo/recminfolist/recmersmsyn" appearance="full" cols="2" overflow="visible" style="left:592; top:100px; width:100px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>Yes</label>
- <value>Y</value>
- </item>
- <item>
- <label>No</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <output id="output1" ref="/root/main/recminfo/recminfolist/recmerid" class="output_fix" visibility="hidden" appearance="output" style="left:105px; top:86px; width:130px; height:19px; "/>
- <textarea id="textarea1" ref="/root/main/recminfo/recminfolist/remfact" scroll="autovscroll" maxbyte="600" style="left:92px; top:100px; width:405px; height:71px; padding:5; "/>
- </group>
- <group id="group1" scroll="auto" style="left:0px; top:402px; width:800px; height:32px; ">
- <button id="btn_del" class="btn4_letter2" navindex="9" style="left:686px; top:5px; width:56px; height:22px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //입력사항 체크
- if(fdataCheck() ) {
- model.makeNode("/root/main/recminfo/recminfolist/chckval");
- model.setValue("/root/main/recminfo/recminfolist/chckval", "D");
- if(submit("TXPMC05701")) {
- btn_clear.dispatch("DOMActivate");
- model.resetInstanceNode("/root/main/recmrgst/recmrgstlist");
- }
- }
- ]]>
- </script>
- </button>
- <button id="btn_close" class="btn4_letter2" style="left:744px; top:5px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(datagrid1.rows > 1){
- var row = datagrid1.row;
- if(row < 0){
- row = 1;
- }
- var recmerid = model.getValue("/root/main/recmrgst/recmrgstlist[" + row + "]/recmerid");
- var recmernm = model.getValue("/root/main/recmrgst/recmrgstlist[" + row + "]/recmernm");
- var recmerrela = model.getValue("/root/main/recmrgst/recmrgstlist[" + row + "]/recmerrela");
- var recmersmsyn = model.getValue("/root/main/recmrgst/recmrgstlist[" + row + "]/recmersmsyn");
- if(recmerid != ""){
- opener.javascript.setParameter("SPPMC05500_recmyn" , "Y");
- opener.javascript.setParameter("SPPMC05500_recmerid" , recmerid);
- opener.javascript.setParameter("SPPMC05500_recmernm" , recmernm);
- opener.javascript.setParameter("SPPMC05500_recmerrela" , recmerrela);
- opener.javascript.setParameter("SPPMC05500_recmersmsyn" , recmersmsyn);
- opener.javascript.setParameter("SPPMC05500_popupendflag" , "Y");
- }else{
- opener.javascript.setParameter("SPPMC05500_popupendflag" , "N");
- }
- }else{
- opener.javascript.setParameter("SPPMC05500_recmyn" , "");
- opener.javascript.setParameter("SPPMC05500_recmerid" , "");
- opener.javascript.setParameter("SPPMC05500_recmernm" , "");
- opener.javascript.setParameter("SPPMC05500_recmerrela" , "");
- opener.javascript.setParameter("SPPMC05500_recmersmsyn" , "");
- opener.javascript.setParameter("SPPMC05500_popupendflag" , "Y");
- }
- window.close();
- ]]>
- </script>
- </button>
- <button id="btn_upt" class="btn4_letter2" navindex="9" style="left:628px; top:5px; width:56px; height:22px; ">
- <caption>수정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //입력사항 체크
- if(fdataCheck()){
- model.makeNode("/root/main/recminfo/recminfolist/chckval");
- model.setValue("/root/main/recminfo/recminfolist/chckval", "U");
- if(submit("TXPMC05701")) {
- model.setValue("/root/send/pid", model.getValue("/root/main/recminfo/recminfolist/pid"));
- btn_clear.dispatch("DOMActivate");
- ipt_pid.refresh();
- btn_search.dispatch("DOMActivate");
- }
- }
- ]]>
- </script>
- </button>
- <button id="btn_ins" class="btn4_letter2" navindex="9" style="left:570px; top:5px; width:56px; height:22px; ">
- <caption>신청</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //입력사항 체크
- if (fdataCheck()) {
- model.makeNode("/root/main/recminfo/recminfolist/chckval");
- model.setValue("/root/main/recminfo/recminfolist/chckval", "I");
- if(submit("TXPMC05701")){
- model.setValue("/root/send/pid", model.getValue("/root/main/recminfo/recminfolist/pid"));
- btn_clear.dispatch("DOMActivate");
- ipt_pid.refresh();
- btn_search.dispatch("DOMActivate");
- }
- }
- ]]>
- </script>
- </button>
- </group>
- <group id="group4" style="left:0px; top:1px; width:800px; height:35px; ">
- <shape id="roundrect1" appearance="roundrect" style="left:0px; top:0px; width:800px; height:35px; "/>
- <caption id="caption12" class="search_name" style="left:15px; top:9px; width:86px; height:17px; ">등록번호 :</caption>
- <button id="btn_search" class="btn1_letter2" navindex="6" style="left:735px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( model.getValue("/root/send/pid") == ''){
- if ( getUserInfo("userid") != "PAM" && getUserInfo("dutplcecd") != "3340100000" ) {
- messageBox("환자 등록번호를 입력하신 후 조회하세요!!", "E999", "");
- return false;
- }
- }
-
- model.setValue("/root/send/nodecnt", "-");
- if(submit("TRPMC05701")){
- if( getNodesetCount("/root/main/recmrgst/recmrgstlist/pid") < 1 ){
- messageBox("검색 결과가 없습니다.", "I999", "");
- }
- }
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:724px; y1:7px; x2:724px; y2:29px; border-color:#ffe4bb; "/>
- <caption id="caption13" class="search_name" visibility="hidden" style="left:215px; top:9px; width:90px; height:17px; ">추천인ID :</caption>
- <input id="input1" ref="/root/send/pid" class="input_s_essential" appearance="input" style="left:107px; top:9px; width:70px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- //무조건 재조회 할수 있도록 clear 후에 조회 호출 필요
- if (event.keyCode == "13"){
- model.setValue("/root/send/pid", input1.currentText);
- btn_search.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </input>
- <button id="button3" accesskey="f2" class="icon_search" style="left:181px; top:10px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.makeNode("/root/hidden/source/autoflag");
- model.setValue("/root/hidden/source/autoflag", "Y");
- modal("SPPMC05800", "1", "150", "150", "SPPMC05800");
-
- var popupendflag = model.getValue("/root/main/popupendflag");
-
- if(popupendflag == "ok"){
- model.setValue("/root/send/pid", model.getValue("/root/main/patinfo/patinfolist/pid"));
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="input8" ref="/root/send/recmerid" class="input_s_essential" visibility="hidden" appearance="input" style="left:307px; top:9px; width:70px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- //무조건 재조회 할수 있도록 clear 후에 조회 호출 필요
- if (event.keyCode == "13"){
- model.setValue("/root/send/recmerid", input8.currentText);
- btn_search.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </input>
- </group>
- <datagrid id="datagrid1" nodeset="/root/main/recmrgst/recmrgstlist" caption="환자기관코드^등록번호^환자이름^추천인^추천인ID^추천인부서^관계^주민번호^주민번호^전화번호[집]^핸드폰번호^기타전화번호^추천인 전화^SMS 수신여부^참고사항^최초등록자^최초등록일시^최종수정자^최종수정일시" colwidth="0, 60, 60, 60, 60, 100, 60, 60, 60, 90, 90, 90, 90, 90, 300, 100, 100, 100, 100" defaultrows="2" mergecellsfixedrows="bycolrec" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:63px; width:800px; height:160px; ">
- <col ref="instcd" style="text-align:center; "/>
- <col ref="pid" style="text-align:center; "/>
- <col ref="hngnm" style="text-align:center; "/>
- <col ref="recmernm" style="text-align:center; "/>
- <col ref="recmerid" visibility="hidden" style="text-align:center; "/>
- <col ref="recmerdeptnm" style="text-align:center; "/>
- <col disabled="true" ref="recmerrela" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/P0327list/P0327">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="rrgstno1" visibility="hidden" style="text-align:center; "/>
- <col ref="rrgstno2" visibility="hidden" style="text-align:center; "/>
- <col ref="hometel" style="text-align:center; "/>
- <col ref="mpphontel" style="text-align:center; "/>
- <col ref="etctel" style="text-align:center; "/>
- <col ref="recmertelno" style="text-align:center; "/>
- <col disabled="true" ref="recmersmsyn" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>수신</label>
- <value>Y</value>
- </item>
- <item>
- <label>수신안함</label>
- <value>N</value>
- </item>
- </choices>
- </col>
- <col ref="remfact"/>
- <col ref="fstrgstrid" visibility="hidden" style="text-align:center; "/>
- <col ref="fstrgstdt" visibility="hidden" style="text-align:center; "/>
- <col ref="lastupdtrid" visibility="hidden" style="text-align:center; "/>
- <col ref="lastupdtdt" visibility="hidden" style="text-align:center; "/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if(isDataCell()){
- model.copyNode("/root/main/recminfo/recminfolist", "/root/main/recmrgst/recmrgstlist[" + datagrid1.row + "]");
- btn_ins.disabled = true;
-
- model.refresh();
-
- if (getUserInfo("dutplcecd") == "3340100000" || // 고객서비스파트
- getUserInfo("dutplcecd") == "4040300000" || // 원무팀
- getUserInfo("dutplcecd") == "4101000000" || // 고객지원파트
- getUserInfo("userid") == "PAM" ||
- getUserInfo("userid") == model.getValue("/root/main/recmrgst/recmrgstlist[" + datagrid1.row + "]/recmerid")) {
- btn_upt.disabled = false;
- btn_del.disabled = false;
- } else {
- btn_upt.disabled = true;
- btn_del.disabled = true;
- }
- }
- ]]>
- </script>
- </datagrid>
- <line id="line6" class="line_1" style="x1:0px; y1:58px; x2:800px; y2:58px; "/>
- <caption id="caption7" class="tit_2" style="left:5px; top:43px; width:95px; height:13px; ">등록내역</caption>
- </xhtml:body>
- </xhtml:html>
|