From cb0a15e5fbd02518127dacaac7e3e48294d96830 Mon Sep 17 00:00:00 2001 From: fyy <2717885210@qq.com> Date: Fri, 22 Aug 2025 15:37:13 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=85=A5=E9=A9=BB=E5=8D=95=E4=BD=8D?= =?UTF-8?q?=E7=BC=96=E8=BE=91=E5=9B=9E=E6=98=BE=E6=8E=88=E6=9D=83=E6=9C=9F?= =?UTF-8?q?=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/web-antd/src/api/property/resident/unit/model.d.ts | 3 +++ apps/web-antd/src/views/property/resident/unit/unit-modal.vue | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/web-antd/src/api/property/resident/unit/model.d.ts b/apps/web-antd/src/api/property/resident/unit/model.d.ts index 747ee0cc..8ae348bf 100644 --- a/apps/web-antd/src/api/property/resident/unit/model.d.ts +++ b/apps/web-antd/src/api/property/resident/unit/model.d.ts @@ -65,6 +65,9 @@ export interface Resident_unitVO { * 权限组名称 */ authGroupName?: string; + // 授权期限 + authBegDate?:string;//开始 + authEndDate?:string;//结束 } diff --git a/apps/web-antd/src/views/property/resident/unit/unit-modal.vue b/apps/web-antd/src/views/property/resident/unit/unit-modal.vue index 4e19da48..3346c219 100644 --- a/apps/web-antd/src/views/property/resident/unit/unit-modal.vue +++ b/apps/web-antd/src/views/property/resident/unit/unit-modal.vue @@ -64,7 +64,7 @@ const [BasicModal, modalApi] = useVbenModal({ await initLocationOptions(); if (isUpdate.value && id) { const record = await resident_unitInfo(id); - await formApi.setValues(record); + await formApi.setValues({...record,authTime:[record.authBegDate,record.authEndDate]}); } await markInitialized();