process命名

wmj
wan 6 years ago
commit 1b127f1c80

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="DataSourceManagerImpl" format="xml" multifile-model="true">
<data-source source="LOCAL" name="@localhost:gdms" uuid="356b1cbb-8e8d-401f-bdfc-b3e917bc8301">
<data-source source="LOCAL" name="gdms@localhost" uuid="d0989a90-3d64-4aea-93d3-6e27652a2f33">
<driver-ref>mariadb</driver-ref>
<synchronize>true</synchronize>
<jdbc-driver>org.mariadb.jdbc.Driver</jdbc-driver>

File diff suppressed because it is too large Load Diff

@ -1,2 +0,0 @@
#n:testsql
!<md> [null, 0, null, null, -2147483648, -2147483648]

@ -1,11 +0,0 @@
<component name="ProjectDictionaryState">
<dictionary name="zhai_">
<words>
<w>excpt</w>
<w>gdms</w>
<w>hmmss</w>
<w>mariadb</w>
<w>synchronizable</w>
</words>
</dictionary>
</component>

@ -1,4 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Encoding" addBOMForNewFiles="with NO BOM" />
</project>

@ -1,25 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="JsonSchemaMappingsProjectConfiguration">
<state>
<map>
<entry key="bukkit-plugin">
<value>
<SchemaInfo>
<option name="name" value="bukkit-plugin" />
<option name="relativePathToSchema" value="http://json.schemastore.org/bukkit-plugin" />
<option name="applicationDefined" value="true" />
<option name="patterns">
<list>
<Item>
<option name="path" value="src/core/user/student.json" />
</Item>
</list>
</option>
</SchemaInfo>
</value>
</entry>
</map>
</state>
</component>
</project>

@ -1,10 +0,0 @@
<component name="libraryTable">
<library name="lib">
<CLASSES>
<root url="file://$PROJECT_DIR$/web/WEB-INF/lib" />
</CLASSES>
<JAVADOC />
<SOURCES />
<jarDirectory url="file://$PROJECT_DIR$/web/WEB-INF/lib" recursive="false" />
</library>
</component>

@ -1,10 +0,0 @@
<component name="libraryTable">
<library name="tomcat-lib">
<CLASSES>
<root url="file://C:/Program Files/Apache Software Foundation/Tomcat 8.5/lib" />
</CLASSES>
<JAVADOC />
<SOURCES />
<jarDirectory url="file://C:/Program Files/Apache Software Foundation/Tomcat 8.5/lib" recursive="false" />
</library>
</component>

@ -2,7 +2,7 @@
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/GDMS.iml" filepath="$PROJECT_DIR$/GDMS.iml" />
<module fileurl="file://$PROJECT_DIR$/gdms.iml" filepath="$PROJECT_DIR$/gdms.iml" />
</modules>
</component>
</project>

