/*
 *   招标项目-代理机构-项目管理-招标公告(资审公告)--路由表
 * */
/* ===================================招标/资审公告驱动进入新增-路由表======================================*/
export const bulletin = [
  {
  /* 招标公告*/
    path: 'bulletin',
    component: () => import('@/views/bidding/bulletin/tenderBulletinContent/bulletinContent'),
    children: [
    // 招标公告列表
      {
        path: 'bidBulletinList',
        component: () => import('@/views/bidding/bulletin/bulletinList/bidBulletin-list')
      }
    ]
  },
  {
  /* 资审公告*/
    path: 'zsBulletin',
    component: () => import('@/views/bidding/bulletin/tenderBulletinContent/bulletinContent'),
    children: [
      // 资审公告列表
      {
        path: 'bidBulletinList',
        component: () => import('@/views/bidding/bulletin/bulletinList/bidBulletin-list')
      }
    ]
  },
  // 新招标公告新增页
  {
    path: 'bulletin/newTenderBulletin-add',
    component: () => import('@/views/bidding/bulletin/newTenderBulletin/tenderBulletin-add')
  },
  // 新招标公告详情
  {
    path: 'bulletin/newTenderBulletin-detail',
    meta: {
      path: 'tenderBulletin'
    },
    component: () => import('@/views/bidding/bulletin/newTenderBulletin/tenderBulletin-detail')
  },
  // 招标公告-tab页
  {
    path: 'bulletin/tabs',
    component: () => import('@/views/bidding/bulletin/tenderBulletinContent/bulletinTabs'),
    children: [
    /* 招标公告-招标条件*/
      {
        path: 'tenderBulletIinInfo-add',
        component: () => import('@/views/bidding/bulletin/tenderBulletIinInfo/tenderBulletIinInfo-add')
      },
      /* 招标公告-项目概况与招标范围*/
      {
        path: 'tenderBulletinExpandInfo-add',
        component: () => import('@/views/bidding/bulletin/tenderBulletinExpand/tenderBulletinExpandInfo-add')
      },
      /* 招标公告-招标文件的获取*/
      {
        path: 'tenderDocumentPrice-add',
        component: () => import('@/views/bidding/bulletin/tenderDocumentPrice/tenderDocumentPrice-add')
      },
      /* 招标公告-投标人资格要求*/
      {
        path: 'tenderQualification-add',
        component: () => import('@/views/bidding/bulletin/tenderQualification/tenderQualification-add')
      },
      /* 招标公告-投标文件的递交*/
      {
        path: 'tenderDocumentSubmit-add',
        component: () => import('@/views/bidding/bulletin/tenderDocSubmit/tenderDocumentSubmit-add')
      },
      /* 招标公告-开标时间及地点*/
      {
        path: 'bulletinOpenInfo-add',
        component: () => import('@/views/bidding/bulletin/bulletinOpenInfo/bulletinOpenInfo-add')
      },
      /* 招标公告-其他(保证金页面)*/
      {
        path: 'tenderBulletinOtherInfo-add',
        component: () => import('@/views/bidding/bulletin/tenderBulletinOtherInfo/tenderBulletinOtherInfo-add')
      },
      /* 交通信息页面*/
      {
        path: 'tenderBulleInformation-add',
        component: () => import('@/views/bidding/bulletin/tenderBulleInformation/tenderBulleInformation-add')
      },
      /* 招标公告-监督部门*/
      {
        path: 'bulletinMonitorDepName-add',
        component: () => import('@/views/bidding/bulletin/bulletinMonitorDepName/bulletinMonitorDepName-add')
      },
      /* 招标公告-联系方式*/
      {
        path: 'bulletinContactInformation-add',
        component: () => import('@/views/bidding/bulletin/tenderBulletinContact/bulletinContactInformation-add')
      },
      /* 招标公告-招标公告*/
      {
        path: 'makeTenderingBulletin-add',
        component: () => import('@/views/bidding/bulletin/tenderBulletin/makeTenderingBulletin-add')
      },
      /* 招标公告-使用工具制作公告*/
      {
        path: 'toolMakeBulletin',
        component: () => import('@/views/bidding/bulletin/tenderBulletin/toolMakeBulletin')
      }
    ]
  },
  /* 招标公告-预览*/
  {
    path: 'bulletin/makeTenderingBulletinPdf',
    meta: { path: 'tenderBulletin' },
    component: () => import('@/views/bidding/bulletin/tenderBulletin/makeTenderingBulletinPdf-detail')
  },
  /* 工作流审批-招标公告-预览*/
  {
    path: 'tenderBulletinPdf',
    meta: {
      flowStatus: true // 工作流进入
    },
    component: () => import('@/views/bidding/bulletin/tenderBulletin/makeTenderingBulletinPdf-detail')
  }]
