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 50faef559..46fb859af 100644 --- a/public/react/src/modules/courses/shixunHomework/Listofworks.js +++ b/public/react/src/modules/courses/shixunHomework/Listofworks.js @@ -1359,7 +1359,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 2d2babb09..652170726 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 1ff1c1170..e483484e7 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 a02ec50e7..3666ad7f2 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)