import {
    HelloWorld,
    AssetBasicSet,
    DepreciationDetailList,
    DepreciationDistribution,
    AssetWorkLoadInput,
    SettleAccountAtTheEndOfMonth,
    InventoryCheckLoss,
    ConsolidatedAssetInventory,
    AutoGenerateAsset,
    AssetCheck,
    CustomPrintAssetInstance,
    CopyProperty,
    DataSync,
    DataSyncEdit,
    AssetDetailList,
    AssetByRfid,
    AssetInventorySearch,
    AssetInventoryLostConfirm,
    PrintAsset,
    AssetBatchOperationQuery,
    AssetBatchOperationOrganization,
    AssetBatchOperationScrap,
    AssetInstancePrint,
    AssetInstanceSearchDetail,
    GenerateDocumentTool,
    ExportPictureLibrary,
    AssetBatchOperationModifyUseStatus,
    AssetBatchOperationModifyContact,
    PrintPreview,
    AssetInventory,
    AssetInventoryStep1,
    ManuallyConfirmCountingData,
    PerformInventoryTasks,
    InventoryDataProcessing,
    AssetLabelPrint,
    AssetLabelPrinting,
    InventoryAssetInstanceSearch,
    RunDataArchive,
    AssetRfidRecord,
    BatchUploadImages,
    AssetInstanceFullCalendar,
    InventoryGlobalView,
    AssetsDisposal,
    ExecuteAssetDisposal,
    DepreciationIndex,
    AssetManagerDepreciation,
    AccountingSubject
} from 'client-eam-v5/dist/client-eam-v5.js';



