auth-web/src/enums/baseConstant.ts

40 lines
788 B
TypeScript
Raw Normal View History

import { computed } from 'vue';
2024-09-29 16:52:09 +08:00
/**
* *
*/
export const isDefaultOptions = [
{ value: true, label: '是' },
{ value: false, label: '否' },
];
/**
* *
*/
export const isDefaultVisibleOptions = [
{ value: true, label: '显示' },
{ value: false, label: '不显示' },
];
/**
* *
*/
export const sexConstant = [
{ value: 1, label: '男' },
{ value: 0, label: '女' },
];
/**
* *
*/
export const userStatus = [
{ value: 0, label: '启用' },
{ value: 1, label: '禁用' },
];
2024-09-29 16:52:09 +08:00
/**
* *
*/
2024-10-23 13:46:46 +08:00
export const pageSizes: number[] = [15, 30, 50, 100, 150];
export const tableSelectButtonClass = computed(() => ['!h-[20px]', 'reset-margin', '!text-gray-500', 'dark:!text-white', 'dark:hover:!text-primary']);