⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dms_0002freport_0002freportclient039_0002ejsp_jsp.java

📁 dgbas公文管理核心java源码
💻 JAVA
字号:
package DMS.report;

import java.sql.*;
import java.util.*;
import com.jasson.integration.agentflow.*;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;


public class DMS_0002freport_0002fReportClient039_0002ejsp_jsp extends HttpJspBase {

    // begin [file="/DMS/report/ReportClient039.jsp";from=(5,0);to=(5,77)]
    // end
    // begin [file="/DMS/report/ReportClient039.jsp";from=(6,0);to=(6,79)]
    // end
    // begin [file="/DMS/report/ReportClient039.jsp";from=(7,0);to=(7,72)]
    // end

    static {
    }
    public DMS_0002freport_0002fReportClient039_0002ejsp_jsp( ) {
    }

    private static boolean _jspx_inited = false;

    public final void _jspx_init() throws org.apache.jasper.runtime.JspException {
    }

    public void _jspService(HttpServletRequest request, HttpServletResponse  response)
        throws java.io.IOException, ServletException {

        JspFactory _jspxFactory = null;
        PageContext pageContext = null;
        HttpSession session = null;
        ServletContext application = null;
        ServletConfig config = null;
        JspWriter out = null;
        Object page = this;
        String  _value = null;
        try {

            if (_jspx_inited == false) {
                synchronized (this) {
                    if (_jspx_inited == false) {
                        _jspx_init();
                        _jspx_inited = true;
                    }
                }
            }
            _jspxFactory = JspFactory.getDefaultFactory();
            response.setContentType("text/html;charset=Big5");
            pageContext = _jspxFactory.getPageContext(this, request, response,
            			"", true, 8192, true);

            application = pageContext.getServletContext();
            config = pageContext.getServletConfig();
            session = pageContext.getSession();
            out = pageContext.getOut();

            // HTML // begin [file="/DMS/report/ReportClient039.jsp";from=(0,26);to=(1,0)]
                out.write("\r\n");

            // end
            // HTML // begin [file="/DMS/report/ReportClient039.jsp";from=(1,48);to=(2,0)]
                out.write("\r\n");

            // end
            // HTML // begin [file="/DMS/report/ReportClient039.jsp";from=(2,32);to=(3,0)]
                out.write("\r\n");

            // end
            // HTML // begin [file="/DMS/report/ReportClient039.jsp";from=(3,33);to=(4,0)]
                out.write("\r\n");

            // end
            // HTML // begin [file="/DMS/report/ReportClient039.jsp";from=(4,54);to=(5,0)]
                out.write("\r\n");

            // end
            // begin [file="/DMS/report/ReportClient039.jsp";from=(5,0);to=(5,77)]
                com.jasson.common.ExtendString ExStr = null;
                boolean _jspx_specialExStr  = false;
                 synchronized (pageContext) {
                    ExStr= (com.jasson.common.ExtendString)
                    pageContext.getAttribute("ExStr",PageContext.PAGE_SCOPE);
                    if ( ExStr == null ) {
                        _jspx_specialExStr = true;
                        try {
                            ExStr = (com.jasson.common.ExtendString) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "com.jasson.common.ExtendString");
                        } catch (ClassNotFoundException exc) {
                             throw new InstantiationException(exc.getMessage());
                        } catch (Exception exc) {
                             throw new ServletException (" Cannot create bean of class "+"com.jasson.common.ExtendString", exc);
                        }
                        pageContext.setAttribute("ExStr", ExStr, PageContext.PAGE_SCOPE);
                    }
                 } 
                if(_jspx_specialExStr == true) {
            // end
            // begin [file="/DMS/report/ReportClient039.jsp";from=(5,0);to=(5,77)]
                }
            // end
            // HTML // begin [file="/DMS/report/ReportClient039.jsp";from=(5,77);to=(6,0)]
                out.write("\r\n");

            // end
            // begin [file="/DMS/report/ReportClient039.jsp";from=(6,0);to=(6,79)]
                com.jasson.common.ExtendCalendar ExCal = null;
                boolean _jspx_specialExCal  = false;
                 synchronized (pageContext) {
                    ExCal= (com.jasson.common.ExtendCalendar)
                    pageContext.getAttribute("ExCal",PageContext.PAGE_SCOPE);
                    if ( ExCal == null ) {
                        _jspx_specialExCal = true;
                        try {
                            ExCal = (com.jasson.common.ExtendCalendar) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "com.jasson.common.ExtendCalendar");
                        } catch (ClassNotFoundException exc) {
                             throw new InstantiationException(exc.getMessage());
                        } catch (Exception exc) {
                             throw new ServletException (" Cannot create bean of class "+"com.jasson.common.ExtendCalendar", exc);
                        }
                        pageContext.setAttribute("ExCal", ExCal, PageContext.PAGE_SCOPE);
                    }
                 } 
                if(_jspx_specialExCal == true) {
            // end
            // begin [file="/DMS/report/ReportClient039.jsp";from=(6,0);to=(6,79)]
                }
            // end
            // HTML // begin [file="/DMS/report/ReportClient039.jsp";from=(6,79);to=(7,0)]
                out.write("\r\n");

