From 8b036dacb566eb976f197d4391dd02e1eb1057cb Mon Sep 17 00:00:00 2001 From: wyx Date: Fri, 17 Feb 2023 17:24:10 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E8=AF=84=E4=BC=B0=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=88=9B=E5=BB=BA=E4=BA=BA=E5=92=8C=E9=A2=98?= =?UTF-8?q?=E7=9B=AE=E6=95=B0=E9=87=8F=EF=BC=8C=E4=BF=AE=E6=94=B9=E6=96=B0?= =?UTF-8?q?=E5=BB=BA=E8=AF=84=E4=BC=B0=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/drawers/AssessmentAll.vue | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) 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;