fix: 入驻单位编辑回显授权期限
This commit is contained in:
parent
3cad95d185
commit
cb0a15e5fb
@ -65,6 +65,9 @@ export interface Resident_unitVO {
|
||||
* 权限组名称
|
||||
*/
|
||||
authGroupName?: string;
|
||||
// 授权期限
|
||||
authBegDate?:string;//开始
|
||||
authEndDate?:string;//结束
|
||||
|
||||
}
|
||||
|
||||
|
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user