123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:ms="urn:schemas-microsoft-com:xslt" xmlns:my="http://www.comsquare.co.kr/example" 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" xmlns:cs="http://www.comsquare.co.kr/xforms">
- <xhtml:head>
- <xhtml:title>점검리스트 출력 조회조건</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <list>
- <fixmonth>
- <fixmonthlist/>
- </fixmonth>
- <logimg/>
- </list>
- <prtprvnlist/>
- </main>
- <send>
- <req>
- <instcd/>
- <formflag>A</formflag>
- <mngtdeptcd/>
- <mngtdeptnm/>
- <installplcecd/>
- <installplcenm/>
- <fromdd/>
- <todd/>
- </req>
- </send>
- <init/>
- <hidden/>
- <temp/>
- </root>
- </instance>
- <submission id="TRRFE01101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/list/fixmonth"/>
- <submission id="TRRFE01102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/prtprvnlist"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/humtrafactmngtweb/js/RPB001.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- model.setValue(cmb_instcd.attribute("ref") , getUserInfo("dutplceinstcd")); // 기관 설정
-
- model.setValue(ipt_mngtdeptcd.attribute("ref") , getUserInfo("dutplcecd"));
- model.setValue(ipt_mngtdeptnm.attribute("ref") , getUserInfo("dutplcenm"));
-
- rszfGetLabelControlComboList("C0048", "cmb_instcd", "cdnm");
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- var g_comcd_grupids = "";
- var g_comcd_ctrls = "";
-
- function fAddComCdList(grupid, ctrlid)
- {
- if (g_comcd_grupids != "")
- g_comcd_grupids += ",";
-
- g_comcd_grupids += grupid;
-
- if (g_comcd_ctrls != "")
- g_comcd_ctrls += ",";
-
- g_comcd_ctrls += ctrlid;
- }
-
- function fGetStrToArr(str)
- {
- return str.split(",");
- }
- function getImgURL(imgcd, type){
- if (type == null || type == "") {
- type = "gif";
- }
- return getDomain()+"/himed/webapps/com/commonweb/images/"+imgcd+"." + type;
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="440" pageheight="420">
- <group id="group1" style="left:5px; top:0px; width:327px; height:13px; ">
- <caption id="cap_title" class="tit_1" style="left:0px; top:0px; width:295px; height:15px; ">점검리스트 출력 조회조건</caption>
- </group>
- <group id="group2" scroll="auto" style="left:5px; top:19px; width:425px; height:331px; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:5px; top:5px; width:415px; height:315px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_prn" class="btn6_letter2" navindex="19" style="left:350px; top:272px; width:57px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var formflag = model.getValue("/root/send/req/formflag");
- if(formflag == "A"){
- model.resetInstanceNode("/root/main/list/fixmonth/fixmonthlist");
- model.removenode("/root/main/list/fixmonth");
- var instcdtmp = model.getValue("/root/send/fixasetlist/instcd_search");
- model.makeValue("/root/main/list/logimg/logourl", getImgURL("logo"+getUserInfo("dutplceinstcd"), "gif"));
- submit("TRRFE01101");
- exeReportPreview("RPRFE01101","XMLSTR");
- }else{
- var fromdd = model.getValue("/root/send/req/fromdd");
- var todd = model.getValue("/root/send/req/todd");
- if(fromdd =="" || todd ==""){
- messageBox("예방점검리스트에 점검기간을" , "C001");
- return;
- }else{
- model.removenode("/root/main/prtprvnlist");
- submit("TRRFE01102");
- exeReportPreview("RPRFE01102","XMLSTR");
- }
- }
- ]]>
- </script>
- </button>
- <group id="grup_instcd" style="left:10px; top:25px; width:400px; height:30px; ">
- <caption id="cap_instcd" class="search_name" style="left:10px; top:5; width:135px; height:17px; ">기관코드</caption>
- <select1 id="cmb_instcd" ref="/root/send/req/instcd" class="combo_search" disabled="true" navindex="1" appearance="minimal" style="left:130px; top:5px; width:150px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- </group>
- <group id="grup_goodflag" style="left:10px; top:54px; width:400px; height:30px; ">
- <caption id="cap_formflag" class="search_name" style="left:10px; top:5; width:135px; height:17px; ">양식선택</caption>
- <select1 id="cmb_formflag" ref="/root/send/req/formflag" class="combo_search" navindex="2" appearance="minimal" style="left:130px; top:6px; width:150px; height:19px; ">
- <choices>
- <item>
- <label>일상점검일지</label>
- <value>A</value>
- </item>
- <item>
- <label>예방점검리스트</label>
- <value>B</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var formflag = model.getValue("/root/send/req/formflag");
- if(formflag == "B"){
- ipt_fromdd.disabled = false;
- ipt_todd.disabled = false;
-
- // 점검기간 날자 설정
- model.setValue("/root/send/req/fromdd",getCurrentDate().substr(0,4)+"0101");
- model.setValue("/root/send/req/todd", getCurrentDate());
- model.refresh();
- }else{
- ipt_fromdd.disabled = true;
- ipt_todd.disabled = true;
- model.setValue("/root/send/req/fromdd","");
- model.setValue("/root/send/req/todd", "");
- model.refresh();
- }
- ]]>
- </script>
- </select1>
- </group>
- <group id="grup_deptcd" style="left:10px; top:83px; width:400px; height:30px; ">
- <caption id="cap_mngtdeptcd" class="search_name" style="left:10px; top:5px; width:105px; height:17px; ">사용부서</caption>
- <input id="ipt_mngtdeptnm" ref="/root/send/req/mngtdeptnm" class="output_fix" navindex="-1" editable="false" appearance="input" style="left:233px; top:5px; width:159px; height:19px; "/>
- <button id="btn_mngtdeptcd" class="icon_search" navindex="-1" style="left:213px; top:5px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfOpenPopUpList("02", ipt_mngtdeptcd,"", "mngtdeptcd,mngtdeptnm", model.getValue(cmb_instcd.attribute("ref")),"instcd");
- ipt_mngtdeptcd.refresh();
- ipt_mngtdeptnm.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_mngtdeptcd" ref="/root/send/req/mngtdeptcd" class="input_default" navindex="7" appearance="input" style="left:130px; top:5px; width:80px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfSearchDept(ipt_mngtdeptnm);
- ]]>
- </script>
- </input>
- </group>
- <group id="group3" style="left:10px; top:112px; width:400px; height:30px; ">
- <caption id="caption1" class="search_name" style="left:10px; top:5px; width:105px; height:17px; ">설치장소</caption>
- <input id="ipt_installplcenm" ref="/root/send/req/installplcenm" class="output_fix" navindex="-1" editable="false" appearance="input" style="left:233px; top:5px; width:159px; height:19px; "/>
- <button id="btn_installplcecd" class="icon_search" navindex="-1" style="left:213px; top:5px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- misfOpenPopUpList("02", ipt_installplcecd,"", "installplcecd,installplcenm", model.getValue(cmb_instcd.attribute("ref")),"instcd");
- ipt_installplcecd.refresh();
- ipt_installplcenm.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_installplcecd" ref="/root/send/req/installplcecd" class="input_default" navindex="7" appearance="input" style="left:130px; top:5px; width:80px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- misfSearchDept(ipt_installplcenm);
- ]]>
- </script>
- </input>
- </group>
- <group id="grup_possnddterm" style="left:10px; top:141px; width:400px; height:30px; ">
- <caption id="cap_possnddterm" class="search_name" style="left:10px; top:5px; width:100px; height:17px; ">점검기간</caption>
- <input id="ipt_fromdd" ref="/root/send/req/fromdd" class="input_search" disabled="true" navindex="4" inputtype="date" style="left:130px; top:5px; width:120px; height:19px; "/>
- <input id="ipt_todd" ref="/root/send/req/todd" class="input_search" disabled="true" navindex="5" inputtype="date" style="left:272px; top:5px; width:120px; height:19px; "/>
- <caption id="caption23" style="left:254px; top:6px; width:15px; height:20px; font-weight:bold; vertical-align:middle; ">~</caption>
- </group>
- </group>
- </xhtml:body>
- </xhtml:html>
|