dev_forum
杨树林 5 years ago
parent 9e6b31dddd
commit d6fb28b970

@ -299,9 +299,11 @@ class Listofworks extends Component {
var data = { var data = {
search: "", search: "",
order: "", order: "",
b_order: "", b_order: "asc",
work_status: "", work_status: "",
course_group: "", course_group: "",
page:1,
limit:20,
} }
axios.post(urll, data).then((result) => { axios.post(urll, data).then((result) => {
if (result !== undefined) { if (result !== undefined) {

@ -90,7 +90,9 @@ class Listofworksstudentone extends Component {
var data = { var data = {
search: "", search: "",
order: "", order: "",
b_order: "", b_order: "asc",
page:1,
limit:20,
work_status: "", work_status: "",
course_group: "", course_group: "",
} }

@ -141,7 +141,7 @@ class Trainingjobsetting extends Component {
// console.log(homeworkid) // console.log(homeworkid)
let url = `/homework_commons/${homeworkid}/settings.json`; let url = `/homework_commons/${homeworkid}/settings.json`;
axios.get(url).then((result) => { axios.get(url).then((result) => {
if (result.status === 200) { if (result!=undefined) {
// console.log(result.data.code_review) // console.log(result.data.code_review)
// console.log("设置页") // console.log("设置页")
// console.log(JSON.stringify(result)) // console.log(JSON.stringify(result))
@ -1776,6 +1776,7 @@ class Trainingjobsetting extends Component {
> >
<PollDetailTabForthRules <PollDetailTabForthRules
rules={rules} rules={rules}
moduleName={"作业"}
course_group={rulest} course_group={rulest}
flagPageEdit={flagPageEdit} flagPageEdit={flagPageEdit}
rulesCheckInfo={(info)=>this.rulesCheckInfo(info)} rulesCheckInfo={(info)=>this.rulesCheckInfo(info)}

Loading…
Cancel
Save