export default {
  showLoading: false,
  auth: {
    userid: 0,
    orgid: '',
    code: '',
  },
  showTag: true,
  curTag: '',
  showBasicInfo: true,
  showFilterDrawer: false,
  showActivityDrawer: false,
  showNewActivityDrawer: false,
  showBuildingDrawer: false,
  showActivityListModal: false,
  showStructModal: false,
  basicInfo: {
    sum: [
      { name: '党组织', value: 0, unit: '个' },
      { name: '关系在街道内党员', value: 0, unit: '位' },
      { name: '街道居民党员', value: 0, unit: '位' },
    ],
    member: {
      dimensions: [
        { name: 'name', displayName: '类型' },
        { name: 'value', displayName: '数量' },
      ],
      source: [
        { name: '机关事业单位党员', value: 0, ratio: 0 },
        { name: '居民区党员', value: 0, ratio: 0 },
        { name: '两新党员', value: 0, ratio: 0 },
      ],
    },
    organization: {
      dimensions: [
        { name: 'name', displayName: '类型' },
        { name: 'value', displayName: '数量' },
      ],
      source: [
        { name: '党委', value: 0, ratio: 0 },
        { name: '党总支', value: 0, ratio: 0 },
        { name: '党支部', value: 0, ratio: 0 },
        { name: '联合党支部', value: 0, ratio: 0 },
      ],
    },
    age: {
      dimensions: [
        { name: 'name', displayName: '年龄' },
        { name: 'value', displayName: '数量' },
      ],
      source: [
        { name: '18-25岁', value: 0 },
        { name: '26-35岁', value: 0 },
        { name: '36-50岁', value: 0 },
        { name: '50-70岁', value: 0 },
        { name: '70岁以上', value: 0 },
      ],
    },
  },
  filterPath: '', // 地理筛选路径
  mapPoints: [{}],
  menus: [] as { key: string; name: string; children?: any[] }[],
  showBuildingDetail: false,
  buildingDetail: { building: {}, floors: [] } as {
    building: any
    floors: any[]
  },
  buildingDetailByNext: {},
}
