From 1e52f94b28eae73dde4d5a9b463ee4fa825b87bf Mon Sep 17 00:00:00 2001 From: wyx <51903@qq.com> Date: Sun, 4 Dec 2022 23:07:31 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E6=94=B9=E8=AF=BE=E7=A8=8B?= =?UTF-8?q?=E7=AE=A1=E7=90=86/=E8=AF=BE=E7=A8=8B=E5=AE=A1=E6=A0=B8?= =?UTF-8?q?=E5=88=9B=E5=BB=BA=E6=97=B6=E9=97=B4=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/courselibrary/CoursewareManage.vue | 3 ++- src/views/examine/CourseReviewed.vue | 3 +-- src/views/examine/CourseReviewedN.vue | 3 +-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/views/courselibrary/CoursewareManage.vue b/src/views/courselibrary/CoursewareManage.vue index 10baed4f..1b834bff 100644 --- a/src/views/courselibrary/CoursewareManage.vue +++ b/src/views/courselibrary/CoursewareManage.vue @@ -3161,7 +3161,7 @@ const columns1 = [ key: "9", align: "center", customRender: ({text}) => { - return text ? getdateToTime(text * 1000) : "-"; + return text ? text : "-"; }, }, { @@ -3916,6 +3916,7 @@ export default defineComponent({ beginTime: startTime, }); const {rows, total} = res.data.data; + console.log(res.data.data) state.tableDataTotal1 = total; const datas = traverseArr( rows, diff --git a/src/views/examine/CourseReviewed.vue b/src/views/examine/CourseReviewed.vue index 70a8d3b6..3eaf1ade 100644 --- a/src/views/examine/CourseReviewed.vue +++ b/src/views/examine/CourseReviewed.vue @@ -65,7 +65,6 @@ import { reactive, toRefs, onMounted } from "vue"; import { courseListView } from "../../api/indexAudit"; import * as api1 from "@/api/index1"; -import { toDate } from "../../api/method"; export default { name: "CoursereViewed", @@ -123,7 +122,7 @@ export default { key: "time", align: "center", customRender: (time) => { - return
{toDate(time.record.time, "Y-M-D h:m")}
; + return
{time.record.time}
; }, }, diff --git a/src/views/examine/CourseReviewedN.vue b/src/views/examine/CourseReviewedN.vue index 074cbc25..782c5467 100644 --- a/src/views/examine/CourseReviewedN.vue +++ b/src/views/examine/CourseReviewedN.vue @@ -318,7 +318,6 @@