/* ===================================招标/资审公告菜单列表-路由表======================================*/
export const tenderBulletinList = [
  /* ==============================招标公告==========================*/
  // 招标公告列表
  {
    path: 'tenderBulletin',
    meta: {
      path: 'tenderBulletin',
      bulletinType: '01'// 01 招标公告
    },
    component: () => import('@/views/bidding/bulletin/bulletinList/tenderBulletin-list')
  },
  /* 招标公告-预览*/
  {
    path: 'tenderBulletinPdfDetail',
    meta: {
      path: 'tenderBulletin',
      bulletinType: '01'// 01 招标公告
    },
    component: () => import('@/views/bidding/bulletin/tenderBulletin/tenderBulletinPdf-detail')
  },
  // 招标公告发布列表
  {
    path: 'tenderBulletinPublish',
    meta: {
      path: 'tenderBulletinPublish',
      bulletinType: '01'// 招标公告
    },
    component: () => import('@/views/bidding/bulletin/bulletinPublish/tenderBulletinPublish-list')
  },
  /* 招标公告-发布*/
  {
    path: 'publishTenderingBulletin',
    meta: {
      path: 'tenderBulletinPublish',
      bulletinType: '01'// 招标公告
    },
    component: () => import('@/views/bidding/bulletin/bulletinPublish/publishTenderingBulletin')
  },
  /* 招标公告-发布-预览*/
  {
    path: 'bulletinPdfDetail',
    meta: {
      path: 'tenderBulletinPublish',
      bulletinType: '01'// 招标公告
    },
    component: () => import('@views/bidding/bulletin/bulletinPublish/publishTenderBulletinPdf-detail')
  },
  /* ==============================资审公告==========================*/
  // 资审公告列表
  {
    path: 'tenderInformationBulletin',
    meta: {
      path: 'tenderInformationBulletin',
      bulletinType: '21'// 21 资审公告
    },
    component: () => import('@/views/bidding/bulletin/bulletinList/tenderBulletin-list')
  },
  // 资审公告发布列表
  {
    path: 'tenderInformationBulletinPublish',
    meta: {
      path: 'tenderInformationBulletinPublish',
      bulletinType: '21'// 资审公告
    },
    component: () => import('@/views/bidding/bulletin/bulletinPublish/tenderBulletinPublish-list')
  },
  /* 资审公告-预览*/
  {
    path: 'tenderInformationBulletinDetail',
    meta: {
      path: 'tenderInformationBulletin',
      bulletinType: '21'// 21 资审公告
    },
    component: () => import('@/views/bidding/bulletin/tenderBulletin/tenderBulletinPdf-detail')
  },
  /* 资审公告-发布*/
  {
    path: 'publishTenderInformationBulletin',
    meta: {
      path: 'tenderInformationBulletinPublish',
      bulletinType: '21'// 资审公告
    },
    component: () => import('@/views/bidding/bulletin/bulletinPublish/publishTenderingBulletin')
  },
  /* 资审公告-发布-预览*/
  {
    path: 'InformationBulletinPdfDetail',
    meta: {
      path: 'tenderInformationBulletinPublish',
      bulletinType: '21'// 资审公告
    },
    component: () => import('@views/bidding/bulletin/bulletinPublish/publishTenderBulletinPdf-detail')
  }
]
/* ===================================招标/资审公告审核-路由表======================================*/
export const auditBidNotice = [
  // 招标公告审核列表
  {
    path: 'auditBulletin',
    meta: {
      path: 'auditBulletin',
      bulletinType: '01'// 01 招标公告
    },
    component: () => import('@/views/bidding/bulletin/tenderBulletinAudit/auditBulletin-list')
  },
  // 资审公告审核列表
  {
    path: 'auditInformationBulletin',
    meta: {
      path: 'auditInformationBulletin',
      bulletinType: '21'// 21 资审公告
    },
    component: () => import('@/views/bidding/bulletin/tenderBulletinAudit/auditBulletin-list')
  },
  // 审核招标公告
  {
    path: 'auditBulletinContent',
    meta: {
      path: 'auditBulletin',
      bulletinType: '01'// 01 招标公告
    },
    component: () => import('@/views/bidding/bulletin/tenderBulletinAudit/auditBulletinContent')
  },
  // 审核资审公告
  {
    path: 'auditInformationBulletinContent',
    meta: {
      path: 'auditInformationBulletin',
      bulletinType: '21'// 21 资审公告
    },
    component: () => import('@/views/bidding/bulletin/tenderBulletinAudit/auditBulletinContent')
  }
]
export default [...bulletin, ...tenderBulletinList, ...auditBidNotice]
