mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-10 03:16:44 +08:00
提交
This commit is contained in:
@@ -146,7 +146,7 @@
|
||||
</a-drawer>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
<script lang="jsx">
|
||||
import { reactive, toRefs, watch, ref } from "vue";
|
||||
import { getGrowStudentDetail, markComplete } from "@/api/growthpath";
|
||||
import { message } from "ant-design-vue";
|
||||
@@ -175,6 +175,7 @@ export default {
|
||||
dataIndex: "courseType",
|
||||
key: "courseType",
|
||||
align: "center",
|
||||
width: 120,
|
||||
ellipsis: true,
|
||||
slots: { customRender: "courseType" },
|
||||
},
|
||||
@@ -183,12 +184,14 @@ export default {
|
||||
dataIndex: "taskName",
|
||||
key: "taskName",
|
||||
align: "center",
|
||||
width: 200,
|
||||
ellipsis: true,
|
||||
},
|
||||
{
|
||||
title: "必修/选修",
|
||||
dataIndex: "taskType",
|
||||
key: "taskType",
|
||||
width: 100,
|
||||
align: "center",
|
||||
ellipsis: true,
|
||||
customRender: ({ record: { taskType } }) =>
|
||||
@@ -201,26 +204,33 @@ export default {
|
||||
title: "学习进度",
|
||||
dataIndex: "progress",
|
||||
key: "progress",
|
||||
width: 90,
|
||||
align: "center",
|
||||
ellipsis: true,
|
||||
},
|
||||
{
|
||||
title: "开始时间",
|
||||
dataIndex: "startTime",
|
||||
key: "startTime",
|
||||
dataIndex: "taskStartTime",
|
||||
key: "taskStartTime",
|
||||
align: "center",
|
||||
ellipsis: true,
|
||||
customRender: ({ record }) => {
|
||||
return record.taskStartTime || "--";
|
||||
},
|
||||
},
|
||||
{
|
||||
title: "完成时间",
|
||||
dataIndex: "finishTime",
|
||||
key: "finishTime",
|
||||
align: "center",
|
||||
customRender: ({ record }) => {
|
||||
return record.taskEndTime || "--";
|
||||
},
|
||||
},
|
||||
{
|
||||
title: "任务状态",
|
||||
dataIndex: "completionStatus",
|
||||
key: "completionStatus",
|
||||
width: 100,
|
||||
align: "center",
|
||||
customRender: ({ record: { completionStatus } }) =>
|
||||
({
|
||||
|
||||
Reference in New Issue
Block a user