2025年4月21日09:59:11

master
qmstyle 2025-04-21 09:59:25 +08:00
parent 0ff3a41422
commit 6b9affee80
23 changed files with 86 additions and 5 deletions

BIN
imges/img.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.6 KiB

BIN
imges/img_1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

BIN
imges/img_10.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

BIN
imges/img_11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

BIN
imges/img_12.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

BIN
imges/img_13.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

BIN
imges/img_14.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

BIN
imges/img_15.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

BIN
imges/img_16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

BIN
imges/img_17.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

BIN
imges/img_2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

BIN
imges/img_3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

BIN
imges/img_4.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

BIN
imges/img_5.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

BIN
imges/img_6.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

BIN
imges/img_7.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

BIN
imges/img_8.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

BIN
imges/img_9.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

56
readme.md Normal file
View File

@ -0,0 +1,56 @@
### 1.项目背景
> 基于个人爱好开发的一款开源的在线考试系统,旨在为考生提供一个简单、易用、高效的在线考试系统。
#### 2.项目介绍
> 本项目基于java开发,后端`springboot`,前端采用`javafx` 开发,数据库采用`mysql`
#### 3.项目功能
##### 3.1 登录功能
![](imges/img.png)
##### 3.2 问题管理
![](imges/img_1.png)
###### 3.2.1 新增问题
![](imges/img_2.png)
###### 3.2.2 编辑删除
![](imges/img_3.png)
###### 3.2.3 动态表格
![](imges/img_4.png)
![](imges/img_5.png)
##### 3.3 学科管理
![](imges/img_6.png)
##### 3.4 用户管理
###### 3.4.1 用户列表
![](imges/img_7.png)
![](imges/img_8.png)
###### 3.4.2 权限管理
![](imges/img_9.png)
###### 3.4.3 角色管理
![](imges/img_10.png)
#### 3.5 选项管理
![](imges/img_11.png)
![](imges/img_12.png)
#### 3.6 试卷管理
![](imges/img_13.png)
![](imges/img_14.png)
###### 3.3.1 组卷
![](imges/img_15.png)
![](imges/img_16.png)

View File

@ -146,7 +146,7 @@ public class PaperDataLoad implements DataLoad {
paperViewComponent.setPrefWidth(1200);
paperViewComponent.setPrefHeight(649);
AlertUtils.alert("卷", paperViewComponent, 1200, 649, stage, true);
AlertUtils.alert("卷", paperViewComponent, 1200, 649, stage, true);
});
return group_volumes;

View File

@ -14,15 +14,40 @@ import javafx.scene.layout.HBox;
*/
public class PaperSearchComponent extends HBox {
public enum SearchType {
QUESTION_NAME,//问题搜索
User_NAME;//用户搜索
}
private SearchType searchType;
public SearchType getSearchType() {
return searchType;
}
public void setSearchType(SearchType searchType) {
this.searchType = searchType;
}
private Button searchButton;
private SimpleStringProperty questionName = new SimpleStringProperty();
public PaperSearchComponent(double spacing) {
public PaperSearchComponent(double spacing, SearchType searchType) {
super();
this.searchType = searchType;
this.setSpacing(spacing);
Label label = new Label("问题名称:");
Label label = null;
if (searchType == SearchType.QUESTION_NAME) {
label = new Label("问题名称:");
} else {
label = new Label("用户名称:");
}
label.setPadding(new Insets(5, 0, 0, 0));
TextField questionName = new TextField();

View File

@ -194,7 +194,7 @@ public class PaperViewComponent extends SplitPane {
questionTable_data.addAll(callBack.loadQuestionData(paginationPicker.getCurrentPage(), paginationPicker.getPageSize()).getDataList());
}
});
PaperSearchComponent hBox = new PaperSearchComponent(5);
PaperSearchComponent hBox = new PaperSearchComponent(5, PaperSearchComponent.SearchType.User_NAME);
hBox.getSearchButton().setOnAction(new EventHandler<ActionEvent>() {
@Override
public void handle(ActionEvent event) {

View File

@ -185,7 +185,7 @@ public class SendPaperComponent extends SplitPane {
questionTable_data.addAll(callBack.loadPaperData(paginationPicker.getCurrentPage(), paginationPicker.getPageSize()).getDataList());
}
});
PaperSearchComponent hBox = new PaperSearchComponent(5);
PaperSearchComponent hBox = new PaperSearchComponent(5, PaperSearchComponent.SearchType.User_NAME);
hBox.getSearchButton().setOnAction(new EventHandler<ActionEvent>() {
@Override
public void handle(ActionEvent event) {