视频告警页面完善
Some checks failed
/ Explore-Gitea-Actions (push) Failing after 2m44s

This commit is contained in:
15683799673
2025-08-18 09:06:31 +08:00
parent 69f0d4adb4
commit 79d650adb4
21 changed files with 1009 additions and 1025 deletions

View File

@@ -5,8 +5,7 @@ import { DictEnum } from '@vben/constants';
import { getPopupContainer } from '@vben/utils';
import { getDictOptions } from '#/utils/dict';
import { renderDict } from '#/utils/render'
import { log } from 'console'
import { renderDict } from '#/utils/render';
export const querySchema: FormSchemaGetter = () => [
{
@@ -48,11 +47,11 @@ export const columns: VxeGridProps['columns'] = [
{
title: '性别',
field: 'sex',
slots:{
default: ({row}) =>{
return renderDict(row.sex, 'sys_user_sex')
}
}
slots: {
default: ({ row }) => {
return renderDict(row.sex, 'sys_user_sex');
},
},
},
{
title: '邮箱',
@@ -65,11 +64,11 @@ export const columns: VxeGridProps['columns'] = [
{
title: '证件类型',
field: 'certificateType',
slots:{
default: ({row}) =>{
return renderDict(row.certificateType, 'sys_certificate_type')
}
}
slots: {
default: ({ row }) => {
return renderDict(row.certificateType, 'sys_certificate_type');
},
},
},
{
title: '证件号码',
@@ -80,15 +79,15 @@ export const columns: VxeGridProps['columns'] = [
field: 'birthDate',
},
{
title: '人员标签',
field: 'rosterType',
slots: {
default: ({ row }) => {
return renderDict(row.rosterType, 'roster_type')
},
title: '人员标签',
field: 'rosterType',
slots: {
default: ({ row }) => {
return renderDict(row.rosterType, 'roster_type');
},
width: 100,
},
width: 100,
},
{
field: 'action',
fixed: 'right',
@@ -99,8 +98,8 @@ export const columns: VxeGridProps['columns'] = [
];
const test = getDictOptions('roster_type');
test.forEach(item => {
console.log('item',item)
test.forEach((item) => {
console.log('item', item);
});
export const modalSchema: FormSchemaGetter = () => [