chore: 租户

This commit is contained in:
dap 2024-10-07 12:50:35 +08:00
parent 43c0d4c723
commit 15457628f0
2 changed files with 3 additions and 2 deletions

View File

@ -152,7 +152,7 @@ export const drawerSchema: FormSchemaGetter = () => [
{ {
component: 'InputPassword', component: 'InputPassword',
fieldName: 'password', fieldName: 'password',
label: '密码', label: '用户密码',
rules: 'required', rules: 'required',
dependencies: { dependencies: {
if: (values) => !values?.tenantId, if: (values) => !values?.tenantId,

View File

@ -42,6 +42,7 @@ const gridOptions: VxeGridProps = {
reserve: true, reserve: true,
// //
// trigger: 'row', // trigger: 'row',
checkMethod: ({ row }) => row?.id !== 1,
}, },
columns, columns,
height: 'auto', height: 'auto',
@ -155,7 +156,7 @@ const isSuperAdmin = computed(() => {
<Page v-if="isSuperAdmin" :auto-content-height="true"> <Page v-if="isSuperAdmin" :auto-content-height="true">
<BasicTable> <BasicTable>
<template #toolbar-actions> <template #toolbar-actions>
<span class="pl-[7px] text-[16px]">租户列表 </span> <span class="pl-[7px] text-[16px]">租户列表</span>
</template> </template>
<template #toolbar-tools> <template #toolbar-tools>
<Space> <Space>