123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749 |
- <?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>
- <list>
- <state/>
- <reptid/>
- <reptnm/>
- <reptjobnm/>
- <reptjob/>
- <reptdutdeptnm/>
- <reptdutdept/>
- <reptcntctel/>
- <reptdutyearno/>
- <reptdivide>02</reptdivide>
- <trgtmanid/>
- <trgtmannm/>
- <trgtmanjobnm/>
- <trgtmanjob/>
- <trgtmandeptnm/>
- <trgtmandept/>
- <trgtmancntctel/>
- <trgtmanyearno/>
- <acptno/>
- <genrdt/>
- <genrdd/>
- <genrhh/>
- <genrmi/>
- <reptkind>01</reptkind>
- <reptgenrplce/>
- <huminjries/>
- <humjniricnt1/>
- <humjniricnt2/>
- <matrdamage/>
- <detlcnts/>
- <expsurnm/>
- <expsurbodyyn/>
- <expsursympyn/>
- <expsurproceqmtyn/>
- <expsurmermeasyn/>
- <expsurbody/>
- <expsursymp/>
- <expsurproceqmt/>
- <expsurmermeas/>
- <expsurdetl/>
- <discvdd/>
- <discvhh/>
- <discvmi/>
- </list>
- </main>
- <send>
- <reptinfo/>
- <userinfo/>
- </send>
- <tmp>
- <userinfo/>
- </tmp>
- <temp/>
- <text/>
- <init>
- <R0061list>
- <R0061>
- <cdid/>
- <cdnm/>
- </R0061>
- </R0061list>
- </init>
- </root>
- </instance>
- <script type="javascript">
- <![CDATA[
- var ano = "";
- var acptno = "";
-
- function init() {
-
- zbcfGetCodeList(new Array("R0061"), new Array("/root/init/R0061list"));
-
- if(!isNull(opener.javascript.getParameter("acptno"))){ //메뉴에서 open -> 신규, Popup -> 과거조회
- acptno = opener.javascript.getParameter("acptno");
- }
- model.setValue("/root/main/list/acptno", acptno);
-
- if( acptno == "" ){
- submit("TRMQR00100");
- model.setValue("/root/main/list/reptid", model.getValue("/root/main/userinfo/reptid"));
- model.setValue("/root/main/list/reptnm", model.getValue("/root/main/userinfo/reptnm"));
- model.setValue("/root/main/list/reptjob", model.getValue("/root/main/userinfo/reptjobkind")); //직종
- model.setValue("/root/main/list/reptjobnm", model.getValue("/root/main/userinfo/reptjobkindtext"));
- model.setValue("/root/main/list/reptdutdept", model.getValue("/root/main/userinfo/reptdutdept"));//근무부서
- model.setValue("/root/main/list/reptdutdeptnm", model.getValue("/root/main/userinfo/reptdutdepttext"));
- model.setValue("/root/main/list/reptcntctel", model.getValue("/root/main/userinfo/reptcntctel"));
- model.setValue("/root/main/list/reptdutyearno", model.getValue("/root/main/userinfo/reptdutyearno"));
- }else{
- model.makeValue("/root/send/acptno", acptno);
- submit("TRMQR03101");
- model.copyNode("/root/main/list","/root/temp/list");
-
- rdo_reptkind.dispatch("xforms-value-changed");
- rdo_expsurbodyyn.dispatch("xforms-value-changed");
- rdo_expsursympyn.dispatch("xforms-value-changed");
- rdo_expsurproceqmtyn.dispatch("xforms-value-changed");
- rdo_expsurmermeasyn.dispatch("xforms-value-changed");
- }
-
- var instcd = getUserInfo("dutplceinstcd");
- if( instcd == "032" ){
- caption29.visible = true;
- }
-
- model.refresh();
- }
-
- function fCheck(){
- if( model.getValue("/root/main/list/reptdivide") == "02"){ //제 3자 보고
- if( model.getValue("/root/main/list/trgtmanid") == ""){
- messageBox("대상자의 사번은","I003"); // 필수입력입니다.
- return true;
- }else if( model.getValue("/root/main/list/trgtmannm") == ""){
- messageBox("대상자의 성명은","I003");
- return true;
- }else if( model.getValue("/root/main/list/trgtmanjob") == ""){
- messageBox("대상자의 직종","I003");
- return true;
- }else if( model.getValue("/root/main/list/trgtmandeptnm") == ""){
- messageBox("대상자의 근무부서는","I003");
- return true;
- }else if( model.getValue("/root/main/list/trgtmancntctel") == ""){
- messageBox("대상자의 연락처는","I003");
- return true;
- }else if (model.getValue("/root/main/list/trgtmanyearno") == ""){
- messageBox("대상자의 근무년수는","I003");
- return true;
- }
- }
-
- if( model.getValue("/root/main/list/genrdd") == "" || model.getValue("/root/main/list/genrhh") == "" || model.getValue("/root/main/list/genrmi") == ""){
- messageBox("발생일시는","I003");
- return true;
- }
-
- //본원 발생일시 없음
- if(getUserInfo("dutplceinstcd") == '032'){
- if( model.getValue("/root/main/list/discvdd") == "" || model.getValue("/root/main/list/discvhh") == "" || model.getValue("/root/main/list/discvmi") == ""){
- messageBox("발견일시는","I003");
- return true;
- }
- }
-
- var huminjries = model.getValue("/root/main/list/huminjries");
- var humjniricnt1 = model.getValue("/root/main/list/humjniricnt1");
- var humjniricnt2 = model.getValue("/root/main/list/humjniricnt2");
-
- if( huminjries == "" && ( humjniricnt1 !="" || humjniricnt2 != "" ) ){
- messageBox("사망 또는 부상에 값이 있습니다. 해당란을","C002"); //선택하십시요.
- return true;
- }else if ( huminjries == "01" && humjniricnt1 =="" ){
- messageBox("사망 인원수를","C001"); // 입력하십시요.
- return true;
- }else if ( huminjries == "02" && humjniricnt2 =="" ){
- messageBox("부상 인원수를","C001");
- return true;
- }
-
- if( model.getValue("/root/main/list/reptkind") == ""){
- messageBox("문제의 종류는","I003");
- return true;
- }else if( model.getValue("/root/main/list/reptkind") == "02"){
-
- if( model.getValue("/root/main/list/expsurbodyyn") == ""){
- messageBox("노출시 신체접촉은","I003");
- return true;
- }else if( model.getValue("/root/main/list/expsurbodyyn") == "Y" && model.getValue("/root/main/list/expsurbody") == "" ){
- messageBox("노출시 신체접촉이 *예일 경우 접촉부위는","I003");
- return true;
- }
-
- if( model.getValue("/root/main/list/expsursympyn") == ""){
- messageBox("노출 후 증상은","I003");
- return true;
- }else if( model.getValue("/root/main/list/expsursympyn") == "Y" && model.getValue("/root/main/list/expsursymp") == "" ){
- messageBox("노출 후 증상이 *예일 경우 발생증상은","I003");
- return true;
- }
-
- if( model.getValue("/root/main/list/expsurproceqmtyn") == ""){
- messageBox("보호구착용은","I003");
- return true;
- }else if( model.getValue("/root/main/list/expsurproceqmtyn") == "Y" && model.getValue("/root/main/list/expsurproceqmt") == ""){
- messageBox("보호구착용이 *예일 경우 보호구명은","I003");
- return true;
- }
-
- if( model.getValue("/root/main/list/expsurmermeasyn") == ""){
- messageBox("노출에 따른 응급조치는","I003");
- return true;
- }else if( model.getValue("/root/main/list/expsurmermeasyn") == "Y" && model.getValue("/root/main/list/expsurmermeas") == "" ){
- messageBox("노출에 따른 응급조치가 *예일 경우 조치내용은","I003");
- return true;
- }
-
- if( model.getValue("/root/main/list/expsurdetl") == ""){
- messageBox("재발방지대책(개인의견기술)은","I003");
- return true;
- }
- }
-
- if( model.getValue("/root/main/list/reptgenrplce") == ""){
- messageBox("재해(발생)장소는","I003");
- return true;
- }
-
- if( model.getValue("/root/main/list/detlcnts") == ""){
- messageBox("상세기술내용은","I003");
- return true;
- }
-
- return false;
- }
-
- function fSave(){
- model.copyNode("/root/send/reptinfo","/root/main/list");
- if(submit("TXMQR03101")){
- messageBox("","I001");
- model.copyNode("/root/main/list","/root/temp/list");
- model.refresh();
- }else{
- messageBox("저장을","E009"); //실패하였습니다.
- }
- }
-
- function SetVisible(comp_id, inst_id, chkbox_no){
- var Obj = document.all(comp_id);
- var stat = model.getValue(inst_id);
-
- if(chkbox_no == null){
- if(stat == "Y"){
- comp_id.disable = true;
- }else{
- Obj.deselect();
- comp_id.disable = false;
- }
- }
- else if(chkbox_no != null){
- var arr = stat.search(chkbox_no);
- if(arr > -1){
- comp_id.disable = true;
- }else{
- if(Obj.attribute("ref") != ""){
- model.setValue(Obj.attribute("ref"), "");
- }
- comp_id.disable = false;
- }
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- //본원 발생일시 없음
- if(getUserInfo("dutplceinstcd") == '031'){
- caption32.visible = false;
- ipt_discvdd.visible = false;
- ipt_discvhh.visible = false;
- ipt_discvmi.visible = false;
- caption30.visible = false;
- caption31.visible = false;
- }else{
- caption32.visible = true;
- ipt_discvdd.visible = true;
- ipt_discvhh.visible = true;
- ipt_discvmi.visible = true;
- caption30.visible = true;
- caption31.visible = true;
- }
- init();
- ]]>
- </script>
- <submission id="TRMQR00100" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/tmp"/>
- <submission id="TRMQR03101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
- <submission id="TRMQR03102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
- <submission id="TXMQR03101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
- </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/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="950" pageheight="470">
- <line id="line7" class="line_2" style="x1:0px; y1:327px; x2:912px; y2:327px; "/>
- <line id="line6" class="line_2" style="x1:0px; y1:349px; x2:912px; y2:349px; "/>
- <caption id="caption28" class="cell_1" style="left:0px; top:328px; width:113px; height:22px; vertical-align:middle; ">노출원(화학물질명)</caption>
- <input id="input1" ref="/root/main/list/expsurnm" style="left:115px; top:329px; width:795px; height:19px; "/>
- <select id="chk_huminjries" ref="/root/main/list/huminjries" appearance="full" cellspacing="50" cols="2" style="left:460px; top:212px; width:155px; height:20px; ">
- <choices>
- <item>
- <label>사망</label>
- <value>01</value>
- </item>
- <item>
- <label>부상</label>
- <value>02</value>
- </item>
- </choices>
- </select>
- <caption id="caption62" class="cell_1" style="left:0px; top:44px; width:90px; height:23px; vertical-align:middle; ">사번</caption>
- <output id="opt_reptId" ref="/root/main/list/reptid" class="output_fix" appearance="output" style="left:91px; top:46px; width:84px; height:19px; "/>
- <caption id="caption63" class="cell_1" style="left:653px; top:44px; width:60px; height:23px; vertical-align:middle; ">연락처</caption>
- <caption id="caption64" class="cell_1" style="left:813px; top:44px; width:60px; height:23px; vertical-align:middle; ">근무년수</caption>
- <line id="line23" class="line_1" style="x1:0px; y1:40px; x2:912px; y2:40px; "/>
- <caption id="caption65" class="tit_2" style="left:5px; top:25px; width:144px; height:13px; ">보고자 정보등록</caption>
- <line id="line24" class="line_3" style="x1:0px; y1:67px; x2:912px; y2:67px; "/>
- <caption id="caption66" class="cell_1" style="left:323px; top:44px; width:50px; height:23px; vertical-align:middle; ">직종</caption>
- <output id="opt_reptNm" ref="/root/main/list/reptnm" class="output_fix" appearance="output" style="left:235px; top:46px; width:85px; height:19px; "/>
- <caption id="caption67" class="cell_1" style="left:178px; top:44px; width:55px; height:23px; vertical-align:middle; ">성명</caption>
- <output id="opt_reptcntctel" ref="/root/main/list/reptcntctel" class="output_fix" appearance="output" style="left:715px; top:46px; width:95px; height:19px; "/>
- <output id="opt_reptdutyearno" ref="/root/main/list/reptdutyearno" class="output_fix" appearance="output" style="left:875px; top:46px; width:30px; height:19px; "/>
- <caption id="caption68" class="cell_1" style="left:480px; top:44px; width:60px; height:23px; vertical-align:middle; ">근무부서</caption>
- <output id="opt_reptjobkind" ref="/root/main/list/reptjobnm" class="output_fix" appearance="output" style="left:375px; top:46px; width:102px; height:19px; "/>
- <output id="opt_reptdutdept" ref="/root/main/list/reptdutdeptnm" class="output_fix" appearance="output" style="left:543px; top:46px; width:108px; height:19px; "/>
- <caption id="caption42" class="tit_2" style="left:5px; top:82px; width:148px; height:13px; ">사고 대상자 정보등록</caption>
- <line id="line16" class="line_1" style="x1:0px; y1:97px; x2:912px; y2:97px; "/>
- <caption id="caption1" class="cell_1" style="left:0px; top:101px; width:90px; height:23px; vertical-align:middle; ">사번</caption>
- <caption id="caption2" class="cell_1" style="left:654px; top:101px; width:60px; height:23px; vertical-align:middle; ">연락처</caption>
- <caption id="caption3" class="cell_1" style="left:814px; top:101px; width:60px; height:23px; vertical-align:middle; ">근무년수</caption>
- <line id="line1" class="line_3" style="x1:1px; y1:124px; x2:913px; y2:124px; "/>
- <caption id="caption4" class="cell_1" style="left:324px; top:101px; width:50px; height:23px; vertical-align:middle; ">직종</caption>
- <caption id="caption5" class="cell_1" style="left:179px; top:101px; width:55px; height:23px; vertical-align:middle; ">성명</caption>
- <caption id="caption6" class="cell_1" style="left:481px; top:101px; width:60px; height:23px; vertical-align:middle; ">근무부서</caption>
- <select1 id="rdo_reptdivide" ref="/root/main/list/reptdivide" navindex="1" appearance="full" cellspacing="20" cols="2" overflow="visible" style="left:185px; top:80px; width:150px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>본인</label>
- <value>01</value>
- </item>
- <item>
- <label>제 3자 보고</label>
- <value>02</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if( model.getValue("/root/main/list/reptdivide") == "01" ){
- model.setValue("/root/main/list/trgtmanid", model.getValue("/root/main/list/reptid"));
- model.setValue("/root/main/list/trgtmannm", model.getValue("/root/main/list/reptnm"));
- model.setValue("/root/main/list/trgtmanjobnm", model.getValue("/root/main/list/reptjobnm"));
- model.setValue("/root/main/list/trgtmanjob", model.getValue("/root/main/list/reptjob"));
- model.setValue("/root/main/list/trgtmandeptnm", model.getValue("/root/main/list/reptdutdeptnm"));
- model.setValue("/root/main/list/trgtmandept", model.getValue("/root/main/list/reptdutdept"));
- model.setValue("/root/main/list/trgtmancntctel", model.getValue("/root/main/list/reptcntctel"));
- model.setValue("/root/main/list/trgtmanyearno", model.getValue("/root/main/list/reptdutyearno"));
-
- ipt_trgtmanid.disabled = true;
- ipt_trgtmannm.disabled = true;
- ipt_trgtmanjob.disabled = true;
- ipt_trgtmandept.disabled = true;
- ipt_trgtmancntctel.disabled = true;
- ipt_trgtmanyearno.disabled = true;
- }else{
- model.setValue("/root/main/list/trgtmanid", "");
- model.setValue("/root/main/list/trgtmannm", "");
- model.setValue("/root/main/list/trgtmanjobnm", "");
- model.setValue("/root/main/list/trgtmanjob", "");
- model.setValue("/root/main/list/trgtmandeptnm", "");
- model.setValue("/root/main/list/trgtmandept", "");
- model.setValue("/root/main/list/trgtmancntctel", "");
- model.setValue("/root/main/list/trgtmanyearno", "");
-
- ipt_trgtmanid.disabled = false;
- ipt_trgtmannm.disabled = false;
- ipt_trgtmanjob.disabled = false;
- ipt_trgtmandept.disabled = false;
- ipt_trgtmancntctel.disabled = false;
- ipt_trgtmanyearno.disabled = false;
- }
- model.refresh();
- ]]>
- </script>
- </select1>
- <caption id="caption51" class="tit_2" style="left:5px; top:138px; width:148px; height:13px; vertical-align:top; ">보고사항</caption>
- <line id="line19" class="line_1" style="x1:0px; y1:153px; x2:912px; y2:153px; "/>
- <caption id="caption7" class="cell_1" style="left:0px; top:157px; width:90px; height:23px; vertical-align:middle; ">접수번호</caption>
- <caption id="caption8" class="cell_1" style="left:0px; top:183px; width:90px; height:23px; vertical-align:middle; ">문제의 종류</caption>
- <input id="ipt_trgtmanid" ref="/root/main/list/trgtmanid" class="input_essential" navindex="2" style="left:92px; top:103px; width:85px; height:19px; "/>
- <input id="ipt_trgtmannm" ref="/root/main/list/trgtmannm" class="input_essential" navindex="3" style="left:236px; top:103px; width:85px; height:19px; "/>
- <select1 id="ipt_trgtmanjob" ref="/root/main/list/trgtmanjob" class="combo_default" navindex="4" appearance="minimal" style="left:375px; top:103px; width:105px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/R0061list/R0061">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_trgtmandept" ref="/root/main/list/trgtmandeptnm" class="input_essential" navindex="5" appearance="input" style="left:543px; top:103px; width:110px; height:19px; "/>
- <input id="ipt_trgtmancntctel" ref="/root/main/list/trgtmancntctel" class="input_essential" navindex="6" style="left:717px; top:103px; width:95px; height:19px; "/>
- <input id="ipt_trgtmanyearno" ref="/root/main/list/trgtmanyearno" class="input_essential" navindex="7" style="left:876px; top:103px; width:30px; height:19px; "/>
- <output id="output1" ref="/root/main/list/acptno" class="output_fix" appearance="output" style="left:91px; top:159px; width:84px; height:19px; "/>
- <caption id="caption9" class="cell_1" style="left:177px; top:157px; width:90px; height:23px; vertical-align:middle; ">발생일시</caption>
- <input id="ipt_genrhh" ref="/root/main/list/genrhh" class="input_essential" navindex="9" format="hh" showmask="true" style="left:369px; top:159px; width:31px; height:19px; "/>
- <caption id="caption10" style="left:404px; top:160px; width:15px; height:20px; ">시</caption>
- <caption id="caption11" style="left:455px; top:160px; width:15px; height:20px; ">분</caption>
- <input id="ipt_genrdt" ref="/root/main/list/genrdd" class="combo_essential" navindex="8" inputtype="date" appearance="input" style="left:270px; top:159px; width:95px; height:19px; "/>
- <input id="ipt_genrmi" ref="/root/main/list/genrmi" class="input_essential" navindex="10" format="nn" showmask="true" style="left:420px; top:159px; width:31px; height:19px; "/>
- <caption id="caption12" class="cell_1" style="left:0px; top:208px; width:91px; height:23px; vertical-align:middle; ">재해(발생)장소</caption>
- <input id="ipt_reptgenrplce" ref="/root/main/list/reptgenrplce" class="input_essential" navindex="12" style="left:93px; top:211px; width:262px; height:19px; "/>
- <line id="line2" class="line_3" style="x1:0px; y1:232px; x2:912px; y2:232px; "/>
- <line id="line8" class="line_2" style="x1:0px; y1:208px; x2:912px; y2:208px; "/>
- <caption id="caption13" class="cell_1" style="left:358px; top:208px; width:93px; height:23px; vertical-align:middle; ">인적피해</caption>
- <caption id="caption15" class="cell_1" style="left:660px; top:208px; width:93px; height:23px; vertical-align:middle; ">물적피해</caption>
- <input id="ipt_matrdamage" ref="/root/main/list/matrdamage" navindex="15" style="left:755px; top:211px; width:155px; height:19px; "/>
- <caption id="caption16" class="tit_2" style="left:5px; top:245px; width:504px; height:13px; vertical-align:top; ">상세기술내용 (6하원칙에 의거하여 자세히 작성해 주십시요)</caption>
- <line id="line3" class="line_1" style="x1:0px; y1:260px; x2:912px; y2:260px; "/>
- <button id="btn_prt" class="btn6_letter2" navindex="17" disable.background-image="../../../com/commonweb/images/dis_btn6_letter2.gif" style="left:670px; top:435px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn6_letter2.gif; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(getUserInfo("dutplceinstcd") == '032'){
- exeReportPreview("RPMQR03100", "XMLSTR", "", "", "true" , "", "", "", "", "true","", "", "", "", "hidden", 1); //출력
- //exeReportPreview("RPMQR03100", "XMLSTR", "", "", "" , "true", "", "", "", "","", "", "", "", "hidden", 1); //출력
- }else {
- exeReportPreview("RPMQR03200", "XMLSTR", "", "", "true" , "", "", "", "", "true","", "", "", "", "hidden", 1); //출력
- //exeReportPreview("RPMQR03200", "XMLSTR", "", "", "" , "true", "", "", "", "","", "", "", "", "hidden", 1); //출력
- }
-
- ]]>
- </script>
- </button>
- <button id="btn_send" class="btn4_letter2" navindex="20" disable.background-image="../../../com/commonweb/images/dis_btn4_letter5.gif" style="left:860px; top:435px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter5.gif; ">
- <caption>전송</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var genrdd = model.getValue("/root/main/list/genrdd");
- var genrhh = model.getValue("/root/main/list/genrhh");
- var genrmi = model.getValue("/root/main/list/genrmi");
- model.makeValue("/root/main/list/genrdt" , genrdd+genrhh+genrmi);
-
- var discvdd = model.getValue("/root/main/list/discvdd");
- var discvhh = model.getValue("/root/main/list/discvhh");
- var discvmi = model.getValue("/root/main/list/discvmi");
- model.makeValue("/root/main/list/discvdt" , discvdd+discvhh+discvmi);
-
- if(fCheck() != false){ //필수입력체크
- return;
- }
-
- var rtnval = messageBox("전송하시겠습니까?","Q");
- var reptid = model.getValue("/root/main/list/reptid");
- var state = model.getValue("/root/main/list/state");
- if(rtnval == 6){ //예
- if( state == "10" ){ //전송상태가 아닌경우에만 저장가능., 저장 후 전송가능.
- model.makeValue("/root/main/list/state", "20");
- model.makeValue("/root/main/list/rowstatus", "u");
- fSave();
- }else if( state == "" ){
- messageBox("저장 후 전송 가능합니다.","E");
- return;
- }else{
- messageBox("전송된 보고는 근로복지과에 수정요청 후 수정 가능합니다. \n(근로복지과 전화 : 6116)","E");
- return;
- }
- }else{
- return;
- }
-
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_save" class="btn4_letter2" navindex="19" disable.background-image="../../../com/commonweb/images/dis_btn4_letter2.gif" style="left:800px; top:435px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var genrdd = model.getValue("/root/main/list/genrdd");
- var genrhh = model.getValue("/root/main/list/genrhh");
- var genrmi = model.getValue("/root/main/list/genrmi");
- model.setValue("/root/main/list/genrdt" , genrdd+genrhh+genrmi);
-
- var discvdd = model.getValue("/root/main/list/discvdd");
- var discvhh = model.getValue("/root/main/list/discvhh");
- var discvmi = model.getValue("/root/main/list/discvmi");
- model.makeValue("/root/main/list/discvdt" , discvdd+discvhh+discvmi);
-
- if(fCheck() != false){ //필수입력체크
- return;
- }
-
- var rtnval = messageBox("","Q002");//저장하시겠습니까?
- var reptid = model.getValue("/root/main/list/reptid");
- var state = model.getValue("/root/main/list/state");
- if(rtnval == 6){ //예
- if( state == "" ){ //신규입력.
- model.setValue("/root/main/list/state", "10");
- fSave();
- }else if (state == "10"){
- model.setValue("/root/main/list/state", "10");
- model.makeValue("/root/main/list/rowstatus", "u");
- fSave();
- }else{
- messageBox("전송된 보고는 근로복지과에 수정요청 후 수정 가능합니다. (근로복지과 전화 : 6116)","E");
- }
- }else{
- return;
- }
-
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_init" class="btn4_letter3" navindex="18" disable.background-image="../../../com/commonweb/images/dis_btn4_letter2.gif" style="left:730px; top:435px; width:68px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.reload();
- ]]>
- </script>
- </button>
- <select1 id="rdo_reptkind" ref="/root/main/list/reptkind" class="input_essential" navindex="11" appearance="full" cellspacing="30" cols="3" overflow="visible" style="left:90px; top:186px; width:345px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>업무상재해</label>
- <value>01</value>
- </item>
- <item>
- <label>유해화학물질 노출</label>
- <value>02</value>
- </item>
- <item>
- <label>기타</label>
- <value>99</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var reptkind = model.getValue("/root/main/list/reptkind");
-
- if( reptkind == 02 ){
- textarea1.attribute("height") = "61px";
- }else{
- model.setValue("/root/main/list/expsurbodyyn", "");
- model.setValue("/root/main/list/expsursympyn", "");
- model.setValue("/root/main/list/expsurproceqmtyn", "");
- model.setValue("/root/main/list/expsurmermeasyn", "");
- model.setValue("/root/main/list/expsurbody", "");
- model.setValue("/root/main/list/expsursymp", "");
- model.setValue("/root/main/list/expsurproceqmt", "");
- model.setValue("/root/main/list/expsurmermeas", "");
- model.setValue("/root/main/list/expsurdetl", "");
-
- textarea1.attribute("height") = "164px";
- }
- model.refresh();
- ]]>
- </script>
- </select1>
- <group id="group1" style="left:0px; top:0px; width:909px; height:13px; ">
- <caption id="caption18" class="tit_1" style="left:0px; top:0px; width:129px; height:15px; ">직원안전보고</caption>
- </group>
- <caption id="caption17" class="cell_1" style="left:0px; top:351px; width:99px; height:37px; vertical-align:middle; ">노출시 신체접촉</caption>
- <caption id="caption20" class="cell_1" style="left:290px; top:351px; width:79px; height:37px; vertical-align:middle; ">노출 후 증상</caption>
- <caption id="caption19" class="cell_1" style="left:607px; top:351px; width:74px; height:37px; vertical-align:middle; ">보호구 착용</caption>
- <caption id="caption21" class="cell_1" style="left:0px; top:390px; width:100px; height:37px; text-align:center; vertical-align:middle; ">
- <![CDATA[노출에 따른
- 응급조치]]>
- </caption>
- <select1 id="rdo_expsurbodyyn" ref="/root/main/list/expsurbodyyn" appearance="full" cellspacing="10" rows="2" overflow="visible" style="left:100px; top:352px; width:60px; height:34px; border-style:none; ">
- <choices>
- <item>
- <label>예</label>
- <value>Y</value>
- </item>
- <item>
- <label>아니오</label>
- <value>N</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var expsurbodyyn = model.getValue("/root/main/list/expsurbodyyn");
-
- if( expsurbodyyn == "N" ){
- model.setValue("/root/main/list/expsurbody","");
- textarea4.disabled = true;
- }else{
- textarea4.disabled = false;
- }
- textarea4.refresh();
- ]]>
- </script>
- </select1>
- <caption id="caption22" style="left:158px; top:352px; width:62px; height:20px; ">접촉부위 :</caption>
- <select1 id="rdo_expsursympyn" ref="/root/main/list/expsursympyn" appearance="full" cellspacing="10" rows="2" overflow="visible" style="left:370px; top:352px; width:60px; height:34px; border-style:none; ">
- <choices>
- <item>
- <label>예</label>
- <value>Y</value>
- </item>
- <item>
- <label>아니오</label>
- <value>N</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var expsursympyn = model.getValue("/root/main/list/expsursympyn");
-
- if( expsursympyn == "N" ){
- model.setValue("/root/main/list/expsursymp","");
- textarea5.disabled = true;
- }else{
- textarea5.disabled = false;
- }
- textarea5.refresh();
- ]]>
- </script>
- </select1>
- <caption id="caption23" style="left:430px; top:352px; width:62px; height:20px; ">발생증상 :</caption>
- <select1 id="rdo_expsurproceqmtyn" ref="/root/main/list/expsurproceqmtyn" appearance="full" cellspacing="10" rows="2" overflow="visible" style="left:682px; top:351px; width:60px; height:34px; border-style:none; ">
- <choices>
- <item>
- <label>예</label>
- <value>Y</value>
- </item>
- <item>
- <label>아니오</label>
- <value>N</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var expsurproceqmtyn = model.getValue("/root/main/list/expsurproceqmtyn");
-
- if( expsurproceqmtyn == "N" ){
- model.setValue("/root/main/list/expsurproceqmt","");
- textarea6.disabled = true;
- }else{
- textarea6.disabled = false;
- }
- textarea6.refresh();
-
- ]]>
- </script>
- </select1>
- <caption id="caption24" style="left:743px; top:352px; width:62px; height:20px; ">보호구 명 :</caption>
- <line id="line4" class="line_2" style="x1:0px; y1:388px; x2:912px; y2:388px; "/>
- <select1 id="rdo_expsurmermeasyn" ref="/root/main/list/expsurmermeasyn" appearance="full" cellspacing="10" rows="2" overflow="visible" style="left:100px; top:390px; width:60px; height:34px; border-style:none; ">
- <choices>
- <item>
- <label>예</label>
- <value>Y</value>
- </item>
- <item>
- <label>아니오</label>
- <value>N</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var expsurmermeasyn = model.getValue("/root/main/list/expsurmermeasyn");
-
- if( expsurmermeasyn == "N" ){
- model.setValue("/root/main/list/expsurmermeas","");
- textarea2.disabled = true;
- }else{
- textarea2.disabled = false;
- }
- textarea2.refresh();
-
- ]]>
- </script>
- </select1>
- <caption id="caption25" style="left:160px; top:390px; width:62px; height:20px; ">조치내용 :</caption>
- <textarea id="textarea2" ref="/root/main/list/expsurmermeas" disabled="true" maxlength="20" style="left:220px; top:391px; width:200px; height:35px; "/>
- <caption id="caption26" class="cell_1" style="left:425px; top:390px; width:100px; height:37px; text-align:center; vertical-align:middle; ">
- <![CDATA[재발방지대책
- (개인의견기술)]]>
- </caption>
- <textarea id="textarea3" ref="/root/main/list/expsurdetl" maxlength="100" style="left:526px; top:391px; width:384px; height:35px; "/>
- <line id="line5" class="line_3" style="x1:0px; y1:429px; x2:912px; y2:429px; "/>
- <textarea id="textarea4" ref="/root/main/list/expsurbody" disabled="true" maxlength="20" style="left:220px; top:351px; width:68px; height:35px; "/>
- <textarea id="textarea5" ref="/root/main/list/expsursymp" disabled="true" maxlength="20" style="left:490px; top:351px; width:116px; height:35px; "/>
- <textarea id="textarea6" ref="/root/main/list/expsurproceqmt" disabled="true" maxlength="20" style="left:807px; top:352px; width:103px; height:35px; "/>
- <caption id="caption14" style="left:537px; top:214px; width:20px; height:15px; ">명</caption>
- <input id="ipt_humjniricnt" ref="/root/main/list/humjniricnt1" navindex="14" format="99" style="left:509px; top:211px; width:25px; height:19px; "/>
- <input id="ipt_humjniricnt2" ref="/root/main/list/humjniricnt2" navindex="14" format="99" style="left:606px; top:211px; width:25px; height:19px; "/>
- <caption id="caption27" style="left:634px; top:213px; width:20px; height:15px; ">명</caption>
- <textarea id="textarea1" ref="/root/main/list/detlcnts" class="text_essential" navindex="16" maxlength="4000" style="left:0px; top:265px; width:910px; height:164px; "/>
- <caption id="caption29" visibility="hidden" style="left:10px; top:437px; width:446px; height:18px; ">
- <![CDATA[▶ 담당부서 : 업무상재해-총무팀, 화학물질노출(누출)사고-의료질관리실
- ]]>
- </caption>
- <button id="btn_serchid" class="icon_search" visibility="visible" style="left:307px; top:105px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- setParameter("search_condition","usernm");
- setParameter("resultref","/root/send/userinfo");
- modal("SPZSU10100");
-
- var userinfo = model.getValue("/root/send/userinfo");
- if( userinfo == ""){
- return;
- }
-
- userinfo = userinfo.split("|");
- var userid = userinfo[2];
- var usernm = userinfo[3];
- var deptnm = userinfo[10];
- var deptcd = userinfo[11];
- var trgtmancntctel = userinfo[18];
- var trgtmanyearno = "";
-
- if ( userinfo[19] != "" || userinfo[19] != null || userinfo[19] != "undifined"){
- trgtmanyearno = getCurrentDate().substr(0,4) - userinfo[19].substr(0,4);
- }
-
- model.makeValue("/root/send/userid", userid);
- model.makeValue("/root/send/deptcd", deptcd);
- submit("TRMQR03102"); //직종조회 컬럼
-
- model.setValue("/root/main/list/trgtmanid", userid );
- model.setValue("/root/main/list/trgtmannm", usernm );
- model.setValue("/root/main/list/trgtmandeptnm", deptnm );
- model.setValue("/root/main/list/trgtmandept" , deptcd );
- model.setValue("/root/main/list/trgtmanjob" , model.getValue("/root/temp/list/trgtmanjob"));
- model.setValue("/root/main/list/trgtmancntctel" , trgtmancntctel );
- model.setValue("/root/main/list/trgtmanyearno" , trgtmanyearno );
-
- model.resetInstanceNode("/root/send/userinfo");
- model.refresh(); ]]>
- </script>
- </button>
- <caption id="caption30" style="left:708px; top:160px; width:15px; height:20px; ">시</caption>
- <caption id="caption31" style="left:759px; top:160px; width:15px; height:20px; ">분</caption>
- <caption id="caption32" class="cell_1" style="left:481px; top:157px; width:90px; height:23px; vertical-align:middle; ">발견일시</caption>
- <input id="ipt_discvdd" ref="/root/main/list/discvdd" class="combo_essential" navindex="8" inputtype="date" appearance="input" style="left:574px; top:159px; width:95px; height:19px; "/>
- <input id="ipt_discvhh" ref="/root/main/list/discvhh" class="input_essential" navindex="9" format="hh" showmask="true" style="left:673px; top:159px; width:31px; height:19px; "/>
- <input id="ipt_discvmi" ref="/root/main/list/discvmi" class="input_essential" navindex="10" format="nn" showmask="true" style="left:724px; top:159px; width:31px; height:19px; "/>
- </xhtml:body>
- </xhtml:html>
|