const routes = [
    { path: '/eam/hello-world', component: HelloWorld },
    {
        path: '/eam/assetBasicSet', component: AssetBasicSet,
        meta: {
            'loginRequired': true,
            'functionAccessArray': [
                {
                    'functionNo': '20220322_095049',
                    'itemNo': '1',
                },
            ],
        },
    },
    {
        path: '/eam/depreciationDetailList', component: DepreciationDetailList,
        meta: {
            'loginRequired': true,
            'functionAccessArray': [
                {
                    'functionNo': '20220322_095822',
                    'itemNo': '1',
                },
            ],
        },
    },
    {
        path: '/eam/depreciationDistribution', component: DepreciationDistribution,
        meta: {
            'loginRequired': true,
            'functionAccessArray': [
                {
                    'functionNo': '20220322_095822',
                    'itemNo': '1',
                },
            ],
        },
    },
    {
        path: '/eam/assetWorkLoadInput', component: AssetWorkLoadInput,
        meta: {
            'loginRequired': true,
            'functionAccessArray': [
                {
                    'functionNo': '20220322_095822',
                    'itemNo': '1',
                },
            ],
        },
    },
    {
        path: '/eam/settleAccountAtTheEndOfMonth', component: SettleAccountAtTheEndOfMonth,
        meta: {
            'loginRequired': true,
            'functionAccessArray': [
                {
                    'functionNo': '20220322_095822',
                    'itemNo': '1',
                },
            ],
        },
    },
    {
        path: '/eam/asset-inventory-check-lose/:uuid', component: InventoryCheckLoss,

    },
    {
        path: '/eam/consolidated-AssetInventory/:uuid', component: ConsolidatedAssetInventory,

    },
    // // 自动生成资产
    {
        path: '/eam/auto-generate-asset', component: AutoGenerateAsset,

    },
    {
        path: '/eam/auto-assetCheck-asset', component: AssetCheck,
    },
    {
        path: '/eam/custom-print-assetInstance', component: CustomPrintAssetInstance,

    },
    // //复制资产
    {
        path: '/eam/copy-property/:uuid', component: CopyProperty,
    },
    {
        path: '/eam/data-sync', component: DataSync,
    },
    {
        path: '/eam/data-sync-edit', component: DataSyncEdit,
    },
    {
        path: '/eam/assetDetailList', component: AssetDetailList,
        meta: {
            'loginRequired': true,
            'functionAccessArray': [
                {
                    'functionNo': '20220412_094415',
                    'itemNo': [
                        '1',
                        '2',
                    ],
                },
            ],
        },
    },
    //资产进出记录
    {
        path: '/eam/AssetByRfid', component: AssetByRfid,
        meta: {
            'loginRequired': true,
            'functionAccessArray': [
                {
                    'functionNo': '20220322_095845',
                    'itemNo': '1',
                },
            ],
        },
    },
    // 资产卡片查询生成盘点单详情
    {
        path: '/eam/assetInventorySearch/:uuid', component: AssetInventorySearch,
    },
    // 人工确认盘亏数据
    {
        path: '/eam/AssetInventoryLostConfirm/:uuid', component: AssetInventoryLostConfirm,
    },
    //资产打印
    { path: '/eam/printAsset/:uuid', component: PrintAsset },
    //批量转移
    { path: '/eam/assetBatchOperationQuery/:changeType', component: AssetBatchOperationQuery },
    //批量待转移
    {
        path: '/eam/assetBatchOperation/organizationChange', component: AssetBatchOperationOrganization,
        meta: {
            'loginRequired': true,
            'functionAccessArray': [
                {
                    'functionNo': '20220412_105926',
                    'itemNo': '1',
                },
            ],
        },
    },
    //批量待报废
    {
        path: '/eam/assetBatchOperation/assetInstanceScrap', component: AssetBatchOperationScrap,
        meta: {
            'loginRequired': true,
            'functionAccessArray': [
                {
                    'functionNo': '20220412_105926',
                    'itemNo': '2',
                },
            ],
        },
    },
    //打开资产卡片打印队列
    {
        path: '/eam/assetInstancePrint', component: AssetInstancePrint,
    },
    {
        path: '/eam/assetInstanceSearchDetail', component: AssetInstanceSearchDetail,
    },
    // 生单组件
    {
        path: '/eam/generate-document/:type/:infoWindowNo/:uuid', component: GenerateDocumentTool,
    },
    //导出图片库
    {
        path: '/eam/exportPictureLibrary', component: ExportPictureLibrary,
    },
    //批量待修改使用状态
    {
        path: '/eam/assetBatchOperation/assetInstanceModifyUseStatus', component: AssetBatchOperationModifyUseStatus,
        meta: {
            'loginRequired': true,
            'functionAccessArray': [
                {
                    'functionNo': '20220412_105926',
                    'itemNo': '3',
                },
            ],
        },
    },
    //批量待修改联系人
    {
        path: '/eam/assetBatchOperation/assetInstanceModifyContact', component: AssetBatchOperationModifyContact,
        meta: {
            'loginRequired': true,
            'functionAccessArray': [
                {
                    'functionNo': '20220412_105926',
                    'itemNo': '4',
                },
            ],
        },
    },
    {
        path: '/eam/printPreview', component: PrintPreview,
    },
    {
        path: '/eam/assetInventory', component: AssetInventory,
    },
    {
        path: '/eam/assetInventoryStep1', component: AssetInventoryStep1,
    },
    // 人工确认盘亏数据
    {
        path: '/eam/manuallyConfirmCountingData', component: ManuallyConfirmCountingData,
    },
    {
        path: '/eam/performInventoryTasks/:id', component: PerformInventoryTasks,
    },
    {
        path: '/eam/inventoryDataProcessing', component: InventoryDataProcessing,
    },
    {
        path: '/eam/assetLabelPrint', component: AssetLabelPrint,
    },
    {
        path: '/eam/assetLabelPrinting', component: AssetLabelPrinting,
    },
    { path: '/eam/inventoryAssetInstanceSearch', component: InventoryAssetInstanceSearch },
    { path: '/eam/runDataArchive', component: RunDataArchive },
    { path: '/eam/assetRfidRecord', component: AssetRfidRecord },
    { path: '/eam/batchUploadImages', component: BatchUploadImages },
    { path: '/eam/assetInstanceFullCalendar', component: AssetInstanceFullCalendar },
    { path: '/eam/inventoryGlobalView', component: InventoryGlobalView, },
    { path: '/eam/disposalApplication', component: AssetsDisposal }, // 处置申请单
    { path: '/eam/executeAssetDisposal', component: ExecuteAssetDisposal }, // 执行处置
    { path: '/eam/assetPeriodDepreciate', component: DepreciationIndex }, // 资产折旧
    { path: '/eam/assetManagerDepreciation', component: AssetManagerDepreciation }, // 资产折旧-单位资产管理员
    { path: '/eam/accountingSubject', component: AccountingSubject }, // 会计科目
];


export default routes;