Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
This commit is contained in:
@@ -246,4 +246,9 @@ export interface Unit extends BaseEntity {
|
|||||||
*/
|
*/
|
||||||
area?: string;
|
area?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 房间数量
|
||||||
|
*/
|
||||||
|
roomNumber: number;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@@ -84,6 +84,16 @@ export const columns: VxeGridProps['columns'] = [
|
|||||||
field: 'time',
|
field: 'time',
|
||||||
width: 180,
|
width: 180,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
title: '入驻房间数',
|
||||||
|
field: 'roomNumber',
|
||||||
|
width: 100,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '入驻面积(㎡)',
|
||||||
|
field: 'area',
|
||||||
|
width: 180,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: '状态',
|
title: '状态',
|
||||||
field: 'state',
|
field: 'state',
|
||||||
|
@@ -56,7 +56,7 @@ const selectRoomId = ref<string[]>([]);
|
|||||||
<div class="flex gap-[8px]">
|
<div class="flex gap-[8px]">
|
||||||
<div class="w-[260px]">
|
<div class="w-[260px]">
|
||||||
<RoomTree
|
<RoomTree
|
||||||
class="max-h-[calc(100vh-40vh)]"
|
class="max-h-[calc(100vh-38vh)]"
|
||||||
v-model:select-room-id="selectRoomId"
|
v-model:select-room-id="selectRoomId"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
@@ -75,9 +75,9 @@ const selectRoomId = ref<string[]>([]);
|
|||||||
<DescriptionsItem label="联系人">
|
<DescriptionsItem label="联系人">
|
||||||
{{ unitDetail.contactPerson +'-'+unitDetail.phone}}
|
{{ unitDetail.contactPerson +'-'+unitDetail.phone}}
|
||||||
</DescriptionsItem>
|
</DescriptionsItem>
|
||||||
<!-- <DescriptionsItem label="入驻位置" >-->
|
<DescriptionsItem label="入驻房间数" >
|
||||||
<!-- {{ unitDetail.locationDetail }}-->
|
{{ unitDetail.roomNumber }}
|
||||||
<!-- </DescriptionsItem>-->
|
</DescriptionsItem>
|
||||||
<DescriptionsItem label="入驻面积">
|
<DescriptionsItem label="入驻面积">
|
||||||
<span v-if="unitDetail.area">{{ unitDetail.area }}(㎡)</span>
|
<span v-if="unitDetail.area">{{ unitDetail.area }}(㎡)</span>
|
||||||
</DescriptionsItem>
|
</DescriptionsItem>
|
||||||
|
@@ -48,7 +48,7 @@ const gridOptions: VxeGridProps = {
|
|||||||
return await alarmEventsList({
|
return await alarmEventsList({
|
||||||
pageNum: page.currentPage,
|
pageNum: page.currentPage,
|
||||||
pageSize: page.pageSize,
|
pageSize: page.pageSize,
|
||||||
states: [40,50],
|
states: [40, 50],
|
||||||
...formValues,
|
...formValues,
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
@@ -112,7 +112,7 @@ function handleMultiDelete() {
|
|||||||
</script>
|
</script>
|
||||||
<template>
|
<template>
|
||||||
<Page :auto-content-height="true">
|
<Page :auto-content-height="true">
|
||||||
<BasicTable class="flex-1 overflow-hidden" table-title="视频预警处理">
|
<BasicTable class="flex-1 overflow-hidden">
|
||||||
<template #toolbar-tools>
|
<template #toolbar-tools>
|
||||||
<Space>
|
<Space>
|
||||||
<a-button
|
<a-button
|
||||||
|
@@ -112,7 +112,7 @@ function handleMultiDelete() {
|
|||||||
</script>
|
</script>
|
||||||
<template>
|
<template>
|
||||||
<Page :auto-content-height="true">
|
<Page :auto-content-height="true">
|
||||||
<BasicTable class="flex-1 overflow-hidden" table-title="视频预警处理">
|
<BasicTable class="flex-1 overflow-hidden">
|
||||||
<template #toolbar-tools>
|
<template #toolbar-tools>
|
||||||
<Space>
|
<Space>
|
||||||
<a-button
|
<a-button
|
||||||
|
@@ -112,7 +112,7 @@ function handleMultiDelete() {
|
|||||||
</script>
|
</script>
|
||||||
<template>
|
<template>
|
||||||
<Page :auto-content-height="true">
|
<Page :auto-content-height="true">
|
||||||
<BasicTable class="flex-1 overflow-hidden" table-title="视频预警处理">
|
<BasicTable class="flex-1 overflow-hidden">
|
||||||
<template #toolbar-tools>
|
<template #toolbar-tools>
|
||||||
<Space>
|
<Space>
|
||||||
<a-button
|
<a-button
|
||||||
|
Reference in New Issue
Block a user