{{ $t('common.queryBtn') }}
@@ -48,8 +51,7 @@
- {{ row.clockEnable === '1' ? '已加入' :
- '未加入' }}
+ {{ row.clockEnable === '1' ? '已加入' : '未加入' }}
@@ -63,7 +65,7 @@
{{ row.name }}
{{ row.age
- }}岁
+ }}岁
@@ -149,7 +151,7 @@ import dayjs from "dayjs";
import other from '/@/utils/other'
// 定义查询字典
-const { dh_paper_type, user_sync_config } = useDict('dh_paper_type', 'user_sync_config')
+const { dh_paper_type, user_sync_config, yes_no_type } = useDict('dh_paper_type', 'user_sync_config', 'yes_no_type')
// 定义变量内容
const tableRef = ref()
diff --git a/src/views/sys/sysPerson/index.vue b/src/views/sys/sysPerson/index.vue
index d2d5dd0..fc02c8c 100644
--- a/src/views/sys/sysPerson/index.vue
+++ b/src/views/sys/sysPerson/index.vue
@@ -15,6 +15,9 @@
+
+
+
{{ $t('common.queryBtn') }}
@@ -97,6 +100,13 @@
+
+
+
+ {{ row.clockEnable === '1' ? '已加入' : '未加入' }}
+
+
+
@@ -146,7 +156,7 @@ const FormDialog = defineAsyncComponent(() => import('./person-form.vue'));
const SyncConfigForm = defineAsyncComponent(() => import('./form.vue'));
// 定义查询字典
-const { dh_paper_type, user_sync_config } = useDict('dh_paper_type', 'user_sync_config')
+const { dh_paper_type, user_sync_config, yes_no_type } = useDict('dh_paper_type', 'user_sync_config', 'yes_no_type')
// 定义变量内容
const formDialogRef = ref()