人员管理

This commit is contained in:
guochunsi
2026-01-04 18:23:27 +08:00
parent fee5e2a6c0
commit 24453baf3e
34 changed files with 1603 additions and 1259 deletions

View File

@@ -1,5 +1,6 @@
<template>
<el-tag
:effect="currentOption.effect"
v-if="currentOption"
:type="currentOption.type"
:class="{ 'audit-state-tag': showIcon && currentOption.icon }"
@@ -18,6 +19,7 @@ export interface StateOption {
label: string;
type: 'success' | 'danger' | 'warning' | 'info' | '';
icon?: string;
effect?: string;
}
interface Props {
@@ -30,9 +32,9 @@ interface Props {
const props = withDefaults(defineProps<Props>(), {
state: '',
options: () => [
{ value: '1', label: '通过', type: 'success', icon: 'fa-solid fa-circle-check' },
{ value: '-2', label: '驳回', type: 'danger', icon: 'fa-solid fa-circle-xmark' },
{ value: '0', label: '待审核', type: 'warning', icon: 'fa-regular fa-clock' }
{ value: '1', label: '通过', type: 'success', icon: 'fa-solid fa-circle-check' , effect:"dark" },
{ value: '-2', label: '驳回', type: 'danger', icon: 'fa-solid fa-circle-xmark', effect:"dark" },
{ value: '0', label: '待审核', type: 'warning', icon: 'fa-regular fa-clock' ,effect:"light" }
],
showIcon: true,
emptyText: '-'