import type { ReportData } from '../types/data';

export const defaultReportData: ReportData = {
  companyName: '百信',
  stats: {
    successRate: '99.99%',
    collectedCount: 999,
    growthRate: '9%',
    fiveMinRate: '99%',
    avgDuration: 2,
  },
  mapData: [
    { name: '广东省', value: 9058 },
    { name: '江苏省', value: 4712 },
    { name: '四川省', value: 4560 },
    { name: '山东省', value: 3229 },
    { name: '浙江省', value: 3031 },
    { name: '河南省', value: 2779 },
    { name: '河北省', value: 2714 },
    { name: '湖北省', value: 1786 },
    { name: '湖南省', value: 1777 },
    { name: '上海市', value: 1621 },
  ],
  regionStatistics: [
    { region: '广东省', count: 6726, conversion: '85.96%', success: '99.62%', duration: '10.62' },
    { region: '江苏省', count: 4712, conversion: '89.37%', success: '99.53%', duration: '4.91' },
    { region: '四川省', count: 4560, conversion: '89.04%', success: '99.78%', duration: '3.43' },
    { region: '山东省', count: 3229, conversion: '87.27%', success: '99.33%', duration: '7.34' },
    { region: '浙江省', count: 3031, conversion: '89.15%', success: '99.93%', duration: '5.65' },
    { region: '河南省', count: 3031, conversion: '89.15%', success: '99.93%', duration: '5.65' },
    { region: '河北省', count: 3031, conversion: '89.15%', success: '99.93%', duration: '5.65' },
    { region: '深圳市', count: 3031, conversion: '89.15%', success: '99.93%', duration: '5.65' },
    { region: '湖北省', count: 2800, conversion: '88.00%', success: '99.00%', duration: '6.00' },
    { region: '湖南省', count: 2500, conversion: '87.00%', success: '99.10%', duration: '6.50' },
  ],
  durationStatistics: [
    { region: '广东省', p0_5: '77.11%', p5_10: '16.77%', p10_20: '99.62%', p20plus: '10.62' },
    { region: '江苏省', p0_5: '86.47%', p5_10: '11.86%', p10_20: '99.53%', p20plus: '4.91' },
    { region: '四川省', p0_5: '92.09%', p5_10: '89.04%', p10_20: '99.78%', p20plus: '3.43' },
    { region: '山东省', p0_5: '36.25%', p5_10: '87.27%', p10_20: '99.33%', p20plus: '7.34' },
    { region: '浙江省', p0_5: '85.21%', p5_10: '89.15%', p10_20: '99.93%', p20plus: '5.65' },
    { region: '河南省', p0_5: '92.58%', p5_10: '89.15%', p10_20: '99.93%', p20plus: '5.65' },
    { region: '河北省', p0_5: '82.06%', p5_10: '89.15%', p10_20: '99.93%', p20plus: '5.65' },
    { region: '深圳市', p0_5: '61.09%', p5_10: '89.15%', p10_20: '99.93%', p20plus: '5.65' },
    { region: '湖北省', p0_5: '75.00%', p5_10: '15.00%', p10_20: '5.00%', p20plus: '5.00' },
    { region: '湖南省', p0_5: '70.00%', p5_10: '20.00%', p10_20: '5.00%', p20plus: '5.00' },
  ],
  funnelData: [
    { label: '录入企业信息', value: 74 },
    { label: '查询税局维护状态', value: 6 },
    { label: '四要素异常', value: 6 },
    { label: '税局维护中', value: 0 },
    { label: '签署授权', value: 29 },
    { label: '登录税局（新版）', value: 100 },
    { label: '登录帮助', value: 3 },
    { label: '忘记密码', value: 18 },
  ],
  sunburstData: [
    {
      name: '制造业',
      itemStyle: { color: '#1B65B5' },
      children: [
        { name: '金属制品业', value: 146, itemStyle: { color: '#1B65B5' } },
        { name: '通用设备制造业', value: 109, itemStyle: { color: '#1B65B5' } },
        { name: '电气机械和器材制造业', value: 102, itemStyle: { color: '#1B65B5' } },
      ],
    },
    {
      name: '批发和零售业',
      itemStyle: { color: '#2386EE' },
      children: [
        { name: '批发业', value: 250, itemStyle: { color: '#2386EE' } },
        { name: '零售业', value: 120, itemStyle: { color: '#2386EE' } },
      ],
    },
  ],
  poorCustomerData: [
    {
      name: '制造业',
      itemStyle: { color: '#1B65B5' },
      children: [
        { name: '金属制品业', value: 30, itemStyle: { color: '#1B65B5' } },
        { name: '通用设备制造业', value: 20, itemStyle: { color: '#1B65B5' } },
        { name: '电气机械和器材制造业', value: 15, itemStyle: { color: '#1B65B5' } },
      ],
    },
    {
      name: '批发和零售业',
      itemStyle: { color: '#2386EE' },
      children: [
        { name: '批发业', value: 50, itemStyle: { color: '#2386EE' } },
        { name: '零售业', value: 25, itemStyle: { color: '#2386EE' } },
      ],
    },
  ],
  goodCustomerData: [
    {
      name: '制造业',
      itemStyle: { color: '#1B65B5' },
      children: [
        { name: '金属制品业', value: 116, itemStyle: { color: '#1B65B5' } },
        { name: '通用设备制造业', value: 89, itemStyle: { color: '#1B65B5' } },
        { name: '电气机械和器材制造业', value: 87, itemStyle: { color: '#1B65B5' } },
      ],
    },
    {
      name: '批发和零售业',
      itemStyle: { color: '#2386EE' },
      children: [
        { name: '批发业', value: 200, itemStyle: { color: '#2386EE' } },
        { name: '零售业', value: 95, itemStyle: { color: '#2386EE' } },
      ],
    },
  ],
  riskIndicators: {
    invoiceRisk: { label: '发票高风险记录', value: 0.08, marketValue: 0.05, description: '统计近1年有效开票记录中，存在发票高风险的企业占比情况。' },
    highTech: { label: '高新技术企业', value: 4.25, marketValue: 3.80, description: '统计近1年有效开票记录中，被认定为高新技术企业的占比情况。' },
    importExport: { label: '进出口企业', value: 1.94, marketValue: 1.50, description: '统计近1年有效开票记录中，具有进出口资质的企业占比情况。' },
    prepaidTax: { label: '预缴税款企业', value: 12.21, marketValue: 10.50, description: '统计近1年有效开票记录中，存在预缴税款行为的企业占比情况。' },
  },
  exportFreeTaxRebate: [
    { label: '出口免抵退税额0到100万', customerValue: 71.43, marketValue: 75 },
    { label: '出口免抵退税额100到500万', customerValue: 16.67, marketValue: 18 },
    { label: '出口免抵退税额500到1000万', customerValue: 0, marketValue: 2 },
    { label: '出口免抵退税额1000万以上', customerValue: 11.9, marketValue: 5 },
  ],
  exportTaxRebate: [
    { label: '出口退税额0到100万', customerValue: 68.33, marketValue: 70 },
    { label: '出口退税额100到500万', customerValue: 21.67, marketValue: 20 },
    { label: '出口退税额500到1000万', customerValue: 8.33, marketValue: 7 },
    { label: '出口退税额1000万以上', customerValue: 1.67, marketValue: 3 },
  ],
  loginPersonAssociation: [
    { label: '登录人关联企业数量: 0~3', customerValue: 90.06, marketValue: 92 },
    { label: '登录人关联企业数量: 4~10', customerValue: 8.58, marketValue: 7 },
    { label: '登录人关联企业数量: 10+', customerValue: 1.36, marketValue: 1 },
  ],
  legalPersonAssociation: [
    { label: '法人代表关联企业数量: 0~3', customerValue: 92.91, marketValue: 90 },
    { label: '法人代表关联企业数量: 4~10', customerValue: 6.49, marketValue: 8 },
    { label: '法人代表关联企业数量: 10+', customerValue: 0.61, marketValue: 2 },
  ],
  riskScanning: [
    { label: '无风险', customerValue: 77.58, marketValue: 75 },
    { label: '低风险', customerValue: 12.41, marketValue: 13 },
    { label: '中风险', customerValue: 10.01, marketValue: 9 },
    { label: '高风险', customerValue: 0, marketValue: 3 },
  ],
  portraitDescriptions: {
    all: '基于行业分布与企业特征，全面展示企业画像数据，帮助您了解整体客户结构。',
    poor: '识别可能存在合作风险或转化困难的客户群体，帮助您提前制定应对策略。',
    good: '展示高价值、高忠诚度的优质客户特征，帮助您优化服务策略和资源配置。',
  },
  chartDescriptions: {
    exportFreeTaxRebate: '近1年有效开票金额最大月份占比',
    exportTaxRebate: '近1年有效开票金额最大月份占比',
    loginPersonAssociation: '近1年有效开票金额最大月份占比',
    legalPersonAssociation: '近1年有效开票金额最大月份占比',
    riskScanning: '近1年有效开票金额最大月份占比',
  },
  summaryData: {
    totalUsers: '9,999+',
    userGrowth: '9%',
    avgDuration: '2.5分钟',
    successRate: '99.99%',
    topRegions: [
      { label: '广东省', value: 9058 },
      { label: '江苏省', value: 4712 },
      { label: '四川省', value: 4560 },
      { label: '山东省', value: 3229 },
      { label: '浙江省', value: 3031 },
    ],
    industryDistribution: [
      { label: '制造业', value: 357 },
      { label: '批发零售业', value: 370 },
      { label: '信息技术业', value: 120 },
      { label: '金融业', value: 85 },
      { label: '建筑业', value: 67 },
    ],
    riskDistribution: [
      { label: '无风险', value: 600 },
      { label: '低风险', value: 200 },
      { label: '中风险', value: 100 },
      { label: '高风险', value: 99 },
    ],
    recommendations: [
      '加强广东省等重点区域的用户支持服务，提升转化率',
      '优化制造业和批发零售业的专项服务流程',
      '建立中高风险企业的预警机制和专项服务通道',
      '提升科技企业和高新技术企业的服务覆盖率',
      '加强进出口企业的税务合规指导服务',
    ],
  },
};
