123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415 |
- <?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>
- <cond>
- <instcd/>
- <acptno/>
- <prcsstatcd>0</prcsstatcd>
- <suggempid/>
- <suggemphngnm/>
- <suggempdeptcd/>
- <suggempdeptnm/>
- <suggempcntctel/>
- <suggempemail/>
- <acptdd/>
- <suggkindcd/>
- <subj/>
- <prescond/>
- <suggplan/>
- <refcnt/>
- <replcnt/>
- <dcustretdd/>
- <dcusrsltcd/>
- <perexecid/>
- <perexechngnm/>
- <perexecdeptcd/>
- <dcusexecdeptnm/>
- <dcusexecchgremail/>
- <dcuscnts/>
- <exectretdd/>
- <execcnts/>
- <delyn/>
- <reqcnt/>
- <repcnt/>
- <rereqcnt/>
- <rerepcnt/>
- <dcustretdd/>
- <dcuscnts/>
- <exectretdd/>
- <perchgrhngnm/>
- </cond>
- </main>
- <init>
- <suggkind>
- <row>
- <cdid>01</cdid>
- <cdnm>고객서비스</cdnm>
- </row>
- <row>
- <cdid>02</cdid>
- <cdnm>기획 및 홍보</cdnm>
- </row>
- <row>
- <cdid>03</cdid>
- <cdnm>시설 및 환경</cdnm>
- </row>
- <row>
- <cdid>04</cdid>
- <cdnm>전산프로그램</cdnm>
- </row>
- <row>
- <cdid>05</cdid>
- <cdnm>프로세스 및 비용절감</cdnm>
- </row>
- <row>
- <cdid>06</cdid>
- <cdnm>기타</cdnm>
- </row>
- </suggkind>
- </init>
- <tmp>
- <userinfo/>
- <userid/>
- <cond/>
- <attach/>
- <acptno/>
- </tmp>
- <send>
- <cond>
- <attach>
- <attf>
- <file/>
- <attfilepath/>
- <seq/>
- </attf>
- </attach>
- <condition/>
- <temp>
- <tmp/>
- </temp>
- </cond>
- </send>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- <submission id="TRMQK00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/tmp" resultref="/root/tmp/userinfo"/>
- <submission id="TXMQO00100" mediatype="multipart/form-data" method="form-data-post" ref="/root/send/cond" resultref="/root/main/cond"/>
- <submission id="TRMQO00100" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/cond" resultref="/root/tmp/cond"/>
- <submission id="TRMQO00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/cond/acptno" resultref="/root/tmp/acptno"/>
- </model>
- <script type="javascript" src="../../../emr/qiweb/js/SMMQR00000.js"/>
- <script type="javascript" src="../../../emr/qiweb/js/SMMQO00100.js"/>
- <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/commonweb/js/stringHelper.js"/>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:124px; height:14px; ">교직원제안접수</caption>
- </group>
- <group id="grp_propos" style="left:0px; top:20px; width:1195px; height:694px; ">
- <output id="output2" ref="/root/main/cond/acptdd" class="output_fix" format="yyyy-mm-dd" appearance="output" style="left:93px; top:131px; width:257px; height:19px; "/>
- <caption id="caption1" class="tit_2" style="left:5px; top:10px; width:111px; height:14px; ">제안기본정보</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
- <line id="line2" class="line_2" style="x1:0px; y1:52px; x2:1194px; y2:52px; "/>
- <line id="line3" class="line_2" style="x1:0px; y1:76px; x2:1194px; y2:76px; "/>
- <output id="input41" ref="/root/main/cond/suggemphngnm" class="output_fix" appearance="output" style="left:93px; top:55px; width:160; height:19px; "/>
- <line id="line6" class="line_3" style="x1:0px; y1:101px; x2:1194px; y2:101px; "/>
- <output id="output24" ref="/root/main/cond/acptno" class="output_fix" appearance="output" style="left:93px; top:31px; width:160px; height:19px; "/>
- <caption id="caption12" class="tit_2" style="left:5px; top:110px; width:111px; height:14px; ">제안내용 등록</caption>
- <line id="line4" class="line_1" style="x1:0px; y1:125px; x2:1194px; y2:125px; "/>
- <line id="line5" class="line_2" style="x1:0px; y1:152px; x2:1194px; y2:152px; "/>
- <line id="line7" class="line_2" style="x1:0px; y1:176px; x2:1194px; y2:176px; "/>
- <line id="line8" class="line_2" style="x1:0px; y1:324px; x2:1194px; y2:324px; "/>
- <line id="line9" class="line_2" style="x1:0px; y1:476px; x2:1194px; y2:476px; "/>
- <caption id="caption15" class="cell_1" style="left:0px; top:479px; width:90px; height:213px; ">첨부파일</caption>
- <line id="line10" class="line_3" style="x1:0px; y1:692px; x2:1194px; y2:692px; "/>
- <output id="output4" ref="/root/main/cond/replcnt" class="output_fix" appearance="output" style="left:329px; top:31px; width:45px; height:19px; ">
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var acptno = model.getValue("/root/main/cond/acptno");
-
- setParameter("acptno", acptno);
-
- if (acptno != "") {
- modal("SMMQO00200", "1", "", "");
- model.removenode("/root/tmp/replcnt/replcnt");
- submit("TRMQO00101"); //댓글수 가져오는 submit
- model.setValue("/root/main/cond/replcnt", model.getValue("/root/tmp/replcnt/replcnt"));
- model.refresh();
- } else {
- return;
- }
- ]]>
- </script>
- </output>
- <caption id="caption16" class="cell_1" style="left:257px; top:30px; width:70; height:23px; ">
- <![CDATA[댓글수]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var acptno = model.getValue("/root/main/cond/acptno");
-
- setParameter("acptno", acptno);
-
- if (acptno != "") {
- modal("SMMQO00200", "1", "", "");
- fInitialize();
- } else {
- return;
- }
- ]]>
- </script>
- </caption>
- <output id="output6" ref="/root/main/cond/reqcnt" class="output_fix" appearance="output" style="left:450px; top:31px; width:45px; height:19px; "/>
- <caption id="caption18" class="cell_1" style="left:378px; top:30px; width:70px; height:23px; ">의견요청</caption>
- <caption id="caption19" class="cell_1" style="left:498px; top:30px; width:70px; height:23px; ">회신</caption>
- <caption id="caption17" class="cell_1" style="left:618px; top:29px; width:70px; height:23px; ">의견재요청</caption>
- <output id="output5" ref="/root/main/cond/repcnt" class="output_fix" appearance="output" style="left:570px; top:31px; width:45px; height:19px; "/>
- <output id="output7" ref="/root/main/cond/exectretdd" class="output_fix" format="yyyy-mm-dd" appearance="output" style="left:1098px; top:31px; width:90px; height:19px; "/>
- <output id="output8" ref="/root/main/cond/rereqcnt" class="output_fix" appearance="output" style="left:690px; top:31px; width:47px; height:19px; "/>
- <output id="output9" ref="/root/main/cond/dcustretdd" class="output_fix" format="yyyy-mm-dd" appearance="output" style="left:932px; top:31px; width:90px; height:19px; "/>
- <output id="output10" ref="/root/main/cond/rerepcnt" class="output_fix" appearance="output" style="left:812px; top:31px; width:45px; height:19px; "/>
- <caption id="caption20" class="cell_1" style="left:1025px; top:30px; width:70px; height:23px; ">실행일자</caption>
- <caption id="caption21" class="cell_1" style="left:740px; top:30px; width:70px; height:23px; ">재회신</caption>
- <caption id="caption22" class="cell_1" style="left:860px; top:30px; width:70px; height:23px; ">심의일자</caption>
- <output id="output1" ref="/root/main/cond/suggempdeptnm" class="output_fix" appearance="output" style="left:257px; top:55px; width:480px; height:19px; "/>
- <button id="button4" class="btn5_letter2" navindex="9" style="left:605px; top:520px; width:42px; height:19px; ">
- <caption>다운</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var filepath = model.getValue("/root/send/cond/attach/attf["+grd_attach.row+"]/attfilepath");
- var filenm = model.getValue("/root/send/cond/attach/attf["+grd_attach.row+"]/file");
- if(filepath != ""){
- var localfile = window.fileDialog("save","|",false,filenm,"","All Files(*.*)|*.*");
- if (localfile != "") {
- model.download(getActionURL("TRMQK00102")+"&filepath="+filepath,localfile);
- var rtn = messageBox("파일을", "Q004");
- if( rtn == 6 ) {
- window.exec(localfile);
- }
- }
- }
- ]]>
- </script>
- </button>
- <button id="button5" class="btn2_letter2" navindex="8" style="left:605px; top:500px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- deleteSelectedRows(grd_attach, true);
- ]]>
- </script>
- </button>
- <button id="button6" class="btn2_letter2" navindex="7" style="left:605px; top:480px; width:42px; height:19px; ">
- <caption>찾기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var maxsize = upload1.attribute("filesize");
-
- files = window.fileDialog("open", "|", true);
- filelist = files.split("|");
- if(files != ""){
- for(var i = 0 ; i < filelist.length ; i++ ) {
- grd_attach.addRow(false);
- grd_attach.valueMatrix(grd_attach.rows-1, 1) = filelist[i];
- if (!checkFileSize(upload1)){
- grd_attach.removeItem();
- messageBox("파일 크기가 최대치("+maxsize+"Byte)를", "E003");
- }
- }
- }
- model.setValue("/root/send/cond/temp/tmp", getGridUpdateData(grd_attach));
-
- ]]>
- </script>
- </button>
- <caption id="caption2" class="cell_1" style="left:0px; top:130px; width:90px; height:23px; ">접수일자</caption>
- <caption id="caption11" class="cell_1" style="left:0px; top:54px; width:90px; height:23px; ">제안자</caption>
- <caption id="caption7" class="cell_1" style="left:0px; top:30px; width:90px; height:23px; ">접수번호</caption>
- <datagrid id="grd_attach" nodeset="/root/send/cond/attach/attf" caption="파일명^^seq" colwidth="525, 10, 100" defaultrows="0" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:93px; top:479px; width:507px; height:212px; ">
- <col ref="file"/>
- <col ref="attfilepath" visibility="hidden"/>
- <col ref="seq" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
-
- if(grd_attach.row> 0){
- var filepath = model.getValue("/root/send/cond/attach/attf["+grd_attach.row+"]/attfilepath");
- var filenm = model.getValue("/root/send/cond/attach/attf["+grd_attach.row+"]/file");
- if(filepath != ""){
- var localfile = window.fileDialog("save","|",false,filenm,"","All Files(*.*)|*.*");
- if (localfile != "") {
- model.download(getActionURL("TRMQK00102")+"&filepath="+filepath,localfile);
- var rtn = messageBox("파일을", "Q004");
- if( rtn == 6 ) {
- window.exec(localfile);
- }
- }
- }
- }
- ]]>
- </script>
- </datagrid>
- <upload id="upload1" nodeset="/root/send/cond/attach/attf/file" ext="zip" filecount="5" filesize="10485760" validate="true" style="left:655px; top:480px; width:100px; height:20px; "/>
- <input id="ipt_suggempcntctel" ref="/root/main/cond/suggempcntctel" class="input_essential" navindex="1" maxlength="20" _required="true" style="left:93px; top:79px; width:160px; height:19px; "/>
- <caption id="cap_suggempcntctel" class="cell_1" style="left:0px; top:78px; width:90px; height:23px; ">연락처</caption>
- <input id="ipt_suggempemail" ref="/root/main/cond/suggempemail" class="input_essential" navindex="2" maxlength="50" _required="true" style="left:350px; top:79px; width:387px; height:19px; "/>
- <caption id="cap_suggempemail" class="cell_1" style="left:257px; top:78px; width:90px; height:23px; ">메일주소</caption>
- <select1 id="cmb_suggkindcd" ref="/root/main/cond/suggkindcd" class="combo_essential" navindex="3" appearance="minimal" _required="true" style="left:445px; top:131px; width:217px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/suggkind/row">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_suggkindcd" class="cell_1" style="left:353px; top:130px; width:90px; height:23px; ">제안유형</caption>
- <input id="ipt_subj" ref="/root/main/cond/subj" class="input_essential" navindex="4" maxlength="40" _required="true" style="left:93px; top:155px; width:1089px; height:19px; "/>
- <caption id="cap_subj" class="cell_1" style="left:0px; top:154px; width:90px; height:23px; ">제목</caption>
- <textarea id="tar_prescond" ref="/root/main/cond/prescond" class="input_essential" navindex="5" maxlength="1300" _required="true" style="left:93px; top:179px; width:1090px; height:142px; "/>
- <caption id="cap_prescond" class="cell_1" style="left:0px; top:178px; width:90px; height:147px; ">
- <![CDATA[제안내용
- 현황]]>
- </caption>
- <textarea id="tar_suggplan" ref="/root/main/cond/suggplan" class="input_essential" navindex="6" maxlength="1300" _required="true" style="left:93px; top:327px; width:1090px; height:147px; "/>
- <caption id="cap_suggplan" class="cell_1" style="left:0px; top:326px; width:90px; height:152px; ">
- <![CDATA[제안내용
- 대안]]>
- </caption>
- <textarea id="txt_dcuscnts" ref="/root/main/cond/dcuscnts" visibility="hidden" editable="false" style="left:93px; top:612px; width:507px; height:80px; "/>
- <caption id="cap_dcuscnts" class="cell_1" visibility="hidden" style="left:0px; top:610px; width:90px; height:82px; ">심의내용</caption>
- <group id="grp_exec" visibility="hidden" overflow="hidden" style="left:660px; top:480px; width:525px; height:205px; ">
- <caption id="caption3" class="cell_1" style="left:0px; top:0px; width:115px; height:35px; ">실행일자</caption>
- <caption id="caption4" class="cell_1" style="left:265px; top:0px; width:115px; height:35px; ">실행자</caption>
- <caption id="caption5" class="cell_1" style="left:0px; top:37px; width:115px; height:80px; ">실행내역</caption>
- <caption id="caption8" class="cell_1" style="left:0px; top:121px; width:115px; height:90px; ">
- <![CDATA[제안담당자
- 확인내역]]>
- </caption>
- <caption id="cap_checkcnts" style="left:120px; top:121px; width:390px; height:80px; border-color:#999999; border-width:1; border-style:solid; "/>
- <caption id="cap_execcnts" style="left:120px; top:37px; width:390px; height:80px; border-color:#999999; border-width:1; border-style:solid; "/>
- <caption id="cap_exectretdd" format="yyyy-mm-dd" style="left:120px; top:4px; width:140px; height:25px; border-color:#999999; border-width:1; border-style:solid; "/>
- <caption id="cap_perexechngnm" style="left:385px; top:4px; width:125px; height:25px; border-color:#999999; border-width:1; border-style:solid; "/>
- </group>
- </group>
- <button id="btn_save" class="btn4_letter2" disabled="false" navindex="11" visibility="visible" style="left:845px; top:715px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(messageBox("", "Q002") == "7"){
- return false;
- }
- model.setValue("/root/main/cond/prcsstatcd", "1"); //1 : 저장
- fSave();
- ]]>
- </script>
- </button>
- <button id="btn_repl" class="btn4_letter2" disabled="false" navindex="14" visibility="visible" style="left:1015px; top:715px; width:56px; height:22px; ">
- <caption>회신</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var acptno = model.getValue("/root/main/cond/acptno");
-
- setParameter("ano", acptno);
-
- if (acptno != "") {
- modal("SMMQO00500", "1", "", "");
- } else {
- return;
- }
- ]]>
- </script>
- </button>
- <button id="btn_addrepl" class="btn4_letter2" disabled="false" navindex="13" visibility="visible" style="left:959px; top:715px; width:56px; height:22px; ">
- <caption>댓글</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var acptno = model.getValue("/root/main/cond/acptno");
-
- setParameter("acptno", acptno);
- if(getUserId() == model.getValue("/root/main/cond/suggempid")){
- return;
- }
- else{
- if (acptno != "") {
- modal("SMMQO00200", "1", "", "");
- fInitialize();
- } else {
- return;
- }
- }
- ]]>
- </script>
- </button>
- <button id="btn_exec" class="btn4_letter2" disabled="false" navindex="15" visibility="visible" style="left:1072px; top:715px; width:56px; height:22px; ">
- <caption>실행</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var acptno = model.getValue("/root/main/cond/acptno");
-
- setParameter("ano", acptno);
-
- if (acptno != "") {
- modal("SMMQO00500", "1", "", "");
- } else {
- return;
- }
- ]]>
- </script>
- </button>
- <button id="btn_del" class="btn4_letter2" disabled="false" navindex="12" visibility="visible" style="left:902px; top:715px; width:56px; height:22px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(messageBox("", "Q001") == "7"){
-
- return false;
- }
- model.setValue("/root/main/cond/delyn", "Y"); //1 : 삭제
- fSave();
-
-
- messageBox("삭제 ", "I002");
- if(isPopup() == true){
- window.close();
- }
- else{
- window.reload();
-
- }
- ]]>
- </script>
- </button>
- <button id="btn_prnt" class="btn6_letter2" disabled="false" navindex="10" visibility="visible" disable.background-image="../../../com/commonweb/images/dis_btn6_letter2.gif" style="left:788px; top:715px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn6_letter2.gif; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- SetRepDetlInfo(); // Rexpert 출력 함수
- ]]>
- </script>
- </button>
- <button id="btn_close" class="btn4_letter2" disabled="false" navindex="15" visibility="visible" style="left:1130px; top:715px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|