-- fix bug 外部考试

This commit is contained in:
yuping
2023-03-05 14:08:48 +08:00
parent 940f17d7ec
commit 93a5b6ee55
3 changed files with 7 additions and 5 deletions

View File

@@ -14,7 +14,7 @@
<iframe
id="iframe"
style="width: 100%; height: 600px"
:src="`${iframeUrl}/course/manages?f=choose?ref_id=${props.id}&ref_type=${props.type}`"
:src="`${iframeUrl}/course/manages?f=choose&ref_id=${props.id}&ref_type=${props.type}`"
name="myframe"
security="restricted"
sandbox="allow-forms allow-scripts allow-same-origin allow-popups"

View File

@@ -397,8 +397,9 @@
status: state.projectName,
studentName: state.name,
targetId: props.datasource.projectId,
taskId: props.datasource.courseId,
type: 2,
courseId: props.datasource.courseId,
taskId: props.datasource.id,
type: 1,
}).then(res=>{
console.log(res)
state.tabledata = res.data.data.records;

View File

@@ -406,8 +406,9 @@
status: state.projectName,
studentName: state.name,
targetId: props.datasource.routerId,
taskId: props.datasource.courseId,
type: 1,
taskId: props.datasource.id,
courseId: props.datasource.courseId,
type: 2,
}).then(res=>{
console.log(res)
state.tabledata = res.data.data.records;