权限
This commit is contained in:
@@ -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',
|
||||
|
@@ -44,8 +44,8 @@ async function handleOpenChange(open: boolean) {
|
||||
<DescriptionsItem label="访客身份证">
|
||||
{{ visitorTodoDetail.idCard }}
|
||||
</DescriptionsItem>
|
||||
<DescriptionsItem label="人脸图片">
|
||||
{{ visitorTodoDetail.facePictures }}
|
||||
<DescriptionsItem label="人脸图片" v-if="visitorTodoDetail.facePictures" :span="2">
|
||||
<img :src="visitorTodoDetail.facePictures" alt="图片加载失败" class="w-[100px] h-[100px]"/>
|
||||
</DescriptionsItem>
|
||||
<DescriptionsItem label="所属公司">
|
||||
{{ visitorTodoDetail.visitorUnit}}
|
||||
|
Reference in New Issue
Block a user