Compare commits
3 Commits
b153c88cd5
...
c8bcf9a28d
Author | SHA1 | Date | |
---|---|---|---|
c8bcf9a28d | |||
69d17e29ff | |||
cb0a15e5fb |
@ -65,6 +65,9 @@ export interface Resident_unitVO {
|
||||
* 权限组名称
|
||||
*/
|
||||
authGroupName?: string;
|
||||
// 授权期限
|
||||
authBegDate?:string;//开始
|
||||
authEndDate?:string;//结束
|
||||
|
||||
}
|
||||
|
||||
|
@ -62,11 +62,13 @@ export const modalSchema: FormSchemaGetter = () => [
|
||||
label: '区域',
|
||||
fieldName: 'area',
|
||||
component: 'Input',
|
||||
rules: 'required',
|
||||
},
|
||||
{
|
||||
label: '摄像机',
|
||||
fieldName: 'deviceManageId',
|
||||
component: 'ApiSelect',
|
||||
rules: 'required',
|
||||
componentProps: {
|
||||
api: async () => {
|
||||
const res = await deviceManageList({
|
||||
|
@ -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