export default {
  tokenHeader: "Authorization",
  token: "token",
  projectId: "projectId",
  userinfo: "userinfo",
  prefix: "prefix",
  permissions: [
    { label: '公用', value: 2, class: 'success' },
    { label: '指定专利数据库', value: 1, class: 'danger' },
  ],
  permissions2: [
    { label: '系统公用', value: 1, class: 'success' },
    { label: '系统私用', value: 2, class: 'danger' },
    { label: '指定专利数据库公用', value: 3, class: 'success' },
    { label: '指定专利数据库私用', value: 4, class: 'danger' },
  ],
  patentType: [
    { label: '实用新型', value: 1, class: 'primary' },
    { label: '发明申请', value: 2, class: 'success' },
    { label: '外观设计', value: 3, class: 'warning' },
    { label: '授权发明', value: 4, class: 'danger' },
  ],
  patentSimpleStatus: [
    { label: '审中', value: 1, class: 'primary' },
    { label: '失效', value: 2, class: 'danger' },
    { label: '有效', value: 3, class: 'success' },
    { label: 'PCT状态', value: 4, class: 'warning' },
    { label: 'PCT指定期满', value: 5, class: 'warning' },
    { label: 'PCT指定期内', value: 6, class: 'warning' },
  ],
  templateLabelType: [
    { label: '系统数据', value: 0, class: '', object: 'sys.', symbol: '{{?}}' },
    { label: '专利数据库信息', value: 1, class: '', object: 'thematic.', symbol: '{{?}}' },
    { label: '专利信息', value: 2, class: '', object: '', symbol: '?' },
    { label: '专利法律状态', value: 3, class: '', object: 'sys.', symbol: '{{?}}' },
    { label: '专利申请人', value: 4, class: '', object: 'sys.', symbol: '{{?}}' },
    { label: '合并申请人', value: 5, class: '', object: 'sys.', symbol: '{{?}}' },
    { label: '许可人', value: 6, class: '', object: 'sys.', symbol: '{{?}}' },
    { label: '被许可人', value: 7, class: '', object: 'sys.', symbol: '{{?}}' },
  ],
  /**
   * type = 1 单维度矩阵数据
   * type = 2 多维度矩阵数据
   * type = 3 树形数据
   */
  chartType: [
    { label: '单折线图', value: 1, type: 1, component: 'CLine', icon: 'line' },
    { label: '多折线图', value: 2, type: 2, component: 'CMultipleLine', icon: 'multipleLine' },
    { label: '面积图', value: 3, type: 1, component: 'CArea', icon: 'area' },
    { label: '柱形图', value: 4, type: 1, component: 'CBar', icon: 'bar' },
    { label: '堆积柱形图', value: 5, type: 2, component: 'CStackedBar', icon: 'stackedBar' },
    { label: '簇状柱形图', value: 6, type: 2, component: 'CMultipleBar', icon: 'multipleBar' },
    { label: '条形图', value: 7, type: 1, component: 'CColumn', icon: 'column' },
    { label: '堆积条形图', value: 8, type: 2, component: 'CStackedColumn', icon: 'stackedColumn' },
    { label: '簇状条形图', value: 9, type: 2, component: 'CMultipleColumn', icon: 'multipleColumn' },
    { label: '环形图', value: 10, type: 1, component: 'CDoughnut', icon: 'doughnut' },
    { label: '饼图', value: 11, type: 1, component: 'CPie', icon: 'pie' },
    { label: '旭日图', value: 12, type: 2, component: 'CSunburst', icon: 'sunburst' },
    { label: '矩形树形图', value: 13, type: 2, component: 'CTreemap', icon: 'tree' },
    { label: '热力图', value: 14, type: 2, component: 'CHeat', icon: 'heat' },
    { label: '气泡图', value: 15, type: 2, component: 'CScatter', icon: 'scatter' },
    { label: '雷达图', value: 17, type: 2, component: 'CRadar', icon: 'radar' },
    { label: '雷达图(分离)', value: 22, type: 2, component: 'CRadar2', icon: 'radar2' },
    { label: '全球', value: 18, type: 1, component: 'CMap', icon: 'map' },
    { label: '中国', value: 23, type: 1, component: 'CMap1', icon: 'map2' },
    { label: '中国(省)', value: 21, type: 1, component: 'CMap2', icon: 'cite' },
    { label: '桑基图', value: 19, type: 2, component: 'CSankey', icon: 'sankey' },
    { label: '树图', value: 20, type: 3, component: 'CTree', icon: 'tree2' },
    { label: '表格', value: 30, type: 2, component: 'CTable', icon: 'table' },
  ],
  /**
   * 坐标轴字体
   */
  fontFamily: [
    { label: 'sans-serif', value: 'sans-serif' },
    { label: 'serif', value: 'serif' },
    { label: 'monospace', value: 'monospace' },
    { label: 'Arial', value: 'Arial' },
    { label: 'Courier New', value: 'Courier New' },
    { label: 'Microsoft YaHei', value: 'Microsoft YaHei' },
  ],
  /**
   * 检索栏位type为1表示中国仅有，2表示世界仅有，3表示两者都包含
   * dataType为数据格式：1为字符串，2为日期，3为数组
   */
  searchField:[
    {
      label:'文本',
      value:'text',
      children:[
        {label: '发明名称/标题', value: 'TI',type:3,dataType:1,placeholder:'请输入发明名称/标题，例：计算机 OR "computer and phone"'},
        {label: '主权利要求', value: 'CL',type:1,dataType:1,placeholder:'请输入主权利要求，例：加煤系统 OR "computer and phone"'},
        {label: '关键词', value: 'TX',type:3,dataType:1,placeholder:'请输入关键词，例：石墨烯 OR "computer and phone"'},
        {label: '摘要', value: 'AB',type:3,dataType:1,placeholder:'请输入摘要或简要说明，例：外喷放热气 OR "computer and phone"'},
      ]
    },
    {
      label:'号码',
      value:'number',
      children:[
        {label: '申请号', value: 'AN',type:3,dataType:1,placeholder:'请输入申请号，例：CN202330275114.7 OR CN202330275114.7'},
        {label: '原始申请号', value: 'ANO',type:3,dataType:1,placeholder:'请输入原始申请号，例：CN202330275109.6 OR CN202330275109.6'},
        {label: '授权公告号', value: 'GN',type:1,dataType:1,placeholder:'请输入授权公告号，例：CN102860161 OR CN1526554846'},
        {label: '公开号', value: 'PN',type:3,dataType:1,placeholder:'请输入公开号，例：CN102860161 OR CN1526554846'},
        { label: '原始公开号', value: 'PNO', type: 2, dataType: 1, placeholder: '请输入原始公开号，例：CN102860161 OR CN1526554846' },
         {label: '优先权号', value: 'PR',type:3,dataType:1,placeholder:'请输入优先权号，例：DEP3833692.8'},
      ]
    },
    {
      label:'类型及状态',
      value:'typeAndStatus',
      show:true,
      children:[
        {label: '专利类型', value: 'PT',type:1,dataType:3},
        {label: '法律状态', value: 'LG',type:1,dataType:3},
      ]
    },
    {
      label:'分类',
      value:'typeNumber',
      children:[
        {label: '分类号', value: 'IC',type:3,dataType:1,placeholder:'请输入分类号，例：21-01 OR B61D47/00'},
        {label: '主分类号', value: 'MC',type:3,dataType:1,placeholder:'请输入分类号，例：21-01 OR B61D47/00'},
        // {label: '优先权号', value: 'PR',type:3,dataType:1,placeholder:'请输入优先权号，例：DEP3833692.8'},
        {label: '范畴分类', value: 'CT',type:1,dataType:1,placeholder:'请输入范畴分类，例：32D OR 40B'},
        {label: '欧洲分类', value: 'EC',type:2,dataType:1,placeholder:'请输入欧洲分类号'},
      ]
    },
    {
      label:'日期',
      value:'date',
      children:[
        {label: '申请日', value: 'AD',type:3,dataType:1,placeholder:'请输入申请日，例：2020 OR 202001 OR 20230101 OR 20230101~20230601'},
        {label: '授权公告日', value: 'GD',type:1,dataType:1,placeholder:'请输入授权公告日，例：2020 OR 202001 OR 20230101 OR 20230101~20230601'},
        {label: '公开日', value: 'PD',type:3,dataType:1,placeholder:'请输入公开日，例：2020 OR 202001 OR 20230101 OR 20230101~20230601'},
      ]
    },
    {
      label:'公司/人',
      value:'person',
      children:[
        {label: '发明人', value: 'IN',type:3,dataType:1,placeholder:'请输入发明人，例：钟丽红'},
        {label: '第一发明人', value: 'FI',type:3,dataType:1,placeholder:'请输入第一发明人，例：钟丽红'},
        {label: '申请人', value: 'PA',type:3,dataType:1,placeholder:'请输入申请人，例：钟丽红'},
        {label: '第一申请人', value: 'FP',type:3,dataType:1,placeholder:'请输入第一申请人，例：钟丽红'},
        {label: '权利人', value: 'PE',type:1,dataType:1,placeholder:'请输入权利人，例：钟丽红'},
        // {label: '代理机构代码', value: 'AG',type:1,dataType:1,placeholder:'请输入代理机构代码，例：11223'},
        {label: '代理人', value: 'AT',type:1,dataType:1,placeholder:'请输入代理人，例：张三'},
        {label: '代理机构名称', value: 'AGN',type:1,dataType:1,placeholder:'请输入代理机构名称，例：威士博'},
      ]
    },
    {
      label:'地址',
      value:'address',
      show:true,
      children:[
        // {label: '国省代码', value: 'CO',type:3,dataType:1,placeholder:'请输入国省代码，例：94 OR CN'},
        // {label: '发明人国家', value: 'ICO',type:2,dataType:1,placeholder:'请输入发明人国家，例：94 OR CN'},
        // {label: '国家', value: 'GJ',type:3,dataType:3,placeholder:'请输入国家，例：CN'},
        {label: '申请人地址', value: 'DZ',type:1,dataType:1,placeholder:'请输入申请人地址，例：深圳市南山区'},
      ]
    },
    {
      label:'国家/地区',
      value:'country',
      children:[
        {label: '申请人国家/地区', value: 'CO',type:1,dataType:1,placeholder:'请输入国省代码，例：94 OR CN'},
        // {label: '发明人国家', value: 'ICO',type:2,dataType:1,placeholder:'请输入发明人国家，例：94 OR CN'},
        {label: '受理局', value: 'GJ',type:2,dataType:3,placeholder:'请输入国家，例：CN'},
        // {label: '申请人地址', value: 'DZ',type:1,dataType:1,placeholder:'请输入申请人地址，例：深圳市南山区'},
      ]
    },
    {
      label:'引用',
      value:'excerpt',
      children:[
        {label: '引用专利', value: 'CC',type:3,dataType:1,placeholder:'请输入引用专利，例：US1743377A,1930.01.14'},
        {label: '引用非专利', value: 'UCC',type:1,dataType:1,placeholder:'请输入引用非专利'},
      ]
    },
  ],
  LG:[//法律状态
  {
    label:'有效',
    value:1
  },
  {
    label:'无效',
    value:2
  },
  {
    label:'审中',
    value:3
  },
],
PT:[//专利类型
  {
    label:'发明',
    value:'1 OR 8'
  },
  {
    label:'新型',
    value:'2 OR 9'
  },
  {
    label:'外观',
    value:3
  },
],

//可见类型
showType:[
  {
    label:'公开',
    value:0
  },
  {
    label:'仅本人可见',
    value:1
  },
  {
    label:'部分人可见',
    value:2
  },
  {
    label:'不给谁看',
    value:3
  },
],
sourceId:process.env.NODE_ENV === 'production'?3:1,

//更新周期
updateCycle:[
  {
    label:'每天',
    value:'day'
  },
  {
    label:'每周',
    value:'week'
  },
  {
    label:'每月',
    value:'month'
  },
  {
    label:'每年',
    value:'year'
  },
],
}
