Merge branch 'master' of https://gitea.xn--7p0a.site/2312072104/dm
This commit is contained in:
commit
da7c3f5372
|
@ -75,7 +75,8 @@ function SendTrain(){
|
||||||
TrainJudge,
|
TrainJudge,
|
||||||
HourValue,
|
HourValue,
|
||||||
MinValue,
|
MinValue,
|
||||||
StopTime,
|
startDate,
|
||||||
|
endDate,
|
||||||
selectedItems,
|
selectedItems,
|
||||||
Train,
|
Train,
|
||||||
teacher_ID
|
teacher_ID
|
||||||
|
@ -90,7 +91,7 @@ function SendTrain(){
|
||||||
|
|
||||||
|
|
||||||
const SendTrainBtn=()=>{
|
const SendTrainBtn=()=>{
|
||||||
if(selectedItems.length>0 && (HourValue || MinValue)&&StopTime){
|
if(selectedItems.length>0 && (HourValue || MinValue)){
|
||||||
if(Train.length>0){
|
if(Train.length>0){
|
||||||
SendTrainTest()
|
SendTrainTest()
|
||||||
}else{
|
}else{
|
||||||
|
|
|
@ -162,6 +162,7 @@ def TrainData():
|
||||||
data=request.json
|
data=request.json
|
||||||
examID=data['operateID']
|
examID=data['operateID']
|
||||||
result=FetchTrainTestFunc(examID)
|
result=FetchTrainTestFunc(examID)
|
||||||
|
print(result)
|
||||||
return result
|
return result
|
||||||
|
|
||||||
@app.route('/api/student/HistoryTrain',methods=['POST'])
|
@app.route('/api/student/HistoryTrain',methods=['POST'])
|
||||||
|
|
Loading…
Reference in New Issue