-
-
当月能耗总值:125.04KW.h
+
+ 当月能耗总值:125.04KW.h
-
+
-
+
-
-
当年能耗总值:125.04KW.h
+
+ 当年能耗总值:125.04KW.h
-
+
diff --git a/apps/web-antd/src/views/property/resident/personPassRecordManagement/data.ts b/apps/web-antd/src/views/property/resident/personPassRecordManagement/data.ts
index 1aab2dd8..46787b10 100644
--- a/apps/web-antd/src/views/property/resident/personPassRecordManagement/data.ts
+++ b/apps/web-antd/src/views/property/resident/personPassRecordManagement/data.ts
@@ -1,34 +1,19 @@
-import type { FormSchemaGetter } from '#/adapter/form';
-import type { VxeGridProps } from '#/adapter/vxe-table';
-import { getDictOptions } from '#/utils/dict';
-import { renderDict } from '#/utils/render';
+import type { FormSchemaGetter } from '#/adapter/form'
+import type { VxeGridProps } from '#/adapter/vxe-table'
+import { getDictOptions } from '#/utils/dict'
+import { renderDict } from '#/utils/render'
export const querySchema: FormSchemaGetter = () => [
- // {
- // component: 'Input',
- // fieldName: 'actionTime',
- // label: '通行时间',
- // },
+ {
+ component: 'RangePicker',
+ fieldName: 'dateRange',
+ label: '通行时间',
+ },
{
component: 'Input',
fieldName: 'customerName',
label: '人员姓名',
},
- // {
- // component: 'Input',
- // fieldName: 'organFullPath',
- // label: '组织机构',
- // },
- // {
- // component: 'Input',
- // fieldName: 'doorName',
- // label: '门/电梯名称',
- // },
- // {
- // component: 'Input',
- // fieldName: 'deviceName',
- // label: '设备名称',
- // },
{
component: 'Select',
componentProps: {
@@ -37,16 +22,15 @@ export const querySchema: FormSchemaGetter = () => [
fieldName: 'recordType',
label: '记录类型',
},
-];
+]
export const columns: VxeGridProps['columns'] = [
- // { type: 'checkbox', width: 60 },
{
title: '序号',
field: 'id',
slots: {
default: ({ rowIndex }) => {
- return (rowIndex + 1).toString();
+ return (rowIndex + 1).toString()
},
},
width: 60,
@@ -66,16 +50,11 @@ export const columns: VxeGridProps['columns'] = [
field: 'deviceType',
slots: {
default: ({ row }) => {
- return renderDict(row.deviceType, 'wy_txjlsblb');
+ return renderDict(row.deviceType, 'wy_txjlsblb')
},
},
width: 150,
},
- {
- title: '读头名称',
- field: 'readerName',
- width: 100,
- },
{
title: '人员姓名',
field: 'customerName',
@@ -84,14 +63,13 @@ export const columns: VxeGridProps['columns'] = [
{
title: '所属组织',
field: 'organFullPath',
- width: 150,
},
{
title: '门卡类别',
field: 'cardType',
slots: {
default: ({ row }) => {
- return renderDict(row.cardType, 'wy_txjlmklb');
+ return renderDict(row.cardType, 'wy_txjlmklb')
},
},
width: 100,
@@ -101,7 +79,7 @@ export const columns: VxeGridProps['columns'] = [
field: 'gatewayType',
slots: {
default: ({ row }) => {
- return renderDict(row.gatewayType, 'wy_txjlcrlx');
+ return renderDict(row.gatewayType, 'wy_txjlcrlx')
},
},
width: 100,
@@ -116,7 +94,7 @@ export const columns: VxeGridProps['columns'] = [
field: 'recordType',
slots: {
default: ({ row }) => {
- return renderDict(row.recordType, 'wy_txjllx');
+ return renderDict(row.recordType, 'wy_txjllx')
},
},
width: 100,
@@ -126,6 +104,6 @@ export const columns: VxeGridProps['columns'] = [
fixed: 'right',
slots: { default: 'action' },
title: '抓拍图片',
- minWidth: 180,
+ width: 140,
},
-];
+]
diff --git a/apps/web-antd/src/views/property/resident/personPassRecordManagement/index.vue b/apps/web-antd/src/views/property/resident/personPassRecordManagement/index.vue
index 769f166d..95bd5498 100644
--- a/apps/web-antd/src/views/property/resident/personPassRecordManagement/index.vue
+++ b/apps/web-antd/src/views/property/resident/personPassRecordManagement/index.vue
@@ -1,16 +1,14 @@