Compare commits
3 Commits
b153c88cd5
...
c8bcf9a28d
Author | SHA1 | Date | |
---|---|---|---|
c8bcf9a28d | |||
69d17e29ff | |||
cb0a15e5fb |
@ -65,6 +65,9 @@ export interface Resident_unitVO {
|
|||||||
* 权限组名称
|
* 权限组名称
|
||||||
*/
|
*/
|
||||||
authGroupName?: string;
|
authGroupName?: string;
|
||||||
|
// 授权期限
|
||||||
|
authBegDate?:string;//开始
|
||||||
|
authEndDate?:string;//结束
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -62,11 +62,13 @@ export const modalSchema: FormSchemaGetter = () => [
|
|||||||
label: '区域',
|
label: '区域',
|
||||||
fieldName: 'area',
|
fieldName: 'area',
|
||||||
component: 'Input',
|
component: 'Input',
|
||||||
|
rules: 'required',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '摄像机',
|
label: '摄像机',
|
||||||
fieldName: 'deviceManageId',
|
fieldName: 'deviceManageId',
|
||||||
component: 'ApiSelect',
|
component: 'ApiSelect',
|
||||||
|
rules: 'required',
|
||||||
componentProps: {
|
componentProps: {
|
||||||
api: async () => {
|
api: async () => {
|
||||||
const res = await deviceManageList({
|
const res = await deviceManageList({
|
||||||
|
@ -64,7 +64,7 @@ const [BasicModal, modalApi] = useVbenModal({
|
|||||||
await initLocationOptions();
|
await initLocationOptions();
|
||||||
if (isUpdate.value && id) {
|
if (isUpdate.value && id) {
|
||||||
const record = await resident_unitInfo(id);
|
const record = await resident_unitInfo(id);
|
||||||
await formApi.setValues(record);
|
await formApi.setValues({...record,authTime:[record.authBegDate,record.authEndDate]});
|
||||||
}
|
}
|
||||||
await markInitialized();
|
await markInitialized();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user