style:部门选择样式

This commit is contained in:
houjunxiang
2025-11-27 09:19:08 +08:00
parent fcc04865f9
commit f3c15b3692
3 changed files with 11 additions and 14 deletions

View File

@@ -74,6 +74,7 @@ const handleSelectCompany = () => {
companyList: companyList.value,
defaultCompanyId: selectedCompanyId.value,
defaultDeptId: selectedDeptId.value,
showCancel: true,
onConfirm: ({ companyId, deptId }) => {
const selectedCompany = companyList.value.find(company => company.companyId === selectedCompanyId.value)
const selectedDept = selectedCompany?.depts.find(dept => dept.deptId === selectedDeptId.value)