/* 供应商监测路由 */

//  开发中的占位页面  component: () => import('@/views/Developing/index.vue')

export default [
    // 首页
    {
        path: 'SupplierMonitor',
        name: 'SupplierMonitor',
        component: () => import('@/views/SupplierMonitor/Home/index.vue')
    },
    // 主数据供应商
    // ...[
    //     //  供应商 -- 供应商管理 -- 供应商信息
    //     {
    //         path: 'SupplierMonitor/EnterpriseManage/SupplierInformation',
    //         name: 'SupplierInformation',
    //         component: () =>
    //             import('@/views/SupplierMonitor/EnterpriseManage/SupplierInformation/index.vue')
    //     },
    //     //  供应商 -- 供应商管理 -- 临时供应商
    //     {
    //         path: 'SupplierMonitor/EnterpriseManage/TemporarySupplier',
    //         name: 'TemporarySupplier',
    //         component: () =>
    //             import('@/views/SupplierMonitor/EnterpriseManage/TemporarySupplier/index.vue')
    //     }
    // ],
    //供应商管理
    ...[
        //  供应商管理 -- 合格供应商名录
        {
            path: 'SupplierMonitor/SupplyManagement/SupplierQualified',
            name: 'SupplierQualified',
            component: () =>
                import('@/views/SupplierMonitor/SupplyManagement/SupplierQualified/index.vue')
        },
        //  供应商管理 -- 基础信息变更
        {
            path: 'SupplierMonitor/SupplyManagement/BasicChanges',
            name: 'BasicChanges',
            component: () =>
                import('@/views/SupplierMonitor/SupplyManagement/BasicChanges/index.vue')
        },
        //  供应商管理 -- 资质变更
        {
            path: 'SupplierMonitor/SupplyManagement/QualificationChange',
            name: 'QualificationChange',
            component: () =>
                import('@/views/SupplierMonitor/SupplyManagement/QualificationChange/index.vue')
        },
        //  供应商管理 -- 等级变更
        {
            path: 'SupplierMonitor/SupplyManagement/SupplierLevelChange',
            name: 'SupplierLevelChange',
            component: () =>
                import('@/views/SupplierMonitor/SupplyManagement/SupplierLevelChange/index.vue')
        },
        //  供应商管理 -- 淘汰管理
        {
            path: 'SupplierMonitor/SupplyManagement/DismissalManagement',
            name: 'DismissalManagement',
            component: () =>
                import('@/views/SupplierMonitor/SupplyManagement/DismissalManagement/index.vue')
        },
        //  供应商管理 -- 退出管理
        {
            path: 'SupplierMonitor/SupplyManagement/SupplierExitManagement',
            name: 'SupplierExitManagement',
            component: () =>
                import('@/views/SupplierMonitor/SupplyManagement/SupplierExitManagement/index.vue')
        }
    ],
    //企业管理
    ...[
        //  企业管理 -- 我的注册信息
        {
            path: 'SupplierMonitor/PersonalInfoManage/MyRegistrationInfo',
            name: 'MyRegistrationInfo',
            component: () =>
                import('@/views/SupplierMonitor/PersonalInfoManage/MyRegistrationInfo/index.vue')
        },
        //  企业管理 -- 资质管理
        {
            path: 'SupplierMonitor/PersonalInfoManage/QualificationManage',
            name: 'QualificationManage',
            component: () =>
                import('@/views/SupplierMonitor/PersonalInfoManage/QualificationManage/index.vue')
        },
        //  企业管理 -- 资质变更申请
        {
            path: 'SupplierMonitor/PersonalInfoManage/QualificationChangeApplication',
            name: 'QualificationChangeApplication',
            component: () =>
                import('@/views/SupplierMonitor/PersonalInfoManage/QualificationChangeApplication/index.vue')
        },
        //  企业管理 -- 基本信息变更申请
        {
            path: 'SupplierMonitor/PersonalInfoManage/BasicInfoChangeApplication',
            name: 'BasicInfoChangeApplication',
            component: () =>
                import('@/views/SupplierMonitor/PersonalInfoManage/BasicInfoChangeApplication/index.vue')
        },
        //  企业管理 -- 人员信息
        {
            path: 'SupplierMonitor/PersonalInfoManage/userInfo',
            name: 'userInfo',
            component: () =>
                import('@/views/SupplierMonitor/PersonalInfoManage/userInfo/index.vue')
        }
    ],
    //准入管理
    ...[
        //  准入管理 -- 准入申请
        {
            path: 'SupplierMonitor/AccessManagement/AccessApplication',
            name: 'AccessApplication',
            component: () =>
                import('@/views/SupplierMonitor/AccessManagement/AccessApplication/index.vue')
        },
        //  准入管理 -- 我的供应
        {
            path: 'SupplierMonitor/AccessManagement/MySupply',
            name: 'MySupply',
            component: () => import('@/views/SupplierMonitor/AccessManagement/MySupply/index.vue')
        }
    ],
    //供应商准入配置
    ...[
        //  配置管理 -- 准入资质配置
        {
            path: 'SupplierMonitor/ConfigManagement/AccessQualificationConfig',
            name: 'AccessQualificationConfig',
            component: () =>
                import(
                    '@/views/SupplierMonitor/ConfigManagement/AccessQualificationConfig/index.vue'
                )
        },
        //  配置管理 -- 准入评审配置
        {
            path: 'SupplierMonitor/ConfigManagement/AccessReviewConfig',
            name: 'AccessReviewConfig',
            component: () =>
                import('@/views/SupplierMonitor/ConfigManagement/AccessReviewConfig/index.vue')
        },
        //  配置管理 -- 物资分类管理
        {
            path: 'SupplierMonitor/ConfigManagement/MaterialClassificationManagement',
            name: 'MaterialClassificationManagement',
            component: () =>
                import(
                    '@/views/SupplierMonitor/ConfigManagement/MaterialClassificationManagement/index.vue'
                )
        }
    ],
    //基础数据管理
    ...[
        //  基础管理 -- 物资分类管理
        {
            path: 'SupplierMonitor/BasicManagement/MaterialClassification',
            name: 'MaterialClassification',
            component: () =>
                import('@/views/SupplierMonitor/BasicManagement/MaterialClassification/index.vue')
        },
        // 基础管理 -- 供应商分类配置
        {
            path: 'SupplierMonitor/BasicManagement/SupplierClassificationConfig',
            name: 'SupplierClassificationConfig',
            component: () =>
                import(
                    '@/views/SupplierMonitor/BasicManagement/SupplierClassificationConfig/index.vue'
                )
        },
        //  基础管理 -- 供应商分级配置
        {
            path: 'SupplierMonitor/BasicManagement/SupplierLevelConfig',
            name: 'SupplierLevelConfig',
            component: () =>
                import('@/views/SupplierMonitor/BasicManagement/SupplierLevelConfig/index.vue')
        },
        //  基础管理 -- 资质类型管理
        {
            path: 'SupplierMonitor/BasicManagement/QualificationManagement',
            name: 'QualificationManagement',
            component: () =>
                import('@/views/SupplierMonitor/BasicManagement/QualificationManagement/index.vue')
        },
        //  基础管理 -- 企业资质库
        {
            path: 'SupplierMonitor/BasicManagement/EnterpriseLibrary',
            name: 'EnterpriseLibrary',
            component: () =>
                import('@/views/SupplierMonitor/BasicManagement/EnterpriseLibrary/index.vue')
        },
        // 基础管理 -- 考核类别管理
        {
            path: 'SupplierMonitor/BasicManagement/AssessmentCategory',
            name: 'AssessmentCategory',
            component: () =>
                import('@/views/SupplierMonitor/BasicManagement/AssessmentCategory/index.vue')
        }
    ],
    //供应商准入
    ...[
        // 供应商准入审核 -- 供应商申请
        {
            path: 'SupplierMonitor/QualificationAudit/SupplyInfo',
            name: 'SupplyInfo',
            component: () =>
                import('@/views/SupplierMonitor/QualificationAudit/SupplyInfo/index.vue')
        },
        //  供应商管理 -- 基础情况审核
        {
            path: 'SupplierMonitor/QualificationAudit/BasicInformationAudit',
            name: 'BasicInformationAudit',
            component: () =>
                import('@/views/SupplierMonitor/QualificationAudit/BasicInformationAudit/index.vue')
        },
        //  供应商管理 -- 现场评审评分
        {
            path: 'SupplierMonitor/QualificationAudit/SiteAssessmentScore',
            name: 'SiteAssessmentScore',
            component: () =>
                import('@/views/SupplierMonitor/QualificationAudit/SiteAssessmentScore/index.vue')
        },
        //  供应商管理 -- 评定报告
        {
            path: 'SupplierMonitor/QualificationAudit/EvaluationReport',
            name: 'EvaluationReport',
            component: () =>
                import('@/views/SupplierMonitor/QualificationAudit/EvaluationReport/index.vue')
        },
        //  供应商管理 -- 试用管理
        {
            path: 'SupplierMonitor/QualificationAudit/TrialManagement',
            name: 'TrialManagement',
            component: () =>
                import('@/views/SupplierMonitor/QualificationAudit/TrialManagement/index.vue')
        }
    ],
    //供应商绩效考核管理
    ...[
        //  绩效考核管理 -- 绩效考核配置
        {
            path: 'SupplierMonitor/PerformanceManagement/PerformanceConfig',
            name: 'PerformanceConfig',
            component: () =>
                import('@/views/SupplierMonitor/PerformanceManagement/PerformanceConfig/index.vue')
        },
        //  绩效考核管理 -- 绩效考核评价
        {
            path: 'SupplierMonitor/PerformanceManagement/PerformanceEvaluation',
            name: 'PerformanceEvaluation',
            component: () =>
                import(
                    '@/views/SupplierMonitor/PerformanceManagement/PerformanceEvaluation/index.vue'
                )
        },
        //  绩效考核管理 -- 绩效考核评分
        {
            path: 'SupplierMonitor/PerformanceManagement/PerformanceScoring',
            name: 'PerformanceScoring',
            component: () =>
                import('@/views/SupplierMonitor/PerformanceManagement/PerformanceScoring/index.vue')
        },
        //  绩效考核管理 -- 考核预警管理
        {
            path: 'SupplierMonitor/PerformanceManagement/PerformanceWarnManagement',
            name: 'PerformanceWarnManagement',
            component: () =>
                import(
                    '@/views/SupplierMonitor/PerformanceManagement/PerformanceWarnManagement/index.vue'
                )
        },
        //  绩效考核管理 -- 考核整改管理
        {
            path: 'SupplierMonitor/PerformanceManagement/ImproveManagement',
            name: 'ImproveManagement',
            component: () =>
                import('@/views/SupplierMonitor/PerformanceManagement/ImproveManagement/index.vue')
        }
    ],
    //考核评价
    ...[
        //  考核评价管理 -- 绩效考核查询
        {
            path: 'SupplierMonitor/AssessmentEvaluation/PerformanceQuery',
            name: 'PerformanceQuery',
            component: () =>
                import('@/views/SupplierMonitor/AssessmentEvaluation/PerformanceQuery/index.vue')
        },
        //  考核评价管理 -- 考核预警通知
        {
            path: 'SupplierMonitor/AssessmentEvaluation/AssessmentWarnNotification',
            name: 'AssessmentWarnNotification',
            component: () =>
                import(
                    '@/views/SupplierMonitor/AssessmentEvaluation/AssessmentWarnNotification/index.vue'
                )
        },
        //  考核评价管理 -- 考核整改通知
        {
            path: 'SupplierMonitor/AssessmentEvaluation/ImproveNotification',
            name: 'ImproveNotification',
            component: () =>
                import('@/views/SupplierMonitor/AssessmentEvaluation/ImproveNotification/index.vue')
        }
    ],
    //统计报表
    ...[
        //  统计报表 -- 供应商统计
        {
            path: 'SupplierMonitor/StatisticsReport/SupplierStatistics',
            name: 'SupplierStatistics',
            component: () =>
                import('@/views/SupplierMonitor/StatisticsReport/SupplierStatistics/index.vue')
        },
        //  统计报表 -- 考核统计
        {
            path: 'SupplierMonitor/StatisticsReport/AssessmentStatistics',
            name: 'AssessmentStatistics',
            component: () =>
                import(
                    '@/views/SupplierMonitor/StatisticsReport/AssessmentStatistics/index.vue'
                )
        },
    ]
]
