Merge remote-tracking branch 'remotes/origin/master' into wmj

# Conflicts:
#	src/core/process/Process.java
wlf
wan 6 years ago
commit 6d20631b20

@ -1315,11 +1315,844 @@
<Charset>utf8mb4</Charset> <Charset>utf8mb4</Charset>
<DefaultForCharset>0</DefaultForCharset> <DefaultForCharset>0</DefaultForCharset>
</collation> </collation>
<table id="330" parent="2" name="test"/> <table id="330" parent="2" name="administrator">
<column id="331" parent="330" name="name"> <Comment>管理员</Comment>
</table>
<table id="331" parent="2" name="announcement">
<Comment>公告</Comment>
</table>
<table id="332" parent="2" name="graduation_design">
<Comment>毕业设计</Comment>
</table>
<table id="333" parent="2" name="graduation_design_finished_product">
<Comment>毕设论文</Comment>
</table>
<table id="334" parent="2" name="graduation_design_finished_product_mentor_score">
<Comment>指导老师评定成绩</Comment>
</table>
<table id="335" parent="2" name="graduation_design_finished_product_reviewer_score">
<Comment>评阅老师对论文的评审成绩</Comment>
</table>
<table id="336" parent="2" name="graduation_design_information">
<Comment>毕业设计信息</Comment>
</table>
<table id="337" parent="2" name="graduation_design_opening_report">
<Comment>开题报告</Comment>
</table>
<table id="338" parent="2" name="graduation_design_opening_report_opinion_record">
<Comment>开题报告会纪要</Comment>
</table>
<table id="339" parent="2" name="graduation_design_reply">
<Comment>答辩</Comment>
</table>
<table id="340" parent="2" name="graduation_design_reply_opinion_record_score">
<Comment>答辩记录表</Comment>
</table>
<table id="341" parent="2" name="graduation_design_status">
<Comment>状态</Comment>
</table>
<table id="342" parent="2" name="opening_report_secretary_team">
<Comment>开题报告秘书组</Comment>
</table>
<table id="343" parent="2" name="opening_report_teacher_team">
<Comment>开题报告老师组</Comment>
</table>
<table id="344" parent="2" name="profession_information">
<Comment>专业信息</Comment>
</table>
<table id="345" parent="2" name="reply_secretary_team">
<Comment>答辩秘书小组</Comment>
</table>
<table id="346" parent="2" name="reply_teacher_team">
<Comment>答辩教师组</Comment>
</table>
<table id="347" parent="2" name="student">
<Comment>学生用户</Comment>
</table>
<table id="348" parent="2" name="teacher">
<Comment>老师用户</Comment>
</table>
<column id="349" parent="330" name="id">
<Position>1</Position> <Position>1</Position>
<DataType>char(20)|0s</DataType>
<NotNull>1</NotNull>
<ColumnKind>normal</ColumnKind>
</column>
<column id="350" parent="330" name="password">
<Position>2</Position>
<DataType>char(255)|0s</DataType>
<NotNull>1</NotNull>
<ColumnKind>normal</ColumnKind>
</column>
<column id="351" parent="330" name="name">
<Position>3</Position>
<DataType>char(30)|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="352" parent="330" name="e_mail_location">
<Position>4</Position>
<DataType>char(40)|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="353" parent="330" name="phone_number">
<Position>5</Position>
<DataType>char(20)|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<key id="354" parent="330" name="PRIMARY">
<NameSurrogate>1</NameSurrogate>
<ColNames>id</ColNames>
<Primary>1</Primary>
</key>
<column id="355" parent="331" name="id">
<Position>1</Position>
<DataType>char(20)|0s</DataType>
<NotNull>1</NotNull>
<ColumnKind>normal</ColumnKind>
</column>
<column id="356" parent="331" name="title">
<Position>2</Position>
<DataType>text|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="357" parent="331" name="information">
<Position>3</Position>
<DataType>text|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="358" parent="331" name="ralease_date">
<Position>4</Position>
<DataType>date|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="359" parent="331" name="annex_url">
<Position>5</Position>
<DataType>varchar(255)|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<key id="360" parent="331" name="PRIMARY">
<NameSurrogate>1</NameSurrogate>
<ColNames>id</ColNames>
<Primary>1</Primary>
</key>
<column id="361" parent="332" name="id">
<Position>1</Position>
<DataType>char(20)|0s</DataType>
<NotNull>1</NotNull>
<ColumnKind>normal</ColumnKind>
</column>
<column id="362" parent="332" name="stu_id">
<Position>2</Position>
<DataType>char(20)|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="363" parent="332" name="teacher_id">
<Position>3</Position>
<DataType>char(20)|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="364" parent="332" name="chinese_name">
<Position>4</Position>
<DataType>varchar(255)|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="365" parent="332" name="score">
<Position>5</Position>
<DataType>float|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<key id="366" parent="332" name="PRIMARY">
<NameSurrogate>1</NameSurrogate>
<ColNames>id</ColNames>
<Primary>1</Primary>
</key>
<column id="367" parent="333" name="id">
<Position>1</Position>
<DataType>char(20)|0s</DataType>
<NotNull>1</NotNull>
<ColumnKind>normal</ColumnKind>
</column>
<column id="368" parent="333" name="word_count">
<Position>2</Position>
<DataType>int(11)|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="369" parent="333" name="final_date">
<Position>3</Position>
<DataType>date|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="370" parent="333" name="graduation_design_url">
<Position>4</Position>
<DataType>varchar(255)|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="371" parent="333" name="chinese_abstract">
<Position>5</Position>
<DataType>text|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="372" parent="333" name="chinese_key_words">
<Position>6</Position>
<DataType>text|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="373" parent="333" name="english_abstract">
<Position>7</Position>
<DataType>text|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="374" parent="333" name="english_key_words">
<Position>8</Position>
<DataType>text|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<key id="375" parent="333" name="PRIMARY">
<NameSurrogate>1</NameSurrogate>
<ColNames>id</ColNames>
<Primary>1</Primary>
</key>
<column id="376" parent="334" name="id">
<Position>1</Position>
<DataType>char(20)|0s</DataType>
<NotNull>1</NotNull>
<ColumnKind>normal</ColumnKind>
</column>
<column id="377" parent="334" name="meet_requirement_score">
<Position>2</Position>
<DataType>float|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="378" parent="334" name="meaning_value_score">
<Position>3</Position>
<DataType>float|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="379" parent="334" name="subject_scale_score">
<Position>4</Position>
<DataType>float|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="380" parent="334" name="complexity_score">
<Position>5</Position>
<DataType>float|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="381" parent="334" name="ability_consult_literature_score">
<Position>6</Position>
<DataType>float|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="382" parent="334" name="comprehensive_use_knowledge_score">
<Position>7</Position>
<DataType>float|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="383" parent="334" name="design_capability_score">
<Position>8</Position>
<DataType>float|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="384" parent="334" name="ability_use_score">
<Position>9</Position>
<DataType>float|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="385" parent="334" name="title_consistent_score">
<Position>10</Position>
<DataType>float|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="386" parent="334" name="writing_level_score">
<Position>11</Position>
<DataType>float|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="387" parent="334" name="writing_specifications_score">
<Position>12</Position>
<DataType>float|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="388" parent="334" name="paper_length_score">
<Position>13</Position>
<DataType>float|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="389" parent="334" name="teory_value_score">
<Position>14</Position>
<DataType>float|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="390" parent="334" name="ability_use_foreign_language_score">
<Position>15</Position>
<DataType>float|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="391" parent="334" name="total_grade">
<Position>16</Position>
<DataType>float|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="392" parent="334" name="review_opinion">
<Position>17</Position>
<DataType>text|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="393" parent="334" name="review_opinion_date">
<Position>18</Position>
<DataType>date|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<key id="394" parent="334" name="PRIMARY">
<NameSurrogate>1</NameSurrogate>
<ColNames>id</ColNames>
<Primary>1</Primary>
</key>
<column id="395" parent="335" name="id">
<Position>1</Position>
<DataType>char(20)|0s</DataType>
<NotNull>1</NotNull>
<ColumnKind>normal</ColumnKind>
</column>
<column id="396" parent="335" name="score">
<Position>2</Position>
<DataType>float|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="397" parent="335" name="opinion">
<Position>3</Position>
<DataType>text|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="398" parent="335" name="reviewer_score_date">
<Position>4</Position>
<DataType>date|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<key id="399" parent="335" name="PRIMARY">
<NameSurrogate>1</NameSurrogate>
<ColNames>id</ColNames>
<Primary>1</Primary>
</key>
<column id="400" parent="336" name="id">
<Position>1</Position>
<DataType>char(20)|0s</DataType>
<NotNull>1</NotNull>
<ColumnKind>normal</ColumnKind>
</column>
<column id="401" parent="336" name="english_name">
<Position>2</Position>
<DataType>varchar(255)|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="402" parent="336" name="type_of_topic">
<Position>3</Position>
<DataType>varchar(255)|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="403" parent="336" name="source_of_design">
<Position>4</Position>
<DataType>varchar(255)|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="404" parent="336" name="nature_of_design">
<Position>5</Position>
<DataType>varchar(255)|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="405" parent="336" name="description_of_topic">
<Position>6</Position>
<DataType>text|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<key id="406" parent="336" name="PRIMARY">
<NameSurrogate>1</NameSurrogate>
<ColNames>id</ColNames>
<Primary>1</Primary>
</key>
<column id="407" parent="337" name="id">
<Position>1</Position>
<DataType>char(20)|0s</DataType>
<NotNull>1</NotNull>
<ColumnKind>normal</ColumnKind>
</column>
<column id="408" parent="337" name="report_date">
<Position>2</Position>
<DataType>date|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="409" parent="337" name="report_location">
<Position>3</Position>
<DataType>varchar(255)|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="410" parent="337" name="report_url">
<Position>4</Position>
<DataType>varchar(255)|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="411" parent="337" name="report_teacher_leader_team_id">
<Position>5</Position>
<DataType>char(20)|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="412" parent="337" name="report_secretary_leader_team_id">
<Position>6</Position>
<DataType>char(20)|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="413" parent="337" name="estimated_word_count">
<Position>7</Position>
<DataType>int(11)|0s</DataType> <DataType>int(11)|0s</DataType>
<ColumnKind>normal</ColumnKind> <ColumnKind>normal</ColumnKind>
</column> </column>
<key id="414" parent="337" name="PRIMARY">
<NameSurrogate>1</NameSurrogate>
<ColNames>id</ColNames>
<Primary>1</Primary>
</key>
<column id="415" parent="338" name="id">
<Position>1</Position>
<DataType>char(20)|0s</DataType>
<NotNull>1</NotNull>
<ColumnKind>normal</ColumnKind>
</column>
<column id="416" parent="338" name="mentor_opinion">
<Position>2</Position>
<DataType>text|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="417" parent="338" name="mentor_opinion_date">
<Position>3</Position>
<DataType>date|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="418" parent="338" name="secretary_record">
<Position>4</Position>
<DataType>text|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="419" parent="338" name="secretary_record_date">
<Position>5</Position>
<DataType>date|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="420" parent="338" name="report_teacher_team_opinion">
<Position>6</Position>
<DataType>text|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="421" parent="338" name="report_teacher_team_opinion_date">
<Position>7</Position>
<DataType>date|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="422" parent="338" name="college_opinion">
<Position>8</Position>
<DataType>text|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="423" parent="338" name="college_opinion_date">
<Position>9</Position>
<DataType>date|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<key id="424" parent="338" name="PRIMARY">
<NameSurrogate>1</NameSurrogate>
<ColNames>id</ColNames>
<Primary>1</Primary>
</key>
<column id="425" parent="339" name="id">
<Position>1</Position>
<DataType>char(20)|0s</DataType>
<NotNull>1</NotNull>
<ColumnKind>normal</ColumnKind>
</column>
<column id="426" parent="339" name="date">
<Position>2</Position>
<DataType>date|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="427" parent="339" name="location">
<Position>3</Position>
<DataType>varchar(255)|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="428" parent="339" name="teacher_team_leader_id">
<Position>4</Position>
<DataType>char(20)|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="429" parent="339" name="secretary_team_leader_id">
<Position>5</Position>
<DataType>char(20)|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<key id="430" parent="339" name="PRIMARY">
<NameSurrogate>1</NameSurrogate>
<ColNames>id</ColNames>
<Primary>1</Primary>
</key>
<column id="431" parent="340" name="id">
<Position>1</Position>
<DataType>char(20)|0s</DataType>
<NotNull>1</NotNull>
<ColumnKind>normal</ColumnKind>
</column>
<column id="432" parent="340" name="mentor_opinion text">
<Position>2</Position>
<DataType>text|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="433" parent="340" name="mentor_opinion_date date">
<Position>3</Position>
<DataType>date|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="434" parent="340" name="secretary_record">
<Position>4</Position>
<DataType>text|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="435" parent="340" name="secretary_record_date date">
<Position>5</Position>
<DataType>date|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="436" parent="340" name="teacher_team_opinion">
<Position>6</Position>
<DataType>text|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="437" parent="340" name="teacher_team_score">
<Position>7</Position>
<DataType>float|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="438" parent="340" name="teacher_team_opinion_date">
<Position>8</Position>
<DataType>date|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="439" parent="340" name="college_opinion">
<Position>9</Position>
<DataType>text|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="440" parent="340" name="college_score">
<Position>10</Position>
<DataType>float|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="441" parent="340" name="college_opinion_date">
<Position>11</Position>
<DataType>date|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="442" parent="340" name="school_opinion">
<Position>12</Position>
<DataType>text|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="443" parent="340" name="school_score">
<Position>13</Position>
<DataType>float|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="444" parent="340" name="school_opinion_date">
<Position>14</Position>
<DataType>date|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<key id="445" parent="340" name="PRIMARY">
<NameSurrogate>1</NameSurrogate>
<ColNames>id</ColNames>
<Primary>1</Primary>
</key>
<column id="446" parent="341" name="id">
<Position>1</Position>
<DataType>char(20)|0s</DataType>
<NotNull>1</NotNull>
<ColumnKind>normal</ColumnKind>
</column>
<column id="447" parent="341" name="teacher_choose_student_status">
<Position>2</Position>
<DataType>char(1)|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="448" parent="341" name="student_choose_teacher_status">
<Position>3</Position>
<DataType>char(1)|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="449" parent="341" name="student_fill_graduation_design_information_status">
<Position>4</Position>
<DataType>char(1)|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="450" parent="341" name="opening_report_status">
<Position>5</Position>
<DataType>char(1)|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="451" parent="341" name="opening_report_mentor_opinion_status">
<Position>6</Position>
<DataType>char(1)|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="452" parent="341" name="opening_report_teacher_team_opinion_status">
<Position>7</Position>
<DataType>char(1)|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="453" parent="341" name="opening_report_college_opinion_status">
<Position>8</Position>
<DataType>char(1)|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="454" parent="341" name="opening_report_secretary_record_status">
<Position>9</Position>
<DataType>char(1)|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="455" parent="341" name="finished_product_status">
<Position>10</Position>
<DataType>char(1)|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="456" parent="341" name="finished_product_mentor_score_status">
<Position>11</Position>
<DataType>char(1)|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="457" parent="341" name="finished_product_reviewer_score_status">
<Position>12</Position>
<DataType>char(1)|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="458" parent="341" name="reply_ secretary_record_status">
<Position>13</Position>
<DataType>char(1)|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="459" parent="341" name="reply_ teacher_team_score_status">
<Position>14</Position>
<DataType>char(1)|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="460" parent="341" name="reply_ college_score_status">
<Position>15</Position>
<DataType>char(1)|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="461" parent="341" name="reply_school_score_status">
<Position>16</Position>
<DataType>char(1)|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<key id="462" parent="341" name="PRIMARY">
<NameSurrogate>1</NameSurrogate>
<ColNames>id</ColNames>
<Primary>1</Primary>
</key>
<column id="463" parent="342" name="leader_student_id">
<Position>1</Position>
<DataType>char(20)|0s</DataType>
<NotNull>1</NotNull>
<ColumnKind>normal</ColumnKind>
</column>
<column id="464" parent="342" name="student1_id">
<Position>2</Position>
<DataType>char(20)|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="465" parent="342" name="student2_id">
<Position>3</Position>
<DataType>char(20)|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<key id="466" parent="342" name="PRIMARY">
<NameSurrogate>1</NameSurrogate>
<ColNames>leader_student_id</ColNames>
<Primary>1</Primary>
</key>
<column id="467" parent="343" name="leader_teacher_id">
<Position>1</Position>
<DataType>char(20)|0s</DataType>
<NotNull>1</NotNull>
<ColumnKind>normal</ColumnKind>
</column>
<column id="468" parent="343" name="teacher1_id">
<Position>2</Position>
<DataType>char(20)|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="469" parent="343" name="teacher2_id">
<Position>3</Position>
<DataType>char(20)|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<key id="470" parent="343" name="PRIMARY">
<NameSurrogate>1</NameSurrogate>
<ColNames>leader_teacher_id</ColNames>
<Primary>1</Primary>
</key>
<column id="471" parent="344" name="profession_code">
<Position>1</Position>
<DataType>char(8)|0s</DataType>
<NotNull>1</NotNull>
<ColumnKind>normal</ColumnKind>
</column>
<column id="472" parent="344" name="college">
<Position>2</Position>
<DataType>varchar(255)|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="473" parent="344" name="department">
<Position>3</Position>
<DataType>varchar(255)|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="474" parent="344" name="profession">
<Position>4</Position>
<DataType>varchar(255)|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<key id="475" parent="344" name="PRIMARY">
<NameSurrogate>1</NameSurrogate>
<ColNames>profession_code</ColNames>
<Primary>1</Primary>
</key>
<column id="476" parent="345" name="leader_student_id">
<Position>1</Position>
<DataType>char(20)|0s</DataType>
<NotNull>1</NotNull>
<ColumnKind>normal</ColumnKind>
</column>
<column id="477" parent="345" name="student1_id">
<Position>2</Position>
<DataType>char(20)|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="478" parent="345" name="student2_id">
<Position>3</Position>
<DataType>char(20)|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<key id="479" parent="345" name="PRIMARY">
<NameSurrogate>1</NameSurrogate>
<ColNames>leader_student_id</ColNames>
<Primary>1</Primary>
</key>
<column id="480" parent="346" name="leader_teacher_id">
<Position>1</Position>
<DataType>char(20)|0s</DataType>
<NotNull>1</NotNull>
<ColumnKind>normal</ColumnKind>
</column>
<column id="481" parent="346" name="teacher1_id">
<Position>2</Position>
<DataType>char(20)|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="482" parent="346" name="teacher2_id">
<Position>3</Position>
<DataType>char(20)|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<key id="483" parent="346" name="PRIMARY">
<NameSurrogate>1</NameSurrogate>
<ColNames>leader_teacher_id</ColNames>
<Primary>1</Primary>
</key>
<column id="484" parent="347" name="id">
<Position>1</Position>
<DataType>char(20)|0s</DataType>
<NotNull>1</NotNull>
<ColumnKind>normal</ColumnKind>
</column>
<column id="485" parent="347" name="password">
<Position>2</Position>
<DataType>char(255)|0s</DataType>
<NotNull>1</NotNull>
<ColumnKind>normal</ColumnKind>
</column>
<column id="486" parent="347" name="name">
<Position>3</Position>
<DataType>char(30)|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="487" parent="347" name="e_mail_location">
<Position>4</Position>
<DataType>char(40)|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="488" parent="347" name="phone_number">
<Position>5</Position>
<DataType>char(20)|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="489" parent="347" name="profession_code">
<Position>6</Position>
<DataType>char(8)|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="490" parent="347" name="grade">
<Position>7</Position>
<DataType>char(4)|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<key id="491" parent="347" name="PRIMARY">
<NameSurrogate>1</NameSurrogate>
<ColNames>id</ColNames>
<Primary>1</Primary>
</key>
<column id="492" parent="348" name="id">
<Position>1</Position>
<DataType>char(20)|0s</DataType>
<NotNull>1</NotNull>
<ColumnKind>normal</ColumnKind>
</column>
<column id="493" parent="348" name="password">
<Position>2</Position>
<DataType>char(255)|0s</DataType>
<NotNull>1</NotNull>
<ColumnKind>normal</ColumnKind>
</column>
<column id="494" parent="348" name="name">
<Position>3</Position>
<DataType>char(30)|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="495" parent="348" name="e_mail_location">
<Position>4</Position>
<DataType>char(40)|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="496" parent="348" name="phone_number">
<Position>5</Position>
<DataType>char(20)|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="497" parent="348" name="profession_code">
<Position>6</Position>
<DataType>char(8)|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="498" parent="348" name="job_title">
<Position>7</Position>
<DataType>varchar(255)|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<column id="499" parent="348" name="education">
<Position>8</Position>
<DataType>varchar(255)|0s</DataType>
<ColumnKind>normal</ColumnKind>
</column>
<key id="500" parent="348" name="PRIMARY">
<NameSurrogate>1</NameSurrogate>
<ColNames>id</ColNames>
<Primary>1</Primary>
</key>
</database-model> </database-model>
</dataSource> </dataSource>

