fix: 车辆收费使用系统用户

This commit is contained in:
fyy 2025-08-22 17:08:17 +08:00
parent c8bcf9a28d
commit 418a0a4e54
2 changed files with 8 additions and 10 deletions

View File

@ -137,7 +137,7 @@ defineExpose({
>
<ghost-button
danger
v-access:code="['property:arrangement:remove']"
v-access:code="['Property:arrangement:remove']"
@click.stop=""
>
移除

View File

@ -6,9 +6,7 @@ import type { VxeGridProps } from '#/adapter/vxe-table';
import { getDictOptions } from '#/utils/dict';
import { renderDict } from '#/utils/render';
import { costItemSettingList } from '#/api/property/costManagement/costItemSetting';
import { personList } from '#/api/property/resident/person';
import { communityTree } from '#/api/property/community';
import { handleNode } from '@vben/utils';
import { userList } from '#/api/system/user';
/**
* schema
@ -25,12 +23,12 @@ export const querySchema: FormSchemaGetter = () => [
component: 'ApiSelect',
componentProps: {
api: async () => {
const rows = await personList({ pageSize: 1000000000, pageNum: 1 });
const rows = await userList({ pageSize: 1000000000, pageNum: 1 });
return rows;
},
resultField: 'rows',
labelField: 'userName',
valueField: 'id',
valueField: 'userId',
},
},
{
@ -106,12 +104,12 @@ export const modalSchema: FormSchemaGetter = () => [
rules: 'required',
componentProps: {
api: async () => {
const rows = await personList({ pageSize: 1000000000, pageNum: 1 });
const rows = await userList({ pageSize: 1000000000, pageNum: 1 });
return rows;
},
resultField: 'rows',
labelField: 'userName',
valueField: 'id',
valueField: 'userId',
},
disabled: true,
},
@ -210,12 +208,12 @@ export const addModalSchema: FormSchemaGetter = () => [
rules: 'required',
componentProps: {
api: async () => {
const rows = await personList({ pageSize: 1000000000, pageNum: 1 });
const rows = await userList({ pageSize: 1000000000, pageNum: 1 });
return rows;
},
resultField: 'rows',
labelField: 'userName',
valueField: 'id',
valueField: 'userId',
},
},
{