@ -1,124 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Palette2">
<group name="Swing">
<item class="com.intellij.uiDesigner.HSpacer" tooltip-text="Horizontal Spacer" icon="/com/intellij/uiDesigner/icons/hspacer.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="1" hsize-policy="6" anchor="0" fill="1" />
</item>
<item class="com.intellij.uiDesigner.VSpacer" tooltip-text="Vertical Spacer" icon="/com/intellij/uiDesigner/icons/vspacer.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="1" anchor="0" fill="2" />
</item>
<item class="javax.swing.JPanel" icon="/com/intellij/uiDesigner/icons/panel.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3" />
</item>
<item class="javax.swing.JScrollPane" icon="/com/intellij/uiDesigner/icons/scrollPane.png" removable="false" auto-create-binding="false" can-attach-label="true">
<default-constraints vsize-policy="7" hsize-policy="7" anchor="0" fill="3" />
</item>
<item class="javax.swing.JButton" icon="/com/intellij/uiDesigner/icons/button.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="3" anchor="0" fill="1" />
<initial-values>
<property name="text" value="Button" />
</initial-values>
</item>
<item class="javax.swing.JRadioButton" icon="/com/intellij/uiDesigner/icons/radioButton.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
<initial-values>
<property name="text" value="RadioButton" />
</initial-values>
</item>
<item class="javax.swing.JCheckBox" icon="/com/intellij/uiDesigner/icons/checkBox.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
<initial-values>
<property name="text" value="CheckBox" />
</initial-values>
</item>
<item class="javax.swing.JLabel" icon="/com/intellij/uiDesigner/icons/label.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="0" anchor="8" fill="0" />
<initial-values>
<property name="text" value="Label" />
</initial-values>
</item>
<item class="javax.swing.JTextField" icon="/com/intellij/uiDesigner/icons/textField.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
<preferred-size width="150" height="-1" />
</default-constraints>
</item>
<item class="javax.swing.JPasswordField" icon="/com/intellij/uiDesigner/icons/passwordField.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
<preferred-size width="150" height="-1" />
</default-constraints>
</item>
<item class="javax.swing.JFormattedTextField" icon="/com/intellij/uiDesigner/icons/formattedTextField.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
<preferred-size width="150" height="-1" />
</default-constraints>
</item>
<item class="javax.swing.JTextArea" icon="/com/intellij/uiDesigner/icons/textArea.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JTextPane" icon="/com/intellij/uiDesigner/icons/textPane.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JEditorPane" icon="/com/intellij/uiDesigner/icons/editorPane.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JComboBox" icon="/com/intellij/uiDesigner/icons/comboBox.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="2" anchor="8" fill="1" />
</item>
<item class="javax.swing.JTable" icon="/com/intellij/uiDesigner/icons/table.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JList" icon="/com/intellij/uiDesigner/icons/list.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="2" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JTree" icon="/com/intellij/uiDesigner/icons/tree.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JTabbedPane" icon="/com/intellij/uiDesigner/icons/tabbedPane.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
<preferred-size width="200" height="200" />
</default-constraints>
</item>
<item class="javax.swing.JSplitPane" icon="/com/intellij/uiDesigner/icons/splitPane.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
<preferred-size width="200" height="200" />
</default-constraints>
</item>
<item class="javax.swing.JSpinner" icon="/com/intellij/uiDesigner/icons/spinner.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
</item>
<item class="javax.swing.JSlider" icon="/com/intellij/uiDesigner/icons/slider.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
</item>
<item class="javax.swing.JSeparator" icon="/com/intellij/uiDesigner/icons/separator.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3" />
</item>
<item class="javax.swing.JProgressBar" icon="/com/intellij/uiDesigner/icons/progressbar.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1" />
</item>
<item class="javax.swing.JToolBar" icon="/com/intellij/uiDesigner/icons/toolbar.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1">
<preferred-size width="-1" height="20" />
</default-constraints>
</item>
<item class="javax.swing.JToolBar$Separator" icon="/com/intellij/uiDesigner/icons/toolbarSeparator.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="0" anchor="0" fill="1" />
</item>
<item class="javax.swing.JScrollBar" icon="/com/intellij/uiDesigner/icons/scrollbar.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="0" anchor="0" fill="2" />
</item>
</group>
</component>
</project>

@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>

