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/attendanceManagement/attendanceArea/data.ts b/apps/web-antd/src/views/property/attendanceManagement/attendanceArea/data.ts index fe433e70..c4925d08 100644 --- a/apps/web-antd/src/views/property/attendanceManagement/attendanceArea/data.ts +++ b/apps/web-antd/src/views/property/attendanceManagement/attendanceArea/data.ts @@ -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({ diff --git a/apps/web-antd/src/views/property/costManagement/paymentReview/index.vue b/apps/web-antd/src/views/property/costManagement/paymentReview/index.vue index 54626057..0e551373 100644 --- a/apps/web-antd/src/views/property/costManagement/paymentReview/index.vue +++ b/apps/web-antd/src/views/property/costManagement/paymentReview/index.vue @@ -92,7 +92,7 @@ async function handleEdit(row: Required) { {{ '审核' }} diff --git a/apps/web-antd/src/views/property/customerService/questionnaire/index.vue b/apps/web-antd/src/views/property/customerService/questionnaire/index.vue index f9d8df1b..8892657c 100644 --- a/apps/web-antd/src/views/property/customerService/questionnaire/index.vue +++ b/apps/web-antd/src/views/property/customerService/questionnaire/index.vue @@ -175,8 +175,7 @@ async function handleDelete(row: Required) { 统计分析 diff --git a/apps/web-antd/src/views/property/greenPlantRentalManagement/orderManagement/data.ts b/apps/web-antd/src/views/property/greenPlantRentalManagement/orderManagement/data.ts index 02d55171..f25fb8f6 100644 --- a/apps/web-antd/src/views/property/greenPlantRentalManagement/orderManagement/data.ts +++ b/apps/web-antd/src/views/property/greenPlantRentalManagement/orderManagement/data.ts @@ -47,7 +47,7 @@ export const columns: VxeGridProps['columns'] = [ { title: '订单号', field: 'orderNo', - width: 100 + minWidth: 180 }, { title: '客户名称', @@ -134,7 +134,7 @@ export const columns: VxeGridProps['columns'] = [ fixed: 'right', slots: {default: 'action'}, title: '操作', - minWidth: 180, + width: 180, }, ]; 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();