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' },
  ],
  /**
   * 检索栏位DBType为可检索的范围CN：外部中国专利，WD：外部全球专利，inner_CN：内部中国专利，inner_WD：内部全球专利
   * dataType为数据格式：1为字符串，2为日期，3为数组，5为专利数据库，6为报告
   */
  DBTypes:{
    CN:'外部中国专利检索',
    WD:'外部全球专利检索',
    inner_CN:'内部中国专利检索',
    inner_WD:'内部全球专利检索',
  },
  searchField:[
    {
      label:'项目库',
      value:'project',
      DBType:['inner_CN','inner_WD'],
      children:[
        {label: '专利数据库', value: 'projectName',DBType:['inner_CN','inner_WD'],dataType:5,placeholder:'请选择专利数据库'},
      ]
    },
    {
      label:'文本',
      value:'text',
      DBType:['CN','WD','inner_CN','inner_WD'],
      children:[
        {label: '发明名称/标题', value: 'TI',DBType:['CN','WD','inner_CN','inner_WD'],type:'文本',dataType:1,placeholder:'请输入发明名称/标题，例：计算机 OR "computer and phone"'},
        {label: '权利要求', value: 'CL',DBType:['CN','inner_CN','inner_WD'],type:'文本',dataType:1,placeholder:'请输入权利要求，例：加煤系统 OR "computer and phone"'},
        // {label: '权利要求', value: 'CL',DBType:['inner_CN','inner_WD'],type:'文本',dataType:1,placeholder:'请输入权利要求，例：加煤系统 OR "computer and phone"'},
        {label: '说明书', value: 'FT',DBType:['inner_CN','inner_WD'],type:'文本',dataType:1,placeholder:'请输入说明书，例：加煤系统 OR "computer and phone"'},
        {label: '关键词', value: 'TX',DBType:['CN','WD','inner_CN','inner_WD'],type:'文本',dataType:1,placeholder:'请输入关键词，例：石墨烯 OR "computer and phone"'},
        {label: '摘要', value: 'AB',DBType:['CN','WD','inner_CN','inner_WD'],type:'文本',dataType:1,placeholder:'请输入摘要或简要说明，例：外喷放热气 OR "computer and phone"'},
      ]
    },
    {
      label:'号码',
      value:'number',
      DBType:['CN','WD','inner_CN','inner_WD'],
      children:[
        {label: '申请号', value: 'AN',DBType:['CN','WD','inner_CN','inner_WD'],type:'号码',dataType:1,placeholder:'请输入申请号，例：CN202330275114.7 OR CN202330275114.7'},
        {label: '原始申请号', value: 'ANO',DBType:['CN','WD'],type:'号码',dataType:1,placeholder:'请输入原始申请号，例：CN202330275109.6 OR CN202330275109.6'},
        {label: '授权公告号', value: 'GN',DBType:['CN','inner_CN','inner_WD'],type:'号码',dataType:1,placeholder:'请输入授权公告号，例：CN102860161 OR CN1526554846'},
        {label: '公开号', value: 'PN',DBType:['CN','WD','inner_CN','inner_WD'],type:'号码',dataType:1,placeholder:'请输入公开号，例：CN102860161 OR CN1526554846'},
        { label: '原始公开号', value: 'PNO', DBType:['WD'],type: '号码', dataType: 1, placeholder: '请输入原始公开号，例：CN102860161 OR CN1526554846' },
         {label: '优先权号', value: 'PRN',DBType:['CN','WD','inner_CN','inner_WD'],type:'号码',dataType:1,placeholder:'请输入优先权号，例：DEP3833692.8'},
         {label: 'PCT申请号', value: 'PCTAN',DBType:['inner_CN','inner_WD'],type:'号码',dataType:1,placeholder:'请输入PCT申请号'},
      ]
    },
    {
      label:'类型及状态',
      value:'typeAndStatus',
      show:true,
      DBType:['CN','inner_CN','inner_WD'],
      children:[
        {label: '专利类型',value: 'PT',DBType:['CN','inner_CN','inner_WD'],type:'数字',dataType:3},
        {label: '简单法律状态', value: 'LG',DBType:['CN','inner_CN','inner_WD'],type:'数字',dataType:3},
        // {label: '法律状态', value: 'SS',DBType:['inner_CN','inner_WD'],type:'数字',dataType:3},
      ]
    },
    {
      label:'分类',
      value:'typeNumber',
      DBType:['CN','WD','inner_CN','inner_WD'],
      children:[
        {label: '分类号', value: 'IC',DBType:['CN','WD'],type:'文本',dataType:1,placeholder:'请输入分类号，例：21-01 OR B61D47/00'},
        {label: '主分类号', value: 'MC',DBType:['CN','WD'],type:'文本',dataType:1,placeholder:'请输入分类号，例：21-01 OR B61D47/00'},
        {label: 'IPC分类号', value: 'IC',DBType:['inner_CN','inner_WD'],type:'文本',dataType:1,placeholder:'请输入IPC分类号，例：21-01 OR B61D47/00',
          after:[
            {label: 'IPC部', value: 'IC1',DBType:['inner_CN','inner_WD'],type:'文本',dataType:1,placeholder:'请输入IPC部'},
            {label: 'IPC大类', value: 'IC2',DBType:['inner_CN','inner_WD'],type:'文本',dataType:1,placeholder:'请输入IPC大类'},
            {label: 'IPC小类', value: 'IC3',DBType:['inner_CN','inner_WD'],type:'文本',dataType:1,placeholder:'请输入IPC小类'},
            {label: 'IPC大组', value: 'IC4',DBType:['inner_CN','inner_WD'],type:'文本',dataType:1,placeholder:'请输入IPC大组'},
          ]
        },
        {label: 'LOC分类号', value: 'LOC',DBType:['inner_CN','inner_WD'],type:'文本',dataType:1,placeholder:'请输入LOC分类号，例：21-01 OR B61D47/00',
          after:[
            {label: 'LOC大类', value: 'LOC1',DBType:['inner_CN','inner_WD'],type:'文本',dataType:1,placeholder:'请输入IPC部'},
          ]
        },
        // {label: '优先权号', value: 'PR',type:3,dataType:1,placeholder:'请输入优先权号，例：DEP3833692.8'},
        {label: '范畴分类', value: 'CT',DBType:['CN'],type:'文本',dataType:1,placeholder:'请输入范畴分类，例：32D OR 40B'},
        {label: '欧洲分类', value: 'EC',DBType:['WD'],type:'文本',dataType:1,placeholder:'请输入欧洲分类号'},

        
      ],
    },
    {
      label:'日期',
      value:'date',
      DBType:['CN','WD','inner_CN','inner_WD'],
      children:[
        {label: '申请日', value: 'AD',DBType:['CN','WD','inner_CN','inner_WD'],type:'日期',dataType:1,placeholder:'请输入申请日，例：2020 OR 202001 OR 20230101 OR 20230101~20230601'},
        {label: '授权公告日', value: 'GD',DBType:['CN','inner_CN','inner_WD'],type:'日期',dataType:1,placeholder:'请输入授权公告日，例：2020 OR 202001 OR 20230101 OR 20230101~20230601'},
        {label: '公开日', value: 'PD',DBType:['CN','WD','inner_CN','inner_WD'],type:'日期',dataType:1,placeholder:'请输入公开日，例：2020 OR 202001 OR 20230101 OR 20230101~20230601'},
        {label: '优先权日', value: 'PRD',DBType:['inner_CN','inner_WD'],type:'日期',dataType:1,placeholder:'请输入优先权日，例：2020 OR 202001 OR 20230101 OR 20230101~20230601'},
        {label: 'pct申请日', value: 'PCTD',DBType:['inner_CN','inner_WD'],type:'日期',dataType:1,placeholder:'请输入pct申请日，例：2020 OR 202001 OR 20230101 OR 20230101~20230601'},
        {label: 'pct进入日期', value: 'PCTENTRY_DATE',DBType:['inner_CN','inner_WD'],type:'日期',dataType:1,placeholder:'请输入pct进入日期，例：2020 OR 202001 OR 20230101 OR 20230101~20230601'},
      ]
    },
    {
      label:'公司/人',
      value:'person',
      DBType:['CN','WD','inner_CN','inner_WD'],
      children:[
        {label: '发明人', value: 'IN',DBType:['CN','WD','inner_CN','inner_WD'],type:'文本',dataType:1,placeholder:'请输入发明人，例：钟丽红'},
        {label: '第一发明人', value: 'FI',DBType:['CN','WD'],type:'文本',dataType:1,placeholder:'请输入第一发明人，例：钟丽红'},
        {label: '申请人', value: 'PA',DBType:['CN','WD','inner_CN','inner_WD'],type:'文本',dataType:1,placeholder:'请输入申请人，例：钟丽红'},
        {label: '第一申请人', value: 'FP',DBType:['CN','WD'],type:'文本',dataType:1,placeholder:'请输入第一申请人，例：钟丽红'},
        {label: '权利人', value: 'PE',DBType:['CN','inner_CN','inner_WD'],type:'文本',dataType:1,placeholder:'请输入权利人，例：钟丽红'},
        // {label: '代理机构代码', value: 'AG',type:1,dataType:1,placeholder:'请输入代理机构代码，例：11223'},
        {label: '代理人', value: 'AT',DBType:['CN','inner_CN','inner_WD'],type:'文本',dataType:1,placeholder:'请输入代理人，例：张三'},
        // {label: '代理人', value: 'AG',DBType:['inner_CN','inner_WD'],type:'文本',dataType:1,placeholder:'请输入代理人，例：张三'},
        {label: '代理机构名称', value: 'AGN',DBType:['CN','inner_CN','inner_WD'],type:'文本',dataType:1,placeholder:'请输入代理机构名称，例：威士博'},
      ]
    },
    {
      label:'地址',
      value:'address',
      DBType:['CN','inner_CN','inner_WD'],
      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',DBType:['CN','inner_CN','inner_WD'],type:'文本',dataType:1,placeholder:'请输入申请人地址，例：深圳市南山区'},
        // {label: '申请人地址', value: 'ADD',DBType:['inner_CN','inner_WD'],type:'文本',dataType:1,placeholder:'请输入申请人地址，例：深圳市南山区'},
        {label: '权利人地址', value: 'DR',DBType:['inner_CN','inner_WD'],type:'文本',dataType:1,placeholder:'请输入权利人地址，例：深圳市南山区'},
      ]
    },
    {
      label:'国家/地区',
      value:'country',
      DBType:['CN','WD','inner_CN','inner_WD'],
      children:[
        {label: '申请人国家/地区', value: 'CO',DBType:['CN'],type:'文本',dataType:1,placeholder:'请输入国省代码，例：94 OR CN'},
        // {label: '发明人国家', value: 'ICO',type:2,dataType:1,placeholder:'请输入发明人国家，例：94 OR CN'},
        {label: '受理局', value: 'GJ',DBType:['WD'],type:'文本',dataType:3,placeholder:'请输入国家，例：CN'},
        {label: '申请国家', value: 'CO',DBType:['inner_CN','inner_WD'],type:'文本',dataType:1,placeholder:'请输入国家，例：CN'},
        {label: '申请人国家', value: 'PAC',DBType:['inner_CN','inner_WD'],type:'文本',dataType:1,placeholder:'请输入申请人国家，例：CN',
          after:[
            {label: '申请人省', value: 'PAP',DBType:['inner_CN','inner_WD'],type:'文本',dataType:1,placeholder:'请输入申请人省'},
            {label: '申请人市', value: 'PAA',DBType:['inner_CN','inner_WD'],type:'文本',dataType:1,placeholder:'请输入申请人市'},
            // {label: '申请人区县', value: 'ADD',DBType:['inner_CN','inner_WD'],type:'文本',dataType:1,placeholder:'请输入申请人区县'},
          ]
        },
        {label: '权利人国家', value: 'PEC',DBType:['inner_CN','inner_WD'],type:'文本',dataType:1,placeholder:'请输入权利人国家，例：CN',
          after:[
            {label: '权利人省', value: 'PEP',DBType:['inner_CN','inner_WD'],type:'文本',dataType:1,placeholder:'请输入权利人省'},
            {label: '权利人市', value: 'PEA',DBType:['inner_CN','inner_WD'],type:'文本',dataType:1,placeholder:'请输入权利人市'},
            // {label: '权利人区县', value: 'RDD',DBType:['inner_CN','inner_WD'],type:'文本',dataType:1,placeholder:'请输入权利人区县'},
          ]
        },
      ],
    },
    {
      label:'引用',
      value:'excerpt',
      DBType:['CN','WD'],
      children:[
        {label: '引用专利', value: 'CC',DBType:['CN','WD'],type:'号码',dataType:1,placeholder:'请输入引用专利，例：US1743377A,1930.01.14'},
        {label: '引用非专利', value: 'UCC',DBType:['CN'],type:'号码',dataType:1,placeholder:'请输入引用非专利'},
      ]
    },
  ],
  LG:[//法律状态
  {
    label:'有效',
    value:1
  },
  {
    label:'无效',
    value:2
  },
  {
    label:'审中',
    value:3
  },
],
SS:[//法律状态
  {
    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'?6:1,

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