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();