mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-22 01:06:45 +08:00
fix:评估列表修改创建人和题目数量,修改新建评估样式
This commit is contained in:
@@ -70,11 +70,18 @@ const columns = ref([
|
|||||||
width: "20%",
|
width: "20%",
|
||||||
align: "center",
|
align: "center",
|
||||||
ellipsis: true,
|
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: "创建人",
|
title: "创建人",
|
||||||
dataIndex: "createUser",
|
dataIndex: "createName",
|
||||||
key: "createUser",
|
key: "createName",
|
||||||
width: "20%",
|
width: "20%",
|
||||||
align: "center",
|
align: "center",
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
@@ -100,7 +107,7 @@ const rowSelectKeys = ref([]);
|
|||||||
const selectsData = ref([]);
|
const selectsData = ref([]);
|
||||||
|
|
||||||
const {data, loading, total, fetch} = useRowsPage(ASSESSMENT_PAGE, params.value)
|
const {data, loading, total, fetch} = useRowsPage(ASSESSMENT_PAGE, params.value)
|
||||||
|
console.log(data)
|
||||||
watch(()=>props.id, () => {
|
watch(()=>props.id, () => {
|
||||||
if (props.id) {
|
if (props.id) {
|
||||||
rowSelectKeys.value = [props.id]
|
rowSelectKeys.value = [props.id]
|
||||||
@@ -170,6 +177,8 @@ const goResearchmanage = () => {
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
width: 130px;
|
width: 130px;
|
||||||
height: 40px;
|
height: 40px;
|
||||||
|
margin-top: 32px;
|
||||||
|
margin-bottom: 32px;
|
||||||
background: #4ea6ff;
|
background: #4ea6ff;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
border: 0;
|
border: 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user