fix:评估列表修改创建人和题目数量,修改新建评估样式

This commit is contained in:
wyx
2023-02-17 17:24:10 +08:00
parent cfdb1b52ef
commit 8b036dacb5

View File

@@ -70,11 +70,18 @@ const columns = ref([
width: "20%",
align: "center",
ellipsis: true,
customRender: (text) => {
return (
<div class="racona">
<span> {text.record.essayQuestionVoList.length + text.record.multipleStemVoList.length + text.record.scoringQuestionVoList.length + text.record.singleStemVoList.length}</span>
</div>
);
},
},
{
title: "创建人",
dataIndex: "createUser",
key: "createUser",
dataIndex: "createName",
key: "createName",
width: "20%",
align: "center",
ellipsis: true,
@@ -100,7 +107,7 @@ const rowSelectKeys = ref([]);
const selectsData = ref([]);
const {data, loading, total, fetch} = useRowsPage(ASSESSMENT_PAGE, params.value)
console.log(data)
watch(()=>props.id, () => {
if (props.id) {
rowSelectKeys.value = [props.id]
@@ -170,6 +177,8 @@ const goResearchmanage = () => {
cursor: pointer;
width: 130px;
height: 40px;
margin-top: 32px;
margin-bottom: 32px;
background: #4ea6ff;
border-radius: 8px;
border: 0;