perf(monitor/site): 新增站点监控页面禁用启用、检查状态两个筛选条件

This commit is contained in:
xiaojunnuo
2026-05-13 11:14:00 +08:00
parent bae4f8e320
commit 118c15d046
@@ -320,6 +320,9 @@ export default function ({ crudExpose, context }: CreateCrudOptionsProps): Creat
title: t("monitor.siteName"), title: t("monitor.siteName"),
search: { search: {
show: true, show: true,
col: {
span: 3,
},
}, },
type: "text", type: "text",
form: { form: {
@@ -333,6 +336,9 @@ export default function ({ crudExpose, context }: CreateCrudOptionsProps): Creat
title: t("monitor.domain"), title: t("monitor.domain"),
search: { search: {
show: true, show: true,
col: {
span: 3,
},
}, },
type: "text", type: "text",
form: { form: {
@@ -411,6 +417,9 @@ export default function ({ crudExpose, context }: CreateCrudOptionsProps): Creat
title: t("monitor.certDomains"), title: t("monitor.certDomains"),
search: { search: {
show: true, show: true,
col: {
span: 3,
},
}, },
type: "text", type: "text",
form: { form: {
@@ -451,6 +460,9 @@ export default function ({ crudExpose, context }: CreateCrudOptionsProps): Creat
title: t("monitor.certStatus"), title: t("monitor.certStatus"),
search: { search: {
show: true, show: true,
col: {
span: 2,
},
}, },
type: "dict-select", type: "dict-select",
dict: dict({ dict: dict({
@@ -472,7 +484,10 @@ export default function ({ crudExpose, context }: CreateCrudOptionsProps): Creat
checkStatus: { checkStatus: {
title: t("monitor.checkStatus"), title: t("monitor.checkStatus"),
search: { search: {
show: false, show: true,
col: {
span: 2,
},
}, },
type: "dict-select", type: "dict-select",
dict: checkStatusDict, dict: checkStatusDict,
@@ -578,6 +593,9 @@ export default function ({ crudExpose, context }: CreateCrudOptionsProps): Creat
type: "dict-select", type: "dict-select",
search: { search: {
show: true, show: true,
col: {
span: 3,
},
}, },
dict: groupDictRef, dict: groupDictRef,
form: { form: {
@@ -631,7 +649,10 @@ export default function ({ crudExpose, context }: CreateCrudOptionsProps): Creat
disabled: { disabled: {
title: t("monitor.disabled"), title: t("monitor.disabled"),
search: { search: {
show: false, show: true,
col: {
span: 2,
},
}, },
type: "dict-switch", type: "dict-switch",
dict: dict({ dict: dict({