撤回的评估 还在添加评估列表里

This commit is contained in:
zhangyc
2022-12-15 20:05:08 +08:00
parent 59f4ad9d09
commit e98d3cd5ea
8 changed files with 34 additions and 13 deletions

View File

@@ -108,7 +108,7 @@
:loading="tableDataTotal === -1 ? true : false"
:pagination="false"
/>
<div class="tableBox">
<div class="tableBox" style="margin-top:85px;">
<div class="pa">
<a-pagination
v-if="tableDataTotal > 10"

View File

@@ -244,7 +244,7 @@
<div class="main_item">
<div class="main_item">
<div class="signbox">
<span style="margin-right: 3px">作业要求</span>
<span style="margin-right: 3px">试题排序</span>
</div>
<div class="btnbox">
<a-radio-group

View File

@@ -93,7 +93,7 @@
}"
filterMultiple:false
/>
<div class="tableBox">
<div class="tableBox" style="margin-top:85px;">
<div class="pa">
<a-pagination
:showSizeChanger="false"
@@ -208,6 +208,7 @@ export default {
key: "num",
width: "20%",
align: "center",
ellipsis: true,
},
{
title: "创建人",
@@ -215,6 +216,7 @@ export default {
key: "creator",
width: "20%",
align: "center",
ellipsis: true,
},
{
title: "创建时间",
@@ -222,6 +224,7 @@ export default {
key: "time",
width: "20%",
align: "center",
ellipsis: true,
},
];
return columns;
@@ -274,6 +277,7 @@ export default {
assessmentName: state.inputV1,
pageNo: state.currentPage,
pageSize: state.pageSize,
releaseStatus:2,
})
.then((res) => {
let arr = res.data.data.rows;

View File

@@ -51,7 +51,7 @@
:row-selection="rowSelection"
filterMultiple:false
/>
<div class="tableBox">
<div class="tableBox" style="margin-top:85px;">
<div class="pa">
<a-pagination
:showSizeChanger="false"
@@ -136,6 +136,7 @@ export default {
key: "num",
width: "20%",
align: "center",
ellipsis: true,
},
{
title: "创建人",
@@ -143,6 +144,7 @@ export default {
key: "creator",
width: "20%",
align: "center",
ellipsis: true,
},
{
title: "创建时间",
@@ -150,6 +152,7 @@ export default {
key: "time",
width: "20%",
align: "center",
ellipsis: true,
},
];
return columns;
@@ -182,8 +185,15 @@ export default {
let obj = {
key: index,
assessmentId: value.assessmentId,
num: Number(value.essayQuestionVoList.length)+Number(value.multipleStemVoList.length)+Number(value.scoringQuestionVoList
.length)+Number(value.singleStemVoList.length),
num:value.essayQuestionVoList
? Number(value.essayQuestionVoList.length)
: 0 + value.multipleStemVoList
? Number(value.multipleStemVoList.length)
: 0 + value.scoringQuestionVoList
? Number(value.scoringQuestionVoList.length)
: 0 + value.singleStemVoList
? Number(value.singleStemVoList.length)
: 0,
name: value.assessmentName ? value.assessmentName : "-",
creator: value.createUser ? value.createUser : "-",
time: dayjs(value.createTime).format("YYYY-MM-DD"),

View File

@@ -54,7 +54,7 @@
onChange: onSelectChange,
}"
/>
<div class="tableBox">
<div class="tableBox" style="margin-top:85px;">
<div class="pa">
<a-pagination
v-if="tableDataTotal > 10"
@@ -113,6 +113,7 @@ export default {
width: "20%",
dataIndex: "quiz_code",
key: "code",
ellipsis: true,
},
{
title: "测评名称",
@@ -120,6 +121,7 @@ export default {
dataIndex: "title",
key: "title",
align: "center",
ellipsis: true,
},
{
title: "备注",
@@ -149,6 +151,7 @@ export default {
dataIndex: "quiz_range",
key: "time",
align: "center",
ellipsis: true,
},
],
});

View File

@@ -70,7 +70,7 @@
:scroll="{ x: 900 }"
:pagination="false"
/>
<div class="tableBox">
<div class="tableBox" style="margin-top:85px;">
<div class="pa">
<a-pagination
v-if="tableDataTotal>10"