123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * Name : SMCHI00100_건진사업장관리
- * Summary : 건진사업장관리
- * Programmer : 최정환
- * Date Written : 2007.07.30
- * History : 2007.07.30
- * Remark :
- -->
- <?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>건진사업장관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <list>
- <bizplcelist>
- <todd/>
- <cmpycd/>
- <cmpynm/>
- <cmpyid/>
- <prsdnm/>
- <cmpyno/>
- <biztype/>
- <zipcd1/>
- <zipcd2/>
- <zipaddr/>
- <detladdr/>
- <telno/>
- <chrgnm/>
- <mpphonno/>
- <emailid/>
- <emailtype/>
- </bizplcelist>
- <conlist>
- <condd/>
- <confromdd/>
- <contodd/>
- <contype/>
- <mantotamt/>
- <womtotamt/>
- <mancnfmamt/>
- <womcnfmamt/>
- <uncocd/>
- <chrgnm/>
- <chrgtelno/>
- <choitestyn/>
- <addtestyn/>
- </conlist>
- <perchgrlist/>
- </list>
- <attr>
- <bizplceattr>
- <cmpycd/>
- <cmpynm/>
- <cmpyid/>
- <prsdnm/>
- <cmpyno/>
- <biztype/>
- <zipcd1/>
- <zipcd2/>
- <detladdr/>
- <telno/>
- <chrgnm/>
- <mpphonno/>
- <emailid/>
- <emailtype/>
- </bizplceattr>
- <conattr>
- <condd/>
- <confromdd/>
- <contodd/>
- <basepkgcd/>
- </conattr>
- <perchgremail>
- <emailmsglrgcd/>
- <emailmsgmdlcd/>
- <emailmsgsmlcd/>
- <emailtitl/>
- <delivedd/>
- <delivetm/>
- <wrtedt/>
- <savemode/>
- </perchgremail>
- </attr>
- <countnode>
- <bizplcecount/>
- <concount/>
- </countnode>
- </main>
- <send>
- <data>
- <cmpynm/>
- <cmpycd/>
- <healexamflag/>
- <rgstfromdd/>
- <rgsttodd/>
- <chgrnm/>
- </data>
- <bizplceinfo>
- <cmpycd/>
- <todd/>
- </bizplceinfo>
- <perchgrlist/>
- <perchgremail/>
- </send>
- <init>
- <A0068list>
- <cdid/>
- <cdnm/>
- </A0068list>
- </init>
- <temp>
- <perchgr>
- <seqno/>
- <reqdeptnm/>
- <reqdeptcd/>
- <reqempnm/>
- <reqempid/>
- <email/>
- <useyn/>
- </perchgr>
- </temp>
- </root>
- </instance>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRZBC00102" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRCHI00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data" resultref="/root/main/list/bizplcelist"/>
- <submission id="TRCHI00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/bizplceinfo" resultref="/root/main/list/conlist"/>
- <submission id="TRCHI00103" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/main/list/perchgrlist"/>
- <submission id="TRCHI00104" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/main/attr/perchgremail"/>
- <submission id="TXCHI00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../crm/crmweb/js/CCZ001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- // 사업장목록 및 계약목록 그리드를 초기화한다.
- model.removenodeset("/root/main/list/bizplcelist"); // 사업장정보리스트
- model.removenodeset("/root/main/list/conlist"); // 계약정보리스트
- model.removenodeset("/root/main/list/perchgrlist"); // 담당자정보리스트
- // 공통코드를 호출하여 자료(건진구분)를 가져온다
- zbcfGetCodeList( new Array("A0068"), new Array("/root/init/A0068list"), true );
- model.refresh();
-
- // 담당자 정보리스트를 가져온다.
- submit("TRCHI00103");
- submit("TRCHI00104");
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- // 사업장검색 팝업창 호출
- function fCmpyCodeList(receive_cmpycd_path, receive_cmpynm_path){
- setParameter("receive_cmpycd_path", receive_cmpycd_path);
- setParameter("receive_cmpynm_path", receive_cmpynm_path);
- modal("SPCHI00200");
- clearParameter("receive_cmpycd_path");
- clearParameter("receive_cmpynm_path");
- }
-
- // 사업체 목록조회
- function fGetCmpyList() {
- model.removeNodeset("/root/main/list/bizplcelist");
- submit("TRCHI00101");
-
- var grid_rows = grd_bizplcelist.rows-1;
- model.setvalue("/root/main/countnode/bizplcecount" , grid_rows);
- model.refresh();
- }
-
- // 사업체정보 상세
- function fGetBizPlceAttr() {
- var row = grd_bizplcelist.row;
- model.setValue("/root/send/bizplceinfo/cmpycd","");
- model.setValue("/root/send/bizplceinfo/todd","");
-
- // 선택한 사업체 리스트항목의 내용을 뿌려준다.
- var cmpycd = grd_bizplcelist.valueMatrix(row, grd_bizplcelist.colRef("cmpycd"));
- model.setValue("/root/main/attr/bizplceattr/cmpycd",cmpycd); // 사업체코드
- model.setValue("/root/send/bizplceinfo/cmpycd",cmpycd);
- var cmpynm = grd_bizplcelist.valueMatrix(row, grd_bizplcelist.colRef("cmpynm"));
- model.setValue("/root/main/attr/bizplceattr/cmpynm",cmpynm); // 사업장명
- var cmpyid = grd_bizplcelist.valueMatrix(row, grd_bizplcelist.colRef("cmpyid"));
- model.setValue("/root/main/attr/bizplceattr/cmpyid",cmpyid); // 사업자등록번호
- var prsdnm = grd_bizplcelist.valueMatrix(row, grd_bizplcelist.colRef("prsdnm"));
- model.setValue("/root/main/attr/bizplceattr/prsdnm",prsdnm); // 대표자명
- var cmpyno = grd_bizplcelist.valueMatrix(row, grd_bizplcelist.colRef("cmpyno"));
- model.setValue("/root/main/attr/bizplceattr/cmpyno",cmpyno); // 사업장기호
- var biztype = grd_bizplcelist.valueMatrix(row, grd_bizplcelist.colRef("biztype"));
- model.setValue("/root/main/attr/bizplceattr/biztype",biztype); // 업종
- var zipcd1 = grd_bizplcelist.valueMatrix(row, grd_bizplcelist.colRef("zipcd1"));
- model.setValue("/root/main/attr/bizplceattr/zipcd1",zipcd1); // 우편번호1
- var zipcd2 = grd_bizplcelist.valueMatrix(row, grd_bizplcelist.colRef("zipcd2"));
- model.setValue("/root/main/attr/bizplceattr/zipcd2",zipcd2); // 우편번호2
- var detladdr = grd_bizplcelist.valueMatrix(row, grd_bizplcelist.colRef("detladdr"));
- model.setValue("/root/main/attr/bizplceattr/detladdr",detladdr); // 상세주소
- var telno = grd_bizplcelist.valueMatrix(row, grd_bizplcelist.colRef("telno"));
- model.setValue("/root/main/attr/bizplceattr/telno",telno); // 전화번호
- var chrgnm = grd_bizplcelist.valueMatrix(row, grd_bizplcelist.colRef("chrgnm"));
- model.setValue("/root/main/attr/bizplceattr/chrgnm",chrgnm); // 담당자
- var mpphonno = grd_bizplcelist.valueMatrix(row, grd_bizplcelist.colRef("mpphonno"));
- model.setValue("/root/main/attr/bizplceattr/mpphonno",mpphonno); // 담당자휴대전화
- var emailid = grd_bizplcelist.valueMatrix(row, grd_bizplcelist.colRef("emailid"));
- model.setValue("/root/main/attr/bizplceattr/emailid",emailid); // 담당자이메일ID
- var emailtype = grd_bizplcelist.valueMatrix(row, grd_bizplcelist.colRef("emailtype"));
- model.setValue("/root/main/attr/bizplceattr/emailtype",emailtype); // 담당자이메일계정
-
- //model.refresh();
-
- // 사업장계약정보
- var todd = grd_bizplcelist.valueMatrix(row, grd_bizplcelist.colRef("todd"));
- model.setValue("/root/send/bizplceinfo/todd",todd); // 종료일자
- model.removeNodeset("/root/main/list/conlist");
- submit("TRCHI00102");
-
- var grid_rows1 = grd_coninfolst.rows-2;
- model.setvalue("/root/main/countnode/concount" , grid_rows1);
- model.refresh();
- }
-
- // 담당자의 변경사항(입력, 수정, 삭제)을 처리한다.
- function fSavePerChgr(grid){
- var wrtedt = model.getValue("/root/main/attr/perchgremail/wrtedt");
-
- if (wrtedt == "") {
- model.makeValue("/root/main/attr/perchgremail/savemode", "I");
- model.setValue("/root/main/attr/perchgremail/wrtedt", getCurrentDate()+getCurrentTime());
- } else if (wrtedt != "") {
- model.makeValue("/root/main/attr/perchgremail/savemode", "U");
- }
-
- model.setValue("/root/send/perchgrlist", grid.getUpdateData());
- model.copyNode( "/root/send/perchgremail", "/root/main/attr/perchgremail" );
-
- if(isRequiredControls("ipt_emailtitl", "ipt_emaillrgcd", "ipt_emailmdlcd", "ipt_emailsmlcd", "cmb_delivedd", "ipt_delivetm")) {
- messageBox("모든 필수값이 입력이","I002");
- if ( submit("TXCHI00101") ) {
- grid.clearStatus(); // submit() 성공하면 그리드의 i,u,d 상태 제거
- }
- submit("TRCHI00103");
- }
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,358;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption1" class="tit_1" style="left:0px; top:0px; width:145px; height:14px; ">건진 사업장관리</caption>
- </group>
- <group id="grp_johe" style="left:0px; top:23px; width:1195px; height:59px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:59px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption4" class="search_name" style="left:15px; top:9px; width:105px; height:17px; ">사 업 체 명 :</caption>
- <output id="opt_cmpynm" ref="/root/send/data/cmpynm" class="output_search" style="left:124px; top:9px; width:180px; height:19px; "/>
- <button id="btnicon_search1" class="icon_search" style="left:307px; top:10px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- // 사업장검색
- var receive_cmpynm_path = "/root/send/data/cmpynm";
- var receive_cmpycd_path = "/root/send/data/cmpycd";
- fCmpyCodeList(receive_cmpycd_path, receive_cmpynm_path);
- ]]>
- </script>
- </button>
- <output id="opt_cmpycd" ref="/root/send/data/cmpycd" class="output_search" style="left:323px; top:9px; width:97px; height:19px; "/>
- <caption id="caption5" class="search_name" style="left:465px; top:9px; width:105px; height:17px; ">건 진 구 분 :</caption>
- <select1 id="cmb_orddept" ref="/root/send/data/healexamflag" class="combo_search" appearance="minimal" editmode="search" style="left:573px; top:8px; width:140px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/A0068list/A0068">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <line id="line1" class="line_4" style="x1:1105px; y1:5px; x2:1105px; y2:51px; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1115px; top:15px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetCmpyList();
- ]]>
- </script>
- </button>
- <caption id="caption6" class="search_name" style="left:15px; top:33px; width:105px; height:17px; ">등 록 일 자 :</caption>
- <input id="input2" ref="/root/send/data/rgstfromdd" class="input_search" inputtype="date" style="left:123px; top:33px; width:120px; height:19px; "/>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- var rgstfromdd = model.getValue("/root/send/data/rgstfromdd");
- if (rgstfromdd != "" && !isValidDateTime(rgstfromdd,"YYYYMMDD")) {
- messageBox("날짜가 바르게 입력되지","E007");
- model.setFocus("ipt_rgstfromdd");
- }
- ]]>
- </script>
- <caption id="caption3" class="search_no_b" style="left:248px; top:33px; width:12px; height:17px; ">~</caption>
- <input id="input3" ref="/root/send/data/rgsttodd" class="input_search" inputtype="date" style="left:263px; top:33px; width:120px; height:19px; "/>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- var rgsttodd = model.getValue("/root/send/data/rgsttodd");
- if (rgsttodd != "" && !isValidDateTime(rgsttodd,"YYYYMMDD")) {
- messageBox("날짜가 바르게 입력되지","E007");
- model.setFocus("ipt_rgsttodd");
- }
- ]]>
- </script>
- <caption id="caption8" class="search_name" style="left:465px; top:33px; width:105px; height:17px; ">담 당 자 명 :</caption>
- <input id="input4" ref="/root/send/data/chgrnm" class="input_search" style="left:573px; top:34px; width:140px; height:19px; "/>
- </group>
- <group id="group2" style="left:0px; top:82px; width:1195px; height:197px; ">
- <caption id="caption9" class="tit_2" style="left:5px; top:10px; width:150px; height:13px; ">사업체 목록</caption>
- <caption id="caption35" style="left:1022px; top:27px; width:40px; height:17px; ">전체 :</caption>
- <output id="opt_bizplcecount" ref="/root/main/countnode/bizplcecount" appearance="output" style="left:1062px; top:26px; width:30px; height:17px; text-align:right; "/>
- <caption id="caption10" style="left:1095px; top:27px; width:30px; height:17px; ">건</caption>
- <button id="button3" class="btn2_letter4" style="left:1128px; top:25px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_bizplcelist.saveExcel(fileName, "SheetName", true, true, "", "", true);
- }
- ]]>
- </script>
- </button>
- <line id="line2" class="line_1" style="x1:0px; y1:51px; x2:1195px; y2:51px; "/>
- <datagrid id="grd_bizplcelist" nodeset="/root/main/list/bizplcelist" caption="^사업체명^사업체코드^사업장등록번호^대표자명^업종^대표전화^담당자휴대전화^담당자^^^" colsep="^" colwidth="0, 300, 150, 120, 150, 150, 100, 100, 75, 0, 0" ellipsis="true" explorerbar="sortshowmove" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:56px; width:1195px; height:141px; ">
- <col ref="todd" type="hidden"/>
- <col ref="cmpynm"/>
- <col ref="cmpycd"/>
- <col ref="cmpyid"/>
- <col ref="prsdnm"/>
- <col ref="biztype"/>
- <col ref="telno"/>
- <col ref="mpphonno"/>
- <col ref="chrgnm"/>
- <col ref="emailid" visibility="hidden"/>
- <col ref="emailtype" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- // 사업체상세정보
- if( grd_bizplcelist.isCell(event.target) && grd_bizplcelist.row >= grd_bizplcelist.fixedRows ){
- fGetBizPlceAttr(); // 사업체 정보조회
- }
- ]]>
- </script>
- </datagrid>
- </group>
- <group id="group3" style="left:0px; top:279px; width:510px; height:202px; ">
- <caption id="caption11" class="tit_2" style="left:5px; top:10px; width:90px; height:13px; ">사업체정보</caption>
- <button id="button39" class="btn3_letter10" style="left:200px; top:1px; width:152px; height:22px; ">
- <caption>담당자에게SMS발송</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var recvrnm = model.getValue("/root/main/attr/bizplceattr/chrgnm");
- var recvrtelno = model.getValue("/root/main/attr/bizplceattr/mpphonno");
- cczfSMSTrsmOpen("text","","","",recvrnm,recvrtelno); // SMS메시지 전송(그리드/텍스트구분,그리드명,수신자명col(grid),수신자휴대폰번호col(grid),수신자명(text),수신자휴대폰번호(text))
- ]]>
- </script>
- </button>
- <button id="button1" class="btn3_letter10" style="left:355px; top:1px; width:152px; height:22px; ">
- <caption>담당자에게Email발송</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var emailid = model.getValue("/root/main/attr/bizplceattr/emailid");
- var emailtype = model.getValue("/root/main/attr/bizplceattr/emailtype");
-
- if (emailid != "" && emailtype != "") {
- var recvremail = emailid + "@" + emailtype
- cczfEmailTrsmOpen("text","","",recvremail); // Email 발송
- } else {
- messageBox("전송할 Email주소가","C002");
- }
- ]]>
- </script>
- </button>
- <line id="line3" class="line_1" style="x1:0px; y1:23px; x2:510px; y2:23px; "/>
- <line id="line4" class="line_2" style="x1:0px; y1:51px; x2:510px; y2:51px; "/>
- <caption id="cap_msgmdlcd" class="cell_1" style="left:0px; top:28px; width:105px; height:23px; text-align:center; ">사업장명</caption>
- <output id="output1" ref="/root/main/attr/bizplceattr/cmpycd" class="output_fix" maxlength="20" style="left:108px; top:29px; width:144px; height:19px; "/>
- <output id="output2" ref="/root/main/attr/bizplceattr/cmpynm" class="output_fix" maxlength="20" style="left:255px; top:29px; width:252px; height:19px; "/>
- <line id="line5" class="line_2" style="x1:0px; y1:76px; x2:510px; y2:76px; "/>
- <caption id="caption16" class="cell_1" style="left:0px; top:53px; width:105px; height:23px; text-align:center; ">사업자등록번호</caption>
- <output id="opt_cmpyid" ref="/root/main/attr/bizplceattr/cmpyid" class="output_fix" maxlength="20" style="left:108px; top:54px; width:144px; height:19px; "/>
- <caption id="caption17" class="cell_1" style="left:255px; top:53px; width:105px; height:23px; text-align:center; ">대표자명</caption>
- <output id="opt_prsdnm" ref="/root/main/attr/bizplceattr/prsdnm" class="output_fix" maxlength="20" style="left:363px; top:54px; width:144px; height:19px; "/>
- <line id="line6" class="line_2" style="x1:0px; y1:101px; x2:510px; y2:101px; "/>
- <caption id="caption12" class="cell_1" style="left:0px; top:78px; width:105px; height:23px; text-align:center; ">사업장기호</caption>
- <output id="opt_cmpyno" ref="/root/main/attr/bizplceattr/cmpyno" class="output_fix" maxlength="20" style="left:108px; top:79px; width:144px; height:19px; "/>
- <line id="line7" class="line_2" style="x1:0px; y1:126px; x2:510px; y2:126px; "/>
- <caption id="caption13" class="cell_1" style="left:255px; top:78px; width:105px; height:23px; text-align:center; ">업종</caption>
- <output id="opt_biztype" ref="/root/main/attr/bizplceattr/biztype" class="output_fix" maxlength="20" style="left:363px; top:79px; width:144px; height:19px; "/>
- <line id="line8" class="line_2" style="x1:0px; y1:151px; x2:510px; y2:151px; "/>
- <caption id="caption14" class="cell_1" style="left:0px; top:103px; width:105px; height:23px; text-align:center; ">우편번호</caption>
- <output id="opt_zipcd1" ref="/root/main/attr/bizplceattr/zipcd1" class="output_fix" maxlength="20" style="left:108px; top:104px; width:34px; height:19px; "/>
- <output id="opt_zipcd2" ref="/root/main/attr/bizplceattr/zipcd2" class="output_fix" maxlength="20" style="left:145px; top:104px; width:34px; height:19px; "/>
- <output id="opt_detladdr" ref="/root/main/attr/bizplceattr/detladdr" class="output_fix" maxlength="20" style="left:182px; top:104px; width:325px; height:19px; "/>
- <line id="line9" class="line_2" style="x1:0px; y1:176px; x2:510px; y2:176px; "/>
- <caption id="caption15" class="cell_1" style="left:0px; top:128px; width:105px; height:23px; text-align:center; ">전화번호</caption>
- <output id="opt_telno" ref="/root/main/attr/bizplceattr/telno" class="output_fix" maxlength="20" style="left:108px; top:129px; width:144px; height:19px; "/>
- <caption id="caption18" class="cell_1" style="left:0px; top:153px; width:105px; height:23px; text-align:center; ">담당자</caption>
- <output id="opt_chgrnm" ref="/root/main/attr/bizplceattr/chrgnm" class="output_fix" maxlength="20" style="left:108px; top:154px; width:144px; height:19px; "/>
- <caption id="caption19" class="cell_1" style="left:254px; top:153px; width:105px; height:23px; text-align:center; ">담당자휴대폰</caption>
- <output id="opt_mpphonno" ref="/root/main/attr/bizplceattr/mpphonno" class="output_fix" maxlength="20" style="left:363px; top:154px; width:144px; height:19px; "/>
- <caption id="caption20" class="cell_1" style="left:0px; top:178px; width:105px; height:23px; text-align:center; ">담당자이메일</caption>
- <output id="opt_emailid" ref="/root/main/attr/bizplceattr/emailid" class="output_fix" maxlength="20" style="left:108px; top:179px; width:144px; height:19px; "/>
- <caption id="caption29" class="search_no_b" style="left:252px; top:179px; width:15px; height:17px; ">@</caption>
- <output id="opt_emailtype" ref="/root/main/attr/bizplceattr/emailtype" class="output_fix" maxlength="20" style="left:267px; top:179px; width:144px; height:19px; "/>
- <line id="line12" class="line_3" style="x1:0px; y1:201px; x2:510px; y2:201px; "/>
- </group>
- <group id="group4" style="left:515px; top:279px; width:680px; height:252px; ">
- <caption id="caption2" class="tit_2" style="left:5px; top:10px; width:120px; height:13px; ">건진계약담당자</caption>
- <button id="button4" class="btn5_letter5" style="left:602px; top:2px; width:75px; height:19px; ">
- <caption>담당자저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( grd_bizplcelist.isCell(event.target) && grd_bizplcelist.row >= grd_bizplcelist.fixedRows ){
- fSavePerChgr(grd_perchgrinfo);
- } else {
- messageBox("선택된 사업장이 없어 담당자 저장을 할 수","I004");
- }
- ]]>
- </script>
- </button>
- <line id="line16" class="line_1" style="x1:0px; y1:23px; x2:680px; y2:23px; "/>
- <line id="line10" class="line_2" style="x1:0px; y1:151px; x2:680px; y2:151px; "/>
- <caption id="caption7" class="cell_1" style="left:0px; top:28px; width:105px; height:123spx; text-align:center; ">담당자정보</caption>
- <datagrid id="grd_perchgrinfo" nodeset="/root/main/list/perchgrlist" caption="^부서명^부서코드^담당자^담당자ID^이메일^사용여부" colwidth="0, 120, 80, 70, 80, 125, 50" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" tooltip="true" style="left:108px; top:29px; width:569px; height:95px; ">
- <col ref="seqno" visibility="hidden"/>
- <col ref="reqdeptnm"/>
- <col ref="reqdeptcd"/>
- <col ref="reqempnm"/>
- <col ref="reqempid"/>
- <col ref="email" type="input"/>
- <col ref="useyn" type="combo">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </col>
- </datagrid>
- <output id="opt_reqdeptnm" ref="/root/temp/perchgr/reqdeptnm" class="output_fix" appearance="output" style="left:108px; top:129px; width:110px; height:19px; "/>
- <output id="opt_reqdeptcd" ref="/root/temp/perchgr/reqdeptcd" class="output_fix" appearance="output" style="left:221px; top:129px; width:110px; height:19px; "/>
- <button id="button2" class="icon_search" style="left:334px; top:130px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( model.getValue("/root/temp/perchgr/reqempid") != "" ){
- var search_condition = "empid";
- var search_term = model.getValue("/root/temp/perchgr/reqempid");
- } else if ( model.getValue("/root/temp/perchgr/reqdeptcd") != "" ){
- var search_condition = "deptcd";
- var search_term = model.getValue("/root/temp/perchgr/reqdeptcd");
- } else {
- var search_condition = "empid";
- var search_term = model.getValue("/root/temp/perchgr/reqempid");
- }
-
- var receive_empid_path = "/root/temp/perchgr/reqempid";
- var receive_empnm_path = "/root/temp/perchgr/reqempnm";
- var receive_deptcd_path = "/root/temp/perchgr/reqdeptcd";
- var receive_deptnm_path = "/root/temp/perchgr/reqdeptnm";
-
- setParameter("search_condition", search_condition);
- setParameter("search_term", search_term);
- setParameter("receive_empid_path", receive_empid_path);
- setParameter("receive_empnm_path", receive_empnm_path);
- setParameter("receive_deptcd_path", receive_deptcd_path);
- setParameter("receive_deptnm_path", receive_deptnm_path);
-
- modal("SPCCM00400")
-
- clearParameter("search_condition");
- clearParameter("search_term");
- clearParameter("receive_empid_path");
- clearParameter("receive_empnm_path");
- clearParameter("receive_deptcd_path");
- clearParameter("receive_deptnm_path");
- ]]>
- </script>
- </button>
- <output id="opt_reqempnm" ref="/root/temp/perchgr/reqempnm" class="output_fix" appearance="output" style="left:353px; top:129px; width:110px; height:19px; "/>
- <output id="opt_reqempid" ref="/root/temp/perchgr/reqempid" class="output_fix" appearance="output" style="left:466px; top:129px; width:110px; height:19px; "/>
- <button id="button5" class="btn2_letter2" style="left:579px; top:129px; width:42px; height:19px; ">
- <caption>추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 검색한 담당자정보를 그리드에 넣어준다.
- var reqdeptnm = model.getValue("/root/temp/perchgr/reqdeptnm");
- var reqdeptcd = model.getValue("/root/temp/perchgr/reqdeptcd");
- var reqempnm = model.getValue("/root/temp/perchgr/reqempnm");
- var reqempid = model.getValue("/root/temp/perchgr/reqempid");
-
- if (reqdeptnm != "" && reqdeptcd != "" && reqempnm != "" && reqempid != "") {
- grd_perchgrinfo.additem();
- model.copyNode("/root/main/list/perchgrlist[" + grd_perchgrinfo.row + " ]", "/root/temp/perchgr");
- model.resetInstanceNode("/root/temp/perchgr");
- model.refresh();
- } else {
- messageBox("담당자를 ","C002");
- }
- ]]>
- </script>
- </button>
- <button id="button6" class="btn2_letter2" style="left:624px; top:129px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 선택한 진료과,진료의(내원)그리드를 삭제한다.
- var cur_row = grd_perchgrinfo.row; // 행 번호 가져오기
- //grd_perchgrinfo.deleteRow(grd_perchgrinfo.row);
- //grd_perchgrinfo.refresh();
- grd_perchgrinfo.addStatus(cur_row, "delete");
- ]]>
- </script>
- </button>
- <line id="line11" class="line_2" style="x1:0px; y1:176spx; x2:680px; y2:176px; "/>
- <caption id="cap_emailtitl" class="cell_1" style="left:0px; top:153px; width:105px; height:23px; text-align:center; ">Email설정</caption>
- <input id="ipt_emailtitl" ref="/root/main/attr/perchgremail/emailtitl" disabled="true" style="left:108px; top:154px; width:400px; height:19px; "/>
- <input id="ipt_emailsmlcd" ref="/root/main/attr/perchgremail/emailmsgsmlcd" maxlength="10" style="left:511px; top:154px; width:79px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_emailsrch", "DOMActivate");
- ]]>
- </script>
- </input>
- <input id="ipt_emailmdlcd" ref="/root/main/attr/perchgremail/emailmsgmdlcd" visibility="hidden" style="left:530px; top:154px; width:40px; height:19px; "/>
- <input id="ipt_emaillrgcd" ref="/root/main/attr/perchgremail/emailmsglrgcd" visibility="hidden" style="left:550px; top:154px; width:40px; height:19px; "/>
- <button id="btn_emailsrch" class="icon_search" style="left:595px; top:154px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var search_condition = "E";
- var search_term = model.getValue("/root/main/attr/perchgremail/emailmsgsmlcd");
- var receive_msgsmlcd_path = "/root/main/attr/perchgremail/emailmsgsmlcd";
- var receive_msgmdlcd_path = "/root/main/attr/perchgremail/emailmsgmdlcd";
- var receive_msglrgcd_path = "/root/main/attr/perchgremail/emailmsglrgcd";
- var receive_emailtitl_path = "/root/main/attr/perchgremail/emailtitl";
-
- cczfOpenSelectMsg(search_condition, search_term, receive_msgsmlcd_path, receive_msgmdlcd_path, receive_msglrgcd_path, "", receive_emailtitl_path);
- ]]>
- </script>
- </button>
- <caption id="cap_delivedd" class="cell_1" style="left:0px; top:178px; width:105px; height:23px; text-align:center; ">발송일</caption>
- <select1 id="cmb_delivedd" ref="/root/main/attr/perchgremail/delivedd" class="combo_default" appearance="minimal" style="left:108px; top:179px; width:150px; height:19px; ">
- <choices>
- <item>
- <label>당일</label>
- <value>0</value>
- </item>
- <item>
- <label>하루전</label>
- <value>1</value>
- </item>
- <item>
- <label>이틀전</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <input id="ipt_delivetm" ref="/root/main/attr/perchgremail/delivetm" class="input_essential" navindex="1" format="hh:nn" style="left:261px; top:179px; width:120px; height:19px; "/>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- var check_tm = model.getValue("/root/main/attr/perchgremail/delivetm");
- if (check_tm != "" && !isValidDateTime(check_tm,"hhmm")) {
- messageBox("시간이 바르게 입력되지","E007");
- model.resetInstanceNode("/root/main/attr/perchgremail/delivetm");
- model.refresh();
- model.setFocus("ipt_delivetm");
- }
- ]]>
- </script>
- <caption id="caption23" style="left:384px; top:179px; width:80px; height:17px; ">에 발송</caption>
- <line id="line17" class="line_3" style="x1:0px; y1:201px; x2:680px; y2:201px; "/>
- </group>
- <group id="group5" style="left:0px; top:481px; width:1195px; height:299px; ">
- <caption id="caption56" class="tit_2" style="left:5px; top:10px; width:150px; height:13px; ">계약 목록</caption>
- <caption id="caption57" style="left:1022px; top:27px; width:40px; height:17px; ">전체 :</caption>
- <output id="opt_concount" ref="/root/main/countnode/concount" appearance="output" style="left:1062px; top:26px; width:30px; height:17px; text-align:right; "/>
- <caption id="caption58" style="left:1095px; top:27px; width:30px; height:17px; ">건</caption>
- <button id="button8" class="btn2_letter4" style="left:1128px; top:25px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_bizplcelist.saveExcel(fileName, "SheetName", true, true, "", "", true);
- }
- ]]>
- </script>
- </button>
- <line id="line22" class="line_1" style="x1:0px; y1:51px; x2:1195px; y2:51px; "/>
- <datagrid id="grd_coninfolst" nodeset="/root/main/list/conlist" caption="계약일자^건진기간^건진기간^계약종류^건진금액^건진금액^확정금액^확정금액^청구방법^담당자명^담당자전화^선택검사^추가검사|계약일자^From^To^계약종류^남^여^남^여^청구방법^담당자명^담당자전화^선택검사^추가검사" colsep="^" colwidth="100, 70, 70, 100, 85, 85, 85, 85, 100, 100, 110, 90, 65" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:56px; width:1195px; height:243px; ">
- <col ref="condd" format="yyyy-mm-dd"/>
- <col ref="confromdd" format="yyyy-mm-dd"/>
- <col ref="contodd" format="yyyy-mm-dd"/>
- <col disabled="true" ref="contype" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/contypelst/A0113">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="mantotamt" format="#,###"/>
- <col ref="womtotamt" format="#,###"/>
- <col ref="mancnfmamt" format="#,###"/>
- <col ref="womcnfmamt" format="#,###"/>
- <col disabled="true" ref="uncocd" type="combo"/>
- <col ref="chrgnm"/>
- <col ref="chrgtelno"/>
- <col checkvalue="Y,N" disabled="true" ref="choitestyn" type="checkbox"/>
- <col checkvalue="Y,N" disabled="true" ref="addtestyn" type="checkbox"/>
- </datagrid>
- </group>
- </xhtml:body>
- </xhtml:html>
|