diff --git a/src/api/crm/permission/index.ts b/src/api/crm/permission/index.ts index e790c334..1292f29a 100644 --- a/src/api/crm/permission/index.ts +++ b/src/api/crm/permission/index.ts @@ -6,9 +6,9 @@ export interface PermissionVO { bizType: number | undefined // Crm 类型 bizId: number | undefined // Crm 类型数据编号 level: number | undefined // 权限级别 - deptName?: string // 部门名称 + deptName?: string // 部门名称 // 岗位名称数组 TODO @puhui999:数组? nickname?: string // 用户昵称 - postNames?: string // 岗位名称数组 + postNames?: string // 岗位名称数组 TODO @puhui999:数组? createTime?: Date } diff --git a/src/views/crm/components/CrmPermissionForm.vue b/src/views/crm/components/CrmPermissionForm.vue index 9754637b..838aa68d 100644 --- a/src/views/crm/components/CrmPermissionForm.vue +++ b/src/views/crm/components/CrmPermissionForm.vue @@ -19,6 +19,7 @@ + 只读 读写 @@ -36,6 +37,7 @@ import * as PermissionApi from '@/api/crm/permission' import { CrmPermissionLevelEnum } from './index' defineOptions({ name: 'CrmPermissionForm' }) + const { t } = useI18n() // 国际化 const message = useMessage() // 消息弹窗 @@ -107,6 +109,7 @@ const resetForm = (bizType: number, bizId: number) => { } onMounted(async () => { // 获得用户列表 + // TODO 芋艿:用户列表的选择组件 userOptions.value = await UserApi.getSimpleUserList() }) diff --git a/src/views/crm/components/CrmTeamList.vue b/src/views/crm/components/CrmTeamList.vue index f7591f6a..568777f6 100644 --- a/src/views/crm/components/CrmTeamList.vue +++ b/src/views/crm/components/CrmTeamList.vue @@ -38,6 +38,7 @@