From bf343660182d7b85633adedb0cf63ef0ee950ff7 Mon Sep 17 00:00:00 2001
From: wyx <51903@qq.com>
Date: Wed, 7 Dec 2022 12:27:01 +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=E9=A1=B5=E9=9D=A2=E6=89=80=E6=9C=89=E8=A1=A8?=
=?UTF-8?q?=E6=A0=BC=E5=BA=8F=E5=8F=B7=E5=B1=95=E7=A4=BA=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 | 44 ++++++++++----------
src/views/projectcenter/LibraryAdd.vue | 23 +++++++++-
2 files changed, 45 insertions(+), 22 deletions(-)
diff --git a/src/views/courselibrary/CoursewareManage.vue b/src/views/courselibrary/CoursewareManage.vue
index e7dba954..ffefd7bf 100644
--- a/src/views/courselibrary/CoursewareManage.vue
+++ b/src/views/courselibrary/CoursewareManage.vue
@@ -2487,13 +2487,13 @@
{{ currentPlanItem.name }}课程-第1期-
- {{ getdateToDateFn(currentPlanItem.createTime) }}
+ {{ currentPlanItem.createTime }}
已开课 4.5
时间:
- {{ getdateToTimeFn(currentPlanItem.endTime) }}
+ {{ currentPlanItem.endTime }}
地点:
@@ -3147,10 +3147,7 @@ const columns1 = [
width: 100,
dataIndex: "num",
key: "num",
- align: "center",
- customRender: ({ index }) => {
- return index + 1;
- },
+ align: "center"
},
{
title: "名称",
@@ -3396,11 +3393,7 @@ const columns6 = [
key: "num",
width: "6%",
align: "center",
- ellipsis: true,
- customRender: ({ index }) => {
- //{ text, record, index, column }
- return index + 1;
- },
+ ellipsis: true
},
{
title: "创建人",
@@ -3454,7 +3447,7 @@ const columns6 = [
ellipsis: true,
align: "center",
customRender: ({ text }) => {
- return text ? getdateToTime(text * 1000) : "-";
+ return text ? text: "-";
},
},
{
@@ -3465,7 +3458,7 @@ const columns6 = [
ellipsis: true,
align: "center",
customRender: ({ text }) => {
- return text ? getdateToTime(text * 1000) : "-";
+ return text ? text : "-";
},
},
{
@@ -3484,10 +3477,6 @@ const columns7 = [
dataIndex: "num",
key: "num",
align: "center",
- customRender: ({ index }) => {
- //{ text, record, index, column }
- return index + 1;
- },
},
{
title: "姓名",
@@ -3885,7 +3874,7 @@ export default defineComponent({
selectTime: "",
pageSize3: 10,
- currentPage3: 0,
+ currentPage3: 1,
tableDataTotal3: 0,
checked1: false,
@@ -4110,11 +4099,14 @@ export default defineComponent({
const { rows, total } = res.data.data;
console.log(res.data.data);
state.tableDataTotal1 = total;
+ for(let i=0;i {
rows[index] = {
...item,
@@ -4428,7 +4425,7 @@ export default defineComponent({
rows,
{
key: "studentId",
- num: "studentId",
+ num: "num",
name: "name",
number: "studentId",
department: "deptName",
@@ -4520,11 +4517,16 @@ export default defineComponent({
console.log("开课res", res);
const { rows, total } = res.data.data;
state.tableDataTotal222 = total;
+
+ for(let i=0;i