import { cascaderObjFu } from '@/utils/history'

export type A32treeDataType = {
  name: string
  show: boolean
  key: string
  son: { id: string; name: string }[]
}

export const A32treeData: A32treeDataType[] = [
  {
    name: '馆藏与非馆藏',
    show: true,
    key: 'accountType',
    son: [
      { id: '1', name: '藏品' },
      { id: '2', name: '参考品' },
      { id: '3', name: '资料' },
      { id: '4', name: '标本' }
    ]
  },
  {
    name: '类别分账',
    show: true,
    key: 'dictType',
    son: cascaderObjFu()['文物类别']
  },
  {
    name: '展品分账',
    show: true,
    key: 'accountIndoor',
    son: [
      { id: '6', name: '馆外' },
      { id: '5', name: '馆内' }
    ]
  }
]
