style:面授课查看答卷增加查看答卷弹框

This commit is contained in:
wyx
2023-02-16 16:32:39 +08:00
parent 18cc286294
commit 3000423281
2 changed files with 24 additions and 13 deletions

View File

@@ -169,8 +169,10 @@
/>
<!-- 查看作业抽屉 -->
<CKWork v-model:CWvisible="CWvisible" />
<!-- 查看答卷抽屉
<CQue v-model:CQvisible="CQvisible" /> -->
<!-- 查看答卷抽屉 -->
<CQue v-model:CQvisible="CQvisible" />
<CheckAnsware v-model:CAvisible="CAvisible" :datasource="datasource"/>
<!-- 导出作业提示框 -->
<ExportHomeWork
@@ -184,7 +186,8 @@ import { toRefs, reactive } from "vue";
import { message } from "ant-design-vue";
import ASOver from "../AllStuOver.vue";
import CKWork from "../CheckWork.vue";
import CQue from "../CheckQue.vue";
// import CQue from "../CheckQue.vue";
import CheckAnsware from '../CheckAnsware.vue'
import EScore from "../ExportScore.vue";
// import * as api from "../../../api/index";
import * as api from "../../../api/index1";
@@ -194,9 +197,10 @@ export default {
components: {
EScore,
CKWork,
CQue,
// CQue,
ASOver,
ExportHomeWork,
CheckAnsware
},
props: {
Fvisible: {
@@ -226,7 +230,7 @@ export default {
CQvisible: false, //查看答卷抽屉
ASOvervisible: false, //批量标注完成弹窗
name: "",
datasource:'',
open: false,
projectName: undefined,
projectNameList: [
@@ -247,7 +251,7 @@ export default {
// },
],
selectedRowKeys: [],
CAvisible: false,
pageNo: 1,
pageSize: 10,
currentPage: 1,
@@ -424,7 +428,7 @@ export default {
align: "center",
ellipsis: true,
className: "h",
customRender: ({record:{examStatus,workStatus}}) => {
customRender: (text, {record:{examStatus,workStatus}}) => {
return (examStatus || workStatus) && (<div
style={{
display: "flex",
@@ -447,7 +451,8 @@ export default {
class="operation"
style="cursor:pointer;margin-right:10px;"
onClick={() => {
state.CQvisible = true;
state.datasource = text.record;
state.CAvisible = true;
}}
>
查看答卷