+
diff --git a/apps/web-antd/src/views/property/electricEnergy/electricityQOQ/data.ts b/apps/web-antd/src/views/property/electricEnergy/electricityQOQ/data.ts
new file mode 100644
index 00000000..74dc092e
--- /dev/null
+++ b/apps/web-antd/src/views/property/electricEnergy/electricityQOQ/data.ts
@@ -0,0 +1,81 @@
+import type { FormSchemaGetter } from '#/adapter/form';
+import type { VxeGridProps } from '#/adapter/vxe-table';
+import {getDictOptions} from "#/utils/dict";
+import dayjs from 'dayjs';
+
+export const querySchema: FormSchemaGetter = () => [
+ {
+ component: 'Select',
+ componentProps: {
+ options: getDictOptions('pro_qoq_type'),
+ },
+ fieldName: 'date',
+ label: '日期',
+ defaultValue: '0',
+ },
+ {
+ component: 'DatePicker',
+ componentProps: (formData) => {
+ const type: 0 | 1 | 2 | 3 = formData.date ?? 0;
+ const today = dayjs();
+ const propsMap = {
+ 0: {
+ picker: 'date',
+ format: 'YYYY-MM-DD',
+ valueFormat: 'YYYY-MM-DD',
+ showTime: false,
+ defaultValue: today.format('YYYY-MM-DD'),
+ },
+ 1: {
+ picker: 'week',
+ format: 'YYYY-MM-DD',
+ valueFormat: 'YYYY-MM-DD',
+ showTime: false,
+ defaultValue: today.startOf('week').format('YYYY-MM-DD'),
+ },
+ 2: {
+ picker: 'month',
+ format: 'YYYY-MM',
+ valueFormat: 'YYYY-MM',
+ showTime: false,
+ defaultValue: today.format('YYYY-MM'),
+ },
+ 3: {
+ picker: 'year',
+ format: 'YYYY',
+ valueFormat: 'YYYY',
+ showTime: false,
+ defaultValue: today.format('YYYY'),
+ },
+ };
+ return propsMap[type];
+ },
+ fieldName: 'chioceDate',
+ dependencies: {
+ triggerFields: ['date'],
+ },
+ },
+];
+
+export const columns: VxeGridProps['columns'] = [
+ {
+ title: '能源节点',
+ field: 'roomNumber',
+ },
+ {
+ title: '当月用能(kw.h)',
+ field: 'chargeItem',
+ },
+ {
+ title: '上月用能(kw.h)',
+ field: 'chargeCycle',
+ },
+ {
+ title: '增加值(kw.h)',
+ field: 'startTime',
+ },
+ {
+ title: '环比(%)',
+ field: 'endTime',
+ },
+];
diff --git a/apps/web-antd/src/views/property/electricEnergy/electricityQOQ/index.vue b/apps/web-antd/src/views/property/electricEnergy/electricityQOQ/index.vue
index 63cf316b..240d96bf 100644
--- a/apps/web-antd/src/views/property/electricEnergy/electricityQOQ/index.vue
+++ b/apps/web-antd/src/views/property/electricEnergy/electricityQOQ/index.vue
@@ -1,11 +1,72 @@
-
+
diff --git a/apps/web-antd/src/views/property/resident/person/data.ts b/apps/web-antd/src/views/property/resident/person/data.ts
index 6dc2548d..476d7318 100644
--- a/apps/web-antd/src/views/property/resident/person/data.ts
+++ b/apps/web-antd/src/views/property/resident/person/data.ts
@@ -5,6 +5,7 @@ import { renderDict } from "#/utils/render"
import { resident_unitList } from "#/api/property/resident/unit"
import { authGroupList } from '#/api/sis/authGroup'
import type { AuthGroupVO, AuthGroupQuery } from '#/api/sis/authGroup/model'
+import { toRaw } from 'vue'
export const querySchema: FormSchemaGetter = () => [
@@ -151,15 +152,16 @@ export const modalSchema: FormSchemaGetter = () => [
label: '性别',
fieldName: 'gender',
component: "Select",
- componentProps:{
+ componentProps: {
options: getDictOptions('sys_user_sex')
},
rules: 'required',
},
{
- label: '身份证号',
+ label: '证件号',
fieldName: 'idCard',
component: "Input",
+ rules: 'required',
},
{
label: '邮箱',
@@ -221,11 +223,26 @@ export const modalSchema: FormSchemaGetter = () => [
format: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'YYYY-MM-DD HH:mm:ss',
},
+<<<<<<< HEAD
+=======
+ dependencies: {
+ show: (values) => {
+ return typeof (values.id) !== 'undefined'
+ },
+ triggerFields: ['id'],
+ }
+>>>>>>> 54ed694271a4aeb1c3d592f9200e037fb524361f
},
{
label: '通行权限组',
fieldName: 'authGroupId',
component: 'ApiSelect',
+ dependencies: {
+ show: (values) => {
+ return typeof (values.id) !== 'undefined'
+ },
+ triggerFields: ['id'],
+ },
componentProps: {
allowClear: true,
resultField: 'list', // 根据API返回结构调整
@@ -244,7 +261,11 @@ export const modalSchema: FormSchemaGetter = () => [
}
return authGroupArr
},
+<<<<<<< HEAD
},
+=======
+ }
+>>>>>>> 54ed694271a4aeb1c3d592f9200e037fb524361f
},
{
label: '人脸图片',
diff --git a/apps/web-antd/src/views/property/resident/person/person-modal.vue b/apps/web-antd/src/views/property/resident/person/person-modal.vue
index 38ebe8ed..06d9678a 100644
--- a/apps/web-antd/src/views/property/resident/person/person-modal.vue
+++ b/apps/web-antd/src/views/property/resident/person/person-modal.vue
@@ -1,56 +1,60 @@
-
+
diff --git a/apps/web-antd/src/views/property/waterPower/waterSituation/index.vue b/apps/web-antd/src/views/property/waterPower/waterSituation/index.vue
index 63cf316b..9bcfcd23 100644
--- a/apps/web-antd/src/views/property/waterPower/waterSituation/index.vue
+++ b/apps/web-antd/src/views/property/waterPower/waterSituation/index.vue
@@ -1,11 +1,396 @@
+
+
+
+
+
+
+
+
+
+
+
+
{{ chainData.currentMonthEnergy }}
+
当月用水(t)
+
+
+
{{ chainData.lastMonthSamePeriodEnergy }}
+
上月同期(t)
+
+
+
+
{{ chainData.monthTrendPercentage }}
+
{{ chainData.monthTrendValue }}
+ t
+
+
+
趋势
+
+
+
{{ chainData.currentYearEnergy }}
+
当年用水(t)
+
+
+
+
{{ chainData.lastYearSamePeriodEnergy }}
+
去年同期(t)
+
+
+
+
{{ chainData.yearTrendPercentage }}
+
{{ chainData.yearTrendValue }}
+ t
+
+
+
趋势
+
+
+
+
+
+
+
+ 当月
+ 当年
+
+
+
+
+
+
+
+
+
+
+
-
+
diff --git a/apps/web-antd/src/views/property/waterPower/waterTrend/index.vue b/apps/web-antd/src/views/property/waterPower/waterTrend/index.vue
index 63cf316b..0cc039ac 100644
--- a/apps/web-antd/src/views/property/waterPower/waterTrend/index.vue
+++ b/apps/web-antd/src/views/property/waterPower/waterTrend/index.vue
@@ -1,11 +1,233 @@
-
+