This commit is contained in:
nopy 2024-07-07 15:58:36 +08:00
commit da7c3f5372
2 changed files with 4 additions and 2 deletions

View File

@ -75,7 +75,8 @@ function SendTrain(){
TrainJudge,
HourValue,
MinValue,
StopTime,
startDate,
endDate,
selectedItems,
Train,
teacher_ID
@ -90,7 +91,7 @@ function SendTrain(){
const SendTrainBtn=()=>{
if(selectedItems.length>0 && (HourValue || MinValue)&&StopTime){
if(selectedItems.length>0 && (HourValue || MinValue)){
if(Train.length>0){
SendTrainTest()
}else{

View File

@ -162,6 +162,7 @@ def TrainData():
data=request.json
examID=data['operateID']
result=FetchTrainTestFunc(examID)
print(result)
return result
@app.route('/api/student/HistoryTrain',methods=['POST'])