1
0

organization.ts 462 B

12345678910111213141516171819202122
  1. import { DeptType } from "@/store/organization";
  2. export const deptTypeDesc = {
  3. [DeptType.corps]: "总队",
  4. [DeptType.detachment]: "支队",
  5. [DeptType.brigade]: "大队",
  6. };
  7. export const deptTypeOptions = [
  8. {
  9. label: deptTypeDesc[DeptType.corps],
  10. value: DeptType.corps,
  11. },
  12. {
  13. label: deptTypeDesc[DeptType.detachment],
  14. value: DeptType.detachment,
  15. },
  16. {
  17. label: deptTypeDesc[DeptType.brigade],
  18. value: DeptType.brigade,
  19. },
  20. ];