2 Commits

Author SHA1 Message Date
fyy
29adc052c7 Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks failed
/ Explore-Gitea-Actions (push) Failing after 11m47s
2025-08-22 17:11:38 +08:00
fyy
418a0a4e54 fix: 车辆收费使用系统用户 2025-08-22 17:08:17 +08:00
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',
}, },
}, },
{ {