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}}