From c7f52fa107fe69d6c33f7c654c5a83b2fd410cd8 Mon Sep 17 00:00:00 2001
From: FLL <2162874245@qq.com>
Date: Mon, 25 Aug 2025 10:02:28 +0800
Subject: [PATCH] =?UTF-8?q?=E6=9D=83=E9=99=90?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../property/costManagement/costMeterWater/data.ts | 12 +++++++++---
.../visitorTodo/visitorTodo-detail.vue | 4 ++--
2 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/apps/web-antd/src/views/property/costManagement/costMeterWater/data.ts b/apps/web-antd/src/views/property/costManagement/costMeterWater/data.ts
index f01fd5a1..4a031094 100644
--- a/apps/web-antd/src/views/property/costManagement/costMeterWater/data.ts
+++ b/apps/web-antd/src/views/property/costManagement/costMeterWater/data.ts
@@ -3,6 +3,7 @@ import type { VxeGridProps } from '#/adapter/vxe-table';
import { getDictOptions } from '#/utils/dict';
import { costItemSettingList } from '#/api/property/costManagement/costItemSetting';
import {meterReadingTypeList} from '#/api/property/costManagement/meterReadingType';
+import {renderDict} from "#/utils/render";
export const querySchema: FormSchemaGetter = () => [
{
@@ -27,7 +28,12 @@ export const columns: VxeGridProps['columns'] = [
},
{
title: '费用类型',
- field: 'itemId',
+ field: 'costType',
+ slots: {
+ default: ({ row }) => {
+ return renderDict(row.costType, 'wy_cbfylx');
+ },
+ },
},
{
title: '抄表类型',
@@ -97,7 +103,7 @@ export const modalSchema: FormSchemaGetter = () => [
// return {
// api: async ()=>{
// console.log(values);
-
+
// const rows = await costItemSettingList({pageSize:1000000000,pageNum:1,costType:values.costType});
// return rows;
// },
@@ -118,7 +124,7 @@ export const modalSchema: FormSchemaGetter = () => [
// return {
// api: async()=>{
// const rows = await meterReadingTypeList({pageSize:1000000000,pageNum:1,costType:values.costType=='5'?0:1});
- // return rows;
+ // return rows;
// },
// resultField:'rows',
// labelField:'name',
diff --git a/apps/web-antd/src/views/property/visitorManagement/visitorTodo/visitorTodo-detail.vue b/apps/web-antd/src/views/property/visitorManagement/visitorTodo/visitorTodo-detail.vue
index 0da22d68..37ae01ad 100644
--- a/apps/web-antd/src/views/property/visitorManagement/visitorTodo/visitorTodo-detail.vue
+++ b/apps/web-antd/src/views/property/visitorManagement/visitorTodo/visitorTodo-detail.vue
@@ -44,8 +44,8 @@ async function handleOpenChange(open: boolean) {
{{ visitorTodoDetail.idCard }}
-
- {{ visitorTodoDetail.facePictures }}
+
+
{{ visitorTodoDetail.visitorUnit}}