From 612b376a290036fcbd542a5e683c5c4d401479a7 Mon Sep 17 00:00:00 2001 From: zhangsir Date: Mon, 28 Oct 2024 16:58:15 +0800 Subject: [PATCH 1/7] =?UTF-8?q?=E9=9D=A2=E6=8E=88=E8=AF=84=E5=88=86?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/courselibrary/CoursewareManage.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/courselibrary/CoursewareManage.vue b/src/views/courselibrary/CoursewareManage.vue index 44348ac6..f211331c 100644 --- a/src/views/courselibrary/CoursewareManage.vue +++ b/src/views/courselibrary/CoursewareManage.vue @@ -2057,9 +2057,9 @@ const columns6 = [ ellipsis: true, customRender: ( text ) => { return( - text.record && text.record.courseScore != -1 ? + text.record && text.record.score != -1 ?
- {(text.record.courseScore.toFixed(2) || '0.00')} + {(text.record.score.toFixed(2) || '0.00')}
downPin(text.record)} title="导出评估信息">
: '-' From b57d2ebd1686c4978f227d2bbbab7d03b6474b08 Mon Sep 17 00:00:00 2001 From: zhangsir Date: Tue, 29 Oct 2024 09:12:57 +0800 Subject: [PATCH 2/7] =?UTF-8?q?=E8=AF=84=E5=88=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/courselibrary/CoursewareManage.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/courselibrary/CoursewareManage.vue b/src/views/courselibrary/CoursewareManage.vue index f211331c..355d3084 100644 --- a/src/views/courselibrary/CoursewareManage.vue +++ b/src/views/courselibrary/CoursewareManage.vue @@ -2057,7 +2057,7 @@ const columns6 = [ ellipsis: true, customRender: ( text ) => { return( - text.record && text.record.score != -1 ? + text.record && text.record.score != 0 ?
{(text.record.score.toFixed(2) || '0.00')}
downPin(text.record)} title="导出评估信息">
From 3d12204b65523b448f637377e685e3c50b8cad79 Mon Sep 17 00:00:00 2001 From: zhangsir Date: Tue, 29 Oct 2024 17:13:27 +0800 Subject: [PATCH 3/7] =?UTF-8?q?=E8=AF=84=E5=88=86=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/courselibrary/CoursewareManage.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/courselibrary/CoursewareManage.vue b/src/views/courselibrary/CoursewareManage.vue index 355d3084..f2e81575 100644 --- a/src/views/courselibrary/CoursewareManage.vue +++ b/src/views/courselibrary/CoursewareManage.vue @@ -1334,8 +1334,8 @@ 已开课 {{ - currentPlanItem.courseScore !== -1 - ? currentPlanItem.courseScore.toFixed(2) + (currentPlanItem.score !== 0&& currentPlanItem.score!==-1) + ? currentPlanItem.score.toFixed(2) : "-" }}
@@ -2057,7 +2057,7 @@ const columns6 = [ ellipsis: true, customRender: ( text ) => { return( - text.record && text.record.score != 0 ? + text.record && text.record.score != 0 && text.record.score != -1 ?
{(text.record.score.toFixed(2) || '0.00')}
downPin(text.record)} title="导出评估信息">
From e9cb0c2ee12c67f542b0ccb4ebe15e7fc62b20c9 Mon Sep 17 00:00:00 2001 From: zhangsir Date: Tue, 29 Oct 2024 18:38:04 +0800 Subject: [PATCH 4/7] =?UTF-8?q?=E7=AE=A1=E7=90=86=E8=AF=84=E5=88=86?= =?UTF-8?q?=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/courselibrary/CoursewareManage.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/courselibrary/CoursewareManage.vue b/src/views/courselibrary/CoursewareManage.vue index f2e81575..d5f3efeb 100644 --- a/src/views/courselibrary/CoursewareManage.vue +++ b/src/views/courselibrary/CoursewareManage.vue @@ -4229,7 +4229,7 @@ function onFocusEnd(){ customRender: ({ record }) => { return (
- {record.assessmentScore || "-"} + {record.assessmentScore && record.assessmentScore!=0 && record.assessmentScore!=-1 ? record.assessmentScore?.toFixed(2) : "-"}
); // switch (String(record.status)) { From e9b28ae884cb47f922c87554618ad88df8f7b307 Mon Sep 17 00:00:00 2001 From: zhangsir Date: Thu, 7 Nov 2024 14:44:52 +0800 Subject: [PATCH 5/7] =?UTF-8?q?=E5=9B=9E=E9=80=80=E9=9D=A2=E6=8E=88?= =?UTF-8?q?=E8=AF=84=E5=88=86=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/courselibrary/CoursewareManage.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/courselibrary/CoursewareManage.vue b/src/views/courselibrary/CoursewareManage.vue index d5f3efeb..113f2ebd 100644 --- a/src/views/courselibrary/CoursewareManage.vue +++ b/src/views/courselibrary/CoursewareManage.vue @@ -1334,8 +1334,8 @@ 已开课 {{ - (currentPlanItem.score !== 0&& currentPlanItem.score!==-1) - ? currentPlanItem.score.toFixed(2) + (currentPlanItem.courseScore !== 0&& currentPlanItem.courseScore!==-1) + ? currentPlanItem.courseScore.toFixed(2) : "-" }}
@@ -2057,9 +2057,9 @@ const columns6 = [ ellipsis: true, customRender: ( text ) => { return( - text.record && text.record.score != 0 && text.record.score != -1 ? + text.record && text.record.courseScore != 0 && text.record.courseScore != -1 ?
- {(text.record.score.toFixed(2) || '0.00')} + {(text.record.courseScore.toFixed(2) || '0.00')}
downPin(text.record)} title="导出评估信息">
: '-' From 70d5526281c8c43b9eed5bbea6a22c5508371ec3 Mon Sep 17 00:00:00 2001 From: zhangsir Date: Thu, 7 Nov 2024 18:08:22 +0800 Subject: [PATCH 6/7] =?UTF-8?q?=E6=94=B9=E5=9B=9E=E5=8E=BB=E9=9D=A2?= =?UTF-8?q?=E6=8E=88=E8=AF=84=E5=88=86=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/courselibrary/CoursewareManage.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/courselibrary/CoursewareManage.vue b/src/views/courselibrary/CoursewareManage.vue index 113f2ebd..d5f3efeb 100644 --- a/src/views/courselibrary/CoursewareManage.vue +++ b/src/views/courselibrary/CoursewareManage.vue @@ -1334,8 +1334,8 @@ 已开课 {{ - (currentPlanItem.courseScore !== 0&& currentPlanItem.courseScore!==-1) - ? currentPlanItem.courseScore.toFixed(2) + (currentPlanItem.score !== 0&& currentPlanItem.score!==-1) + ? currentPlanItem.score.toFixed(2) : "-" }} @@ -2057,9 +2057,9 @@ const columns6 = [ ellipsis: true, customRender: ( text ) => { return( - text.record && text.record.courseScore != 0 && text.record.courseScore != -1 ? + text.record && text.record.score != 0 && text.record.score != -1 ?
- {(text.record.courseScore.toFixed(2) || '0.00')} + {(text.record.score.toFixed(2) || '0.00')}
downPin(text.record)} title="导出评估信息">
: '-' From 8794bb8d5b5e9f93ddb06cb5e9bc3d22f64d7170 Mon Sep 17 00:00:00 2001 From: zhangsir Date: Thu, 7 Nov 2024 18:39:44 +0800 Subject: [PATCH 7/7] =?UTF-8?q?=E9=9D=A2=E6=8E=88=E8=AF=84=E5=88=86?= =?UTF-8?q?=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/courselibrary/CoursewareManage.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/courselibrary/CoursewareManage.vue b/src/views/courselibrary/CoursewareManage.vue index d5f3efeb..60a3c1f9 100644 --- a/src/views/courselibrary/CoursewareManage.vue +++ b/src/views/courselibrary/CoursewareManage.vue @@ -1334,8 +1334,8 @@ 已开课 {{ - (currentPlanItem.score !== 0&& currentPlanItem.score!==-1) - ? currentPlanItem.score.toFixed(2) + (currentPlanItem?.score !== 0&& currentPlanItem?.score!==-1) + ? currentPlanItem.score?.toFixed(2) : "-" }} @@ -2057,9 +2057,9 @@ const columns6 = [ ellipsis: true, customRender: ( text ) => { return( - text.record && text.record.score != 0 && text.record.score != -1 ? + text.record && text.record?.score != 0 && text.record?.score != -1 ?
- {(text.record.score.toFixed(2) || '0.00')} + {(text.record.score?.toFixed(2) || '0.00')}
downPin(text.record)} title="导出评估信息">
: '-'