diff --git a/src/components/drawers/project/ProjectExamManage.vue b/src/components/drawers/project/ProjectExamManage.vue index 1abdba36..68a7ea51 100644 --- a/src/components/drawers/project/ProjectExamManage.vue +++ b/src/components/drawers/project/ProjectExamManage.vue @@ -190,7 +190,7 @@ export default { title: "工号", dataIndex: "studentCode", key: "studentCode", - width: 60, + width: 120, align: "center", className: "h head", customRender: (text) => { @@ -305,7 +305,7 @@ export default { align: "center", ellipsis: true, className: "h", - customRender: ({record:{finishStatus}}) => ({1:'进行中',0:'未开始',9:'已完成'}[finishStatus] || '未开始'), + customRender: ({record:{status}}) => ({1:'进行中',0:'未开始',9:'已完成'}[status] || '未开始'), }, { title: "操作", @@ -318,14 +318,14 @@ export default { customRender: (text) => { return (
- { + {text.record.status == '0' ? "查看答卷" : + { state.studentKid = text.record.studentKid; state.datasource = text.record; state.CAvisible = true; - }}> - 查看答卷 - + }}> 查看答卷 + } +
); }, @@ -398,7 +398,7 @@ export default { pageNo: state.currentPage, pageSize: state.pageSize, chapterId: props.datasource.chapterId, - type: 2, + type: 1, taskId: props.datasource.courseId, targetId: props.datasource.projectId }).then(res=>{ diff --git a/src/components/drawers/router/RouterExaminationManage.vue b/src/components/drawers/router/RouterExaminationManage.vue index a06f8702..33fb498c 100644 --- a/src/components/drawers/router/RouterExaminationManage.vue +++ b/src/components/drawers/router/RouterExaminationManage.vue @@ -399,7 +399,7 @@ export default { pageNo: state.currentPage, pageSize: state.pageSize, chapterId: props.datasource.chapterId, - type: 1, + type: 2, taskId: props.datasource.courseId, targetId: props.datasource.routerId }).then(res => { diff --git a/src/components/vote/VoteQuestionItem.vue b/src/components/vote/VoteQuestionItem.vue index 9f36cd2e..767e6988 100644 --- a/src/components/vote/VoteQuestionItem.vue +++ b/src/components/vote/VoteQuestionItem.vue @@ -13,7 +13,7 @@
删除
- +
+添加图片