perf: 证书仓库增加有效期显示

pull/361/head
xiaojunnuo 2025-03-12 11:15:46 +08:00
parent aa3032db35
commit be87124ada
1 changed files with 19 additions and 4 deletions

View File

@ -140,7 +140,7 @@ export default function ({ crudExpose, context }: CreateCrudOptionsProps): Creat
}
},
rowHandle: {
width: 200,
width: 100,
fixed: "right",
buttons: {
view: { show: false },
@ -223,8 +223,8 @@ export default function ({ crudExpose, context }: CreateCrudOptionsProps): Creat
show: false
}
},
expiresTime: {
title: "过期时间",
expiresLeft: {
title: "有效天数",
search: {
show: false
},
@ -234,7 +234,9 @@ export default function ({ crudExpose, context }: CreateCrudOptionsProps): Creat
},
column: {
sorter: true,
cellRender({ value }) {
conditionalRender: false,
cellRender({ row }) {
const value = row.expiresTime;
if (!value) {
return "-";
}
@ -246,6 +248,19 @@ export default function ({ crudExpose, context }: CreateCrudOptionsProps): Creat
}
}
},
expiresTime: {
title: "过期时间",
search: {
show: false
},
type: "datetime",
form: {
show: false
},
column: {
sorter: true
}
},
certProvider: {
title: "证书颁发机构",
search: {