123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431 |
- <?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>QI활동 보고서</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <cond>
- <instcd/>
- <acptno/>
- <prcsstagecd/>
- <prcsstatcd/>
- <prcsstat/>
- <planrgstrid/>
- <planrgstrhngnm/>
- <planrgstrdeptcd/>
- <planrgstrdeptnm/>
- <planrgstrdd/>
- <subj/>
- <majrdeptcd/>
- <majrdeptnm/>
- <subdeptnm/>
- <chfdeptcd/>
- <chfdeptnm/>
- <chfid/>
- <chfhngnm/>
- <chfcntctel/>
- <chfceltel/>
- <chfemail/>
- <staffdeptcd/>
- <staffdeptnm/>
- <staffid/>
- <staffhngnm/>
- <staffcntctel/>
- <staffceltel/>
- <staffemail/>
- <inspindex1/>
- <inspindex1prestindex/>
- <inspindex1prestunitcd/>
- <inspindex1goalindex/>
- <inspindex1goalunitcd/>
- <inspindex2/>
- <inspindex2prestindex/>
- <inspindex2prestunitcd/>
- <inspindex2goalindex/>
- <inspindex2goalunitcd/>
- <maincas1/>
- <prestindex1/>
- <unitcd1/>
- <goalindex1/>
- <goalunitcd1/>
- <maincas2/>
- <prestindex2/>
- <unitcd2/>
- <goalindex2/>
- <goalunitcd2/>
- <maincas3/>
- <prestindex3/>
- <unitcd3/>
- <goalindex3/>
- <goalunitcd3/>
- <maincas4/>
- <prestindex4/>
- <unitcd4/>
- <goalindex4/>
- <goalunitcd4/>
- <feedbackcnts/>
- <attfile/>
- <attfilepath/>
- <rgstrid/>
- <rgstrhngnm/>
- <rgstrdeptcd/>
- <rgstrdeptnm/>
- <rgstrdd/>
- <saveprcsstagecd/>
- <flag>Q</flag>
- </cond>
- </main>
- <tmp>
- <cond/>
- <callback/>
- </tmp>
- <send>
- <cond>
- <attach>
- <file/>
- </attach>
- <condition/>
- </cond>
- <mail>
- <fromaddress/>
- <fromname/>
- <toaddress/>
- <ccaddress/>
- <subject>질 향상 활동관련 Feedback 요청 건</subject>
- <msg>Feedback 요청이 완료되었으니 내용 확인 후 수정바랍니다</msg>
- <attach/>
- </mail>
- </send>
- <hidden>
- <userauth/>
- <form>
- <frmtfilenm/>
- <frmtfilepath/>
- </form>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- <submission id="TRMQK00100" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/cond" resultref="/root/tmp/cond"/>
- <submission id="TXMQK00100" mediatype="multipart/form-data" method="form-data-post" ref="/root/send/cond" resultref="/root/tmp/callback"/>
- <submission id="TXZME00101" mediatype="multipart/form-data" method="form-data-post" ref="/root/send/mail" resultref="/root/hidden"/>
- <submission id="TRMQK00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/cond/prcsstagecd" resultref="/root/hidden"/>
- <submission id="TXMQK00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/cond" resultref="/root/tmp/callback"/>
- </model>
- <script type="javascript" src="../../../emr/qiweb/js/SMMQR00000.js"/>
- <script type="javascript" src="../../../emr/qiweb/js/SMMQK00210.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"/>
- </xhtml:head>
- <xhtml:body pagewidth="1220" pageheight="600" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group5" scroll="auto" style="left:0px; top:15px; width:1200px; height:570px; ">
- <group id="grp_report" style="left:0px; top:170px; width:1193px; height:391px; ">
- <line id="line40" class="line_2" style="x1:0px; y1:77px; x2:1190px; y2:77px; "/>
- <caption id="caption44" class="cell_1" style="left:0px; top:55px; width:100px; height:23px; vertical-align:middle; ">상태</caption>
- <output id="output23" ref="/root/main/cond/prcsstat" class="output_fix" style="left:103px; top:56px; width:258px; height:19px; "/>
- <output id="output28" ref="/root/main/cond/rgstrdd" class="output_fix" format="yyyy-mm-dd" style="left:1075px; top:56px; width:110px; height:19px; "/>
- <caption id="caption46" class="cell_1" style="left:600px; top:55px; width:100px; height:23px; vertical-align:middle; ">등록자</caption>
- <output id="output29" ref="/root/main/cond/rgstrhngnm" class="output_fix" style="left:703px; top:56px; width:107px; height:19px; "/>
- <output id="output30" ref="/root/main/cond/rgstrdeptnm" class="output_fix" style="left:811px; top:56px; width:263px; height:19px; "/>
- <line id="line42" class="line_2" style="x1:0px; y1:55px; x2:1189px; y2:55px; "/>
- <upload id="upload1" nodeset="/root/send/cond/attach/file" style="left:620px; top:80px; width:100px; height:20px; "/>
- <caption id="caption4" class="tit_2" style="left:5px; top:8px; width:101px; height:13px; ">QI활동 보고서</caption>
- <line id="line19" class="line_1" style="x1:0px; y1:23px; x2:1192px; y2:23px; "/>
- <button id="btn_save" class="btn4_letter2" style="left:995px; top:0px; 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_tran" class="btn4_letter2" style="left:1052px; top:0px; width:56px; height:22px; ">
- <caption>전송</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(messageBox("전송", "Q006") == "7"){
- return false;
- }
- model.setValue("/root/main/cond/prcsstatcd", "2"); //2 : 전송
- fSave();
- ]]>
- </script>
- </button>
- <button id="btn_search" class="btn2_letter2" style="left:402px; top:80px; width:42px; height:19px; ">
- <caption>찾기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var filepath = model.getValue("/root/main/cond/attfilepath");
- var file = model.getValue("/root/send/cond/attach/file");
-
- if(filepath != "" && file == ""){
- if(messageBox("저장된 파일이 이미 있습니다. ", "Q003") == "7"){
- return false;
- }
- }
-
- var maxsize = upload1.attribute("filesize");
- files = window.fileDialog("open");
- if (!checkFileSize(upload1)){
- messageBox("파일 크기가 최대치("+maxsize+"Byte)를", "E003");
- }
- if(files == ""){
- model.setValue("/root/main/cond/attfile", "");
- model.setValue("/root/main/cond/attfilepath", "");
- }
- else{
- var tokenArr = files.split("\\");
- filename = tokenArr[tokenArr.length-1];
- model.setValue("/root/main/cond/attfile", filename);
- model.setValue("/root/send/cond/attach/file", files);
- }
- btn_filedel.disabled = true;
- btn_filedown.disabled = true;
-
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_filedel" class="btn2_letter2" style="left:446px; top:80px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var attfilepath = model.getValue("/root/main/cond/attfilepath");
- if(attfilepath == ""){
- messageBox("저장된 파일이", "I004");
- return false;
- }
- if(messageBox("", "Q001") == "7"){
- return false;
- }
-
- model.setValue("/root/main/cond/delfilepath", "/root/main/cond/attfilepath");
- model.setValue("/root/main/cond/attfile", "");
- model.setValue("/root/main/cond/attfilepath", "");
- btn_filedel.disabled = true;
- btn_filedown.disabled = true;
-
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_filedown" class="btn5_letter2" style="left:490px; top:80px; width:42px; height:19px; ">
- <caption>다운</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var filepath = model.getValue("/root/main/cond/attfilepath");
- var filenm = model.getValue("/root/main/cond/attfile");
- 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="btn_fileform" class="btn5_letter4" style="left:534px; top:80px; width:64px; height:19px; ">
- <caption>양식다운</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var filenm = model.getValue("/root/hidden/form/frmtfilenm");
- var filepath = model.getValue("/root/hidden/form/frmtfilepath");
- 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="btn_fbreflt" class="btn4_letter4" style="left:1109px; top:0px; width:80px; height:22px; ">
- <caption>F/B 반영</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(messageBox("F/B반영", "Q006") == "7"){
- return false;
- }
- model.setValue("/root/main/cond/prcsstatcd", "4"); //4 : F/B반영
- fSave();
- ]]>
- </script>
- </button>
- <input id="ipt_attfile" ref="/root/main/cond/attfile" class="input_essential" disabled="true" editable="false" _required="true" style="left:103px; top:80px; width:297px; height:19px; "/>
- <caption id="cap_attfile" class="cell_1" style="left:0px; top:77px; width:100px; height:23px; vertical-align:middle; ">보고서 파일</caption>
- <button id="btn_skip" class="btn5_letter4" style="left:1122px; top:109px; width:64px; height:19px; ">
- <caption>단계SKIP</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var userauth = model.getValue("/root/hidden/userauth");
-
- if(userAuth != "Q"){
- messageBox("단계스킵 가능한 유저가 아닙니다","Q999");
- return;
- }
-
- if(messageBox("단계스킵", "Q006") == "7"){
- return false;
- }
-
- fSkipPrcss();
-
-
- ]]>
- </script>
- </button>
- </group>
- <caption id="caption3" class="tit_2" style="left:5px; top:5px; width:101px; height:14px; ">QI활동 계획서</caption>
- <line id="line7" class="line_1" style="x1:0px; y1:20px; x2:1194px; y2:20px; "/>
- <line id="line9" class="line_1" style="x1:0px; y1:20px; x2:1194px; y2:20px; "/>
- <output id="output1" ref="/root/main/cond/planrgstrhngnm" class="output_fix" appearance="output" style="left:703px; top:26px; width:90px; height:19px; "/>
- <output id="output2" ref="/root/main/cond/chfceltel" class="output_fix" appearance="output" style="left:405px; top:122px; width:192px; height:19px; "/>
- <output id="output4" ref="/root/main/cond/planrgstrdeptnm" class="output_fix" appearance="output" style="left:795px; top:26px; width:303px; height:19px; "/>
- <line id="line30" class="line_2" style="x1:2px; y1:119px; x2:596px; y2:119px; "/>
- <output id="output5" ref="/root/main/cond/planrgstrdd" class="output_fix" format="yyyy-mm-dd" appearance="output" style="left:1100px; top:26px; width:90px; height:19px; "/>
- <line id="line31" class="line_2" style="x1:601px; y1:143px; x2:1195px; y2:143px; "/>
- <output id="output7" ref="/root/main/cond/staffcntctel" class="output_fix" appearance="output" style="left:703px; top:122px; width:196px; height:19px; "/>
- <caption id="caption7" class="cell_1" style="left:902px; top:121px; width:100px; height:23px; vertical-align:middle; ">간사 H.P</caption>
- <output id="output8" ref="/root/main/cond/chfemail" class="output_fix" appearance="output" style="left:103px; top:146px; width:196; height:19px; "/>
- <caption id="caption8" class="cell_1" style="left:0px; top:73px; width:100px; height:23px; vertical-align:middle; ">QI 활동부서</caption>
- <caption id="caption10" class="cell_1" style="left:0px; top:49px; width:100px; height:23px; vertical-align:middle; ">QI활동 주제명</caption>
- <output id="output9" ref="/root/main/cond/chfcntctel" class="output_fix" appearance="output" style="left:103px; top:122px; width:196px; height:19px; "/>
- <caption id="caption11" class="cell_1" style="left:600px; top:145px; width:100px; height:23px; vertical-align:middle; ">간사 메일</caption>
- <caption id="caption12" class="cell_1" style="left:0px; top:121px; width:100px; height:23px; vertical-align:middle; ">팀장 연락처</caption>
- <caption id="caption13" class="cell_1" style="left:0px; top:97px; width:100px; height:23px; vertical-align:middle; ">팀장</caption>
- <caption id="caption28" class="cell_1" style="left:600px; top:97px; width:100px; height:23px; vertical-align:middle; ">간사</caption>
- <output id="output10" ref="/root/main/cond/chfhngnm" class="output_fix" appearance="output" style="left:103px; top:98px; width:140px; height:19px; "/>
- <line id="line32" class="line_2" style="x1:601px; y1:167px; x2:1195px; y2:167px; "/>
- <line id="line33" class="line_2" style="x1:0px; y1:71px; x2:1194px; y2:71px; "/>
- <caption id="caption35" class="cell_1" style="left:600px; top:73px; width:100px; height:23px; vertical-align:middle; ">참여부서</caption>
- <output id="output15" ref="/root/main/cond/staffemail" class="output_fix" appearance="output" style="left:703px; top:146px; width:196; height:19px; "/>
- <line id="line34" class="line_2" style="x1:1px; y1:95px; x2:1195px; y2:95px; "/>
- <caption id="caption39" class="cell_1" style="left:0px; top:25px; width:100px; height:23px; vertical-align:middle; ">QI활동 접수번호</caption>
- <output id="output16" ref="/root/main/cond/acptno" class="output_fix" appearance="output" style="left:103px; top:26px; width:180px; height:19px; "/>
- <caption id="caption40" class="cell_1" style="left:600px; top:121px; width:100px; height:23px; vertical-align:middle; ">간사 연락처</caption>
- <caption id="caption41" class="cell_1" style="left:302px; top:121px; width:100px; height:23px; vertical-align:middle; ">팀장 H.P</caption>
- <output id="output17" ref="/root/main/cond/chfdeptnm" class="output_fix" appearance="output" style="left:245px; top:98px; width:352px; height:19px; "/>
- <line id="line35" class="line_2" style="x1:0px; y1:47px; x2:1194px; y2:47px; "/>
- <output id="output18" ref="/root/main/cond/majrdeptnm" class="output_fix" appearance="output" style="left:103px; top:74px; width:140px; height:19px; "/>
- <caption id="caption42" class="cell_1" style="left:600px; top:25px; width:100px; height:23px; vertical-align:middle; ">등록자</caption>
- <caption id="caption43" class="cell_1" style="left:0px; top:145px; width:100px; height:23px; vertical-align:middle; ">팀장 메일</caption>
- <line id="line36" class="line_2" style="x1:1px; y1:143px; x2:595px; y2:143px; "/>
- <output id="output20" ref="/root/main/cond/subdeptnm" class="output_fix" appearance="output" style="left:703px; top:74px; width:487px; height:19px; "/>
- <line id="line37" class="line_2" style="x1:601px; y1:119px; x2:1195px; y2:119px; "/>
- <output id="output21" ref="/root/main/cond/staffhngnm" class="output_fix" appearance="output" style="left:703px; top:98px; width:140px; height:19px; "/>
- <output id="output22" ref="/root/main/cond/subj" class="output_fix" appearance="output" style="left:103px; top:50px; width:1087px; height:19px; "/>
- <line id="line57" class="line_3" style="x1:0px; y1:168px; x2:1193px; y2:168px; "/>
- <output id="output32" ref="/root/main/cond/staffdeptnm" class="output_fix" appearance="output" style="left:845px; top:98px; width:345px; height:19px; "/>
- <output id="output33" ref="/root/main/cond/staffceltel" class="output_fix" appearance="output" style="left:1005px; top:122px; width:185px; height:19px; "/>
- <button id="btn_admin" class="btn2_letter2" visibility="hidden" style="left:115px; top:0px; width:42px; height:19px; ">
- <caption>상태</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var a = model.getValue("/root/main/cond/acptno");
- var b = model.getValue("/root/main/cond/prcsstagecd");
- var c = model.getValue("/root/main/cond/prcsstatcd");
- var d = model.getValue("/root/main/cond/prizyn");
- var e = getUserId();
- var userauth = model.getValue("/root/hidden/userauth");
- var f = model.getValue("/root/main/cond/planrgstrid");
- alert("acptno : "+ a + ", 단계(prcsstagecd) : " + b + ", 상태(prcsstatcd) : " + c + ", 사용자 : " + userauth + ", 로그인 : "+e + ", 등록자 : "+f);
-
-
- ]]>
- </script>
- </button>
- <button id="btn_report10" class="btn_sw" visibility="visible" group="tab" selected="false" style="left:0px; top:200px; width:100px; height:22px; ">
- <caption>중간활동보고서</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/main/cond/prcsstagecd", "10");
- fGetCond();
- //cap_attfile.attribute("text") =btn_report10.attribute("text");
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_report20" class="btn_sw" visibility="visible" group="tab" selected="false" style="left:100px; top:200px; width:135px; height:22px; ">
- <caption>최종활동보고서</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/main/cond/prcsstagecd", "20");
- fGetCond();
- //cap_attfile.attribute("text") =btn_report20.attribute("text");
- model.refresh();
- ]]>
- </script>
- </button>
- </group>
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" visibility="hidden" style="left:0px; top:0px; width:800px; height:14px; ">QI 활동보고서</caption>
- </group>
- <group id="grp_fb" style="left:0px; top:315px; width:1190px; height:260px; ">
- <caption id="caption67" class="tit_2" style="left:5px; top:5px; width:171px; height:13px; ">F/B내용(500자이내)</caption>
- <line id="line56" class="line_1" style="x1:0px; y1:20px; x2:1189px; y2:20px; "/>
- <button id="btn_fbreq" class="btn5_letter4" style="left:1080px; top:0px; width:64px; height:19px; ">
- <caption>F/B 요청</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(messageBox("F/B요청", "Q006") == "7"){
- return false;
- }
- model.setValue("/root/main/cond/prcsstatcd", "3"); //3 : F/B요청
- fSave();
- //메일전송결과를 서브밋하여 결과를 표시한다.
- model.setValue("/root/send/userinfo/userid", getUserId());
- submit("TRMQK00101");
-
- var fromaddress = model.getValue("/root/tmp/userinfo/email");
- var fromname = model.getValue("/root/tmp/userinfo/tel");
-
- var chfemail = model.getValue("/root/main/cond/chfemail");
- var staffemail = model.getValue("/root/main/cond/staffemail");
-
- model.setValue("/root/send/mail/fromaddress", fromaddress);
- model.setValue("/root/send/mail/fromname", fromname);
- model.setValue("/root/send/mail/toaddress", chfemail);
- model.setValue("/root/send/mail/ccaddress", staffemail);
-
- if (submit("TXZME00101"))
- {
- messageBox(model.getValue("/root/hidden/msg/contents"), "I999");
- model.makeNode("/root/hidden/userauth");
- }
- ]]>
- </script>
- </button>
- <button id="btn_end" class="btn5_letter2" style="left:1145px; top:0px; width:42px; height:19px; ">
- <caption>마감</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(messageBox("마감", "Q006") == "7"){
- return false;
- }
- model.setValue("/root/main/cond/prcsstatcd", "5"); //5 : 마감
- fSave();
- ]]>
- </script>
- </button>
- <textarea id="tar_feedbackcnts" ref="/root/main/cond/feedbackcnts" maxlength="1300" style="left:0px; top:25px; width:1185px; height:230px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|