@ -1 +0,0 @@
CREATE DATABASE `GDMS`;

Binary file not shown.

@ -0,0 +1,15 @@
package core.operation;
import core.user.User;
import dao.DBManagement;
import error.GExcptSQL;
public class Delete extends Operation {
@Override
public void execute(User subject) throws GExcptSQL {
String id = (String)options.get("id");
String sql = "DELETE FROM graduation_design WHERE id = \'"+
id+"\'";
DBManagement.update(sql);
}
}

@ -0,0 +1,3 @@
{
"id": "java.lang.String"
}

@ -0,0 +1,4 @@
package core.operation;
public class DownloadFile {
}

@ -0,0 +1,4 @@
package core.operation;
public class FillInformation {
}

@ -9,8 +9,8 @@ import java.util.Map;
public abstract class Operation { public abstract class Operation {
private Map<String, Object> options; protected Map<String, Object> options;
private User subject; protected User subject;
Operation(){ Operation(){
super(); super();
} }
@ -38,6 +38,6 @@ public abstract class Operation {
} }
this.options.put(key,value); this.options.put(key,value);
} }
public abstract void execute(User subject) throws GExcptSQL; public abstract void execute(User subject) throws Exception;
} }

@ -0,0 +1,22 @@
package core.operation;
import core.user.User;
import dao.DBManagement;
import java.sql.ResultSet;
public class Search extends Operation {
@Override
public void execute(User subject) throws Exception {
String table = (String)options.get("table");
String field = (String)options.get("field");
String value = (String)options.get("value");
int start = (int)options.get("start");
int end = (int)options.get("end");
String sql = "SELECT * FROM "+table+
" WHERE "+field+" = \'"+value+"\'"+
" limit "+start+", "+end;
ResultSet rs = DBManagement.query(sql);
//todo
}
}

