mirror of
https://github.com/certd/certd.git
synced 2026-04-24 20:57:26 +08:00
perf: 站点监控,检查状态挪到前面显示
This commit is contained in:
@@ -457,6 +457,29 @@ export default function ({ crudExpose, context }: CreateCrudOptionsProps): Creat
|
|||||||
align: "center",
|
align: "center",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
checkStatus: {
|
||||||
|
title: t("certd.monitor.checkStatus"),
|
||||||
|
search: {
|
||||||
|
show: false,
|
||||||
|
},
|
||||||
|
type: "dict-select",
|
||||||
|
dict: checkStatusDict,
|
||||||
|
form: {
|
||||||
|
show: false,
|
||||||
|
},
|
||||||
|
column: {
|
||||||
|
width: 100,
|
||||||
|
align: "center",
|
||||||
|
sorter: true,
|
||||||
|
cellRender({ value, row }) {
|
||||||
|
return (
|
||||||
|
<a-tooltip title={row.error}>
|
||||||
|
<fs-values-format v-model={value} dict={checkStatusDict}></fs-values-format>
|
||||||
|
</a-tooltip>
|
||||||
|
);
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
certEffectiveTime: {
|
certEffectiveTime: {
|
||||||
title: t("certd.monitor.certEffectiveTime"),
|
title: t("certd.monitor.certEffectiveTime"),
|
||||||
search: {
|
search: {
|
||||||
@@ -610,29 +633,7 @@ export default function ({ crudExpose, context }: CreateCrudOptionsProps): Creat
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
checkStatus: {
|
|
||||||
title: t("certd.monitor.checkStatus"),
|
|
||||||
search: {
|
|
||||||
show: false,
|
|
||||||
},
|
|
||||||
type: "dict-select",
|
|
||||||
dict: checkStatusDict,
|
|
||||||
form: {
|
|
||||||
show: false,
|
|
||||||
},
|
|
||||||
column: {
|
|
||||||
width: 100,
|
|
||||||
align: "center",
|
|
||||||
sorter: true,
|
|
||||||
cellRender({ value, row }) {
|
|
||||||
return (
|
|
||||||
<a-tooltip title={row.error}>
|
|
||||||
<fs-values-format v-model={value} dict={checkStatusDict}></fs-values-format>
|
|
||||||
</a-tooltip>
|
|
||||||
);
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
// error: {
|
// error: {
|
||||||
// title: "错误信息",
|
// title: "错误信息",
|
||||||
// search: {
|
// search: {
|
||||||
|
|||||||
Reference in New Issue
Block a user