/*
 * 集约化评标
 * */
import layout from '@/components/layout/layout'
export const intensiveeval = [{
  path: '/intensiveeval',
  component: layout,
  children: [
    /* ===================================计划管理员===================================*/
    /*
    * 集约化评标计划
    * */
    // 集约化评标计划-Content
    {
      path: 'intensiveevalPlanContent',
      meta: { path: 'intensiveevalPlanContent' },
      component: () => import('@/views/intensiveeval/intensiveevalPlan/intensiveevalPlanContent/intensiveevalPlanContent'),
      redirect: '/intensiveeval/intensiveevalPlanContent/intensiveevalDetail-list',
      children: [
        // 集约化评标计划明细列表
        {
          path: 'intensiveevalDetail-list',
          component: () => import('@/views/intensiveeval/intensiveevalPlan/intensiveevalDetail/intensiveevalDetailList/intensiveevalDetail-list')
        },
        // 集约化评分组列表
        {
          path: 'intensiveevalGroup-list',
          component: () => import('@/views/intensiveeval/intensiveevalPlan/intensiveevalGroup/intensiveevalGroupList/intensiveevalGroup-list')
        }]
    },
    // 集约化评标计划明细—填写分组名称-编辑
    {
      path: 'fillInGroupName-add',
      meta: {
        path: 'intensiveevalPlanContent',
        isEdit: true// 是否可编辑 布尔值
      },
      component: () => import('@/views/intensiveeval/intensiveevalPlan/intensiveevalDetail/fillInGroupName/fillInGroupName-editView')
    },
    // 集约化评标计划明细—填写分组名称-查看
    {
      path: 'fillInGroupName-detail',
      meta: {
        path: 'intensiveevalPlanContent',
        isEdit: false// 是否可编辑 布尔值
      },
      component: () => import('@/views/intensiveeval/intensiveevalPlan/intensiveevalDetail/fillInGroupName/fillInGroupName-editView')
    },
    // 集约化评标计划-查看变更信息
    {
      path: 'intensiveevalDetailChangeInfo-detail',
      meta: {
        path: 'intensiveevalPlanContent'
      },
      component: () => import('@/views/intensiveeval/intensiveevalPlan/intensiveevalDetail/intensiveevalDetailChangeInfo/intensiveevalDetailChangeInfo-detail')
    },
    // 集约化评标—集约化评标分组-编辑分组
    {
      path: 'intensiveevalGroup-add',
      meta: {
        path: 'intensiveevalPlanContent',
        functionType: '00', // 当前页面所处功能 00 计划管理员-集约化评标分组-编辑分组
        isEdit: true// 是否可编辑 布尔值
      },
      component: () => import('@/views/intensiveeval/intensiveevalPlan/intensiveevalGroup/intensiveevalGroupEditView/intensiveevalGroupContent/intensiveevalGroupContent')
    },
    // 集约化评标—集约化评标分组-查看分组
    {
      path: 'intensiveevalGroup-detail',
      meta: {
        path: 'intensiveevalPlanContent',
        functionType: '00', // 当前页面所处功能 00 计划管理员-集约化评标分组-编辑分组
        isEdit: false// 是否可编辑 布尔值
      },
      component: () => import('@/views/intensiveeval/intensiveevalPlan/intensiveevalGroup/intensiveevalGroupEditView/intensiveevalGroupContent/intensiveevalGroupContent')
    },
    /*
    * 集约化评标—集约化评标记录
    * */
    //  集约化评标—集约化评标记录列表
    {
      path: 'intensiveevalRecord-list',
      meta: { path: 'intensiveevalRecord-list' },
      component: () => import('@/views/intensiveeval/intensiveevalRecord/intensiveevalRecordList/intensiveevalRecord-list')
    },
    //  集约化评标—集约化评标记录-查看分组信息
    {
      path: 'intensiveevalJLGroup-detail',
      meta: {
        path: 'intensiveevalRecord-list',
        functionType: '02', // 当前页面所处功能 02 集约化评标—集约化评标记录-查看分组信息
        isEdit: false// 是否可编辑 布尔值
      },
      component: () => import('@/views/intensiveeval/intensiveevalPlan/intensiveevalGroup/intensiveevalGroupEditView/intensiveevalGroupContent/intensiveevalGroupContent')
    },
    /* ===================================部门主任===================================*/
    // 集约化评标-设置牵头项目经理列表
    {
      path: 'intensiveevalLeadPerson-list',
      component: () => import('@/views/intensiveeval/intensiveevalLeadPerson/intensiveevalLeadPersonList/intensiveevalLeadPerson-list')
    },
    // 集约化评标-设置牵头项目经理-编辑
    {
      path: 'intensiveevalLeadPerson-add',
      meta: {
        path: 'intensiveevalLeadPerson-list',
        functionType: '01', // 当前页面所处功能  01 部门主任设置牵头人
        isEdit: true// 是否可编辑 布尔值
      },
      component: () => import('@/views/intensiveeval/intensiveevalLeadPerson/intensiveevalLeadPersonContent/intensiveevalLeadPersonContent')
    },
    // 集约化评标-设置牵头项目经理-查看
    {
      path: 'intensiveevalLeadPerson-detail',
      meta: {
        path: 'intensiveevalLeadPerson-list',
        functionType: '01', // 当前页面所处功能 01 部门主任设置牵头人
        isEdit: false// 是否可编辑 布尔值
      },
      component: () => import('@/views/intensiveeval/intensiveevalLeadPerson/intensiveevalLeadPersonContent/intensiveevalLeadPersonContent')
    },
    /* ===================================牵头项目经理===================================*/
    // 集约化评标-组建评标委员会列表
    {
      path: 'intensiveevalCommittee-list',
      component: () => import('@/views/intensiveeval/intensiveevalCommittee/intensiveevalCommitteeList/intensiveevalCommittee-list')
    },
    /* 集约化评标-组建评标委员会-编辑*/
    {
      path: 'formEvalCommittee-add',
      meta: {
        path: 'intensiveevalCommittee-list',
        isEdit: true// 是否可编辑 布尔值
      },
      component: () => import('@/views/intensiveeval/intensiveevalCommittee/formEvalCommittee/formEvalCommitteeContent/formEvalCommitteeContent-editview')
    },
    /* 集约化评标-组建评标委员会-查看*/
    {
      path: 'formEvalCommittee-detail',
      meta: {
        path: 'intensiveevalCommittee-list',
        isEdit: false// 是否可编辑 布尔值
      },
      component: () => import('@/views/intensiveeval/intensiveevalCommittee/formEvalCommittee/formEvalCommitteeContent/formEvalCommitteeContent-editview')
    },
    /* 组建评标委员会-抽取结果*/
    {
      path: 'expertExtractingResults-detail',
      meta: {
        path: 'intensiveevalCommittee-list'
      },
      component: () => import('@/views/intensiveeval/intensiveevalCommittee/expertExtractingResults/expertExtractingResults-detail')
    },
    /* 组建评标委员会-查看分组信息*/
    {
      path: 'intensiveevalZJPBWYHGroupContent',
      meta: {
        path: 'intensiveevalCommittee-list'
      },
      component: () => import('@/views/intensiveeval/intensiveevalCommittee/intensiveevalZJPBWYHGroup/intensiveevalZJPBWYHGroupContent')
    },
    /* ============================================================*/
    // 集约化评标—待审批任务
    {
      path: 'intensiveevalAudit-list',
      component: () => import('@/views/intensiveeval/intensiveevalAudit/intensiveevalAuditList/intensiveevalAudit-list')
    },
    // 集约化评标—待审批任务-审批分组信息
    {
      path: 'intensiveevalAudit-add',
      meta: {
        path: 'intensiveevalAudit-list',
        isEdit: false// 是否可编辑 布尔值
      },
      component: () => import('@/views/intensiveeval/intensiveevalAudit/intensiveevalAuditContent/intensiveevalAudit-editView')
    }]
}]
// 工作流
export const intensiveevalFlow = [
  // 集约化评标—集约化评标分组-查看分组
  {
    path: 'intensiveevalGroup-detail',
    meta: {
      path: 'intensiveevalPlanContent',
      functionType: '00', // 当前页面所处功能 00 计划管理员-集约化评标分组-编辑分组
      isEdit: false, // 是否可编辑 布尔值
      editStatus: '01' // 01 工作流进入
    },
    component: () => import('@/views/intensiveeval/intensiveevalPlan/intensiveevalGroup/intensiveevalGroupEditView/intensiveevalGroupContent/intensiveevalGroupContent')
  },
  // 集约化评分组列表
  {
    path: 'intensiveevalGroup-list',
    meta: {
      editStatus: '01' // 01 工作流进入
    },
    component: () => import('@/views/intensiveeval/intensiveevalPlan/intensiveevalGroup/intensiveevalGroupList/intensiveevalGroup-list')
  }
]

export default [...intensiveeval, ...intensiveevalFlow]
