fix: use existing dict option API in im views
This commit is contained in:
@@ -256,8 +256,8 @@
|
||||
tenantSchema.ifShow = () => isPlatformAdmin.value;
|
||||
}
|
||||
|
||||
const departmentStateOptions = computed(() => dict.getOptions('ImOrgDepartmentStateOptions'));
|
||||
const employmentStateOptions = computed(() => dict.getOptions('ImOrgEmploymentStateOptions'));
|
||||
const departmentStateOptions = dict.getOption('ImOrgDepartmentStateOptions');
|
||||
const employmentStateOptions = dict.getOption('ImOrgEmploymentStateOptions');
|
||||
const parentDepartmentOptions = computed(() => [
|
||||
{ label: '根部门', value: 'root' },
|
||||
...departmentOptions.value.filter((item) => item.value !== departmentForm.value.departmentId),
|
||||
|
||||
Reference in New Issue
Block a user