diff --git a/apps/web-antd/src/views/property/attendanceManagement/workforceManagement/data.ts b/apps/web-antd/src/views/property/attendanceManagement/workforceManagement/data.ts
index 28b47585..aa86e380 100644
--- a/apps/web-antd/src/views/property/attendanceManagement/workforceManagement/data.ts
+++ b/apps/web-antd/src/views/property/attendanceManagement/workforceManagement/data.ts
@@ -174,17 +174,17 @@ export const unitColumns: VxeGridProps['columns'] = [
},
{
title: '姓名',
- field: 'scheduleName',
+ field: 'userName',
minWidth:120
},
{
title: '所属单位',
- field: 'scheduleName',
+ field: 'unitName',
width:'auto',
},
{
title: '电话',
- field: 'groupId',
+ field: 'phone',
minWidth:120
}
];
diff --git a/apps/web-antd/src/views/property/attendanceManagement/workforceManagement/type.d.ts b/apps/web-antd/src/views/property/attendanceManagement/workforceManagement/type.d.ts
new file mode 100644
index 00000000..0a100e0b
--- /dev/null
+++ b/apps/web-antd/src/views/property/attendanceManagement/workforceManagement/type.d.ts
@@ -0,0 +1,68 @@
+//列表数据,用于展示人员列表
+export interface PersonVO {
+ /**
+ * 主键id
+ */
+ id: string | number;
+
+ /**
+ * 用户id
+ */
+ userId: string | number;
+
+ /**
+ * 用户名称
+ */
+ userName: string;
+
+ /**
+ * 联系电话
+ */
+ phone: string;
+
+ /**
+ * 性别
+ */
+ gender: number;
+
+ /**
+ * 人脸图片
+ */
+ img: string;
+
+ /**
+ * 所属单位id
+ */
+ unitId: string | number;
+
+ /**
+ * 所属单位名称
+ */
+ unitName: string;
+
+ /**
+ * 入驻位置
+ */
+ locathon: string;
+
+ /**
+ * 入驻时间
+ */
+ time: string;
+
+ /**
+ * 车牌号码
+ */
+ carNumber: string;
+
+ /**
+ * 状态
+ */
+ state: number|string;
+
+ /**
+ * 备注
+ */
+ remark: string;
+
+ }
\ No newline at end of file
diff --git a/apps/web-antd/src/views/property/attendanceManagement/workforceManagement/unit-person-modal.vue b/apps/web-antd/src/views/property/attendanceManagement/workforceManagement/unit-person-modal.vue
index a231d01f..1a0c63c4 100644
--- a/apps/web-antd/src/views/property/attendanceManagement/workforceManagement/unit-person-modal.vue
+++ b/apps/web-antd/src/views/property/attendanceManagement/workforceManagement/unit-person-modal.vue
@@ -1,7 +1,7 @@
@@ -263,7 +263,7 @@ onMounted(() => {
style="flex:1;"
>
-
@@ -297,6 +297,9 @@ onMounted(() => {
已选人员:
+
+ {{ user.userName }}
+
From dc7bb19fd653ee597267ca525aaeab1a217be84c Mon Sep 17 00:00:00 2001
From: zcxlsm
Date: Wed, 23 Jul 2025 14:36:51 +0800
Subject: [PATCH 9/9] =?UTF-8?q?feat(property):=20=E4=B8=BA=E4=BA=BA?=
=?UTF-8?q?=E5=91=98=E5=92=8C=E5=8D=95=E5=85=83=E6=8E=88=E6=9D=83=E6=B7=BB?=
=?UTF-8?q?=E5=8A=A0=E6=8E=88=E6=9D=83=E6=9C=9F=E9=99=90=E5=AD=97=E6=AE=B5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../src/views/property/resident/person/data.ts | 16 ++++++++++++++++
.../src/views/property/resident/unit/data.ts | 16 ++++++++++++++++
2 files changed, 32 insertions(+)
diff --git a/apps/web-antd/src/views/property/resident/person/data.ts b/apps/web-antd/src/views/property/resident/person/data.ts
index 94cae24d..1a607a93 100644
--- a/apps/web-antd/src/views/property/resident/person/data.ts
+++ b/apps/web-antd/src/views/property/resident/person/data.ts
@@ -191,6 +191,22 @@ export const modalSchema: FormSchemaGetter = () => [
},
rules: 'selectRequired'
},
+ {
+ label: '',
+ fieldName: 'time',
+ component: ''
+ },
+ {
+ label: '授权期限',
+ fieldName: 'authTime',
+ component: 'RangePicker',
+ componentProps: {
+ showTime: true,
+ format: 'YYYY-MM-DD HH:mm:ss',
+ valueFormat: 'YYYY-MM-DD HH:mm:ss',
+ },
+ rules: 'required',
+ },
{
label: '通行权限组',
fieldName: 'authGroupId',
diff --git a/apps/web-antd/src/views/property/resident/unit/data.ts b/apps/web-antd/src/views/property/resident/unit/data.ts
index 256a5b7a..07242e71 100644
--- a/apps/web-antd/src/views/property/resident/unit/data.ts
+++ b/apps/web-antd/src/views/property/resident/unit/data.ts
@@ -174,6 +174,22 @@ export const modalSchema: FormSchemaGetter = () => [
},
rules: 'required',
},
+ {
+ label: '',
+ fieldName: 'time',
+ component: ''
+ },
+ {
+ label: '授权期限',
+ fieldName: 'authTime',
+ component: 'RangePicker',
+ componentProps: {
+ showTime: true,
+ format: 'YYYY-MM-DD HH:mm:ss',
+ valueFormat: 'YYYY-MM-DD HH:mm:ss',
+ },
+ rules: 'required',
+ },
{
label: '通行权限组',
fieldName: 'authGroupId',