列表优化

This commit is contained in:
zhangsir
2023-09-25 09:54:22 +08:00
parent 5e071a1f8a
commit 41b73b3878
2 changed files with 32 additions and 11 deletions

View File

@@ -1,4 +1,4 @@
<!-- 件管理页面 -->
<!-- 程推荐催促学习页面 -->
<template>
<!-- 预览弹窗 -->
<a-modal
@@ -24,7 +24,7 @@
v-model:value="auditStatus"
dropdownClassName="dropdown-style"
style="width: 150px;margin-right: 16px;text-align: left;"
placeholder="已完成"
placeholder="全部"
size="large"
:options="options1"
allowClear
@@ -243,7 +243,7 @@ getList()
total:0,
column: [
{
title: "姓名",
title: "课程名称",
dataIndex: "recommendBy",
key: "recommendBy",
width: "35%",
@@ -255,7 +255,7 @@ getList()
},
},
{
title: "课程系列包名称",
title: "课程时长/h",
dataIndex: "listPageName",
key: "listPageName",
width: "15%",
@@ -266,7 +266,7 @@ getList()
},
},
{
title: "推荐时间",
title: "状态",
dataIndex: "recommendTime",
key: "recommendTime",
width: "15%",
@@ -277,7 +277,7 @@ getList()
},
},
{
title: "课程数",
title: "完成进度",
dataIndex: "courseCount",
key: "courseCount",
width: "15%",

View File

@@ -1,4 +1,4 @@
<!-- 件管理页面 -->
<!-- 程推荐查看弹窗页面 -->
<template>
<!-- 预览弹窗 -->
<a-modal
@@ -15,7 +15,6 @@
<div class="header">项目管理系列课</div>
<div class="title">
<dl>
<dt>推荐值27</dt>
<dt>推荐组织京东方大学堂</dt>
<dt>课程数3</dt>
<dt>用户数10</dt>
@@ -193,7 +192,7 @@ getList()
},
},
{
title: "课程系列包名称",
title: "工号",
dataIndex: "listPageName",
key: "listPageName",
width: "10%",
@@ -204,7 +203,7 @@ getList()
},
},
{
title: "推荐时间",
title: "课程时长/h",
dataIndex: "recommendTime",
key: "recommendTime",
width: "10%",
@@ -215,7 +214,7 @@ getList()
},
},
{
title: "课程数",
title: "评分",
dataIndex: "courseCount",
key: "courseCount",
width: "10%",
@@ -225,6 +224,28 @@ getList()
return text ? text : "-";
},
},
{
title: "查看率",
dataIndex: "viewRate",
key: "viewRate",
width: "10%",
align: "center",
className: "h",
customRender: ({ text }) => {
return text ? text : "-";
},
},
{
title: "完成进度",
dataIndex: "viewRate",
key: "viewRate",
width: "10%",
align: "center",
className: "h",
customRender: ({ text }) => {
return text ? text : "-";
},
},
{
title: "操作",
width: "10%",