@ -11,7 +11,7 @@ import java.util.Map;
public class C_CollegeFillOpeningReportOpinion extends TempProcess{
String graduationDesignId;
Map<String,String> vMap;
private static String buttonName ="学院开题意见";
static String table="graduation_design_opening_report_opinion_record";
public void fillInformation() throws Exception {

@ -12,7 +12,7 @@ public class C_CollegeFillScoreOpinion extends TempProcess{
String graduationDesignId;
Map<String,String> vMap;
private static String buttonName ="学院老师评分";
static String table="graduation_design_reply_opinion_record_score";
public void fillInformation() throws Exception{

@ -12,7 +12,7 @@ public class C_MentorFillOpeningReportOpinion extends TempProcess{
String graduationDesignId;
Map<String,String> vMap;
private static String buttonName ="导师开题意见";
static String table="graduation_design_opening_report_opinion_record";
public void fillInformation() throws Exception{

@ -12,10 +12,9 @@ public class C_MentorFillReview extends TempProcess {
public String graduationDesignId;
public Map<String,String> vMap;
private static String buttonName ="指导老师评阅";
static String table="graduation_design_finished_product_mentor_score";
public void teacherTeamFillOpeningReportOpinion() throws Exception{
if(!check()) throw new GExcptInit("MentorFillReview Attrs init error!");
FillInformation fillInformation=new FillInformation();

@ -11,7 +11,7 @@ import java.util.Map;
public class C_ReviewerFillReview extends TempProcess {
public String graduationDesignId;
public Map<String,String> vMap;
private static String buttonName ="评阅老师评阅";
static String table="graduation_design_finished_product_reviewer_score";
public void TeacherTeamFillOpeningReportOpinion() throws Exception{

@ -12,7 +12,7 @@ public class C_SchoolFillScoreOpinion extends TempProcess {
String graduationDesignId;
Map<String,String> vMap;
private static String buttonName ="学院老师评分";
static String table="graduation_design_reply_opinion_record_score";
public void fillInformation() throws Exception{
if(!check()) throw new GExcptInit("FillInformation Attrs init error!");

@ -12,7 +12,7 @@ public class C_SecretaryFillOpeningReportOpinion extends TempProcess{
String graduationDesignId;
Map<String,String> vMap;
private static String buttonName ="提交开题纪要";
static String table="graduation_design_opening_report_opinion_record";
public void fillInformation() throws Exception{

@ -12,7 +12,7 @@ public class C_SecretaryFillReplyRecord extends TempProcess{
String graduationDesignId;
Map<String,String> vMap;
private static String buttonName ="提交答辩记录";
static String table="graduation_design_reply_opinion_record_score";
public void fillInformation() throws Exception{

@ -11,7 +11,7 @@ import java.util.Map;
public class C_StudentFillGraduationDesignInformation extends TempProcess{
String graduationDesignId;
Map<String,String> vMap;
private static String buttonName ="填写选题信息";
static String table="graduation_design_opening_report_opinion_record";
public void fillInformation() throws Exception{

@ -11,7 +11,7 @@ import java.util.Map;
public class C_StudentSelectTeacher extends TempProcess {
String studentId;
String teacherId;
private static String buttonName ="选择老师";
public void select()throws Exception{
if(!check()) throw new GExcptInit("ID Attrs init error!");
Select select=new Select();

@ -11,7 +11,7 @@ public class C_StudentUploadFinishedProduct {
File finishedProduct;
String graduationDesignId;
private static String buttonName ="提交定稿";
static String file_type = "finished_product";
public void uploadOpeningReport() throws Exception{
if(!check()) throw new GExcptInit("Upload FinishedProduct Attrs init error!");

@ -10,7 +10,7 @@ import java.util.Map;
public class C_StudentUploadOpeningReport extends TempProcess{
File openingReport;
String graduationDesignId;
private static String buttonName ="提交开题报告";
static String file_type = "opening_report";
public void uploadOpeningReport() throws Exception{

@ -11,6 +11,7 @@ import java.util.Map;
public class C_TeacherSelectStudent extends TempProcess {
String studentId;
String teacherId;
private static String buttonName ="选择学生";
public void select()throws Exception{
if(!check()) throw new GExcptInit("ID Attrs init error!");

@ -12,7 +12,7 @@ public class C_TeacherTeamFillOpeningReportOpinion extends TempProcess{
String graduationDesignId;
Map<String,String> vMap;
private static String buttonName ="开题小组意见";
static String table="graduation_design_opening_report_opinion_record";
public void fillInformation() throws Exception{

@ -10,6 +10,8 @@ import java.util.Map;
public class C_TeacherTeamFillScoreOpinion extends TempProcess {
private static String buttonName = "答辩小组评分";
String graduationDesignId;
Map<String,String> vMap;

@ -4,14 +4,17 @@ import core.operation.Operation;
public abstract class Process{
private static String buttonName;
protected static String targetURL;
protected static String iconURL;
private String status;
private String permission;
private Operation operation;
private String info;
private static String buttonName;
protected static String targetURL;
protected static String iconURL;
protected abstract boolean check();
public String getPermission() {

@ -17,18 +17,6 @@ public class test {
System.out.println(i);
}while(i<3);
List<String> list = new ArrayList<>();
list.add("q");
list.add("w");
Map<String,String> map=new HashMap<>();
map.put("a","b");
map.put("c","d");
Select sql = new Select(list,"zx",map,1,2);
System.out.println(sql.getSQL());
System.out.println(Utils.getFilePathName("a","b"));
String a = "a";
changeB(a);
System.out.println(a);
}
static void changeB(String a){
a="B";

@ -10,7 +10,7 @@ import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.Map;
@WebServlet("college-fill-opening-report-opinion")
@WebServlet("/college-fill-opening-report-opinion")
public class S_CollegeFillOpeningReportOpinion extends HttpServlet {
protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
String id = request.getParameter("id");

@ -10,7 +10,7 @@ import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.Map;
@WebServlet("college-fill-score-opinion")
@WebServlet("/college-fill-score-opinion")
public class S_CollegeFillScoreOpinion extends HttpServlet {
protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
String id = request.getParameter("id");

@ -10,7 +10,7 @@ import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.Map;
@WebServlet("mentor-fill-opening-report-opinion")
@WebServlet("/mentor-fill-opening-report-opinion")
public class S_MentorFillOpeningReportOpinion extends HttpServlet {
protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
String id = request.getParameter("id");

@ -8,7 +8,7 @@ import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.Map;
@WebServlet("mentor-fill-review")
@WebServlet("/mentor-fill-review")
public class S_MentorFillReview extends HttpServlet {
protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
String id = request.getParameter("id");

@ -8,7 +8,7 @@ import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.Map;
@WebServlet("reviewer-fill-review")
@WebServlet("/reviewer-fill-review")
public class S_ReviewerFillReview extends HttpServlet {
protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
String id = request.getParameter("id");

@ -8,7 +8,7 @@ import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.Map;
@WebServlet("school-fill-score-opinion")
@WebServlet("/school-fill-score-opinion")
public class S_SchoolFillScoreOpinion extends HttpServlet {
protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
String id = request.getParameter("id");

@ -8,7 +8,7 @@ import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.Map;
@WebServlet("secretary-fill-opening-report-record")
@WebServlet("/secretary-fill-opening-report-record")
public class S_SecretaryFillOpeningReportRecord extends HttpServlet {
protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
String id = request.getParameter("id");

@ -8,7 +8,7 @@ import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.Map;
@WebServlet("secretary-fill-reply-record")
@WebServlet("/secretary-fill-reply-record")
public class S_SecretaryFillReplyRecord extends HttpServlet {
protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
String id = request.getParameter("id");

@ -13,7 +13,17 @@ import java.io.IOException;
public class S_StudentUploadFinishedProduct extends HttpServlet {
static String fileType = "graduation_design_finished_product";
protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
String id = request.getParameter("id");
String fileURL = servlet.Utils.saveFile(request, fileType);
String id = "000";
//String files = request.getParameter("file");
System.out.print("123");
System.out.print( request.getPart("file"));
System.out.print("123");
try {
String fileURL = servlet.Utils.saveFile(request, fileType);
}catch (Exception e)
{
System.out.print(e);
}
System.out.print("222");
}
}

@ -18,6 +18,6 @@ public class S_StudentUploadOpeningReport extends HttpServlet {
static String fileType = "graduation_design_opening_report";
protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
String id = request.getParameter("id");
String fileURL = servlet.Utils.saveFile(request, fileType);
//String fileURL = servlet.Utils.saveFile(request, fileType);
}
}

@ -8,7 +8,7 @@ import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.Map;
@WebServlet("teacher-team-fill-opening-report-opinion")
@WebServlet("/teacher-team-fill-opening-report-opinion")
public class S_TeacherTeamFillOpeningReportOpinion extends HttpServlet {
protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
String id = request.getParameter("id");

@ -8,7 +8,7 @@ import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.Map;
@WebServlet("teacher-team-fill-score-opinion")
@WebServlet("/teacher-team-fill-score-opinion")
public class S_TeacherTeamFillScoreOpinion extends HttpServlet {
protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
String id = request.getParameter("id");

@ -1,7 +1,6 @@
package servlet;
import gdms.Configuration;
import org.apache.coyote.Request;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
@ -40,10 +39,13 @@ public interface Utils {
return getFilePath(table)+getFileName(fileName);
}
static String saveFile(HttpServletRequest request, String table) throws IOException, ServletException {
Part part = request.getPart("graduation_design");
System.out.println("utils");
Part part = request.getPart("file");
System.out.println("part");
String header = part.getHeader("content-disposition");
String path = header.substring(header.indexOf("filename=") + 10, header.length() - 1);
String filePathName = servlet.Utils.getFilePathName(table,path);
System.out.println(filePathName);
File file = new File(filePathName);
InputStream inputStream = part.getInputStream();
FileOutputStream outputStream = new FileOutputStream(file);
@ -55,6 +57,7 @@ public interface Utils {
outputStream.close();
inputStream.close();
part.delete();
System.out.println("end");
return filePathName;
}
}

@ -38,7 +38,7 @@ public class S_Login extends HttpServlet {
return;
}
request.getSession().setAttribute("user",user);
response.sendRedirect("/home.jsp");
response.sendRedirect("/home/home.jsp");
return;
}
}

@ -43,7 +43,7 @@ public class S_Register extends HttpServlet {
response.sendRedirect("/op_fail.jsp");
}
request.getSession().setAttribute("user",user);
response.sendRedirect("/home.jsp");
response.sendRedirect("/home/home.jsp");
return;
}
}

@ -6,13 +6,14 @@ body{
height: 100%;
}
.fill-top-blank{
border: 1px solid rgb(238, 238, 238);
border-radius: 5px;
height: 70px;
width: 960px;
position: absolute;
top: 20px;
right: 10px;
background-color: #323232;
background: url("images/topImg.jpg");
}
.main2{
background-color:#fafafa;
@ -37,7 +38,7 @@ ul{
position: fixed;
background-color: #c13139;
z-index: 100;
box-shadow: 5px 0px 10px rgba(0, 0, 0, 0.3);
box-shadow: rgba(0, 0, 0, 0.23) 0 1px 2px;
}
.top-center-bar{
position: relative;
@ -424,9 +425,9 @@ ul{
width: 400px;
height: 40px;
margin: 15px 10px;
background-color: #e4e4e4;
background-color: rgba(0, 0, 0, 0.6);
border-radius: 5px;
color: rgba(27, 27, 27, 0.87);
color: rgb(255, 255, 255);
padding-left: 10px;
line-height: 35px;
font-size: 18px;

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

@ -14,7 +14,7 @@ a{
height: 50px;
top:10px;
right: 20px;
background-color: rgba(255, 255, 255, 0.23);
background-color: rgba(0, 0, 0, 0.3);
border-radius: 5px;
}
.search-button{
@ -38,7 +38,7 @@ a{
float: left;
width: 280px;
height: 40px;
background: rgba(255, 255, 255, 0.85);
background: rgba(255, 255, 255, 0.91);
}
.search-input:hover{
background: rgb(255, 255, 255);

@ -9,8 +9,8 @@
<html>
<head>
<title>资料下载</title>
<link type="text/css" rel="stylesheet" href="cssFile/download_style.css">
<script type="text/javascript" src="jsFile/jquery-3.3.1.js"></script>
<link type="text/css" rel="stylesheet" href="../cssFile/download_style.css">
<script type="text/javascript" src="../jsFile/jquery-3.3.1.js"></script>
</head>
<body>
<div class="updated">

@ -1,4 +1,5 @@
<%--
<%@ page import="java.util.List" %>
<%@ page import="java.util.ArrayList" %><%--
Created by IntelliJ IDEA.
User: lenovo
Date: 2019/1/14
@ -9,11 +10,11 @@
<html>
<head>
<title>填写选题信息</title>
<link type="text/css" rel="stylesheet" href="cssFile/blank-style.css">
<script type="text/javascript" src="jsFile/jquery-3.3.1.js"></script>
<script type="text/javascript" src="jsFile/sub-msg-input.js"></script>
<link type="text/css" rel="stylesheet" href="../cssFile/blank-style.css">
<script type="text/javascript" src="../jsFile/jquery-3.3.1.js"></script>
<script type="text/javascript" src="../jsFile/sub-msg-input.js"></script>
</head>
</bod>
<body>
<div class="updated">
<div class="blank-frame-sub">
<div class="fill-top-blank"><div class="model-info">填写选题信息</div></div>
@ -58,7 +59,6 @@
<input class="sub-input-button" type="button" value="提交">
</form>
</div>
</div>
</div>
</div>
</body>

@ -1,4 +1,8 @@
<%--
<%@ page import="java.util.List" %>
<%@ page import="java.util.ArrayList" %>
<%@ page import="core.user.User" %>
<%@ page import="core.process.Condition" %>
<%@ page import="core.process.Process" %><%--
Created by IntelliJ IDEA.
User: lenovo
Date: 2019/1/9
@ -10,24 +14,32 @@
<html>
<head>
<title>毕业设计管理系统</title>
<link type="text/css" rel="stylesheet" href="cssFile/upload_style.css">
<link type="text/css" rel="stylesheet" href="cssFile/home.css">
<link type="text/css" rel="stylesheet" href="cssFile/personal.css">
<link type="text/css" rel="stylesheet" href="cssFile/select-style.css">
<link type="text/css" rel="stylesheet" href="cssFile/fill-style.css">
<link type="text/css" rel="stylesheet" href="cssFile/download_style.css">
<link type="text/css" rel="stylesheet" href="cssFile/blank-style.css">
<script type="text/javascript" src="jsFile/jquery-3.3.1.js"></script>
<script type="text/javascript" src="jsFile/homeActive.js"></script>
<script type="text/javascript" src="jsFile/home-update.js"></script>
<script type="text/javascript" src="jsFile/personal.js"></script>
<script type="text/javascript" src="jsFile/search.js"></script>
<script type="text/javascript" src="jsFile/fill-action.js"></script>
<script type="text/javascript" src="jsFile/upload_action.js"></script>
<script type="text/javascript" src="jsFile/sub-msg-input.js"></script>
<link type="text/css" rel="stylesheet" href="../cssFile/upload_style.css">
<link type="text/css" rel="stylesheet" href="../cssFile/home.css">
<link type="text/css" rel="stylesheet" href="../cssFile/personal.css">
<link type="text/css" rel="stylesheet" href="../cssFile/select-style.css">
<link type="text/css" rel="stylesheet" href="../cssFile/fill-style.css">
<link type="text/css" rel="stylesheet" href="../cssFile/download_style.css">
<link type="text/css" rel="stylesheet" href="../cssFile/blank-style.css">
<script type="text/javascript" src="../jsFile/jquery-3.3.1.js"></script>
<script type="text/javascript" src="../jsFile/homeActive.js"></script>
<script type="text/javascript" src="../jsFile/home-update.js"></script>
<script type="text/javascript" src="../jsFile/personal.js"></script>
<script type="text/javascript" src="../jsFile/search.js"></script>
<script type="text/javascript" src="../jsFile/fill-action.js"></script>
<script type="text/javascript" src="../jsFile/upload_action.js"></script>
<script type="text/javascript" src="../jsFile/sub-msg-input.js"></script>
</head>
<body>
<%String type="teacher";pageContext.setAttribute("userType",type);%>
<%
User user=(User)session.getAttribute("user");
String type=user.getType();
pageContext.setAttribute("userType",type);
Condition condition=user.getCondition();
//List<Process> pList=condition.getProcesses();
int length=0;
int index=0;
%>
<div class="main">
<div class="top-bar">
<div class="top-center-bar">
@ -38,11 +50,11 @@
<img src="">
</div>
<div class="opt">
<img class="img" src="cssFile/images/opt.png">
<img class="img" src="../cssFile/images/opt.png">
<div class="opt-options">
<div class="opt-to-perm"><a class="update-to-perm" href="personal_setting.jsp">
个人信息</a></div>
<div class="to-logout"><a href="login.jsp">退出登录</a></div>
<div class="to-logout"><a href="../login.jsp">退出登录</a></div>
</div>
</div>
</div>
@ -53,34 +65,33 @@
<div class="nav-bar">
<div class="point-bar"></div>
<div class="a-process personal-msg">
<a href="personal_setting.jsp" class="link-point personal-msg-page">
<a href="personal_setting.jsp?001" class="link-point personal-msg-page">
<div class="a-process-decoration personal-set">
<img src="cssFile/images/man.png">
<img src="../cssFile/images/man.png">
</div>
<div class="nav-info">个人信息</div>
</a>
</div>
<div class="a-process aux-fun">
<a href="download.jsp" class="link-point aux-fun-page">
<a href="download.jsp?002" class="link-point aux-fun-page">
<div class="a-process-decoration download">
<img src="cssFile/images/download.png">
<img src="../cssFile/images/download.png">
</div>
<div class="nav-info">资料下载</div>
</a>
</div>
<c:if test="${userType=='teacher'}">
<div class="a-process select-area">
<div class="a-process">
<a href="select.jsp" class="link-point data-download-page">
<div class="a-process-decoration select">
<img src="cssFile/images/select.png">
<img src="../cssFile/images/select.png">
</div>
<div class="nav-info">选择老师</div>
</a>
</div>
<div class="a-process file-info">
<div class="a-process">
<a href="fill_Information.jsp" class="link-point">
<div class="a-process-decoration">
<img src="cssFile/images/fill.png">
<img src="../cssFile/images/fill.png">
</div>
<div class="nav-info">填写信息</div>
</a>
@ -88,7 +99,7 @@
<div class="a-process">
<a href="upload_file.jsp" class="link-point">
<div class="a-process-decoration">
<img src="cssFile/images/upload.png">
<img src="../cssFile/images/upload.png">
</div>
<div class="nav-info">上传文件</div>
</a>
@ -96,12 +107,21 @@
<div class="a-process">
<a href="fillSbjMsg.jsp" class="link-point">
<div class="a-process-decoration">
<img src="cssFile/images/filText.png">
<img src="../cssFile/images/filText.png">
</div>
<div class="nav-info">填写选题信息</div>
</a>
</div>
<c:forEach items="${list}" var="value">
<div class="a-process">
<a href="fillSbjMsg.jsp?<%=index++%>" class="link-point">
<div class="a-process-decoration">
<img src="../cssFile/images/filText.png">
</div>
<div class="nav-info">填写选题信息</div>
</a>
</div>
</c:if>
</c:forEach>
</div>
<div class="update-frame">
<div class="small-ads">
@ -113,25 +133,25 @@
<ul class="scroll-ads-imgs" style="transform: translateX(0%)">
<li class="scroll-child">
<a>
<img src="cssFile/images/change.jpg">
<img src="../cssFile/images/change.jpg">
<div class="ads-text">hello</div>
</a>
</li>
<li class="scroll-child">
<a>
<img src="cssFile/images/change2.jpg">
<img src="../cssFile/images/change2.jpg">
<div class="ads-text">hello</div>
</a>
</li>
<li class="scroll-child">
<a>
<img src="cssFile/images/change3.jpg">
<img src="../cssFile/images/change3.jpg">
<div class="ads-text">hello</div>
</a>
</li>
<li class="scroll-child">
<a>
<img src="cssFile/images/change.jpg">
<img src="../cssFile/images/change.jpg">
<div class="ads-text">hello</div>
</a>
</li>
@ -174,6 +194,6 @@
<p>team bys</p>
</div>
</div>
<script type="text/javascript" src="jsFile/personal.js"></script>
<script type="text/javascript" src="../jsFile/personal.js"></script>
</body>
</html>

@ -6,9 +6,9 @@
To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<link type="text/css" rel="stylesheet" href="cssFile/personal.css">
<script type="text/javascript" src="jsFile/jquery-3.3.1.js"></script>
<script type="text/javascript" src="jsFile/personal.js"></script>
<link type="text/css" rel="stylesheet" href="../cssFile/personal.css">
<script type="text/javascript" src="../jsFile/jquery-3.3.1.js"></script>
<script type="text/javascript" src="../jsFile/personal.js"></script>
<html>
<head>
<title>个人信息</title>

@ -17,9 +17,9 @@
<html>
<head>
<title>Title</title>
<script type="text/javascript" src="jsFile/jquery-3.3.1.js"></script>
<link type="text/css" rel="stylesheet" href="cssFile/select-style.css">
<script type="text/javascript" src="jsFile/search.js"></script>
<script type="text/javascript" src="../jsFile/jquery-3.3.1.js"></script>
<link type="text/css" rel="stylesheet" href="../cssFile/select-style.css">
<script type="text/javascript" src="../jsFile/search.js"></script>
</head>
<body>
<%

@ -9,9 +9,9 @@
<html>
<head>
<title>上传文件</title>
<link type="text/css" rel="stylesheet" href="cssFile/upload_style.css">
<script type="text/javascript" src="jsFile/jquery-3.3.1.js"></script>
<script type="text/javascript" src="jsFile/upload_action.js"></script>
<link type="text/css" rel="stylesheet" href="../cssFile/upload_style.css">
<script type="text/javascript" src="../jsFile/jquery-3.3.1.js"></script>
<script type="text/javascript" src="../jsFile/upload_action.js"></script>
</head>
<body>
<div class="updated">
@ -19,13 +19,15 @@
<div class="upload-frame">
<div class="upload-tips">上传定稿</div>
<div class="file-msg">
<img src="cssFile/images/file-pdf.png">
<img src="../cssFile/images/file-pdf.png">
<span class="file-name" style="color: rgba(0,0,0,0.72)">
</span>
</div>
<div class="file-input-frame"><input class="true-select" type="file" accept="application/pdf" multiple="multiple">
<div class="file-input-frame">
<input class="true-select" id="select" type="file" accept="application/pdf" multiple="multiple">
<div class="upload-button select-file">选择文件</div>
<div class="upload-button upload-it">上传文件</div></div>
<div class="upload-button upload-it">上传文件</div>
</div>
</div>
</div>
</body>

@ -4,6 +4,10 @@ $(document).ready(function () {
function upadateFrame(e) {
e.preventDefault();
var updateUrl=$(this).attr('href');
$('.update-frame').load(updateUrl+' .updated');
var arr=updateUrl.split('?');
var proccessIndex=arr[1];
var indexData={"index":proccessIndex};
$('.update-frame').load(updateUrl+' .updated',indexData,function (data) {
});
history.pushState(null,null,updateUrl);
}

@ -2,7 +2,7 @@ $(document).ready(function () {
$(document).off('click',searchmsg).on('click','.search-button',searchmsg);
$(document).off('keydown',searchmsg).on('keydown','.search-input',KDsearchmsg);
$(document).off('click',teacherSelect).on('click','.select-it.teacher',teacherSelect);
$(document).off('click',studentSelect).on('click','.select-it.teacher',studentSelect);
$(document).off('click',studentSelect).on('click','.select-it.student',studentSelect);
})
function searchmsg(e) {
if($('.search-input').val()=='')

@ -4,19 +4,20 @@ $(document).ready(function () {
$(document).off('change',showMsg).on('change','.true-select',showMsg)
})
function sendFile() {
var fileData =new FormData;
var Url4='testfrom.jsp';
var file=$('.true-select').files;
var fileData =new FormData();
var Url4='student-upload-finished-product';
var file=$('#select')[0].files[0];
if($('.true-select').val()=='')
{
alert("请选择文件");
return;
}
alert(file);
fileData.append("file",file);
$.ajax({
type:"post",
url:Url4,
date:fileData,
data:fileData,
processData:false,
contentType:false,
success:function (data,status) {

Loading…
Cancel
Save