mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-10 03:16:44 +08:00
-- fix bug 外部考试
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user