mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-10 03:16:44 +08:00
feat:增加路径图-系统考试-查看答卷
This commit is contained in:
@@ -115,12 +115,15 @@
|
||||
<!-- 导出成绩抽屉 -->
|
||||
<EScore v-model:eScorevisible="eScorevisible" />
|
||||
</a-drawer>
|
||||
<!-- 查看答卷抽屉 -->
|
||||
<CheckAnsware v-model:CAvisible="CAvisible" :datasource="datasource"/>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { toRefs, reactive } from "vue";
|
||||
import { message } from "ant-design-vue";
|
||||
import EScore from "../ExportScore.vue";
|
||||
import CheckAnsware from '../CheckAnsware.vue'
|
||||
import * as api from '../../../api/indexTaskManage';
|
||||
|
||||
// import * as api from "../../../api/index";
|
||||
@@ -128,6 +131,7 @@ export default {
|
||||
name: "RouterExaminationManage",
|
||||
components: {
|
||||
EScore,
|
||||
CheckAnsware
|
||||
},
|
||||
props: {
|
||||
ExaminationModelVisible: {
|
||||
@@ -320,8 +324,34 @@ export default {
|
||||
className: "h",
|
||||
customRender: ({record:{finishStatus}}) => ({1:'通过',2:'未通过'}[finishStatus] || '未开始'),
|
||||
},
|
||||
{
|
||||
title: "操作",
|
||||
dataIndex: "studentKid",
|
||||
key: "studentKid",
|
||||
width: 60,
|
||||
align: "center",
|
||||
ellipsis: true,
|
||||
className: "h",
|
||||
customRender: (text) => {
|
||||
return (
|
||||
<div class="racona">
|
||||
<a
|
||||
onClick={()=>{
|
||||
state.studentKid = text.record.studentKid;
|
||||
state.datasource = text.record;
|
||||
state.CAvisible = true;
|
||||
}}>
|
||||
查看答卷
|
||||
</a>
|
||||
</div>
|
||||
);
|
||||
},
|
||||
},
|
||||
],
|
||||
loadingData: true
|
||||
loadingData: true,
|
||||
studentKid: '',
|
||||
CAvisible: false,
|
||||
datasource: ''
|
||||
});
|
||||
|
||||
const closeDrawer = () => {
|
||||
|
||||
Reference in New Issue
Block a user