|
@@ -40,9 +40,6 @@ export default function useOptions(type) {
|
|
|
if (type === typeEnum.DEPARTMENTID) {
|
|
if (type === typeEnum.DEPARTMENTID) {
|
|
|
return store.getState().staff.departments
|
|
return store.getState().staff.departments
|
|
|
}
|
|
}
|
|
|
- if (type === typeEnum.BUSINESSIDS[0]) {
|
|
|
|
|
- return store.getState().business.groupList
|
|
|
|
|
- }
|
|
|
|
|
|
|
|
|
|
return null
|
|
return null
|
|
|
}
|
|
}
|