            // end
            // begin [file="/DMS/report/ReportClient039.jsp";from=(7,0);to=(7,72)]
                si.wfinterface.WFCI wfci = null;
                boolean _jspx_specialwfci  = false;
                 synchronized (application) {
                    wfci= (si.wfinterface.WFCI)
                    pageContext.getAttribute("wfci",PageContext.APPLICATION_SCOPE);
                    if ( wfci == null ) {
                        _jspx_specialwfci = true;
                        try {
                            wfci = (si.wfinterface.WFCI) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "si.wfinterface.WFCI");
                        } catch (ClassNotFoundException exc) {
                             throw new InstantiationException(exc.getMessage());
                        } catch (Exception exc) {
                             throw new ServletException (" Cannot create bean of class "+"si.wfinterface.WFCI", exc);
                        }
                        pageContext.setAttribute("wfci", wfci, PageContext.APPLICATION_SCOPE);
                    }
                 } 
                if(_jspx_specialwfci == true) {
            // end
            // begin [file="/DMS/report/ReportClient039.jsp";from=(7,0);to=(7,72)]
                }
            // end
            // HTML // begin [file="/DMS/report/ReportClient039.jsp";from=(7,72);to=(8,0)]
                out.write("\r\n");

            // end
            // begin [file="/DMS/report/ReportClient039.jsp";from=(8,2);to=(22,0)]
                
                    AgentFlowWrapper wrapper = new AgentFlowWrapper(wfci);
                    Vector department = wrapper.getAllDepartment();
                    String[]  DepartmentName = new String[department.size()];
                    String[]  DepartmentID = new String[department.size()];
                    for(int i=0;i<department.size();i++)
                    {
                        String[] dep = (String[]) department.get(i);
                        DepartmentName[i] = dep[3];
                        DepartmentID[i] =dep[2];
                    }
                    int year=ExCal.getYear(ExCal.getDate());
                    int month=ExCal.getMonth(ExCal.getDate());
                    int day=ExCal.getDay(ExCal.getDate());
            // end
            // HTML // begin [file="/DMS/report/ReportClient039.jsp";from=(22,2);to=(79,0)]
                out.write("\r\n<html>\r\n<HEAD>\r\n<script src=\"../inc/toUpper.js\" content=\"text/javascript\"></script>\r\n<link rel=\"stylesheet\" href=\"../inc/cn.css\" type=\"text/css\">\r\n<LINK href=\"../inc/DatePicker.css\" rel=stylesheet type=text/css>\r\n<SCRIPT language=javascript src=\"../inc/DateObject.js\"></SCRIPT>\r\n<SCRIPT language=javascript src=\"../inc/DatePicker.js\"></SCRIPT>\r\n<SCRIPT language=javascript src=\"../inc/editlib.js\"></SCRIPT>\r\n<SCRIPT language=\"javascript\">\r\nfunction btnOK_onclick(PrintTag)\r\n{\r\n    form1.submit();\r\n    return false;\r\n     if(form1.chkBeginDate.checked == false)\r\n    {\r\n        BeginDate.setEnabled(false)\r\n    }\r\n    if(form1.chkEndDate.checked==false)\r\n    {\r\n        EndDate.setEnabled(false)\r\n    }\r\n}\r\nfunction setSelect()\r\n{\r\n    if(form1.chkBeginDate.checked == false)\r\n    {\r\n        BeginDate.setEnabled(false)\r\n    }\r\n    if(form1.chkEndDate.checked==false)\r\n    {\r\n        EndDate.setEnabled(false)\r\n    }\r\n}\r\nfunction setEnableDate(chked,checkboxObj)\r\n{\r\n    var obj=eval(checkboxObj)\r\n    obj.setEnabled(chked)\r\n}\r\n</SCRIPT>\r\n</HEAD>\r\n<BODY onload=setSelect()>\r\n<form name=\"form1\" method=\"post\" action=\"ReportAct039.jsp\">\r\n  <table width=\"100%\" >\r\n    <tr>\r\n      <td  class=\"title\" width=\"2%\"><img src=\"../images/who.gif\"></td>\r\n      <td  class=\"title\" width=\"88%\"><label>公文稽催通知單</label> </td>\r\n      <td  class=\"title\" width=\"10%\">&nbsp;</td>\r\n    </tr>\r\n  </table>\r\n  <br>\r\n  <table width=\"90%\">\r\n    <tr align=\"middle\" display=\"style:none\">\r\n      <th width=\"42%\"  align=right nowrap> 請輸入承辦部門:\r\n      <td align=left width=\"70%\" class=\"tr_bg1\">\r\n     <select size = \"1\" name = \"UndertakeDeptID\" class = \"select\">\r\n      <option selected value = \"\">全部</option>\r\n");

            // end
            // begin [file="/DMS/report/ReportClient039.jsp";from=(79,2);to=(82,0)]
                
                for(int i=0;i<DepartmentName.length;i++)
                {
            // end
            // HTML // begin [file="/DMS/report/ReportClient039.jsp";from=(82,2);to=(83,19)]
                out.write("\r\n    <option value=\"");

            // end
            // begin [file="/DMS/report/ReportClient039.jsp";from=(83,22);to=(83,37)]
                out.print(DepartmentID[i]);
            // end
            // HTML // begin [file="/DMS/report/ReportClient039.jsp";from=(83,39);to=(83,41)]
                out.write("\">");

            // end
            // begin [file="/DMS/report/ReportClient039.jsp";from=(83,44);to=(83,61)]
                out.print(DepartmentName[i]);
            // end
            // HTML // begin [file="/DMS/report/ReportClient039.jsp";from=(83,63);to=(84,0)]
                out.write("</option>\r\n");

            // end
            // begin [file="/DMS/report/ReportClient039.jsp";from=(84,2);to=(86,0)]
                
                }
            // end
            // HTML // begin [file="/DMS/report/ReportClient039.jsp";from=(86,2);to=(105,0)]
                out.write("\r\n      </td>\r\n    </tr>\r\n    <tr>\r\n      <th align=right width=\"42%\" nowrap>收文日期:\r\n      <td><input type=checkbox name=chkBeginDate onclick=setEnableDate(this.checked,\"BeginDate\")>\r\n        <SCRIPT>var BeginDate=createDatePicker(\"BeginDate\");</SCRIPT>\r\n        &nbsp;&nbsp;至&nbsp;<input type=checkbox name=chkEndDate onclick=setEnableDate(this.checked,\"EndDate\")>\r\n        <SCRIPT>var EndDate=createDatePicker(\"EndDate\");</SCRIPT>\r\n      </td>\r\n    </tr>\r\n  </table>\r\n  <br>\r\n  <INPUT type=button value=\"列印\" name=btnOK LANGUAGE=javascript onclick=\"return btnOK_onclick(1)\" class=\"button\">\r\n  <INPUT type=button value=\"預覽\" name=btnOK LANGUAGE=javascript onclick=\"return btnOK_onclick(2)\" class=\"button\">\r\n  <INPUT type=button value=\"返回\" id=btnReBack LANGUAGE=javascript onclick=\"window.history.back()\" class=\"button\">\r\n  </form>\r\n</BODY>\r\n</HTML>\r\n");

            // end

        } catch (Throwable t) {
            if (out != null && out.getBufferSize() != 0)
                out.clearBuffer();
            if (pageContext != null) pageContext.handlePageException(t);
        } finally {
            if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext);
        }
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -