mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-15 05:46:45 +08:00
-- fix bug 外部考试
This commit is contained in:
@@ -14,7 +14,7 @@
|
|||||||
<iframe
|
<iframe
|
||||||
id="iframe"
|
id="iframe"
|
||||||
style="width: 100%; height: 600px"
|
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"
|
name="myframe"
|
||||||
security="restricted"
|
security="restricted"
|
||||||
sandbox="allow-forms allow-scripts allow-same-origin allow-popups"
|
sandbox="allow-forms allow-scripts allow-same-origin allow-popups"
|
||||||
|
|||||||
@@ -397,8 +397,9 @@
|
|||||||
status: state.projectName,
|
status: state.projectName,
|
||||||
studentName: state.name,
|
studentName: state.name,
|
||||||
targetId: props.datasource.projectId,
|
targetId: props.datasource.projectId,
|
||||||
taskId: props.datasource.courseId,
|
courseId: props.datasource.courseId,
|
||||||
type: 2,
|
taskId: props.datasource.id,
|
||||||
|
type: 1,
|
||||||
}).then(res=>{
|
}).then(res=>{
|
||||||
console.log(res)
|
console.log(res)
|
||||||
state.tabledata = res.data.data.records;
|
state.tabledata = res.data.data.records;
|
||||||
|
|||||||
@@ -406,8 +406,9 @@
|
|||||||
status: state.projectName,
|
status: state.projectName,
|
||||||
studentName: state.name,
|
studentName: state.name,
|
||||||
targetId: props.datasource.routerId,
|
targetId: props.datasource.routerId,
|
||||||
taskId: props.datasource.courseId,
|
taskId: props.datasource.id,
|
||||||
type: 1,
|
courseId: props.datasource.courseId,
|
||||||
|
type: 2,
|
||||||
}).then(res=>{
|
}).then(res=>{
|
||||||
console.log(res)
|
console.log(res)
|
||||||
state.tabledata = res.data.data.records;
|
state.tabledata = res.data.data.records;
|
||||||
|
|||||||
Reference in New Issue
Block a user