@ -0,0 +1,8 @@
{
"table": "java.lang.String",
"field": "java.lang.String",
"value": "java.lang.String",
"start": "int",
"end": "int",
"return": "java.lang.String[][]"
}

@ -8,11 +8,15 @@ import java.util.Map;
public class Select extends Operation { public class Select extends Operation {
private Map<String, Object> options;
private User subject;
@Override @Override
public void execute(User subject) throws GExcptSQL { public void execute(User subject) throws GExcptSQL {
this.setSubject(subject); String student_id = (String)options.get("student_id");
DBManagement.update("update stu "); String teacher_id = (String)options.get("teacher_id");
String id = student_id;
String sql = "INSERT INTO graduation_design VALUES (\'"+
id+"\', "+
student_id+"\', "+
teacher_id+"\', \'m\', \'m\')";
DBManagement.update(sql);
} }
} }

@ -0,0 +1,4 @@
{
"student_id": "java.lang.String",
"teacher_id": "java.lang.String"
}

@ -5,14 +5,19 @@ import core.user.User;
import error.GExcptFactory; import error.GExcptFactory;
import error.GExcptSQL; import error.GExcptSQL;
public abstract class Process { public abstract class Process implements Cloneable{
private String permission;//权限
private Operation operation;//操作
private String buttonName;//按键
private String info;//信息
private String processOptions;//进程操作
private String permission;
private Operation operation;
private String buttonName;
private String info;
private String processOptions;
private String UserOptions;
@Override
public Process clone(){
//todo
return null;
}
public Process(String permission, String operationName, String processOptions, String info) throws Exception { public Process(String permission, String operationName, String processOptions, String info) throws Exception {
super(); super();
this.setPermission(permission); this.setPermission(permission);

@ -12,7 +12,7 @@ public class ProcessManagement {
//todo //todo
} }
public Process getTemporaryProcess(int index){ public Process getTemporaryProcess(int index){
return temporaryProcesses.get(index); return temporaryProcesses.get(index).clone();
} }
public Condition getCondition(String userType, List<Integer> index){ public Condition getCondition(String userType, List<Integer> index){
Condition condition = new Condition(this.lastProcesses.get(userType)); Condition condition = new Condition(this.lastProcesses.get(userType));

@ -1,4 +1,4 @@
package core.user; package core.user;
public class Administrator { public class Administrator extends User {
} }

@ -10,8 +10,60 @@ public abstract class User implements AccountManageable, ProcessConfigurable{
private String id; private String id;
private String password; private String password;
private List<String> permissions = null; private String name;
private String e_mail_location;
private String phone_number;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getE_mail_location() {
return e_mail_location;
}
public void setE_mail_location(String e_mail_location) {
this.e_mail_location = e_mail_location;
}
public String getPhone_number() {
return phone_number;
}
public void setPhone_number(String phone_number) {
this.phone_number = phone_number;
}
public List<String> getPermissions() {
return permissions;
}
public void setPermissions(List<String> permissions) {
this.permissions = permissions;
}
private String phonenumber;
private List<String> permissions = null;
public Condition getCondition() { public Condition getCondition() {
return condition; return condition;
} }

@ -1,17 +1,65 @@
package core.user.utils; package core.user.utils;
import core.user.User; import core.user.User;
import dao.DBManagement;
import error.GExcptAccount;
import error.GExcptSQL;
import utils.Utils;
import java.lang.reflect.InvocationTargetException;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List; import java.util.List;
public interface AccountManagement { public interface AccountManagement {
static User login(String id, String password){ static String[] userTables = {
//todo "administrator",
"student",
"teacher"
};
static User login(String id, String password) throws GExcptSQL, GExcptAccount, SQLException {
ResultSet rs = null;
String sql = null;
String userType = null;
for(String userTable:userTables){
sql = "SELECT * FROM "+userTable+" WHERE id=\'"+id+"\'";
try {
rs = DBManagement.query(sql);
} catch (Exception e) {
throw new GExcptSQL("QUERY\n\t"+sql+"\nfailure");
}
if(rs!=null){
userType = userTable;
break;
}
}
if(rs==null){
throw new GExcptAccount("id "+id+"don't exists");
}
rs.next();
try {
if(!rs.getString(2).equals(password))
throw new GExcptAccount("password wrong");
List<String> necessaryInfo = new ArrayList<>();
for(int i=0;i<4;i++){
necessaryInfo.add(rs.getString(i));
}
return createUser(userType,necessaryInfo);
} catch (SQLException e) {
e.printStackTrace();
}
return null; return null;
} }
static User register(List<String> necessaryInfo, String User){ static User register(String userType, List<String> necessaryInfo) throws GExcptSQL {
//todo necessaryInfo = Utils.formatUserInfo(userType,necessaryInfo);
return null; String sql = "INSERT INTO "+userType+" VALUES(\'";
for(String info:necessaryInfo){
sql+=info+"\', \'";
}
sql =sql.substring(0,sql.length()-3)+")";
DBManagement.update(sql);
return createUser(userType, necessaryInfo);
} }
static void logout(User user){ static void logout(User user){
//todo //todo
@ -19,4 +67,28 @@ public interface AccountManagement {
static void destroy(User user){ static void destroy(User user){
//todo //todo
} }
static User getUser(String userType){
try {
return (User) Class.forName("core.user."+ Utils.toUpperFirstChar(userType)).getDeclaredConstructor().newInstance();
} catch (InstantiationException e) {
e.printStackTrace();
} catch (IllegalAccessException e) {
e.printStackTrace();
} catch (InvocationTargetException e) {
e.printStackTrace();
} catch (NoSuchMethodException e) {
e.printStackTrace();
} catch (ClassNotFoundException e) {
e.printStackTrace();
}
return null;
}
static User createUser(String userType, List<String> necessaryInfo) {
User user = getUser(userType);
user.setId(necessaryInfo.get(0));
user.setName(necessaryInfo.get(1));
user.setE_mail_location(necessaryInfo.get(2));
user.setPhone_number(necessaryInfo.get(3));
return user;
}
} }

@ -50,6 +50,7 @@ public class DBManagement {
con = DBManagement.getConnection(); con = DBManagement.getConnection();
Statement stmt = con.createStatement(); Statement stmt = con.createStatement();
rs = stmt.executeQuery(sql); rs = stmt.executeQuery(sql);
System.out.println(rs);
} catch (SQLException e) { } catch (SQLException e) {
throw new GExcptSQL("Connect Failure"); throw new GExcptSQL("Connect Failure");
}finally { }finally {

@ -0,0 +1,8 @@
package error;
public class GExcptAccount extends GExcpt{
public GExcptAccount(String info) {
super(info);
}
}

@ -1,49 +0,0 @@
package gdms;
import core.user.Student;
import core.user.User;
import dao.DBManagement;
import org.apache.tomcat.jdbc.pool.DataSource;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.NamingException;
import java.lang.reflect.InvocationTargetException;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
public class test {
public test(){
Connection con = null;
try{
con = DBManagement.getConnection();
Statement stmt = con.createStatement(); //创建Statement对象
System.out.print("成功连接到数据库!");
String sql = "select * from test";
ResultSet rs = stmt.executeQuery(sql);
rs.next();
System.out.println(rs.getString("name"));
rs.close();
stmt.close();
con.close();
}catch (Exception e){
e.printStackTrace();
}finally {
if(con!=null) {
try {
con.close();
} catch (SQLException e) {
e.printStackTrace();
}
}
}
}
public static void main(String argc[]) throws NamingException, SQLException {
new test();
}
}

@ -1,7 +1,8 @@
package init; package init;
import core.user.utils.AccountManagement;
import dao.DBManagement; import dao.DBManagement;
import gdms.test; import error.GExcptSQL;
import javax.servlet.ServletException; import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet; import javax.servlet.annotation.WebServlet;
@ -9,12 +10,13 @@ import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpServletResponse;
import java.io.IOException; import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
@WebServlet(name = "Init") @WebServlet(name = "Init")
public class Init extends HttpServlet { public class Init extends HttpServlet {
public void init(){ public void init(){
DBManagement.init(); DBManagement.init();
new test();
} }
protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {

@ -0,0 +1,40 @@
package servlet.account;
import java.io.IOException;
import java.sql.SQLException;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import core.user.Student;
import core.user.User;
import core.user.utils.AccountManagement;
import error.GExcptAccount;
import error.GExcptSQL;
@WebServlet("/login")
public class login extends HttpServlet {
protected void doPost(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
String id=request.getParameter("id");
String password=request.getParameter("password");
User user = null;
try {
user = AccountManagement.login(id,password);
} catch (GExcptSQL | SQLException gExcptSQL) {
gExcptSQL.printStackTrace();
} catch (GExcptAccount gExcptAccount) {
gExcptAccount.printStackTrace();
}
request.getSession().setAttribute("User",user);
request.getRequestDispatcher("/home.jsp").forward(request,response);
}
protected void doGet(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
}
}

@ -0,0 +1,23 @@
package servlet.account;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
@WebServlet( "/service")
public class service extends HttpServlet {
protected void doPost(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
System.out.print(request.getParameter("id"));
}
protected void doGet(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
}
}

@ -0,0 +1,28 @@
package utils;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
public interface Utils {
public static Map<String,Integer> userAttrNum =new HashMap<>()
{
{
userAttrNum.put("administrator",5);
userAttrNum.put("student",7);
userAttrNum.put("teacher",8);
}
};
public static String toUpperFirstChar(String string) {
char[] charArray = string.toCharArray();
charArray[0] -= 32;
return String.valueOf(charArray);
}
public static List<String> formatUserInfo(String userType, List<String> userInfo){
for(int i=0;i<userAttrNum.get(userType)-userInfo.size();i++){
userInfo.add("");
}
return userInfo;
}
}

@ -24,4 +24,8 @@
<servlet-name>default</servlet-name> <servlet-name>default</servlet-name>
<url-pattern>*.js</url-pattern> <url-pattern>*.js</url-pattern>
</servlet-mapping> </servlet-mapping>
<servlet-mapping>
<servlet-name>default</servlet-name>
<url-pattern>*.png</url-pattern>
</servlet-mapping>
</web-app> </web-app>

@ -0,0 +1,234 @@
body{
margin: 0px;
padding: 0px;
background-color: #efefef;
width: 100%;
height: 100%;
}
a{
text-decoration: none;
}
ul{
margin: 0;
padding: 0;
}
.main{
position: relative;
height: 100%;
}
.top-bar{
width: 100%;
height: 55px;
position: relative;
background-color: #c13139;
z-index: 100;
box-shadow: 5px 0px 10px rgba(0,0,0,0.47);
}
.top-center-bar{
position: relative;
height: 100%;
width: 1100px;
background-color: #c6333e;
box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.42);
margin: 0px auto;
}
.back-home{
background-color: white;
height:60px;
border-radius: 0px 0px 5px 5px;
width: 60px;
position: absolute;
left: 200px;
color: #c6333e;
font-size: 20px;
text-align: center;
font-weight: normal;
line-height: 60px;
top: 0px;
box-shadow: 5px 0px 8px rgba(0, 0, 0, 0.3);
cursor: pointer;
transition: all 0.3s;
}
.back-home:hover{
line-height: 70px;
height:70px;
}
.opt-options{
visibility: hidden;
width: 100px;
height: 65px;
background-color: white;
position: absolute;
top: 55px;
right: -20px;
border: 1px solid rgba(0, 0, 0, 0.07);
border-radius: 0px 0px 5px 5px;
box-shadow: 5px 2px 8px rgba(0, 0, 0, 0.29);
}
.top-center-bar .logo{
position: absolute;
margin: auto 20px;
top: 15px;
color: white;
font-weight: bolder;
font-size: 20px;
}
.back-home a{
color: #c6333e;
}
.opt:hover .opt-options{
visibility: visible;
padding: 20px 0px 0px 0px;
}
.personal-opt{
height: 100%;
width: 120px;
position: absolute;
right: 0px;
}
.personal-opt .head-img{
float: left;
margin: 2px;
width: 45px;
height: 45px;
border-radius: 50%;
border: 3px solid white;
}
.opt .img{
display: block;
width: 35px;
height: 35px;
margin: 10px 10px 10px 10px;
}
.opt-options div{
width: 100%;
height: 30px;
text-align: center;
line-height: 20px;
}
.opt-options div a{
color: rgba(0, 0, 0, 0.88);
}
.opt-options div:hover{
background-color: rgba(0, 0, 0, 0.21);
}
.personal-opt .opt{
width: 35px;
height: 100%;
width: 55px;
cursor: pointer;
float: left;
border-radius: 5px;
}
.personal-opt .opt:hover{
background-color: rgba(255, 255, 255, 0.18);
}
.nav-bar{
top: 20px;
border-radius: 10px;
position: absolute;
left: 5px;
width: 100px;
height: 800px;
background-color: #251d20;
}
.nav-bar .a-process{
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 10px;
width:80px;
height: 80px;
margin: 10px 8px;
float: top;
background-color: rgba(255, 255, 255, 0.09);
transition: all 0.5s;
}
.nav-bar .a-process:hover{
background-color: rgba(255, 255, 255, 0.3);
}
.point-bar{
width: 10px;
position: absolute;
left: 100px;
height: 60px;
top: 21px;
border-radius: 0px 5px 5px 0px;
background-color: #cf4240;
transition: all 0.4s;
visibility: hidden;
}
.main2{
z-index: 2;
position: relative;
width: 1100px;
height: 1100px;
margin: 0px auto;
background-color: white;
}
.link-point{
display: block;
width: 100%;
height: 100%;
}
.a-process .link-point .a-process-decoration
{
width: 60px;
height: 60px;
margin: 0px 10px;
}
.link-point div img{
display: block;
width: 100%;
height: 100%;
}
.nav-info{
color: white;
text-align: center;
font-size: 12px;
}
.update-frame{
width: 990px;
height: 1100px;
position: relative;
left: 110px;
}
.scroll-ads{
height: 300px;
width: 900px;
background-color: black;
position: absolute;
margin: 20px 45px;
border-radius: 10px;
overflow: hidden;
}
.scroll-ads .scroll-ads-imgs .scroll-child{
display: inline-block;
width: 100%;
height: 100%;
transition: all 0.4s;
}
.scroll-ads .scroll-ads-imgs{
width: 100%;
height: 100%;
transition: all 0.4s;
white-space: nowrap;
font-size: 0;
}
.scroll-ads .scroll-ads-imgs .scroll-child a img{
width: 100%;
height: 100%;
position: relative;
}
.ads-text{
position: relative;
width: 100px;
height: 20px;
left: 50px;
bottom: 50px;
z-index: 10;
font-size: 20px;
color: white;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 241 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 248 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 252 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Before

Width:  |  Height:  |  Size: 452 KiB

After

Width:  |  Height:  |  Size: 452 KiB

Before

Width:  |  Height:  |  Size: 650 KiB

After

Width:  |  Height:  |  Size: 650 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

@ -46,7 +46,7 @@ body{
height: 40px; height: 40px;
border-radius: 5px; border-radius: 5px;
left: 29px; left: 29px;
border:1px solid rgba(0, 0, 0, 0.37);; border:1px solid rgba(0, 0, 0, 0.37);
} }
.login-cont .input-text:hover{ .login-cont .input-text:hover{
background-color: #e3e3e3; background-color: #e3e3e3;
@ -94,7 +94,6 @@ body{
} }
.register-submit-style{ .register-submit-style{
position: absolute; position: absolute;
top: 280px;
width: 300px; width: 300px;
height: 40px; height: 40px;
border-radius: 5px; border-radius: 5px;
@ -114,14 +113,17 @@ body{
.register-input-text.e-mail-text{ .register-input-text.e-mail-text{
top:190px; top:190px;
} }
.register-input-text.phone-number{
top:255px;
}
.register-input-text.password-text{ .register-input-text.password-text{
top: 255px; top: 320px;
} }
.register-input-text.check-password-text{ .register-input-text.check-password-text{
top:320px; top:385px;
} }
.register-submit-style{ .register-submit-style{
top: 395px; top: 440px;
} }
.register-input-text:hover{ .register-input-text:hover{
background-color: #e7e0ea; background-color: #e7e0ea;
@ -162,3 +164,26 @@ body{
.to-login{ .to-login{
display: none; display: none;
} }
.logo2{
position: absolute;
left: 140px;
top: 20px;
width: 120px;
height: 40px;
color: white;
background-color: #dc514a;
border-radius: 12px;
border: 1px solid rgba(0, 0, 0, 0.1);
font-size: 20px;
font-weight: bolder;
line-height: 40px;
text-align: center;
}
.main{
}
.bottom-bar{
background-color: #f7edda;
border: 1px solid rgba(0, 0, 0, 0.16);
height: 40px;
width: 100%;
}

@ -0,0 +1,96 @@
.updated{
width: 100%;
height: 100%;
}
.personal-choose{
position: absolute;
top: 50px;
left: 15px;
}
.personal-choose .nav-personal-choose{
margin: 0px;
}
.nav-personal-choose .choose-child{
transition: all 0.3s;
list-style: none;
border-radius: 5px 5px 0px 0px;
margin: 10px 0px;
color: rgba(0, 0, 0, 0.93);
width: 120px;
height: 30px;
border-bottom: 1px solid rgb(198, 68, 66);
font-size: 15px;
text-align: center;
line-height: 30px;
cursor: pointer;
}
.nav-personal-choose .choose-child:hover{
background-color: #e24f46;
border-radius: 5px;
border-bottom: 1px solid rgba(198, 68, 66, 0);
color: white;
}
.personal-msg-frame{
position: absolute;
top: 70px;
left: 250px;
width: 600px;
}
.personal-msg-frame .personal-msg-part{
width: 550px;
height: 50px;
margin: 30px 0px;
border-bottom: 1px solid rgba(0, 0, 0, 0.54);
}
.personal-msg-frame .personal-msg-part .part-name{
width: 80px;
text-align: left;
line-height: 35px;
color: rgba(0, 0, 0, 0.78);
float: left;
height: 100%;
font-size: 20px;
}
.personal-msg-frame .personal-msg-part .part-cont{
width: 450px;
height: 100%;
float: left;
text-align: left;
line-height: 35px;
font-size: 15px;
}
.updated .change-pw-frame{
display: none;
position: absolute;
top: 70px;
left: 250px;
width: 600px;
}
.change-pw-frame .pw-input-style{
padding: 0px 0px 0px 20px;
margin: 20px 100px;
width:340px;
height: 40px;
border-radius: 5px;
left: 29px;
border:1px solid rgba(0, 0, 0, 0.37);
}
.change-pw-frame .pw-input-style:hover{
background-color: #f0f0f0;
}
.change-pw-frame .sm-input-style{
margin: 20px 120px;
top: 280px;
width: 300px;
height: 40px;
border-radius: 5px;
left: 49px;
border: 1px solid rgba(0, 0, 0, 0.2);
background-color: #65b0ff;
color: white;
font-size: 20px;
}
.change-pw-frame .sm-input-style:hover{
background-color: #517fff;
}

@ -0,0 +1,100 @@
<%--
Created by IntelliJ IDEA.
User: lenovo
Date: 2019/1/9
Time: 20:32
To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
<title>毕业设计管理系统</title>
<link type="text/css" rel="stylesheet" href="cssFile/home.css">
<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/homeActive.js"></script>
<script type="text/javascript" src="jsFile/home-update.js"></script>
<script type="text/javascript" src="jsFile/personal.js"></script>
</head>
<body>
<div class="main">
<div class="top-bar">
<div class="top-center-bar">
<div class="back-home"><a href="home.jsp">首页</a></div>
<div class="logo">GDMS</div>
<div class="personal-opt">
<div class="head-img">
<img src="">
</div>
<div class="opt">
<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>退出登录</a></div>
</div>
</div>
</div>
</div>
</div>
<div class="main2">
<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">
<div class="a-process-decoration personal-set">
<img src="cssFile/images/man.png">
<div class="nav-info">个人信息</div>
</div>
</a>
</div>
<div class="a-process aux-fun">
<a href="#" class="link-point aux-fun-page">
<div class="a-process-decoration download">
<img src="cssFile/images/download.png">
<div class="nav-info">资料下载</div>
</div>
</a>
</div>
<div class="a-process data-download">
<a href="#" class="link-point data-download-page">
</a>
</div>
</div>
<div class="update-frame">
<div class="scroll-ads">
<ul class="scroll-ads-imgs" style="transform: translateX(0%)">
<li class="scroll-child">
<a>
<img src="cssFile/images/change.jpg">
<div class="ads-text">holle</div>
</a>
</li>
<li class="scroll-child">
<a>
<img src="cssFile/images/change2.jpg">
<div class="ads-text">holle</div>
</a>
</li>
<li class="scroll-child">
<a>
<img src="cssFile/images/change3.jpg">
<div class="ads-text">holle</div>
</a>
</li>
<li class="scroll-child">
<a>
<img src="cssFile/images/change.jpg">
<div class="ads-text">holle</div>
</a>
</li>
</ul>
</div>
</div>
</div>
</div>
<script type="text/javascript" src="jsFile/personal.js"></script>
</body>
</html>

@ -0,0 +1,9 @@
$(document).ready(function () {
$('.link-point').on('click',upadateFrame);
})
function upadateFrame(e) {
e.preventDefault();
var updateUrl=$(this).attr('href');
$('.update-frame').load(updateUrl+' .updated');
history.pushState(null,null,updateUrl);
}

@ -0,0 +1,34 @@
$(document).ready(function () {
$('.a-process').on('click',moveBar);
$('.update-to-perm').on('click',upadateFrame);
})
function moveBar() {
var distanse=21+($(this).index()-1)*91;
$('.point-bar').css({'top':distanse.toString()+'px','visibility':'visible'});
}
function scrollAds() {
var scrolling=document.getElementsByClassName('scroll-ads-imgs').item(0);
if(scrolling.style.transform=="translateX(0%)")
{
$('.scroll-ads-imgs').css('transition','0.4s');
scrolling.style.transform='translateX(-100%)';
}
else if(scrolling.style.transform=="translateX(-100%)")
{
scrolling.style.transform='translateX(-200%)';
}
else if(scrolling.style.transform=="translateX(-200%)")
{
scrolling.style.transform='translateX(-300%)';
}
else if(scrolling.style.transform=="translateX(-300%)")
{
$('.scroll-ads-imgs').css('transition','none');
scrolling.style.transform='translateX(0%)';
window.setTimeout('scrollAds()',200);
}
}
window.setInterval('scrollAds()',3000);

@ -0,0 +1,55 @@
function showRegister() {
$('.register-cont').css('display','block');
$('.login-cont').css('display','none');
$('.to-register').css( 'display','none');
$('.to-login').css( 'display','block');
}
function showlogin() {
$('.register-cont').css('display','none');
$('.login-cont').css('display','block');
$('.to-register').css( 'display','block');
$('.to-login').css( 'display','none');
}
function isEmpty(e)
{
$('.input-text').each(function () {
if($(this).val().length<=0)
{
e.preventDefault();
alert($(this).attr('name')+'不能为空');
return false;
}
})
}
function isEmpty2(e)
{
var isem=false;
$('.register-input-text').each(function () {
if($(this).val().length<=0)
{
e.preventDefault();
alert($(this).attr('name')+'不能为空');
isem=true;
return false;
}
}
)
if($('.register-input-text').eq(4).val()!=$('.register-input-text').eq(5)
.val()&&!isem)
{
e.preventDefault();
alert('两次密码不同');
return false;
}
}
$(document).ready(
function () {
$('.to-register').on('click', showRegister);
$('.to-login').on('click', showlogin);
$('.submit-style').on('click',isEmpty);
$('.register-submit-style').on('click',isEmpty2);
})

@ -0,0 +1,43 @@
$(document).ready(function () {
$(document).off('click').on('click','.choose-child',pChange);
$(document).off('click',showpm).on('click','.pm',showpm);
$(document).off('click',showpw).on('click','.pw',showpw);
$('.sm-input-style').off('click').on('click',isEmpty);
})
function pChange(){
$('.choose-child').each(function () {
$(this).css({'background-color':'','color':'','border-radius':
''});
})
$(this).css({'background-color':' #e24f46','color':'white','border-radius':
'5px'});
}
function showpm() {
$('.personal-msg-frame').css('display','block');
$('.change-pw-frame').css('display','none');
}
function showpw() {
$('.personal-msg-frame').css('display','none');
$('.change-pw-frame').css('display','block');
}
function isEmpty(e)
{
var isem=false;
$('.pw-input-style').each(function () {
if($(this).val().length<=0)
{
e.preventDefault();
alert($(this).attr('name')+'不能为空');
isem=true;
return false;
}
}
)
if($('.pw-input-style').eq(1).val()!=$('.pw-input-style').eq(2)
.val()&&!isem)
{
e.preventDefault();
alert('两次密码不同');
return false;
}
}

@ -24,8 +24,9 @@
</div> </div>
<div class="login-cont"> <div class="login-cont">
<form method="post" action="#"> <div class="logo2">GDMS</div>
<input class="input-text username-text" type="text" name="username" <form method="post" action="login">
<input class="input-text username-text" type="text" name="id"
placeholder="请输入学号"> placeholder="请输入学号">
<input class="input-text password-text" type="password" name="password" <input class="input-text password-text" type="password" name="password"
placeholder="请输入密码"> placeholder="请输入密码">
@ -38,20 +39,24 @@
<div class="to-any to-login">登陆</div> <div class="to-any to-login">登陆</div>
</div> </div>
<div class="register-cont"> <div class="register-cont">
<form method="post" action="#"> <form method="post" action="#">
<input class="register-input-text sno-text" type="text" name="sno" <input class="register-input-text sno-text" type="text" name="id"
placeholder="学号"> placeholder="学号">
<input class="register-input-text name-text" type="text" name="name" <input class="register-input-text name-text" type="text" name="name"
placeholder="姓名"> placeholder="姓名">
<input class="register-input-text e-mail-text" type="text" name="e-mail" <input class="register-input-text e-mail-text" type="text" name="e-mail"
placeholder="邮箱"> placeholder="邮箱">
<input class="register-input-text phone-number" type="text" name="phone-number"
placeholder="请输入电话">
<input class="register-input-text password-text" type="password" name="password" <input class="register-input-text password-text" type="password" name="password"
placeholder="请输入密码"> placeholder="请输入密码">
<input class="register-input-text check-password-text" type="password" name="password" <input class="register-input-text check-password-text" type="password" name="password-check"
placeholder="请输入密码"> placeholder="请确认密码">
<input class="register-submit-style" type="submit" value="注册"> <input class="register-submit-style" type="submit" value="注册">
</form> </form>
</div> </div>
<div class="bottom-bar"></div>
</div> </div>
</body> </body>
</html> </html>

@ -0,0 +1,56 @@
<%--
Created by IntelliJ IDEA.
User: lenovo
Date: 2019/1/9
Time: 23:33
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>
<html>
<head>
<title>个人信息</title>
</head>
<body>
<div class="updated">
<div class="personal-set-frame">
<div class="personal-choose">
<ul class="nav-personal-choose">
<li class="choose-child pm">个人信息</li>
<li class="choose-child pw">修改密码</li>
</ul>
</div>
<div class="personal-msg-frame">
<div class="personal-msg-part">
<div class="part-name">姓名</div><div class="part-cont"></div>
</div>
<div class="personal-msg-part">
<div class="part-name">id</div><div class="part-cont"></div>
</div>
<div class="personal-msg-part">
<div class="part-name">邮箱</div><div class="part-cont"></div>
</div>
<div class="personal-msg-part">
<div class="part-name">电话号码</div><div class="part-cont"></div>
</div>
</div>
<div class="change-pw-frame">
<form method="post" action="#">
<input class="pw-input-style" type="password" name="oldPassword"
placeholder="请输入原始密码">
<input class="pw-input-style" type="password" name="newPassword"
placeholder="请输入新密码">
<input class="pw-input-style" type="password" name="checkPassword"
placeholder="确认密码">
<input class="sm-input-style" type="submit" value="确定">
</form>
</div>
</div>
</div>
</body>
</html>

@ -1,17 +0,0 @@
<%--
Created by IntelliJ IDEA.
User: lenovo
Date: 2019/1/9
Time: 12:11
To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" import="java.util.Date" %>
<html>
<head>
<title>Title</title>
</head>
<body>
<%!Date date =new Date();%>
<div class="testp">时间是:<%=date%></div>
</body>
</html>

@ -1,7 +0,0 @@
function test6() {
$('.tes').load('server.jsp .testp');
}
$(document).ready(function () {
window.setInterval('test6()',1000);
});

@ -1,7 +0,0 @@
function showtime() {
var tim=new Date();
$('.tes2').html(tim);
}
$(document).ready(function () {
window.setInterval('showtime()',1000);
})
Loading…
Cancel
Save