始终选中一个关卡

This commit is contained in:
zhangyc
2022-12-12 18:16:12 +08:00
parent 8b14710d9d
commit adb22f6d0e
26 changed files with 252 additions and 52 deletions

View File

@@ -153,6 +153,8 @@ export default {
dataIndex: "createName",
key: "createName",
align: "center",
width:"20%",
ellipsis: true,
},
{
@@ -160,6 +162,7 @@ export default {
dataIndex: "status",
key: "status",
align: "center",
width:"10%",
customRender: ({ record: { status } }) => (
<div>{{ 2: "审核通过", "-2": "审核拒绝" }[status + ""]}</div>
),
@@ -170,7 +173,8 @@ export default {
dataIndex: "createTime",
key: "createTime",
align: "center",
width: 220,
width:"20%",
ellipsis: true,
},
{
@@ -178,6 +182,8 @@ export default {
dataIndex: "description",
key: "description",
align: "center",
width:"30%",
ellipsis: true,
},
],
columns1: [
@@ -192,36 +198,47 @@ export default {
dataIndex: "name",
key: "name",
align: "center",
width:"20%",
ellipsis: true,
},
{
title: "类型",
dataIndex: "type",
key: "type",
align: "center",
width:"10%",
ellipsis: true,
},
{
title: "内容分类",
dataIndex: "content",
key: "content",
align: "center"
align: "center",
width:"10%",
ellipsis: true,
},
{
title: "审核状态",
dataIndex: "status",
key: "status",
align: "center",
width:"10%",
},
{
title: "创建人",
dataIndex: "creater",
key: "creater",
align: "center",
width:"10%",
ellipsis: true,
},
{
title: "审核时间",
dataIndex: "time",
key: "time",
align: "center",
width:"10%",
ellipsis: true,
customRender: (time) => {
return <div style="color:#387DF7">{time.record.time}</div>;
},
@@ -231,11 +248,14 @@ export default {
dataIndex: "msg",
key: "msg",
align: "center",
ellipsis: true,
width:"20%",
},
{
title: "操作",
dataIndex: "opt",
key: "opt",
width:"10%",
align: "center",
customRender: (value) => {
return (