diff --git a/apps/web-antd/src/api/analytics/index.ts b/apps/web-antd/src/api/analytics/index.ts index 38754d53..94e746b3 100644 --- a/apps/web-antd/src/api/analytics/index.ts +++ b/apps/web-antd/src/api/analytics/index.ts @@ -17,6 +17,14 @@ export function getStatisticsCurrDay() { export function getStatistics() { return requestClient.get('/sis/alarmEvents/query/statistics'); } +// 工单 +export function getworkOrder() { + return requestClient.get('/property/screen/typeWorkOrderHistogram'); +} +// 会议室 +export function getTodayMeetCount() { + return requestClient.get('/property/screen/todayMeetCount'); +} // /** // * 导出资产管理列表 // * @param params diff --git a/apps/web-antd/src/api/property/resident/passRecordManagement/index.ts b/apps/web-antd/src/api/property/resident/passRecordManagement/index.ts index 92b2c5fd..eb9b6143 100644 --- a/apps/web-antd/src/api/property/resident/passRecordManagement/index.ts +++ b/apps/web-antd/src/api/property/resident/passRecordManagement/index.ts @@ -1,5 +1,5 @@ -import { requestClient } from '#/api/request'; -import type { PageResult } from '#/api/common'; +import { requestClient } from '#/api/request' +import type { PageResult } from '#/api/common' /** * 通行记录列表 @@ -7,5 +7,5 @@ import type { PageResult } from '#/api/common'; * @returns void */ export function getVisitorList(params?: any) { - return requestClient.get>('/sis/visitor/list', { params }); + return requestClient.get>('/sis/e8/visitor/list', { params }) } diff --git a/apps/web-antd/src/api/property/resident/unit/index.ts b/apps/web-antd/src/api/property/resident/unit/index.ts index aa042dcd..bb7b71ef 100644 --- a/apps/web-antd/src/api/property/resident/unit/index.ts +++ b/apps/web-antd/src/api/property/resident/unit/index.ts @@ -5,6 +5,7 @@ import type { PageResult } from '#/api/common'; import { commonExport } from '#/api/helper'; import { requestClient } from '#/api/request'; +import type {AuthGroupQuery, AuthGroupVO} from "#/api/sis/authGroup/model"; /** * 查询入驻单位列表 @@ -32,6 +33,12 @@ export function resident_unitExport(params?: Resident_unitQuery) { export function resident_unitInfo(id: ID) { return requestClient.get(`/property/resident_unit/${id}`); } +/** + * 通行权限组 + */ +export function authGroupList(params?: AuthGroupQuery) { + return requestClient.get>('/sis/authGroup/list', { params }); +} /** * 新增入驻单位 diff --git a/apps/web-antd/src/layouts/basic.vue b/apps/web-antd/src/layouts/basic.vue index 61256dab..eaa9997b 100644 --- a/apps/web-antd/src/layouts/basic.vue +++ b/apps/web-antd/src/layouts/basic.vue @@ -41,15 +41,15 @@ const { destroyWatermark, updateWatermark } = useWatermark(); const tenantStore = useTenantStore(); const menus = computed(() => { const defaultMenus = [ - { - handler: () => { - openWindow(VBEN_DOC_URL, { - target: '_blank', - }); - }, - icon: BookOpenText, - text: $t('ui.widgets.document'), - }, + // { + // handler: () => { + // openWindow(VBEN_DOC_URL, { + // target: '_blank', + // }); + // }, + // icon: BookOpenText, + // text: $t('ui.widgets.document'), + // }, { handler: () => { router.push('/profile'); @@ -146,7 +146,7 @@ watch( :avatar :menus :text="userStore.userInfo?.realName" - :description="userStore.userInfo?.roles[0]" + :description="userStore.userInfo?.roleName" tag-text="Pro" @logout="handleLogout" /> diff --git a/apps/web-antd/src/store/auth.ts b/apps/web-antd/src/store/auth.ts index 2160ba05..db3637c4 100644 --- a/apps/web-antd/src/store/auth.ts +++ b/apps/web-antd/src/store/auth.ts @@ -116,6 +116,7 @@ export const useAuthStore = defineStore('auth', () => { roles, userId: user.userId, username: user.userName, + roleName:user.roles[0]?.roleName, } userStore.setUserInfo(userInfo) diff --git a/apps/web-antd/src/views/dashboard/analytics/index.vue b/apps/web-antd/src/views/dashboard/analytics/index.vue index 71f79cce..4eb8c766 100644 --- a/apps/web-antd/src/views/dashboard/analytics/index.vue +++ b/apps/web-antd/src/views/dashboard/analytics/index.vue @@ -217,6 +217,8 @@ onMounted(() => { /> + +
diff --git a/apps/web-antd/src/views/property/attendanceManagement/workforceManagement/arrangement-modal.vue b/apps/web-antd/src/views/property/attendanceManagement/workforceManagement/arrangement-modal.vue index c497417f..06e315b7 100644 --- a/apps/web-antd/src/views/property/attendanceManagement/workforceManagement/arrangement-modal.vue +++ b/apps/web-antd/src/views/property/attendanceManagement/workforceManagement/arrangement-modal.vue @@ -127,7 +127,7 @@ const columns = [ }, style: 'margin-right: 4px;', }, - () => user.userName, + () => user.nickName, ), ), }, @@ -299,7 +299,7 @@ async function handleConfirm() { deptId: item.dept.deptId, //部门ID deptName: item.dept.deptName, //部门名称 employeeId: user.userId, //员工ID - employeeName: user.userName, //员工姓名 + employeeName: user.nickName, //员工姓名 }); } } diff --git a/apps/web-antd/src/views/property/attendanceManagement/workforceManagement/data.ts b/apps/web-antd/src/views/property/attendanceManagement/workforceManagement/data.ts index 0383df0f..22c504d3 100644 --- a/apps/web-antd/src/views/property/attendanceManagement/workforceManagement/data.ts +++ b/apps/web-antd/src/views/property/attendanceManagement/workforceManagement/data.ts @@ -59,7 +59,7 @@ export const querySchema: FormSchemaGetter = () => [ export const unitQuerySchema: FormSchemaGetter = () => [ { component: 'Input', - fieldName: 'userName', + fieldName: 'nickName', label: '姓名', }, { @@ -83,7 +83,7 @@ export const columns: VxeGridProps['columns'] = [ }, { title: '人员', - field: 'remoteUserVo.userName', + field: 'remoteUserVo.nickName', width: 120, // width: 'auto', }, @@ -196,7 +196,7 @@ export const unitColumns: VxeGridProps['columns'] = [ }, { title: '姓名', - field: 'userName', + field: 'nickName', minWidth: 120, }, { diff --git a/apps/web-antd/src/views/property/attendanceManagement/workforceManagement/unit-person-modal.vue b/apps/web-antd/src/views/property/attendanceManagement/workforceManagement/unit-person-modal.vue index d8d7ae92..e5268899 100644 --- a/apps/web-antd/src/views/property/attendanceManagement/workforceManagement/unit-person-modal.vue +++ b/apps/web-antd/src/views/property/attendanceManagement/workforceManagement/unit-person-modal.vue @@ -240,7 +240,7 @@ watch(selectedDeptIds, (newVal) => { :key="user.userId" style="margin-right: 8px" > - {{ user.userName }} + {{ user.nickName }}
diff --git a/apps/web-antd/src/views/property/attendanceManagement/workforceManagement/workforce-day-detail.vue b/apps/web-antd/src/views/property/attendanceManagement/workforceManagement/workforce-day-detail.vue index 696610df..1a00fdaf 100644 --- a/apps/web-antd/src/views/property/attendanceManagement/workforceManagement/workforce-day-detail.vue +++ b/apps/web-antd/src/views/property/attendanceManagement/workforceManagement/workforce-day-detail.vue @@ -87,7 +87,7 @@ async function handleClosed() { :key="item.id" class="wrap-cell" > - {{ item.remoteUserVo.userName }} + {{ item.remoteUserVo.nickName }} diff --git a/apps/web-antd/src/views/property/attendanceManagement/workforceManagement/workforce-detail.vue b/apps/web-antd/src/views/property/attendanceManagement/workforceManagement/workforce-detail.vue index de9b4d0e..d7caf72e 100644 --- a/apps/web-antd/src/views/property/attendanceManagement/workforceManagement/workforce-detail.vue +++ b/apps/web-antd/src/views/property/attendanceManagement/workforceManagement/workforce-detail.vue @@ -85,7 +85,7 @@ const columns = [ }, style: 'margin-right: 4px;', }, - () => user.userName, + () => user.nickName, ), ), }, @@ -196,7 +196,7 @@ const [BasicModal, modalApi] = useVbenModal({ } deptMap.get(deptId).users.push({ userId: item.remoteUserVo.userId, - userName: item.remoteUserVo.userName, + nickName: item.remoteUserVo.nickName, }); } // 转换为 tableData 格式 @@ -254,7 +254,7 @@ async function handleConfirm() { deptId: item.dept.deptId, deptName: item.dept.deptName, employeeId: user.userId, - employeeName: user.userName, + employeeName: user.nickName, })), ); await arrangementUpdate(data); diff --git a/apps/web-antd/src/views/property/businessManagement/workOrderPending/data.ts b/apps/web-antd/src/views/property/businessManagement/workOrderPending/data.ts index 3cdf6882..0a81a416 100644 --- a/apps/web-antd/src/views/property/businessManagement/workOrderPending/data.ts +++ b/apps/web-antd/src/views/property/businessManagement/workOrderPending/data.ts @@ -20,10 +20,6 @@ export const columns: VxeGridProps['columns'] = [ title: '工单编号', field: 'orderNo', }, - { - title: '工单名称', - field: 'orderName', - }, { title: '工单类型', field: 'typeName', diff --git a/apps/web-antd/src/views/property/businessManagement/workOrderProcessed/data.ts b/apps/web-antd/src/views/property/businessManagement/workOrderProcessed/data.ts index d88cc3c0..2ddeee48 100644 --- a/apps/web-antd/src/views/property/businessManagement/workOrderProcessed/data.ts +++ b/apps/web-antd/src/views/property/businessManagement/workOrderProcessed/data.ts @@ -23,11 +23,6 @@ export const columns: VxeGridProps['columns'] = [ field: 'orderNo', width: 200, }, - { - title: '工单名称', - field: 'orderName', - minWidth: 180, - }, { title: '工单类型', field: 'typeName', diff --git a/apps/web-antd/src/views/property/businessManagement/workOrders/data.ts b/apps/web-antd/src/views/property/businessManagement/workOrders/data.ts index 3e5d020d..f8b0c660 100644 --- a/apps/web-antd/src/views/property/businessManagement/workOrders/data.ts +++ b/apps/web-antd/src/views/property/businessManagement/workOrders/data.ts @@ -39,11 +39,6 @@ export const columns: VxeGridProps['columns'] = [ field: 'orderNo', width: 180, }, - { - title: '工单名称', - field: 'orderName', - minWidth: 180, - }, { title: '工单类型', field: 'typeName', diff --git a/apps/web-antd/src/views/property/resident/unit/unit-detail.vue b/apps/web-antd/src/views/property/resident/unit/unit-detail.vue index 398f6908..a04f2bf8 100644 --- a/apps/web-antd/src/views/property/resident/unit/unit-detail.vue +++ b/apps/web-antd/src/views/property/resident/unit/unit-detail.vue @@ -1,7 +1,7 @@