diff --git a/src/components/drawers/AssessmentAll.vue b/src/components/drawers/AssessmentAll.vue index 30302e5a..b5666926 100644 --- a/src/components/drawers/AssessmentAll.vue +++ b/src/components/drawers/AssessmentAll.vue @@ -70,11 +70,18 @@ const columns = ref([ width: "20%", align: "center", ellipsis: true, + customRender: (text) => { + return ( +
+ {text.record.essayQuestionVoList.length + text.record.multipleStemVoList.length + text.record.scoringQuestionVoList.length + text.record.singleStemVoList.length} +
+ ); + }, }, { 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;