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 <ghost-button
danger danger
v-access:code="['property:arrangement:remove']" v-access:code="['Property:arrangement:remove']"
@click.stop="" @click.stop=""
> >
移除 移除

View File

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