parent
299f0384a3
commit
0a837a215c
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="ASCII"?>
|
||||
<pi:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:al="http://eclipse.org/graphiti/mm/algorithms" xmlns:pi="http://eclipse.org/graphiti/mm/pictograms" visible="true" gridUnit="10" diagramTypeId="BPMNdiagram" name="MyProcess" snapToGrid="true" showGuides="true">
|
||||
<graphicsAlgorithm xsi:type="al:Rectangle" background="//@colors.1" foreground="//@colors.0" lineWidth="1" transparency="0.0" width="1000" height="1000"/>
|
||||
<colors red="227" green="238" blue="249"/>
|
||||
<colors red="255" green="255" blue="255"/>
|
||||
</pi:Diagram>
|
@ -0,0 +1,120 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<classpath>
|
||||
<classpathentry kind="src" path="src"/>
|
||||
<classpathentry kind="src" path="config"/>
|
||||
<classpathentry kind="src" path="activiti"/>
|
||||
<classpathentry kind="src" path="test"/>
|
||||
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>
|
||||
<classpathentry kind="con" path="com.genuitec.runtime.library/com.genuitec.generic_6.0">
|
||||
<attributes>
|
||||
<attribute name="owner.project.facets" value="jst.web"/>
|
||||
</attributes>
|
||||
</classpathentry>
|
||||
<classpathentry kind="con" path="com.genuitec.runtime.library/com.genuitec.jstl_1.2.1">
|
||||
<attributes>
|
||||
<attribute name="owner.project.facets" value="jst.web.jstl"/>
|
||||
<attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
|
||||
</attributes>
|
||||
</classpathentry>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER">
|
||||
<attributes>
|
||||
<attribute name="owner.project.facets" value="java"/>
|
||||
</attributes>
|
||||
</classpathentry>
|
||||
<classpathentry kind="con" path="melibrary.com.genuitec.eclipse.j2eedt.core.MYECLIPSE_JAVAEE_5_CONTAINER"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/activation.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/activiti-bpmn-converter-5.12.1-sources.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/activiti-bpmn-converter-5.12.1.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/activiti-bpmn-layout-5.12.1-sources.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/activiti-bpmn-layout-5.12.1.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/activiti-bpmn-model-5.12.1-sources.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/activiti-bpmn-model-5.12.1.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/activiti-camel-5.12.1-sources.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/activiti-camel-5.12.1.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/activiti-cdi-sources.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/activiti-cdi.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/activiti-common-rest-5.12.1-sources.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/activiti-common-rest-5.12.1.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/activiti-cxf-5.12.1-sources.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/activiti-cxf-5.12.1.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/activiti-diagram-rest-5.12.1-sources.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/activiti-diagram-rest-5.12.1.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/activiti-engine-5.12.1-sources.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/activiti-engine-5.12.1.jar" sourcepath="WebRoot/WEB-INF/lib/activiti-engine-5.12.1-sources.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/activiti-explorer-5.12.1-sources.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/activiti-explorer-5.12.1.jar" sourcepath="WebRoot/WEB-INF/lib/activiti-explorer-5.12.1-sources.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/activiti-json-converter-5.12.1-sources.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/activiti-json-converter-5.12.1.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/activiti-modeler-5.12.1-sources.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/activiti-modeler-5.12.1.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/activiti-mule-5.12.1-sources.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/activiti-mule-5.12.1.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/activiti-osgi-5.12.1-sources.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/activiti-osgi-5.12.1.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/activiti-rest-5.12.1-sources.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/activiti-rest-5.12.1.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/activiti-simple-workflow-5.12.1-sources.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/activiti-simple-workflow-5.12.1.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/activiti-spring-5.12.1-sources.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/activiti-spring-5.12.1.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/antlr-2.7.7.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/aopalliance-1.0.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/asm-3.3.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/asm-commons-3.3.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/aspectjweaver.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/c3p0-0.9.2.1.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/cglib-2.2.2.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-beanutils-1.8.0.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-collections-3.1.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-dbcp-1.4.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-fileupload-1.3.1.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-io-2.2.jar" sourcepath="C:/Users/AD/.m2/repository/commons-io/commons-io/2.2/commons-io-2.2-sources.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-lang-2.4.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-lang3-3.1.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-logging-1.1.3.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-pool-1.5.6.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/dom4j-1.6.1.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/ehcache-core-2.4.3.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/ezmorph-1.0.6.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/freemarker-2.3.19.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/hibernate-c3p0-4.3.5.Final.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/hibernate-commons-annotations-4.0.4.Final.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/hibernate-core-4.3.5.Final.jar" sourcepath="C:/Users/AD/.m2/repository/org/hibernate/hibernate-core/4.3.5.Final/hibernate-core-4.3.5.Final-sources.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/hibernate-ehcache-4.3.5.Final.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/hibernate-jpa-2.1-api-1.0.0.Final.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jandex-1.1.0.Final.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/javassist-3.18.1-GA.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jboss-logging-3.1.3.GA.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jboss-logging-annotations-1.2.0.Beta1.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jboss-transaction-api_1.2_spec-1.0.0.Final.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/json-lib-2.2.3-jdk15.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/junit4.4.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/log4j-1.2.17.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/log4j-api-2.0.2.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/log4j-core-2.0.2.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/mail.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/mchange-commons-java-0.2.3.4.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/mybatis-3.1.1.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/ognl-3.0.6.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/ojdbc7.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/slf4j-api-1.6.1.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/slf4j-log4j12-1.7.5.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/spring-aop-4.0.6.RELEASE.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/spring-aspects-4.0.6.RELEASE.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/spring-beans-4.0.6.RELEASE.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/spring-context-4.0.6.RELEASE.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/spring-context-support-4.0.6.RELEASE.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/spring-core-4.0.6.RELEASE.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/spring-expression-4.0.6.RELEASE.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/spring-jdbc-4.0.6.RELEASE.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/spring-orm-4.0.6.RELEASE.jar" sourcepath="C:/Users/AD/.m2/repository/org/springframework/spring-orm/4.0.6.RELEASE/spring-orm-4.0.6.RELEASE-sources.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/spring-tx-4.0.6.RELEASE.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/spring-web-4.0.6.RELEASE.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/spring-webmvc-4.0.6.RELEASE.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/struts2-core-2.3.16.3.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/struts2-spring-plugin-2.3.16.3.jar"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/xwork-core-2.3.16.3.jar"/>
|
||||
<classpathentry kind="con" path="org.eclipse.jst.server.core.container/org.eclipse.jst.server.tomcat.runtimeTarget/Apache Tomcat v9.0"/>
|
||||
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/mysql-connector-java-8.0.27.jar"/>
|
||||
<classpathentry kind="output" path="WebRoot/WEB-INF/classes"/>
|
||||
</classpath>
|
@ -0,0 +1,41 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
|
||||
<properties>
|
||||
<entry key="profiler.settings.instrument.empty.methods">true</entry>
|
||||
<entry key="ProfilerCPUSettings_profile_runnables">true</entry>
|
||||
<entry key="profiler.settings.n.profiled.threads.limit">32</entry>
|
||||
<entry key="ProfilerCPUSettings_filter_type">2</entry>
|
||||
<entry key="profiler.settings.obj.alloc.stack.sampling.depth">-1</entry>
|
||||
<entry key="profiler.settings.instrument.method.invoke">true</entry>
|
||||
<entry key="profiler.settings.instr.scheme">1</entry>
|
||||
<entry key="ProfilerMemorySettings_track_every">10</entry>
|
||||
<entry key="ProfilerMemorySettings_mode">4</entry>
|
||||
<entry key="ProfilerCPUSettings_root_classes">com.oa.action.**
|
||||
com.oa.dao.**
|
||||
com.oa.filter.**
|
||||
com.oa.install.**
|
||||
com.oa.interceptor.**
|
||||
com.oa.listener.**
|
||||
com.oa.pojo.**
|
||||
com.oa.service.**
|
||||
com.oa.test.**
|
||||
com.oa.util.**
|
||||
org.apache.struts2.views.jsp.ui.**
|
||||
</entry>
|
||||
<entry key="ProfilerCPUSettings_filter_value">com.oa.action.*,
|
||||
com.oa.dao.*,
|
||||
com.oa.filter.*,
|
||||
com.oa.install.*,
|
||||
com.oa.interceptor.*,
|
||||
com.oa.listener.*,
|
||||
com.oa.pojo.*,
|
||||
com.oa.service.*,
|
||||
com.oa.test.*,
|
||||
com.oa.util.*,
|
||||
org.apache.struts2.views.jsp.ui.*</entry>
|
||||
<entry key="profiler.settings.istrument.getter.setter.methods">true</entry>
|
||||
<entry key="myeclipse.profiling.mode">0</entry>
|
||||
<entry key="ProfilerMemorySettings_stacktraces">-1</entry>
|
||||
<entry key="profiler.settings.sampling.interval">10</entry>
|
||||
<entry key="profiler.settings.cpu.profiling.type">0</entry>
|
||||
</properties>
|
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project-module
|
||||
type="WEB"
|
||||
name="OA"
|
||||
id="myeclipse.1420265664529"
|
||||
context-root="/OA"
|
||||
j2ee-spec="6.0"
|
||||
archive="OA.war">
|
||||
<attributes>
|
||||
<attribute name="webrootdir" value="WebRoot" />
|
||||
</attributes>
|
||||
</project-module>
|
||||
|
@ -0,0 +1,58 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>OA</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.wst.common.project.facet.core.builder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>com.genuitec.eclipse.j2eedt.core.WebClasspathBuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.jdt.core.javabuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>com.genuitec.eclipse.j2eedt.core.J2EEProjectValidator</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>com.genuitec.eclipse.j2eedt.core.DeploymentDescriptorValidator</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.wst.validation.validationbuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>com.genuitec.eclipse.ast.deploy.core.DeploymentBuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
<nature>com.genuitec.eclipse.ast.deploy.core.deploymentnature</nature>
|
||||
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
|
||||
<nature>com.genuitec.eclipse.j2eedt.core.webnature</nature>
|
||||
<nature>org.eclipse.jdt.core.javanature</nature>
|
||||
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
|
||||
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
|
||||
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
|
||||
</natures>
|
||||
</projectDescription>
|
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<classpath>
|
||||
<classpathentry kind="src" path="WebRoot"/>
|
||||
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.JRE_CONTAINER"/>
|
||||
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.WebProject">
|
||||
<attributes>
|
||||
<attribute name="hide" value="true"/>
|
||||
</attributes>
|
||||
</classpathentry>
|
||||
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.baseBrowserLibrary"/>
|
||||
<classpathentry kind="output" path=""/>
|
||||
</classpath>
|
@ -0,0 +1,5 @@
|
||||
eclipse.preferences.version=1
|
||||
performed.operation.me.create.deploymentAssembly=1.0
|
||||
performed.operation.me.create.deploymentAssembly.fixBuildPathEntries=1.0
|
||||
performed.operation.me.install.jstl=1.0
|
||||
performed.operation.migrate.container.ids=1.0
|
@ -0,0 +1,3 @@
|
||||
eclipse.preferences.version=1
|
||||
encoding//config/log4j.properties=UTF-8
|
||||
encoding/<project>=UTF-8
|
@ -0,0 +1,12 @@
|
||||
eclipse.preferences.version=1
|
||||
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
|
||||
org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
|
||||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
|
||||
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
|
||||
org.eclipse.jdt.core.compiler.compliance=1.8
|
||||
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
|
||||
org.eclipse.jdt.core.compiler.debug.localVariable=generate
|
||||
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
|
||||
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
|
||||
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
|
||||
org.eclipse.jdt.core.compiler.source=1.8
|
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
|
||||
<wb-module deploy-name="OA">
|
||||
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src"/>
|
||||
<wb-resource deploy-path="/WEB-INF/classes" source-path="/config"/>
|
||||
<wb-resource deploy-path="/WEB-INF/classes" source-path="/activiti"/>
|
||||
<wb-resource deploy-path="/WEB-INF/classes" source-path="/test"/>
|
||||
<wb-resource deploy-path="/" source-path="/WebRoot" tag="defaultRootSource"/>
|
||||
<property name="context-root" value="/OA"/>
|
||||
<property name="me-merge-utility-modules" value="true"/>
|
||||
<property name="java-output-path" value="/OA/WebRoot/WEB-INF/classes"/>
|
||||
</wb-module>
|
||||
</project-modules>
|
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<faceted-project>
|
||||
<runtime name="Apache Tomcat v9.0"/>
|
||||
<fixed facet="wst.jsdt.web"/>
|
||||
<installed facet="wst.jsdt.web" version="1.0"/>
|
||||
<installed facet="jst.web.jstl" version="1.2.1"/>
|
||||
<installed facet="java" version="1.8"/>
|
||||
<installed facet="jst.web" version="3.0"/>
|
||||
</faceted-project>
|
@ -0,0 +1 @@
|
||||
org.eclipse.wst.jsdt.launching.baseBrowserLibrary
|
@ -0,0 +1 @@
|
||||
Window
|
@ -0,0 +1,3 @@
|
||||
Manifest-Version: 1.0
|
||||
Class-Path:
|
||||
|
@ -0,0 +1,66 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:activiti="http://activiti.org/bpmn" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI" typeLanguage="http://www.w3.org/2001/XMLSchema" expressionLanguage="http://www.w3.org/1999/XPath" targetNamespace="http://www.activiti.org/test">
|
||||
<process id="LeaveBill" name="LeaveBillprocess" isExecutable="true">
|
||||
<startEvent id="startevent1" name="Start"></startEvent>
|
||||
<endEvent id="endevent1" name="End"></endEvent>
|
||||
<userTask id="usertask1" name="提交申请" activiti:assignee="#{userId}" activiti:formKey="workflowAction_audit.action"></userTask>
|
||||
<userTask id="usertask2" name="审批【部门经理】" activiti:formKey="workflowAction_audit.action">
|
||||
<extensionElements>
|
||||
<activiti:taskListener event="create" class="com.oa.listener.ManagerTask"></activiti:taskListener>
|
||||
</extensionElements>
|
||||
</userTask>
|
||||
<userTask id="usertask3" name="再审批【总经理】" activiti:formKey="workflowAction_audit.action">
|
||||
<extensionElements>
|
||||
<activiti:taskListener event="create" class="com.oa.listener.TopManagerTask"></activiti:taskListener>
|
||||
</extensionElements>
|
||||
</userTask>
|
||||
<sequenceFlow id="flow1" sourceRef="startevent1" targetRef="usertask1"></sequenceFlow>
|
||||
<sequenceFlow id="flow2" name="提交申请" sourceRef="usertask1" targetRef="usertask2"></sequenceFlow>
|
||||
<sequenceFlow id="flow3" name="批注" sourceRef="usertask2" targetRef="usertask3"></sequenceFlow>
|
||||
<sequenceFlow id="flow4" name="批注" sourceRef="usertask3" targetRef="endevent1"></sequenceFlow>
|
||||
</process>
|
||||
<bpmndi:BPMNDiagram id="BPMNDiagram_LeaveBill">
|
||||
<bpmndi:BPMNPlane bpmnElement="LeaveBill" id="BPMNPlane_LeaveBill">
|
||||
<bpmndi:BPMNShape bpmnElement="startevent1" id="BPMNShape_startevent1">
|
||||
<omgdc:Bounds height="35.0" width="35.0" x="320.0" y="60.0"></omgdc:Bounds>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape bpmnElement="endevent1" id="BPMNShape_endevent1">
|
||||
<omgdc:Bounds height="35.0" width="35.0" x="320.0" y="410.0"></omgdc:Bounds>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape bpmnElement="usertask1" id="BPMNShape_usertask1">
|
||||
<omgdc:Bounds height="55.0" width="105.0" x="285.0" y="130.0"></omgdc:Bounds>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape bpmnElement="usertask2" id="BPMNShape_usertask2">
|
||||
<omgdc:Bounds height="55.0" width="105.0" x="285.0" y="220.0"></omgdc:Bounds>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape bpmnElement="usertask3" id="BPMNShape_usertask3">
|
||||
<omgdc:Bounds height="55.0" width="105.0" x="285.0" y="313.0"></omgdc:Bounds>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge bpmnElement="flow1" id="BPMNEdge_flow1">
|
||||
<omgdi:waypoint x="337.0" y="95.0"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="337.0" y="130.0"></omgdi:waypoint>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge bpmnElement="flow2" id="BPMNEdge_flow2">
|
||||
<omgdi:waypoint x="337.0" y="185.0"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="337.0" y="220.0"></omgdi:waypoint>
|
||||
<bpmndi:BPMNLabel>
|
||||
<omgdc:Bounds height="14.0" width="48.0" x="347.0" y="185.0"></omgdc:Bounds>
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge bpmnElement="flow3" id="BPMNEdge_flow3">
|
||||
<omgdi:waypoint x="337.0" y="275.0"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="337.0" y="313.0"></omgdi:waypoint>
|
||||
<bpmndi:BPMNLabel>
|
||||
<omgdc:Bounds height="14.0" width="24.0" x="347.0" y="275.0"></omgdc:Bounds>
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge bpmnElement="flow4" id="BPMNEdge_flow4">
|
||||
<omgdi:waypoint x="337.0" y="368.0"></omgdi:waypoint>
|
||||
<omgdi:waypoint x="337.0" y="410.0"></omgdi:waypoint>
|
||||
<bpmndi:BPMNLabel>
|
||||
<omgdc:Bounds height="14.0" width="24.0" x="347.0" y="368.0"></omgdc:Bounds>
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNEdge>
|
||||
</bpmndi:BPMNPlane>
|
||||
</bpmndi:BPMNDiagram>
|
||||
</definitions>
|
After Width: | Height: | Size: 10 KiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,32 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE hibernate-mapping PUBLIC
|
||||
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
|
||||
"http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd">
|
||||
|
||||
<hibernate-mapping package="com.oa.pojo">
|
||||
|
||||
<class name="Calendar" table="CALENDAR">
|
||||
<id name="id" type="integer">
|
||||
<column name="ID" />
|
||||
<generator class="native"/>
|
||||
</id>
|
||||
<property name="title" type="java.lang.String">
|
||||
<column length="200" name="TITLE" />
|
||||
</property>
|
||||
<property name="start" type="java.lang.String">
|
||||
<column length="50" name="START" />
|
||||
</property>
|
||||
<property name="end" type="java.lang.String">
|
||||
<column length="50" name="END" />
|
||||
</property>
|
||||
<property name="allDay" type="integer">
|
||||
<column length="50" name="ALLDAY" />
|
||||
</property>
|
||||
<property name="color" type="java.lang.String">
|
||||
<column length="50" name="COLOR" />
|
||||
</property>
|
||||
|
||||
<many-to-one name="user" class="User" column="userId"></many-to-one>
|
||||
</class>
|
||||
|
||||
</hibernate-mapping>
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,38 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE hibernate-mapping PUBLIC
|
||||
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
|
||||
"http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd">
|
||||
|
||||
<hibernate-mapping package="com.oa.pojo">
|
||||
|
||||
<class name="LeaveBill" table="LEAVEBILL">
|
||||
<id name="id" type="java.lang.Long">
|
||||
<column name="ID" />
|
||||
<generator class="native"/>
|
||||
</id>
|
||||
<property name="days" type="java.lang.Integer">
|
||||
<column length="50" name="DAYS" />
|
||||
</property>
|
||||
<property name="content" type="java.lang.String">
|
||||
<column length="200" name="CONTENT" />
|
||||
</property>
|
||||
<property name="leaveDate" type="timestamp">
|
||||
<column length="200" name="LEAVEDATE" />
|
||||
</property>
|
||||
<property name="note" type="java.lang.String">
|
||||
<column length="200" name="NOTE" />
|
||||
</property>
|
||||
<property name="state" type="java.lang.Integer">
|
||||
<column length="50" name="STATE" />
|
||||
</property>
|
||||
<property name="state" type="java.lang.Integer">
|
||||
<column length="50" name="STATE" />
|
||||
</property>
|
||||
<property name="ex" type="java.lang.String">
|
||||
<column length="200" name="EX" />
|
||||
</property>
|
||||
|
||||
<many-to-one name="user" class="User" column="userId"></many-to-one>
|
||||
</class>
|
||||
|
||||
</hibernate-mapping>
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,59 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE hibernate-mapping PUBLIC
|
||||
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
|
||||
"http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd">
|
||||
|
||||
<hibernate-mapping package="com.oa.pojo">
|
||||
|
||||
<class name="User" table="USER">
|
||||
<id name="id" type="java.lang.Long">
|
||||
<column name="ID" />
|
||||
<generator class="native"/>
|
||||
</id>
|
||||
<!-- <id name="id" type="java.lang.Integer">
|
||||
<column name="ID" />
|
||||
自动生成的序列id会覆盖页面添加的id
|
||||
<generator class="sequence">
|
||||
<param name="sequence">SEQ_USERID</param>
|
||||
</generator>
|
||||
</id> -->
|
||||
<property name="loginName" type="java.lang.String">
|
||||
<column length="50" name="LOGINNAME" />
|
||||
</property>
|
||||
<property name="password" type="java.lang.String">
|
||||
<column length="100" name="PASSWORD" />
|
||||
</property>
|
||||
<property name="realName" type="java.lang.String">
|
||||
<column length="50" name="REALNAME" />
|
||||
</property>
|
||||
<property name="gender" type="java.lang.String">
|
||||
<column length="50" name="GENDER" />
|
||||
</property>
|
||||
<property name="phoneNumber" type="java.lang.String">
|
||||
<column length="50" name="PHONENUMBER" />
|
||||
</property>
|
||||
<property name="email" type="java.lang.String">
|
||||
<column length="100" name="EMAIL" />
|
||||
</property>
|
||||
<property name="age" type="java.lang.Integer">
|
||||
<column length="50" name="AGE" />
|
||||
</property>
|
||||
<property name="imageAddress" type="java.lang.String">
|
||||
<column length="100" name="IMAGEADDRESS" />
|
||||
</property>
|
||||
<property name="education" type="java.lang.String">
|
||||
<column length="50" name="EDUCATION" />
|
||||
</property>
|
||||
<property name="note" type="java.lang.String">
|
||||
<column length="50" name="NOTE" />
|
||||
</property>
|
||||
<many-to-one name="department" class="Department" column="DEPARTMENTID" lazy="false">
|
||||
</many-to-one>
|
||||
<set name="roles" table="USER_ROLE" lazy="false">
|
||||
<key column="USERID"></key>
|
||||
<many-to-many class="Role" column="ROLEID"></many-to-many>
|
||||
</set>
|
||||
|
||||
</class>
|
||||
|
||||
</hibernate-mapping>
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,13 @@
|
||||
#MySql
|
||||
jdbcUrl=jdbc:mysql://localhost:3306/oa
|
||||
driverClass=com.mysql.jdbc.Driver
|
||||
user=root
|
||||
password=123456
|
||||
dialect=org.hibernate.dialect.MySQLDialect
|
||||
|
||||
#Oracle
|
||||
#jdbcUrl=jdbc:oracle:thin:@localhost:1521:orcl
|
||||
#driverClass=oracle.jdbc.driver.OracleDriver
|
||||
#user=c##zzl
|
||||
#password=123456
|
||||
#dialect=org.hibernate.dialect.OracleDialect
|
@ -0,0 +1,26 @@
|
||||
#\u4e0b\u9762\u5b9a\u4e49\u65e5\u5fd7\u8f93\u51fa\u7ea7\u522b\u662f INFO\uff0c\u5e76\u4e14\u914d\u7f6e\u4e862\u4e2a\u8f93\u51fa\u76ee\u7684\u5730\uff0c\u4e00\u4e2a\u662fA3\uff0c\u4e00\u4e2a\u662fconsole
|
||||
# Log4j\u5efa\u8bae\u53ea\u4f7f\u7528\u56db\u4e2a\u7ea7\u522b\uff0c\u4f18\u5148\u7ea7\u4ece\u9ad8\u5230\u4f4e\u5206\u522b\u662fERROR\u3001WARN\u3001INFO\u3001DEBUG
|
||||
log4j.rootLogger = INFO,A3,CONSOLE
|
||||
|
||||
#\u65e5\u5fd7\u6700\u4f4e\u7684\u8f93\u51fa\u7ea7\u522b
|
||||
log4j.appender.A3.Threshold=INFO
|
||||
log4j.appender.A3.encoding=UTF-8
|
||||
#\u6bcf\u5929\u4ea7\u751f\u4e00\u4e2a\u6587\u4ef6DailyRollingFileAppender
|
||||
log4j.appender.A3 = org.apache.log4j.DailyRollingFileAppender
|
||||
#file \u5c5e\u6027 \u6307\u5b9a\u4ea7\u751f\u65e5\u5fd7\u6587\u4ef6\u7684\u4fdd\u5b58\u4f4d\u7f6e\u53ca\u6587\u4ef6\u540d\uff0c\u8fd9\u91cc\u662fwindows\u4e0b\u7684\u914d\u7f6e
|
||||
log4j.appender.A3.File=d:/oarun/log/logtest.log
|
||||
#\u5f53\u6709\u65e5\u5fd7\u65f6\u7acb\u5373\u8f93\u51fa\uff0c\u9ed8\u8ba4\u662ftrue
|
||||
log4j.appender.A3.ImmediateFlush=true
|
||||
log4j.appender.A3.DatePattern='_'yyyy-MM-dd
|
||||
#\u65e5\u5fd7\u5e03\u5c40\u65b9\u5f0f
|
||||
log4j.appender.A3.layout=org.apache.log4j.PatternLayout
|
||||
#\u65e5\u5fd7\u6587\u4ef6\u4e2d\u65e5\u5fd7\u7684\u683c\u5f0f
|
||||
log4j.appender.A3.layout.ConversionPattern=%-d{yyyy/MM/dd HH:mm:ss} OSS %-5p [%c] - %m%n
|
||||
|
||||
#\u8fd9\u91cc\u4f7f\u7528org.apache.log4j.ConsoleAppender\u6307\u5b9a\u8981\u628a\u65e5\u5fd7\u8f93\u51fa\u5230\u63a7\u5236\u53f0
|
||||
log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
|
||||
log4j.appender.Threshold=INFO
|
||||
#\u8f93\u51fa\u76ee\u6807\u662f \u63a7\u5236\u53f0
|
||||
log4j.appender.CONSOLE.Target=System.out
|
||||
log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
|
||||
log4j.appender.CONSOLE.layout.ConversionPattern=%-d{yyyy/MM/dd HH\:mm\:ss} OSS %-5p [%c] - %m%n
|
Binary file not shown.
@ -0,0 +1,56 @@
|
||||
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
|
||||
<%@ taglib prefix="s" uri="/struts-tags" %>
|
||||
<%
|
||||
String path = request.getContextPath();
|
||||
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
|
||||
%>
|
||||
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<base href="<%=basePath%>">
|
||||
|
||||
<title>My JSP 'addUI.jsp' starting page</title>
|
||||
|
||||
<meta http-equiv="pragma" content="no-cache">
|
||||
<meta http-equiv="cache-control" content="no-cache">
|
||||
<meta http-equiv="expires" content="0">
|
||||
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
|
||||
<meta http-equiv="description" content="This is my page">
|
||||
<link href="bootstrap/css/bootstrap.css" rel="stylesheet">
|
||||
<link href="bootstrap/css/bootstrap-responsive.css" rel="stylesheet">
|
||||
<script src="bootstrap/js/jQuery.js"></script>
|
||||
<script src="bootstrap/js/bootstrap.js"></script>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<s:form action="department_add1" method="post" style="margin: 20">
|
||||
<div class="form-group">
|
||||
<label for="input1" class="col-sm-2 control-label">部门名称</label>
|
||||
<div class="col-sm-10">
|
||||
<input type="text" class="form-control" id="input1" name="name"
|
||||
style="height: 30;width: 400" placeholder="部门名称">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="input2" class="col-sm-2 control-label">部门简介</label>
|
||||
<div class="col-sm-10">
|
||||
<input type="text" class="form-control" id="input2" name="note" style="height: 30;width: 400"
|
||||
placeholder="部门简介">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="input3" class="col-sm-2 control-label">部门经理</label>
|
||||
<div class="col-sm-10">
|
||||
<s:select list="%{managerList}" name="department.manager.loginName" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="col-sm-offset-2 col-sm-10">
|
||||
<button type="submit" class="btn btn-primary">提交</button>
|
||||
</div>
|
||||
</div>
|
||||
</s:form>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,104 @@
|
||||
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
|
||||
<%@ taglib prefix="s" uri="/struts-tags"%>
|
||||
<%
|
||||
String path = request.getContextPath();
|
||||
String basePath = request.getScheme() + "://"
|
||||
+ request.getServerName() + ":" + request.getServerPort()
|
||||
+ path + "/";
|
||||
%>
|
||||
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<base href="<%=basePath%>">
|
||||
|
||||
<title>My JSP 'departmentList.jsp' starting page</title>
|
||||
|
||||
<meta http-equiv="pragma" content="no-cache">
|
||||
<meta http-equiv="cache-control" content="no-cache">
|
||||
<meta http-equiv="expires" content="0">
|
||||
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
|
||||
<meta http-equiv="description" content="This is my page">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<script type="text/javascript" src="jquery/jquery-1.11.2.js"></script>
|
||||
<link href="bootstrap/css/bootstrap.css" rel="stylesheet">
|
||||
<link href="bootstrap/css/bootstrap-responsive.css" rel="stylesheet">
|
||||
<style type="text/css">
|
||||
table{background:#fff}
|
||||
tr{background:#fff}
|
||||
td{background:#fff}
|
||||
</style>
|
||||
<script src="bootstrap/js/jQuery.js"></script>
|
||||
<script src="bootstrap/js/bootstrap.js"></script>
|
||||
<script type="text/javascript">
|
||||
var msg_add1 = '${msg_add1}';
|
||||
if (msg_add1 != "") {
|
||||
alert(msg_add1);
|
||||
window.close();
|
||||
}
|
||||
var msg_edit1 = '${msg_edit1}';
|
||||
if (msg_edit1 != "") {
|
||||
alert(msg_edit1);
|
||||
window.close();
|
||||
}
|
||||
var msg_delete = '${msg_delete}';
|
||||
if (msg_delete != "") {
|
||||
alert(msg_delete);
|
||||
}
|
||||
|
||||
//编辑部门
|
||||
function edit1(id) {
|
||||
|
||||
var path = "department_editUI1?id=" + id;
|
||||
//窗口状态
|
||||
var OPEN_WINDOW_STATE = "dialogWidth=600px;dialogHeight=400px;scroll=yes;resizable=no;status=no;center=yes";
|
||||
//显示窗口
|
||||
window.showModalDialog(path, window, OPEN_WINDOW_STATE);
|
||||
window.location.href = "department_list";
|
||||
}
|
||||
|
||||
//添加部门
|
||||
function add1() {
|
||||
var path = "department_addUI1";
|
||||
//窗口状态
|
||||
var OPEN_WINDOW_STATE = "dialogWidth=600px;dialogHeight=500px;scroll=yes;resizable=no;status=no;center=yes";
|
||||
//显示窗口
|
||||
window.showModalDialog(path, window, OPEN_WINDOW_STATE);
|
||||
window.location.href = "department_list";
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body style="margin: 10;background:#363636;">
|
||||
<div style="width:100%;height:100%;background:#fff;border-radius:5px;">
|
||||
<div style="margin-top: 10;">
|
||||
<br>
|
||||
<span><font size="4"> 部门管理======>> </font></span>
|
||||
<span><s:a onclick="add1()" includeParams="department_add"><font size="4">添加部门</font></s:a></span>
|
||||
</div>
|
||||
<br>
|
||||
<table class="table table-bordered table-hover" style="margin:2;border-radius:0 0 5px 5px;width:1280px">
|
||||
<tr>
|
||||
<th>部门名称</th>
|
||||
<th>部门经理</th>
|
||||
<th>部门简介</th>
|
||||
<s:if test='#session.user.hasPrivilegeByUrl("department_edit")'><th>编辑</th></s:if>
|
||||
<s:if test='#session.user.hasPrivilegeByUrl("department_delete")'><th>删除</th></s:if>
|
||||
</tr>
|
||||
|
||||
<s:iterator value="#list">
|
||||
<tr>
|
||||
<td>${name}</td>
|
||||
<td>${manager.loginName} </td>
|
||||
<td>${note} </td>
|
||||
<s:if test='#session.user.hasPrivilegeByUrl("department_edit")'><td> <s:a onclick="edit1('%{id}')" includeParams="department_edit">编辑</s:a></td></s:if>
|
||||
<s:if test='#session.user.hasPrivilegeByUrl("department_delete")'><td> <s:a action="department_delete?id=%{id}" onclick="return window.confirm('确定要删除吗?')" >删除</s:a></td></s:if>
|
||||
</tr>
|
||||
</s:iterator>
|
||||
|
||||
</table>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,61 @@
|
||||
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
|
||||
<%@ taglib prefix="s" uri="/struts-tags" %>
|
||||
<%
|
||||
String path = request.getContextPath();
|
||||
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
|
||||
%>
|
||||
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<base href="<%=basePath%>">
|
||||
|
||||
<title>My JSP 'edit1.jsp' starting page</title>
|
||||
|
||||
<meta http-equiv="pragma" content="no-cache">
|
||||
<meta http-equiv="cache-control" content="no-cache">
|
||||
<meta http-equiv="expires" content="0">
|
||||
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
|
||||
<meta http-equiv="description" content="This is my page">
|
||||
<link href="bootstrap/css/bootstrap.css" rel="stylesheet">
|
||||
<link href="bootstrap/css/bootstrap-responsive.css" rel="stylesheet">
|
||||
<script src="bootstrap/js/jQuery.js"></script>
|
||||
<script src="bootstrap/js/bootstrap.js"></script>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<s:form action="department_edit1" method="post" style="margin: 20">
|
||||
<s:hidden name="id" />
|
||||
<div class="form-group">
|
||||
<label for="input1" class="col-sm-2 control-label">部门名称</label>
|
||||
<div class="col-sm-10">
|
||||
<input type="text" class="form-control" id="input1" name="name"
|
||||
value="${name }" style="height: 30;width: 400">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="input2" class="col-sm-2 control-label">部门简介</label>
|
||||
<div class="col-sm-10">
|
||||
<input type="text" class="form-control" id="input2" name="note" style="height: 30;width: 400"
|
||||
value="${note }">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="input3" class="col-sm-2 control-label">部门经理</label>
|
||||
<div class="col-sm-10">
|
||||
<select name="department.manager.loginName">
|
||||
<s:iterator value="%{managerList}" var="s">
|
||||
<option value="${s }" ${s==manager.loginName?'selected':'' }>${s }</option>
|
||||
</s:iterator>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="col-sm-offset-2 col-sm-10">
|
||||
<button type="submit" class="btn btn-primary">提交</button>
|
||||
</div>
|
||||
</div>
|
||||
</s:form>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,30 @@
|
||||
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
|
||||
<%
|
||||
String path = request.getContextPath();
|
||||
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
|
||||
%>
|
||||
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<base href="<%=basePath%>">
|
||||
|
||||
<title>My JSP 'bottom.jsp' starting page</title>
|
||||
|
||||
<meta http-equiv="pragma" content="no-cache">
|
||||
<meta http-equiv="cache-control" content="no-cache">
|
||||
<meta http-equiv="expires" content="0">
|
||||
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
|
||||
<meta http-equiv="description" content="This is my page">
|
||||
<!--
|
||||
<link rel="stylesheet" type="text/css" href="styles.css">
|
||||
-->
|
||||
|
||||
</head>
|
||||
|
||||
<body style="margin: 0">
|
||||
<div style="background: #363636;height:30px;" >
|
||||
<div align="center" style="padding: 5;color:#fff">Copyright © 2022 版权所有</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,160 @@
|
||||
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
|
||||
<%
|
||||
String path = request.getContextPath();
|
||||
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
|
||||
%>
|
||||
<%@ taglib prefix="s" uri="/struts-tags" %>
|
||||
<%@ page contentType="text/html;charset=UTF-8" trimDirectiveWhitespaces="true" language="java" %>
|
||||
|
||||
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<base href="<%=basePath%>">
|
||||
|
||||
<title>My JSP 'index.jsp' starting page</title>
|
||||
<meta http-equiv="pragma" content="no-cache">
|
||||
<meta http-equiv="cache-control" content="no-cache">
|
||||
<meta http-equiv="expires" content="0">
|
||||
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
|
||||
<meta http-equiv="description" content="This is my page">
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="css/menu.css">
|
||||
|
||||
<script type="text/javascript" src="jquery/jquery-1.11.2.js"></script>
|
||||
<script type="text/javascript">
|
||||
function menuChange(menu){
|
||||
$(menu).next().toggle();
|
||||
}
|
||||
/*---------- 动态获取系统当前日期方法start ------*/
|
||||
setInterval(
|
||||
"document.getElementById('sysDate').value=new Date().toLocaleString()+' 星期'+'日一二三四五六'.charAt(new Date().getDay());",10);
|
||||
//tInterval("document.getElementById('sysSysDate').value=new Date().toLocaleString();",1000);
|
||||
|
||||
/*---------- 动态获取系统当前日期方法end ------*/
|
||||
|
||||
function iFrameHeight() {
|
||||
var ifm= document.getElementById("iframepage");
|
||||
var subWeb = document.frames ? document.frames["iframepage"].document : ifm.contentDocument;
|
||||
if(ifm != null && subWeb != null) {
|
||||
ifm.height = subWeb.body.scrollHeight;
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style type="text/css">
|
||||
body{
|
||||
width:100%;
|
||||
height:100%;
|
||||
background:#3a96ef;
|
||||
}
|
||||
.top{
|
||||
width:100%;
|
||||
height:60px;
|
||||
background:#1874cd;
|
||||
color:#fff;
|
||||
}
|
||||
.top a{
|
||||
color:#fff;
|
||||
}
|
||||
.top a:hover{
|
||||
color:#FFEC8B;
|
||||
}
|
||||
.left{
|
||||
width:155px;
|
||||
height:600px;
|
||||
float:left;
|
||||
margin:5px 5px 5px 15px;
|
||||
border-radius:5px;
|
||||
background:#1874cd;
|
||||
text-align:center;
|
||||
}
|
||||
.left a{
|
||||
color:#fff;
|
||||
}
|
||||
.left a:hover{
|
||||
color:#FFEC8B;
|
||||
}
|
||||
.right{
|
||||
width:1230px;
|
||||
height:600px;
|
||||
float:right;
|
||||
margin:5px 15px 5px 5px;
|
||||
border-radius:5px;
|
||||
background:#1874cd;
|
||||
}
|
||||
.bottom{
|
||||
width:100%;
|
||||
height:35px;
|
||||
float:left;
|
||||
background:#1874cd;
|
||||
}
|
||||
.title{
|
||||
color:#fff;
|
||||
font-size:35px;
|
||||
margin-left:10px;
|
||||
}
|
||||
.date{
|
||||
margin-left:750px;
|
||||
margin-top:-43px;
|
||||
width:510px;
|
||||
font-size:35px;
|
||||
color:#fff;
|
||||
background-color:transparent;
|
||||
border-color:white;
|
||||
}
|
||||
</style>
|
||||
|
||||
</head>
|
||||
<frameset rows="10%,1%,84%,1%,4%" framespacing="0" frameborder="0" bgcolor="#fff" >
|
||||
<frame name="top" scrolling="no" src="home_top" />
|
||||
<frame name="kong" scrolling="no" src=""/>
|
||||
<frameset cols="1%,12%,1%,85%,1%" id="resize" >
|
||||
<frame name="kong" scrolling="no" src=""/>
|
||||
<frame noresize="noresize" name="left" scrolling="no" src="home_left" />
|
||||
<frame name="kong" scrolling="no" src=""/>
|
||||
<frame noresize="noresize" name="right" scrolling="yes" src="home_right" />
|
||||
<frame name="kong" scrolling="no" src=""/>
|
||||
</frameset>
|
||||
<frame name="kong" scrolling="no" src=""/>
|
||||
<frame noresize="noresize" name="bottom" scrolling="no" src="home_bottom" />
|
||||
</frameset><!--
|
||||
<body>
|
||||
<div class="top"><iframe src="home_top" width="100%" height="60" allowtransparency="true" style="background-color=transparent" frameborder="0" scrolling="no" marginheight="0" marginwidth="0"></iframe></div>
|
||||
<div class="left"><iframe src="home_left" width="100%" height="100%" allowtransparency="true" style="background-color=transparent" frameborder="0" scrolling="no" marginheight="10" marginwidth="10"></iframe></div>
|
||||
<div class="right"><iframe src="home_right" width="100%" height="100%" allowtransparency="true" style="background-color=transparent" frameborder="0" scrolling="no" marginheight="10" marginwidth="10"></iframe></div>
|
||||
<div class="bottom"><iframe src="home_bottom" width="100%" height="100%" allowtransparency="true" style="background-color=transparent" frameborder="0" scrolling="no" marginheight="10" marginwidth="10"></iframe></div>
|
||||
</body>
|
||||
<body>
|
||||
|
||||
<div class="top">
|
||||
<div class="title">OA系统</div>
|
||||
<input class="date" id="sysDate"/>
|
||||
<font style="float: right;margin-right:10px;margin-top:-20px">
|
||||
<!-- 65px 20px 20px 10px
|
||||
<strong>${user.loginName }</strong>
|
||||
<a href="user_logout" target="_parent" style="text-decoration: none;">注销</a>
|
||||
</font>
|
||||
<img height="50px" width="50px" style="float: right;margin-right:10px;margin-top:-45px" src="images/rw.jpeg"/>
|
||||
</div>
|
||||
|
||||
<div class="left">
|
||||
<table>
|
||||
<tr><td></td><td>
|
||||
<div>
|
||||
<iframe src="home_left" id="iframepage" name="iframepage" frameBorder=0 scrolling=no width="140px" height="300px" onLoad="iFrameHeight()" allowtransparency="true" style="background-color:transparent"></iframe>
|
||||
</div>
|
||||
</td><td></td></tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="right">
|
||||
<iframe src="home_right" frameBorder=0 scrolling=no width="1230px" height="600px"></iframe>
|
||||
</div>
|
||||
|
||||
<div class="bottom">
|
||||
<div align="center" style="color:#fff;padding: 5">Copyright © 2022 版权所有</div>
|
||||
</div>-->
|
||||
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,12 @@
|
||||
<%@ page language="java" contentType="text/html; charset=UTF-8"
|
||||
pageEncoding="UTF-8"%>
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Insert title here</title>
|
||||
</head>
|
||||
<body>
|
||||
<div background="#3a96ef"></div>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,80 @@
|
||||
|
||||
<%@ taglib prefix="s" uri="/struts-tags" %>
|
||||
<%@ page contentType="text/html;charset=UTF-8" trimDirectiveWhitespaces="true" language="java" %>
|
||||
|
||||
<%
|
||||
String path = request.getContextPath();
|
||||
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
|
||||
%>
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<base href="<%=basePath%>">
|
||||
|
||||
<title>My JSP 'left.jsp' starting page</title>
|
||||
|
||||
<meta http-equiv="pragma" content="no-cache">
|
||||
<meta http-equiv="cache-control" content="no-cache">
|
||||
<meta http-equiv="expires" content="0">
|
||||
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
|
||||
<meta http-equiv="description" content="This is my page">
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="css/menu.css">
|
||||
|
||||
<style type="text/css">
|
||||
.left{
|
||||
width:140px;
|
||||
height:600px;
|
||||
float:left;
|
||||
margin:5px;
|
||||
border-radius:5px;
|
||||
background:#3a96ef;
|
||||
}
|
||||
.left a{
|
||||
color:#fff;
|
||||
}
|
||||
.left a:hover{
|
||||
color:#FFEC8B;
|
||||
}
|
||||
</style>
|
||||
|
||||
<script type="text/javascript" src="jquery/jquery-1.11.2.js"></script>
|
||||
<script type="text/javascript">
|
||||
function menuChange(menu){
|
||||
$(menu).next().toggle();
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body background="#363636">
|
||||
<div id="Menu">
|
||||
<ul id="MenuUl">
|
||||
<s:iterator value="#application.topPrivilegeList">
|
||||
<s:if test="#session.user.hasPrivilegeByName(name)">
|
||||
<li class="level1">
|
||||
<div class="level1Style" style="width: 100; background:#696969;border-radius:5px;color:#fff;margin-top:5px;" onclick="menuChange(this)">
|
||||
<img src="images/menuIcon/${icon }" />${name }
|
||||
</div>
|
||||
<!-- 隐藏二级菜单 -->
|
||||
<div style="display: none">
|
||||
<ul class="MenuLevel2">
|
||||
<s:iterator value="children">
|
||||
<s:if test="#session.user.hasPrivilegeByName(name)">
|
||||
<li class="level2">
|
||||
<div class="level2Style" style="width:100%">
|
||||
<img src="images/menuIcon/menu_arrow_single.gif" />
|
||||
<a target="right" href="${url }" style="text-decoration: none;">${name }</a>
|
||||
</div>
|
||||
</li>
|
||||
</s:if>
|
||||
</s:iterator>
|
||||
</ul>
|
||||
</div>
|
||||
</li>
|
||||
</s:if>
|
||||
</s:iterator>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
@ -0,0 +1,91 @@
|
||||
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
|
||||
<%
|
||||
String path = request.getContextPath();
|
||||
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
|
||||
%>
|
||||
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<script type="text/javascript">
|
||||
/*---------- 动态获取系统当前日期方法start ------*/
|
||||
setInterval(
|
||||
"document.getElementById('sysDate').value=new Date().toLocaleString()+' 星期'+'日一二三四五六'.charAt(new Date().getDay());",1000);
|
||||
//tInterval("document.getElementById('sysSysDate').value=new Date().toLocaleString();",1000);
|
||||
|
||||
/*---------- 动态获取系统当前日期方法end ------*/
|
||||
|
||||
</script>
|
||||
<base href="<%=basePath%>">
|
||||
|
||||
<title>My JSP 'right.jsp' starting page</title>
|
||||
|
||||
<meta http-equiv="pragma" content="no-cache">
|
||||
<meta http-equiv="cache-control" content="no-cache">
|
||||
<meta http-equiv="expires" content="0">
|
||||
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
|
||||
<meta http-equiv="description" content="This is my page">
|
||||
<style type="text/css">
|
||||
td{
|
||||
font-size:20px;
|
||||
}
|
||||
table{
|
||||
width:1150px;
|
||||
height:250px;
|
||||
}
|
||||
.bbtn{
|
||||
width:105px;
|
||||
height:40px;
|
||||
border:1px soild #000;
|
||||
background:#1874cd;
|
||||
color:#fff;
|
||||
margin:100px 0 0 550px;
|
||||
text-decoration: none;
|
||||
padding-top:5px;
|
||||
border-radius:10px;
|
||||
}
|
||||
a{
|
||||
font-size:26px;
|
||||
color:#fff;
|
||||
text-decoration: none;
|
||||
}
|
||||
a:hover{
|
||||
color:#333;
|
||||
}
|
||||
</style>
|
||||
|
||||
</head>
|
||||
|
||||
<body style="background:#363636">
|
||||
<div style="background:#efefef;height:574px;width:1288px;">
|
||||
<div style="margin-left:30px;">
|
||||
<br/>
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tr><td colspan="2" height="40" style="font-size:35px;text-align:left;" bgcolor="#ccc">基本信息</tr>
|
||||
<tr>
|
||||
<td width="200" bgcolor="#ddd"> 登录姓名</td>
|
||||
<td bgcolor="#ddd">${user.loginName }</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="200" bgcolor="#ddd"> 真实姓名</td>
|
||||
<td bgcolor="#ddd">${user.realName }</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="200" bgcolor="#ddd"> 电子邮箱</td>
|
||||
<td bgcolor="#ddd">${user.email }</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="200" bgcolor="#ddd"> 年 龄</td>
|
||||
<td bgcolor="#ddd">${user.age }</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="200" bgcolor="#ddd"> 学 历</td>
|
||||
<td bgcolor="#ddd">${user.education }</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
@ -0,0 +1,84 @@
|
||||
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
|
||||
<%
|
||||
String path = request.getContextPath();
|
||||
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
|
||||
%>
|
||||
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<base href="<%=basePath%>">
|
||||
|
||||
<title>首页</title>
|
||||
|
||||
<meta http-equiv="pragma" content="no-cache">
|
||||
<meta http-equiv="cache-control" content="no-cache">
|
||||
<meta http-equiv="expires" content="0">
|
||||
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
|
||||
<meta http-equiv="description" content="This is my page">
|
||||
<style type="text/css">
|
||||
body{
|
||||
background:#363636;
|
||||
}
|
||||
.title{
|
||||
color:#fff;
|
||||
font-size:26px;
|
||||
width:100px;
|
||||
}
|
||||
a{
|
||||
font-size:12px;
|
||||
color:#fff;
|
||||
text-decoration: none;
|
||||
}
|
||||
a:hover{
|
||||
text-decoration:underline;
|
||||
}
|
||||
.date{
|
||||
margin-left:700px;
|
||||
margin-top:-27px;
|
||||
width:380px;
|
||||
font-size:26px;
|
||||
color:#fff;
|
||||
background-color:transparent;
|
||||
float:left;
|
||||
}
|
||||
.bbtn{
|
||||
width:105px;
|
||||
height:40px;
|
||||
border:1px soild #000;
|
||||
background:#1874cd;
|
||||
color:#fff;
|
||||
margin:100px 0 0 550px;
|
||||
text-decoration: none;
|
||||
padding-top:5px;
|
||||
border-radius:10px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<script type="text/javascript">
|
||||
setInterval(
|
||||
"document.getElementById('sysDate').value=new Date().toLocaleString()+' 星期'+'日一二三四五六'.charAt(new Date().getDay());",10);
|
||||
</script>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<div>
|
||||
<div style="height:50px;width:1410px;float:left;" >
|
||||
<div class="title">OA系统</div>
|
||||
<input class="date" id="sysDate" border="0"/>
|
||||
|
||||
<div style="float:right;"><a href="user_logout" target="_parent" ><img height="40px" width="40px" style="margin-top: -38;margin-right: 0;border-radius:10px;" src="images/close.jpeg"/><div>退出系统</div></a></div>
|
||||
|
||||
<font style="float: right;margin-top: -20 ;margin-right: 120;color:#fff;">
|
||||
<!-- 65px 20px 20px 10px -->
|
||||
<strong>${user.loginName }</strong>
|
||||
</font>
|
||||
|
||||
<img height="50px" width="50px" style="float: right;margin-top: -38;margin-right: 180;border-radius:40px;" src="images/rw2.jpeg"/>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
@ -0,0 +1,56 @@
|
||||
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
|
||||
<%@ taglib prefix="s" uri="/struts-tags" %>
|
||||
<%
|
||||
String path = request.getContextPath();
|
||||
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
|
||||
%>
|
||||
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<base href="<%=basePath%>">
|
||||
|
||||
<title>My JSP 'add.jsp' starting page</title>
|
||||
|
||||
<meta http-equiv="pragma" content="no-cache">
|
||||
<meta http-equiv="cache-control" content="no-cache">
|
||||
<meta http-equiv="expires" content="0">
|
||||
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
|
||||
<meta http-equiv="description" content="This is my page">
|
||||
<script src="jquery/My97DatePicker/WdatePicker.js"></script>
|
||||
<link href="bootstrap/css/bootstrap.css" rel="stylesheet">
|
||||
<link href="bootstrap/css/bootstrap-responsive.css" rel="stylesheet">
|
||||
<script src="bootstrap/js/jQuery.js"></script>
|
||||
<script src="bootstrap/js/bootstrap.js"></script>
|
||||
|
||||
</head>
|
||||
|
||||
<body style="margin: 20;margin-right: 400">
|
||||
<s:form method="post" action="leaveApply_save">
|
||||
<table class="table table-bordered table-hover">
|
||||
<tr>
|
||||
<td>请假天数</td>
|
||||
<td><s:textfield name="days"></s:textfield></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>请假离开时间</td>
|
||||
<td><s:textfield name="leaveDate" class="Wdate" onClick="WdatePicker()"></s:textfield></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>请假原因</td>
|
||||
<td><s:textarea name="content"></s:textarea></td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
<td>证明材料</td>
|
||||
<td><input type="file" name="file" class="file" id="fileField" size="28" onchange="document.getElementById('textfield').value=this.value" />
|
||||
<input type="button" onclick="alert('上传成功')" name="submit" class="btn" value="上传" /></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="2"><input type="submit" value="添加" onclick="alert('添加成功')" class="btn btn-primary"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</s:form>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,29 @@
|
||||
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
|
||||
<%
|
||||
String path = request.getContextPath();
|
||||
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
|
||||
%>
|
||||
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<base href="<%=basePath%>">
|
||||
|
||||
<title>My JSP 'add2.jsp' starting page</title>
|
||||
|
||||
<meta http-equiv="pragma" content="no-cache">
|
||||
<meta http-equiv="cache-control" content="no-cache">
|
||||
<meta http-equiv="expires" content="0">
|
||||
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
|
||||
<meta http-equiv="description" content="This is my page">
|
||||
<link href="bootstrap/css/bootstrap.css" rel="stylesheet">
|
||||
<link href="bootstrap/css/bootstrap-responsive.css" rel="stylesheet">
|
||||
<script src="bootstrap/js/jQuery.js"></script>
|
||||
<script src="bootstrap/js/bootstrap.js"></script>
|
||||
|
||||
</head>
|
||||
|
||||
<body style="margin: 40">
|
||||
<font size="5">此功能暂未实现 </font>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,60 @@
|
||||
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
|
||||
<%@ taglib prefix="s" uri="/struts-tags" %>
|
||||
<%@page import="org.activiti.engine.ProcessEngine"%>
|
||||
<%@page import="org.activiti.engine.task.Task"%>
|
||||
<%@page import="org.springframework.web.context.support.WebApplicationContextUtils"%>
|
||||
<%
|
||||
String path = request.getContextPath();
|
||||
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
|
||||
%>
|
||||
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<base href="<%=basePath%>">
|
||||
|
||||
<title>My JSP 'allTaskList.jsp' starting page</title>
|
||||
|
||||
<meta http-equiv="pragma" content="no-cache">
|
||||
<meta http-equiv="cache-control" content="no-cache">
|
||||
<meta http-equiv="expires" content="0">
|
||||
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
|
||||
<meta http-equiv="description" content="This is my page">
|
||||
<link href="bootstrap/css/bootstrap.css" rel="stylesheet">
|
||||
<link href="bootstrap/css/bootstrap-responsive.css" rel="stylesheet">
|
||||
<script src="bootstrap/js/jQuery.js"></script>
|
||||
<script src="bootstrap/js/bootstrap.js"></script>
|
||||
|
||||
</head>
|
||||
|
||||
<body style="margin: 10;background:#363636">
|
||||
<div style="width:1285px;height:100%;background:#fff;border-radius:5px;">
|
||||
<div style="height:2"></div>
|
||||
<table class="table table-bordered table-hover" style="margin:2;width:1195px">
|
||||
<tr>
|
||||
<th>申请人</th>
|
||||
<th>任务名称</th>
|
||||
<th>办理人</th>
|
||||
</tr>
|
||||
<s:iterator value="#allTaskList">
|
||||
<tr>
|
||||
<td>
|
||||
<%
|
||||
String a=(String)pageContext.findAttribute("processInstanceId");
|
||||
ProcessEngine processEngine=(ProcessEngine)WebApplicationContextUtils.getWebApplicationContext(application).getBean("processEngine");
|
||||
Task task = processEngine.getTaskService().createNativeTaskQuery()
|
||||
.sql("SELECT * FROM act_hi_taskinst WHERE proc_inst_id_= #{processInstanceId} and task_def_key_= #{key}")
|
||||
.parameter("processInstanceId", a)
|
||||
.parameter("key","usertask1")
|
||||
.singleResult();
|
||||
out.write(task.getAssignee());
|
||||
%>
|
||||
</td>
|
||||
<td>${name }</td>
|
||||
<td>${assignee }</td>
|
||||
</tr>
|
||||
</s:iterator>
|
||||
</table>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,64 @@
|
||||
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
|
||||
<%@ taglib prefix="s" uri="/struts-tags" %>
|
||||
<%
|
||||
String path = request.getContextPath();
|
||||
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
|
||||
%>
|
||||
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<base href="<%=basePath%>">
|
||||
|
||||
<title>My JSP 'applyList.jsp' starting page</title>
|
||||
|
||||
<meta http-equiv="pragma" content="no-cache">
|
||||
<meta http-equiv="cache-control" content="no-cache">
|
||||
<meta http-equiv="expires" content="0">
|
||||
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
|
||||
<meta http-equiv="description" content="This is my page">
|
||||
<link href="bootstrap/css/bootstrap.css" rel="stylesheet">
|
||||
<link href="bootstrap/css/bootstrap-responsive.css" rel="stylesheet">
|
||||
<script src="bootstrap/js/jQuery.js"></script>
|
||||
<script src="bootstrap/js/bootstrap.js"></script>
|
||||
|
||||
</head>
|
||||
|
||||
<body style="margin: 20">
|
||||
<table class="table table-bordered table-hover">
|
||||
<tr>
|
||||
<th>请假人</th>
|
||||
<th>请假天数</th>
|
||||
<th>请假离开时间</th>
|
||||
<th>请假原因</th>
|
||||
<th>状态</th>
|
||||
<th align="center">操作</th>
|
||||
|
||||
</tr>
|
||||
<s:iterator value="#list">
|
||||
<tr>
|
||||
<td>${user.loginName }</td>
|
||||
<td>${days }</td>
|
||||
<td><s:date name="%{leaveDate }" format="yyyy-MM-dd"/></td>
|
||||
<td>${content }</td>
|
||||
<td>
|
||||
<s:if test="%{state==0 }">未申请</s:if>
|
||||
<s:elseif test="%{state==1 }">申请中</s:elseif>
|
||||
<s:elseif test="%{state==3 }"><s:a action="leaveApply_reject?id=%{id}">被驳回</s:a></s:elseif>
|
||||
<s:else>已完成</s:else>
|
||||
</td>
|
||||
<td>
|
||||
<s:if test="%{state==0 }"><s:a action="leaveApply_startPI?id=%{id}">申请</s:a></s:if>
|
||||
<s:if test="%{state==1 }"><s:a action="leaveApply_showView?id=%{id}">查看流程图</s:a></s:if>
|
||||
<s:if test="%{state==2 }"><s:a action="leaveApply_getComment?id=%{id}">查看审批结果</s:a></s:if>
|
||||
<s:if test="%{state==0 }"><s:a action="leaveApply_edit?id=%{id}">修改</s:a></s:if>
|
||||
<s:if test="%{state==0 }"><s:a action="leaveApply_delete?id=%{id}" onclick="return window.confirm('您确定要删除吗?')" >删除</s:a></s:if></td>
|
||||
<s:if test="%{state==3 }"><s:a action="leaveApply_edit?id=%{id}">修改</s:a></s:if>
|
||||
<s:if test="%{state==3 }"><s:a action="leaveApply_delete?id=%{id}" onclick="return window.confirm('您确定要删除吗?')" >删除</s:a></s:if></td>
|
||||
<s:if test="%{state==3 }"><s:a action="leaveApply_startPI?id=%{id}">申请</s:a></s:if>
|
||||
</tr>
|
||||
</s:iterator>
|
||||
</table>
|
||||
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,42 @@
|
||||
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
|
||||
<%@ taglib prefix="s" uri="/struts-tags" %>
|
||||
<%
|
||||
String path = request.getContextPath();
|
||||
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
|
||||
%>
|
||||
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<base href="<%=basePath%>">
|
||||
|
||||
<title>My JSP 'comments.jsp.jsp' starting page</title>
|
||||
|
||||
<meta http-equiv="pragma" content="no-cache">
|
||||
<meta http-equiv="cache-control" content="no-cache">
|
||||
<meta http-equiv="expires" content="0">
|
||||
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
|
||||
<meta http-equiv="description" content="This is my page">
|
||||
<link href="bootstrap/css/bootstrap.css" rel="stylesheet">
|
||||
<link href="bootstrap/css/bootstrap-responsive.css" rel="stylesheet">
|
||||
<script src="bootstrap/js/jQuery.js"></script>
|
||||
<script src="bootstrap/js/bootstrap.js"></script>
|
||||
|
||||
</head>
|
||||
|
||||
<body style="margin: 10;background:#363636">
|
||||
<div style="width:100%;height:100%;background:#fff;border-radius:5px;">
|
||||
<br>
|
||||
<table class="table table-bordered table-hover" style="margin:2">
|
||||
<tr style="color: blue">
|
||||
<td width="200">部门经理审批</td>
|
||||
<td>${comment1.message }</td>
|
||||
</tr>
|
||||
<tr style="color: green">
|
||||
<td width="200">总经理审批</td>
|
||||
<td>${comment2.message }</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,49 @@
|
||||
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
|
||||
<%@ taglib prefix="s" uri="/struts-tags" %>
|
||||
<%
|
||||
String path = request.getContextPath();
|
||||
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
|
||||
%>
|
||||
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<base href="<%=basePath%>">
|
||||
|
||||
<title>My JSP 'edit.jsp' starting page</title>
|
||||
|
||||
<meta http-equiv="pragma" content="no-cache">
|
||||
<meta http-equiv="cache-control" content="no-cache">
|
||||
<meta http-equiv="expires" content="0">
|
||||
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
|
||||
<meta http-equiv="description" content="This is my page">
|
||||
<link href="bootstrap/css/bootstrap.css" rel="stylesheet">
|
||||
<link href="bootstrap/css/bootstrap-responsive.css" rel="stylesheet">
|
||||
<script src="bootstrap/js/jQuery.js"></script>
|
||||
<script src="bootstrap/js/bootstrap.js"></script>
|
||||
|
||||
</head>
|
||||
|
||||
<body style="margin: 20;margin-right: 400">
|
||||
<s:form method="post" action="leaveApply_update">
|
||||
<s:hidden name="id"></s:hidden>
|
||||
<table class="table table-bordered table-hover">
|
||||
<tr>
|
||||
<td>请假天数</td>
|
||||
<td><s:textfield name="days"></s:textfield></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>请假离开时间</td>
|
||||
<td><s:textfield name="leaveDate"></s:textfield></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>请假原因</td>
|
||||
<td><s:textarea name="content"></s:textarea></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"><input type="submit" value="更新" class="btn btn-primary"/></td>
|
||||
</tr>
|
||||
</table>
|
||||
</s:form>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,80 @@
|
||||
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
|
||||
<%@ taglib prefix="s" uri="/struts-tags" %>
|
||||
<%
|
||||
String path = request.getContextPath();
|
||||
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
|
||||
%>
|
||||
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<base href="<%=basePath%>">
|
||||
|
||||
<title>My JSP 'leaveBill.jsp' starting page</title>
|
||||
|
||||
<meta http-equiv="pragma" content="no-cache">
|
||||
<meta http-equiv="cache-control" content="no-cache">
|
||||
<meta http-equiv="expires" content="0">
|
||||
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
|
||||
<meta http-equiv="description" content="This is my page">
|
||||
<link href="bootstrap/css/bootstrap.css" rel="stylesheet">
|
||||
<link href="bootstrap/css/bootstrap-responsive.css" rel="stylesheet">
|
||||
<script src="bootstrap/js/jQuery.js"></script>
|
||||
<script src="bootstrap/js/bootstrap.js"></script>
|
||||
|
||||
</head>
|
||||
|
||||
<body style="margin: 20;margin-right: 400">
|
||||
|
||||
<font size="5">部门经理审批</font><br>
|
||||
<form action="leaveApply_completeTask?processInstanceId=${processInstanceId}&assignee=${assignee}" method="post">
|
||||
<table class="table table-bordered table-hover">
|
||||
<tr>
|
||||
<td>请假天数</td>
|
||||
<td><s:textfield name="#leaveBill.days" disabled="true"></s:textfield></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>请假离开时间</td>
|
||||
<td><s:textfield name="#leaveBill.leaveDate" disabled="true"></s:textfield></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>请假原因</td>
|
||||
<td><s:textarea name="#leaveBill.content" disabled="true"></s:textarea></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>请假证明</td>
|
||||
<c:forEach var="me" items="${fileNameMap}">
|
||||
<c:url var="downurl">
|
||||
<c:param name="filename" value="${me.key}"></c:param>
|
||||
</c:url>
|
||||
${me.value}<a href="${downurl }">下载</a>
|
||||
<br/>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>部门经理审批</td>
|
||||
<td><s:textarea name="manageNote"></s:textarea></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
|
||||
<td>
|
||||
<input type="radio" name="result" value=0 checked>不同意
|
||||
|
||||
<input type="radio" name="result" value=1 >同意
|
||||
</td>
|
||||
</tr>
|
||||
<!-- <tr> -->
|
||||
<!-- <td> -->
|
||||
<!-- <input type="radio" name="result" value=0 checked>不同意</td> -->
|
||||
<!-- <td> -->
|
||||
<!-- <input type="radio" name="result" value=1 >同意</td> -->
|
||||
<!-- </tr> -->
|
||||
<tr>
|
||||
<td><input type="submit" value="提交" class="btn btn-primary"/></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue