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