mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-15 13:56:45 +08:00
feat:增加考试查看答卷
This commit is contained in:
@@ -21,7 +21,7 @@
|
|||||||
<iframe
|
<iframe
|
||||||
id="iframe"
|
id="iframe"
|
||||||
style="width: 100%; height: 100%;"
|
style="width: 100%; height: 100%;"
|
||||||
:src="iframeUrl + '/exam/viewanswer?id=' + datasource.targetId "
|
:src="iframeUrl + '/exam/viewanswer?id=' + datasource.answerId "
|
||||||
frameborder="0"
|
frameborder="0"
|
||||||
name="myframe"
|
name="myframe"
|
||||||
security="restricted"
|
security="restricted"
|
||||||
|
|||||||
@@ -383,12 +383,11 @@ export default {
|
|||||||
currentStageId: props.datasource.stageId,
|
currentStageId: props.datasource.stageId,
|
||||||
type: 1,
|
type: 1,
|
||||||
pid: props.datasource.projectId,
|
pid: props.datasource.projectId,
|
||||||
taskId: props.datasource.projectTaskId,
|
taskId: props.datasource.id,
|
||||||
taskType: props.datasource.type,
|
taskType: props.datasource.type,
|
||||||
status: state.projectName,
|
status: state.projectName,
|
||||||
studentName: state.name,
|
studentName: state.name,
|
||||||
}).then(res=>{
|
}).then(res=>{
|
||||||
console.log(res)
|
|
||||||
state.tabledata = res.data.data.records;
|
state.tabledata = res.data.data.records;
|
||||||
state.tableDataTotal = res.data.data.total;
|
state.tableDataTotal = res.data.data.total;
|
||||||
state.loadingData = false;
|
state.loadingData = false;
|
||||||
|
|||||||
@@ -401,7 +401,7 @@ export default {
|
|||||||
currentStageId: props.datasource.chapterId,
|
currentStageId: props.datasource.chapterId,
|
||||||
type: 2,
|
type: 2,
|
||||||
pid: props.datasource.routerId,
|
pid: props.datasource.routerId,
|
||||||
taskId: props.datasource.routerTaskId,
|
taskId: props.datasource.id,
|
||||||
taskType: props.datasource.type,
|
taskType: props.datasource.type,
|
||||||
status: state.projectName,
|
status: state.projectName,
|
||||||
studentName: state.name,
|
studentName: state.name,
|
||||||
|
|||||||
@@ -1920,7 +1920,7 @@ export default {
|
|||||||
// 考试点击管理弹框
|
// 考试点击管理弹框
|
||||||
const examinationModel = (data, levelname, outchapterid) => {
|
const examinationModel = (data, levelname, outchapterid) => {
|
||||||
console.log(data);
|
console.log(data);
|
||||||
if (data.startTime == null && data.endTime == null) {
|
if (data.examType==2) {
|
||||||
// 外部考试
|
// 外部考试
|
||||||
state.examinationExaminaModelVisible = true;
|
state.examinationExaminaModelVisible = true;
|
||||||
state.outchapter = outchapterid;
|
state.outchapter = outchapterid;
|
||||||
|
|||||||
@@ -3190,7 +3190,7 @@ export default {
|
|||||||
};
|
};
|
||||||
//考试管理的抽屉
|
//考试管理的抽屉
|
||||||
const showTest = (name, id, data) => {
|
const showTest = (name, id, data) => {
|
||||||
if (data.startTime == null && data.endTime == null) {
|
if (data.examType==2) {
|
||||||
// 外部考试抽屉显示
|
// 外部考试抽屉显示
|
||||||
state.TMvisibleExternal = true;
|
state.TMvisibleExternal = true;
|
||||||
state.examData = data;
|
state.examData = data;
|
||||||
|
|||||||
Reference in New Issue
Block a user