diff --git a/public/react/src/modules/courses/exercise/Testpapersettinghomepage.js b/public/react/src/modules/courses/exercise/Testpapersettinghomepage.js
index 1928bd85b..62ec3ff2f 100644
--- a/public/react/src/modules/courses/exercise/Testpapersettinghomepage.js
+++ b/public/react/src/modules/courses/exercise/Testpapersettinghomepage.js
@@ -130,7 +130,7 @@ class Testpapersettinghomepage extends Component{
})
}
}else {
- window.open(url, '_blank');
+ window.open("/api"+url, '_blank');
}
}).catch((error) => {
console.log(error)
@@ -290,9 +290,9 @@ class Testpapersettinghomepage extends Component{
{isAdmin === true?
导出
:""}
diff --git a/public/react/src/modules/courses/shixunHomework/Listofworks.js b/public/react/src/modules/courses/shixunHomework/Listofworks.js
index f23465816..dbc04e651 100644
--- a/public/react/src/modules/courses/shixunHomework/Listofworks.js
+++ b/public/react/src/modules/courses/shixunHomework/Listofworks.js
@@ -1364,7 +1364,7 @@ class Listofworks extends Component {
})
}
}else {
- window.open(url, '_blank');
+ window.open("/api"+url, '_blank');
}
}).catch((error) => {
console.log(error)
diff --git a/public/react/src/modules/courses/shixunHomework/ShixunStudentWork.js b/public/react/src/modules/courses/shixunHomework/ShixunStudentWork.js
index 93b9fa009..60bcfa155 100644
--- a/public/react/src/modules/courses/shixunHomework/ShixunStudentWork.js
+++ b/public/react/src/modules/courses/shixunHomework/ShixunStudentWork.js
@@ -479,7 +479,7 @@ class ShixunStudentWork extends Component {
})
}
}else {
- window.open(url, '_blank');
+ window.open("/api"+url, '_blank');
}
}).catch((error) => {
console.log(error)
diff --git a/public/react/src/modules/courses/shixunHomework/ShixunWorkReport.js b/public/react/src/modules/courses/shixunHomework/ShixunWorkReport.js
index 4dce1b5f2..646bd5f02 100644
--- a/public/react/src/modules/courses/shixunHomework/ShixunWorkReport.js
+++ b/public/react/src/modules/courses/shixunHomework/ShixunWorkReport.js
@@ -52,7 +52,7 @@ class ShixunWorkReport extends Component {
})
}
}else {
- window.open(url, '_blank');
+ window.open("/api"+url, '_blank');
}
}).catch((error) => {
console.log(error)
diff --git a/public/react/src/modules/courses/shixunHomework/Trainingjobsetting.js b/public/react/src/modules/courses/shixunHomework/Trainingjobsetting.js
index 4532d92f9..f6b7a5c86 100644
--- a/public/react/src/modules/courses/shixunHomework/Trainingjobsetting.js
+++ b/public/react/src/modules/courses/shixunHomework/Trainingjobsetting.js
@@ -959,6 +959,14 @@ class Trainingjobsetting extends Component {
this.setState({
latedeductiontwo: value,
})
+ //均分比例
+ if(this.state.proportion==="均分比例"){
+ this.Equalproportion();
+
+ }else if(this.state.proportion==="经验值比例"){
+ this.Empiricalvalueratio();
+
+ }
}
@@ -1630,7 +1638,7 @@ class Trainingjobsetting extends Component {
})
}
}else {
- window.open(url, '_blank');
+ window.open("/api"+url, '_blank');
}
}).catch((error) => {
console.log(error)
diff --git a/public/react/src/modules/courses/shixunHomework/Workquestionandanswer.js b/public/react/src/modules/courses/shixunHomework/Workquestionandanswer.js
index b0cbb82d7..ca9d3f752 100644
--- a/public/react/src/modules/courses/shixunHomework/Workquestionandanswer.js
+++ b/public/react/src/modules/courses/shixunHomework/Workquestionandanswer.js
@@ -333,7 +333,7 @@ class Workquestionandanswer extends Component {
})
}
}else {
- window.open(url, '_blank');
+ window.open("/api"+url, '_blank');
}
}).catch((error) => {
console.log(error)
diff --git a/public/react/src/modules/login/EducoderLogin.js b/public/react/src/modules/login/EducoderLogin.js
index 787acedce..b46435fe7 100644
--- a/public/react/src/modules/login/EducoderLogin.js
+++ b/public/react/src/modules/login/EducoderLogin.js
@@ -116,9 +116,9 @@ class EducoderLogin extends Component {
})
} else if(e===2) {
this.setState({
- showbool: 2,
namezh:name,
passmm:pass,
+ showbool: 2,
})
}else if(e===3){
this.setState({
diff --git a/public/react/src/modules/user/Interestpage.js b/public/react/src/modules/user/Interestpage.js
index 97a52bae9..77397fbc6 100644
--- a/public/react/src/modules/user/Interestpage.js
+++ b/public/react/src/modules/user/Interestpage.js
@@ -122,7 +122,8 @@ class InterestpageComponent extends Component {
interest_ids: ints,
}).then((response) => {
if (response !== undefined) {
- this.Jumptotheinterestpage();
+ // this.Jumptotheinterestpage();
+ window.location.href = "/"
}